*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:        #F7F4EF;
  --bg-card:   #FFFFFF;
  --bg-dark:   #1B3A2D;
  --primary:   #1B3A2D;
  --accent:    #C8A96E;
  --accent-lt: #E8D5B0;
  --text:      #1C1C1E;
  --text-mid:  #4A4A4A;
  --text-muted:#7A7A7A;
  --border:    #E2DDD4;
  --radius:    12px;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --t-base: 0.35s;
  --t-slow: 0.9s;
}

html { scroll-behavior: smooth; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--accent), #b8944e); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ─── Page load fade-in ─── */
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.8;
  animation: bodyFadeIn 0.8s ease-out;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
input, textarea, select { -webkit-user-select: text; -moz-user-select: text; user-select: text; }
@keyframes bodyFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ─── Cursor glow ─── */
.cursor-glow {
  position: fixed; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,110,0.07) 0%, transparent 70%);
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
  opacity: 0;
}
.cursor-glow.visible { opacity: 1; }


/* ═══════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 20px 60px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background var(--t-base), box-shadow var(--t-base), padding var(--t-base), border-bottom var(--t-base);
}
nav.scrolled {
  background: rgba(247,244,239,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06), 0 16px 40px rgba(27,58,45,0.08);
  padding: 14px 60px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.nav-logo {
  display: flex; align-items: center; gap: 4px;
  text-decoration: none;
}
.nav-logo-img {
  height: 64px; width: auto;
  display: block;
  transition: opacity var(--t-base);
}
.nav-logo:hover .nav-logo-img {
  opacity: 0.85;
}
.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 500; color: #fff;
  letter-spacing: 0.3px;
  font-feature-settings: "kern" 1, "liga" 1;
  transition: color var(--t-base);
}
nav.scrolled .nav-logo-text { color: var(--primary); }
.nav-links {
  display: flex; align-items: center; gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 16px; font-weight: 500;
  color: rgba(255,255,255,0.8); text-decoration: none;
  letter-spacing: 0.3px;
  transition: color var(--t-base);
  position: relative;
}
nav.scrolled .nav-links a { color: var(--text-mid); }
nav.scrolled .nav-links a:hover { color: var(--primary); }
/* Animated underline sliding from left */
.nav-links li:not(:last-child) a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 100%; height: 1.5px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base) var(--ease-smooth);
}
.nav-links li:not(:last-child) a:hover::after { transform: scaleX(1); }
.nav-links a:hover { color: #fff; }
nav.scrolled .nav-links a:hover { color: var(--primary); }
.nav-cta {
  background: var(--primary); color: #fff !important;
  padding: 12px 28px; border-radius: 30px;
  font-size: 16px; font-weight: 500;
  text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  transition: background var(--t-base), transform var(--t-base) var(--ease-spring), box-shadow var(--t-base);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06), 0 8px 24px rgba(27,58,45,0.1);
}
.nav-cta:hover {
  background: #143022; transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.06), 0 8px 16px rgba(0,0,0,0.08), 0 16px 40px rgba(27,58,45,0.15);
}
.nav-cta:active { transform: scale(0.97); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }
nav.scrolled .hamburger span { background: var(--primary); }
.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
  background: var(--bg); z-index: 999;
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 400; color: var(--primary); text-decoration: none;
}
.mobile-close { position: absolute; top: 24px; right: 28px; font-size: 28px; background: none; border: none; cursor: pointer; color: var(--primary); }


/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 60px 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
}
/* Clean gradient overlay — smooth left-to-right fade */
#hero::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(27,58,45,0.88) 35%, rgba(27,58,45,0.55) 60%, rgba(27,58,45,0.15) 100%);
  z-index: 1; pointer-events: none;
}
#hero::after { display: none; }

.hero-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; gap: 60px;
  position: relative; z-index: 3;
}
.hero-left {
  flex: 1 1 560px;
  max-width: 600px;
}
.hero-right {
  flex: 1 1 480px;
  max-width: 540px;
  display: flex; justify-content: center; align-items: center;
  position: relative;
}

/* ── Hero trust badge (social proof) ── */
.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 10px 22px;
  border-radius: 40px;
}
.hero-trust i {
  color: var(--accent);
  font-size: 15px;
}
.hero-trust-text {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.2px;
}

/* ── Hero testimonial slider ── */
.hero-testimonial-slider {
  position: relative;
  max-width: 520px;
  width: 100%;
  min-height: 320px;
}
.hero-testimonial {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 44px 36px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}
.hero-testimonial.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}
.hero-testimonial-stars {
  display: flex;
  gap: 5px;
  margin-bottom: 24px;
}
.hero-testimonial-stars i {
  color: #F5A623;
  font-size: 20px;
}
.hero-testimonial-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.5vw, 28px);
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  line-height: 1.6;
  margin-bottom: 32px;
}
.hero-testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-testimonial-initial {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-testimonial-name {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}
.hero-testimonial-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .hero-testimonial-slider { max-width: 100%; min-height: 340px; }
  .hero-testimonial { padding: 32px 24px; }
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,169,110,0.18); border: 1px solid rgba(200,169,110,0.35);
  padding: 6px 16px; border-radius: 30px;
  font-size: 12px; font-weight: 500; color: var(--accent);
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-tag span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }

/* Typography — luxurious h1 */
h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 500; line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  font-feature-settings: "kern" 1, "liga" 1;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
h1 .hero-word {
  display: inline-block; opacity: 0;
  transform: translateY(20px);
  animation: wordFadeUp 0.6s var(--ease-smooth) forwards;
}
@keyframes wordFadeUp { to { opacity: 1; transform: translateY(0); } }
h1 em { font-style: italic; color: var(--accent); }

.hero-sub {
  font-size: 16px; line-height: 1.8; color: rgba(255,255,255,0.75);
  max-width: 500px; margin-bottom: 40px;
}
.hero-btns { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* Primary button — shimmer sweep */
.btn-primary {
  background: var(--primary); color: #fff;
  padding: 14px 32px; border-radius: 30px;
  text-decoration: none; font-size: 14px; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
  transition: background var(--t-base), transform var(--t-base) var(--ease-spring), box-shadow var(--t-base);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06), 0 16px 40px rgba(27,58,45,0.08);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
}
.btn-primary:hover::before { animation: shimmerSweep 0.8s ease forwards; }
@keyframes shimmerSweep { to { left: 100%; } }
.btn-primary:hover {
  background: #143022; transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.06), 0 8px 20px rgba(0,0,0,0.08), 0 20px 50px rgba(27,58,45,0.18);
}
.btn-primary:active {
  transform: scale(0.97);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.15), 0 1px 2px rgba(0,0,0,0.04);
}

.btn-outline {
  color: #fff; border: 1.5px solid rgba(255,255,255,0.4);
  padding: 14px 32px; border-radius: 30px;
  text-decoration: none; font-size: 14px; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
  transition: all var(--t-base) var(--ease-spring);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.7); color: #fff; transform: translateY(-2px); }
.btn-outline:active { transform: scale(0.97); }

.hero-badges {
  display: flex; gap: 20px; margin-top: 48px; flex-wrap: wrap;
}
.hero-badge {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 10px 18px; border-radius: 30px;
  font-size: 13px; color: rgba(255,255,255,0.85);
}
.hero-badge i { color: var(--accent); font-size: 14px; }



/* ═══════════════════════════════════════
   SECTION COMMON
   ═══════════════════════════════════════ */
section { padding: 80px 60px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 4vw, 54px); font-weight: 400;
  color: var(--primary); line-height: 1.15;
  letter-spacing: 0.02em;
  font-feature-settings: "kern" 1, "liga" 1;
}
h2 em { font-style: italic; }
.section-sub { font-size: 15px; color: var(--text-mid); line-height: 1.8; max-width: 560px; margin-top: 14px; }


/* ═══════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════ */
#services { background: var(--bg-card); position: relative; }
/* Subtle dotted pattern */
#services::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(circle, rgba(27,58,45,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.services-header { margin-bottom: 50px; position: relative; z-index: 1; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 1; }

.service-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; background: var(--bg);
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base), border-color var(--t-base);
  position: relative; overflow: hidden;
  transform: translateZ(0);
  will-change: transform;
  display: flex; flex-direction: column;
}
.service-card .service-desc { flex: 1; }
/* Gradient border via mask on injected element */
.service-card .gradient-border {
  position: absolute; inset: 0;
  border-radius: var(--radius);
  padding: 2px;
  background: linear-gradient(135deg, var(--accent), var(--primary), var(--accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--t-base);
  pointer-events: none; z-index: 3;
}
.service-card:hover .gradient-border { opacity: 1; }
.service-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base);
  z-index: 4;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06), 0 16px 40px rgba(27,58,45,0.08);
  border-color: transparent;
}
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(27,58,45,0.08), rgba(200,169,110,0.12));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 20px; color: var(--primary);
}
.service-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 500; color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.service-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.service-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.service-duration { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.service-duration i { color: var(--accent); }
.service-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 500; color: var(--primary);
  transition: transform var(--t-base) var(--ease-spring);
  letter-spacing: 0.02em;
}
.service-card:hover .service-price { transform: scale(1.08); }
.service-price span { font-size: 13px; font-family: 'DM Sans', sans-serif; color: var(--text-muted); }


/* ═══════════════════════════════════════
   WHY US
   ═══════════════════════════════════════ */
#why {
  background: var(--primary);
  color: #fff;
}
#why h2 { color: #fff; }
#why .section-sub { color: rgba(255,255,255,0.65); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 60px; }
.why-item {
  padding: 36px 28px; border: 1px solid rgba(255,255,255,0.1);
  transition: background var(--t-base);
}
.why-item:hover { background: rgba(255,255,255,0.05); }
.why-icon { font-size: 22px; color: var(--accent); margin-bottom: 16px; }
.why-title {
  font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 500;
  color: #fff; margin-bottom: 10px; letter-spacing: 0.02em;
}
.why-desc { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; }


/* ═══════════════════════════════════════
   STATS
   ═══════════════════════════════════════ */
#stats { background: var(--accent); padding: 60px; position: relative; overflow: hidden; }
/* Diagonal grain texture */
#stats::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(27,58,45,0.03) 10px, rgba(27,58,45,0.03) 11px);
  pointer-events: none;
}
.stats-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; z-index: 1; }
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px; font-weight: 400; color: var(--primary);
  line-height: 1;
  letter-spacing: 0.02em;
  position: relative; display: inline-block; overflow: hidden;
}
/* Shimmer on stat numbers */
.stat-num::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: statShimmer 3s ease-in-out infinite;
}
@keyframes statShimmer {
  0%, 100% { left: -100%; }
  50%      { left: 100%; }
}
.stat-label { font-size: 14px; color: rgba(27,58,45,0.7); margin-top: 8px; }



/* ═══════════════════════════════════════
   DOCTORS — Cinematic scroll-driven layout
   ═══════════════════════════════════════ */
#doctors {
  position: relative;
  height: 100vh;
  padding: 0;
}

.doc-sticky {
  position: relative;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
}

/* Full-bleed background image */
.doc-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.doc-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.doc-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,10,12,0.88) 0%,
    rgba(10,10,12,0.45) 30%,
    rgba(10,10,12,0.05) 50%,
    rgba(10,10,12,0.45) 70%,
    rgba(10,10,12,0.88) 100%
  );
}

/* Text groups — positioned over background */
.doc-text-left, .doc-text-right {
  position: relative;
  z-index: 2;
  max-width: 420px;
}

/* Left group initial state (JS drives transform/opacity) */
.doc-text-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.9s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.9s cubic-bezier(0.25,0.46,0.45,0.94);
}
.doc-text-right {
  opacity: 0;
  transform: translateX(80px);
  text-align: right;
  transition: opacity 0.9s cubic-bezier(0.25,0.46,0.45,0.94) 0.2s,
              transform 0.9s cubic-bezier(0.25,0.46,0.45,0.94) 0.2s;
}
.doc-text-left.doc-visible {
  opacity: 1;
  transform: translateX(0);
}
.doc-text-right.doc-visible {
  opacity: 1;
  transform: translateX(0);
}
.doctor-tag {
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.5s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.doctor-tag.doc-visible {
  opacity: 1;
  transform: scale(1);
}

/* Typography for dark background context */
.doc-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.doc-text-left .doctor-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 500;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 10px;
}
.doc-text-left .doctor-title {
  font-size: 16px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
}
.doc-text-left .doctor-img-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.doc-text-right .doctor-qual {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 20px;
}
.doctor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.doc-text-right .doctor-tag {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 20px;
}

/* Tablet: slightly reduced fonts (769px–1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .doc-sticky { padding: 0 36px; }
  .doc-text-left, .doc-text-right { max-width: 340px; }
  .doc-label { font-size: 10px; margin-bottom: 10px; }
  .doc-text-left .doctor-name { font-size: clamp(26px, 3.2vw, 40px); }
  .doc-text-left .doctor-title { font-size: 14px; margin-bottom: 12px; }
  .doc-text-left .doctor-img-badge { font-size: 10px; padding: 4px 12px; }
  .doc-text-right .doctor-qual { font-size: 13px; line-height: 1.6; margin-bottom: 16px; }
  .doc-text-right .doctor-tag { font-size: 11px; padding: 4px 12px; }
}

/* Landscape phones: short viewport, wide screen */
@media (max-height: 500px) and (orientation: landscape) {
  #doctors { height: 100vh; }
  .doc-sticky {
    padding: 0 30px;
    align-items: center;
  }
  .doc-text-left, .doc-text-right { max-width: 280px; }
  .doc-label { font-size: 9px; margin-bottom: 6px; }
  .doc-text-left .doctor-name { font-size: clamp(20px, 4vw, 28px); }
  .doc-text-left .doctor-title { font-size: 12px; margin-bottom: 8px; }
  .doc-text-left .doctor-img-badge { font-size: 9px; padding: 3px 10px; }
  .doc-text-right .doctor-qual { font-size: 11px; line-height: 1.5; margin-bottom: 10px; }
  .doc-text-right .doctor-tag { font-size: 10px; padding: 3px 10px; }
  .doctor-tags { gap: 5px; }
}

/* Mobile portrait: image top, text bottom */
@media (max-width: 768px) and (orientation: portrait) {
  #doctors { height: auto; padding: 0; }
  .doc-sticky {
    flex-direction: column;
    height: auto;
    padding: 0;
    position: relative;
  }
  .doc-bg {
    position: relative;
    height: 50vh;
    min-height: 280px;
    max-height: 420px;
  }
  .doc-bg img {
    object-position: top center;
  }
  .doc-bg-overlay {
    background: linear-gradient(
      to top,
      var(--primary) 0%,
      rgba(27,58,45,0.4) 20%,
      transparent 40%
    );
  }
  .doc-text-left {
    position: relative;
    z-index: 2;
    margin-top: 0;
    max-width: 100%;
    text-align: center;
    padding: 24px 20px;
    background: var(--primary);
    width: 100%;
  }
  .doc-label { font-size: 10px; margin-bottom: 10px; }
  .doc-text-left .doctor-name { font-size: clamp(24px, 6vw, 34px); }
  .doc-text-left .doctor-title { font-size: 14px; margin-bottom: 12px; }
  .doc-text-left .doctor-img-badge { font-size: 10px; padding: 4px 12px; }
  .doc-text-right {
    max-width: 100%;
    text-align: center;
    background: var(--primary);
    padding: 20px 20px 40px;
  }
  .doc-text-right .doctor-qual { font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
  .doc-text-right .doctor-tag { font-size: 11px; padding: 5px 12px; }
  .doctor-tags { justify-content: center; }
}

/* Small phones portrait (iPhone SE, Galaxy S5, etc.) */
@media (max-width: 380px) and (orientation: portrait) {
  .doc-bg { height: 45vh; min-height: 240px; }
  .doc-text-left { padding: 20px 16px; }
  .doc-label { font-size: 9px; }
  .doc-text-left .doctor-name { font-size: clamp(22px, 6vw, 30px); }
  .doc-text-left .doctor-title { font-size: 13px; }
  .doc-text-left .doctor-img-badge { font-size: 9px; padding: 4px 10px; }
  .doc-text-right { padding: 16px 16px 32px; }
  .doc-text-right .doctor-qual { font-size: 12px; line-height: 1.6; }
  .doc-text-right .doctor-tag { font-size: 10px; padding: 4px 10px; }
  .doctor-tags { gap: 6px; }
}

/* Very short landscape phones (< 400px height) */
@media (max-height: 400px) and (orientation: landscape) {
  .doc-text-left .doctor-name { font-size: clamp(18px, 3.5vw, 24px); }
  .doc-text-left .doctor-title { font-size: 11px; margin-bottom: 6px; }
  .doc-text-right .doctor-qual { font-size: 10px; line-height: 1.4; margin-bottom: 8px; }
  .doc-text-right .doctor-tag { font-size: 9px; padding: 3px 8px; }
}


/* ═══════════════════════════════════════
   APPOINTMENT
   ═══════════════════════════════════════ */
#appointment { background: var(--bg-card); }
.appt-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.appt-left { display: flex; flex-direction: column; }
.appt-heading h2 { margin-bottom: 20px; }
.appt-heading .section-sub { margin-bottom: 0; }
.appt-heading { margin-bottom: 40px; }
.appt-features { display: flex; flex-direction: column; gap: 22px; }
.appt-feature {
  display: flex; gap: 14px; align-items: flex-start;
}
.appt-feature-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(27,58,45,0.08), rgba(200,169,110,0.12));
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 16px;
}
.appt-feature-text h4 { font-size: 15px; font-weight: 500; color: var(--primary); margin-bottom: 4px; }
.appt-feature-text p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

.appt-form {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 20px; padding: 40px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06), 0 16px 40px rgba(27,58,45,0.08);
  width: 100%;
}
.appt-form h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 400; color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.appt-form p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 28px; line-height: 1.7; }
.form-group { margin-bottom: 18px; position: relative; }
.form-group label {
  display: block; font-size: 13px; font-weight: 500; color: var(--text-mid); margin-bottom: 7px;
  transition: color var(--t-base), transform var(--t-base), font-size var(--t-base);
}
.form-group.focused label { color: var(--primary); transform: translateY(-2px); font-size: 11px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: 10px;
  background: #fff; font-family: 'DM Sans', sans-serif;
  font-size: 14px; color: var(--text);
  outline: none; transition: border-color var(--t-base), box-shadow var(--t-base);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,58,45,0.08), 0 2px 8px rgba(27,58,45,0.06);
}
.form-group textarea { height: 90px; resize: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Valid input checkmark */
.valid-check {
  position: absolute; right: 14px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
  opacity: 0; transform: scale(0.5);
  transition: opacity 0.3s, transform 0.3s var(--ease-spring);
  pointer-events: none;
}
.valid-check.show { opacity: 1; transform: scale(1); }

/* WhatsApp button — pulse glow */
.wa-btn {
  width: 100%; padding: 15px;
  background: #25D366; color: #fff; border: none;
  border-radius: 10px; font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 500; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background var(--t-base), transform var(--t-base) var(--ease-spring), box-shadow var(--t-base);
  margin-top: 8px;
  position: relative; overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(37,211,102,0.2);
  animation: waPulse 2.5s ease-in-out infinite;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(37,211,102,0.2); }
  50%      { box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(37,211,102,0.2), 0 0 24px rgba(37,211,102,0.25); }
}
.wa-btn::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}
.wa-btn.loading::before { animation: shimmerSweep 1s ease infinite; }
.wa-btn:hover { background: #1da85c; transform: translateY(-1px); }
.wa-btn:active { transform: scale(0.97); }
.wa-note { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 12px; }


/* ═══════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════ */
#contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-top: 50px; }
.contact-info-block {
  background: var(--primary); border-radius: 20px; padding: 40px;
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06), 0 16px 40px rgba(27,58,45,0.08);
}
.contact-info-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 400; color: var(--accent-lt); margin-bottom: 32px;
  letter-spacing: 0.02em;
}
.contact-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-icon {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: rgba(200,169,110,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 16px;
}
.contact-item-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.contact-item-value { font-size: 15px; color: #fff; line-height: 1.7; }
.contact-item-value a { color: var(--accent-lt); text-decoration: none; }
.social-row { display: flex; gap: 12px; margin-top: 36px; }
.social-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; text-decoration: none;
  transition: background var(--t-base), transform var(--t-base) var(--ease-spring), color var(--t-base), border-color var(--t-base);
}
.social-icon:hover { transform: translateY(-3px); }
/* Individual social hover colours */
.social-icon[title="Facebook"]:hover  { background: #1877F2; border-color: #1877F2; color: #fff; }
.social-icon[title="Instagram"]:hover { background: #E4405F; border-color: #E4405F; color: #fff; }
.social-icon[title="LinkedIn"]:hover  { background: #0A66C2; border-color: #0A66C2; color: #fff; }
.social-icon[title="WhatsApp"]:hover  { background: #25D366 !important; border-color: #25D366 !important; color: #fff !important; }
.map-container {
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border);
  height: 100%; min-height: 380px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06);
}
.map-container iframe { width: 100%; height: 100%; min-height: 380px; border: none; display: block; }


/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
footer {
  background: #111; padding: 48px 60px 28px;
  position: relative; overflow: hidden;
}
/* Gold gradient line at top */
footer::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  z-index: 2;
}
/* Subtle noise texture */
footer::after {
  content: '';
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 256px 256px;
  pointer-events: none; z-index: 0;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  position: relative; z-index: 1;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.footer-brand .nav-logo-img { height: 44px; }
.footer-brand .nav-logo-text { color: #fff; font-size: 22px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 10px; max-width: 260px; line-height: 1.7; }
.footer-links h4 { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 18px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.65); text-decoration: none; transition: color var(--t-base); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; gap: 20px; flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.07); display: flex;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 14px;
  text-decoration: none; transition: all var(--t-base) var(--ease-spring);
}
/* Footer social — individual brand colours */
.footer-social a[title="Facebook"]:hover  { background: #1877F2; color: #fff; }
.footer-social a[title="Instagram"]:hover { background: #E4405F; color: #fff; }
.footer-social a[title="LinkedIn"]:hover  { background: #0A66C2; color: #fff; }
.footer-social a[title="WhatsApp"]:hover  { background: #25D366; color: #fff; }


/* ═══════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(24px) scale(0.98);
  transition: opacity var(--t-slow) var(--ease-smooth), transform var(--t-slow) var(--ease-smooth);
  will-change: transform, opacity;
}
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }

.reveal-left {
  opacity: 0; transform: translateX(-30px) scale(0.98);
  transition: opacity var(--t-slow) var(--ease-smooth), transform var(--t-slow) var(--ease-smooth);
  will-change: transform, opacity;
}
.reveal-left.visible { opacity: 1; transform: translateX(0) scale(1); }

.reveal-right {
  opacity: 0; transform: translateX(30px) scale(0.98);
  transition: opacity var(--t-slow) var(--ease-smooth), transform var(--t-slow) var(--ease-smooth);
  will-change: transform, opacity;
}
.reveal-right.visible { opacity: 1; transform: translateX(0) scale(1); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
  nav { padding: 18px 30px; }
  nav.scrolled { padding: 14px 30px; }
  .nav-links { gap: 24px; }
  section { padding: 70px 30px; }
  #hero { padding: 110px 30px 70px; }
  .hero-inner { gap: 32px; }
  .hero-right { flex: 1 1 360px; max-width: 400px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .doctors-grid { justify-content: center; }
  .appt-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  nav.scrolled { padding: 12px 20px; }
  .nav-links-wrap { display: none; }
  .hamburger { display: flex; }
  .nav-logo-img { height: 32px; }
  section { padding: 60px 20px; }
  #hero {
    padding: 100px 20px 60px;
    min-height: 100vh;
  }
  /* Mobile: full dark overlay, centered text */
  #hero::before {
    background: rgba(27,58,45,0.85);
  }
  .hero-inner { flex-direction: column; gap: 40px; }
  .hero-left {
    text-align: center;
    max-width: 100%;
  }
  .hero-right { max-width: 100%; flex: 1 1 100%; }
  .hero-sub {
    max-width: 100%;
    margin-left: auto; margin-right: auto;
  }
  .hero-btns { justify-content: center; }
  .hero-badges { justify-content: center; }
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-card { padding: 28px 24px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  #stats { padding: 50px 20px; }
  .doctors-grid { flex-direction: column; align-items: center; }
  .form-row { grid-template-columns: 1fr; }
  footer { padding: 40px 20px 20px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-links { width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 16px; }
  .cursor-glow { display: none; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
}
