/* =========================================================
   EZDAN CHARITABLE TRUST — STYLES
   Theme: Soft Teal-Navy / Warm White
   Font: Playfair Display (headings) / Inter (body)
   ========================================================= */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0d2137;
  --navy-mid:  #163455;
  --blue:      #1976d2;
  --cyan:      #00b4d8;
  --cyan-lt:   #90e0ef;
  --teal:      #0097a7;
  --white:     #ffffff;
  --off-white: #f7fafd;
  --cream:     #fdfaf5;
  --gray-100:  #f2f6fc;
  --gray-200:  #e4ecf5;
  --gray-500:  #7a8ba0;
  --gray-700:  #3d5066;
  --text:      #1a2a3a;
  --radius:    16px;
  --radius-lg: 24px;
  --shadow:    0 8px 32px rgba(13,34,71,.06);
  --shadow-lg: 0 16px 56px rgba(13,34,71,.10);
  --trans:     all .4s cubic-bezier(.16,1,.3,1);
}

/* =========================================================
   PREMIUM ANIMATION ENGINE — EZ 3.0
   Techniques:
     · Word-split heading reveals  (each word falls into place)
     · Image wipe overlay          (panel sweeps to reveal + unzoom)
     · Spring-bounce stagger grid  (cards bounce in sequence)
     · Horizontal slide-in panels  (left / right)
     · Scale + blur dissolve       (physician / feature cards)
     · Scroll progress shimmer bar
     · Hero cascade entrance
   ========================================================= */

/* ── Scroll progress ─────────────────────────────────── */
.ez-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--cyan));
  background-size: 200% 100%;
  z-index: 99999; pointer-events: none;
  animation: progressShine 2s linear infinite;
}
@keyframes progressShine {
  0%   { background-position: 0% 0%;   }
  100% { background-position: 200% 0%; }
}

/* ── Hero keyframes ──────────────────────────────────── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1);        opacity: .35; }
  50%       { transform: translateY(-28px) scale(1.06); opacity: .58; }
}
@keyframes floatOrbAlt {
  0%, 100% { transform: translateY(0) scale(1);        opacity: .22; }
  50%       { transform: translateY(22px) scale(.96);  opacity: .42; }
}

/* ── WORD-SPLIT HEADING REVEAL ───────────────────────────
   Each word lives inside overflow:hidden wrapper (.sw-wrap).
   The word span (.sw) starts at translateY(115%) + slight
   rotation, and springs into place word by word.
   CSS custom property --sw-d controls the per-word delay.
   ──────────────────────────────────────────────────── */
.sw-heading { overflow: visible; }

.sw-line { display: block; }

.sw-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: .04em;  /* prevent descender clip */
  line-height: inherit;
}

.sw {
  display: inline-block;
  opacity: 0;
  transform: translateY(115%) rotate(2deg);
  transition:
    opacity   .01s  linear              var(--sw-d, 0s),
    transform .85s  cubic-bezier(.16,1,.3,1) var(--sw-d, 0s);
  will-change: transform, opacity;
}

.sw-heading.ez-in .sw {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

/* Section badge — left-sweep pop */
.ez-badge {
  opacity: 0;
  transform: translateX(-20px) scale(.9);
  transition: opacity .55s ease, transform .6s cubic-bezier(.34,1.45,.64,1);
}
.ez-badge.ez-in { opacity: 1; transform: none; }

/* Section subtitle — graceful drift */
.ez-subtitle {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease .2s, transform .8s cubic-bezier(.16,1,.3,1) .2s;
}
.ez-subtitle.ez-in { opacity: 1; transform: none; }

/* ── IMAGE WIPE REVEAL ───────────────────────────────────
   Gradient overlay panel sweeps left-to-right off the image.
   Simultaneously the image scales 1.10 → 1.
   ──────────────────────────────────────────────────── */
.img-wipe {
  position: relative;
  overflow: hidden;
}
.img-wipe::after {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(112deg, var(--navy) 0%, var(--cyan) 100%);
  transform: translateX(0%);
  transform-origin: right center;
  transition: transform 1s cubic-bezier(.77,0,.18,1) .08s;
}
.img-wipe.ez-in::after { transform: translateX(104%); }
.img-wipe img { transform: scale(1.10); transition: transform 1.5s cubic-bezier(.25,.46,.45,.94) .2s; }
.img-wipe.ez-in img { transform: scale(1); }

/* ── SPRING-BOUNCE STAGGER GRID ──────────────────────────
   Grid container triggers; children cascade in with spring.
   ──────────────────────────────────────────────────── */
.ez-grid > * {
  opacity: 0;
  transform: translateY(52px) scale(.96);
}
.ez-grid.ez-in > * {
  opacity: 1;
  transform: none;
  transition: opacity .65s ease, transform .65s cubic-bezier(.34,1.45,.64,1);
}
.ez-grid.ez-in > *:nth-child(1) { transition-delay: .04s; }
.ez-grid.ez-in > *:nth-child(2) { transition-delay: .11s; }
.ez-grid.ez-in > *:nth-child(3) { transition-delay: .18s; }
.ez-grid.ez-in > *:nth-child(4) { transition-delay: .25s; }
.ez-grid.ez-in > *:nth-child(5) { transition-delay: .32s; }
.ez-grid.ez-in > *:nth-child(6) { transition-delay: .39s; }
.ez-grid.ez-in > *:nth-child(7) { transition-delay: .46s; }
.ez-grid.ez-in > *:nth-child(8) { transition-delay: .53s; }

/* ── INDIVIDUAL SPRING CARD ──────────────────────────── */
.ez-card {
  opacity: 0;
  transform: translateY(54px) scaleY(.95);
  transition: opacity .7s ease, transform .7s cubic-bezier(.34,1.56,.64,1);
}
.ez-card.ez-in { opacity: 1; transform: none; }

/* ── HORIZONTAL SLIDE PANELS ─────────────────────────── */
.ez-left  { opacity: 0; transform: translateX(-80px); transition: opacity .95s ease, transform .95s cubic-bezier(.16,1,.3,1); }
.ez-right { opacity: 0; transform: translateX(80px);  transition: opacity .95s ease, transform .95s cubic-bezier(.16,1,.3,1); }
.ez-left.ez-in, .ez-right.ez-in { opacity: 1; transform: none; }

/* ── SCALE + BLUR DISSOLVE ───────────────────────────── */
.ez-scale {
  opacity: 0;
  transform: scale(.9) translateY(24px);
  filter: blur(10px);
  transition: opacity .95s ease, transform .95s cubic-bezier(.16,1,.3,1), filter .95s ease;
}
.ez-scale.ez-in { opacity: 1; transform: none; filter: blur(0); }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 120px 0; }

/* ---- Typography ---- */
.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,180,216,.1);
  border: 1px solid rgba(0,180,216,.25);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.section-tag.light { color: var(--cyan-lt); background: rgba(144,224,239,.12); border-color: rgba(144,224,239,.3); }

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 20px;
}
.section-title.light { color: var(--white); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-700);
  max-width: 680px;
  line-height: 1.75;
}

.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

.section-text {
  font-size: 1rem;
  color: var(--gray-700);
  margin-bottom: 16px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: .95rem;
  font-weight: 600;
  transition: var(--trans);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: var(--white);
  box-shadow: 0 4px 18px rgba(0,180,216,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,180,216,.45); }
.btn-outline {
  border: 2px solid rgba(255,255,255,.7);
  color: var(--white);
  backdrop-filter: blur(4px);
}
.btn-outline:hover { background: rgba(255,255,255,.15); }
.btn-white {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.btn-full { width: 100%; justify-content: center; }

/* ======================================================
   HEADER
   ====================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 2px 20px rgba(13,33,55,.07);
  transition: var(--trans);
}
.header.scrolled {
  background: rgba(255,255,255,1);
  box-shadow: 0 4px 28px rgba(13,33,55,.12);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 14px 28px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

/* Combined Ezdan logo — single transparent PNG (hexagon + wordmark) */
.logo-link {
  display: flex;
  align-items: center;
  transition: var(--trans);
  flex-shrink: 0;
}
.logo-link:hover { transform: translateY(-1px); }

.logo-img {
  height: 72px;
  width: auto;
  display: block;
  flex-shrink: 0;
  transition: var(--trans);
}
.logo-img:hover {
  filter: drop-shadow(0 2px 12px rgba(0,130,200,.25));
  transform: translateY(-1px);
}
.header.scrolled .logo-img { height: 62px; }

/* Footer variant */
.logo-img-footer {
  height: 72px;
  margin-bottom: 18px;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.logo-sub {
  font-size: .65rem;
  font-weight: 500;
  color: var(--cyan-lt);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--trans);
  white-space: nowrap;
}
.nav-link:hover { color: var(--blue); background: rgba(0,180,216,.07); }
.nav-link.active { color: var(--cyan); }
.nav-cta {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 100px;
  font-weight: 600;
}
.nav-link.nav-cta:hover { 
  background: linear-gradient(135deg, var(--cyan), var(--blue)) !important;
  box-shadow: 0 4px 18px rgba(0,180,216,.5); 
  transform: translateY(-1px); 
  filter: brightness(1.1); 
  color: var(--white) !important;
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--trans); }

/* ======================================================
   HERO
   ====================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,.58) 0%, rgba(13,52,85,.45) 55%, rgba(21,118,210,.22) 100%);
}

/* Floating ambient orbs */
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.hero-orb:nth-child(1) { width: 380px; height: 380px; top: 8%;  left: 5%;  background: radial-gradient(circle, rgba(0,180,216,.18), transparent 70%); animation: floatOrb 9s ease-in-out infinite; }
.hero-orb:nth-child(2) { width: 260px; height: 260px; top: 55%; right: 8%; background: radial-gradient(circle, rgba(0,180,216,.14), transparent 70%); animation: floatOrbAlt 12s ease-in-out infinite; animation-delay: -4s; }
.hero-orb:nth-child(3) { width: 160px; height: 160px; top: 30%; right: 25%; background: radial-gradient(circle, rgba(144,224,239,.12), transparent 70%); animation: floatOrb 7s ease-in-out infinite; animation-delay: -6s; }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 140px 28px 60px;
  text-align: center;
}
.hero-badge  { animation: heroFadeUp .7s cubic-bezier(.16,1,.3,1) .2s both; }
.hero-desc   { animation: heroFadeUp .8s cubic-bezier(.16,1,.3,1) .5s both; }
.hero-actions{ animation: heroFadeUp .8s cubic-bezier(.16,1,.3,1) .65s both; }
.hero-stats  { animation: heroFadeUp .8s cubic-bezier(.16,1,.3,1) .8s both; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,180,216,.15);
  border: 1px solid rgba(0,180,216,.4);
  border-radius: 100px;
  padding: 6px 18px;
  margin-bottom: 24px;
}
.hero-badge span { font-size: .8rem; font-weight: 600; color: var(--cyan-lt); letter-spacing: .08em; text-transform: uppercase; }

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-highlight {
  background: linear-gradient(135deg, var(--cyan), #90e0ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,.8);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  background: rgba(10,22,40,.7);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 32px;
}
.stat { text-align: center; padding: 0 40px; }
.stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), #90e0ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: .8rem; color: rgba(255,255,255,.65); font-weight: 500; letter-spacing: .04em; }
.stat-divider { width: 1px; height: 44px; background: rgba(255,255,255,.15); }

/* ======================================================
   MARQUEE
   ====================================================== */
.marquee-bar {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  max-width: 100vw;
}
.marquee-track {
  display: inline-block;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-size: .85rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .06em;
  text-transform: uppercase;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ======================================================
   ABOUT
   ====================================================== */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-images {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 400px; object-fit: cover; }

.about-img-accent {
  position: absolute;
  bottom: -32px;
  right: -32px;
  width: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.about-img-accent img { width: 100%; height: 160px; object-fit: cover; }

.about-experience-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.badge-num { display: block; font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; line-height: 1; }
.badge-text { font-size: .75rem; font-weight: 600; opacity: .9; line-height: 1.3; }

.about-values { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.value-item { display: flex; align-items: flex-start; gap: 16px; }
.value-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}
.value-item strong { display: block; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.value-item p { font-size: .9rem; color: var(--gray-500); margin: 0; line-height: 1.5; }

/* ======================================================
   PHYSICIAN
   ====================================================== */
.physician {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
  background: linear-gradient(150deg, #eaf5fd 0%, #f4f9fe 45%, #e8f3fb 100%);
}
/* Hide the old dark bg image — section is now light */
.physician-bg-image { display: none; }
.physician-bg-overlay { display: none; }

/* Soft decorative blob */
.physician::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(0,180,216,.08), transparent 70%);
  pointer-events: none;
}
.physician::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(21,118,210,.06), transparent 70%);
  pointer-events: none;
}

.physician .section-header { margin-bottom: 48px; }

.physician-card {
  position: relative;
  background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
  border: 1px solid rgba(0,180,216,.08);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.physician-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,100,180,.15);
}

.physician-photo {
  position: relative;
  background: var(--navy);
  display: block;
  border-right: 1px solid rgba(0,180,216,.10);
  overflow: hidden;
}
.physician-photo img {
  width: 100%;
  height: 100%;
  min-height: 580px;
  object-fit: cover;
  object-position: center top;
  padding: 0;
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
}
.physician-card:hover .physician-photo img {
  transform: scale(1.05);
}
.physician-social {
  position: absolute;
  bottom: 20px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 2;
}
.physician-social a {
  width: 38px; height: 38px;
  background: rgba(0,180,216,.85);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  transition: var(--trans);
}
.physician-social a:hover { background: var(--cyan); transform: translateY(-2px); }

.physician-info { padding: 64px 64px; }
.physician-name-block { margin-bottom: 32px; }
.physician-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.physician-role { color: var(--cyan); font-weight: 600; font-size: .95rem; display: block; margin-bottom: 12px; }
.physician-credentials { display: flex; gap: 20px; flex-wrap: wrap; }
.physician-credentials span { font-size: .8rem; color: var(--gray-700); display: flex; align-items: center; gap: 6px; }
.physician-credentials i { color: var(--cyan); }

.physician-bio { color: var(--gray-700); font-size: .95rem; line-height: 1.75; margin-bottom: 28px; }

.physician-timeline { display: flex; flex-direction: column; gap: 0; margin-bottom: 28px; }
.timeline-item {
  position: relative;
  padding: 16px 0 16px 24px;
  border-left: 2px solid rgba(0,180,216,.3);
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 22px;
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
}
.timeline-period { font-size: .75rem; color: var(--cyan); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
.timeline-role { font-size: .95rem; font-weight: 700; color: var(--white); }
.timeline-org { font-size: .85rem; color: rgba(255,255,255,.55); margin-bottom: 6px; }
.timeline-item p { font-size: .85rem; color: rgba(255,255,255,.65); line-height: 1.6; }

.physician-skills { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tag {
  background: rgba(0,180,216,.15);
  border: 1px solid rgba(0,180,216,.3);
  color: var(--cyan-lt);
  font-size: .78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
}

/* ======================================================
   PROGRAMS
   ====================================================== */
.programs { background: var(--gray-100); }
.programs .section-header { margin-bottom: 52px; }

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--trans);
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.program-card.featured { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }

.program-img { overflow: hidden; }
.program-img img { width: 100%; height: 220px; object-fit: cover; transition: transform .5s ease; }
.program-card.featured .program-img img { height: 100%; min-height: 280px; }
.program-card:hover .program-img img { transform: scale(1.04); }

.program-body { padding: 28px; }
.program-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.program-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.program-body p { font-size: .9rem; color: var(--gray-700); line-height: 1.7; margin-bottom: 20px; }
.program-link {
  font-size: .875rem;
  font-weight: 700;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--trans);
}
.program-link:hover { gap: 10px; color: var(--blue); }

/* ======================================================
   PREVENTION
   ====================================================== */
.prevention { background: var(--white); }
.prevention .section-header { margin-bottom: 36px; }

.prevention-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 26px;
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--gray-200);
  border: 2px solid transparent;
  transition: var(--trans);
}
.tab-btn.active, .tab-btn:hover {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: var(--white);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.prevention-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.prev-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--trans);
  box-shadow: var(--shadow);
}
.prev-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.prev-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.prev-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.prev-card p { font-size: .9rem; color: var(--gray-700); line-height: 1.7; }

.breast-prevention-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: center;
}
.breast-intro img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.breast-tips h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 14px;
}
.breast-tips p { color: var(--gray-700); margin-bottom: 24px; }
.breast-list { display: flex; flex-direction: column; gap: 14px; }
.breast-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
  color: var(--text);
  line-height: 1.6;
}
.breast-list i { color: var(--cyan); font-size: 1rem; flex-shrink: 0; margin-top: 3px; }

.mental-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 56px;
  align-items: start;
}
.mental-intro h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 14px;
}
.mental-intro p { color: var(--gray-700); margin-bottom: 24px; font-size: .95rem; }
.mental-intro img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.mental-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pillar {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--trans);
}
.pillar:hover { background: var(--off-white); box-shadow: var(--shadow); }
.pillar-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cyan);
  opacity: .5;
  line-height: 1;
  margin-bottom: 6px;
}
.pillar h4 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.pillar p { font-size: .85rem; color: var(--gray-700); line-height: 1.65; }

/* ======================================================
   INTEGRATIVE ONCOLOGY
   ====================================================== */
.integrative { background: var(--gray-100); }
.integrative .section-header { margin-bottom: 52px; }
.integrative .section-subtitle {
  font-style: italic;
  font-size: .95rem;
  max-width: 760px;
}

.integrative-card-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 24px;
  margin-bottom: 64px;
}
.int-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--trans);
}
.int-card.highlight {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}
.int-card:not(.highlight):hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.int-card-icon {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
}
.int-card.highlight .int-card-icon { background: rgba(0,180,216,.25); }
.int-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.int-card.highlight h4 { color: var(--white); }
.int-card p { font-size: .875rem; color: var(--gray-700); line-height: 1.7; }
.int-card.highlight p { color: rgba(255,255,255,.75); }

.integrative-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 32px;
}

.therapies-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}
.therapy-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  transition: var(--trans);
}
.therapy-item i {
  font-size: 1.3rem;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.therapy-item:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,180,216,.15);
  color: var(--navy);
}

.benefits-section { margin-bottom: 56px; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.benefit {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: var(--trans);
}
.benefit:hover { border-color: var(--cyan); box-shadow: 0 4px 16px rgba(0,180,216,.12); }
.benefit-icon {
  width: 52px; height: 52px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, rgba(0,180,216,.1), rgba(21,101,192,.1));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--cyan);
}
.benefit h5 { font-size: .875rem; font-weight: 700; color: var(--navy); }

.integrative-quote {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  border-left: 4px solid var(--cyan);
}
.integrative-quote blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 14px;
}
.integrative-quote cite {
  font-size: .875rem;
  color: var(--cyan-lt);
  font-weight: 600;
}

/* ======================================================
   CTA BANNER
   ====================================================== */
.cta-banner {
  position: relative;
  padding: 96px 0;
  text-align: center;
  overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,28,50,.78), rgba(21,118,210,.60));
}
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-content p { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-bottom: 32px; line-height: 1.7; }

/* ======================================================
   CONTACT
   ====================================================== */
.contact { background: var(--white); }
.contact .section-header { margin-bottom: 52px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 14px;
}
.contact-info > p { color: var(--gray-700); margin-bottom: 28px; }

.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  font-size: 1rem;
}
.contact-item strong { display: block; font-weight: 700; color: var(--navy); margin-bottom: 4px; font-size: .95rem; }
.contact-item p, .contact-item a { font-size: .9rem; color: var(--gray-700); line-height: 1.6; }
.contact-item a:hover { color: var(--cyan); }

.contact-form-wrap {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--gray-700); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: .9rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  transition: var(--trans);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,180,216,.12);
}
.form-group textarea { resize: vertical; }

/* ======================================================
   FOOTER
   ====================================================== */
.footer-main { background: var(--navy); padding: 72px 0 48px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-tagline { color: rgba(255,255,255,.6); font-size: .875rem; line-height: 1.7; margin: 16px 0 24px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  transition: var(--trans);
}
.footer-social a:hover { background: var(--cyan); color: var(--white); transform: translateY(-2px); }

.footer-links-col h4,
.footer-contact-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-links-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links-col a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: var(--trans);
}
.footer-links-col a:hover { color: var(--cyan); padding-left: 4px; }

.footer-contact-col p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 12px;
  line-height: 1.6;
}
.footer-contact-col i { color: var(--cyan); flex-shrink: 0; margin-top: 3px; }
.footer-contact-col a { color: rgba(255,255,255,.6); }
.footer-contact-col a:hover { color: var(--cyan); }

.footer-bottom {
  background: rgba(0,0,0,.3);
  padding: 16px 0;
  text-align: center;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.45); }

/* ======================================================
   VITALITY HEALTH
   ====================================================== */
.vitality { background: var(--off-white); }

.vitality-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
}

.vitality-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}

.vitality-pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.vitality-pillar-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1rem;
}

.vitality-pillar strong {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  font-size: .95rem;
}

.vitality-pillar p {
  font-size: .875rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin: 0;
}

.vitality-credit {
  margin-top: 24px;
  font-size: .9rem;
  color: var(--gray-500);
  font-style: italic;
}

.vitality-visual { position: relative; }

.vitality-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.vitality-img-wrap img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.vitality-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--cyan);
}

.vitality-badge i {
  font-size: 1.6rem;
  color: var(--cyan);
  flex-shrink: 0;
}

.vitality-badge span {
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
}

/* ======================================================
   SCROLL TO TOP
   ====================================================== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  box-shadow: 0 4px 16px rgba(0,180,216,.4);
  opacity: 0;
  pointer-events: none;
  transition: var(--trans);
  z-index: 999;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,180,216,.5); }

/* Responsive rules consolidated at bottom of file */

/* ======================================================
   VITALITY DOCTOR CARD (Dr. Noushad)
   ====================================================== */
.vitality-doctor {
  margin-top: 64px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 240px 1fr;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,180,216,.15);
}
.vitality-doctor-photo {
  position: relative;
  background: #ffffff;
  min-height: 360px;
}
.vitality-doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
}
.vitality-doctor-body {
  padding: 36px 40px;
}
.vitality-doctor-body .physician-role { color: var(--cyan-lt); font-size: .85rem; font-weight: 600; display: block; margin-bottom: 12px; letter-spacing: .04em; text-transform: uppercase; }
.vitality-doctor-body h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.vitality-doctor-creds { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.vitality-doctor-creds span { font-size: .8rem; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 6px; }
.vitality-doctor-creds i { color: var(--cyan); }
.vitality-doctor-body p { color: rgba(255,255,255,.78); font-size: .93rem; line-height: 1.8; margin-bottom: 14px; }
.vitality-doctor-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.vitality-doctor-tags span {
  background: rgba(0,180,216,.15);
  border: 1px solid rgba(0,180,216,.3);
  color: var(--cyan-lt);
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}

/* ======================================================
   MI AYURWAY SECTION
   ====================================================== */
.miayurway {
  background: linear-gradient(180deg, var(--cream) 0%, var(--off-white) 100%);
  position: relative;
  overflow: hidden;
}
.miayurway::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,151,167,.07), transparent 70%);
  pointer-events: none;
}
.miayurway::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,180,216,.06), transparent 70%);
  pointer-events: none;
}

.miayurway-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,97,167,.10);
  border: 1px solid rgba(0,180,216,.12);
}

.miayurway-logo-col {
  background: linear-gradient(160deg, #fdfaf5 0%, #f0f8f5 100%);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border-right: 1px solid rgba(0,180,216,.12);
  min-height: 420px;
}
.miayurway-logo {
  max-width: 220px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 16px rgba(0,97,80,.12));
  transition: var(--trans);
}
.miayurway-logo:hover { transform: scale(1.04); }

.miayurway-content {
  padding: 48px 48px 48px 0;
}
.miayurway-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.miayurway-tagline {
  font-size: 1rem;
  color: var(--teal);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 20px !important;
  display: block;
}
.miayurway-content p {
  font-size: .95rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 14px;
}
.miayurway-address {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}
.miayurway-addr-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .9rem;
  color: var(--gray-700);
  line-height: 1.6;
}
.miayurway-addr-item i {
  color: var(--teal);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
  width: 18px;
}
.miayurway-addr-item a { color: var(--teal); font-weight: 600; }
.miayurway-addr-item a:hover { color: var(--cyan); }

.btn-teal {
  background: linear-gradient(135deg, var(--teal), #006064);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(0,151,167,.3);
}
.btn-teal:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,151,167,.4); }

/* ======================================================
   ENHANCED SECTION BACKGROUNDS (lighter feel)
   ====================================================== */
.about    { background: var(--white); }
.programs { background: var(--gray-100); }
.prevention { background: var(--white); }
.integrative { background: var(--gray-100); }
.vitality { background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%); }
.contact  { background: var(--white); }

/* Marquee — slightly translucent feel */
.marquee-bar {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy) 100%);
}

/* ======================================================
   HERO TITLE ANIMATION
   ====================================================== */
.hero-text-line { display: block; overflow: hidden; }
.hero-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(50px);
  animation: charFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-highlight .hero-char {
  /* Apply gradient to individual letters so it isn't lost in webkit masking */
  background: linear-gradient(135deg, var(--cyan), #90e0ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@keyframes charFadeUp {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}






/* ======================================================
   RESPONSIVE — CONSOLIDATED
   Breakpoints: 1150 | 1100 | 900 | 768 | 480
   ====================================================== */

/* Global overflow guard */
html, body { overflow-x: hidden; max-width: 100vw; }

/* ── ≤1150px: Mobile navigation ─────────────────────── */
@media (max-width: 1150px) {
  .navbar { padding: 12px 20px; justify-content: space-between; }
  .logo-img { height: 56px; }
  .header.scrolled .logo-img { height: 50px; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    z-index: 999;
    padding: 80px 32px 48px;
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-link {
    font-size: 1.1rem;
    padding: 13px 28px;
    width: 100%;
    max-width: 320px;
    text-align: center;
    border-radius: 12px;
    color: var(--navy);
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-link.nav-cta { margin-top: 12px; }
  .nav-toggle {
    display: flex;
    z-index: 1000;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ── ≤1100px: Wide tablet ────────────────────────────── */
@media (max-width: 1100px) {
  .programs-grid         { grid-template-columns: repeat(2, 1fr); }
  .program-card.featured { grid-column: span 2; }
  .therapies-grid        { grid-template-columns: repeat(4, 1fr); }
  .benefits-grid         { grid-template-columns: repeat(4, 1fr); }
  .footer-grid           { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ── ≤900px: Tablet ──────────────────────────────────── */
@media (max-width: 900px) {
  .section { padding: 72px 0; }

  /* All multi-column grids → single column */
  .about-grid              { grid-template-columns: 1fr; gap: 40px; }
  .about-img-accent        { right: 0; bottom: -20px; }
  .physician-card          { grid-template-columns: 1fr; }
  .physician-photo img     { min-height: 360px; height: auto; }
  .programs-grid           { grid-template-columns: 1fr; }
  .program-card.featured   { grid-column: span 1; grid-template-columns: 1fr; }
  .breast-prevention-layout { grid-template-columns: 1fr; gap: 32px; }
  .mental-grid             { grid-template-columns: 1fr; gap: 32px; }
  .integrative-card-row    { grid-template-columns: 1fr; }
  .int-card.highlight      { transform: none; }
  .prevention-grid         { grid-template-columns: repeat(2, 1fr); }
  .therapies-grid          { grid-template-columns: repeat(3, 1fr); }
  .benefits-grid           { grid-template-columns: repeat(2, 1fr); }
  .contact-grid            { grid-template-columns: 1fr; }

  /* Vitality — force single column, contain all children */
  .vitality-grid           { grid-template-columns: 1fr; gap: 32px; }
  .vitality-visual         { overflow: hidden; }
  .vitality-img-wrap img   { height: auto; max-height: 360px; }
  .vitality-badge          { position: static; left: auto; bottom: auto; margin-top: 16px; }

  /* Vitality doctor card */
  .vitality-doctor         { grid-template-columns: 1fr; }
  .vitality-doctor-photo   { min-height: 260px; }
  .vitality-doctor-body    { padding: 28px; }

  /* Mi Ayurway — force single column, reset gap and padding */
  .miayurway-card          { grid-template-columns: 1fr; gap: 0; }
  .miayurway-logo-col {
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(0,180,216,.12);
    padding: 36px 24px;
  }
  .miayurway-content       { padding: 28px 24px; }

  /* Contain decorative pseudo-elements */
  .physician,
  .miayurway { overflow: hidden; }

  /* Image wipe animation — contain overflow */
  .img-wipe { overflow: hidden; }

  /* Animations: switch horizontal slides to vertical on narrow screens
     to prevent translateX from pushing content off-viewport */
  .ez-left  { transform: translateY(40px); }
  .ez-right { transform: translateY(40px); }

  /* Contain ALL sections to prevent any child from widening the body */
  .section,
  .cta-banner,
  .marquee-bar { overflow: hidden; }
}

/* ── ≤768px: Mobile ──────────────────────────────────── */
@media (max-width: 768px) {
  .section   { padding: 56px 0; }
  .container { padding: 0 20px; width: 100%; max-width: 100%; }

  /* Hero — clean mobile layout */
  .hero-orb       { display: none; }
  .hero-content   { padding: 110px 20px 40px; }
  .hero-desc      { font-size: 1rem; margin-bottom: 28px; }
  .hero-stats     { flex-wrap: wrap; padding: 16px 12px; gap: 0; }
  .stat           { flex: 1 1 33%; min-width: 0; padding: 10px 8px; }
  .stat-num       { font-size: 1.8rem; }
  .stat-label     { font-size: .7rem; }
  .stat-divider   { display: none; }
  .hero-actions   {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Physician */
  .physician-info    { padding: 28px 20px; }
  .physician-info h3 { font-size: 1.7rem; }
  .physician-bio     { font-size: .9rem; }
  .physician-photo img { min-height: 320px; }

  /* Prevention */
  .prevention-grid { grid-template-columns: 1fr; }
  .prevention-tabs { gap: 8px; }
  .tab-btn         { padding: 8px 16px; font-size: .8rem; }
  .mental-pillars  { grid-template-columns: 1fr; }
  .breast-intro img { height: auto; max-height: 300px; }

  /* Integrative */
  .therapies-grid    { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .therapy-item      { padding: 16px 10px; font-size: .75rem; }
  .integrative-quote { padding: 28px 20px; }
  .integrative-quote blockquote { font-size: 1rem; }
  .benefits-grid     { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Contact */
  .form-row          { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px 20px; }
  .contact-info h3   { font-size: 1.3rem; }
  .contact-form h3   { font-size: 1.2rem; }

  /* Footer */
  .footer-main       { padding: 48px 0 36px; }
  .footer-grid       { grid-template-columns: 1fr; gap: 28px; }
  .logo-img-footer   { height: 56px; }

  /* Mi Ayurway */
  .miayurway-content h3 { font-size: 1.4rem; }
  .miayurway-logo-col   { padding: 28px 20px; gap: 16px; }
  .miayurway-content    { padding: 24px 20px; }

  /* CTA banner */
  .cta-banner { padding: 64px 0; }
  .cta-content p { font-size: .95rem; }

  /* Marquee — ensure no body overflow */
  .marquee-bar { overflow: hidden; max-width: 100vw; }

  /* Gaps */
  .about-grid,
  .contact-grid,
  .vitality-grid           { gap: 28px; }
  .breast-prevention-layout,
  .mental-grid             { gap: 24px; }
}

/* ── ≤480px: Small phones ────────────────────────────── */
@media (max-width: 480px) {
  .section   { padding: 44px 0; }
  .container { padding: 0 16px; }

  .logo-img  { height: 46px; }
  .header.scrolled .logo-img { height: 42px; }
  .nav-toggle span { width: 22px; height: 2px; }

  /* Hero */
  .hero-content  { padding: 96px 16px 28px; }
  .hero-title    { font-size: clamp(1.8rem, 8vw, 2.2rem); }
  .hero-desc     { font-size: .92rem; }
  .hero-badge span { font-size: .7rem; }
  .hero-stats    { padding: 12px 8px; }
  .stat-num      { font-size: 1.5rem; }

  /* Section headings */
  .section-title   { font-size: clamp(1.5rem, 6vw, 1.9rem); }
  .section-subtitle { font-size: .92rem; }

  /* Physician */
  .physician-info    { padding: 20px 16px; }
  .physician-info h3 { font-size: 1.35rem; }
  .physician-photo img { min-height: 280px; }

  /* Grids — 2 columns for compact items */
  .therapies-grid,
  .benefits-grid     { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* Cards padding */
  .prev-card         { padding: 24px 20px; }
  .program-body      { padding: 20px 16px; }
  .int-card          { padding: 24px 20px; }

  /* Integrative quote */
  .integrative-quote { padding: 20px 16px; }
  .integrative-quote blockquote { font-size: .95rem; }

  /* Contact */
  .contact-form-wrap { padding: 20px 16px; }

  /* Mi Ayurway */
  .miayurway-logo-col { padding: 24px 16px; }
  .miayurway-content  { padding: 20px 16px; }
  .miayurway-content h3 { font-size: 1.25rem; }

  /* Gaps */
  .about-grid,
  .contact-grid,
  .vitality-grid      { gap: 20px; }
  .footer-grid        { gap: 20px; }

  /* Vitality doctor */
  .vitality-doctor-body { padding: 20px 16px; }
  .vitality-doctor-body h4 { font-size: 1.3rem; }
}
