/* ===================================
   MEDICAL CLINIC WEBSITE - CLEANED CSS
   =================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    padding-top: 90px; /* match header height */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   HEADER AND NAVIGATION
   =================================== */

header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.logo:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.logo:focus {
    outline: 2px solid #74b9ff;
    outline-offset: 2px;
    border-radius: 4px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover,
nav a.active {
    color: #74b9ff;
    transform: translateY(-2px);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #74b9ff;
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

/* Mobile Navigation */
.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1002;
    transition: all 0.3s ease;
}

.menu-icon span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
}

.menu-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.menu-icon.active span:nth-child(2) {
    opacity: 0;
}

.menu-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.show {
    display: block;
    opacity: 1;
}

/* ===================================
   PAGE LAYOUT
   =================================== */

.page-content {
    margin-top: 0;
    min-height: calc(100vh - 200px);
}

.hero {
    background: linear-gradient(135deg, rgba(116, 185, 255, 0.9), rgba(52, 152, 219, 0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="medical" patternUnits="userSpaceOnUse" width="60" height="60"><circle cx="30" cy="30" r="2" fill="white" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23medical)"/></svg>');
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.page-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    text-align: center;
    padding: 120px 0 80px;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    color: white;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
    transform: none !important;
}

.btn[disabled]:hover {
    transform: none !important;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3) !important;
}

.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ===================================
   SECTIONS
   =================================== */

.section {
    padding: 80px 0;
}

.section-alt {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #3498db, #2c3e50);
    border-radius: 2px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(45deg, #3498db, #2c3e50);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #3498db;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-card p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    text-align: left;
    color: #666;
    line-height: 1.6;
}

.service-card li {
    margin-bottom: 8px;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #2c3e50;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #666;
}

.about-image {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    border-radius: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 6rem;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3498db;
    display: block;
    margin-bottom: 10px;
}

/* Mission, Vision, Values Section */
.mvv-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.mvv-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mvv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(45deg, #3498db, #2c3e50);
}

.mvv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.mvv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
}

.mvv-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.mvv-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.form-group label.required::after {
    content: ' *';
    color: #e74c3c;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    border: 1px solid #ddd;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.form-message {
    margin-bottom: 20px;
    border-radius: 10px;
    display: none;
    animation: slideDown 0.3s ease;
}

.form-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
}

.form-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 20px;
}

.error-messages h4 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: #721c24;
    display: flex;
    align-items: center;
    gap: 8px;
}

.error-messages ul {
    margin: 0;
    padding-left: 20px;
    line-height: 1.6;
}

.error-messages li {
    margin-bottom: 5px;
}

.success-message {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.success-message .success-icon {
    background: #28a745;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    flex-shrink: 0;
}

.success-message h4 {
    margin: 0 0 8px 0;
    color: #155724;
    font-size: 1.2rem;
}

.success-message p {
    margin: 0;
    line-height: 1.5;
}

.auto-save-notice {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    animation: slideDown 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.auto-save-notice::before {
    content: '💾';
    font-size: 1rem;
}

.form-info {
    background: #e8f4fd;
    border: 1px solid #bee5eb;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 25px;
    color: #0c5460;
}

.form-info h4 {
    margin: 0 0 8px 0;
    color: #0c5460;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-info p {
    margin: 0;
    line-height: 1.5;
}

.whatsapp-form-option {
    background: #25d366;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.whatsapp-form-option:hover {
    background: #128c7e;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.whatsapp-form-option::before {
    content: '📱';
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #2c3e50;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 30px;
}

/* Form field icons (optional enhancement) */
.form-group.with-icon {
    position: relative;
}

.form-group.with-icon input,
.form-group.with-icon select {
    padding-left: 45px;
}

.form-group.with-icon::before {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #666;
    z-index: 1;
}

.form-group.name::before { content: '👤'; }
.form-group.email::before { content: '📧'; }
.form-group.phone::before { content: '📱'; }
.form-group.date::before { content: '📅'; }
.form-group.time::before { content: '⏰'; }
.form-group.service::before { content: '🩺'; }

/* Hover overlay effect for facility images */
.image-hover {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.image-hover img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.image-hover:hover img {
    transform: scale(1.05);
}

.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 1.1rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-hover:hover .overlay-text {
    opacity: 1;
}

/* ===================================
   REVIEWS SECTION
   =================================== */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.review-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(45deg, #3498db, #2c3e50);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-details h4 {
    margin: 0 0 5px 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.review-date {
    color: #666;
    font-size: 0.9rem;
}

.review-rating {
    display: flex;
    gap: 2px;
}

.star {
    color: #ffd700;
    font-size: 1.2rem;
}

.star.empty {
    color: #ddd;
}

.review-text {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 15px;
}

.review-text::before {
    content: '"';
    font-size: 2rem;
    color: #3498db;
    font-family: Georgia, serif;
    line-height: 0;
    position: relative;
    top: 8px;
}

.review-text::after {
    content: '"';
    font-size: 2rem;
    color: #3498db;
    font-family: Georgia, serif;
    line-height: 0;
    position: relative;
    top: 8px;
}

.google-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4285f4;
    font-size: 0.9rem;
    font-weight: 500;
}

.google-logo i {
    font-size: 1.1rem;
}

.reviews-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.reviews-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.error-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.7;
}

/* ===================================
   VIDEO SECTION
   =================================== */

.video-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.video-text h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: #2c3e50;
    position: relative;
}

.video-text h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #3498db, #2c3e50);
    border-radius: 2px;
}

.video-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #666;
    line-height: 1.7;
    text-align: justify;
}

.video-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 4px solid #3498db;
}

.highlight-item:hover {
    background: rgba(52, 152, 219, 0.15);
    transform: translateX(5px);
}

.highlight-item i {
    color: #3498db;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.highlight-item span {
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
}

.video-container {
    position: relative;
}

.video-wrapper {
    position: relative;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.video-wrapper:hover {
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    background: #000;
}

.play-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 15px;
}

.play-button-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.custom-play-button {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    position: relative;
    overflow: hidden;
}

.custom-play-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.custom-play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(231, 76, 60, 0.5);
}

.custom-play-button:hover::before {
    transform: scale(1);
}

.custom-play-button i {
    color: white;
    font-size: 2rem;
    margin-left: 3px;
    position: relative;
    z-index: 2;
}

.video-caption {
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.video-caption p:first-child {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.video-caption p:last-child {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    font-style: italic;
}

.video-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-wrapper.loading::after {
    opacity: 1;
}

/* ===================================
   TOUR SECTION
   =================================== */

.tour-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 40px;
}

.tour-info h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: #2c3e50;
    position: relative;
}

.tour-info h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #3498db, #2c3e50);
    border-radius: 2px;
}

.tour-info p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #666;
    line-height: 1.7;
}

.tour-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0 40px 0;
}

.tour-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(52, 152, 219, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid #3498db;
}

.tour-feature:hover {
    background: rgba(52, 152, 219, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.1);
}

.tour-feature i {
    color: #3498db;
    font-size: 1.5rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.tour-feature h4 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

.tour-feature p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

.tour-cta {
    text-align: left;
    margin-top: 30px;
}

.tour-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    padding: 18px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.tour-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff0050, #ff4081);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.tour-button:hover::before {
    opacity: 1;
}

.tour-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.tour-button i,
.tour-button span {
    position: relative;
    z-index: 2;
}

.tour-button .fab.fa-tiktok {
    font-size: 1.3rem;
}

.tour-button .fas.fa-external-link-alt {
    font-size: 0.9rem;
}

.tour-note {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tour-note i {
    color: #3498db;
}

.tour-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.tiktok-preview {
    position: relative;
    max-width: 300px;
    width: 100%;
}

.tiktok-mockup {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: all 0.3s ease;
}

.tiktok-mockup:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.mockup-header {
    padding: 15px 20px;
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #3498db;
}

.profile-details h4 {
    margin: 0 0 2px 0;
    color: #2c3e50;
    font-size: 0.95rem;
    font-weight: 600;
}

.profile-details p {
    margin: 0;
    color: #666;
    font-size: 0.8rem;
}

.tiktok-logo {
    color: #000000;
    font-size: 1.8rem;
}

.mockup-video {
    position: relative;
    aspect-ratio: 9/16;
    background: #000;
    overflow: hidden;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #74b9ff, #0984e3);
}

.tour-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.play-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

.tour-text-overlay h4 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 600;
}

.tour-text-overlay p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

.mockup-actions {
    padding: 15px 20px;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
}

.action-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    color: #666;
    font-size: 0.8rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.action-btn i {
    font-size: 1.2rem;
}

.like-btn:hover {
    color: #e74c3c;
}

.comment-btn:hover {
    color: #3498db;
}

.share-btn:hover {
    color: #27ae60;
}

.mockup-caption {
    padding: 15px 20px;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
}

.mockup-caption p {
    margin: 0;
    color: #2c3e50;
    font-size: 0.9rem;
    line-height: 1.4;
}

.mockup-click-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.mockup-click-overlay:hover {
    background: rgba(52, 152, 219, 0.1);
}

.tour-info-cards {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.info-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    min-width: 90px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.info-card i {
    color: #3498db;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.info-card h5 {
    margin: 0 0 5px 0;
    color: #2c3e50;
    font-size: 0.85rem;
    font-weight: 600;
}

.info-card p {
    margin: 0;
    color: #666;
    font-size: 0.75rem;
}

/* ===================================
   FOOTER
   =================================== */

footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    color: white;
    padding: 60px 0 30px 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,120 Q300,80 600,100 T1200,90 L1200,120 Z" fill="rgba(52,152,219,0.1)"/></svg>') repeat-x;
    pointer-events: none;
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    padding: 0 20px;
}

.footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: #74b9ff;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(45deg, #3498db, #74b9ff);
    border-radius: 2px;
}

.footer-section p,
.footer-section li {
    color: #bdc3c7;
    line-height: 1.8;
    margin-bottom: 12px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.footer-section ul li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #3498db;
    font-size: 0.8rem;
}

.footer-section ul li:hover {
    color: #74b9ff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(116, 185, 255, 0.1);
    transform: translateX(5px);
}

.contact-item i {
    font-size: 1.2rem;
    margin-right: 15px;
    color: #3498db;
    width: 25px;
    text-align: center;
}

.contact-item strong {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #bdc3c7;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.social-link:hover {
    background: #3498db;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.highlight-box {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

.highlight-box strong {
    color: #e74c3c;
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: #95a5a6;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
    /* Mobile Navigation */
    .menu-icon {
        display: flex !important;
    }

    header {
        padding: 0.8rem 0;
        z-index: 1001;
    }

    .header-content {
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        font-size: 1.3rem;
        gap: 8px;
    }

    .logo-icon {
        width: 45px;
        height: 45px;
    }

    .cta-button {
        display: none;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
        padding: 20px 0;
        box-shadow: 0 4px 20px rgba(0,0,0,0.3);
        z-index: 1002;
        gap: 0;
        border-top: 1px solid rgba(255,255,255,0.1);
        backdrop-filter: blur(10px);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    nav ul.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    nav ul li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.3s ease;
    }

    nav ul.show li {
        opacity: 1;
        transform: translateX(0);
    }

    nav ul.show li:nth-child(1) { transition-delay: 0.1s; }
    nav ul.show li:nth-child(2) { transition-delay: 0.2s; }
    nav ul.show li:nth-child(3) { transition-delay: 0.3s; }
    nav ul.show li:nth-child(4) { transition-delay: 0.4s; }
    nav ul.show li:nth-child(5) { transition-delay: 0.5s; }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        display: block;
        padding: 15px 20px;
        color: white;
        font-size: 1.1rem;
        border-radius: 0;
    }

    nav ul li a:hover,
    nav ul li a.active {
        background: rgba(255,255,255,0.1);
        color: #74b9ff;
        transform: none;
    }

    nav ul li a::after {
        display: none;
    }

    nav ul li.mobile-cta {
        margin-top: 10px;
        padding: 0 20px 10px;
        border: none;
    }

    nav ul li.mobile-cta a {
        background: linear-gradient(45deg, #e74c3c, #f39c12);
        border-radius: 25px;
        color: white;
        font-weight: bold;
        padding: 12px 24px;
        box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    }

    nav ul li.mobile-cta a:hover {
        background: linear-gradient(45deg, #c0392b, #e67e22);
        transform: translateY(-2px);
    }

    /* Mobile Page Layout */
    body {
        padding-top: 70px;
    }

    .page-content {
        margin-top: 0;
    }

    .hero {
        min-height: 80vh;
        height: auto;
        padding: 120px 15px 30px 15px;
        align-items: flex-start;
        justify-content: center;
    }

    .page-hero {
        padding: 90px 0 60px;
    }

    .hero-content h1,
    .page-hero h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .hero-content p,
    .page-hero p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    /* Grid Adjustments */
    .about-content,
    .contact-content,
    .video-content,
    .tour-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid,
    .reviews-grid,
    .mvv-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats,
    .form-row,
    .tour-highlights,
    .video-highlights {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Cards Mobile */
    .service-card,
    .review-card,
    .mvv-card {
        padding: 25px 20px;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    /* Form Mobile */
    .contact-form {
        padding: 30px 20px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px;
        font-size: 0.95rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-section {
        padding: 0 10px;
    }

    .contact-item {
        justify-content: center;
        max-width: 300px;
        margin: 10px auto;
    }

    .social-links {
        justify-content: center;
    }

    /* Video & Tour Mobile */
    .custom-play-button {
        width: 60px;
        height: 60px;
    }

    .custom-play-button i {
        font-size: 1.5rem;
    }

    .tour-info h3,
    .video-text h3 {
        text-align: center;
    }

    .tour-info h3::after,
    .video-text h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .tour-cta {
        text-align: center;
    }

    .tiktok-mockup {
        max-width: 280px;
        margin: 0 auto;
    }

    .tour-info-cards {
        gap: 10px;
    }

    .info-card {
        padding: 12px;
        min-width: 80px;
    }

    /* Responsive form improvements */
    .success-message {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .success-message .success-icon {
        align-self: center;
    }

    .form-message {
        padding: 15px;
        font-size: 0.9rem;
    }

    .auto-save-notice {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    /* Extra Small Mobile */
    body {
        padding-top: 60px;
    }

    header {
        padding: 0.6rem 0;
    }

    .hero {
        min-height: 75vh;
        padding: 90px 10px 25px 10px;
    }

    .page-hero {
        padding: 80px 0 50px;
    }

    .logo {
        font-size: 1.1rem;
        gap: 6px;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
    }

    .menu-icon span {
        width: 20px;
        height: 2px;
    }

    nav ul {
        top: 60px;
    }

    nav ul li a {
        padding: 12px 15px;
        font-size: 1rem;
    }

    .hero-content h1,
    .page-hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-content p,
    .page-hero p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card,
    .review-card,
    .mvv-card {
        padding: 20px 15px;
    }

    .custom-play-button,
    .play-icon {
        width: 50px;
        height: 50px;
    }

    .custom-play-button i {
        font-size: 1.2rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
        padding: 0 10px;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px;
        font-size: 0.9rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .tour-feature {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .tour-feature i {
        font-size: 1.8rem;
        margin-top: 0;
    }

    .tour-button {
        padding: 12px 20px;
        font-size: 0.95rem;
        gap: 10px;
    }

    .tiktok-mockup {
        max-width: 250px;
    }

    .play-icon {
        font-size: 1.2rem;
    }

    .tour-text-overlay h4 {
        font-size: 0.9rem;
    }

    .tour-text-overlay p {
        font-size: 0.8rem;
    }
}

/* Landscape Orientation for Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 100px;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

/* Focus and Accessibility */
.menu-icon:focus,
nav ul li a:focus {
    outline: 2px solid #74b9ff;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .form-message.error {
        background: #2d1b1b;
        border-color: #5a2a2a;
        color: #f8d7da;
    }

    .form-message.success {
        background: #1b2d1b;
        border-color: #2a5a2a;
        color: #d4edda;
    }

    .auto-save-notice {
        background: #1b2a2d;
        border-color: #2a4a5a;
        color: #bee5eb;
    }
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card,
    .review-card,
    .mvv-card,
    .contact-form,
    .stat-item {
        border: 2px solid #333;
    }

    .btn-primary,
    .cta-button {
        border: 2px solid white;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-content h1,
    .hero-content p,
    .hero-buttons {
        animation: none;
    }
}
