/* ================================
   CLINIC DEMO — style.css
   Goranchal Sharma Portfolio
   Palette: Deep Navy + Medical Teal + Clean White
   ================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --navy:         #0B1B2B;
  --navy-mid:     #122338;
  --navy-light:   #1A3550;
  --teal:         #0EA5A0;
  --teal-dark:    #0A8580;
  --teal-light:   #E6F7F7;
  --teal-pale:    #F0FAFA;
  --sky:          #F5FAFF;
  --white:        #FFFFFF;
  --off-white:    #F8FAFB;
  --text-dark:    #0B1B2B;
  --text-mid:     #2D4A63;
  --text-muted:   #6B8299;
  --border:       #E2EBF0;
  --border-mid:   #C8D8E4;
  --red-soft:     #FFF0F0;
  --green-soft:   #F0FFF4;

  --ff-display: 'DM Serif Display', Georgia, serif;
  --ff-body:    'Inter', sans-serif;

  --radius:    12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 12px rgba(11,27,43,0.08);
  --shadow-md: 0 6px 28px rgba(11,27,43,0.12);
  --shadow-lg: 0 16px 56px rgba(11,27,43,0.16);
  --shadow-teal: 0 8px 32px rgba(14,165,160,0.2);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; object-fit: cover; }

/* UTILITIES */
.container   { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 88px 0; }
.bg-sky      { background: var(--sky); }
.bg-navy     { background: var(--navy); }
.bg-offwhite { background: var(--off-white); }
.text-center { text-align: center; }
.mt-48       { margin-top: 48px; }
.mt-40       { margin-top: 40px; }

/* EYEBROW */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--teal);
  display: inline-block;
  flex-shrink: 0;
}
.eyebrow.center { display: flex; justify-content: center; }
.eyebrow.center::before { display: none; }
.eyebrow.center::after {
  content: '';
  width: 24px; height: 2px;
  background: var(--teal);
  display: inline-block;
  flex-shrink: 0;
}
.eyebrow.light { color: var(--teal-light); }
.eyebrow.light::before, .eyebrow.light::after { background: var(--teal-light); }

/* SECTION TITLES */
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--teal); }
.section-title.light { color: var(--white); }
.section-title.light em { color: var(--teal-light); }
.section-title.center { text-align: center; }

/* TEAL RULE */
.teal-rule {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  border-radius: 2px;
  margin-bottom: 32px;
}
.teal-rule.center { margin: 0 auto 32px; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--ff-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 50px;
  transition: all 0.22s ease;
}
.btn-teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-teal:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border-mid);
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline-teal:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
}
.nav-logo-icon {
  width: 38px; height: 38px;
  background: var(--teal);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  flex-shrink: 0;
}
.nav-logo-text { line-height: 1.2; }
.nav-logo-text strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 1rem;
  color: var(--navy);
}
.nav-logo-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links li a {
  padding: 8px 14px;
  font-size: 0.84rem; font-weight: 500;
  color: var(--text-mid);
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-links li a:hover,
.nav-links li a.active { color: var(--teal); background: var(--teal-pale); }
.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 9px 22px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; color: var(--white) !important; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: all 0.3s;
}

/* ─── TOP BAR ─── */
.top-bar {
  background: var(--navy);
  padding: 8px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}
.top-bar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.top-bar a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.top-bar a:hover { color: var(--teal-light); }
.top-bar-right { display: flex; align-items: center; gap: 20px; }
.top-bar-item { display: flex; align-items: center; gap: 6px; }

/* ─── HERO ─── */
.hero {
  padding-top: 104px; /* topbar(36) + navbar(70) */
  min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, var(--sky) 0%, var(--white) 60%);
  position: relative;
  overflow: hidden;
}
/* decorative background cross pattern */
.hero::before {
  content: '';
  position: absolute;
  right: -80px; top: 50%;
  transform: translateY(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(14,165,160,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 60px 0;
}
.hero-trust {
  display: flex; align-items: center; gap: 10px;
  background: var(--teal-pale);
  border: 1px solid rgba(14,165,160,0.2);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 0.78rem; font-weight: 600; color: var(--teal-dark);
  width: fit-content;
  margin-bottom: 20px;
}
.hero-trust::before { content: '✓'; font-weight: 700; }
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title em { font-style: italic; color: var(--teal); display: block; }
.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-badges {
  display: flex; gap: 20px; flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-badge {
  display: flex; align-items: center; gap: 10px;
}
.hero-badge-icon {
  width: 40px; height: 40px;
  background: var(--teal-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.hero-badge strong {
  display: block;
  font-size: 1rem; font-weight: 700;
  color: var(--navy); line-height: 1;
}
.hero-badge span {
  font-size: 0.72rem; color: var(--text-muted); font-weight: 500;
}
.hero-img-wrap { position: relative; }
.hero-img-wrap > img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
}
.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
}
.hero-card-1 {
  bottom: 40px; left: -28px;
  border-left: 3px solid var(--teal);
}
.hero-card-2 {
  top: 40px; right: -28px;
  border-left: 3px solid #F59E0B;
}
.hero-card-icon { font-size: 1.5rem; }
.hero-card-text strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--navy); }
.hero-card-text span { font-size: 0.72rem; color: var(--text-muted); }
.hero-img-badge {
  position: absolute;
  top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.78rem; font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-teal);
}

/* ─── SERVICES ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  border-color: var(--teal);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.service-icon {
  width: 56px; height: 56px;
  background: var(--teal-pale);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  transition: background 0.25s;
}
.service-card:hover .service-icon { background: var(--teal); }
.service-card h3 {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.service-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.service-link {
  font-size: 0.82rem; font-weight: 600;
  color: var(--teal);
  display: flex; align-items: center; gap: 6px;
  transition: gap 0.2s;
}
.service-link:hover { gap: 10px; }

/* ─── DOCTOR CARD (homepage teaser) ─── */
.doctor-section { background: var(--navy); }
.doctor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.doctor-img-wrap { position: relative; }
.doctor-img-wrap > img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  box-shadow: var(--shadow-lg);
}
.doctor-exp-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--teal);
  border-radius: var(--radius);
  padding: 20px 22px;
  text-align: center;
  box-shadow: var(--shadow-teal);
}
.doctor-exp-badge strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 2.2rem;
  color: var(--white);
  line-height: 1;
}
.doctor-exp-badge span {
  font-size: 0.72rem; font-weight: 600;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.doctor-text .section-title { color: var(--white); }
.doctor-text p { color: rgba(255,255,255,0.62); line-height: 1.85; font-size: 0.95rem; margin-bottom: 14px; }
.doctor-quals {
  display: flex; flex-direction: column; gap: 10px;
  margin: 24px 0 28px;
}
.doctor-qual {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; color: rgba(255,255,255,0.75);
}
.doctor-qual::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}
.doctor-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 28px;
}
.d-stat { text-align: center; }
.d-stat strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.8rem;
  color: var(--teal-light);
  line-height: 1;
}
.d-stat span { font-size: 0.72rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.08em; }

/* ─── STATS STRIP ─── */
.stats-strip { background: var(--teal); padding: 48px 0; }
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-box {
  text-align: center; padding: 16px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.stat-box:last-child { border-right: none; }
.stat-box strong {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(2rem,4vw,3rem);
  color: var(--white);
  line-height: 1; margin-bottom: 6px;
}
.stat-box span {
  font-size: 0.78rem; font-weight: 600;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase; letter-spacing: 0.1em;
}

/* ─── PROCESS STEPS ─── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 52px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  z-index: 0;
  opacity: 0.3;
}
.process-step {
  text-align: center;
  position: relative; z-index: 1;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-family: var(--ff-display);
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-teal);
}
.process-step h4 {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.process-step p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* ─── TESTIMONIALS ─── */
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 52px;
}
.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.testi-card:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.testi-stars { color: #F59E0B; font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 14px; }
.testi-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--teal-pale);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.82rem; flex-shrink: 0;
  overflow: hidden;
}
.testi-avatar img { width:100%;height:100%;object-fit:cover; }
.testi-author strong { display: block; font-size: 0.88rem; color: var(--navy); }
.testi-author span { font-size: 0.75rem; color: var(--teal); font-weight: 600; }

/* ─── CTA BANNER ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 88px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '✚';
  position: absolute;
  font-size: 20rem;
  color: rgba(14,165,160,0.04);
  right: -40px; top: -60px;
  line-height: 1;
}
.cta-content { position: relative; z-index: 2; }
.cta-banner h2 {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 14px;
}
.cta-banner h2 em { font-style: italic; color: var(--teal-light); }
.cta-banner p { color: rgba(255,255,255,0.65); margin-bottom: 32px; font-size: 1rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─── */
.footer { background: var(--navy-mid); padding: 64px 0 0; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
}
.footer-logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo-icon {
  width: 38px; height: 38px; background: var(--teal); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--white);
}
.footer-logo-text strong { display: block; font-family: var(--ff-display); font-size: 1.05rem; color: var(--white); }
.footer-logo-text span { font-size: 0.72rem; color: rgba(255,255,255,0.45); }
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.83rem; line-height: 1.75; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; transition: all 0.2s;
}
.footer-socials a:hover { background: var(--teal); border-color: var(--teal); }
.footer-col h4 {
  font-family: var(--ff-display);
  font-size: 0.95rem; color: var(--teal-light);
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col ul li { font-size: 0.82rem; color: rgba(255,255,255,0.45); margin-bottom: 8px; line-height: 1.5; }
.footer-col ul li a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--teal-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 18px 24px; text-align: center;
  font-size: 0.77rem; color: rgba(255,255,255,0.28);
}
.footer-bottom a { color: var(--teal-light); }

/* ─── WHATSAPP ─── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 24px rgba(37,211,102,0.4);
  z-index: 998; transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 32px rgba(37,211,102,0.55); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  padding-top: 106px;
  padding-bottom: 56px;
  background: linear-gradient(135deg, var(--sky) 0%, var(--white) 70%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '✚';
  position: absolute;
  right: 5%; top: 50%; transform: translateY(-50%);
  font-size: 16rem; line-height: 1;
  color: rgba(14,165,160,0.05);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.15;
}
.page-hero h1 em { font-style: italic; color: var(--teal); }
.page-hero p { color: var(--text-muted); font-size: 1rem; max-width: 540px; }

/* ─── SERVICES PAGE ─── */
.service-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.service-detail-img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4/3; object-fit: cover;
  box-shadow: var(--shadow-md);
}
.service-detail h3 {
  font-family: var(--ff-display);
  font-size: 1.8rem; color: var(--navy);
  margin-bottom: 12px;
}
.service-detail p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; }
.service-list { display: flex; flex-direction: column; gap: 8px; margin: 16px 0 22px; }
.service-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.85rem; color: var(--text-mid); line-height: 1.5;
}
.service-list li::before {
  content: '✓';
  color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 1px;
}
.service-row-divider { border: none; border-top: 1px solid var(--border); margin: 64px 0 0; }

/* ─── TEAM PAGE ─── */
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 52px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.team-card:hover {
  border-color: var(--teal);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.team-img { width: 100%; aspect-ratio: 1; overflow: hidden; }
.team-img img { width:100%;height:100%;object-fit:cover;object-position:top;transition:transform .5s; }
.team-card:hover .team-img img { transform: scale(1.04); }
.team-body { padding: 20px 18px 22px; }
.team-body h4 { font-family: var(--ff-display); font-size: 1.15rem; color: var(--navy); margin-bottom: 3px; }
.team-role { font-size: 0.72rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 8px; }
.team-body p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.team-quals { display: flex; flex-wrap: wrap; gap: 6px; }
.team-qual {
  font-size: 0.7rem; font-weight: 600;
  padding: 3px 10px; border-radius: 20px;
  background: var(--teal-pale);
  color: var(--teal-dark);
}

/* ─── FACILITIES PAGE ─── */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px; margin-top: 48px;
}
.facility-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.facility-card:nth-child(1) { grid-column: span 2; }
.facility-card img { width:100%;display:block;aspect-ratio:4/3;object-fit:cover;transition:transform .5s; }
.facility-card:nth-child(1) img { aspect-ratio:16/7; }
.facility-card:hover img { transform: scale(1.04); }
.facility-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(11,27,43,0.85), transparent);
  color: var(--white); padding: 28px 16px 14px;
  font-family: var(--ff-display);
  font-size: 1rem;
  transform: translateY(4px); transition: transform 0.25s;
}
.facility-card:hover .facility-caption { transform: translateY(0); }
.facility-caption em { display: block; font-style: normal; color: var(--teal-light); font-size: 0.72rem; margin-top: 2px; font-family: var(--ff-body); font-weight: 600; }

/* ─── LIGHTBOX ─── */
.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(11,27,43,0.94);
  z-index: 9999; display: none;
  align-items: center; justify-content: center; padding: 24px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-box { max-width: 760px; width: 100%; position: relative; }
.lightbox-box img { width:100%;border-radius:var(--radius);box-shadow:var(--shadow-lg); }
.lightbox-caption { margin-top: 12px; color: var(--white); font-family: var(--ff-display); font-size: 1rem; text-align: center; }
.lightbox-caption em { font-style: normal; color: var(--teal-light); font-size: 0.78rem; display: block; margin-top: 2px; font-family: var(--ff-body); }
.lightbox-close {
  position: absolute; top: -14px; right: -14px;
  background: var(--teal); color: var(--white);
  border: none; width: 34px; height: 34px;
  border-radius: 50%; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}

/* ─── CONTACT PAGE ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 36px;
  color: var(--white);
}
.contact-info-card h3 { font-family: var(--ff-display); font-size: 1.5rem; color: var(--white); margin-bottom: 6px; }
.contact-info-card > p { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-bottom: 28px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(14,165,160,0.15); border: 1px solid rgba(14,165,160,0.3);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.contact-item strong { display: block; font-size: 0.72rem; font-weight: 700; color: var(--teal-light); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 3px; }
.contact-item span { font-size: 0.85rem; color: rgba(255,255,255,0.65); line-height: 1.55; }
.hours-block { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); }
.hours-block strong { display: block; font-size: 0.72rem; font-weight: 700; color: var(--teal-light); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.hours-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.82rem; }
.hours-row .day { color: rgba(255,255,255,0.5); }
.hours-row .time { color: var(--teal-light); font-weight: 600; }
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.contact-form-card h3 { font-family: var(--ff-display); font-size: 1.5rem; color: var(--navy); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--text-mid); margin-bottom: 6px; letter-spacing: 0.02em; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--ff-body); font-size: 0.9rem;
  color: var(--text-dark); background: var(--off-white);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14,165,160,0.1);
  background: var(--white);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.success-msg {
  display: none; background: var(--green-soft);
  border: 1px solid #86efac; border-radius: var(--radius-sm);
  padding: 14px 18px; color: #166534;
  font-size: 0.88rem; font-weight: 600;
  margin-top: 14px; text-align: center;
}
.success-msg.show { display: block; }
.map-placeholder {
  background: var(--sky); border: 2px dashed var(--border-mid);
  border-radius: var(--radius); height: 260px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; color: var(--text-muted);
  font-size: 0.85rem; font-weight: 500;
  margin-top: 22px;
}
.map-placeholder span { font-size: 2.5rem; }

/* ─── FAQ ─── */
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-q { font-family: var(--ff-display); font-size: 1rem; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q::after { content: '+'; color: var(--teal); font-size: 1.5rem; font-family: var(--ff-body); font-weight: 300; flex-shrink: 0; }
.faq-q.open::after { content: '−'; }
.faq-a { display: none; font-size: 0.88rem; color: var(--text-muted); line-height: 1.78; margin-top: 12px; }
.faq-a.show { display: block; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-inner,
  .doctor-grid,
  .service-detail-grid,
  .contact-grid   { grid-template-columns: 1fr; }
  .hero-img-wrap  { display: none; }
  .services-grid  { grid-template-columns: 1fr 1fr; }
  .team-grid      { grid-template-columns: 1fr 1fr; }
  .stats-inner    { grid-template-columns: 1fr 1fr; }
  .stat-box       { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .process-steps  { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .testi-grid     { grid-template-columns: 1fr 1fr; }
  .footer-inner   { grid-template-columns: 1fr 1fr; }
  .facility-grid  { grid-template-columns: 1fr 1fr; }
  .facility-card:nth-child(1) { grid-column: span 2; }
}
@media (max-width: 640px) {
  .section-pad    { padding: 60px 0; }
  .services-grid,
  .testi-grid,
  .team-grid,
  .process-steps  { grid-template-columns: 1fr; }
  .facility-grid  { grid-template-columns: 1fr; }
  .facility-card:nth-child(1) { grid-column: span 1; }
  .footer-inner   { grid-template-columns: 1fr; gap: 28px; }
  .form-row       { grid-template-columns: 1fr; }
  .hamburger      { display: flex; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--white); padding: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md); gap: 4px;
  }
  .nav-links.open { display: flex; }
  .hero-badges    { flex-wrap: wrap; gap: 14px; }
  .doctor-exp-badge { position: static; margin-top: 16px; display: inline-block; }
  .hero-card-1, .hero-card-2 { display: none; }
  .top-bar .top-bar-right { display: none; }
}
