    * { font-family: 'Inter', system-ui, sans-serif; scroll-behavior: smooth; }

    /* Quick fix for mobile horizontal scroll issue */
      html {
        overflow-x: hidden;
        max-width: 100%;
      }

      body {
        overflow-x: hidden;
        max-width: 100%;
        position: relative;
      }

      /* Ensure all sections respect viewport width */
      section, .hero-bg, header, footer {
        max-width: 100vw;
        overflow-x: hidden;
      }

      /* Fix preloader position */
      #preloader {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
      }

    #preloader { position: fixed; inset: 0; background: white; z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity 0.5s ease; }
    #preloader.hidden { opacity: 0; pointer-events: none; }
    .loader-ring { width: 48px; height: 48px; border: 3px solid #e3f5d9; border-top-color: #46b80d; border-radius: 50%; animation: spin 1s linear infinite; }
    @keyframes spin { to { transform: rotate(360deg); } }

    #scrollProgress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, #46b80d, #58c526); z-index: 100; width: 0%; transition: width 0.1s; }

    .nav-link { position: relative; }
    .nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: #46b80d; transition: width 0.3s ease; }
    .nav-link:hover::after, .nav-link.active::after { width: 100%; }
    .nav-link.active { color: #46b80d; }

    #mobileMenu { transform: translateX(100%); transition: transform 0.3s ease; }
    #mobileMenu.open { transform: translateX(0); }
    .hamburger span { display: block; width: 24px; height: 2px; background: #374151; margin: 6px 0; transition: 0.3s; }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

    .hero-bg { background: linear-gradient(135deg, #f3fbef 0%, #ffffff 50%, #f3fbef 100%); }
    .hero-pattern { background-image: radial-gradient(#46b80d 0.5px, transparent 0.5px); background-size: 24px 24px; opacity: 0.05; }

    .service-card {
      transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
      border: 1px solid #f3f4f6;
      position: relative;
      overflow: hidden;
      will-change: transform;
    }
    .service-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 3px;
      background: linear-gradient(90deg, #46b80d, #58c526);
      transform: scaleX(0);
      transition: transform 0.4s ease;
      transform-origin: left;
    }
    .service-card:hover::before { transform: scaleX(1); }
    .service-card:hover {
      transform: translateY(-10px);
      border-color: #46b80d;
      background-color: #f3fbef;
      box-shadow: 0 18px 35px -12px rgba(70, 184, 13, 0.28);
    }
    .service-icon { transition: all 0.35s ease; }
    .service-card:hover .service-icon { transform: scale(1.08) rotate(-4deg); background: #46b80d !important; }
    .service-card:hover .service-icon i { color: white !important; }
    .service-icon { transition: all 0.4s ease; }
    .service-image img {
    transition: transform 0.5s ease;
    }

    .service-card:hover .service-image img {
        transform: scale(1.06);
    }

    .stat-card {
      transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
      position: relative;
      overflow: hidden;
      will-change: transform;
    }
    .stat-card::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 0;
      background: linear-gradient(to top, rgba(70, 184, 13, 0.05), transparent);
      transition: height 0.4s ease;
      pointer-events: none;
    }
    .stat-card:hover::after { height: 100%; }
    .stat-card:hover {
      transform: translateY(-10px);
      border-color: #c8eab5;
      background-color: #f3fbef;
      box-shadow: 0 18px 35px -12px rgba(70, 184, 13, 0.28);
    }
    .stat-number { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }

    .reviews-slider { overflow: hidden; width: 100%; position: relative; }
    .reviews-track { display: flex; width: max-content; gap: 24px; animation: reviewsScroll 28s linear infinite; }
    .review-card { flex: 0 0 380px; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; border: 1px solid #f3f4f6; }
    .reviews-slider:has(.review-card:hover) .reviews-track { animation-play-state: paused; }
    .review-card:hover { transform: translateY(-8px); border-color: #c8eab5; box-shadow: 0 18px 35px -12px rgba(70, 184, 13, 0.25); }
    @keyframes reviewsScroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 12px)); } } to { transform: translateX(calc(-50% - 12px)); }

    .clinic-slider { overflow: hidden; width: 100%; position: relative; }
    .clinic-track { display: flex; width: max-content; gap: 20px; animation: clinicScroll 30s linear infinite; }
    .clinic-card { flex: 0 0 300px; position: relative; overflow: hidden; border-radius: 16px; cursor: pointer; transition: transform 0.35s ease, box-shadow 0.35s ease; will-change: transform; }
    .clinic-slider:has(.clinic-card:hover) .clinic-track { animation-play-state: paused; }
    .clinic-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 40px -12px rgba(13, 148, 136, 0.3); }
    .clinic-card img { transition: transform 0.6s ease; }
    .clinic-card:hover img { transform: scale(1.08); }
    .clinic-card .overlay { position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background 0.3s ease; display: flex; align-items: center; justify-content: center; }
    .clinic-card:hover .overlay { background: rgba(0,0,0,0.3); }
    .clinic-card .zoom-icon { opacity: 0; transform: scale(0.8); transition: all 0.3s ease; width: 48px; height: 48px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
    .clinic-card:hover .zoom-icon { opacity: 1; transform: scale(1); }
    @keyframes clinicScroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 10px)); } } to { transform: translateX(calc(-50% - 10px)); }

    .gallery-card { position: relative; overflow: hidden; border-radius: 16px; cursor: pointer; }
    .gallery-card img { transition: transform 0.5s ease; }
    .gallery-card:hover img { transform: scale(1.05); }
    .gallery-card .label { position: absolute; bottom: 16px; left: 16px; background: rgba(13, 148, 136, 0.9); color: white; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }

    .faq-item { border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; transition: all 0.3s ease; }
    .faq-item:hover { border-color: #c8eab5; }
    .faq-question { cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; font-weight: 500; transition: background 0.3s; }
    .faq-question:hover { background: #f3fbef; }
    .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
    .faq-answer-inner { padding: 0 24px 20px; color: #6b7280; line-height: 1.6; }
    .faq-item.active .faq-answer { max-height: 300px; }
    .faq-item.active .faq-icon { transform: rotate(180deg); }
    .faq-icon { transition: transform 0.3s ease; color: #46b80d; }

    #locationMap { height: 320px; width: 100%; border-radius: 16px; z-index: 1; }
    .map-container { border-radius: 16px; overflow: hidden; border: 1px solid #e5e7eb; }

    .whatsapp-float { position: fixed; bottom: 24px; right: 24px; z-index: 100; background: #46b80d; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 4px 20px rgba(70, 184, 13, 0.40); transition: all 0.3s ease; animation: pulse 2s infinite; }
    .whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(70, 184, 13, 0.50); }
    @keyframes pulse { 0%, 100% { box-shadow: 0 4px 20px rgba(70, 184, 13, 0.40); } 50% { box-shadow: 0 4px 30px rgba(70, 184, 13, 0.60); } }

    #backToTop { position: fixed; bottom: 100px; right: 24px; z-index: 99; width: 44px; height: 44px; background: white; border: 1px solid #e5e7eb; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #46b80d; cursor: pointer; opacity: 0; transform: translateY(20px); transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
    #backToTop.visible { opacity: 1; transform: translateY(0); }
    #backToTop:hover { background: #46b80d; color: white; border-color: #46b80d; }

    #lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
    #lightbox.active { display: flex; }
    #lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 12px; box-shadow: 0 25px 50px rgba(0,0,0,0.5); }
    #lightbox .close-btn { position: absolute; top: 20px; right: 20px; color: white; font-size: 32px; cursor: pointer; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background 0.3s; }
    #lightbox .close-btn:hover { background: rgba(255,255,255,0.1); }

    .mobile-cta { display: none; }
    @media (max-width: 767px) {
      .mobile-cta { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: white; border-top: 1px solid #e5e7eb; padding: 12px 16px; z-index: 90; gap: 12px; box-shadow: 0 -4px 20px rgba(0,0,0,0.05); }
       /* Move WhatsApp button above the mobile Book Now bar */
    .whatsapp-float {
      bottom: 100px;
      }
      #backToTop {
        bottom: 175px;
    }
      body { padding-bottom: 70px; }
      .review-card { flex-basis: 320px; }
      .reviews-track { gap: 16px; animation-duration: 24s; }
      .clinic-card { flex-basis: 260px; }
      .clinic-track { gap: 14px; animation-duration: 26s; }
    }

    #cookieConsent { position: fixed; bottom: 80px; left: 20px; right: 20px; max-width: 400px; background: white; padding: 20px; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.15); z-index: 95; display: none; border: 1px solid #e5e7eb; }
    #cookieConsent.show { display: block; animation: slideUp 0.4s ease; }
    @keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

    .form-input { width: 100%; padding: 14px 16px; border: 1px solid #e5e7eb; border-radius: 12px; font-size: 15px; transition: all 0.3s; background: #fafafa; }
    .form-input:focus { outline: none; border-color: #46b80d; background: white; box-shadow: 0 0 0 3px rgba(70,184,13,0.10); }
    .form-label { display: block; font-size: 13px; font-weight: 500; color: #374151; margin-bottom: 6px; }

    .modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); z-index: 50; display: none; align-items: center; justify-content: center; padding: 16px; }
    .modal-overlay.active { display: flex; }
    .modal-content { background: white; border-radius: 20px; max-width: 600px; width: 100%; max-height: 85vh; overflow-y: auto; padding: 32px; box-shadow: 0 25px 50px rgba(0,0,0,0.2); transform: scale(0.95); transition: transform 0.3s ease; }
    .modal-overlay.active .modal-content { transform: scale(1); }
  
    /* Mobile menu: solid and independent from header backdrop-filter */
    #mobileMenu {
      background-color: #ffffff !important;
      opacity: 1 !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
    }

    #mobileMenu .mobile-menu-inner {
      background-color: #ffffff !important;
      opacity: 1 !important;
      height: 100%;
    }

    #mobileOverlay {
      background-color: rgba(0, 0, 0, 0.60) !important;
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
    }
