﻿    :root {
      --primary: #0a2540;     /* Navy Blue */
      --primary-light: #163e6e;
      --accent: #d4af37;      /* Gold */
      --accent-hover: #b8952b;
      --bg: #ffffff;          /* White Background */
      --bg-alt: #f4f7fb;      /* Light Blue/Gray for sections */
      --surface: #ffffff;     /* White cards */
      --text: #1e293b;        /* Dark Slate */
      --muted: #64748b;       /* Medium Slate */
      --border: #e2e8f0;      /* Light Border */
      --shadow-sm: 0 4px 6px -1px rgba(10, 37, 64, 0.05);
      --shadow-md: 0 12px 30px -4px rgba(10, 37, 64, 0.08);
      --shadow-lg: 0 20px 40px -8px rgba(10, 37, 64, 0.12);
      --radius: 20px;
      --container: min(1180px, calc(100% - 32px));
      --font-main: 'Tajawal', Arial, sans-serif;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: var(--font-main);
      background-color: var(--bg);
      background-image: radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.04) 0%, transparent 40%),
                        radial-gradient(circle at 0% 100%, rgba(10, 37, 64, 0.03) 0%, transparent 40%);
      color: var(--text);
      overflow-x: hidden;
    }

    body, button, input, select, textarea, option {
      font-family: var(--font-main) !important;
    }

    /* Subtle Pattern Overlay */
    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      background-image: radial-gradient(rgba(10, 37, 64, 0.03) 1px, transparent 1px);
      background-size: 32px 32px;
      mask-image: linear-gradient(to bottom, rgba(0,0,0,1), transparent 85%);
      z-index: -1;
    }

    a { text-decoration: none; color: inherit; }

    .video-stories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; }
    .video-story-card { 
      background: #0a2540; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
      transition: transform 0.3s ease, box-shadow 0.3s ease; cursor: pointer;
    }
    .video-story-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(10,37,64,0.2); }
    .v-story-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
    .v-story-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
    .video-story-card:hover .v-story-media img { transform: scale(1.1); }
    .v-play-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.2); display: grid; place-items: center; transition: background 0.3s; }
    .v-play-btn { 
      width: 64px; height: 64px; background: #d4af37; color: #fff; border-radius: 50%; 
      display: grid; place-items: center; font-size: 20px; box-shadow: 0 0 0 0 rgba(212,175,55,0.4);
      animation: v-pulse 2s infinite;
    }
    @keyframes v-pulse { 0% { box-shadow: 0 0 0 0 rgba(212,175,55,0.7); } 70% { box-shadow: 0 0 0 15px rgba(212,175,55,0); } 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); } }
    
    .v-story-badge { 
      position: absolute; top: 16px; right: 16px; background: rgba(212,175,55,0.9); color: #0a2540; 
      padding: 6px 12px; border-radius: 12px; font-size: 12px; font-weight: 800; display: flex; align-items: center; gap: 6px;
    }
    .v-story-content { padding: 24px; text-align: right; }
    .v-story-content h3 { color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 12px; line-height: 1.4; }
    .v-story-content p { color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.6; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .v-watch-btn { 
      background: #fff; color: #0a2540; border: none; padding: 10px 20px; border-radius: 14px; 
      font-weight: 800; display: flex; align-items: center; gap: 10px; transition: 0.3s;
    }
    .video-story-card:hover .v-watch-btn { background: #d4af37; color: #fff; }

    @media (max-width: 768px) {
      .video-stories-grid { 
        display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; 
        gap: 16px; padding: 10px 0 30px; -webkit-overflow-scrolling: touch; margin: 0 -16px; padding-inline: 16px;
      }
      .video-stories-grid::-webkit-scrollbar { display: none; }
      .video-story-card { flex: 0 0 85%; scroll-snap-align: center; }
      .v-story-content h3 { font-size: 18px; }
      .v-story-content p { font-size: 13px; -webkit-line-clamp: 2; }
    }
    img { max-width: 100%; display: block; border-radius: inherit; }
    .container { width: var(--container); margin: auto; }
    .section { padding: 92px 0; position: relative; }
    
    .pill {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(10, 37, 64, 0.05);
      color: var(--primary);
      padding: 8px 16px; border-radius: 999px; font-size: 15px; font-weight: 700;
      border: 1px solid rgba(10, 37, 64, 0.1);
    }
    .pill i { color: var(--accent); }
    
    .section-title { font-size: 42px; margin: 16px 0 12px; line-height: 1.3; color: var(--primary); }
    .section-text { font-size: 18px; color: var(--muted); max-width: 760px; line-height: 1.8; }
    .text-center { text-align: center; }

    /* Premium Glassmorphism Cards */
    .card {
      background: rgba(255, 255, 255, 0.65);
      backdrop-filter: blur(12px) saturate(180%);
      -webkit-backdrop-filter: blur(12px) saturate(180%);
      border: 1px solid rgba(255, 255, 255, 0.5);
      box-shadow: 0 8px 32px 0 rgba(10, 37, 64, 0.04);
      border-radius: var(--radius);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .card:hover {
      transform: translateY(-8px) scale(1.01);
      background: rgba(255, 255, 255, 0.85);
      box-shadow: 0 20px 40px rgba(10, 37, 64, 0.08);
      border-color: rgba(212, 175, 55, 0.2);
    }

    /* Navigation */
    .top-bar {
      position: sticky; top: 0; z-index: 50;
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    }
    .top-inner {
      width: var(--container); margin: auto;
      display: flex; align-items: center; justify-content: space-between;
      padding: 14px 0;
    }
    .brand { display: flex; align-items: center; gap: 14px; }
    .brand-logo {
      width: 85px; height: 85px;
      display: flex; align-items: center; justify-content: center;
    }
    .brand-logo img {
      max-width: 100%; max-height: 100%; object-fit: contain;
      transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease;
      filter: drop-shadow(0 4px 10px rgba(10, 37, 64, 0.08));
    }
    .brand-logo:hover img {
      transform: scale(1.06) rotate(-2deg);
      filter: drop-shadow(0 8px 20px rgba(212, 175, 55, 0.45));
    }
    .brand h3 { margin: 0; font-size: 22px; color: var(--primary); font-weight: 800; }
    .brand p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
    
    .nav { display: flex; gap: 6px; }
    .nav a {
      color: var(--text); padding: 10px 18px; border-radius: 12px; font-weight: 500;
      transition: all 0.2s ease;
      border: 1px solid transparent;
    }
    .nav a:hover {
      color: var(--primary);
      background: var(--bg-alt);
    }
    
    .actions { display: flex; align-items: center; gap: 12px; }
    .btn {
      border: 0; cursor: pointer; font-family: inherit;
      display: inline-flex; align-items: center; justify-content: center; gap: 10px;
      padding: 14px 24px; border-radius: 16px; font-size: 16px; font-weight: 700;
      transition: all 0.3s ease; white-space: nowrap;
    }
    .btn-primary {
      background: var(--primary); color: #fff;
      box-shadow: 0 8px 20px rgba(10, 37, 64, 0.2);
    }
    .btn-primary:hover {
      background: var(--primary-light);
      transform: translateY(-2px);
      box-shadow: 0 12px 24px rgba(10, 37, 64, 0.25);
    }
    .btn-gold {
      background: var(--accent); color: #fff;
      box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    }
    .btn-gold:hover {
      background: var(--accent-hover);
      transform: translateY(-2px);
      box-shadow: 0 12px 24px rgba(212, 175, 55, 0.4);
    }
    .btn-outline {
      color: var(--primary); background: transparent;
      border: 2px solid var(--border);
    }
    .btn-outline:hover {
      border-color: var(--primary); background: rgba(10, 37, 64, 0.02);
    }
    .login-btn {
      color: var(--muted); font-size: 20px; padding: 10px 14px; box-shadow: none; display: flex;
    }
    .login-btn:hover { color: var(--primary); background: var(--bg-alt); transform: translateY(-2px); }

    /* Hero Section */
    .hero { padding: 40px 0 60px; position: relative; }
    .hero-grid {
      display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
    }
    .hero-content { padding: 20px 0; }
    .hero-title { font-size: 56px; line-height: 1.15; margin: 0 0 20px; color: var(--primary); font-weight: 800; }
    .hero-title span { color: var(--accent); position: relative; }
    .hero-title span::after {
        content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 12px;
        background: rgba(212, 175, 55, 0.2); z-index: -1; border-radius: 4px;
    }
    .hero-desc { font-size: 20px; line-height: 1.8; color: var(--muted); max-width: 600px; margin: 0 0 32px; }
    .hero-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0 0 36px; }
    .point {
      display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px;
      background: var(--bg-alt); border: 1px solid var(--border);
      transition: all 0.3s;
    }
    .point:hover { background: #fff; box-shadow: var(--shadow-sm); border-color: rgba(10,37,64,0.1); }
    .point i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(212, 175, 55, 0.1); color: var(--accent); font-size: 18px; }
    .point span { font-size: 16px; font-weight: 700; color: var(--primary); }
    .hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

    .hero-image-wrap { position: relative; }
    .hero-image-wrap::before {
      content: ""; position: absolute; inset: -20px; border-radius: 30px;
      background: linear-gradient(135deg, rgba(10, 37, 64, 0.05), transparent);
      z-index: -1; transform: rotate(-3deg);
    }
    .doctor-card {
      position: relative; border-radius: 24px; overflow: hidden;
      box-shadow: 0 25px 50px -12px rgba(10, 37, 64, 0.15); border: 1px solid rgba(0,0,0,0.05);
      background: #fff; width: 100%; height: 620px;
    }
    .doctor-card .slider-wrapper {
      position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: 1;
    }
    .doctor-card .slider-slide {
      position: absolute; top: 0; left: 0; width: 100%; height: 100%;
      object-fit: cover; object-position: center top;
      opacity: 0; transition: opacity 1.5s ease-in-out, transform 6s ease-out;
      transform: scale(1.08); /* Initial Zoom for Ken Burns effect */
    }
    .doctor-card .slider-slide.active {
      opacity: 1; transform: scale(1); z-index: 1;
    }
    .doctor-info {
      position: absolute; right: 24px; left: 24px; bottom: 24px; padding: 24px; border-radius: 20px;
      background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
      box-shadow: 0 10px 30px rgba(0,0,0,0.08); border: 1px solid rgba(255,255,255,0.5);
    }
    .doctor-info h3 { margin: 0 0 8px; font-size: 24px; color: var(--primary); font-weight: 800; white-space: nowrap; }
    .doctor-info p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 15px; }

    /* Stats */
    .stats { position: relative; z-index: 2; margin-top: -30px; }
    .stats-wrap {
      display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 24px;
      background: #fff; border-radius: 24px; box-shadow: var(--shadow-md); border: 1px solid var(--border);
    }
    .stat { text-align: center; padding: 12px; }
    .stat strong { display: block; font-size: 38px; color: var(--primary); font-weight: 800; margin-bottom: 4px; }
    .stat span { color: var(--muted); font-size: 16px; font-weight: 500; }

    /* Alternating Background for sections */
    .bg-alt { background-color: var(--bg-alt); }

    /* Services Section - Expressive Design */
    .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
    .service-card { 
      padding: 40px 32px; position: relative; overflow: hidden; 
      display: flex; flex-direction: column; align-items: center; text-align: center;
    }
    .service-card::after {
      content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
      background: linear-gradient(90deg, var(--accent), var(--primary)); opacity: 0; transition: opacity 0.3s;
    }
    .service-card:hover::after { opacity: 1; }
    .icon-box {
      width: 160px; height: 140px; border-radius: 20px; display: flex; align-items: center; justify-content: center;
      background: transparent; margin: 0 auto 20px; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      padding: 0; position: relative;
    }
    .icon-box img { 
      width: 100%; height: 100%; object-fit: contain; 
      filter: drop-shadow(0 10px 20px rgba(0,0,0,0.08)); 
      transition: transform 0.4s ease;
      margin: 0 auto;
    }
    .service-card:hover .icon-box img { 
      transform: scale(1.15);
    }
    .service-card:hover .icon-box { 
      transform: translateY(-5px);
    }
    .service-card h3 { font-size: 22px; margin: 0 0 16px; color: var(--primary); font-weight: 800; }
    .service-card p { margin: 0; color: var(--muted); line-height: 1.8; font-size: 15px; }

    /* Clinics Section Redesign */
    #clinics { background-color: #f9fafb; position: relative; }
    .appointment-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
    .clinic-card { 
      padding: 24px; background: #fff; border-radius: 20px; 
      border: 1px solid #f1f5f9; box-shadow: 0 4px 12px rgba(10,37,64,0.03);
      display: flex; flex-direction: column; gap: 20px;
    }
    .clinic-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
    .clinic-name { display: flex; align-items: center; gap: 12px; }
    .clinic-name i {
      width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
      background: rgba(212, 175, 55, 0.08); color: var(--accent); font-size: 20px;
    }
    .clinic-card h3 { margin: 0; font-size: 22px; color: var(--primary); font-weight: 800; }
    .clinic-tag { 
      padding: 6px 12px; border-radius: 20px; background: #f8fafc; color: var(--muted); 
      font-size: 12px; font-weight: 700; border: 1px solid #f1f5f9; white-space: nowrap;
    }
    
    .clinic-info-list { display: flex; flex-direction: column; gap: 12px; }
    .clinic-info-row { display: flex; align-items: flex-start; gap: 12px; padding: 4px 0; }
    .clinic-info-row i { 
      color: var(--accent); font-size: 15px; width: 32px; height: 32px; 
      background: #fff9f0; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0;
    }
    .clinic-info-row span { font-size: 15px; color: var(--text); line-height: 1.5; font-weight: 500; }
    .clinic-info-row strong { color: var(--primary); font-weight: 700; }
    
    .clinic-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 10px; }
    .clinic-actions .btn { flex: 1; padding: 12px; font-size: 14px; border-radius: 12px; }
    
    .hospital-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

    /* Features Section */
    .features-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 48px; align-items: center; max-width: 920px; }
    .feature-panel { padding-right: 0; }
    .feature-list { display: grid; gap: 16px; margin-top: 32px; }
    .feature-item { 
      display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 20px; 
      background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
      transition: box-shadow 0.3s;
    }
    .feature-item:hover { box-shadow: var(--shadow-md); }
    .feature-item i { color: var(--accent); font-size: 24px; background: rgba(212,175,55,0.1); padding: 12px; border-radius: 12px;}
    .feature-item strong { display: block; font-size: 18px; color: var(--primary); margin-bottom: 6px; font-weight: 700;}
    .feature-item p { margin: 0; color: var(--muted); line-height: 1.6; }

    /* Testimonials Section */
    .testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
    .testimonial { padding: 32px; background: #fff; border-radius: 24px; position: relative; }
    .testimonial::before { content: "\201D"; position: absolute; top: 20px; left: 30px; font-size: 80px; color: rgba(10,37,64,0.05); font-family: serif; line-height: 1;}
    .quote { font-size: 17px; line-height: 1.8; color: var(--text); margin: 20px 0 24px; position: relative; z-index: 1;}
    .stars { color: var(--accent); display: flex; gap: 4px; font-size: 14px;}
    .author { display: flex; align-items: center; gap: 16px; border-top: 1px solid var(--border); padding-top: 20px;}
    .avatar {
      width: 50px; height: 50px; border-radius: 14px; background: var(--bg-alt); color: var(--primary);
      display: grid; place-items: center; font-weight: 800; font-size: 20px;
    }
    .author h4 { margin: 0 0 4px; font-size: 18px; color: var(--primary); font-weight: 700;}
    .author span { color: var(--muted); font-size: 14px; font-weight: 500;}

    /* CTA Box */
    .cta-box {
      padding: 48px; margin-top: 60px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
      background: var(--primary); border-radius: 24px; color: #fff; position: relative; overflow: hidden;
      box-shadow: 0 20px 40px rgba(10,37,64,0.2);
    }
    .cta-box::after {
        content:""; position: absolute; right: -50px; bottom: -50px; width: 200px; height: 200px;
        background: radial-gradient(circle, rgba(255,255,255,0.1), transparent); border-radius: 50%;
    }
    .cta-box h3 { margin: 0 0 12px; font-size: 36px; font-weight: 800; color: #fff;}
    .cta-box p { margin: 0; color: rgba(255,255,255,0.8); font-size: 18px; max-width: 500px; line-height: 1.6;}

    /* Stories UI Section */
    .stories-bar { display: flex; gap: 24px; overflow-x: auto; padding: 20px 0; margin-top: 32px; justify-content: center; }
    .stories-bar::-webkit-scrollbar { height: 6px; }
    .stories-bar::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 10px; }
    
    .story-item { 
      display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; flex: 0 0 auto; transition: opacity 0.2s;
      background: none; border: none; padding: 0; outline: none; -webkit-tap-highlight-color: transparent;
    }
    .story-item:hover { opacity: 0.85; }
    .story-ring {
      width: 86px; height: 86px; border-radius: 50%; padding: 3px; 
      background: linear-gradient(45deg, #b8860b 0%, #ffd700 25%, var(--accent) 50%, #f9df9f 75%, #b8860b 100%); 
      position: relative; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .story-item:hover .story-ring { transform: scale(1.08); }
    .story-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg-alt); }
    .story-title { font-size: 14px; font-weight: 600; color: var(--text); max-width: 90px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.2s;}
    .story-item:hover .story-title { color: var(--accent); }

    /* Reel Modal Overlay */
    .reel-modal-overlay {
      position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 9999; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.3s;
    }
    .reel-modal-overlay.active { opacity: 1; pointer-events: auto; }
    .reel-content {
      position: relative; width: 100%; max-width: 420px; height: 100%; max-height: 850px; background: #000;
      aspect-ratio: 9/16; display: flex; flex-direction: column; justify-content: center; border-radius: 20px; overflow: hidden;
      transform: scale(0.9); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    }
    .reel-modal-overlay.active .reel-content { transform: scale(1); }
    .reel-content img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    .reel-close {
      position: absolute; top: 16px; right: 16px; font-size: 20px; color: #fff; cursor: pointer; z-index: 99999;
      width: 44px; height: 44px; background: rgba(255,255,255,0.15); backdrop-filter: blur(4px); border-radius: 50%; display: grid; place-items: center; transition: background 0.2s;
    }
    .reel-close:hover { background: rgba(255,255,255,0.3); }
    .reel-ui {
      position: absolute; inset: 0; pointer-events: none;
      background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 40%); z-index: 2;
      display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
    }
    .r-bottom { pointer-events: auto; padding-right: 60px; text-align: right; }
    .r-bottom h4 { color: #fff; margin: 0 0 10px; font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 10px;}
    .r-bottom h4::before { content: ""; width: 34px; height: 34px; border-radius: 50%; background: url('assets/images/dr_mohamed_v2.webp') center top/cover; display: inline-block; border: 2px solid #fff;}
    .r-bottom p { color: rgba(255,255,255,0.9); margin: 0 0 4px; font-size: 14px; line-height: 1.6; font-weight: 400; }
    .r-actions {
      position: absolute; bottom: 24px; right: 16px; display: flex; flex-direction: column; gap: 24px; pointer-events: auto; align-items: center;
    }
    .r-actions .action-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; cursor: pointer; transition: transform 0.2s; }
    .r-actions .action-btn:hover { transform: scale(1.1); color: var(--accent); }
    .r-actions i { font-size: 28px; filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5)); }
    .r-actions span { font-size: 12px; font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,0.8);}

    /* Footer */
    footer { padding: 40px 0 20px; background: #f9fafb; border-top: 1px solid var(--border); position: relative; overflow: hidden; }
    .footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px;}
    .footer-col h4 { margin: 0 0 16px; font-size: 16px; color: var(--primary); font-weight: 800; display: flex; align-items: center; gap: 6px;}
    .footer-col h4::before { content: ""; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; display: inline-block; }
    .staff-gate-trigger {
      appearance: none; border: 0; background: transparent; color: inherit; font: inherit;
      padding: 0; margin: 0; text-align: right; display: flex; flex-direction: column; align-items: flex-start;
      cursor: default;
    }
    .staff-gate-trigger:focus-visible { outline: 2px solid rgba(212,175,55,0.45); outline-offset: 6px; border-radius: 12px; }
    .staff-gate-trigger .brand-logo { display: block; }
    .staff-gate-title {
      margin: 0 0 16px; font-size: 15px; color: var(--primary); font-weight: 800;
      display: flex; align-items: center; gap: 6px;
    }
    .staff-gate-title::before { content: ""; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; display: inline-block; }
    .footer-col p { color: #4a5568; line-height: 1.6; margin: 0; font-size: 13px;}
    .footer-col a { color: #4a5568; line-height: 1.8; display: flex; align-items: center; gap: 8px; transition: all 0.2s; font-size: 13px;}
    .footer-col a:hover { color: var(--primary); transform: translateX(-3px); }
    .footer-col a i { width: 14px; text-align: center; color: var(--accent); font-size: 12px; opacity: 0.8; }
    
    .link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 15px; }
    
    .contact-info { display: flex; flex-direction: column; gap: 8px; }
    .contact-item { display: flex; align-items: center; gap: 10px; color: #4a5568; text-decoration: none; font-size: 14px; font-weight: 600; transition: color 0.2s; }
    .contact-item:hover { color: var(--primary); }
    .contact-item i { color: var(--accent); font-size: 14px; width: 18px; text-align: center; }

    .socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; justify-content: flex-start; }
    .socials a {
      width: 36px; height: 46px; border-radius: 10px; display: grid; place-items: center; 
      background: #fff; color: var(--primary); font-size: 16px; transition: all 0.3s;
      border: 1px solid var(--border); box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    }
    .socials a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); border-color: var(--primary); }
    .copyright { text-align: center; color: #718096; padding-top: 20px; border-top: 1px solid rgba(0,0,0,0.05); font-size: 12px; }

    /* Modal */
    .booking-overlay {
      position: fixed; inset: 0; background: rgba(10, 37, 64, 0.6); backdrop-filter: blur(8px);
      display: none; align-items: flex-start; justify-content: center; padding: 20px; z-index: 1000;
      opacity: 0; transition: opacity 0.3s;
      overflow-y: auto;
    }
    .booking-overlay.active { display: flex; opacity: 1; }
    .booking-card { 
      width: min(640px, 100%); margin: auto; padding: 28px; position: relative; background: #fff; border-radius: 20px;
      box-shadow: 0 25px 50px rgba(0,0,0,0.2); transform: translateY(20px); transition: transform 0.3s;
    }
    .booking-overlay.active .booking-card { transform: translateY(0); }
    .modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
    .modal-head h3 { margin: 0; font-size: 28px; color: var(--primary); font-weight: 800;}
    .close-modal { 
      background: var(--bg-alt); color: var(--muted); border: 0; width: 44px; height: 44px; 
      border-radius: 12px; cursor: pointer; font-size: 18px; transition: 0.2s;
    }
    .close-modal:hover { background: #fee2e2; color: #ef4444; }
    .selected-booking-date {
      display: flex; align-items: center; gap: 10px; margin-top: 4px; padding: 12px 14px;
      background: #f8fafc; border: 1px solid #dbeafe; border-radius: 14px;
      color: #0b2a4a; font-size: 14px; font-weight: 800; line-height: 1.6;
    }
    .selected-booking-date i { color: var(--accent); font-size: 16px; }
    .selected-booking-date.empty {
      background: #fff7ed; border-color: #fed7aa; color: #9a3412;
    }
    .selected-booking-date.empty i { color: #f97316; }
    .staff-gate-overlay {
      position: fixed; inset: 0; background: rgba(10, 37, 64, 0.62); backdrop-filter: blur(8px);
      display: none; align-items: center; justify-content: center; padding: 20px; z-index: 10002;
      opacity: 0; transition: opacity 0.25s ease;
    }
    .staff-gate-overlay.active { display: flex; opacity: 1; }
    .staff-gate-card {
      width: min(390px, 100%); background: #fff; border-radius: 20px; padding: 24px;
      box-shadow: 0 25px 50px rgba(0,0,0,0.22); border: 1px solid rgba(255,255,255,0.7);
      transform: translateY(12px); transition: transform 0.25s ease;
    }
    .staff-gate-overlay.active .staff-gate-card { transform: translateY(0); }
    .staff-gate-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
    .staff-gate-head h3 { margin: 0; color: var(--primary); font-size: 22px; font-weight: 800; }
    .staff-gate-close {
      background: var(--bg-alt); color: var(--muted); border: 0; width: 40px; height: 40px;
      border-radius: 12px; cursor: pointer; font-size: 16px; display: grid; place-items: center;
    }
    .staff-gate-close:hover { background: #fee2e2; color: #ef4444; }
    .staff-gate-form { display: grid; gap: 12px; }
    .staff-gate-form .input { width: 100%; text-align: center; direction: ltr; letter-spacing: 0.08em; }
    .staff-gate-error {
      background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca;
      border-radius: 12px; padding: 10px 12px; font-size: 13px; font-weight: 700; text-align: center;
    }
    .booking-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .field, .choice-wrap { display: grid; gap: 8px; }
    .field label, .choice-wrap label.title { font-size: 15px; color: var(--primary); font-weight: 700;}
    .field-hint { color: var(--muted); font-size: 12px; line-height: 1.6; }
    .input, .select {
      border: 1px solid var(--border); background: var(--bg); color: var(--text); border-radius: 14px; 
      padding: 16px; font-family: inherit; font-size: 16px; outline: none; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    }
    .input:focus, .select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(10, 37, 64, 0.08); transform: translateY(-1px); }
    .input.invalid, .select.invalid { border-color: #ef4444 !important; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1) !important; animation: shake 0.4s ease-in-out; }
    @keyframes shake {
      0%, 100% { transform: translateX(0); }
      25% { transform: translateX(-5px); }
      75% { transform: translateX(5px); }
    }
    .input::placeholder { color: #a0aec0; }
    .choices { display: flex; gap: 12px; flex-wrap: wrap; }
    .chip { 
      cursor: pointer; transition: all 0.2s; border: 1px solid var(--border); padding: 12px 20px; 
      border-radius: 12px; font-weight: 600; color: var(--muted); background: #fff;
    }
    .chip input { display: none; }
    .chip:has(input:checked) { background: rgba(212, 175, 55, 0.1); border-color: var(--accent); color: var(--accent-hover); }
    
    .form-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 32px; border-top: 1px solid var(--border); padding-top: 24px;}
    .note { color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 8px;}
    .note i { color: #10b981; }

    .booking-price-card {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 16px 18px;
      border-radius: 16px;
      border: 1px solid #dbeafe;
      background: linear-gradient(135deg, #f8fbff 0%, #E6F7F5 100%);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
    }
    .booking-price-card.is-instapay {
      border-color: #93c5fd;
      background: linear-gradient(135deg, #E6F7F5 0%, #dbeafe 100%);
    }
    .booking-price-copy { display: grid; gap: 4px; min-width: 0; }
    .booking-price-label {
      display: flex; align-items: center; gap: 8px;
      color: var(--primary); font-weight: 800; font-size: 15px;
    }
    .booking-price-label i { color: var(--accent); }
    .booking-price-hint { color: var(--muted); font-size: 12px; font-weight: 600; }
    .booking-price-value {
      font-size: 1.35rem; line-height: 1; color: #0b2a4a; white-space: nowrap;
    }

    .instapay-panel {
      grid-column: 1 / -1;
      display: grid;
      gap: 14px;
      margin-top: 2px;
    }
    .instapay-panel[hidden] { display: none !important; }

    .instapay-card {
      border: 1px solid #99F6E4;
      border-radius: 18px;
      background: #fff;
      overflow: hidden;
      box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    }
    .instapay-card-head {
      padding: 16px 18px;
      background: linear-gradient(135deg, #0a2540 0%, #163e6e 100%);
      color: #fff;
    }
    .instapay-brand { display: flex; align-items: center; gap: 12px; }
    .instapay-brand-icon {
      width: 44px; height: 44px; border-radius: 14px;
      display: grid; place-items: center;
      background: rgba(255,255,255,0.12);
      color: #fde68a; font-size: 18px; flex-shrink: 0;
    }
    .instapay-brand strong { display: block; font-size: 16px; margin-bottom: 4px; }
    .instapay-brand span { display: block; font-size: 12px; color: rgba(255,255,255,0.78); line-height: 1.5; }

    .instapay-targets { display: grid; gap: 10px; padding: 14px; }
    .instapay-target {
      display: flex; align-items: stretch; justify-content: stretch; gap: 0;
      padding: 12px 14px; border-radius: 14px;
      background: #f8fafc; border: 1px solid #e2e8f0;
    }
    .instapay-target-meta { min-width: 0; flex: 1; display: grid; gap: 6px; }
    .instapay-value-row {
      display: flex; align-items: center; gap: 10px; min-width: 0;
    }
    .instapay-target-label {
      font-size: 12px; font-weight: 800; color: #64748b; letter-spacing: 0.02em;
    }
    .instapay-target-value {
      display: block; flex: 1; min-width: 0;
      font-size: 1.02rem; font-weight: 800; color: #1d4ed8;
      word-break: break-all; font-family: Consolas, 'Courier New', monospace;
    }
    .instapay-copy-btn {
      border: 1px solid #cbd5e1; cursor: pointer; flex-shrink: 0;
      background: #fff; color: #0a2540;
      width: 42px; height: 42px; border-radius: 12px;
      display: grid; place-items: center; font-size: 16px;
      transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
      box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    }
    .instapay-copy-btn:hover {
      transform: translateY(-1px);
      background: #E6F7F5;
      border-color: #93c5fd;
      color: #1d4ed8;
    }
    .instapay-copy-btn.is-copied {
      background: #ecfdf5;
      border-color: #6ee7b7;
      color: #059669;
    }
    .instapay-empty {
      padding: 14px; border-radius: 14px; background: #fff7ed; border: 1px dashed #fdba74;
      color: #9a3412; font-size: 13px; font-weight: 700; line-height: 1.6; text-align: center;
    }
    .instapay-account-name {
      margin: 0 14px 14px; padding: 10px 12px; border-radius: 12px;
      background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534;
      font-size: 13px; font-weight: 700;
    }
    .instapay-account-name[hidden] { display: none !important; }

    .instapay-form-grid { display: grid; gap: 12px; }
    .instapay-step-field label {
      display: flex; align-items: center; gap: 8px;
    }
    .instapay-step-badge {
      width: 22px; height: 22px; border-radius: 999px;
      display: inline-grid; place-items: center;
      background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; flex-shrink: 0;
    }

    .file-upload {
      display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
      padding: 12px 14px; border: 1px dashed #cbd5e1; border-radius: 14px;
      background: #fff; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease;
    }
    .file-upload:hover { border-color: #93c5fd; background: #f8fbff; }
    .file-upload-btn {
      display: inline-flex; align-items: center; gap: 8px;
      background: #E6F7F5; color: #1d4ed8; border-radius: 999px;
      padding: 10px 14px; font-size: 13px; font-weight: 800;
    }
    .file-upload-name {
      color: #64748b; font-size: 13px; font-weight: 600; min-width: 0; word-break: break-word;
    }
    .file-upload-input {
      position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
      overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
    }

    /* FAQ Accordion Styles */
    .faq-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
    .faq-accordion { background: #fff; border-radius: 16px; border: 1px solid var(--border); overflow: hidden; transition: 0.3s; }
    .faq-accordion.active { border-color: var(--primary); box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
    .faq-header { padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; user-select: none; gap: 15px; }
    .faq-header h3 { margin: 0; font-size: 16px; color: var(--text); font-weight: 700; flex: 1; line-height: 1.5; text-align: right; }
    .faq-arrow { width: 30px; height: 30px; border-radius: 50%; background: #f8fafc; display: flex; align-items: center; justify-content: center; transition: 0.3s; color: var(--primary); flex-shrink: 0; }
    .faq-accordion.active .faq-arrow { transform: rotate(180deg); background: var(--primary); color: #fff; }
    .faq-content { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1); background: #fcfdfe; }
    .faq-body { padding: 0 24px 20px; color: var(--muted); line-height: 1.8; font-size: 14px; text-align: right; }
    .faq-accordion.active .faq-content { max-height: 500px; }

    /* Toast Notifications System */
    .toast-container {
      position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
      display: flex; flex-direction: column; gap: 12px; z-index: 10001;
      width: min(400px, calc(100% - 40px));
    }
    .toast {
      padding: 16px 20px; border-radius: 16px; background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px); border: 1px solid var(--border);
      box-shadow: 0 10px 25px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 12px;
      animation: toastIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
      color: var(--text); font-weight: 700; font-size: 15px;
    }
    .toast.success { border-right: 5px solid #10b981; }
    .toast.error { border-right: 5px solid #ef4444; }
    .toast.hide { animation: toastOut 0.4s ease forwards; }
    .toast i { font-size: 18px; }
    .toast.success i { color: #10b981; }
    .toast.error i { color: #ef4444; }

    @keyframes toastIn { 0% { opacity: 0; transform: translateY(40px) scale(0.9); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
    @keyframes toastOut { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(0.8) translateY(-20px); } }

    /* Animations - Fixed Visibility */
    .reveal { opacity: 1; transform: translateY(0); transition: all 0.5s ease; }
    .reveal.show { opacity: 1; transform: translateY(0); }

    /* Responsiveness */
    @media (max-width: 1024px) {
      .hero-grid, .features-grid { grid-template-columns: 1fr; gap: 40px; }
      .hero-content { order: 2; text-align: center; }
      .hero-image-wrap { order: 1; max-width: 600px; margin: 0 auto; width: 100%; }
      .doctor-card { height: 500px; }
      .hero-desc { margin: 0 auto 32px; }
      .hero-cta { justify-content: center; }
    }
    @media (max-width: 900px) {
      .services-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
      .appointment-wrap { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
      .stats-wrap { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    }
    @media (max-width: 640px) {
      .top-inner { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; padding: 10px 16px; gap: 12px; }
      .brand { display: flex; flex-direction: row; align-items: center; gap: 8px; border-bottom: none; padding-bottom: 0; width: auto; justify-content: flex-start; flex: none; }
      .nav { display: flex; flex-wrap: nowrap; overflow-x: auto; width: 100%; justify-content: flex-start; padding: 4px 0 8px; gap: 6px; -webkit-overflow-scrolling: touch; order: 3; }
      .nav::-webkit-scrollbar { display: none; }
      .nav a { font-size: 12px; padding: 6px 14px; white-space: nowrap; background: transparent; border: 1px solid var(--border); border-radius: 20px; color: var(--muted); font-weight: 700; }
      .nav a:hover, .nav a:active { background: rgba(10,37,64,0.05); color: var(--primary); border-color: rgba(10,37,64,0.1); }
      
      .actions { display: flex; width: auto; gap: 8px; align-items: center; justify-content: flex-end; }
      .actions .login-btn { display: none; } /* Hide only on mobile */
      .actions .btn-outline { font-size: 0; padding: 8px 12px; border-radius: 12px; gap: 0; }
      .actions .btn-outline i { font-size: 15px; margin: 0; }
      .actions .open-booking { padding: 8px 14px; font-size: 12px; border-radius: 12px; font-weight: 800; }
      
      .brand-logo { width: 44px; height: 44px; }
      .brand h3 { font-size: 15px; margin-bottom: 0; }
      .brand p { font-size: 10px; margin-top: 0; }
      
      .hero { padding: 15px 0 25px; }
      .hero-grid { grid-template-columns: 1.3fr 1fr; gap: 12px; align-items: stretch; }
      .hero-image-wrap { width: 100%; border-radius: 12px; overflow: hidden; margin-top: 0; order: 2; position: relative; display: block; opacity: 1 !important; transform: none !important; }
      .hero-image-wrap::before { display: none; }
      .doctor-card { border-radius: 12px; height: 100%; min-height: 280px; width: 100%; display: block; }
      .doctor-card .slider-slide:nth-child(1) { object-position: 85% top; } /* Ø§Ù„ØµÙˆØ±Ø© Ø§Ù„Ø£ÙˆÙ„Ù‰ ÙŠÙ…ÙŠÙ† */
      .doctor-card .slider-slide:nth-child(2) { object-position: 40% top; }  /* Ø§Ù„ØµÙˆØ±Ø© Ø§Ù„ØªØ§Ù†ÙŠØ© ØªØ¸Ø¨ÙŠØ· Ø§Ù„Ù…Ù†ØªØµÙ/Ø§Ù„ÙŠØ³Ø§Ø± */
      .doctor-card .slider-slide:nth-child(3) { object-position: center top; } /* Ø§Ù„ØµÙˆØ±Ø© Ø§Ù„Ø«Ø§Ù„Ø«Ø© */
      .doctor-info { right: 8px; left: 8px; bottom: 8px; padding: 10px; border-radius: 10px; text-align: right; z-index: 3; }
      .doctor-info h3 { font-size: 13px; margin-bottom: 2px; white-space: nowrap; }
      .doctor-info p { display: none; }
      
      .hero-content { padding: 0; order: 1; text-align: right; }
      .hero-title { font-size: 22px; margin-bottom: 12px; line-height: 1.25; }
      .pill { font-size: 10px; padding: 4px 8px; margin-bottom: 10px; display: inline-flex; }
      .hero-desc { font-size: 12px; margin-bottom: 16px; line-height: 1.5; }
      
      .hero-points { gap: 6px; margin-bottom: 16px; grid-template-columns: 1fr; text-align: right; }
      .point { padding: 6px 10px; border-radius: 10px; flex-direction: row; align-items: center; gap: 8px; text-align: right;}
      .point i { width: 26px; height: 26px; font-size: 11px; border-radius: 6px; }
      .point span { font-size: 11px; }
      
      .hero-cta { flex-direction: column; gap: 8px; align-items: stretch; justify-content: flex-start; }
      .hero-cta .btn { width: 100%; padding: 10px; font-size: 13px; }
      
      .stats { margin-top: 0; padding-top: 0; }
      .stats-wrap { padding: 16px; grid-template-columns: repeat(2, 1fr); gap: 12px; border-radius: 16px; }
      .stat { padding: 6px; }
      .stat strong { font-size: 24px; margin-bottom: 4px; }
      .stat span { font-size: 12px; }
      
      .section { padding: 40px 0; }
      .section-title { font-size: 22px !important; margin-bottom: 8px !important; }
      .section-text { font-size: 13px !important; line-height: 1.6 !important; max-width: 90% !important; margin: 0 auto 10px !important; }
      .faq-header { padding: 15px; }
      .faq-header h3 { font-size: 14px; }
      .faq-body { padding: 0 15px 15px; font-size: 13px; }
      .faq-container { gap: 10px; }
      
      /* Horizontal Scroll Containers instead of vertical stack */
      /* Horizontal Scroll Containers instead of vertical stack */
      /* Grid for Services on Mobile (2 columns) */
      .services-grid { 
        display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; 
        margin-top: 24px; width: 100%;
      }
      .testimonials-grid { 
        display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; 
        gap: 16px; margin-top: 24px; padding-bottom: 16px; -webkit-overflow-scrolling: touch; 
      }
      .services-grid::-webkit-scrollbar, .testimonials-grid::-webkit-scrollbar { display: none; }
      .service-card { width: 100%; padding: 18px 10px !important; display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center !important; }
      .testimonial { flex: 0 0 85%; scroll-snap-align: center; }
      
      .stories-bar { justify-content: flex-start; padding: 10px 16px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;}
      .stories-bar::-webkit-scrollbar { display: none; }
      .story-item { scroll-snap-align: center; }
      .story-ring { width: 76px; height: 76px; padding: 3px; }
      .story-title { font-size: 12px; max-width: 80px; }
      
      .reel-content { height: 100dvh; max-height: none; aspect-ratio: auto; border-radius: 0; }
      .reel-close { top: 20px; left: 20px; right: auto; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.2);}
      
      .card { padding: 14px; border-radius: 16px; }
      .service-card .icon-box { width: 100px; height: 90px; margin-bottom: 10px; padding: 0; background: transparent; border: none; box-shadow: none; display: flex !important; justify-content: center !important; align-items: center !important; }
      .service-card .icon-box img { width: 90% !important; height: 90% !important; object-fit: contain !important; margin: 0 auto !important; }
      .service-card h3 { font-size: 13px; margin-bottom: 6px; line-height: 1.3; font-weight: 800; }
      .service-card p { font-size: 10px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
      
      .appointment-wrap { 
        display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; 
        gap: 0; margin-top: 24px; padding: 10px 0; -webkit-overflow-scrolling: touch;
      }
      .clinic-card { 
        flex: 0 0 100%; scroll-snap-align: center; padding: 20px; border-radius: 0; 
        box-shadow: none; border: none; border-bottom: 1px solid #f1f5f9;
        background: #fff; gap: 12px;
      }
      .clinic-card:last-child { border-bottom: none; }
      
      .clinic-head { margin-bottom: 10px; }
      .clinic-name i { width: 40px; height: 40px; font-size: 18px; }
      .clinic-card h3 { font-size: 18px; }
      .clinic-tag { font-size: 11px; padding: 4px 10px; }
      
      .clinic-info-list { gap: 8px; }
      .clinic-info-row { gap: 10px; padding: 2px 0; }
      .clinic-info-row i { width: 28px; height: 28px; font-size: 13px; }
      .clinic-info-row span { font-size: 13px; line-height: 1.4; }
      
      .clinic-actions { margin-top: 10px; gap: 8px; }
      .clinic-actions .btn { padding: 10px; font-size: 13px; border-radius: 10px; }
      .hospital-list { grid-template-columns: 1fr; gap: 12px; }
      
      .slider-indicators {
        display: flex; justify-content: center; gap: 8px; margin-top: -10px; margin-bottom: 20px;
      }
      .dot {
        width: 8px; height: 8px; border-radius: 50%; background: var(--border);
        transition: all 0.3s ease;
      }
      .dot.active { width: 24px; border-radius: 10px; background: var(--gold); }

      .hospital-card { max-width: none !important; border: 1px dashed rgba(212,175,55,0.4) !important; background: rgba(10,37,64,0.03) !important; }
      .hospital-list { grid-template-columns: 1fr !important; gap: 16px !important; }
      .clinic-head { flex-direction: row; align-items: center; gap: 12px; margin-bottom: 16px; padding-bottom: 16px;}
      .clinic-name i { width: 40px; height: 40px; font-size: 18px; border-radius: 10px; }
      .clinic-card h3 { font-size: 18px; }
      .clinic-actions { flex-direction: row; flex-wrap: wrap; }
      .clinic-actions .btn { flex: 1; padding: 10px; font-size: 13px;}
      
      .features-grid { margin-top: 24px; }
      .feature-panel { padding-right: 0; }
      .feature-item { padding: 12px; gap: 12px; }
      .feature-item i { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; font-size: 16px; }
      .feature-item strong { font-size: 15px; }
      .feature-item p { font-size: 13px; }
      .cta-box { padding: 24px 16px; border-radius: 16px; text-align: center; justify-content: center; gap: 16px; margin-top: 32px; }
      .cta-box h3 { font-size: 20px; }
      .cta-box p { font-size: 14px; }
      .cta-box .btn { width: 100%; font-size: 14px; padding: 12px 16px; }
      
      /* Centered Elegant Mobile Footer */
      .footer-grid { grid-template-columns: 1fr; gap: 20px; text-align: center; }
      .footer-col h4 { justify-content: center; margin-bottom: 12px; }
      .footer-col .brand-logo { margin: 0 auto 10px !important; }
      .footer-col p { max-width: 300px; margin: 0 auto; }
      .link-grid { justify-content: center; gap: 8px 20px; }
      .footer-col a { justify-content: center; }
      .contact-info { align-items: center; }
      .socials { justify-content: center; }
      .copyright { padding-top: 15px; margin-top: 10px; text-align: center; }
      .footer-col { display: flex; flex-direction: column; align-items: center; text-align: center; }
      .staff-gate-trigger { align-items: center; text-align: center; }
      .staff-gate-title { justify-content: center; }
      .footer-col a { justify-content: center; }
      .socials { justify-content: center; margin-top: 12px; }
      
      .booking-overlay { padding: 12px; align-items: center; }
      .booking-card {
        padding: 18px;
        border-radius: 16px;
        margin: auto;
        width: 100%;
        max-height: calc(100dvh - 24px);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
      }
      .modal-head { margin-bottom: 14px; }
      .modal-head h3 { font-size: 18px; }
      .close-modal { width: 32px; height: 32px; font-size: 15px; display: grid; place-items: center; }
      .booking-grid { grid-template-columns: 1fr; gap: 10px; }
      .booking-price-card { padding: 14px; border-radius: 14px; }
      .booking-price-value { font-size: 1.2rem; }
      .booking-price-hint { font-size: 11px; }
      .instapay-card-head { padding: 14px; }
      .instapay-brand strong { font-size: 15px; }
      .instapay-target { padding: 10px 12px; }
      .instapay-target-value { font-size: 0.95rem; }
      .instapay-copy-btn { width: 38px; height: 38px; font-size: 15px; border-radius: 10px; }
      .file-upload { padding: 10px 12px; }
      .field, .choice-wrap { gap: 4px; }
      .input:not([type="file"]), .select {
        height: 44px !important;
        padding: 0 12px !important;
        font-size: 14px;
        border-radius: 10px;
      }
      .input[type="file"] {
        padding: 8px 12px !important;
        height: auto !important;
      }
      .choices { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding-bottom: 4px; }
      .chip { text-align: center; padding: 8px 12px; font-size: 12px; flex: 0 0 auto;}
      .choice-wrap { margin-top: 18px; }
      .choice-wrap label.title { font-size: 14px; margin-bottom: 8px; display: block;}
      .form-actions {
        flex-direction: column;
        margin-top: 12px !important;
        gap: 8px;
        border-top: 1px solid var(--border) !important;
        padding-top: 12px !important;
        padding-bottom: 12px !important;
        position: sticky;
        bottom: -18px;
        background: #ffffff;
        z-index: 10;
        width: calc(100% + 36px) !important;
        margin-left: -18px !important;
        margin-right: -18px !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
      }
      .form-actions .btn { width: 100% !important; padding: 12px 24px !important; font-size: 15px; margin: 0 !important; }
      .note { text-align: center; justify-content: center; font-size: 12px; }
      .form-actions .note { margin-bottom: 8px !important; width: 100% !important; }
    }
@media (max-width: 768px) {
  .card,
  .top-bar {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .top-bar { background: rgba(255, 255, 255, 0.98); }
  .card { background: rgba(255, 255, 255, 0.96); }
}
