/* ================================================================
   GURU RAMDAS DENTAL CLINIC — style.css
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ── Page wrapper — clips all horizontal overflow on all pages ── */
.page-wrapper {
  overflow-x: hidden;
  overflow-y: visible;
  width: 100%;
  max-width: 100vw;
  position: relative;
  isolation: isolate;
}

:root {
  --white:      #FFFFFF;
  --off-white:  #F9FBFF;
  --soft-blue:  #EBF2FF;
  --royal-blue: #1A56DB;
  --deep-blue:  #0D2E8A;
  --gold:       #C9933A;
  --gold-light: #F0C96B;
  --ink:        #111827;
  --text:       #4B5563;
  --muted:      #9CA3AF;
  --line:       #E5EEFF;
  --nav-h:      72px;
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --shadow-sm:  0 2px 12px rgba(26,86,219,.08);
  --shadow-md:  0 8px 32px rgba(26,86,219,.14);
  --shadow-lg:  0 20px 60px rgba(26,86,219,.22);
  --transition: all .3s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: clip; }
body {
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: clip;
  position: relative;
  width: 100%;
  max-width: 100vw;
  touch-action: pan-y;
  opacity: 0;
  animation: pageLoad .6s ease forwards;
}
@keyframes pageLoad { to { opacity: 1; } }

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Typography ────────────────────────────────────────────────── */
.display { font-family: 'Cormorant Garamond', serif; }
h1,h2,h3,h4 { font-family: 'Cormorant Garamond', serif; color: var(--ink); line-height: 1.15; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 500; }
p  { line-height: 1.75; font-size: .97rem; }

.section-label {
  font-family: 'Outfit', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
}
.section-title { margin-bottom: .6rem; }
.section-sub {
  font-size: 1.05rem;
  color: var(--text);
  max-width: 560px;
  line-height: 1.7;
}
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── Layout ─────────────────────────────────────────────────────── */
.container {
  width: min(1200px, 94%);
  margin: 0 auto;
}
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ── Gold shimmer divider ───────────────────────────────────────── */
.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
  margin: 0;
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .82rem 2rem;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .03em;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.15);
  opacity: 0;
  transition: opacity .25s;
}
.btn:hover::after { opacity: 1; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
  background-size: 200% 100%;
  color: #fff;
  box-shadow: 0 4px 20px rgba(201,147,58,.4);
}
.btn-gold:hover {
  background-position: 100% 0;
  box-shadow: 0 8px 32px rgba(201,147,58,.55);
  transform: translateY(-2px);
}
.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,.12);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-blue {
  background: var(--royal-blue);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-blue:hover {
  background: var(--deep-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ════════════════════════════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(13,46,138,.1);
  height: 60px;
}
.navbar.scrolled .nav-logo-text { color: var(--ink); }
.navbar.scrolled .nav-links a   { color: var(--text); }
.navbar.scrolled .nav-links a:hover { color: var(--royal-blue); }

.nav-inner {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
}
.nav-logo-icon { font-size: 1.55rem; }
.nav-logo-text { transition: color .3s; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,.88);
  position: relative;
  padding-bottom: 3px;
  transition: color .25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width .3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }

.nav-cta { margin-left: 1rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1100;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.navbar.scrolled .hamburger span,
.menu-overlay .hamburger span { background: var(--ink); }

/* Mobile Menu Overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9,20,60,.97);
  backdrop-filter: blur(20px);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: all .45s cubic-bezier(.77,0,.18,1);
}
.menu-overlay.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.menu-overlay a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  transition: color .25s;
}
.menu-overlay a:hover,
.menu-overlay a.active { color: var(--gold-light); }
.menu-overlay .menu-btn { margin-top: 1rem; }

/* ════════════════════════════════════════════════════════════════
   PAGE HERO BANNER (inner pages)
════════════════════════════════════════════════════════════════ */
.page-hero {
  padding: calc(var(--nav-h) + 64px) 0 72px;
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--royal-blue) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,147,58,.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.06) 0%, transparent 40%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: .6rem; }
.page-hero p {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}
.page-hero-breadcrumb {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
  letter-spacing: .08em;
}
.page-hero-breadcrumb a { color: var(--gold-light); }

/* ════════════════════════════════════════════════════════════════
   HOMEPAGE HERO
════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--deep-blue) 0%, #0e3fa8 60%, var(--royal-blue) 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
/* Dot grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 36px 36px;
  z-index: 0;
}
/* Gradient orbs */
.hero::after {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,147,58,.15) 0%, transparent 70%);
  top: -200px; right: -200px;
  z-index: 0;
}
.hero-inner {
  width: min(1200px, 94%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 80px 0 80px;
}
.hero-content {}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: .4rem 1.1rem;
  font-size: .78rem;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  backdrop-filter: blur(8px);
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold-light);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.4); }
}
.hero-headline { margin-bottom: 1.4rem; }
.hero-headline .line1 {
  display: block;
  color: var(--white);
  opacity: 0;
  transform: translateY(30px);
  transition: all .7s ease;
}
.hero-headline .line2 {
  display: block;
  color: var(--gold-light);
  font-style: italic;
  opacity: 0;
  transform: translateY(30px);
  transition: all .7s ease .18s;
}
.hero-headline .line1.visible,
.hero-headline .line2.visible { opacity: 1; transform: translateY(0); }
.hero-sub {
  color: rgba(255,255,255,.75);
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 2.4rem;
  max-width: 480px;
  opacity: 0;
  transform: translateY(20px);
  transition: all .7s ease .35s;
}
.hero-sub.visible { opacity: 1; transform: translateY(0); }
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all .7s ease .5s;
}
.hero-btns.visible { opacity: 1; transform: translateY(0); }

/* Floating Tooth */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.tooth-wrap {
  position: relative;
  width: 280px; height: 280px;
}
.tooth-svg {
  animation: float-bob 3.5s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(201,147,58,.35));
}
@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-20px); }
}
.ring1, .ring2, .ring3 {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: ring-pulse 4s ease-in-out infinite;
}
.ring1 { width: 300px; height: 300px; animation-delay: 0s; }
.ring2 { width: 380px; height: 380px; animation-delay: .8s; }
.ring3 { width: 460px; height: 460px; animation-delay: 1.6s; }
@keyframes ring-pulse {
  0%, 100% { opacity: .5; transform: translate(-50%,-50%) scale(1); }
  50%       { opacity: .15; transform: translate(-50%,-50%) scale(1.04); }
}

/* ── Stats Bar ──────────────────────────────────────────────────── */
.stats-bar {
  background: var(--royal-blue);
  padding: 2.5rem 0;
}
.stats-inner {
  width: min(1100px, 94%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: 1rem 1.5rem;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; height: 60%;
  width: 1px;
  background: rgba(255,255,255,.2);
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: .35rem;
  display: block;
}

/* ── Marquee ────────────────────────────────────────────────────── */
.marquee-wrap {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  max-width: 100vw;
  padding: .9rem 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marquee-scroll 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  font-family: 'Outfit', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--royal-blue);
  padding: 0 1.2rem;
}
.marquee-dot {
  color: var(--gold);
  font-size: 1.2rem;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Services Preview ───────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.service-card {
  background: rgba(235,242,255,.5);
  border: 1px solid rgba(26,86,219,.12);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
  backdrop-filter: blur(8px);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(26,86,219,.07) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  box-shadow: 0 8px 40px rgba(26,86,219,.18), 0 0 0 1px rgba(26,86,219,.15);
  transform: translateY(-6px);
}
.service-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  display: block;
}
.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: .5rem;
  color: var(--ink);
}
.service-card p {
  font-size: .88rem;
  color: var(--text);
  margin-bottom: 1.2rem;
  line-height: 1.65;
}
.link-gold {
  font-size: .84rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: gap .25s;
}
.link-gold:hover { gap: .6rem; }

/* ── Why Choose Us ──────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.5rem;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.why-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.why-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.why-card h4 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
  color: var(--ink);
}
.why-card p {
  font-size: .85rem;
  color: var(--text);
  line-height: 1.65;
}

/* ── Testimonials ───────────────────────────────────────────────── */
.testimonials { background: var(--soft-blue); }
.testi-carousel { position: relative; overflow: hidden; }
.testi-track {
  display: flex;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.testi-card {
  min-width: calc(33.333% - 1rem);
  margin: 0 .5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.testi-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 1rem; }
.testi-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 1.4rem;
}
.testi-author { display: flex; align-items: center; gap: .8rem; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--royal-blue);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.testi-name { font-weight: 600; font-size: .9rem; color: var(--ink); }
.testi-role { font-size: .78rem; color: var(--muted); }

.testi-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.8rem;
}
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--muted);
  cursor: pointer;
  transition: var(--transition);
}
.testi-dot.active {
  background: var(--royal-blue);
  width: 24px;
  border-radius: 4px;
}

/* ── CTA Strip ──────────────────────────────────────────────────── */
.cta-strip {
  background: linear-gradient(135deg, var(--deep-blue), var(--royal-blue));
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 50%, rgba(201,147,58,.12), transparent 50%),
                    radial-gradient(circle at 70% 50%, rgba(255,255,255,.05), transparent 50%);
}
.cta-strip .container { position: relative; z-index: 1; }
.cta-strip h2 { color: var(--white); margin-bottom: .6rem; }
.cta-strip p  { color: rgba(255,255,255,.7); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }

/* ════════════════════════════════════════════════════════════════
   DOCTORS / TEAM SECTION
════════════════════════════════════════════════════════════════ */
.team { background: var(--off-white); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.doctor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.doctor-card:hover {
  box-shadow: 0 16px 48px rgba(26,86,219,.18);
  transform: translateY(-8px);
  border-color: rgba(26,86,219,.2);
}
.doctor-img-wrap {
  position: relative;
  height: 300px;
  overflow: hidden;
}
.doctor-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .5s ease;
}
.doctor-card:hover .doctor-img-wrap img { transform: scale(1.05); }
.doctor-specialty-badge {
  position: absolute;
  bottom: 1rem; left: 1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(201,147,58,.4);
}
.doctor-body { padding: 1.6rem 1.8rem 1.8rem; }
.doctor-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .2rem;
}
.doctor-creds {
  font-size: .82rem;
  font-weight: 500;
  color: var(--royal-blue);
  margin-bottom: .5rem;
}
.doctor-desc {
  font-size: .87rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}
.doctor-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.doctor-reg {
  font-size: .75rem;
  color: var(--muted);
  font-weight: 500;
}
.doctor-linkedin {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--soft-blue);
  display: flex; align-items: center; justify-content: center;
  color: var(--royal-blue);
  font-size: .85rem;
  font-weight: 700;
  transition: var(--transition);
}
.doctor-linkedin:hover {
  background: var(--royal-blue);
  color: var(--white);
}

/* ════════════════════════════════════════════════════════════════
   ABOUT PAGE
════════════════════════════════════════════════════════════════ */
.about-doctor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #fff;
  padding: 1.2rem 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(201,147,58,.4);
  text-align: center;
  font-weight: 700;
}
@media (max-width: 768px) {
  .about-badge {
    right: 1rem;
    bottom: 1rem;
  }
}
.about-badge .badge-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  display: block;
  line-height: 1;
}
.about-badge .badge-label {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .9;
}
.float-achievement {
  position: absolute;
  top: 2rem; left: -2rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .8rem;
  max-width: 200px;
}
.float-achievement .fa-icon { font-size: 1.5rem; color: var(--royal-blue); }
.float-achievement .fa-text { font-size: .8rem; font-weight: 600; color: var(--ink); }

.about-content .doctor-title {
  font-family: 'Outfit', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}
.credentials-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0 1.5rem;
}
.cred-tag {
  background: var(--soft-blue);
  color: var(--royal-blue);
  font-size: .78rem;
  font-weight: 600;
  padding: .35rem .9rem;
  border-radius: 50px;
  letter-spacing: .04em;
}
.about-content p { color: var(--text); margin-bottom: 1rem; }
.about-content .btn { margin-top: .6rem; }

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.value-item {}
.value-word {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: .5rem;
}
.value-icon { font-size: 2rem; margin-bottom: .8rem; display: block; }
.value-desc { font-size: .85rem; color: var(--text); line-height: 1.65; }
.value-gold-line {
  width: 40px; height: 2px;
  background: var(--gold);
  margin: .8rem auto;
  border-radius: 2px;
}

/* Timeline */
.timeline { position: relative; padding: 2rem 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--royal-blue));
  transform: translateX(-50%);
}
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
}
.timeline-item:nth-child(odd) .tl-content { grid-column: 1; text-align: right; }
.timeline-item:nth-child(odd) .tl-spacer { grid-column: 2; }
.timeline-item:nth-child(even) .tl-spacer { grid-column: 1; }
.timeline-item:nth-child(even) .tl-content { grid-column: 2; }
.tl-dot {
  position: absolute;
  left: 50%; top: 1.2rem;
  width: 14px; height: 14px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--gold);
  transform: translateX(-50%);
}
.tl-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: .3rem;
}
.tl-content h4 { font-size: 1.05rem; margin-bottom: .3rem; }
.tl-content p { font-size: .85rem; color: var(--text); }

/* ════════════════════════════════════════════════════════════════
   SERVICES PAGE
════════════════════════════════════════════════════════════════ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.service-detail.reverse .service-detail-img { order: 2; }
.service-detail.reverse .service-detail-content { order: 1; }
@media (max-width: 768px) {
  .service-detail.reverse .service-detail-img { order: unset; }
  .service-detail.reverse .service-detail-content { order: unset; }
}
.service-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.service-detail-img img {
  width: 100%; height: 380px;
  object-fit: cover;
  transition: transform .5s ease;
}
.service-detail-img:hover img { transform: scale(1.04); }
.service-detail-content .service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--soft-blue);
  line-height: 1;
  display: block;
  margin-bottom: -.8rem;
}
.service-detail-content h2 { margin-bottom: 1rem; }
.service-detail-content p { margin-bottom: 1.4rem; color: var(--text); }
.service-benefits {
  list-style: none;
  margin-bottom: 1.8rem;
}
.service-benefits li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .5rem 0;
  font-size: .9rem;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.service-benefits li:last-child { border-bottom: none; }
.benefit-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

/* Services Summary Grid */
.services-summary {
  background: var(--soft-blue);
  padding: 80px 0;
}
.services-all-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.service-mini {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}
.service-mini:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-bottom-color: var(--gold);
}
.service-mini .s-icon { font-size: 2rem; margin-bottom: .8rem; display: block; }
.service-mini h4 { font-size: 1rem; color: var(--ink); }

/* ════════════════════════════════════════════════════════════════
   BLOG PAGE
════════════════════════════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: var(--transition);
  border-top: 3px solid transparent;
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  border-top-color: var(--gold);
}
.blog-img {
  height: 200px;
  overflow: hidden;
}
.blog-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-body { padding: 1.6rem; }
.blog-cat {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
  display: block;
}
.blog-title {
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: .6rem;
  line-height: 1.4;
  transition: color .25s;
}
.blog-card:hover .blog-title { color: var(--royal-blue); }
.blog-excerpt {
  font-size: .85rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}
.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--muted);
}

/* ════════════════════════════════════════════════════════════════
   CONTACT PAGE
════════════════════════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: flex-start;
}
.contact-info-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: var(--transition);
}
.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(26,86,219,.15);
}
.contact-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: var(--soft-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-card-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: .2rem;
}
.contact-card-value {
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
}
.contact-card-value a { color: inherit; transition: color .25s; }
.contact-card-value a:hover { color: var(--royal-blue); }

/* Form */
.appt-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field-wrap {
  position: relative;
  margin-bottom: 1.4rem;
}
.field-label {
  position: absolute;
  top: .9rem; left: 1rem;
  font-size: .85rem;
  color: var(--muted);
  pointer-events: none;
  transition: all .25s;
  background: transparent;
}
.field-input {
  width: 100%;
  padding: .9rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: var(--transition);
  appearance: none;
}
.field-input:focus {
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 3px rgba(26,86,219,.1);
}
.field-input:focus + .field-label,
.field-input:not(:placeholder-shown) + .field-label {
  top: -.6rem;
  left: .8rem;
  font-size: .72rem;
  color: var(--royal-blue);
  font-weight: 600;
  background: var(--white);
  padding: 0 .3rem;
  letter-spacing: .06em;
}
.field-full { grid-column: 1 / -1; }
textarea.field-input { resize: vertical; min-height: 110px; }
.form-note {
  font-size: .78rem;
  color: var(--muted);
  text-align: center;
  margin-top: 1rem;
}
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: #16a34a;
}
.form-success .s-icon { font-size: 3rem; margin-bottom: 1rem; }

/* Spinner */
.spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Emergency Strip */
.emergency-strip {
  background: #dc2626;
  padding: 1.4rem 0;
  text-align: center;
}
.emergency-strip p {
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
}
.emergency-strip a {
  color: var(--gold-light);
  font-weight: 700;
  margin-left: .4rem;
}
.emergency-strip a::before {
  content: '';
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--gold-light);
  border-radius: 50%;
  margin-right: .4rem;
  animation: em-pulse 1.5s ease infinite;
}
@keyframes em-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240,201,107,.7); }
  50%       { box-shadow: 0 0 0 8px rgba(240,201,107,0); }
}

/* ════════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--deep-blue);
  padding: 72px 0 0;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  gap: 3rem;
  padding-bottom: 48px;
}
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-tagline {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: .8rem;
  display: block;
}
.footer-desc {
  font-size: .83rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  margin-bottom: 1.4rem;
}
.footer-social { display: flex; gap: .6rem; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--white);
}
.footer-col h5 {
  font-family: 'Outfit', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul li a {
  font-size: .84rem;
  color: rgba(255,255,255,.55);
  transition: color .25s;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-col ul li a::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin-bottom: .7rem;
}
.footer-contact-icon { font-size: 1rem; color: var(--gold); flex-shrink: 0; margin-top: .1rem; }
.footer-contact-text { font-size: .83rem; color: rgba(255,255,255,.6); line-height: 1.55; }
.footer-contact-text a { color: rgba(255,255,255,.75); transition: color .25s; }
.footer-contact-text a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.35); }
.footer-bottom a { color: var(--gold-light); transition: color .25s; }
.footer-bottom a:hover { color: var(--white); }

/* ════════════════════════════════════════════════════════════════
   FLOATING ELEMENTS
════════════════════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 90px; right: 24px;
  z-index: 900;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  animation: wa-pulse 2.5s ease infinite;
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,.55); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.3); }
  50%       { box-shadow: 0 4px 20px rgba(37,211,102,.45), 0 0 0 12px rgba(37,211,102,0); }
}

/* Mobile sticky bottom bar */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 890;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: .7rem 1.2rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  transform: translateY(100%);
  transition: transform .35s ease;
}
.mobile-bar.show { transform: translateY(0); }
.mobile-bar-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.mobile-bar-btns { display: flex; gap: .6rem; }
.mobile-bar-btns a {
  padding: .5rem 1rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 700;
  display: flex; align-items: center; gap: .3rem;
}
.mb-call { background: var(--royal-blue); color: var(--white); }
.mb-wa   { background: #25d366; color: var(--white); }

/* ════════════════════════════════════════════════════════════════
   SCROLL REVEAL
════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-left {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-left.visible { opacity: 1; transform: translateY(0); }
.reveal-right {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-right.visible { opacity: 1; transform: translateY(0); }

@media (min-width: 769px) {
  .reveal-left {
    transform: translateX(-40px);
  }
  .reveal-left.visible { transform: translateX(0); }
  .reveal-right {
    transform: translateX(40px);
  }
  .reveal-right.visible { transform: translateX(0); }
}

@media (max-width: 768px) {
  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 0;
    transform: none;
    transition: opacity .6s ease;
  }
  .reveal.visible,
  .reveal-left.visible,
  .reveal-right.visible {
    opacity: 1;
    transform: none;
  }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet 768px
════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .why-grid     { grid-template-columns: repeat(2, 1fr); }
  .services-all-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .team-grid    { grid-template-columns: repeat(2, 1fr); }
  .values-grid  { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 24px; }
  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: 52px;
  }
  .timeline-item:nth-child(odd) .tl-content,
  .timeline-item:nth-child(even) .tl-content { grid-column: 1; text-align: left; }
  .timeline-item:nth-child(odd) .tl-spacer,
  .timeline-item:nth-child(even) .tl-spacer  { display: none; }
  .tl-dot { left: 24px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .hamburger { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 0 60px;
  }
  .hero-visual { display: none; }
  .hero-btns   { justify-content: center; }
  .hero-sub    { margin: 0 auto 2rem; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .why-grid      { grid-template-columns: 1fr; }
  .team-grid     { grid-template-columns: 1fr; }
  .blog-grid     { grid-template-columns: 1fr; }
  .testi-card    { min-width: 100%; }
  .services-all-grid { grid-template-columns: repeat(2, 1fr); }

  .about-doctor { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img-wrap img { height: 380px; }
  .about-badge { bottom: 1rem; right: 1rem; }
  .float-achievement { display: none; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }

  .service-detail { grid-template-columns: 1fr; gap: 2rem; }
  .service-detail.reverse { direction: ltr; }

  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }

  .mobile-bar { display: flex; }
  .whatsapp-float { bottom: 80px; }
}

@media (max-width: 480px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .services-all-grid { grid-template-columns: 1fr 1fr; }
}

/* ── MOBILE HORIZONTAL SCROLL LOCK (applies to ALL pages) ── */
@media (max-width: 768px) {
  html, body {
    overflow-x: clip !important;
    max-width: 100% !important;
  }
  .page-wrapper {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }
  /* Clip overflow on every section and key containers */
  section, .about-doctor, .contact-layout,
  .service-detail, .timeline, .values-grid,
  .credentials-row, .footer-grid {
    overflow: hidden !important;
  }
}


/* Single-doctor team layout */
.team-grid.single { grid-template-columns: minmax(0, 400px); justify-content: center; }

/* Longer clinic name: keep the logo on one line on small phones */
@media (max-width: 480px) {
  .nav-logo-text { font-size: 1.05rem; white-space: nowrap; }
}


/* ── Appointment form: validation + email hand-off ───────────── */
.field-wrap.has-error .field-input { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,.12); }
.field-error { display: block; color: #dc2626; font-size: .78rem; font-weight: 500; margin-top: .35rem; text-align: left; }
.success-actions { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin-top: 1.4rem; }
.success-actions .btn { padding: .8rem 1.4rem; font-size: .9rem; }
.btn-outline-blue { border: 2px solid var(--royal-blue); color: var(--royal-blue); background: transparent; }
.btn-outline-blue:hover { background: var(--royal-blue); color: var(--white); }
.success-edit { margin-top: 1.2rem; background: none; border: none; color: var(--royal-blue); font-weight: 600; font-size: .85rem; cursor: pointer; }
.success-edit:hover { text-decoration: underline; }
