/* =========================================
   SAVLA DENTAL CLINIC — COMPLETE STYLESHEET
   ========================================= */

/* --- CSS Variables (Design Tokens) --- */
:root {
  --primary: #1a6db5;
  --primary-dark: #0f4f8a;
  --primary-light: #e8f2fc;
  --accent: #00b4d8;
  --accent-light: #caf0f8;
  --gold: #f5a623;
  --gold-light: #fff8ec;

  --text-dark: #0d1b2a;
  --text-mid: #374151;
  --text-light: #6b7280;
  --text-muted: #9ca3af;

  --white: #ffffff;
  --bg-light: #f8fbff;
  --bg-section: #f0f7ff;

  --border: #e5e7eb;
  --border-soft: #dbeafe;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(26,109,181,.12);
  --shadow-lg: 0 12px 40px rgba(26,109,181,.18);
  --shadow-card: 0 8px 30px rgba(0,0,0,.08);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --nav-h: 72px;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
  --transition-slow: 0.6s cubic-bezier(.4,0,.2,1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad { padding: 96px 0; }
.text-center { text-align: center; }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #1e8fe8 100%);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(26,109,181,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,109,181,.45);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}
.btn-primary:active { transform: scale(0.96) translateY(0); }

.btn-outline {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: rgba(255,255,255,.22);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-outline:active { transform: scale(0.96) translateY(0); }

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; }

/* =========================================
   TYPOGRAPHY - Section Labels
   ========================================= */
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-header { margin-bottom: 56px; }

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.4); opacity: 0; }
}
@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(-3deg); }
  50%       { transform: translateY(-12px) rotate(-3deg); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.animate-fade-up { animation: fadeUp 0.7s ease both; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

/* Scroll-reveal helper — disabled hiding so content always visible */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   NAVIGATION
   ========================================= */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition), transform 0.2s ease;
  padding: 0;
  will-change: transform;
}
.nav-header.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-icon {
  width: 42px;
  height: 42px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(26,109,181,.15);
  transition: transform 0.4s cubic-bezier(.4,0,.2,1), box-shadow 0.4s ease;
  transform: scale(1.3); /* Zoomed in without increasing layout size */
}
.nav-logo:hover .logo-icon {
  transform: scale(1.4);
  box-shadow: 0 3px 12px rgba(26,109,181,.25);
}
.logo-name {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
  line-height: 1.2;
}
.logo-sub {
  display: block;
  font-size: 0.68rem;
  color: rgba(255,255,255,.75);
  font-weight: 400;
  transition: color var(--transition);
}
.nav-header.scrolled .logo-name { color: var(--text-dark); }
.nav-header.scrolled .logo-sub  { color: var(--text-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,.12);
}
.nav-header.scrolled .nav-link       { color: var(--text-mid); }
.nav-header.scrolled .nav-link:hover { color: var(--primary); background: var(--primary-light); }

.nav-cta { margin-left: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-header.scrolled .hamburger span { background: var(--text-dark); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  padding: 20px 24px 28px;
  box-shadow: 0 8px 30px rgba(0,0,0,.1);
  z-index: 999;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-link {
  display: block;
  padding: 12px 16px;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.mobile-link:hover { background: var(--primary-light); color: var(--primary); }

.mobile-sub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 16px 12px;
}
.mobile-sub-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  text-decoration: none;
}
.mobile-sub-links a:hover {
  background: var(--primary);
  color: #fff;
}

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden; /* contains scroll-hint & bg-img */
}


.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 40, 80, 0.82) 0%,
    rgba(15, 79, 138, 0.72) 50%,
    rgba(0, 100, 170, 0.55) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) 24px 120px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(12px);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  /* Prevent text overflow when badge rotates */
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 680px;
}
.hero-headline em {
  font-style: italic;
  color: #7dd3fc;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.9);
  max-width: 540px;
  margin-bottom: 38px;
  line-height: 1.7;
}
.hero-sub strong { color: var(--white); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 24px 36px;
  width: fit-content;
  max-width: 100%;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 36px;
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child  { padding-right: 0; }
.stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-unit {
  font-size: 1.4rem;
  font-weight: 700;
  color: #7dd3fc;
  margin-left: 2px;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,.75);
  font-weight: 500;
  text-align: center;
  margin-top: 4px;
  letter-spacing: 0.03em;
}
.hero-stat-divider {
  width: 1px;
  height: 52px;
  background: rgba(255,255,255,.25);
  flex-shrink: 0;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  visibility: hidden;
}
.hero-scroll-hint.visible {
  opacity: 1;
  visibility: visible;
}
.hero-scroll-hint.hide {
  opacity: 0;
  visibility: hidden;
}
/* Clean chevron replaces old mouse icon */
.scroll-chevron {
  width: 28px;
  height: 28px;
  border-right: 2.5px solid rgba(255,255,255,.7);
  border-bottom: 2.5px solid rgba(255,255,255,.7);
  transform: rotate(45deg);
  animation: bounce-chevron 1.5s ease-in-out infinite;
  border-radius: 2px;
}
@keyframes bounce-chevron {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: .9; }
  50% { transform: rotate(45deg) translateY(6px); opacity: .5; }
}


/* =========================================
   TRUST BAR
   ========================================= */
.trust-bar {
  background: var(--primary);
  padding: 18px 0;
}
.trust-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.92);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 28px;
  border-right: 1px solid rgba(255,255,255,.2);
  transition: background 0.5s ease, transform 0.5s ease;
  will-change: transform;
}
.trust-item:last-child { border-right: none; }
.trust-item.trust-active {
  background: rgba(255,255,255,.12);
  transform: translateY(-2px);
}
.trust-icon { font-size: 1.15rem; }

/* =========================================
   ABOUT
   ========================================= */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-visual {
  position: relative;
  padding-bottom: 30px;
}
.about-card-bg {
  position: absolute;
  bottom: 0; left: 32px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  border-radius: var(--radius-lg);
  z-index: 0;
}
.about-img-wrap {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-carousel-inner {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  height: 480px;
}
.about-img.slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.6s ease;
}
.about-img-wrap:hover .about-img.slide { transform: scale(1.04); }

.about-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  color: var(--primary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  opacity: 0;
  z-index: 5;
}
.about-nav-btn svg { width: 24px; height: 24px; }
.about-img-wrap:hover .about-nav-btn { opacity: 1; }
.about-nav-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}
.about-nav-btn.prev { left: 16px; }
.about-nav-btn.next { right: 16px; }

.about-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.about-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition);
}
.about-dot.active {
  background: #fff;
  width: 24px;
}

.about-badge-float {
  position: absolute;
  bottom: -10px;
  right: 16px;
  z-index: 2;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
  min-width: 110px;
}
.badge-number {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.badge-text {
  font-size: 0.7rem;
  opacity: .9;
  line-height: 1.4;
  margin-top: 4px;
  white-space: nowrap;
}

.about-text { padding-right: 16px; }

.about-desc {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.97rem;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 36px;
}
.about-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.93rem;
  color: var(--text-mid);
  font-weight: 500;
}
.check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 1px;
}

/* =========================================
   DOCTORS
   ========================================= */
.doctors { background: var(--bg-light); }
/* Fix: remove extra top gap caused by scroll hint ghost space */
.doctors .section-header { margin-top: 0; }

.doctors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.doctor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.doctor-img-wrap {
  position: relative;
  overflow: hidden;
  height: 340px;
}
.doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}
.doctor-card:hover .doctor-img { transform: scale(1.06); }

.doctor-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,79,138,.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 24px;
  opacity: 0;
  transition: opacity var(--transition);
}
.doctor-card:hover .doctor-overlay { opacity: 1; }

.doctor-info {
  padding: 28px;
}
.doctor-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.doctor-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.doctor-bio {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 18px;
}
.doctor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.doctor-ig-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-soft);
  background: var(--white);
  transition: all var(--transition);
}
.doctor-ig-link:hover {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(131,58,180,.3);
}
.tag {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* =========================================
   SERVICES
   ========================================= */
.services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
  will-change: transform;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,109,181,.03), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { opacity: 1; }

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--clr) 12%, transparent);
  color: var(--clr);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition);
}
.service-card:hover .service-icon-wrap {
  background: color-mix(in srgb, var(--clr) 20%, transparent);
  transform: scale(1.1);
}
.service-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.service-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.service-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}
.service-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--gold);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials { background: var(--bg-section); }

.rating-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.stars { font-size: 1.5rem; color: var(--gold); letter-spacing: 2px; }
.rating-number {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
}
.rating-count {
  font-size: 0.85rem;
  color: var(--text-light);
}

.testimonials-carousel {
  overflow: hidden;
  border-radius: var(--radius-lg);
  position: relative;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  will-change: transform;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.quote-icon {
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 0.8;
  color: var(--primary-light);
  color: #bfdbfe;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-author > div:nth-child(2) {
  flex: 1;
}
.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.testimonial-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.t-stars { font-size: 0.85rem; color: var(--gold); margin-left: auto; letter-spacing: 1px; }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 700;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  cursor: pointer;
}
.carousel-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all var(--transition);
}
.carousel-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* =========================================
   CONTACT
   ========================================= */
.contact { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-light);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: all var(--transition);
}
.info-card:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}
.info-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.info-card strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 4px;
}
.info-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.info-link {
  color: var(--primary);
  font-weight: 500;
  transition: color var(--transition);
}
.info-link:hover { color: var(--primary-dark); text-decoration: underline; }

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 230px;
  border: 1.5px solid var(--border-soft);
  margin-top: 4px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-bottom: 28px;
  font-weight: 700;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0.03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--white);
  transition: all var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,109,181,.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; }

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}
.form-success {
  display: none;
  background: #d1fae5;
  border: 1.5px solid #6ee7b7;
  color: #065f46;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 14px;
}
.form-success.show { display: block; }

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,.75);
  padding-top: 64px;
  padding-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-logo-icon {
  width: 44px;
  height: 44px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(26,109,181,.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: scale(1.3);
}
.footer-logo:hover .footer-logo-icon {
  transform: scale(1.4);
  box-shadow: 0 3px 15px rgba(26,109,181,.35);
}
.footer-logo-name {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.footer-logo-sub {
  display: block;
  font-size: 0.68rem;
  opacity: .7;
}

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,.6);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.7);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  transition: all var(--transition);
}
.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col li, .footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
  line-height: 1.5;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,.4);
}
.footer-disclaimer { font-size: 0.75rem !important; }

/* =========================================
   STICKY BOOK BUTTON
   ========================================= */
.sticky-cta-bar {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 20px;
  left: 20px;
  z-index: 998;
  gap: 12px;
}
.sticky-cta-btn {
  flex: 1;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 24px rgba(26,109,181,.3);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.sticky-cta-wa {
  background: linear-gradient(135deg, var(--primary) 0%, #1e8fe8 100%);
  color: var(--white);
}
.sticky-cta-call {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--primary);
}
.sticky-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(26,109,181,.5);
}

/* =========================================
   RESPONSIVE — TABLET (≤ 1024px)
   ========================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid { gap: 48px; }

  /* Nav — switch to hamburger at 1024px */
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* =========================================
   RESPONSIVE — MOBILE (≤ 768px)
   ========================================= */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .section-pad { padding: 64px 0; }

  /* Hero */
  .hero-headline { font-size: 2.4rem; }
  .hero-stats {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    width: 100%;
  }
  .hero-stat { padding: 0; width: 100%; flex-direction: row; justify-content: flex-start; gap: 12px; }
  .hero-stat-divider { width: 100%; height: 1px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Trust Bar */
  .trust-container { gap: 0; }
  .trust-item {
    padding: 8px 16px;
    font-size: 0.8rem;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.2);
    width: 50%;
    justify-content: center;
    text-align: center;
  }
  .trust-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.2); }
  .trust-item:last-child { border-bottom: none; width: 100%; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-visual { order: -1; }
  .about-img { height: 300px; }
  .about-badge-float { right: 12px; }
  .about-text { padding-right: 0; }

  /* Doctors */
  .doctors-grid { grid-template-columns: 1fr; gap: 24px; }
  .doctor-img-wrap { height: 280px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Testimonials */
  .testimonial-card { flex: 0 0 100%; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  /* Sticky Button */
  .sticky-cta-bar { display: flex; }

  /* Scroll hint */
  .hero-scroll-hint { display: none; }
}

/* =========================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ========================================= */
@media (max-width: 480px) {
  .hero-headline { font-size: 2rem; }
  .hero-badge { font-size: 0.75rem; }
  .hero-sub { font-size: 0.93rem; }

  .testimonials-carousel { border-radius: var(--radius-md); }
  .testimonial-card { padding: 24px 20px; }

  .contact-form-wrap { padding: 24px 16px; }

  .trust-item { width: 100%; border-right: none; }
  .trust-item:nth-child(odd) { border-right: none; }
}

/* =========================================
   UTILITY
   ========================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* =========================================
   70 MICRO-INTERACTIONS
   ========================================= */

/* MI-01: Button ripple container */
.btn { position: relative; overflow: hidden; }

/* MI-02: Ripple wave element */
.ripple-wave {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  transform: scale(0);
  animation: ripple-expand 0.55s linear;
  pointer-events: none;
}
@keyframes ripple-expand {
  to { transform: scale(4); opacity: 0; }
}

/* MI-03: Button shimmer on hover */
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.25) 50%, transparent 60%);
  background-size: 200% 100%;
  background-position: -100% 0;
  transition: background-position 0.5s ease;
}
.btn-primary:hover::after { background-position: 200% 0; }

/* MI-04: Nav logo scale on hover */
.nav-logo:hover .logo-icon {
  transform: scale(1.15);
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.logo-icon { display: inline-block; transition: transform 0.4s cubic-bezier(.4,0,.2,1); }

/* MI-05: Nav link underline slide */
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
  border-radius: 2px;
}
.nav-header.scrolled .nav-link:hover::after { transform: scaleX(1); }

/* MI-06: Active nav link indicator */
.nav-link.active { color: var(--primary) !important; font-weight: 600; }
.nav-link.active::after { transform: scaleX(1); }

/* MI-07: Hero badge shimmer pulse */
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.25); }
  50%       { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
}
.hero-badge { animation: fadeUp 0.7s ease both, badge-pulse 3s ease-in-out 1s infinite; }

/* MI-08: Hero headline letter hover — handled via JS word spans */
.hero-word {
  display: inline-block;
  transition: transform 0.25s ease, color 0.25s ease;
}
.hero-word:hover { transform: translateY(-4px); color: #7dd3fc; }

/* MI-09: Hero stats card glow on hover */
.hero-stats:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.4);
  transition: all 0.4s ease;
}

/* MI-10: Stat number pop on count complete */
@keyframes stat-pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.18); }
  100% { transform: scale(1); }
}
.stat-pop { animation: stat-pop 0.4s cubic-bezier(.4,0,.2,1); }

/* MI-11: Scroll arrow second beat */
@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50%       { transform: translateY(10px) rotate(45deg); opacity: .5; }
}

/* MI-12: Trust bar item lift on hover */
.trust-item {
  cursor: default;
  transition: background var(--transition), transform var(--transition);
  border-radius: 6px;
}
.trust-item:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-2px);
}

/* MI-13: Trust icon spin on hover */
.trust-item:hover .trust-icon { animation: spin-once 0.5s ease; display: inline-block; }
@keyframes spin-once {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* MI-14: Section eyebrow shimmer */
.section-eyebrow {
  background-image: linear-gradient(90deg, var(--primary-light) 0%, #d0e9ff 50%, var(--primary-light) 100%);
  background-size: 200%;
  animation: eyebrow-shimmer 3s linear infinite;
}
@keyframes eyebrow-shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* MI-15: About image tilt overlay gradient sweep on hover */
.about-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,109,181,.18), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.about-img-wrap:hover::after { opacity: 1; }

/* MI-16: Check icon bounce on list item hover */
.about-highlights li:hover .check-icon {
  animation: check-bounce 0.4s cubic-bezier(.4,0,.2,1);
}
@keyframes check-bounce {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.3) rotate(10deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* MI-17: About highlight text color shift on hover */
.about-highlights li {
  transition: color var(--transition), padding-left var(--transition);
  border-radius: 6px;
  padding: 4px 6px;
}
.about-highlights li:hover { color: var(--primary); padding-left: 12px; background: var(--primary-light); }

/* MI-18: Doctor card 3D tilt — perspective wrapper */
.doctors-grid { perspective: 1200px; }
.doctor-card { transform-style: preserve-3d; will-change: transform; }

/* MI-19: Doctor name underline draw on hover */
.doctor-name { position: relative; display: inline-block; }
.doctor-name::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.35s ease;
  border-radius: 2px;
}
.doctor-card:hover .doctor-name::after { width: 100%; }

/* MI-20: Doctor tag hover scale */
.tag {
  transition: all var(--transition);
  cursor: default;
}
.tag:hover {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.08);
}

/* MI-21: Service card sweep border animation */
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.4s ease;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.service-card:hover::after { width: 100%; }

/* MI-22: Service icon rotate on card hover */
.service-card:hover .service-icon-wrap svg {
  animation: icon-wiggle 0.5s ease;
}
@keyframes icon-wiggle {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(-12deg); }
  75%  { transform: rotate(12deg); }
  100% { transform: rotate(0deg); }
}

/* MI-23: Service badge shimmer */
@keyframes badge-flash {
  0%, 100% { opacity: 1; }
  50%       { opacity: .7; }
}
.service-badge { animation: badge-flash 2s ease-in-out infinite; }

/* MI-24: Service name color shift on hover */
.service-card:hover .service-name { color: var(--primary); transition: color var(--transition); }

/* MI-25: Service desc fade in stronger on hover */
.service-card:hover .service-desc { color: var(--text-mid); transition: color var(--transition); }

/* MI-26: Star rating individual star pulse on hover */
.stars span {
  display: inline-block;
  transition: transform 0.2s ease, color 0.2s ease;
  cursor: default;
}
.stars span:hover { transform: scale(1.4) rotate(-10deg); color: #f97316; }

/* MI-27: Testimonial card quote icon color on hover */
.testimonial-card:hover .quote-icon {
  color: var(--primary);
  transition: color 0.4s ease;
}

/* MI-28: Testimonial author avatar pulse ring */
.author-avatar {
  position: relative;
}
.author-avatar::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.35s ease;
}
.testimonial-card:hover .author-avatar::after { opacity: 1; transform: scale(1); }

/* MI-29: Carousel button icon push */
.carousel-btn:active { transform: scale(0.9); }

/* MI-30: Carousel dot expand on active */
.carousel-dot { transition: all 0.35s cubic-bezier(.4,0,.2,1); }

/* MI-31: Info card icon wobble on hover */
.info-card:hover .info-icon { animation: info-wobble 0.5s ease; display: inline-block; }
@keyframes info-wobble {
  0%   { transform: rotate(0); }
  25%  { transform: rotate(-15deg) scale(1.2); }
  75%  { transform: rotate(15deg) scale(1.2); }
  100% { transform: rotate(0) scale(1); }
}

/* MI-32: Info card label uppercase slide */
.info-card strong {
  position: relative;
  display: inline-block;
  transition: letter-spacing var(--transition);
}
.info-card:hover strong { letter-spacing: 0.12em; }

/* MI-33: Map container border pulse */
@keyframes map-pulse {
  0%, 100% { border-color: var(--border-soft); }
  50%       { border-color: var(--primary); }
}
.map-container { animation: map-pulse 4s ease-in-out infinite; }
.map-container:hover { animation: none; border-color: var(--primary); }

/* MI-34: Form input float label effect */
.form-group { position: relative; }
.form-group.focused label { color: var(--primary); transform: none; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { background: var(--bg-light); }

/* MI-35: Form input shake animation on invalid */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-8px); }
  40%       { transform: translateX(8px); }
  60%       { transform: translateX(-5px); }
  80%       { transform: translateX(5px); }
}
.input-error { animation: shake 0.45s ease; border-color: #ef4444 !important; }

/* MI-36: Submit button loading spinner */
.btn-loading { pointer-events: none; position: relative; color: transparent !important; }
.btn-loading::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}
@keyframes btn-spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* MI-37: Form success bounce in */
@keyframes success-bounce {
  0%   { opacity: 0; transform: scale(0.85) translateY(10px); }
  60%  { transform: scale(1.04) translateY(-3px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.form-success.show { animation: success-bounce 0.5s cubic-bezier(.4,0,.2,1) both; }

/* MI-38: Footer link arrow appear on hover */
.footer-col a { position: relative; padding-left: 0; transition: padding-left 0.25s ease, color 0.25s ease; }
.footer-col a::before {
  content: '→';
  position: absolute;
  left: -18px;
  opacity: 0;
  transition: opacity 0.25s ease, left 0.25s ease;
}
.footer-col a:hover { padding-left: 20px; }
.footer-col a:hover::before { opacity: 1; left: 0; }

/* MI-39: Social button glow ring */
.social-btn {
  position: relative;
}
.social-btn::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.35s ease;
}
.social-btn:hover::after { opacity: 1; transform: scale(1); }

/* MI-40: Sticky book button pulse ring */
@keyframes sticky-pulse {
  0%   { box-shadow: 0 6px 24px rgba(26,109,181,.5), 0 0 0 0 rgba(26,109,181,.4); }
  70%  { box-shadow: 0 6px 24px rgba(26,109,181,.5), 0 0 0 12px rgba(26,109,181,0); }
  100% { box-shadow: 0 6px 24px rgba(26,109,181,.5), 0 0 0 0 rgba(26,109,181,0); }
}
.sticky-cta-btn { animation: sticky-pulse 2.4s ease-in-out infinite; }

/* MI-41: Scroll progress bar gradient sweep */
#scroll-progress-bar {
  background: linear-gradient(90deg, #1a6db5, #00b4d8, #1a6db5);
  background-size: 200%;
  animation: progress-sweep 3s linear infinite;
}
@keyframes progress-sweep {
  0%   { background-position: 0%; }
  100% { background-position: 200%; }
}

/* MI-42: Back-to-top button appear */
#back-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.35s ease;
  z-index: 997;
  cursor: pointer;
  border: none;
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* MI-43: Tooltip base styles */
[data-tooltip] { position: relative; }
[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--text-dark);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 100;
}
[data-tooltip]:hover::before { opacity: 1; transform: translateX(-50%) translateY(0); }

/* MI-44: WhatsApp float button */
#wa-float {
  position: fixed;
  bottom: 90px;
  left: 24px;
  width: 50px; height: 50px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  z-index: 997;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: wa-pulse 2.6s ease-in-out infinite;
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.4); }
  50%       { box-shadow: 0 4px 16px rgba(37,211,102,.4), 0 0 0 12px rgba(37,211,102,0); }
}
#wa-float:hover { transform: scale(1.15) rotate(-10deg); }

/* MI-45: Hero image parallax transition */
.hero-bg-img { transition: transform 0.1s linear; will-change: transform; }

/* MI-46: Section reveal stagger children */
.stagger-child {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.stagger-child.visible { opacity: 1; transform: translateY(0); }

/* MI-47: Service card number label */
.service-card .service-num {
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(26,109,181,.35);
  line-height: 1;
  pointer-events: none;
  transition: color 0.4s ease;
  user-select: none;
}
.service-card:hover .service-num { color: rgba(26,109,181,.5); }

/* MI-48: Doctor card border glow */
.doctor-card {
  border: 1.5px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.doctor-card:hover { border-color: rgba(26,109,181,.3); }

/* MI-49: Section title color highlight word */
.highlight-word {
  position: relative;
  display: inline-block;
}
.highlight-word::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0;
  width: 100%; height: 6px;
  background: linear-gradient(90deg, #bfdbfe, var(--accent-light));
  z-index: -1;
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease 0.2s;
}
.highlight-word.visible::after { transform: scaleX(1); }

/* MI-50: Hero scroll hint fade on scroll */
.hero-scroll-hint {
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.hero-scroll-hint.hide {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

/* MI-51: Carousel hover pause — handled in JS */

/* MI-52: Mobile menu slide down — scoped to mobile only */
@media (max-width: 1024px) {
  .mobile-menu {
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s 0.3s;
    display: block !important;
    pointer-events: none;
  }
  .mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s 0s;
  }
}

/* MI-53: Hamburger active color */
.hamburger.active span { background: var(--primary) !important; }

/* MI-54: About card-bg parallax drift */
.about-card-bg {
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
}
.about-visual:hover .about-card-bg { transform: translate(-6px, 6px); }

/* MI-55: Rating star interactive hover */
.rating-display .stars {
  cursor: default;
  letter-spacing: 3px;
  transition: letter-spacing 0.3s ease;
}
.rating-display .stars:hover { letter-spacing: 5px; }

/* MI-56: Input character count indicator */
.char-count {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 3px;
  transition: color 0.3s ease;
}
.char-count.limit { color: #ef4444; }

/* MI-57: Phone link shake on hover (call to action) */
a[href^="tel"] {
  display: inline-block;
  transition: transform 0.2s ease;
}
a[href^="tel"]:hover { transform: scale(1.06); color: var(--primary-dark) !important; }

/* MI-58: Email link bounce on hover */
a[href^="mailto"] {
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}
a[href^="mailto"]:hover { transform: translateY(-2px); }

/* MI-59 & MI-60: Custom cursor removed */

/* MI-61: Number counter easing function */
.stat-num { display: inline-block; }

/* MI-62: Hero actions button stagger */
.hero-actions .btn:nth-child(1) { animation-delay: 0.45s; }
.hero-actions .btn:nth-child(2) { animation-delay: 0.6s; }

/* MI-63: Section pad smooth entrance (handled by reveal JS) */
.section-entrance .section-header { transition-delay: 0s; }
.section-entrance .services-grid .service-card:nth-child(1) { transition-delay: 0.05s; }
.section-entrance .services-grid .service-card:nth-child(2) { transition-delay: 0.12s; }
.section-entrance .services-grid .service-card:nth-child(3) { transition-delay: 0.19s; }
.section-entrance .services-grid .service-card:nth-child(4) { transition-delay: 0.26s; }
.section-entrance .services-grid .service-card:nth-child(5) { transition-delay: 0.33s; }
.section-entrance .services-grid .service-card:nth-child(6) { transition-delay: 0.40s; }

/* MI-64: About highlight list stagger */
.about-highlights li:nth-child(1) { transition-delay: 0.0s; }
.about-highlights li:nth-child(2) { transition-delay: 0.07s; }
.about-highlights li:nth-child(3) { transition-delay: 0.14s; }
.about-highlights li:nth-child(4) { transition-delay: 0.21s; }
.about-highlights li:nth-child(5) { transition-delay: 0.28s; }

/* MI-65: Page load body fade-in */
@keyframes page-load {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body { animation: page-load 0.5s ease both; }

/* MI-66: Hero stat divider glow on stats hover */
.hero-stats:hover .hero-stat-divider {
  background: rgba(125,211,252,.5);
  transition: background 0.4s ease;
}

/* MI-67: Section eyebrow hover scale */
.section-eyebrow {
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}
.section-eyebrow:hover { transform: scale(1.05); box-shadow: 0 2px 12px rgba(26,109,181,.2); }

/* MI-68: Footer brand hover scale */
.footer-logo { transition: transform 0.3s ease; cursor: default; }
.footer-logo:hover { transform: scale(1.03); }

/* MI-69: Map iframe scale on hover */
.map-container iframe {
  transition: transform 0.4s ease;
}
.map-container:hover iframe { transform: scale(1.03); }

/* MI-70: Scroll-to-section highlight flash */
@keyframes section-flash {
  0%   { outline: 3px solid rgba(26,109,181,0); }
  30%  { outline: 3px solid rgba(26,109,181,.35); }
  100% { outline: 3px solid rgba(26,109,181,0); }
}
.section-highlight { animation: section-flash 1s ease; }


/* =========================================
   SERVICES ACCORDION
   ========================================= */
.services-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.service-acc-card {
  background: var(--white);
  border: 1.5px solid #e8edf5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(30,58,138,.06);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}
.service-acc-card:hover {
  box-shadow: 0 8px 32px rgba(30,58,138,.13);
  border-color: var(--primary-light);
  transform: translateY(-1px);
}
.service-acc-card.is-open {
  border-color: var(--primary);
  box-shadow: 0 8px 36px rgba(30,58,138,.16);
}

/* HEADER — click target */
.acc-header {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  transition: background 0.2s ease;
}
.acc-header:hover { background: rgba(59,130,246,.03); }
.service-acc-card.is-open .acc-header { background: rgba(59,130,246,.04); }

.acc-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 0;
}

.acc-title-block { min-width: 0; }
.acc-title-block .service-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 4px;
  line-height: 1.3;
}
.acc-tagline {
  font-size: 0.82rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.3;
}

.acc-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Chevron icon */
.acc-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #f0f4ff;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), background 0.2s ease;
}
.acc-chevron svg {
  width: 16px;
  height: 16px;
  stroke: var(--primary);
  display: block;
}
.service-acc-card.is-open .acc-chevron {
  transform: rotate(180deg);
  background: var(--primary);
}
.service-acc-card.is-open .acc-chevron svg { stroke: #fff; }

/* BODY — collapsed by default */
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.42s cubic-bezier(.4,0,.2,1);
}
.service-acc-card.is-open .acc-body { max-height: 600px; }

.acc-content {
  padding: 0 28px 28px;
  border-top: 1px solid #e8edf5;
}

.acc-intro {
  font-size: 0.93rem;
  color: var(--text-body);
  line-height: 1.7;
  margin: 20px 0 24px;
}

/* Two-column detail grid */
.acc-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 24px;
}

.acc-detail-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--primary);
  margin: 0 0 12px;
}

.acc-detail-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.acc-detail-col ul li {
  font-size: 0.88rem;
  color: var(--text-body);
  padding-left: 18px;
  position: relative;
  line-height: 1.45;
}
.acc-detail-col ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.75rem;
  top: 1px;
}

/* Facts grid */
.acc-facts {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.acc-fact {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.87rem;
  color: var(--text-body);
  line-height: 1.4;
}
.fact-icon {
  font-size: 1rem;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}

/* Footer bar inside accordion */
.acc-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #f0f5ff 0%, #f8faff 100%);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
}
.acc-note {
  font-size: 0.83rem;
  color: var(--text-body);
  flex: 1;
  min-width: 200px;
}

/* Mobile */
@media (max-width: 680px) {
  .acc-header { padding: 18px 20px; gap: 12px; }
  .acc-left { gap: 14px; }
  .acc-content { padding: 0 20px 24px; }
  .acc-detail-grid { grid-template-columns: 1fr; gap: 20px; }
  .acc-right .service-badge { display: none; }
  .acc-footer-bar { flex-direction: column; align-items: flex-start; }
  .service-acc-card.is-open .acc-body { max-height: 900px; }
}

/* =========================================
   NAV SERVICES DROPDOWN
   ========================================= */
.nav-dropdown-wrap {
  position: relative;
  list-style: none;
}

/* Trigger — Services link with chevron */
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.nav-dropdown-arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  opacity: 0.7;
  margin-top: 1px;
}
.nav-dropdown-wrap:hover .nav-dropdown-arrow,
.nav-dropdown-wrap.dd-open .nav-dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown panel */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 320px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(15,23,42,.15), 0 4px 16px rgba(15,23,42,.08);
  border: 1px solid #e8edf5;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 1000;
}
/* Arrow notch pointing up */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: #fff;
  border-left: 1px solid #e8edf5;
  border-top: 1px solid #e8edf5;
  border-radius: 3px 0 0 0;
}

/* Show on hover OR when .dd-open */
.nav-dropdown-wrap:hover .nav-dropdown,
.nav-dropdown-wrap.dd-open .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-inner {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Each service row */
.nav-dd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.nav-dd-item:hover {
  background: #f4f7ff;
  transform: translateX(3px);
}

/* Colour dot */
.nav-dd-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}

/* Text block */
.nav-dd-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.nav-dd-text strong {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
  white-space: nowrap;
}
.nav-dd-text span {
  font-size: 0.76rem;
  color: var(--text-light);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Footer CTA inside dropdown */
.nav-dd-footer {
  display: block;
  margin: 6px 8px 4px;
  padding: 11px 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff !important;
  text-align: center;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  letter-spacing: 0.01em;
}
.nav-dd-footer:hover {
  opacity: 0.92;
  transform: scale(1.01);
}

/* Hide dropdown on mobile (handled by mobile menu) */
@media (max-width: 1024px) {
  .nav-dropdown { display: none; }
  .nav-dropdown-arrow { display: none; }
}

/* Doctor Award Badge */
.doctor-award-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #f59e0b;
  color: #92400e;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

/* ===== CONTACT SECTION — FULL WIDTH (no form) ===== */
.contact-grid--full {
  display: block;
}

.contact-info--full {
  width: 100%;
  max-width: 100%;
}

.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

/* ===== CONTACT CTA ROW — 4 equal buttons ===== */
.contact-cta-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 12px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-align: center;
  text-decoration: none;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.cta-wa {
  background: var(--primary);
  color: #fff;
}
.cta-wa:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,109,181,.35);
}

.cta-call {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.cta-call:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,109,181,.35);
}

.cta-ig {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--border-soft);
}
.cta-ig:hover {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(131,58,180,.3);
}

@media (max-width: 992px) {
  .info-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-cta-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .info-cards-grid {
    grid-template-columns: 1fr;
  }
  .contact-cta-row {
    grid-template-columns: 1fr;
  }
  .contact-wa-cta .btn {
    width: 100%;
    text-align: center;
  }
}

/* Call Now button — visible on light contact section background */
.contact-wa-cta .btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  backdrop-filter: none;
}
.contact-wa-cta .btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* =========================================
   MULTI-PAGE: ACTIVE NAV LINK
   ========================================= */
.nav-header.scrolled .nav-link.active-page {
  color: var(--primary);
  background: var(--primary-light);
  font-weight: 700;
}
/* On inner pages, nav is always scrolled */
.nav-header.scrolled .logo-name { color: var(--text-dark); }
.nav-header.scrolled .logo-sub  { color: var(--text-light); }

/* =========================================
   MULTI-PAGE: PAGE HERO
   ========================================= */
.page-hero {
  background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-dark) 60%, #1560a0 100%);
  padding: calc(var(--nav-h) + 60px) 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(0,180,216,.12) 0%, transparent 60%),
                    radial-gradient(circle at 80% 20%, rgba(26,109,181,.15) 0%, transparent 50%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
}
.page-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-hero-title em {
  font-style: italic;
  color: #7dd3fc;
}
.page-hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.page-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.pill-link {
  display: inline-block;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.9);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all var(--transition);
  backdrop-filter: blur(6px);
}
.pill-link:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.5);
  color: var(--white);
}

/* =========================================
   MULTI-PAGE: PAGE TEASERS (Homepage)
   ========================================= */
.page-teasers { background: var(--bg-section); }
.teasers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 860px) { .teasers-grid { grid-template-columns: 1fr; } }

.teaser-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1.5px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  color: inherit;
  animation-delay: var(--td, 0s);
}
.teaser-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.teaser-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--tc) 12%, transparent);
  color: var(--tc);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.teaser-card:hover .teaser-icon {
  background: color-mix(in srgb, var(--tc) 20%, transparent);
  transform: scale(1.1);
}
.teaser-icon svg { width: 26px; height: 26px; }
.teaser-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.teaser-content p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 14px;
}
.teaser-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  transition: color var(--transition);
}
.teaser-card:hover .teaser-link { color: var(--primary-dark); }

/* =========================================
   DOCTORS PAGE: CREDENTIALS BANNER
   ========================================= */
.credentials-banner {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--primary);
  border-radius: var(--radius-lg);
  margin-top: 48px;
  overflow: hidden;
}
.cred-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  padding: 28px 24px;
  color: var(--white);
}
.cred-icon { font-size: 1.8rem; flex-shrink: 0; }
.cred-item strong {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}
.cred-item span {
  font-size: 0.78rem;
  opacity: 0.8;
  margin-top: 3px;
  display: block;
}
.cred-divider {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,.2);
  flex-shrink: 0;
}
@media (max-width: 860px) {
  .credentials-banner { flex-direction: column; }
  .cred-divider { width: 80%; height: 1px; }
  .teasers-grid { grid-template-columns: 1fr; }
  .page-hero-pills { gap: 8px; }
}

/* =========================================
   DOCTOR AWARD BADGE
   ========================================= */
.doctor-award-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  border: 1px solid #fcd34d;
}

/* =========================================
   SERVICES CATEGORY GRID
   ========================================= */
.svc-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 768px) { .svc-category-grid { grid-template-columns: 1fr; } }

.svc-category-card {
  background: var(--white, #fff);
  border: 1.5px solid #e8edf5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(30,58,138,.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.svc-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(30,58,138,.12);
  border-color: color-mix(in srgb, var(--cat-clr, #3b82f6) 40%, transparent);
}

.svc-cat-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: color-mix(in srgb, var(--cat-clr, #3b82f6) 8%, #fff);
  border-bottom: 1.5px solid color-mix(in srgb, var(--cat-clr, #3b82f6) 15%, transparent);
}
.svc-cat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--cat-clr, #3b82f6) 15%, transparent);
  display: flex; align-items: center; justify-content: center;
  color: var(--cat-clr, #3b82f6);
  flex-shrink: 0;
}
.svc-cat-icon svg { width: 24px; height: 24px; }
.svc-cat-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cat-clr, #3b82f6);
  margin-bottom: 2px;
}
.svc-cat-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.svc-cat-list {
  list-style: none;
  padding: 20px 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.svc-cat-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.svc-cat-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.svc-cat-list li > div strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.svc-cat-list li > div p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.55;
  margin: 0;
}

.svc-cat-cta {
  display: block;
  margin: 0 24px 20px;
  padding: 10px 18px;
  background: color-mix(in srgb, var(--cat-clr, #3b82f6) 10%, transparent);
  color: var(--cat-clr, #3b82f6);
  border: 1.5px solid color-mix(in srgb, var(--cat-clr, #3b82f6) 30%, transparent);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.svc-cat-cta:hover {
  background: var(--cat-clr, #3b82f6);
  color: #fff;
  border-color: var(--cat-clr, #3b82f6);
}


/* =========================================
   NAV DROPDOWN
   ========================================= */
.nav-dropdown-wrap { position: relative; }
.nav-dropdown-wrap::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 20px;
}
.nav-dropdown-toggle { display: flex; align-items: center; gap: 4px; }
.dd-arrow { transition: transform 0.25s ease; }
.nav-dropdown-wrap:hover .dd-arrow { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 48px rgba(0,0,0,.12);
  min-width: 240px;
  padding: 8px 0;
  list-style: none;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}
.nav-dropdown::before {
  content: '';
  position: absolute; top: -12px; left: 0; right: 0;
  height: 12px;
}
.nav-dropdown-wrap:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-dropdown li a {
  display: block;
  padding: 9px 18px;
  font-size: 0.875rem; color: var(--text-mid);
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-dropdown li a:hover {
  background: var(--bg-light);
  color: var(--primary);
}

/* =========================================
   SERVICES ICON GRID (Homepage)
   ========================================= */
.services-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 900px) { .services-icon-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .services-icon-grid { grid-template-columns: 1fr; } }

.svc-icon-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-decoration: none;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}
.svc-icon-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(26,109,181,.13);
  border-color: var(--primary);
}
.svc-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  background: color-mix(in srgb, var(--clr) 12%, transparent);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr);
  margin-bottom: 4px;
}
.svc-icon-wrap svg { width: 26px; height: 26px; }
.svc-icon-card h3 {
  font-size: 1rem; font-weight: 700;
  color: var(--text-dark); margin: 0;
}
.svc-icon-card p {
  font-size: 0.855rem; color: var(--text-light);
  line-height: 1.6; margin: 0;
}
.svc-badge {
  display: inline-block;
  font-size: 0.65rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
  background: var(--primary-light); color: var(--primary);
  padding: 3px 10px; border-radius: var(--radius-full);
  width: fit-content;
}



/* ===== FAQ SECTION ===== */
.faq { background: var(--white); }

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.faq-item:hover { border-color: var(--primary-light); }
.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(26,109,181,.1);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  line-height: 1.4;
  transition: color 0.2s ease;
}
.faq-question:hover { color: var(--primary); }
.faq-item.active .faq-question { color: var(--primary); }

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--text-light);
  margin: 0;
}

/* ===== SR-ONLY (screen-reader-only, SEO-visible) ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ===== VISITING DOCTORS SECTION ===== */
.visiting-doctors { background: var(--bg-light); }

.vd-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.vd-card { flex: 0 1 calc(33.333% - 16px); min-width: 0; }
@media (max-width: 960px) { .vd-card { flex: 0 1 calc(50% - 12px); } }
@media (max-width: 600px) { .vd-card { flex: 0 1 100%; } }

.vd-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.vd-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(26,109,181,.12);
  border-color: var(--primary-light);
}

.vd-icon {
  font-size: 2.4rem;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: 50%;
  margin-bottom: 8px;
}

.vd-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid var(--primary-light);
  box-shadow: 0 4px 16px rgba(26,109,181,.12);
  margin-bottom: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.vd-card:hover .vd-photo {
  transform: scale(1.06);
  box-shadow: 0 6px 24px rgba(26,109,181,.2);
}

.vd-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.vd-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.vd-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-light);
  margin: 0 0 12px;
  flex-grow: 1;
}

.vd-book {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  padding: 8px 20px;
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-full);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.vd-book:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== VISITING DOCTORS SUBSECTION ===== */
.vd-subsection {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.vd-sub-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 8px;
}

.vd-sub-desc {
  font-size: 0.93rem;
  color: var(--text-light);
  margin: 0 0 36px;
  line-height: 1.6;
}

/* ===== LOADING SCREEN ===== */
.loader-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: linear-gradient(145deg, #0a1628 0%, #122449 50%, #0d1d3a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  text-align: center;
  animation: loaderFadeIn 0.8s ease both;
}

.loader-icon {
  margin-bottom: 28px;
  position: relative;
  display: inline-block;
}
.loader-icon::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 22px;
  border: 2px solid rgba(56,189,248,.25);
  animation: loaderRingPulse 2s ease-in-out infinite;
}
.loader-icon::after {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 28px;
  border: 1px solid rgba(56,189,248,.1);
  animation: loaderRingPulse 2s ease-in-out infinite 0.4s;
}
.loader-logo-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 14px;
  transform: scale(1.3);
  box-shadow:
    0 8px 32px rgba(26,109,181,.4),
    0 0 60px rgba(56,189,248,.15),
    inset 0 0 0 1px rgba(255,255,255,.1);
  animation: loaderLogoPulse 2s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes loaderLogoPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 32px rgba(26,109,181,.4), 0 0 60px rgba(56,189,248,.15); }
  50%      { transform: scale(1.06); box-shadow: 0 12px 48px rgba(26,109,181,.5), 0 0 80px rgba(56,189,248,.25); }
}
@keyframes loaderRingPulse {
  0%, 100% { transform: scale(1); opacity: .6; }
  50%      { transform: scale(1.08); opacity: .2; }
}

.loader-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.loader-sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.loader-bar {
  width: 180px;
  height: 3px;
  background: rgba(255,255,255,.12);
  border-radius: 4px;
  margin: 0 auto;
  overflow: hidden;
}
.loader-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #38bdf8);
  border-radius: 4px;
  animation: loaderProgress 1.6s ease-in-out forwards;
}

@keyframes loaderFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.12); }
}
@keyframes loaderProgress {
  0%   { width: 0%; }
  60%  { width: 70%; }
  100% { width: 100%; }
}

/* ===== EMERGENCY TOP BANNER ===== */
.emergency-banner {
  background: linear-gradient(90deg, #dc2626, #ef4444);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 500;
  padding: 10px 0;
  text-align: center;
  position: relative;
  z-index: 1001;
}
.emergency-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.emergency-banner a { color: #fff; text-decoration: underline; }
.emergency-banner a:hover { text-decoration: none; }
.emergency-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  line-height: 1;
  padding: 0 4px;
}
.emergency-close:hover { opacity: 1; }
.emergency-banner.hidden { display: none; }

/* ===== WHATSAPP FLOATING BUTTON ===== */
.wa-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 9998;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
}
@media (max-width: 768px) {
  .wa-float { bottom: 80px; left: 20px; width: 54px; height: 54px; }
}

/* ===== MOBILE STICKY CTA BAR ===== */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  padding: 8px 16px;
  gap: 0;
  justify-content: space-evenly;
}
@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
}
.mcta-btn {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 4px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  transition: background 0.2s;
  text-align: center;
  min-width: 0;
}
.mcta-call { color: var(--primary); }
.mcta-call:hover { background: rgba(26,109,181,.06); }
.mcta-wa { color: #25D366; }
.mcta-wa:hover { background: rgba(37,211,102,.06); }
.mcta-dir { color: #ef4444; }
.mcta-dir:hover { background: rgba(239,68,68,.06); }

/* ===== WHY CHOOSE US ===== */
.why-choose { background: var(--white); }
.wcu-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.wcu-card {
  width: calc(33.333% - 16px);
  min-width: 0;
  flex-shrink: 0;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (max-width: 960px) { .wcu-card { width: calc(50% - 12px); } }
@media (max-width: 600px) { .wcu-card { width: 100%; } }

.wcu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(26,109,181,.1);
}
.wcu-icon { 
  font-size: 2.2rem; 
  margin-bottom: 14px; 
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.wcu-card:hover .wcu-icon {
  transform: scale(1.2) rotate(8deg);
}
.wcu-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 8px;
}
.wcu-card p {
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--text-light);
  margin: 0;
}

/* ===== DENTAL TIPS ===== */
.dental-tips { background: var(--bg-light); }
.tips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 960px) { .tips-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tips-grid { grid-template-columns: 1fr; } }

.tip-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.tip-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
}
.tip-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.55;
  line-height: 1;
  margin-bottom: 12px;
}
.tip-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 8px;
}
.tip-card p {
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--text-light);
  margin: 0;
}

/* ===== GOOGLE REVIEWS BADGE ===== */
.google-badge-section { padding: 40px 0; background: var(--white); }
.google-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #f8fafc, #eef4ff);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 40px;
}
.gb-stars { display: flex; align-items: center; gap: 10px; }
.gb-g {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #4285F4;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}
.gb-label { font-weight: 600; color: var(--text-dark); font-size: 1rem; }
.gb-rating {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
}
.gb-stars-icons { font-size: 1.3rem; color: #fbbf24; letter-spacing: 2px; }
.gb-link {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
.gb-link:hover { color: var(--accent); text-decoration: underline; }
@media (max-width: 600px) {
  .google-badge { flex-direction: column; text-align: center; padding: 24px; }
}

/* ===== PAYMENT INFO ===== */
.payment-info { background: var(--white); }
.payment-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
}
.pay-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  text-align: center;
  flex: 0 1 160px;
  transition: transform 0.3s ease;
}
.pay-card:hover { transform: translateY(-3px); }
.pay-icon { font-size: 2rem; display: block; margin-bottom: 10px; }
.pay-card h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}
.payment-note {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0;
}

/* =========================================
   VISUAL BREADCRUMBS
   ========================================= */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.breadcrumbs a {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs a svg {
  width: 13px;
  height: 13px;
  opacity: .7;
}
.breadcrumb-sep {
  font-size: 0.75rem;
  color: rgba(255,255,255,.35);
  user-select: none;
}
.breadcrumb-current {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,.95);
}

/* =========================================
   SMOOTH PAGE TRANSITIONS
   ========================================= */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--text-dark);
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(.4,0,.2,1);
}
.page-transition-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Page fade-in on load */
@keyframes page-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
body.page-loaded > :not(.loader-screen):not(.page-transition-overlay):not(#scroll-progress-bar):not(#back-to-top):not(#wa-float):not(.mobile-cta-bar) {
  animation: page-fade-in 0.5s cubic-bezier(.4,0,.2,1) both;
}

/* Stagger sections for cascade feel */
body.page-loaded > header { animation-delay: 0.05s; }
body.page-loaded > section:nth-of-type(1) { animation-delay: 0.1s; }
body.page-loaded > section:nth-of-type(2) { animation-delay: 0.18s; }
body.page-loaded > section:nth-of-type(3) { animation-delay: 0.24s; }
body.page-loaded > footer { animation-delay: 0.3s; }

/* =========================================
   SCROLL-TO-TOP BUTTON (HTML version)
   ========================================= */
#scroll-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary) 0%, #1e8fe8 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 6px 24px rgba(26,109,181,.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.4s cubic-bezier(.4,0,.2,1);
  z-index: 997;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,.2);
}
#scroll-to-top svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}
#scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
#scroll-to-top:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 32px rgba(26,109,181,.5);
}
#scroll-to-top:hover svg {
  transform: translateY(-2px);
}
#scroll-to-top:active {
  transform: translateY(-1px) scale(0.95);
}

@media (max-width: 768px) {
  #scroll-to-top { bottom: 80px; right: 16px; width: 42px; height: 42px; }
  .breadcrumbs { margin-bottom: 14px; }
}

/* ===== SERVICE LANDING PAGES ===== */
.service-page-content {
  padding: 60px 0 40px;
}

.svc-section {
  margin-bottom: 56px;
}

.svc-section .section-title {
  margin-bottom: 20px;
}

.svc-section p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 14px;
  max-width: 800px;
}

.svc-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.svc-feature {
  background: var(--glass-bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
}

.svc-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.svc-feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.svc-feature h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 8px;
}

.svc-feature p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-light);
  margin: 0;
  max-width: none;
}

/* Steps */
.svc-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.svc-step {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
}

.svc-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.svc-step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.55;
  line-height: 1;
  margin-bottom: 12px;
}

.svc-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 8px;
}

.svc-step p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-light);
  margin: 0;
  max-width: none;
}

/* CTA Section */
.svc-cta-section {
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  margin-bottom: 40px;
}

.svc-cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #fff;
  margin: 0 0 12px;
}

.svc-cta-section p {
  font-size: 1.02rem;
  color: rgba(255,255,255,.85);
  margin: 0 auto 24px;
  max-width: 600px;
  line-height: 1.7;
}

.svc-cta-section a {
  color: #fff;
  text-decoration: underline;
}

.svc-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.svc-cta-buttons .btn-primary {
  background: #fff;
  color: var(--primary);
}

.svc-cta-buttons .btn-primary:hover {
  background: rgba(255,255,255,.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}

.svc-cta-buttons .btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
}

.svc-cta-buttons .btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,.1);
  transform: translateY(-2px);
}

/* Service page responsive */
@media (max-width: 992px) {
  .svc-features-grid,
  .svc-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .svc-features-grid,
  .svc-steps {
    grid-template-columns: 1fr;
  }
  .svc-cta-section {
    padding: 36px 20px;
  }
  .svc-cta-buttons .btn {
    width: 100%;
    text-align: center;
  }
}

/* --- 10 NEW MICRO-INTERACTIONS --- */

/* 1. Nav Dropdown Slide */
.nav-dropdown li a { transition: all 0.2s ease; }
.nav-dropdown li a:hover { padding-left: 24px; color: var(--primary); }

/* 2. Service Category List Hover effect */
.svc-cat-list li { transition: transform 0.3s ease; }
.svc-cat-list li:hover { transform: translateX(6px); }

/* 3. Service Category Dots Pulse */
.svc-cat-dot { transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.svc-cat-list li:hover .svc-cat-dot { transform: scale(1.6); }

/* 4. Hamburger line morph */
.hamburger span { transition: all 0.3s ease; }
.hamburger:hover span:nth-child(2) { width: 60%; margin-left: 40%; }

/* 5. Back to Top Arrow Bounce */
@keyframes btt-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
#back-to-top:hover { animation: btt-bounce 0.8s ease-in-out infinite; }

/* 6. FAQ Items Elevate on Hover */
.faq-item { transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.faq-item:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }

/* 7. Footer Links Slide Arrow effect */
.footer-col a { transition: all 0.3s ease; display: inline-block; }
.footer-col a:hover { transform: translateX(4px); }

/* 8. Carousel Buttons pop/scale */
.carousel-btn { transition: all 0.3s ease; }
.carousel-btn:hover { transform: scale(1.1); box-shadow: 0 4px 12px rgba(26,109,181,0.2); }

/* 9. Contact info icon wiggle */
@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}
.info-card:hover .info-icon { animation: wiggle 0.4s ease-in-out; display: inline-block; }

/* 10. Star Ratings Flip */
.stars span { display: inline-block; transition: transform 0.4s ease; }
.testimonial-card:hover .stars span:nth-child(even) { transform: scale(1.2) rotate(15deg); }
.testimonial-card:hover .stars span:nth-child(odd) { transform: scale(1.2) rotate(-15deg); }
/* 11. Eyebrow Text Expansion */
.section-eyebrow { transition: letter-spacing 0.3s ease; }
.section-eyebrow:hover { letter-spacing: 0.18em; }

/* 12. Service Icon Wrap Wiggle */
@keyframes shake-icon {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-12deg); }
  50% { transform: rotate(12deg); }
  75% { transform: rotate(-12deg); }
}
.service-icon-wrap { transition: all 0.3s ease; }
.service-card:hover .service-icon-wrap svg { animation: shake-icon 0.6s ease; }

/* 13. Form Input Focus Glow */
.contact-form-wrap input,
.contact-form-wrap textarea { transition: box-shadow 0.3s ease, border-color 0.3s ease; }
.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus { box-shadow: 0 0 0 4px rgba(26,109,181,0.15); border-color: var(--primary); outline: none; }

/* 14. Doctor Image Brightness */
.doctor-card .doctor-img { transition: transform 0.6s ease, filter 0.6s ease; }
.doctor-card:hover .doctor-img { transform: scale(1.08); filter: brightness(1.05); }

/* 15. Nav Link Hover Lift */
.nav-link { transition: transform 0.2s ease, color 0.2s ease; }
.nav-header:not(.scrolled) .nav-link:hover { transform: translateY(-2px); }

/* 16. Testimonial Quote Bounce */
.quote-icon { transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.testimonial-card:hover .quote-icon { transform: scale(1.2) translateY(-4px); }

/* 17. Button Outline Shine Sweep */
.btn-outline { position: relative; overflow: hidden; }
.btn-outline::after {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: rotate(45deg) translateY(100%); transition: transform 0.6s ease;
}
.btn-outline:hover::after { transform: rotate(45deg) translateY(-100%); }

/* 18. About Highlight Checks Hop */
.check-icon { transition: transform 0.3s ease; }
.about-highlights li:hover .check-icon { transform: translateY(-3px) scale(1.1); }

/* 19. Results BA Slider Handle Pulse */
.ba-handle { transition: box-shadow 0.3s ease; }
.ba-slider-wrap:hover .ba-handle { box-shadow: 0 0 0 8px rgba(26,109,181,0.25); }

/* 20. CTA Banner Float Glow */
@keyframes float-pulse {
  0%, 100% { box-shadow: 0 4px 12px rgba(26,109,181,0.3); }
  50% { box-shadow: 0 8px 32px rgba(26,109,181,0.5); }
}
.cta-results-banner:hover { animation: float-pulse 2s infinite alternate; }

/* --- 50 EVEN MORE MICRO-INTERACTIONS --- */

/* 21. Breadcrumb slight slide right */
.breadcrumb-current { transition: transform 0.2s ease, text-shadow 0.2s ease; display: inline-block; }
.breadcrumbs:hover .breadcrumb-current { transform: translateX(2px); text-shadow: 0 0 8px rgba(26,109,181,0.2); }

/* 22. Breadcrumb separator spin */
.breadcrumb-sep { display: inline-block; transition: transform 0.4s ease; }
.breadcrumbs:hover .breadcrumb-sep { transform: rotate(180deg); }

/* 23. Page Hero Title text-shadow glow */
.page-hero-title { transition: text-shadow 0.4s ease; }
.page-hero:hover .page-hero-title { text-shadow: 0 4px 16px rgba(255,255,255,0.3); }

/* 24. Results Stat Number scale up */
.rstat-num { transition: transform 0.3s cubic-bezier(.175,.885,.32,1.275); display: inline-block; }
.rstat:hover .rstat-num { transform: scale(1.15) translateY(-2px); }

/* 25. Results Stat Label underline expand */
.rstat-label { position: relative; }
.rstat-label::after { content: ''; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); width: 0; height: 1px; background: var(--primary); transition: width 0.3s ease; }
.rstat:hover .rstat-label::after { width: 100%; }

/* 26. BA Case Box pop out */
.ba-case { transition: transform 0.4s ease, box-shadow 0.4s ease; }
.ba-case:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 40px rgba(0,0,0,0.08); z-index: 10; position: relative; }

/* 27. BA Hint Label bobble */
@keyframes hint-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
.ba-hint:hover { animation: hint-bob 0.5s ease infinite; }

/* 28. BA Case Title slide right */
.ba-case-title { transition: transform 0.3s ease, color 0.3s ease; }
.ba-case:hover .ba-case-title { transform: translateX(4px); color: var(--primary); }

/* 29. Credential Icon flip */
.cred-icon { transition: transform 0.5s ease; }
.cred-item:hover .cred-icon { transform: rotateY(180deg); }

/* 30. Credential Text emphasize */
.cred-item p { transition: letter-spacing 0.3s ease, font-weight 0.3s ease; }
.cred-item:hover p { letter-spacing: 0.02em; }

/* 31. Doctor Title underline glow */
.doctor-title { transition: text-shadow 0.3s ease; }
.doctor-card:hover .doctor-title { text-shadow: 0 0 10px rgba(26,109,181,0.2); }

/* 32. Doctor Category Tags morph */
.tag { transition: border-radius 0.3s ease, padding 0.3s ease; background-color: var(--bg-light); border: 1px solid var(--border); }
.tag:hover { border-radius: 4px; padding: 4px 14px; background-color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }

/* 33. Feature Image slight tilt */
.feature-img-wrap { transition: transform 0.5s ease; perspective: 1000px; }
.feature-img-wrap:hover { transform: rotateY(5deg) rotateX(2deg); }

/* 34. Footer Logo Name letter spacing */
.footer-logo-name { transition: letter-spacing 0.3s ease; }
.footer-logo:hover .footer-logo-name { letter-spacing: 0.03em; }

/* 35. Mobile CTA Bar slight peek */
.mcta-bar { transition: transform 0.3s ease; }
.mcta-bar:hover { transform: translateY(-4px); }

/* 36. Top Bar Contact Info hover shine */
.topbar-info span { position: relative; overflow: hidden; display: inline-block; transition: color 0.3s ease; }
.topbar-info span:hover { color: var(--primary-light); }

/* 37. Contact Grid Cards deep float */
.contact-grid { transition: box-shadow 0.4s ease; }
.contact-grid:hover { box-shadow: 0 8px 30px rgba(26,109,181,0.06); }

/* 38. Map Container inset shadow enhancement */
.map-container::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 0px var(--primary); transition: box-shadow 0.3s ease; pointer-events: none; }
.map-container:hover::after { box-shadow: inset 0 0 0 4px var(--primary-light); }

/* 39. Footer Brand tagline fade */
.footer-tagline { transition: opacity 0.3s ease; }
.footer-brand:hover .footer-tagline { opacity: 0.8; }

/* 40. Form Submit Button Gradient Shift */
.contact-form-wrap .btn-primary { background-size: 200% auto; transition: background-position 0.5s ease, transform 0.2s ease; }
.contact-form-wrap .btn-primary:hover { background-position: right center; }

/* 41. FAQ Chevron spin full 360 */
.faq-item:hover .faq-chevron { transform: rotate(90deg); }
.faq-item.active:hover .faq-chevron { transform: rotate(270deg); }

/* 42. Dropdown Header Link Dropdown Arrow jump */
.dd-arrow { transition: transform 0.3s ease; }
.nav-dropdown-toggle:hover .dd-arrow { transform: translateY(2px); }

/* 43. Hero Badge Number pop */
.badge-number { transition: transform 0.3s cubic-bezier(.175,.885,.32,1.275); display: inline-block; }
.hero-badge:hover .badge-number { transform: scale(1.15); }

/* 44. Hero Badge Icon jump */
.badge-icon { transition: transform 0.3s ease; }
.hero-badge:hover .badge-icon { transform: translateY(-3px) scale(1.1); }

/* 45. Service Icon Fill Shift */
.service-icon-wrap svg { transition: transform 0.3s ease, fill 0.3s ease; }
.service-card:hover .service-icon-wrap svg { fill: rgba(26,109,181,0.1); }

/* 46. Contact CTA Row Image Hover */
.contact-cta-row img { transition: filter 0.4s ease, transform 0.4s ease; }
.contact-cta-row:hover img { filter: brightness(1.05); transform: scale(1.02); }

/* 47. Logo Subtitle expand */
.logo-sub { transition: letter-spacing 0.3s ease; }
.nav-logo:hover .logo-sub { letter-spacing: 0.23em; }

/* 48. Footer Bottom Section Hover */
.footer-bottom { transition: background 0.4s ease; }
.footer-bottom:hover { background: #0a192f; }

/* 49. Carousel Dots Active expansion */
.carousel-dots span { transition: width 0.3s ease, background 0.3s ease; }
.carousel-dots span:hover { width: 14px; background: var(--primary-light); }

/* 50. Testimonial Header slight pop */
.testimonial-header { transition: transform 0.3s ease; }
.testimonial-card:hover .testimonial-header { transform: translateX(2px); }

/* 51. Patient Name bolden */
.patient-name { transition: color 0.3s ease; }
.testimonial-card:hover .patient-name { color: var(--primary); }

/* 52. Quote Text shift */
.testimonial-text { transition: opacity 0.3s ease; }
.testimonial-card:hover .testimonial-text { opacity: 0.95; }

/* 53. Image overlay scanline */
.doctor-overlay { background: linear-gradient(to bottom, transparent, rgba(26,109,181,0.8)); transition: opacity 0.4s ease, background-position 0.4s ease; background-size: 100% 200%; background-position: 0 100%; }
.doctor-card:hover .doctor-overlay { background-position: 0 0; }

/* 54. Primary Button After Layer Spin */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before { content: ''; position: absolute; inset: 0; background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent); transform: translateX(-100%) skewX(-15deg); transition: transform 0.6s ease; pointer-events: none; z-index: 1;}
.btn-primary:hover::before { transform: translateX(100%) skewX(-15deg); }

/* 55. Outline Button Border pulse */
@keyframes border-pulse { 0% { border-color: rgba(255,255,255,0.6); } 50% { border-color: rgba(255,255,255,1); } 100% { border-color: rgba(255,255,255,0.6); } }
.btn-outline:hover { animation: border-pulse 1.5s infinite; }

/* 56. Error Icon Rotate */
.error-icon { transition: transform 0.6s ease; }
.error-wrap:hover .error-icon { transform: rotate(20deg) scale(1.1); }

/* 57. About Card BG slide */
.about-card-bg { transition: background-position 0.5s ease; }
.about-card-bg:hover { background-position: left center; }

/* 58. Footer Disclaimer Fade */
.footer-disclaimer { transition: opacity 0.3s ease; }
.footer-disclaimer:hover { opacity: 0.9; }

/* 59. Footer Phone numbers hover underline */
.footer-col p { position: relative; display: inline-block; cursor: default; }
.footer-col p::after { content: ''; position: absolute; width: 0; height: 1px; bottom: 0; left: 0; background: var(--text-light); transition: width 0.3s ease; }
.footer-col p:hover::after { width: 100%; }

/* 60. WCU Card heading slide up */
.wcu-card h3 { transition: transform 0.3s ease; display: inline-block; }
.wcu-card:hover h3 { transform: translateY(-2px); }

/* 61. Service Desc opacity reveal */
.service-desc { transition: opacity 0.3s ease; }
.service-card:hover .service-desc { opacity: 1 !important; color: var(--text-mid); }

/* 62. Dental Tips Card Lift */
.dental-tips-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.dental-tips-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.06); }

/* 63. Case Meta Tag Bounce */
.ba-case-meta span { transition: transform 0.2s ease; display: inline-block; }
.ba-case:hover .ba-case-meta span { transform: scale(1.05); }

/* 64. Mobile Link Active Shine */
@keyframes link-shine { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
.mobile-link.active-page { background-image: linear-gradient(90deg, transparent, rgba(26,109,181,0.1), transparent); background-size: 200% auto; animation: link-shine 3s linear infinite; }

/* 65. Google Badge Shadow Elevate */
.google-badge { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.google-badge:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }

/* 66. Scroll Progress Bar Glow */
#progress-bar { transition: box-shadow 0.2s ease; }
#progress-bar:hover { box-shadow: 0 0 10px var(--primary); }

/* 67. Sticky CTA Slide Morph */
.sticky-cta { transition: border-radius 0.3s ease; }
.sticky-cta:hover { border-radius: 8px 8px 0 0; }

/* 68. Review Site Author Avatar Spin */
.author-avatar { transition: transform 0.4s ease; }
.testimonial-card:hover .author-avatar { transform: rotate(10deg) scale(1.05); }

/* 69. Service Cat Number Morph */
.svc-cat-num { transition: transform 0.3s ease, background 0.3s ease; }
.svc-category-card:hover .svc-cat-num { transform: scale(1.1) rotate(-5deg); background: var(--cat-clr); color: #fff; }

/* 70. Svc Cat Header Padding Shift */
.svc-cat-header { transition: padding-left 0.3s ease; }
.svc-category-card:hover .svc-cat-header { padding-left: 8px; }

/* --- 30 FINAL MICRO-INTERACTIONS (71-100) --- */

/* 71. Hero Section Subtle Zoom */
.hero-bg-img { transition: transform 10s ease-out; }
.hero:hover .hero-bg-img { transform: scale(1.05); }

/* 72. Hero Actions spacing push */
.hero-actions { transition: gap 0.3s ease; }
.hero-actions:hover { gap: 20px; }

/* 73. MCTA Call pulse */
.mcta-call { transition: background-color 0.3s ease, border-radius 0.3s ease; }
.mcta-call:hover { background-color: rgba(26,109,181,0.1); border-radius: 8px; }

/* 74. MCTA Dir slide */
.mcta-dir { transition: padding-left 0.3s ease; }
.mcta-dir:hover { padding-left: 12px; }

/* 75. Mobile Menu Backdrop Blur increase */
.mobile-menu { transition: backdrop-filter 0.4s ease; }
.mobile-menu.active { backdrop-filter: blur(16px); }

/* 76. Section Header Line expand */
.section-header::after { content: ''; display: block; width: 40px; height: 3px; background: var(--primary); transition: width 0.4s ease; margin-top: 12px; }
.section-header:hover::after { width: 80px; }

/* 77. Title Tracking Expand */
.section-title { transition: letter-spacing 0.3s ease; }
.section-title:hover { letter-spacing: 0.05em; }

/* 78. Subtitle Opacity Shift */
.section-subtitle { transition: opacity 0.3s ease; }
.section-subtitle:hover { opacity: 0.7; }

/* 79. Team Grid Perspective Tilt */
.team-grid { transition: transform 0.4s ease; perspective: 800px; }
.team-grid:hover { transform: rotateX(1deg); }

/* 80. Topbar background subtle darken */
.topbar { transition: background-color 0.4s ease; }
.topbar:hover { background-color: #051424; }

/* 81. Testimonial Text Color Warmth */
.testimonial-text { transition: color 0.4s ease; }
.testimonial-card:hover .testimonial-text { color: #334155; }

/* 82. FAQ Chevron Color */
.faq-chevron { transition: color 0.3s ease, transform 0.3s ease; }
.faq-item:hover .faq-chevron { color: var(--primary); }

/* 83. FAQ Question Font Weight Interpolation */
.faq-question { transition: letter-spacing 0.3s ease; }
.faq-question:hover { letter-spacing: 0.02em; }

/* 84. About Text Line Height Breathe */
.about-text { transition: line-height 0.4s ease; }
.about-text:hover { line-height: 1.8; }

/* 85. Service Grid Cards Stagger Opacity */
.services-grid:hover .service-card:not(:hover) { opacity: 0.8; filter: grayscale(20%); }

/* 86. Social Icons Color Bloom */
.social-btn { transition: box-shadow 0.3s ease, background 0.3s ease; }
.social-btn:hover { background: var(--primary); color: #fff; box-shadow: 0 0 15px var(--primary); }

/* 87. About Img Wrap Corner morph */
.about-img-wrap { transition: border-radius 0.4s ease; }
.about-img-wrap:hover { border-radius: 4px 40px 4px 40px; }

/* 88. Result Image Filter Pop */
.ba-panel-img { transition: transform 0.5s ease, filter 0.5s ease; filter: contrast(1); }
.ba-slider-wrap:hover .ba-panel-img { filter: contrast(1.05); }

/* 89. Divider width expand */
.case-divider { transition: width 0.4s ease; margin: 0 auto; }
.ba-case:hover .case-divider { width: 80%; }

/* 90. Breadcrumbs List Shift */
.breadcrumbs { transition: transform 0.3s ease; }
.breadcrumbs:hover { transform: translateX(4px); }

/* 91. WA Button Text Shake */
.btn-wa:hover { letter-spacing: 0.5px; }

/* 92. Credentials Banner Gradient Move */
.credentials-banner { background-size: 200% auto; transition: background-position 0.6s ease; }
.credentials-banner:hover { background-position: right center; }

/* 93. Error Code Bounce */
@keyframes error-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.error-code:hover { animation: error-bounce 1s infinite; }

/* 94. Logo Icon Filter Glow */
.nav-logo:hover .logo-icon { filter: drop-shadow(0 0 8px rgba(26,109,181,0.4)); }

/* 95. Page Hero Desc slide */
.page-hero-desc { transition: transform 0.3s ease; }
.page-hero:hover .page-hero-desc { transform: translateY(-2px); }

/* 96. Info Card Text Focus */
.info-card:hover p { color: var(--text-dark); transition: color 0.3s ease; }

/* 97. Service Category Card BG Shift */
.svc-category-card { transition: background-color 0.4s ease, border-color 0.4s ease; }
.svc-category-card:hover { border-color: var(--cat-clr); }

/* 98. Contact CTA Row Rotate Border */
.cta-results-banner { transition: border-radius 0.5s ease; }
.cta-results-banner:hover { border-radius: 24px; }

/* 99. Hamburger Active Line Cross */
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); width: 100%; margin-left: 0; }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); width: 100%; }

/* 100. Universal Image Hover Focus */
img:hover { filter: contrast(1.05); }

/* =============================================
   COMPREHENSIVE RESPONSIVE OVERHAUL
   Ensures pixel-perfect framing on every device
   ============================================= */

/* --- Prevent ALL horizontal overflow globally --- */
html, body { overflow-x: hidden; max-width: 100vw; }
*, *::before, *::after { max-width: 100%; }
img, video, iframe, svg, canvas { max-width: 100%; height: auto; }
/* Exclude icons and avatars from height:auto */
.logo-icon, .footer-logo-icon, .loader-logo-img,
.check-icon, .author-avatar, .gb-g, .vd-photo,
.svc-cat-icon, .svc-icon-wrap, .social-btn,
.carousel-btn, .acc-chevron, .wa-float,
.service-icon-wrap, .teaser-icon { max-width: none; }

/* --- Fix map iframe height --- */
.map-container iframe { height: 100%; max-width: 100%; }

/* ======================
   TABLET — ≤ 1024px
   ====================== */
@media (max-width: 1024px) {
  .hide-on-mobile { display: none !important; }

  .container { padding: 0 20px; }
  .nav-container { padding: 0 20px; }
  .hero-content { padding-left: 20px; padding-right: 20px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid { gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .info-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cta-row { grid-template-columns: repeat(2, 1fr); }
  .svc-features-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-steps { grid-template-columns: repeat(2, 1fr); }
  .tips-grid { grid-template-columns: repeat(2, 1fr); }
  .teasers-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ======================
   SMALL TABLET — ≤ 960px
   ====================== */
@media (max-width: 960px) {
  .section-pad { padding: 72px 0; }
  .section-header { margin-bottom: 40px; }

  .wcu-card { width: calc(50% - 12px); }
  .vd-card { flex: 0 1 calc(50% - 12px); }
  .services-icon-grid { grid-template-columns: repeat(2, 1fr); }

  /* Hero stats wrap */
  .hero-stats { padding: 20px 24px; gap: 0; flex-wrap: wrap; }
  .hero-stat { padding: 0 20px; }
  .hero-headline { font-size: clamp(2.2rem, 6vw, 4rem); }

  /* Credential Banner */
  .credentials-banner { flex-direction: column; }
  .cred-divider { width: 80%; height: 1px; }

  /* Testimonials fix */
  .testimonial-card { flex: 0 0 calc(50% - 12px); }
}

/* ======================
   MOBILE — ≤ 768px
   ====================== */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .container { padding: 0 16px; }
  .nav-container { padding: 0 16px; gap: 12px; }
  .section-pad { padding: 56px 0; }
  .section-header { margin-bottom: 32px; }

  /* Nav — already handled at 1024px breakpoint */

  /* Hero — Major Fix: scale down for mobile */
  .hero { min-height: 100svh; }
  .hero-content { padding: calc(var(--nav-h) + 24px) 16px 80px; text-align: center; align-items: center; display: flex; flex-direction: column; }
  .hero-headline { font-size: clamp(2rem, 8vw, 3rem); max-width: 100%; text-align: center; }
  .hero-sub { font-size: 0.95rem; max-width: 100%; margin-bottom: 28px; text-align: center; }
  .hero-badge { font-size: 0.75rem; padding: 6px 14px; }

  /* Hero Stats — STACK VERTICALLY */
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    width: 100%;
  }
  .hero-stat {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 0;
    width: 100%;
  }
  .hero-stat-divider { width: 100%; height: 1px; }
  .stat-num { font-size: 1.8rem; }

  /* Hero Actions — full width stack */
  .hero-actions { flex-direction: column; gap: 12px; align-items: center; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; text-align: center; }
  .hero-scroll-hint { display: none; }

  /* Trust Bar */
  .trust-container { gap: 0; flex-wrap: wrap; }
  .trust-item {
    padding: 8px 16px;
    font-size: 0.78rem;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.2);
    width: 50%;
    justify-content: center;
    text-align: center;
  }
  .trust-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.2); }
  .trust-item:last-child { border-bottom: none; width: 100%; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-visual { order: -1; }
  .about-img { height: 260px; }
  .about-badge-float { right: 12px; }
  .about-text { padding-right: 0; }

  /* Doctors */
  .doctors-grid { grid-template-columns: 1fr; gap: 24px; }
  .doctor-img-wrap { height: 260px; }
  .doctor-info { padding: 20px; }
  .doctor-name { font-size: 1.3rem; }
  .doctor-bio { font-size: 0.85rem; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 24px 20px; }

  /* Testimonials — CRITICAL FIX: show 1 card at a time */
  .testimonial-card { flex: 0 0 100%; padding: 28px 20px; }
  .testimonials-carousel { border-radius: var(--radius-md); }
  .carousel-controls { margin-top: 28px; gap: 16px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .form-title { font-size: 1.3rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer { padding-top: 48px; }

  /* Page Hero (sub-pages) */
  .page-hero { padding: calc(var(--nav-h) + 40px) 0 56px; }
  .page-hero-title { font-size: clamp(1.8rem, 7vw, 3rem); }
  .page-hero-desc { font-size: 0.93rem; max-width: 100%; }
  .page-hero-pills { gap: 8px; }
  .pill-link { font-size: 0.75rem; padding: 6px 14px; }

  /* Teasers */
  .teasers-grid { grid-template-columns: 1fr; }
  .teaser-card { padding: 24px 20px; gap: 16px; }

  /* Why Choose Us — single column on mobile */
  .wcu-grid { gap: 16px; }
  .wcu-card { width: 100% !important; padding: 24px 20px; }

  /* Dental Tips */
  .tips-grid { grid-template-columns: repeat(2, 1fr); }

  /* FAQ */
  .faq-question { padding: 16px 18px; font-size: 0.93rem; }
  .faq-answer { padding: 0 18px; }
  .faq-item.active .faq-answer { padding: 0 18px 18px; }

  /* Visiting Doctors */
  .vd-card { flex: 0 1 calc(50% - 12px); min-width: 0; }

  /* Service Pages */
  .svc-features-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-steps { grid-template-columns: repeat(2, 1fr); }
  .svc-cta-section { padding: 36px 20px; }
  .svc-cta-section h2 { font-size: 1.4rem; }

  /* Service Category Grid */
  .svc-category-grid { grid-template-columns: 1fr; }

  /* Service Icon Grid */
  .services-icon-grid { grid-template-columns: 1fr; }

  /* Credential Banner */
  .credentials-banner { flex-direction: column; }
  .cred-item { padding: 20px; }

  /* Accordion */
  .acc-header { padding: 16px 18px; gap: 10px; }
  .acc-content { padding: 0 18px 20px; }
  .acc-detail-grid { grid-template-columns: 1fr; gap: 20px; }
  .acc-right .service-badge { display: none; }
  .acc-footer-bar { flex-direction: column; align-items: flex-start; }

  /* Info Cards / CTA */
  .info-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cta-row { grid-template-columns: repeat(2, 1fr); }

  /* Sticky elements repositioned */
  .sticky-cta-bar { display: flex; }
  .wa-float { bottom: 80px; left: 16px; width: 52px; height: 52px; }
  #scroll-to-top { bottom: 80px; right: 14px; width: 40px; height: 40px; }

  /* Google Badge */
  .google-badge { flex-direction: column; text-align: center; padding: 20px; gap: 16px; }

  /* Breadcrumbs */
  .breadcrumbs { margin-bottom: 12px; gap: 6px; }

  /* Payment Grid */
  .payment-grid { gap: 12px; }
  .pay-card { flex: 0 1 calc(50% - 6px); padding: 18px 16px; }
}

/* ======================
   SMALL MOBILE — ≤ 576px
   ====================== */
@media (max-width: 576px) {
  .container { padding: 0 14px; }
  .section-pad { padding: 48px 0; }

  /* Hero refinements */
  .hero-headline { font-size: clamp(1.8rem, 9vw, 2.6rem); line-height: 1.15; }
  .hero-sub { font-size: 0.9rem; }
  .hero-badge { font-size: 0.72rem; }
  .hero-content { padding-bottom: 60px; }
  .stat-num { font-size: 1.6rem; }

  /* About */
  .about-img { height: 220px; }
  .about-badge-float { padding: 12px 16px; }
  .badge-number { font-size: 1.6rem; }
  .badge-text { font-size: 0.65rem; }

  /* Doctors */
  .doctor-img-wrap { height: 220px; }
  .doctor-name { font-size: 1.15rem; }
  .doctor-info { padding: 18px 16px; }
  .doctor-tags { gap: 6px; }
  .tag { font-size: 0.7rem; padding: 3px 10px; }

  /* WCU — single column */
  .wcu-card { width: 100%; }
  .wcu-card { padding: 24px 20px; }

  /* Testimonials */
  .testimonial-card { padding: 24px 16px; }
  .quote-icon { font-size: 2.8rem; }
  .testimonial-text { font-size: 0.88rem; }
  .carousel-btn { width: 40px; height: 40px; }

  /* Contact */
  .contact-form-wrap { padding: 24px 14px; }
  .info-cards-grid { grid-template-columns: 1fr; }
  .contact-cta-row { grid-template-columns: 1fr; }

  /* Tips — single column */
  .tips-grid { grid-template-columns: 1fr; }

  /* Visiting Doctors — single column */
  .vd-card { flex: 0 1 100%; }
  .vd-card { padding: 24px 20px; }

  /* Service Pages — single column */
  .svc-features-grid { grid-template-columns: 1fr; }
  .svc-steps { grid-template-columns: 1fr; }
  .svc-cta-buttons .btn { width: 100%; text-align: center; }

  /* Trust Bar */
  .trust-item { width: 100%; border-right: none; }
  .trust-item:nth-child(odd) { border-right: none; }

  /* Section Typography */
  .section-title { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .section-desc { font-size: 0.93rem; }
  .section-eyebrow { font-size: 0.72rem; padding: 5px 12px; }

  /* Footer */
  .footer-grid { gap: 24px; }

  /* Loader */
  .loader-name { font-size: 1.4rem; }
  .loader-bar { width: 140px; }

  /* Mobile CTA Bar */
  .mcta-btn { font-size: 0.68rem; padding: 8px 2px; }
  .mobile-cta-bar { padding: 6px 10px; }

  /* Emergency Banner */
  .emergency-inner { gap: 10px; flex-wrap: wrap; }
  .emergency-banner { font-size: 0.78rem; padding: 8px 12px; }
}

/* ======================
   EXTRA SMALL — ≤ 420px
   ====================== */
@media (max-width: 420px) {
  .container { padding: 0 12px; }

  .hero-headline { font-size: clamp(1.6rem, 10vw, 2.2rem); }
  .hero-content { padding: calc(var(--nav-h) + 16px) 12px 56px; }

  /* Hero Stats compact */
  .hero-stats { padding: 16px; border-radius: var(--radius-md); }
  .stat-num { font-size: 1.4rem; }
  .stat-label { font-size: 0.7rem; }

  /* Nav Logo */
  .logo-name { font-size: 0.9rem; }
  .logo-sub { font-size: 0.6rem; }

  /* Buttons */
  .btn { padding: 12px 22px; font-size: 0.88rem; }
  .btn-lg { padding: 14px 28px; font-size: 0.92rem; }

  /* Page Hero sub-pages */
  .page-hero { padding: calc(var(--nav-h) + 28px) 0 40px; }
  .page-hero-title { font-size: clamp(1.5rem, 8vw, 2.4rem); }

  /* Accordion compact */
  .acc-header { padding: 14px 14px; }
  .acc-left { gap: 10px; }
  .acc-title-block .service-name { font-size: 0.92rem; }
  .acc-tagline { font-size: 0.75rem; }

  /* FAQ compact */
  .faq-question { font-size: 0.88rem; padding: 14px 14px; gap: 10px; }

  /* Credential Banner */
  .cred-item { padding: 16px; gap: 12px; }
  .cred-icon { font-size: 1.4rem; }
  .cred-item strong { font-size: 0.85rem; }
  .cred-item span { font-size: 0.72rem; }

  /* Service Cards */
  .service-card { padding: 20px 16px; }
  .service-name { font-size: 0.95rem; }
  .service-desc { font-size: 0.82rem; }

  /* Contact Form */
  .form-title { font-size: 1.15rem; }
  .form-group label { font-size: 0.78rem; }
  .form-group input, .form-group select, .form-group textarea { padding: 10px 12px; font-size: 0.88rem; }

  /* Footer */
  .footer-col h4 { font-size: 0.78rem; }
  .footer-col li, .footer-col a { font-size: 0.82rem; }
  .footer-tagline { font-size: 0.82rem; }

  /* Google Badge */
  .google-badge { padding: 16px; }
  .gb-label { font-size: 0.88rem; }
}

/* ======================
   TINY SCREEN — ≤ 360px
   ====================== */
@media (max-width: 360px) {
  .container { padding: 0 10px; }

  .hero-headline { font-size: 1.4rem; word-break: break-word; }
  .hero-sub { font-size: 0.85rem; }
  .hero-badge { font-size: 0.68rem; padding: 5px 10px; }

  .hero-stats { padding: 14px 12px; }
  .stat-num { font-size: 1.2rem; }
  .hero-stat { gap: 8px; }

  .btn { padding: 10px 18px; font-size: 0.82rem; gap: 6px; }

  .section-title { font-size: 1.3rem; }
  .section-desc { font-size: 0.85rem; }

  .page-hero-title { font-size: 1.4rem; }
  .page-hero-desc { font-size: 0.85rem; }

  .doctor-name { font-size: 1.05rem; }
  .doctor-img-wrap { height: 200px; }

  .testimonial-card { padding: 20px 14px; }
  .testimonial-text { font-size: 0.84rem; }
  .quote-icon { font-size: 2.4rem; }

  .wcu-card { padding: 20px 16px; }
  .wcu-icon { font-size: 1.8rem; }
  .wcu-card h3 { font-size: 0.9rem; }
  .wcu-card p { font-size: 0.8rem; }

  .tip-card { padding: 22px 16px; }
  .tip-number { font-size: 2rem; }

  .teaser-card { padding: 20px 16px; gap: 14px; }
  .teaser-icon { width: 44px; height: 44px; }
  .teaser-content h3 { font-size: 1rem; }
  .teaser-content p { font-size: 0.82rem; }

  .svc-cta-section { padding: 28px 14px; }
  .svc-cta-section h2 { font-size: 1.2rem; }
  .svc-cta-section p { font-size: 0.88rem; }

  .loader-name { font-size: 1.2rem; }
  .loader-sub { font-size: 0.72rem; }
  .loader-bar { width: 120px; }

  .about-img { height: 180px; }
  .about-badge-float { padding: 10px 14px; }
  .badge-number { font-size: 1.4rem; }
}

/* ======================
   SAFE HEIGHT / LANDSCAPE FIX
   ====================== */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; padding-bottom: 40px; }
  .hero-content { padding-top: calc(var(--nav-h) + 16px); padding-bottom: 40px; }
  .hero-stats { display: none; }
  .hero-scroll-hint { display: none; }
}

/* ======================
   SAFE AREA (NOTCH) FIX
   ====================== */
@supports (padding: env(safe-area-inset-bottom)) {
  .mobile-cta-bar { padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .sticky-cta-bar { bottom: calc(24px + env(safe-area-inset-bottom)); }
}

/* ======================
   WORD BREAK / OVERFLOW SAFETY
   ====================== */
.hero-headline,
.page-hero-title,
.section-title,
.doctor-name,
.vd-name,
.wcu-card h3,
.teaser-content h3,
.svc-cat-title,
.form-title,
.loader-name,
.svc-cta-section h2 {
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.hero-sub,
.page-hero-desc,
.section-desc,
.about-desc,
.doctor-bio,
.testimonial-text,
.faq-answer p,
.svc-section p,
.acc-intro,
.footer-tagline,
.wcu-card p,
.tip-card p,
.teaser-content p {
  overflow-wrap: break-word;
  word-break: break-word;
}
