/* ==========================================================================
   SYNERGY DENTAL HOSPITAL & 24/7 DENTAL CARE CENTRE
   Modern, Clean, High-Conversion Healthcare Stylesheet
   ========================================================================== */

:root {
  /* Font Families */
  --font-heading: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;

  /* Brand Palette */
  --brand-dark: #0f2413;
  --brand-forest: #173d2a;
  --brand-primary: #245e45;
  --brand-sage: #40916c;
  --brand-mint: #d8f3dc;
  --brand-mint-light: #edf7f0;
  
  /* Accent Warm Tones */
  --accent-coral: #d95d39;
  --accent-amber: #e78c43;
  --accent-gold: #d97706;
  --accent-red: #dc2626;

  /* High-Readability Neutral Canvas & Text Tokens */
  --bg-page: #fbfbf9;
  --bg-card: #ffffff;
  --bg-card-alt: #f4efe6;
  --bg-section-tint: #f3f6f3;
  --text-main: #132218;       /* Deep high-contrast charcoal for crisp reading */
  --text-muted: #3a4d3f;      /* Enhanced contrast for body copy & descriptions */
  --text-light: #597060;      /* Clear secondary labels & metadata */
  --text-dim: #738b7a;
  --border-subtle: rgba(36, 94, 69, 0.14);
  --border-card: rgba(0, 0, 0, 0.07);
  --shadow-sm: 0 4px 14px rgba(15, 36, 19, 0.05);
  --shadow-md: 0 12px 32px rgba(15, 36, 19, 0.08);
  --shadow-lg: 0 24px 50px rgba(15, 36, 19, 0.12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 9999px;
  --container-max: 1280px;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --pop-timing: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------------
   POP REVEAL ANIMATIONS (SCROLL UP & DOWN DUAL TRIGGER)
   -------------------------------------------------------------------------- */
[data-aos="pop-reveal"] {
  opacity: 0;
  transform: scale(0.84) translateY(36px);
  filter: blur(6px);
  transition-property: transform, opacity, filter !important;
  transition-duration: 850ms !important;
  transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  will-change: transform, opacity, filter;
}

[data-aos="pop-reveal"].aos-animate {
  opacity: 1;
  transform: scale(1) translateY(0);
  filter: blur(0);
}

[data-aos="pop-scale"] {
  opacity: 0;
  transform: scale(0.72);
  transition-property: transform, opacity !important;
  transition-duration: 750ms !important;
  transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  will-change: transform, opacity;
}

[data-aos="pop-scale"].aos-animate {
  opacity: 1;
  transform: scale(1);
}

[data-aos="pop-left"] {
  opacity: 0;
  transform: translateX(-45px) scale(0.86);
  transition-property: transform, opacity !important;
  transition-duration: 800ms !important;
  transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  will-change: transform, opacity;
}

[data-aos="pop-left"].aos-animate {
  opacity: 1;
  transform: translateX(0) scale(1);
}

[data-aos="pop-right"] {
  opacity: 0;
  transform: translateX(45px) scale(0.86);
  transition-property: transform, opacity !important;
  transition-duration: 800ms !important;
  transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  will-change: transform, opacity;
}

[data-aos="pop-right"].aos-animate {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* --------------------------------------------------------------------------
   RESET & BASE TYPOGRAPHY
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: -0.006em;
  font-weight: 400;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--brand-dark);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

.section-container {
  width: min(var(--container-max), calc(100% - 48px));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   TOP EMERGENCY & UTILITY BAR
   -------------------------------------------------------------------------- */
.top-util-bar {
  background: var(--brand-dark);
  color: #e2ede5;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 101;
}

.util-container {
  width: min(var(--container-max), calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.util-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.emergency-alert {
  color: #ffedd5;
  font-weight: 600;
}

.emergency-link {
  color: #fca5a5;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.emergency-link:hover {
  color: #ffffff;
}

.live-pulse {
  width: 9px;
  height: 9px;
  background-color: var(--accent-red);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.util-right {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #c0d4c6;
}

.mini-svg {
  width: 15px;
  height: 15px;
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   SITE HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 251, 249, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(45, 106, 79, 0.08);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 24px rgba(19, 42, 19, 0.06);
}

.header-container {
  width: min(var(--container-max), calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 65px;
  gap: 20px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
}

.brand-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: transparent;
}

.paw-cross-svg {
  width: 100%;
  height: 100%;
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
}

.brand-main {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--brand-dark);
  line-height: 1;
}

.brand-sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--brand-primary);
  margin-top: 3px;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--brand-primary);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-whatsapp-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-whatsapp-icon:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

.btn-primary-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-forest));
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 18px rgba(36, 94, 69, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-primary-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(45, 106, 79, 0.35);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  cursor: pointer;
  padding: 6px;
}

.mobile-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--brand-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 50px 0 70px;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.blob-gradient {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(82, 183, 136, 0.35), rgba(45, 106, 79, 0.1));
  top: -100px;
  left: -100px;
  animation: float-blob 12s ease-in-out infinite alternate;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(244, 162, 97, 0.3), rgba(231, 111, 81, 0.1));
  bottom: -50px;
  right: -50px;
  animation: float-blob 10s ease-in-out infinite alternate-reverse;
}

@keyframes float-blob {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.1); }
}

.hero-grid-layout {
  width: min(var(--container-max), calc(100% - 48px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-mint-light);
  border: 1px solid rgba(36, 94, 69, 0.22);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--brand-forest);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
}

.badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--brand-sage);
}

.hero-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 4.4vw, 4.2rem);
  letter-spacing: -0.035em;
  color: var(--brand-dark);
  margin-bottom: 22px;
  line-height: 1.12;
  font-weight: 900;
}

.highlight-text {
  color: var(--brand-primary);
  position: relative;
  display: inline-block;
}

.highlight-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 100%;
  height: 10px;
  background: rgba(64, 145, 108, 0.24);
  border-radius: 4px;
  z-index: -1;
}

.hero-lead-desc {
  font-family: var(--font-body);
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 36px;
  max-width: 600px;
  font-weight: 450;
}

.hero-lead-desc strong {
  color: var(--brand-dark);
  font-weight: 700;
}

.hero-action-cluster {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-forest));
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 800;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 28px rgba(36, 94, 69, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: -0.01em;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(36, 94, 69, 0.4);
}

.btn-hero-emergency {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1.5px solid rgba(220, 38, 38, 0.3);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  color: var(--brand-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-hero-emergency:hover {
  transform: translateY(-2px);
  border-color: var(--accent-red);
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.16);
}

.emergency-icon-ring {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fee2e2;
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-hero-emergency small {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn-hero-emergency strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--accent-red);
  font-weight: 800;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--brand-forest);
}

/* Hero Media Showcase */
.hero-visual-col {
  position: relative;
}

.hero-media-wrapper {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-left: auto;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.8s ease;
}

.hero-media-wrapper:hover .hero-main-img {
  transform: scale(1.06);
}

.img-overlay-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(19, 42, 19, 0.4) 100%);
}

/* Floating Badges */
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(19, 42, 19, 0.12);
  z-index: 2;
  transition: transform 0.3s ease;
}

.float-doctor {
  bottom: 24px;
  left: -24px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: float-slow 4s ease-in-out infinite alternate;
}

.doc-avatar-wrap {
  position: relative;
  width: 54px;
  height: 54px;
}

.doc-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-sage);
}

.status-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #ffffff;
}

.doc-info h4 {
  font-size: 1.02rem;
  margin-bottom: 2px;
}

.doc-info p {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}

.doc-badge {
  display: inline-block;
  font-size: 0.68rem;
  background: var(--brand-mint);
  color: var(--brand-forest);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
}

.float-rating {
  top: 30px;
  right: -20px;
  padding: 14px 18px;
  min-width: 190px;
  animation: float-slow 4.5s ease-in-out 1s infinite alternate;
}

.rating-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.google-logo {
  width: 16px;
  height: 16px;
  background: #4285f4;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 900;
}

.rating-score-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.big-score {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--brand-dark);
}

.stars-gold {
  color: var(--accent-gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.stars-column small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-light);
  font-weight: 600;
}

.float-emergency {
  top: 190px;
  left: -20px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(19, 42, 19, 0.9);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: float-slow 5s ease-in-out 0.5s infinite alternate;
}

.pulse-beacon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
}

.emergency-text span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: #fca5a5;
  font-weight: 700;
}

.emergency-text strong {
  display: block;
  font-size: 0.86rem;
}

@keyframes float-slow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* --------------------------------------------------------------------------
   QUICK TRIAGE & ESSENTIALS STRIP
   -------------------------------------------------------------------------- */
.quick-triage-strip {
  padding: 20px 0 40px;
}

.triage-container {
  width: min(var(--container-max), calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.triage-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.triage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-sage);
}

.triage-card.triage-hot {
  border-left: none;
}

.triage-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.triage-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.ic-green { background: var(--brand-mint); color: var(--brand-forest); }
.ic-red { background: #fee2e2; color: var(--accent-red); }
.ic-orange { background: #ffedd5; color: var(--accent-coral); }
.ic-blue { background: #ffedff; color: #0284c7; }

.triage-info h4 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 3px;
  color: var(--brand-dark);
}

.triage-info p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
  font-weight: 500;
}

.triage-arrow {
  margin-left: auto;
  font-size: 1.25rem;
  color: var(--text-light);
  transition: transform 0.2s ease, color 0.2s ease;
}

.triage-card:hover .triage-arrow {
  transform: translateX(4px);
  color: var(--brand-primary);
}

/* --------------------------------------------------------------------------
   CLINIC STATS BAND
   -------------------------------------------------------------------------- */
.clinic-stats-band {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-forest));
  color: #ffffff;
  padding: 24px 0;
  border-radius: 32px;
  width: min(var(--container-max), calc(100% - 48px));
  margin: 20px auto 40px;
  box-shadow: var(--shadow-lg);
}

.stats-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  padding: 0 24px;
}

.stat-box {
  position: relative;
}

.stat-box:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.stat-number-flex {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 3.6vw, 4rem);
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  margin-bottom: 8px;
}

.stat-unit {
  color: var(--brand-sage);
  font-size: 0.55em;
  transform: translateY(2px);
}

.stat-title {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-section {
  padding: 30px 0 70px;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  align-items: center;
  gap: 56px;
}

.about-image-stack {
  position: relative;
  padding: 18px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(36, 94, 69, 0.08), rgba(64, 145, 108, 0.12));
  box-shadow: var(--shadow-md);
}

.about-main-image {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.about-mini-card {
  position: absolute;
  right: 28px;
  bottom: 30px;
  background: rgba(15, 36, 19, 0.9);
  color: #ffffff;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  max-width: 220px;
}

.mini-card-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
}

.about-mini-card strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
  margin-bottom: 4px;
}

.about-mini-card small {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.about-content {
  max-width: 640px;
}

.about-points {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.about-point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 18px 18px 14px;
  border: 1px solid var(--border-card);
  background: rgba(255, 255, 255, 0.45);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.point-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-mint);
  color: var(--brand-forest);
  font-weight: 900;
  font-size: 1.1rem;
}

.about-point h3 {
  font-size: 1.12rem;
  margin-bottom: 4px;
}

.about-point p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.about-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.text-link {
  position: relative;
  font-family: var(--font-body);
  font-weight: 800;
  color: var(--brand-primary);
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: rgba(36, 94, 69, 0.32);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.text-link:hover::after {
  transform: scaleX(1.15);
}

/* --------------------------------------------------------------------------
   SECTION HEADERS (REUSABLE)
   -------------------------------------------------------------------------- */
.section-header-centered {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-tag-pill {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: var(--brand-mint);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.section-tag-pill.light {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin-bottom: 14px;
  color: var(--brand-dark);
  font-weight: 850;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 450;
}

/* --------------------------------------------------------------------------
   VETERINARY SERVICES GRID
   -------------------------------------------------------------------------- */
.services-section {
  padding: 50px 0 80px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(36, 94, 69, 0.28);
}

.service-visual {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-visual img {
  transform: scale(1.08);
}

.service-chip {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-forest);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.service-chip.hot {
  background: var(--accent-red);
  color: #ffffff;
}

.service-body {
  padding: 28px 24px 24px;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-icon-circle {
  position: absolute;
  top: -26px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(36, 94, 69, 0.3);
}

.service-icon-circle svg {
  width: 24px;
  height: 24px;
}

.service-body h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.25;
  color: var(--brand-dark);
}

.service-body p {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 18px;
}

.service-features-list {
  list-style: none;
  margin-top: auto;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
  padding-top: 14px;
}

.service-features-list li {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-main);
  font-weight: 600;
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  line-height: 1.45;
}

.service-features-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--brand-sage);
  font-size: 1.2rem;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   INTERACTIVE LIFE-STAGE MATRIX
   -------------------------------------------------------------------------- */
.life-stages-section {
  padding: 80px 0;
  background: var(--bg-section-tint);
}

.stage-nav-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.stage-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: left;
}

.stage-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-mint);
  color: var(--brand-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.stage-tab-btn strong {
  display: block;
  font-size: 0.98rem;
  color: var(--brand-dark);
}

.stage-tab-btn small {
  display: block;
  font-size: 0.74rem;
  color: var(--text-light);
}

.stage-tab-btn.active,
.stage-tab-btn:hover {
  background: var(--brand-forest);
  border-color: var(--brand-forest);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stage-tab-btn.active strong,
.stage-tab-btn:hover strong {
  color: #ffffff;
}

.stage-tab-btn.active small,
.stage-tab-btn:hover small {
  color: rgba(255, 255, 255, 0.7);
}

.stage-tab-btn.active .stage-num,
.stage-tab-btn:hover .stage-num {
  background: #ffffff;
  color: var(--brand-forest);
}

.stage-display-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}

.stage-kicker {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: var(--brand-primary);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.stage-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 850;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--brand-dark);
}

.stage-desc {
  font-family: var(--font-body);
  font-size: 1.06rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 24px;
}

.stage-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.45;
}

.stage-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stage-tags-wrap span {
  background: var(--brand-mint-light);
  border: 1px solid rgba(36, 94, 69, 0.22);
  color: var(--brand-forest);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 700;
}

.stage-photo-box {
  position: relative;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.stage-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage-age-pill {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(15, 36, 19, 0.9);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   PET HEALTH SYMPTOM CHECKER
   -------------------------------------------------------------------------- */
.symptom-section {
  padding: 80px 0;
}

.symptom-wrapper {
  background: linear-gradient(135deg, #183322, #0d2212);
  color: #ffffff;
  border-radius: 36px;
  padding: 52px 48px;
  box-shadow: var(--shadow-lg);
}

.symptom-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.symptom-header h2 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: clamp(2rem, 2.8vw, 2.8rem);
  font-weight: 850;
  margin-bottom: 12px;
  line-height: 1.2;
}

.symptom-header p {
  font-family: var(--font-body);
  color: #d1e5d7;
  font-size: 1.05rem;
  line-height: 1.68;
}

.symptom-interactive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.symptom-btn-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.symptom-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 1rem;
  transition: var(--transition);
}

.symptom-btn .symp-icon {
  font-size: 1.35rem;
}

.symptom-btn:hover,
.symptom-btn.active {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--brand-sage);
  transform: translateX(6px);
}

.symptom-btn.active {
  box-shadow: 0 0 0 2px var(--brand-sage);
}

.symptom-result-panel {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 34px;
  backdrop-filter: blur(10px);
}

.urgency-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.urgency-badge.red { background: #fee2e2; color: #991b1b; }
.urgency-badge.yellow { background: #fef3c7; color: #92400e; }
.urgency-badge.green { background: #dcfce7; color: #166534; }

.symptom-result-panel h3 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.25;
}

.symptom-result-panel p {
  font-family: var(--font-body);
  color: #d6e8dc;
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 22px;
}

.result-action-box {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  padding: 22px;
}

.result-action-box strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.result-action-box ul {
  list-style: disc inside;
  color: #e2e8f0;
  font-family: var(--font-body);
  font-size: 0.94rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.btn-emergency-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--accent-red);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.98rem;
  padding: 15px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.45);
  transition: transform 0.2s ease;
}

.btn-emergency-now:hover {
  transform: scale(1.02);
}

/* --------------------------------------------------------------------------
   VACCINATION TIMETABLE
   -------------------------------------------------------------------------- */
.vaccine-chart-section {
  padding: 80px 0;
  background: var(--bg-page);
}

.vaccine-table-wrapper {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
  padding: 32px;
  overflow: hidden;
}

.table-tab-row {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 16px;
}

.vaccine-tab-btn {
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.vaccine-tab-btn.active,
.vaccine-tab-btn:hover {
  background: var(--brand-mint);
  color: var(--brand-forest);
}

.vaccine-table-view {
  display: none;
  overflow-x: auto;
}

.vaccine-table-view.active {
  display: block;
}

.vac-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.vac-table th {
  background: var(--bg-section-tint);
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-dark);
  font-weight: 800;
}

.vac-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--text-main);
  line-height: 1.5;
}

.vac-table td strong {
  color: var(--brand-dark);
  font-weight: 750;
}

.badge-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-tag.essential { background: #dbeafe; color: #1e40af; }
.badge-tag.mandatory { background: #fee2e2; color: #991b1b; }
.badge-tag.routine { background: #f3f4f6; color: #374151; }

/* --------------------------------------------------------------------------
   TREATMENT VIDEOS SHOWCASE (AT BOTTOM OF VACCINE SECTION)
   -------------------------------------------------------------------------- */
.treatment-videos-wrapper {
  margin-top: 50px;
  padding-top: 44px;
  border-top: 1px dashed rgba(36, 94, 69, 0.22);
}

.video-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 36px;
}

.video-block-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 850;
  color: var(--brand-dark);
  margin-bottom: 10px;
  line-height: 1.2;
}

.video-block-desc {
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.68;
}

.treatment-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.treatment-video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.treatment-video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.video-player-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.video-player-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* YouTube lazy thumbnail */
.video-player-frame.yt-lazy {
  cursor: pointer;
  overflow: hidden;
}

.yt-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.video-player-frame.yt-lazy:hover .yt-thumb {
  transform: scale(1.04);
}

.yt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.6));
  transition: transform 0.2s ease, filter 0.2s ease;
  pointer-events: none;
}

.video-player-frame.yt-lazy:hover .yt-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  filter: drop-shadow(0 6px 24px rgba(0,0,0,0.8));
}

.video-player-frame.yt-lazy.playing iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-card-body {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.video-meta-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
}

.vid-badge {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.badge-vaccine { background: #dcfce7; color: #166534; }
.badge-dental { background: #e0f2fe; color: #0369a1; }
.badge-usg { background: #fef3c7; color: #92400e; }

.vid-duration {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 650;
}

.video-card-body h4 {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.3;
  color: var(--brand-dark);
}

.video-card-body p {
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.62;
  margin: 0;
}

/* --------------------------------------------------------------------------
   MEET THE VETS
   -------------------------------------------------------------------------- */
.doctors-section {
  padding: 80px 0;
  background: var(--bg-section-tint);
}

.doctors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  max-width: 1040px;
  margin: 0 auto;
}

.doctor-profile-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-profile-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.doc-card-img {
  position: relative;
  height: 100%;
  min-height: 280px;
}

.doc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-exp {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(15, 36, 19, 0.92);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 800;
}

.doc-card-content {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.doc-role {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--brand-primary);
  margin-bottom: 4px;
}

.doc-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 850;
  margin-bottom: 4px;
  color: var(--brand-dark);
}

.doc-degrees {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 12px;
}

.doc-bio {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.doc-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  margin-top: auto;
}

.doc-specialties span {
  background: var(--bg-section-tint);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-forest);
  padding: 4px 10px;
  border-radius: 6px;
}

.btn-consult-doc {
  display: inline-block;
  text-align: center;
  background: var(--brand-mint);
  color: var(--brand-forest);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 11px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.btn-consult-doc:hover {
  background: var(--brand-forest);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   FACILITIES GALLERY
   -------------------------------------------------------------------------- */
.facility-section {
  padding: 80px 0;
}

.facility-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.facility-card {
  position: relative;
  height: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.facility-card.feat-large {
  grid-column: span 2;
}

.facility-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.facility-card:hover img {
  transform: scale(1.08);
}

.facility-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(15, 36, 19, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #ffffff;
}

.facility-overlay h4 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.facility-overlay p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   APPOINTMENT BOOKING FORM
   -------------------------------------------------------------------------- */
.appointment-section {
  padding: 70px 0;
}

.appointment-card-box {
  background: var(--bg-card);
  border-radius: 36px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  overflow: hidden;
}

.appointment-left-promo {
  background: linear-gradient(135deg, var(--brand-forest), var(--brand-dark));
  color: #ffffff;
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
}

.promo-tag {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--brand-sage);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.appointment-left-promo h2 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: clamp(2rem, 2.6vw, 2.8rem);
  font-weight: 850;
  margin-bottom: 16px;
  line-height: 1.2;
}

.appointment-left-promo p {
  font-family: var(--font-body);
  color: #d6e8dc;
  font-size: 1.05rem;
  line-height: 1.68;
  margin-bottom: 32px;
}

.promo-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.point-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: #ffffff;
  line-height: 1.45;
}

.pt-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-mint);
  color: var(--brand-forest);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.emergency-call-card {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.call-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-red);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emergency-call-card small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  color: #fca5a5;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.emergency-call-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  color: #ffffff;
  font-weight: 800;
}

.appointment-right-form {
  padding: 52px 48px;
  background: var(--bg-card);
}

.booking-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  background: var(--bg-section-tint);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 0.98rem;
  color: var(--text-main);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-primary);
  background: #ffffff;
}

.btn-submit-booking {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-forest));
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.08rem;
  padding: 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 24px rgba(36, 94, 69, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit-booking:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(36, 94, 69, 0.4);
}

.form-privacy-note {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   TESTIMONIALS & REVIEWS
   -------------------------------------------------------------------------- */
.testimonials-section {
  padding: 80px 0;
  background: var(--bg-section-tint);
}

.testimonial-topline-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 44px;
  flex-wrap: wrap;
  gap: 20px;
}

.google-rating-pill-large {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.g-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #4285f4;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.testimonials-slider-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.review-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease;
}

.review-box:hover {
  transform: translateY(-5px);
}

.review-quote-icon {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 0.8;
  color: rgba(64, 145, 108, 0.35);
  margin-bottom: 4px;
}

.review-text {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 22px;
  flex: 1;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 14px;
}

.avatar-letter {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
}

.bg-1 { background: #fee2e2; color: #b91c1c; }
.bg-2 { background: #dbeafe; color: #1d4ed8; }
.bg-3 { background: #fef3c7; color: #b45309; }
.bg-4 { background: #dcfce7; color: #15803d; }

.reviewer-meta strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.reviewer-meta small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   FAQ SECTION
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 80px 0;
}

.faq-accordion-grid {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease;
}

.faq-item.active {
  border-color: var(--brand-primary);
}

.faq-question-btn {
  width: 100%;
  background: transparent;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--brand-dark);
  cursor: pointer;
  line-height: 1.35;
}

.faq-chevron {
  font-size: 1.25rem;
  color: var(--brand-primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 26px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.72;
}

.faq-item.active .faq-answer-content {
  max-height: 300px;
  padding: 0 26px 22px;
}

/* --------------------------------------------------------------------------
   24/7 EMERGENCY BANNER
   -------------------------------------------------------------------------- */
.emergency-banner-section {
  padding: 30px 0 80px;
}

.emergency-banner-box {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 50%, #fecdd3 100%);
  color: #7f1d1d;
  border: 1px solid #fca5a5;
  border-radius: 36px;
  padding: 54px 48px;
  text-align: center;
  box-shadow: 0 20px 44px rgba(225, 29, 72, 0.08);
  position: relative;
  overflow: hidden;
}

.banner-badge-hot {
  display: inline-block;
  background: #fecdd3;
  color: #991b1b;
  border: 1px solid #fda4af;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.emergency-banner-box h2 {
  font-family: var(--font-heading);
  color: #881337;
  font-size: clamp(2.2rem, 3.4vw, 3.4rem);
  font-weight: 850;
  line-height: 1.18;
  margin-bottom: 12px;
}

.emergency-banner-box p {
  font-family: var(--font-body);
  color: #9f1239;
  font-size: 1.14rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 34px;
}

.banner-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-banner-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #dc2626;
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.08rem;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.25);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-banner-call:hover {
  background: #b91c1c;
  transform: translateY(-2px) scale(1.02);
}

.btn-banner-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.08rem;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s ease;
}

.btn-banner-wa:hover {
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.synergy-footer {
  background: var(--brand-dark);
  color: #c9ded0;
  padding: 70px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.f-logo-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.f-logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.footer-bio {
  font-family: var(--font-body);
  font-size: 0.96rem;
  line-height: 1.7;
  color: #b1ccb9;
  margin-bottom: 20px;
}

.footer-social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.social-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
  flex-shrink: 0;
}

.social-icon-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Per-platform brand colors on hover */
.social-icon-btn[aria-label="Instagram"]:hover  { background: #e1306c; border-color: #e1306c; }
.social-icon-btn[aria-label="Facebook"]:hover   { background: #1877f2; border-color: #1877f2; }
.social-icon-btn[aria-label="WhatsApp"]:hover   { background: #25d366; border-color: #25d366; color: #fff; }
.social-icon-btn[aria-label="YouTube"]:hover    { background: #ff0000; border-color: #ff0000; }
.social-icon-btn[aria-label="Google Reviews"]:hover { background: #4285f4; border-color: #4285f4; }

.footer-col h4 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2.5px;
  background: var(--brand-sage);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links a {
  font-family: var(--font-body);
  color: #b1ccb9;
  font-size: 0.96rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  line-height: 1.6;
}

.footer-contact-list a {
  color: var(--brand-mint);
  font-weight: 700;
}

.footer-contact-list strong {
  color: #ffffff;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: #8bb198;
}

.footer-credit-text {
  width: 100%;
  text-align: center;
  margin-top: 10px;
  padding-top: 18px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-credit-text .dev-by {
  font-size: 0.66rem;
  font-weight: 500;
  color: #7b9c86;
  letter-spacing: 0.02em;
  text-transform: none;
  margin-right: 4px;
}

.footer-credit-text .com-pink {
  color: #e6007e;
  font-weight: 800;
}

.footer-credit-text .transe-cyan {
  color: #00aeef;
  font-weight: 800;
}

.footer-credit-text .credit-gray {
  color: #94a3b8;
  font-weight: 600;
}


/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .main-navigation {
    gap: 16px;
  }

  .nav-link {
    font-size: 0.9rem;
  }
}

@media (max-width: 1080px) {
  .header-container {
    height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .main-navigation {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-grid-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead-desc {
    margin-inline: auto;
  }

  .hero-action-cluster,
  .hero-trust-row {
    justify-content: center;
  }

  .hero-media-wrapper {
    margin: 30px auto 0;
  }

  .triage-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-box:nth-child(2)::after {
    display: none;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-content {
    max-width: 100%;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .treatment-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stage-display-card {
    grid-template-columns: 1fr;
  }

  .symptom-interactive-grid {
    grid-template-columns: 1fr;
  }

  .doctors-grid {
    grid-template-columns: 1fr;
  }

  .facility-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .appointment-card-box {
    grid-template-columns: 1fr;
  }

  .testimonials-slider-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid-layout {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  /* Compact section paddings to eliminate massive scrolling length */
  .hero-section {
    padding: 24px 0 36px;
  }

  .services-section,
  .life-stages-section,
  .symptom-section,
  .vaccine-chart-section,
  .doctors-section,
  .facility-section,
  .appointment-section,
  .testimonials-section,
  .faq-section,
  .emergency-banner-section {
    padding: 36px 0 !important;
  }

  .section-header-centered {
    margin-bottom: 24px !important;
  }

  .section-subtitle {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-top: 6px;
  }

  .top-util-bar .util-right {
    display: none;
  }

  .main-navigation {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 24px 20px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-card);
    display: none;
    z-index: 99;
  }

  .main-navigation.open {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .btn-primary-pill span {
    display: inline;
  }

  .btn-primary-pill {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .hero-main-title {
    font-size: clamp(1.85rem, 6.5vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 14px;
  }

  .hero-lead-desc {
    font-size: 0.98rem;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .hero-image-frame {
    height: 320px;
    border-radius: 24px;
  }

  .hero-trust-row {
    gap: 12px;
  }

  .trust-pill {
    font-size: 0.84rem;
  }

  .section-title {
    font-size: clamp(1.65rem, 5vw, 2.1rem);
  }

  /* Compact 2-column Triage Grid on Mobile */
  .triage-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .triage-card {
    padding: 12px 14px;
    gap: 10px;
    border-radius: 14px;
  }

  .triage-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .triage-icon-wrap svg {
    width: 18px;
    height: 18px;
  }

  .triage-info h4 {
    font-size: 0.92rem;
    margin-bottom: 1px;
  }

  .triage-info p {
    font-size: 0.76rem;
  }

  .triage-arrow {
    display: none;
  }

  /* Compact 2-column Services Grid on Mobile */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .service-card {
    border-radius: 16px;
  }

  .service-visual {
    height: 130px;
  }

  .service-body {
    padding: 14px 14px 18px;
  }

  .service-body h3 {
    font-size: 1.02rem;
    margin-bottom: 6px;
  }

  .service-body p {
    font-size: 0.82rem;
    line-height: 1.45;
    margin-bottom: 10px;
  }

  .service-features-list {
    gap: 4px;
  }

  .service-features-list li {
    font-size: 0.78rem;
  }

  /* Compact Life Stages Tabs & Cards */
  .stage-nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .stage-nav-tabs::-webkit-scrollbar {
    display: none;
  }

  .stage-tab-btn {
    flex: 0 0 auto;
    padding: 10px 16px;
    min-width: 160px;
  }

  .stage-display-card {
    padding: 20px 16px;
    border-radius: 20px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .stage-heading {
    font-size: 1.3rem;
  }

  .stage-desc {
    font-size: 0.88rem;
  }

  .stage-photo-box img {
    height: 220px;
    border-radius: 16px;
  }

  /* Compact Symptom Checker */
  .symptom-wrapper {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .symptom-btn-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .symptom-btn {
    padding: 10px 12px;
    font-size: 0.84rem;
    border-radius: 12px;
  }

  .symptom-result-panel {
    padding: 20px 16px;
    border-radius: 16px;
  }

  /* Compact Dental Schedule Table */
  .vaccine-table-wrapper {
    padding: 16px;
    border-radius: 18px;
  }

  .vaccine-table-view {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .vac-table {
    min-width: 580px;
  }

  .vac-table th,
  .vac-table td {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  /* Compact Video Guides */
  .treatment-video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .video-card-body {
    padding: 14px;
  }

  .video-card-body h4 {
    font-size: 0.95rem;
  }

  .video-card-body p {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  /* Compact Doctor Profiles */
  .doctors-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .doctor-profile-card {
    border-radius: 20px;
  }

  .doc-card-img {
    height: 230px;
  }

  .doc-card-content {
    padding: 18px 16px;
  }

  .doc-card-content h3 {
    font-size: 1.2rem;
  }

  .doc-bio {
    font-size: 0.86rem;
    line-height: 1.5;
  }

  /* Compact Facility Gallery */
  .facility-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .facility-card {
    height: 160px;
    border-radius: 16px;
  }

  .facility-card.feat-large {
    grid-column: span 2;
    height: 200px;
  }

  .facility-overlay h4 {
    font-size: 0.95rem;
  }

  .facility-overlay p {
    font-size: 0.78rem;
  }

  /* Compact Booking Form & Promo */
  .appointment-card-box {
    grid-template-columns: 1fr;
    padding: 22px 18px;
    border-radius: 22px;
    gap: 20px;
  }

  .appointment-left-promo h2 {
    font-size: 1.5rem;
  }

  .appointment-left-promo p {
    font-size: 0.88rem;
  }

  .booking-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-group label {
    font-size: 0.82rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px 14px;
    font-size: 0.9rem;
    border-radius: 10px;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  /* Compact Testimonials Grid */
  .testimonials-slider-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .review-box {
    padding: 16px 14px;
    border-radius: 16px;
  }

  .review-text {
    font-size: 0.84rem;
    line-height: 1.48;
  }

  /* Compact FAQ */
  .faq-accordion-grid {
    gap: 10px;
  }

  .faq-question-btn {
    padding: 14px 16px;
    font-size: 0.92rem;
  }

  .faq-answer-content {
    padding: 0 16px 14px;
    font-size: 0.86rem;
  }

  /* Compact 2-column Footer on Mobile */
  .footer-grid-layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 18px;
  }

  .footer-col.brand-col {
    grid-column: span 2;
  }

  .float-doctor,
  .float-rating,
  .float-emergency {
    position: static;
    margin-top: 10px;
    animation: none;
    box-shadow: var(--shadow-sm);
  }
}

@media (max-width: 480px) {
  .services-grid,
  .treatment-video-grid,
  .testimonials-slider-grid {
    grid-template-columns: 1fr;
  }
  
  .triage-container {
    grid-template-columns: 1fr;
  }

  .facility-gallery-grid {
    grid-template-columns: 1fr;
  }

  .facility-card.feat-large {
    grid-column: span 1;
  }

  .footer-grid-layout {
    grid-template-columns: 1fr;
  }

  .footer-col.brand-col {
    grid-column: span 1;
  }
}




.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  background: var(--brand-primary);
  color: #fff;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 1000;
  transition: var(--transition);
}
.floating-whatsapp:hover {
  background: var(--brand-forest);
  transform: scale(1.05);
}
.floating-whatsapp svg {
  width: 24px;
  height: 24px;
}
