/* =========================================================
   SPANDANA SUPER SPECIALITY HOSPITAL — STYLESHEET
   Organized: tokens → base → layout → components → sections → utilities
   ========================================================= */
header{
    background:transparent;
}
:root{
  /* Brand palette — unchanged from original */
  --navy-1:#0d2f52;
  --navy-2:#0f6fa8;
  --cyan:#29b6d8;
  --cyan-dark:#1c9bc0;
  --white:#ffffff;
  --ink:#0d2f52;
  --muted:#cfe6f2;

  /* Supporting tokens */
  --bg-soft:#f6fafc;
  --bg-soft-2:#eef6f9;
  --text-body:#5a7386;
  --text-dim:#7891a3;
  --line:#e7eef2;
  --shadow-sm:0 8px 18px rgba(20,50,70,0.08);
  --shadow-md:0 24px 48px rgba(13,47,82,0.12);
  --shadow-lg:0 30px 60px rgba(13,47,82,0.18);
  --radius-sm:6px;
  --radius-md:12px;
  --radius-lg:20px;
  --font-display:'Poppins', sans-serif;
  --font-body:'Inter', sans-serif;
  --ease-out:cubic-bezier(.22,1,.36,1);
  --nav-h:76px;
  --topbar-h:38px;
}

*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:calc(var(--nav-h) + var(--topbar-h) + 10px); }
body{
  margin:0;
  font-family:var(--font-body);
  background:var(--white);
  color:var(--ink);
  line-height:1.5;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; }
button{ font-family:inherit; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3{ font-family:var(--font-display); }

/* ===== Accessibility ===== */
.skip-link{
  position:absolute; left:-9999px; top:0;
  background:var(--white); color:var(--ink);
  padding:12px 20px; z-index:2000; border-radius:0 0 8px 0; font-weight:700;
}
.skip-link:focus{ left:0; }
:focus-visible{ outline:3px solid var(--cyan); outline-offset:2px; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}

/* ===== Loader ===== */
.loader{
  position:fixed; inset:0; z-index:9999;
  background:linear-gradient(135deg, var(--navy-1), var(--navy-2));
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:22px;
  transition:opacity .6s ease, visibility .6s ease;
}
.loader.is-hidden{ opacity:0; visibility:hidden; pointer-events:none; }
.loader-mark svg{ width:52px; height:52px; animation:pulseDot 1.6s ease-in-out infinite; }
.loader-bar{ width:160px; height:3px; background:rgba(255,255,255,.18); border-radius:3px; overflow:hidden; }
.loader-bar span{ display:block; height:100%; width:40%; background:var(--cyan); animation:loaderSlide 1.1s ease-in-out infinite; }
@keyframes loaderSlide{ 0%{ transform:translateX(-100%);} 100%{ transform:translateX(350%);} }

/* ===== Top bar ===== */
.topbar{ background:var(--navy-1); color:var(--muted); font-size:12.5px; }
.topbar-inner{
  max-width:1400px; margin:0 auto; padding:9px 48px;
  display:flex; align-items:center; gap:32px; height:var(--topbar-h); box-sizing:border-box;
}
.topbar-item{ display:flex; align-items:center; gap:7px; opacity:.92; }
.topbar-item a{ color:var(--white); text-decoration:none; font-weight:600; }
.topbar-item a:hover{ text-decoration:underline; }

/* ===== Header / hero overlap =====
   Pull the hero up under the nav so the dark hero gradient shows through
   the transparent nav from first paint. Without this, the nav sits on the
   plain white body background before any scroll happens, and the white
   logo text, nav links, and hamburger icon are invisible until the user
   scrolls and .is-scrolled applies its navy background. */
header{
  margin-bottom:calc(-1 * var(--nav-h));
  position:relative;
  z-index:900;
}

/* ===== Nav ===== */
#site-nav{
  position:sticky; top:0; z-index:900;
  background:transparent;
  transition:background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
#site-nav.is-scrolled{
  background:rgba(13,47,82,0.78);
  backdrop-filter:blur(16px) saturate(160%);
  -webkit-backdrop-filter:blur(16px) saturate(160%);
  box-shadow:0 10px 30px rgba(0,0,0,.18);
}
.nav-inner{
  max-width:1400px; margin:0 auto; padding:0 48px; height:var(--nav-h);
  display:flex; align-items:center; justify-content:space-between; gap:28px;
}
.brand{ display:flex; align-items:center; gap:12px; text-decoration:none; }
.brand-icon{ width:44px; height:44px; border-radius:12px; background:var(--white); display:flex; align-items:center; justify-content:center; flex:none; }
.brand-icon svg{ width:24px; height:24px; }
.brand-name{ display:block; font-family:var(--font-display); font-weight:800; font-size:20px; color:var(--white); letter-spacing:.5px; line-height:1.1; }
.brand-tag{ display:block; font-size:9.5px; letter-spacing:2px; color:var(--muted); text-transform:uppercase; margin-top:3px; }

.nav-links{ display:flex; align-items:center; gap:34px; }
.nav-links > li > a, .nav-link-btn{
  color:var(--white); text-decoration:none; font-weight:600; font-size:12.5px;
  letter-spacing:.6px; text-transform:uppercase; background:none; border:none; cursor:pointer;
  display:flex; align-items:center; gap:5px; padding:8px 0; opacity:.92;
}
.nav-links > li > a:hover, .nav-link-btn:hover{ opacity:1; }
.nav-links > li > a{ position:relative; }
.nav-links > li > a::after{
  content:""; position:absolute; left:0; right:100%; bottom:2px; height:2px; background:var(--cyan);
  transition:right .25s var(--ease-out);
}
.nav-links > li > a:hover::after{ right:0; }

.has-mega{ position:relative; }
.mega-menu{
  position:absolute; top:calc(100% + 14px); left:50%; transform:translateX(-50%) translateY(8px);
  width:560px; background:var(--white); border-radius:var(--radius-md); box-shadow:var(--shadow-lg);
  padding:20px; opacity:0; visibility:hidden; transition:opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.has-mega:hover .mega-menu, .has-mega:focus-within .mega-menu{ opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }
.mega-grid{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:6px; }
.mega-item{
  display:flex; align-items:center; gap:12px; padding:10px; border-radius:8px; text-decoration:none; color:var(--ink);
  transition:background .2s ease;
}
.mega-item:hover{ background:var(--bg-soft-2); }
.mega-ico{ font-size:20px; }
.mega-item strong{ display:block; font-size:13px; }
.mega-item small{ display:block; font-size:11px; color:var(--text-dim); margin-top:2px; }

.nav-actions{ display:flex; align-items:center; gap:14px; }
.nav-emergency{
  display:flex; align-items:center; gap:6px; color:var(--white); text-decoration:none;
  font-size:12.5px; font-weight:700; letter-spacing:.4px; text-transform:uppercase; opacity:.95;
}
.nav-emergency:hover{ opacity:1; }

.purchase-btn{
  background:var(--cyan); color:var(--white); border:none; font-weight:700; font-size:12.5px;
  letter-spacing:.6px; text-transform:uppercase; padding:14px 24px; border-radius:6px; cursor:pointer;
  transition:background .2s ease, transform .2s ease; text-decoration:none; display:inline-block;
}
.purchase-btn:hover{ background:var(--cyan-dark); transform:translateY(-2px); }

.menu-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px; }
.menu-toggle span{ width:24px; height:2px; background:var(--white); border-radius:2px; transition:transform .3s ease, opacity .3s ease; }
.menu-toggle.is-open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2){ opacity:0; }
.menu-toggle.is-open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.mobile-menu{
  display:none; flex-direction:column; gap:4px; background:var(--navy-1);
  padding:10px 24px 20px; max-height:0; overflow:hidden; transition:max-height .35s var(--ease-out);
}
.mobile-menu.is-open{ display:flex; max-height:520px; }.mobile-menu a{ color:var(--white); text-decoration:none; padding:12px 4px; font-weight:600; font-size:14px; border-bottom:1px solid rgba(255,255,255,.08); }

/* ===== Buttons (shared) ===== */
.btn{
  padding:16px 26px; font-weight:700; font-size:13px; letter-spacing:.4px; text-decoration:none;
  display:inline-flex; align-items:center; gap:10px; border-radius:6px; border:none; cursor:pointer;
  transition:transform .25s ease, background .25s ease, box-shadow .25s ease; position:relative; overflow:hidden;
}
.btn::before{
  content:""; position:absolute; top:0; left:-120%; width:60%; height:100%;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transform:skewX(-20deg);
}
.btn:hover::before{ left:220%; transition:1s; }
.btn:hover{ transform:translateY(-3px); box-shadow:0 12px 24px rgba(4,20,40,.22); }
.btn-white{ background:var(--white); color:var(--ink); }
.btn-white:hover{ background:#eef6fa; }
.btn-outline{ border:1.5px solid rgba(255,255,255,.6); color:var(--white); background:transparent; }
.btn-outline .tag{ background:var(--cyan); color:var(--white); padding:4px 10px; border-radius:4px; font-size:11.5px; }
.btn-outline:hover{ border-color:var(--white); }
.btn-solid{ background:var(--cyan); color:var(--white); }
.btn-solid:hover{ background:var(--cyan-dark); }
.full-width{ width:100%; justify-content:center; }

/* ===== Section chrome ===== */
.eyebrow{ display:inline-block; font-size:12px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--cyan-dark); margin-bottom:14px; }
.eyebrow-light{ color:var(--cyan); }
.section-head{ max-width:640px; margin:0 auto 56px; text-align:center; padding:0 24px; }
.section-head h2{ font-weight:700; font-size:clamp(26px,3.4vw,34px); color:var(--ink); line-height:1.3; margin:0 0 14px; }
.section-head p{ color:var(--text-body); font-size:15.5px; line-height:1.7; margin:0; }

/* ===== Reveal-on-scroll ===== */
.reveal{ opacity:0; transform:translateY(32px); transition:opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible{ opacity:1; transform:translateY(0); }
.reveal-stagger.is-visible > *{ animation:fadeUp .7s var(--ease-out) both; }
.reveal-stagger.is-visible > *:nth-child(1){ animation-delay:.04s; }
.reveal-stagger.is-visible > *:nth-child(2){ animation-delay:.11s; }
.reveal-stagger.is-visible > *:nth-child(3){ animation-delay:.18s; }
.reveal-stagger.is-visible > *:nth-child(4){ animation-delay:.25s; }
.reveal-stagger.is-visible > *:nth-child(n+5){ animation-delay:.32s; }
@keyframes fadeUp{ from{ opacity:0; transform:translateY(28px);} to{ opacity:1; transform:translateY(0);} }
@keyframes pulseDot{ 0%,100%{ box-shadow:0 0 0 0 rgba(41,182,216,.5);} 50%{ box-shadow:0 0 0 8px rgba(41,182,216,0);} }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position:relative; min-height:calc(100vh - var(--topbar-h)); display:flex; flex-direction:column; justify-content:center;
  overflow:hidden; padding:0 0 60px;
}
.hero-slides{ position:absolute; inset:0; z-index:0; }
.hero-slide{
  position:absolute; inset:0; background-size:cover; background-position:center;
  opacity:0; transition:opacity 1.4s ease;
}
.hero-slide.is-active{ opacity:1; }
.hero-body{
  position:relative; z-index:1; max-width:1400px; margin:0 auto; width:100%;
  padding:calc(70px + var(--nav-h)) 48px 0; display:grid; grid-template-columns:1.15fr .85fr; gap:50px; align-items:center;
}
.hero-copy h1{ font-weight:600; font-size:30px;
line-height:1.2; line-height:1.25; color:var(--white); max-width:600px; margin:14px 0 18px; }
.hero-sub{ color:var(--muted); font-size:16px; line-height:1.7; max-width:520px; margin-bottom:8px; }
.cta-row{ display:flex; gap:16px; margin-top:30px; flex-wrap:wrap; }
.trust-badges{ display:flex; gap:26px; margin-top:44px; flex-wrap:wrap; }
.trust-badge{ display:flex; align-items:center; gap:9px; color:var(--white); font-size:13px; font-weight:600; }
.trust-badge svg{ color:var(--cyan); flex:none; }
@media(max-width:640px){

.hero-copy h1{
font-size:34px;
line-height:1.2;
}



.cta-row{
flex-direction:column;
}

.cta-row .btn{
width:100%;
}



.cta-row{
display:flex;
flex-direction:row;
gap:10px;
}

.cta-row .btn{
flex:1;
padding:14px;
font-size:13px;
}


.mobile-emergency-bar{
padding:8px 15px;
}

.mob-book{
padding:8px 14px;
font-size:12px;
}

.hero-sub{
font-size:15px;
}

}
.hero-stats-card{
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-radius:var(--radius-lg); padding:34px 30px; display:grid; grid-template-columns:1fr 1fr; gap:26px 20px;
}
.hero-stats-title{ grid-column:1/-1; color:var(--white); font-size:15px; font-weight:600; margin:0 0 4px; }
.hero-stat{ display:flex; flex-direction:column; }
.hero-stat-num{ font-family:var(--font-display); font-weight:800; font-size:30px; color:var(--white); line-height:1; }
.hero-stat-lbl{ color:var(--muted); font-size:12px; margin-top:6px; }

.hero-scroll-cue{ position:absolute; left:50%; bottom:22px; transform:translateX(-50%); z-index:1; }
.hero-scroll-cue span{
  display:block; width:22px; height:36px; border:2px solid rgba(255,255,255,.5); border-radius:14px; position:relative;
}
.hero-scroll-cue span::before{
  content:""; position:absolute; top:6px; left:50%; width:4px; height:8px; background:var(--cyan); border-radius:2px;
  transform:translateX(-50%); animation:scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue{ 0%{ opacity:1; transform:translate(-50%,0);} 70%{ opacity:0; transform:translate(-50%,10px);} 100%{ opacity:0;} }

/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.why{ max-width:1200px; margin:0 auto; padding:110px 48px 60px; }
.why-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.why-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); padding:28px 22px;
  transition:transform .3s var(--ease-out), box-shadow .3s ease;
}
.why-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.why-ico{ width:46px; height:46px; border-radius:10px; background:linear-gradient(135deg, var(--navy-2), var(--cyan)); display:flex; align-items:center; justify-content:center; margin-bottom:16px; color:var(--white); }
.why-ico svg{ width:22px; height:22px; }
.why-card h3{ font-size:16.5px; font-weight:600; margin:0 0 8px; }
.why-card p{ font-size:13.5px; line-height:1.6; color:var(--text-body); margin:0; }

/* =========================================================
   SERVICES / DEPARTMENTS
   ========================================================= */
.services{ max-width:1200px; margin:0 auto; padding:60px 48px 110px; }
.service-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.service-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); padding:34px 28px;
  transition:transform .35s var(--ease-out), box-shadow .35s ease, border-color .35s ease;
}
.service-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-md); border-color:transparent; }
.service-icon{
  width:52px; height:52px; border-radius:12px; background:linear-gradient(135deg, var(--navy-2), var(--cyan));
  display:flex; align-items:center; justify-content:center; margin-bottom:20px; transition:transform .35s var(--ease-out);
}
.service-card:hover .service-icon{ transform:rotate(-6deg) scale(1.06); }
.service-icon svg{ width:24px; height:24px; color:var(--white); }
.service-card h3{ font-weight:600; font-size:17.5px; color:var(--ink); margin:0 0 9px; }
.service-card p{ font-size:13.5px; line-height:1.65; color:var(--text-body); margin:0; }

/* =========================================================
   APPOINTMENT
   ========================================================= */
.appointment{ background:linear-gradient(135deg, var(--navy-1), var(--navy-2)); padding:100px 48px; }
.appointment-inner{ max-width:1200px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.appointment-copy h2{ color:var(--white); font-size:clamp(26px,3vw,32px); font-weight:700; line-height:1.35; margin:0 0 16px; }
.appointment-copy p{ color:var(--muted); font-size:15px; line-height:1.75; margin:0 0 22px; }
.appointment-points{ display:flex; flex-direction:column; gap:12px; margin-bottom:26px; }
.appointment-points li{ color:var(--white); font-size:14px; padding-left:26px; position:relative; }
.appointment-points li::before{ content:"✓"; position:absolute; left:0; color:var(--cyan); font-weight:700; }
.appointment-call{ display:flex; align-items:center; gap:12px; color:var(--muted); font-size:14px; }
.appointment-call a{ color:var(--white); font-weight:700; text-decoration:none; font-size:17px; }

.appointment-form{ background:var(--white); border-radius:var(--radius-lg); padding:34px; box-shadow:var(--shadow-lg); }
.appointment-form h3{ font-size:19px; font-weight:700; margin:0 0 20px; color:var(--ink); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field{ margin-bottom:16px; display:flex; flex-direction:column; gap:6px; }
.field label{ font-size:12.5px; font-weight:600; color:var(--ink); }
.field input, .field select, .field textarea{
  border:1.5px solid var(--line); border-radius:8px; padding:11px 13px; font-size:14px; font-family:inherit;
  color:var(--ink); background:var(--bg-soft); transition:border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--cyan); }
.form-status{ margin-top:14px; font-size:13px; font-weight:600; min-height:18px; }
.form-status.ok{ color:var(--cyan-dark); }

/* =========================================================
   HOSPITAL PHOTO / ABOUT
   ========================================================= */
.hospital-photo{ background:linear-gradient(180deg,var(--bg-soft),var(--bg-soft-2)); padding:110px 48px; }
.hp-inner{ max-width:1200px; margin:0 auto; display:grid; grid-template-columns:1.1fr 1fr; gap:60px; align-items:center; }
.hp-copy h2{ font-weight:700; font-size:32px; color:var(--ink); line-height:1.35; margin:0 0 18px; }
.hp-copy p{ color:var(--text-body); font-size:15.5px; line-height:1.8; margin:0 0 32px; }
.stat-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.stat{ border-left:3px solid var(--cyan); padding-left:16px; }
.stat .num{ font-family:var(--font-display); font-weight:800; font-size:30px; color:var(--ink); display:block; line-height:1; }
.stat .lbl{ font-size:12.5px; color:var(--text-dim); margin-top:8px; display:block; }
.hp-visual{ position:relative; aspect-ratio:4/3; border-radius:14px; overflow:hidden; box-shadow:var(--shadow-lg); background:linear-gradient(135deg, var(--navy-2), var(--cyan)); }
.hp-visual img{ width:100%; height:100%; object-fit:cover; }
.ph-fallback{ position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; color:rgba(255,255,255,.9); text-align:center; padding:0 30px; }
.ph-fallback span{ font-size:13px; font-weight:600; letter-spacing:.3px; }

/* =========================================================
   DOCTORS
   ========================================================= */
.doctors{ max-width:1200px; margin:0 auto; padding:110px 48px; }
.doctor-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.doctor-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); padding:22px; text-align:center;
  transition:transform .3s var(--ease-out), box-shadow .3s ease;
}
.doctor-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.doctor-photo{ aspect-ratio:1/1; border-radius:var(--radius-md); overflow:hidden; margin-bottom:16px; background:linear-gradient(135deg, var(--navy-2), var(--cyan)); position:relative; }
.doctor-photo img{ width:100%; height:100%; object-fit:cover; }
.doctor-photo .ph-fallback{ padding:0; }
.doctor-card h3{ font-size:15.5px; font-weight:600; margin:0 0 3px; }
.doctor-role{ font-size:12.5px; color:var(--cyan-dark); font-weight:600; margin:0 0 3px; }
.doctor-meta{ font-size:11.5px; color:var(--text-dim); margin:0 0 14px; }
.doctor-book{ font-size:12.5px; font-weight:700; color:var(--ink); text-decoration:none; }
.doctor-book:hover{ color:var(--cyan-dark); }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery{ background:var(--bg-soft); padding:110px 48px; }
.gallery-grid{ max-width:1200px; margin:0 auto; display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:190px; gap:16px; }
.gallery-item{ position:relative; border-radius:var(--radius-md); overflow:hidden; background:linear-gradient(135deg, var(--navy-2), var(--cyan)); }
.gallery-item.span-2{ grid-column:span 2; }
.gallery-item img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.gallery-item:hover img{ transform:scale(1.06); }
.gallery-cap{ position:absolute; left:14px; bottom:12px; color:var(--white); font-size:12.5px; font-weight:700; text-shadow:0 2px 8px rgba(0,0,0,.4); }
.gallery-item.ph-fallback-bg::after{
  content:attr(data-label); position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,.85); font-size:12px; font-weight:600;
}

/* =========================================================
   STATS BAND
   ========================================================= */
.stats-band{ background:linear-gradient(135deg, var(--navy-1), var(--navy-2)); padding:60px 48px; }
.stats-band-inner{ max-width:1100px; margin:0 auto; display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center; }
.sb-stat{ display:flex; flex-direction:column; gap:6px; }
.sb-stat .hero-stat-num{ color:var(--white); font-size:34px; }
.sb-stat span:last-child{ color:var(--muted); font-size:13px; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials{ max-width:900px; margin:0 auto; padding:110px 48px; text-align:center; }
.carousel{ position:relative; }
.carousel-track{ position:relative; min-height:200px; }
.testimonial-card{
  position:absolute; inset:0; opacity:0; transform:translateX(24px); transition:opacity .5s ease, transform .5s ease;
  margin:0; pointer-events:none;
}
.testimonial-card.is-active{ opacity:1; transform:translateX(0); pointer-events:auto; position:relative; }
.testimonial-card p{ font-size:19px; line-height:1.8; color:var(--ink); font-style:italic; margin:0 0 18px; }
.testimonial-card figcaption{ font-size:13.5px; font-weight:700; color:var(--cyan-dark); }
.carousel-dots{ display:flex; justify-content:center; gap:9px; margin-top:26px; }
.carousel-dots button{ width:9px; height:9px; border-radius:50%; background:var(--line); border:none; cursor:pointer; padding:0; transition:background .2s ease, transform .2s ease; }
.carousel-dots button.is-active{ background:var(--cyan); transform:scale(1.25); }

/* =========================================================
   PARTNERS / AWARDS
   ========================================================= */
.partners, .awards{ max-width:1100px; margin:0 auto; padding:60px 48px; text-align:center; }
.partner-row, .award-row{ display:flex; flex-wrap:wrap; justify-content:center; gap:16px; }
.partner-chip{
  border:1.5px solid var(--line); border-radius:999px; padding:12px 24px; font-size:13.5px; font-weight:700;
  color:var(--ink); transition:border-color .2s ease, transform .2s ease;
}
.partner-chip:hover{ border-color:var(--cyan); transform:translateY(-2px); }
.award-item{
  display:flex; align-items:center; gap:12px; border:1.5px solid var(--line); border-radius:var(--radius-md);
  padding:16px 20px; font-size:13.5px; font-weight:600; color:var(--ink); max-width:320px; text-align:left;
}
.award-item svg{ color:var(--cyan-dark); flex:none; }

/* =========================================================
   FOUNDER
   ========================================================= */
.founder{ max-width:1200px; margin:0 auto; padding:110px 48px; }
.founder-inner{ display:grid; grid-template-columns:.85fr 1.15fr; gap:60px; align-items:center; }
.founder-photo{ position:relative; aspect-ratio:3/4; border-radius:14px; overflow:hidden; box-shadow:var(--shadow-lg); background:linear-gradient(160deg, var(--navy-1), var(--navy-2)); }
.founder-photo img{ width:100%; height:100%; object-fit:cover; }
.founder-copy h2{ font-weight:700; font-size:32px; color:var(--ink); line-height:1.35; margin:0 0 8px; }
.founder-copy .role{ font-size:14px; font-weight:600; color:var(--cyan-dark); margin-bottom:22px; letter-spacing:.3px; }
.founder-copy p{ color:var(--text-body); font-size:15.5px; line-height:1.8; margin:0 0 18px; }
.founder-copy .quote{ border-left:3px solid var(--cyan); padding-left:18px; font-style:italic; color:var(--ink); font-size:16px; margin-top:20px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq{ max-width:820px; margin:0 auto; padding:110px 48px; }
.faq-list{ display:flex; flex-direction:column; gap:12px; }
.faq-item{ border:1.5px solid var(--line); border-radius:var(--radius-md); overflow:hidden; }
.faq-q{
  width:100%; text-align:left; background:var(--white); border:none; padding:18px 22px; font-size:15px; font-weight:600;
  color:var(--ink); cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:16px;
}
.faq-icon{ font-size:20px; color:var(--cyan-dark); transition:transform .3s ease; flex:none; }
.faq-item.is-open .faq-icon{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .35s var(--ease-out); background:var(--bg-soft); }
.faq-item.is-open .faq-a{ max-height:200px; }
.faq-a p{ margin:0; padding:0 22px 18px; font-size:14px; line-height:1.7; color:var(--text-body); }

/* =========================================================
   BLOG
   ========================================================= */
.blog{ max-width:1200px; margin:0 auto; padding:60px 48px 110px; }
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.blog-card{ border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden; transition:transform .3s var(--ease-out), box-shadow .3s ease; }
.blog-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.blog-thumb{ height:150px; }
.blog-thumb-1{ background:linear-gradient(135deg,#e14b4b,#f2977c); }
.blog-thumb-2{ background:linear-gradient(135deg,var(--navy-2),var(--cyan)); }
.blog-thumb-3{ background:linear-gradient(135deg,#3a8f5f,#8fd4a8); }
.blog-body{ padding:20px; }
.blog-tag{ font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:var(--cyan-dark); }
.blog-body h3{ font-size:16px; font-weight:600; margin:10px 0 8px; line-height:1.4; }
.blog-body p{ font-size:13.5px; color:var(--text-body); line-height:1.6; margin:0; }

/* =========================================================
   MAP + CONTACT
   ========================================================= */
.map-contact{ max-width:1200px; margin:0 auto; padding:60px 48px 110px; }
.mc-inner{ display:grid; grid-template-columns:1.1fr .9fr; gap:40px; align-items:start; }
.map-wrap{ border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-sm); min-height:420px; }
.map-wrap iframe{ width:100%; height:100%; min-height:420px; border:0; }
.contact-form{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); padding:32px; box-shadow:var(--shadow-sm); width:100%; min-width:0; }
.contact-form h3{ font-size:19px; font-weight:700; margin:0 0 18px; }

/* =========================================================
   FOOTER
   ========================================================= */
footer{ background:var(--navy-1); color:var(--muted); padding:70px 48px 30px; }
.footer-inner{ max-width:1200px; margin:0 auto; display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:48px; padding-bottom:50px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-brand .brand{ margin-bottom:16px; }
.footer-brand p{ font-size:13.5px; line-height:1.8; color:#8fabbe; max-width:280px; }
.footer-col h4{ font-family:var(--font-display); font-size:14px; color:var(--white); margin:0 0 20px; letter-spacing:.5px; }
.footer-col ul{ display:flex; flex-direction:column; gap:12px; }
.footer-col a{ color:#a9c2d1; text-decoration:none; font-size:13.5px; transition:color .2s ease, padding-left .2s ease; }
.footer-col a:hover{ color:var(--white); padding-left:4px; }
.footer-bottom{ max-width:1200px; margin:0 auto; padding-top:26px; display:flex; justify-content:space-between; font-size:12.5px; color:var(--text-dim); }

/* =========================================================
   FLOATING ACTIONS
   ========================================================= */
.floating-actions{ position:fixed; right:22px; bottom:26px; z-index:800; display:flex; flex-direction:column; gap:12px; }
.fab{
  width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  color:var(--white); text-decoration:none; box-shadow:0 10px 24px rgba(13,47,82,.3); cursor:pointer; border:none;
  transition:transform .25s ease, opacity .25s ease;
}
.fab:hover{ transform:translateY(-3px) scale(1.05); }
.fab-whatsapp{ background:#25d366; }
.fab-call{ background:var(--cyan); animation:pulseDot 2.2s ease-in-out infinite; }
.fab-top{ background:var(--navy-1); opacity:0; pointer-events:none; }
.fab-top.is-visible{ opacity:1; pointer-events:auto; }

/* ===== Mobile sticky emergency bar ===== */
.mobile-emergency-bar{
  display:none; position:fixed; left:0; right:0; bottom:0; z-index:850; background:var(--navy-1);
  padding:12px 16px; align-items:center; justify-content:space-between; gap:12px;
  box-shadow:0 -6px 20px rgba(0,0,0,.2);
}
.mobile-emergency-bar a{ text-decoration:none; }
.mobile-emergency-bar a:first-child{ color:var(--white); font-size:13px; font-weight:700; display:flex; align-items:center; gap:7px; }
.mob-book{ background:var(--cyan); color:var(--white); padding:9px 16px; border-radius:6px; font-size:12.5px; font-weight:700; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:1080px){
  .hero-body{ grid-template-columns:1fr; }
  .hero-stats-card{ margin-top:20px; }
  .why-grid{ grid-template-columns:repeat(2,1fr); }
  .doctor-grid{ grid-template-columns:repeat(2,1fr); }
  .gallery-grid{ grid-template-columns:repeat(2,1fr); }
  .gallery-item.span-2{ grid-column:span 2; }
  .hp-inner, .founder-inner, .mc-inner{ grid-template-columns:1fr; }
  .appointment-inner{ grid-template-columns:1fr; }
  .stats-band-inner{ grid-template-columns:repeat(2,1fr); }
}



@media (max-width:640px){

.topbar-inner{
    height:38px;
    padding:0 15px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:nowrap;
    overflow:hidden;
}

.topbar-item{
    white-space:nowrap;
    font-size:10px;
}

}
@media (max-width:980px){
  .nav-links, .nav-emergency{ display:none; }
  .menu-toggle{ display:flex; }
  .topbar-hide-sm{ display:none; }
  .service-grid{ grid-template-columns:1fr; }
  .blog-grid{ grid-template-columns:1fr; }
  .footer-inner{ grid-template-columns:1fr 1fr; }
  .mobile-emergency-bar{ display:flex; }
  body{ padding-bottom:64px; }

  /* Sticky emergency bar already offers a call action, so drop the
     floating call bubble to avoid duplicate controls, and lift the
     remaining floating actions clear of the bar. */
  .fab-call{ display:none; }
  .floating-actions{ bottom:88px; right:16px; }
}
@media (max-width:640px){
  /* Shrink the nav itself so brand + button + hamburger fit on one line
     without wrapping. Redefining --nav-h keeps the header/hero overlap
     fix (further up this file) and hero-body padding in sync with the
     new shorter nav height automatically. */
:root{
--nav-h:56px;
}



.brand-icon{
    width:32px;
    height:32px;
}

.brand-name{
    font-size:14px;
}

.brand-tag{
    display:none;
}



.hero-body{
padding:25px 20px 30px;
}


.floating-actions{
right:15px;
bottom:90px;
}


.hero-body{
padding:calc(50px + var(--nav-h)) 20px 0;
}
  .nav-inner{ flex-wrap:nowrap; gap:10px; }
  .brand{ gap:8px; }
  .brand-icon{ width:36px; height:36px; border-radius:10px; }
  .brand-icon svg{ width:20px; height:20px; }
  .brand-name{ font-size:15px; }
  .brand-tag{ display:none; } /* prevents 3-line wrap that overflowed the fixed-height nav */
  .nav-actions{ gap:8px; }
  .purchase-btn{ padding:9px 14px; font-size:10.5px; letter-spacing:.3px; }
  .menu-toggle{ padding:4px; flex:none; }

  /* Topbar: allow wrapping instead of clipping "OPD: 9:00 AM – 8:00 PM"
     inside a fixed-height bar. */
  .topbar-inner{
    height:auto;
    flex-wrap:wrap;
    padding:8px 20px;
    gap:6px 16px;
  }
  .topbar-item{ font-size:11px; }

  .nav-inner{ padding:0 20px; height:var(--nav-h); }
  .hero-body{ padding:calc(50px + var(--nav-h)) 20px 0; }

  /* Stack hero CTAs full-width instead of letting the outline button's
     "24/7 Emergency" tag get cramped next to "Book an Appointment". */
  .cta-row{ flex-direction:column; }
  .cta-row .btn{ width:100%; justify-content:center; }

  .why, .services, .appointment, .hospital-photo, .doctors, .gallery, .founder, .faq, .blog, .map-contact, .testimonials, .partners, .awards{ padding-left:20px; padding-right:20px; }
  .why-grid, .doctor-grid, .gallery-grid{ grid-template-columns:1fr; }
  .gallery-item.span-2{ grid-column:span 1; }
  .form-row{ grid-template-columns:1fr; }
  .footer-inner{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; gap:10px; }
  .stats-band-inner{ grid-template-columns:1fr 1fr; }

  /* Hero stats card: single column reads better at narrow widths than a
     cramped 2-column grid. */
  .hero-stats-card{ grid-template-columns:1fr; padding:26px 24px; gap:20px; }

  /* Map is tall on small screens; trim it so the contact form isn't
     pushed far down the page. */
  .map-wrap, .map-wrap iframe{ min-height:280px; }

  /* Founder / doctor photo blocks: keep proportions sane on narrow phones. */
  .founder-photo{ aspect-ratio:4/3; }
}

.nav-doctor-avatar{
  width:44px; height:44px; border-radius:50%; overflow:hidden;
  border:2px solid rgba(255,255,255,.6); flex:none; display:block;
}
.nav-doctor-avatar img{ width:100%; height:100%; object-fit:cover; }

.hero-doctor-mini{ display:flex; align-items:center; gap:10px; margin-top:20px; }
.hero-doctor-mini img{
  width:40px; height:40px; border-radius:50%; object-fit:cover;
  border:2px solid rgba(255,255,255,.6);
}
.hero-doctor-mini span{ color:var(--white); font-size:13px; font-weight:600; }

.mobile-emergency-bar a:first-child{ flex:1; justify-content:center; }


.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
  display: block;
}