/**
 * STAR DENTAL CLINIC, HISAR - Premium Healthcare Design System
 * Matches approved visual specification: Teal (#009ca6), Dark Navy (#0f172a), Coral highlight (#f43f5e)
 */

:root {
  /* Brand Identity - Derived from Official Clinic Logo */
  --brand-blue: #0077c8;
  --brand-blue-hover: #0060a3;
  --brand-blue-dark: #004578;
  --brand-blue-light: #e8f4fc;
  --brand-blue-subtle: #f0f7ff;
  
  --brand-red: #dc2626;
  --brand-red-hover: #b91c1c;
  --brand-red-dark: #991b1b;
  --brand-red-subtle: #fef2f2;
  
  --primary: #0077c8;
  --primary-hover: #0060a3;
  --primary-dark: #004578;
  --primary-light: #e8f4fc;
  --primary-subtle: #f0f7ff;
  
  --secondary: #0ea5e9;
  --accent: #009ca6;
  --navy: #0f172a;
  --navy-dark: #0a101d;
  --navy-light: #1e293b;
  --coral-active: #dc2626;
  --text-main: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-page: #ffffff;
  --bg-alt: #f8fafc;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 50px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 119, 200, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 119, 200, 0.12);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);
  --shadow-red: 0 8px 24px rgba(220, 38, 38, 0.3);
  --shadow-blue: 0 8px 24px rgba(0, 119, 200, 0.3);
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Caveat', cursive;
  --container-width: 1200px;
}

/* ==========================================================================
   Branded 3D Star Loader (Smooth, Lightweight, Zero blocking)
   ========================================================================== */
.clinic-loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s ease;
}

.clinic-loader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.clinic-loader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  max-width: 360px;
}

.star-3d-stage {
  position: relative;
  width: 110px;
  height: 110px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 700px;
}

.star-3d-orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}

.star-3d-orbit-ring.ring-blue {
  border: 2px dashed rgba(0, 119, 200, 0.35);
  animation: orbitClockwise 8s linear infinite;
}

.star-3d-orbit-ring.ring-red {
  inset: 8px;
  border: 1.5px dashed rgba(220, 38, 38, 0.35);
  animation: orbitCounterClockwise 6s linear infinite;
}

.star-3d-core {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin3DStar 4s ease-in-out infinite;
  transform-style: preserve-3d;
}

.star-3d-symbol {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0, 119, 200, 0.35));
}

.star-3d-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.star-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--brand-red);
  animation: particlePulse 2s ease-in-out infinite;
}

.star-particle.p1 { top: 12px; left: 16px; width: 6px; height: 6px; background: var(--brand-blue); animation-delay: 0s; }
.star-particle.p2 { top: 20px; right: 14px; width: 5px; height: 5px; background: var(--brand-red); animation-delay: 0.4s; }
.star-particle.p3 { bottom: 16px; left: 24px; width: 5px; height: 5px; background: var(--brand-blue); animation-delay: 0.8s; }
.star-particle.p4 { bottom: 18px; right: 18px; width: 7px; height: 7px; background: var(--brand-red); animation-delay: 1.2s; }

.loader-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.25rem;
}

.loader-dr-tarun {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.loader-star-clinic {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--brand-red);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.loader-city-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--brand-blue);
  text-transform: uppercase;
}

.loader-hindi {
  font-family: inherit;
  font-weight: 700;
  color: var(--brand-blue);
}

.loader-progress-track {
  width: 160px;
  height: 4px;
  background-color: #e2e8f0;
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
}

.loader-progress-bar {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-red) 100%);
  border-radius: var(--radius-pill);
  animation: loaderProgressFill 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  transform-origin: left;
}

@keyframes spin3DStar {
  0% {
    transform: perspective(700px) rotateY(0deg) rotateZ(0deg) scale(1);
  }
  50% {
    transform: perspective(700px) rotateY(180deg) rotateZ(8deg) scale(1.08);
  }
  100% {
    transform: perspective(700px) rotateY(360deg) rotateZ(0deg) scale(1);
  }
}

@keyframes orbitClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbitCounterClockwise {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes particlePulse {
  0%, 100% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 1; }
}

@keyframes loaderProgressFill {
  0% { transform: scaleX(0.1); }
  50% { transform: scaleX(0.7); }
  100% { transform: scaleX(1); }
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ==========================================================================
   Site Header & Navbar
   ========================================================================== */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1480px;
  height: 80px;
}

/* Brand Logo */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-img {
  height: 60px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand-logo-img:hover {
  transform: scale(1.02);
}

.brand-logo-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  border: 1px solid rgba(0, 119, 200, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.5px;
  line-height: 1.15;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 2px;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.25vw, 1.4rem);
  min-width: 0;
}

.nav-link {
  font-size: clamp(0.84rem, 0.95vw, 0.92rem);
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brand-red);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active-home {
  color: var(--brand-red);
  font-weight: 700;
}

.nav-link.active-home::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary);
  font-weight: 700;
}

.nav-link.active::after {
  width: 100%;
  background-color: var(--primary);
}

/* Navigation Dropdown Menu */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.nav-dropdown-toggle svg {
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown:focus-within .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  margin-top: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 100;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
  background: transparent;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.15rem;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown-item:hover {
  background: #f0f9ff;
  color: var(--brand-blue);
}

.nav-dropdown-item.active {
  background: #e0f2fe;
  color: var(--brand-blue);
  font-weight: 700;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header-phone-pill {
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-pill);
  padding: 0.45rem 1.1rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.header-phone-pill:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background-color: var(--brand-blue-subtle);
}

.header-book-btn {
  background-color: var(--brand-red);
  color: #ffffff;
  border-radius: var(--radius-pill);
  padding: 0.58rem 1.45rem;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.header-book-btn:hover {
  background-color: var(--brand-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45);
  color: #ffffff;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle .bar {
  width: 24px;
  height: 2.5px;
  background-color: var(--navy);
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 320px;
  height: 100vh;
  background-color: #ffffff;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  z-index: 1100;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.drawer-close-btn {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--navy);
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}

.mobile-drawer-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}


/* ==========================================================================
   Quick Treatment Cards Strip (6 Columns)
   ========================================================================== */
.quick-treatments-section {
  padding: 1.5rem 0 3.5rem;
  background-color: #ffffff;
}

.quick-cards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.quick-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 119, 200, 0.16);
  padding: 1.25rem 0.65rem 1rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 119, 200, 0.04);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 175px;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.quick-card:hover {
  transform: translateY(-6px) translateZ(10px);
  box-shadow: 0 14px 30px rgba(0, 119, 200, 0.15);
  border-color: var(--brand-blue);
}

.quick-card-img-wrap {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  transform: translateZ(10px);
}

.quick-card-img-wrap img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.quick-card-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.2rem;
  line-height: 1.25;
}

.quick-card-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.quick-card-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  margin-top: auto;
  transition: all 0.2s ease;
}

.quick-card:hover .quick-card-arrow {
  background-color: var(--navy);
  transform: scale(1.1);
}

/* ==========================================================================
   About Us Section
   ========================================================================== */
.about-section {
  padding: 4.5rem 0;
  background-color: #ffffff;
}

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

.about-video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  background-color: #0f172a;
}

.about-video-img {
  width: 100%;
  height: auto;
  display: block;
}

.about-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  border: 4px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 10px rgba(0, 156, 166, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
}

.about-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background-color: var(--primary-hover);
  box-shadow: 0 0 0 14px rgba(0, 156, 166, 0.35);
}

.about-video-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  padding: 1.5rem 1.25rem 0.85rem;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.about-kicker {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  display: inline-block;
}

.about-heading {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.about-text {
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.about-pills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.about-pill-item {
  background-color: var(--primary-subtle);
  border: 1px solid #ccfbf1;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.about-pill-icon {
  color: var(--primary);
  flex-shrink: 0;
}

.about-pill-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

.about-action-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-about-know {
  background-color: var(--primary-dark);
  color: #ffffff;
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.65rem;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.btn-about-know:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
  color: #ffffff;
}

.about-divider-line {
  width: 30px;
  height: 1px;
  background-color: #cbd5e1;
}

.about-stat-box {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.about-stat-number {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.about-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* =======================================================================
   Dedicated About Page
   ======================================================================= */
.about-page-hero {
  padding: 4.25rem 0 4rem;
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  text-align: center;
}

.about-page-hero .section-kicker {
  color: #38bdf8;
}

.about-page-hero h1 {
  max-width: 980px;
  margin: 0 auto 0.9rem;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.12;
}

.about-page-hero p {
  max-width: 780px;
  margin: 0 auto;
  color: #cbd5e1;
  font-size: 1.08rem;
  line-height: 1.7;
}

.about-page-intro-section,
.about-page-content-section {
  padding: 4.5rem 0;
  background: #ffffff;
}

.about-page-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}

.about-page-image-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  background: #e8f4fc;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.about-page-image-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  object-fit: cover;
}

.about-page-image-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 3rem 1.5rem 1.35rem;
  color: #ffffff;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.88), transparent);
}

.about-page-image-caption span {
  font-size: 1.15rem;
  font-weight: 800;
}

.about-page-image-caption small {
  color: #cbd5e1;
  font-size: 0.88rem;
}

.about-page-intro-copy h2 {
  max-width: 620px;
  margin-bottom: 1rem;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.2;
}

.about-page-intro-copy > p {
  max-width: 620px;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-page-intro-summary {
  max-width: 650px;
  margin-bottom: 1.75rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.about-page-intro-summary p {
  margin: 0 0 0.75rem;
}

.about-page-intro-summary p:last-child {
  margin-bottom: 0;
}

.about-page-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 500px;
}

.about-page-stat {
  padding: 1.15rem 1.25rem;
  border: 1px solid #cce8f8;
  border-radius: var(--radius-lg);
  background: var(--primary-subtle);
}

.about-page-stat strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--primary);
  font-size: 1.8rem;
  line-height: 1;
}

.about-page-stat span {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
}

.about-page-content-section {
  padding-top: 0;
  background: #f8fbff;
}

.about-page-content-card {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.about-rich-content {
  max-width: 980px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.85;
}

.about-rich-content h3 {
  margin: 2.25rem 0 0.75rem;
  color: var(--navy);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.3;
}

.about-rich-content h3:first-child {
  margin-top: 0;
}

.about-rich-content p {
  margin-bottom: 1.05rem;
}

.about-rich-content ul,
.about-rich-content ol {
  margin: 0 0 1.2rem 1.25rem;
  padding-left: 1rem;
}

.about-rich-content li {
  margin-bottom: 0.45rem;
  padding-left: 0.25rem;
}

.about-rich-content strong {
  color: var(--navy);
}

.about-page-gallery-section {
  background: #ffffff;
}

.about-page-gallery-action {
  margin-top: 2rem;
  text-align: center;
}

.about-page-cta-section {
  background: #f8fbff;
}

.about-page-cta-card {
  max-width: 900px;
  padding: 3rem;
  border: 1px solid #cce8f8;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #eaf6ff 0%, #ffffff 100%);
  text-align: center;
}

.about-page-cta-card h2 {
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.about-page-cta-card p {
  max-width: 680px;
  margin: 0 auto 1.5rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-page-cta-actions {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* =======================================================================
   Why Choose Us
   ======================================================================= */
.why-choose-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #f6fbff 0%, #ffffff 100%);
}

.why-choose-header {
  max-width: 820px;
  margin: 0 auto;
}

.why-choose-summary,
.why-choose-page-summary {
  max-width: 900px;
  margin: 1.5rem auto 2.25rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  text-align: center;
}

.why-choose-summary p,
.why-choose-page-summary p {
  margin: 0 0 0.75rem;
}

.why-choose-summary p:last-child,
.why-choose-page-summary p:last-child {
  margin-bottom: 0;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.why-choose-card {
  position: relative;
  display: flex;
  min-height: 235px;
  flex-direction: column;
  padding: 1.5rem;
  overflow: hidden;
  border: 1px solid #d9e9f5;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.why-choose-card::after {
  position: absolute;
  right: -2.5rem;
  bottom: -2.5rem;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: #eaf6ff;
  content: '';
  z-index: 0;
}

.why-choose-card:hover {
  transform: translateY(-5px);
  border-color: #9bd5f5;
  box-shadow: 0 18px 38px rgba(2, 132, 199, 0.13);
}

.why-choose-card > * {
  position: relative;
  z-index: 1;
}

.why-choose-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 1.25rem;
  border-radius: 0.75rem;
  color: #ffffff;
  background: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
}

.why-choose-card h3 {
  margin: 0 0 0.7rem;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.35;
}

.why-choose-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.why-choose-action {
  margin-top: 2rem;
  text-align: center;
}

.why-choose-action .btn span {
  margin-left: 0.45rem;
}

.why-choose-page-hero {
  padding: 4.5rem 0 4rem;
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a 0%, #163b5c 100%);
  text-align: center;
}

.why-choose-page-hero .section-kicker {
  color: #38bdf8;
}

.why-choose-page-hero h1 {
  max-width: 980px;
  margin: 0 auto 0.9rem;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.12;
}

.why-choose-page-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: #cbd5e1;
  font-size: 1.08rem;
  line-height: 1.7;
}

.why-choose-page-section {
  padding: 4.5rem 0;
  background: #ffffff;
}

.why-choose-page-summary {
  max-width: 1000px;
  margin-top: 0;
  padding: 2rem 2.25rem;
  border: 1px solid #d9e9f5;
  border-radius: var(--radius-lg);
  background: #f8fcff;
  text-align: left;
}

.why-choose-reasons-header {
  margin: 4rem auto 2rem;
}

.why-choose-grid-full {
  margin-bottom: 4rem;
}

.why-choose-rich-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.85;
}

.why-choose-rich-content h2,
.why-choose-rich-content h3 {
  margin: 2.25rem 0 0.75rem;
  color: var(--navy);
  line-height: 1.3;
}

.why-choose-rich-content h2:first-child,
.why-choose-rich-content h3:first-child {
  margin-top: 0;
}

.why-choose-rich-content h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

.why-choose-rich-content h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.why-choose-rich-content p {
  margin-bottom: 1rem;
}

.why-choose-rich-content ul,
.why-choose-rich-content ol {
  margin: 0 0 1.25rem 1.25rem;
  padding-left: 1rem;
}

.why-choose-rich-content li {
  margin-bottom: 0.4rem;
}

.why-choose-rich-content strong {
  color: var(--navy);
}

.why-choose-page-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 3rem auto 0;
  padding: 2rem 2.25rem;
  border: 1px solid #cce8f8;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #eaf6ff 0%, #ffffff 100%);
}

.why-choose-page-cta h2 {
  margin: 0.35rem 0 0.5rem;
  color: var(--navy);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.why-choose-page-cta p {
  margin: 0;
  color: var(--text-muted);
}

.why-choose-page-cta-actions {
  display: flex;
  flex-shrink: 0;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* =======================================================================
   YouTube Shorts Carousel
   ======================================================================= */
.youtube-shorts-section {
  padding: 4.5rem 0;
  background: #f8fbff;
}

.youtube-shorts-carousel {
  position: relative;
  margin-top: 2rem;
  padding: 0 3rem;
}

.youtube-shorts-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.youtube-shorts-track {
  display: flex;
  gap: 1.1rem;
  transition: transform 380ms ease;
}

.youtube-short-card {
  flex: 0 0 calc((100% - 3.3rem) / 4);
}

.youtube-short-frame {
  overflow: hidden;
  aspect-ratio: 9 / 14;
  border-radius: var(--radius-lg);
  background: #0f172a;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.11);
}

.youtube-short-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.youtube-shorts-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border: 1px solid #cfe3f0;
  border-radius: 50%;
  color: var(--primary);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  font-size: 1.2rem;
  transform: translateY(-50%);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.youtube-shorts-arrow:hover {
  color: #ffffff;
  background: var(--primary);
  transform: translateY(-50%) scale(1.05);
}

.youtube-shorts-prev { left: 0; }
.youtube-shorts-next { right: 0; }

.youtube-shorts-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.youtube-shorts-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
}

.youtube-shorts-dot.active {
  width: 1.35rem;
  border-radius: 999px;
  background: var(--primary);
}

/* ==========================================================================
   Services Section (8 Cards, 4 Columns)
   ========================================================================== */
.services-section {
  padding: 4.5rem 0;
  background-color: var(--bg-alt);
}

.section-header-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-kicker-center {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.section-title-center {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.65rem;
  line-height: 1.2;
}

.section-subtitle-center {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.services-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card-modern {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  perspective: 1000px;
  transform-style: preserve-3d;
  position: relative;
}

.service-card-modern:hover {
  transform: translateY(-6px) translateZ(12px);
  box-shadow: 0 16px 36px rgba(0, 119, 200, 0.14), 0 0 0 1px rgba(0, 119, 200, 0.12);
  border-color: rgba(0, 119, 200, 0.35);
}

.service-card-img-wrap {
  height: 125px;
  overflow: hidden;
  background-color: #e8f4fc;
  transform: translateZ(10px);
}

.service-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-card-modern:hover .service-card-img-wrap img {
  transform: scale(1.06);
}

.service-card-body {
  padding: 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  transform: translateZ(14px);
}

.service-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

.service-card-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.15rem;
}

.service-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
}

.service-round-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--brand-red);
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-modern:hover .service-round-arrow {
  background-color: var(--brand-red);
  color: #ffffff;
  border-color: var(--brand-red);
  transform: scale(1.1) rotate(-45deg);
}

/* ==========================================================================
   Homepage Doctor Profiles
   ========================================================================== */
.home-doctors-section {
  padding: 4.5rem 0;
  background: #ffffff;
}

.home-doctors-intro {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  text-align: center;
}

.doctor-directory-section {
  padding: 4.5rem 0 5rem;
  background: #f8fbff;
}

.doctor-team-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.8fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 4rem;
}

.doctor-team-overview-copy,
.doctor-team-recognition,
.doctor-team-commitment {
  padding: 2rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.doctor-team-overview-copy h2,
.doctor-directory-heading h2,
.doctor-team-commitment h2 {
  margin-bottom: 1rem;
  color: var(--navy);
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
}

.doctor-directory-rich-copy {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.doctor-directory-rich-copy p {
  margin-bottom: 1rem;
}

.doctor-directory-rich-copy p:last-child {
  margin-bottom: 0;
}

.doctor-team-recognition {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-color: rgba(0, 119, 200, 0.2);
  background: linear-gradient(145deg, #eaf6ff 0%, #ffffff 100%);
}

.doctor-team-recognition-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: #ffffff;
  background: var(--brand-blue);
  font-size: 1.25rem;
}

.doctor-team-recognition p {
  margin: 0;
  color: var(--navy);
  font-size: 1.03rem;
  font-weight: 700;
  line-height: 1.65;
}

.doctor-directory-heading {
  max-width: 780px;
  margin: 0 auto 1.75rem;
  text-align: center;
}

.doctor-team-commitment {
  width: 100%;
  margin: 4rem 0 0;
}

.home-doctors-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.doctor-card-link {
  display: flex;
  align-items: stretch;
  gap: 1.35rem;
  min-width: 0;
  padding: 1.25rem;
  color: inherit;
  text-decoration: none;
}

.doctor-card-link:hover {
  color: inherit;
  transform: translateY(-5px);
}

.doctor-card-media {
  width: 150px;
  min-width: 150px;
  min-height: 190px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #e8f4fc, #d8eef8);
}

.doctor-card-media img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.doctor-card-link:hover .doctor-card-media img {
  transform: scale(1.04);
}

.doctor-card-placeholder {
  color: var(--primary);
  font-size: 2.5rem;
  font-weight: 800;
}

.doctor-card-content {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.35rem 0;
}

.doctor-card-kicker {
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.doctor-card-content h3 {
  margin: 0.4rem 0 0.45rem;
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1.25;
}

.doctor-card-qualifications,
.doctor-card-credentials {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.doctor-card-credentials {
  margin-top: 0.4rem;
  font-size: 0.78rem;
}

.doctor-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 800;
}

.doctor-card-cta span {
  transition: transform 0.2s ease;
}

.doctor-card-link:hover .doctor-card-cta span {
  transform: translateX(4px);
}

.about-doctor-card {
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 2rem;
}

/* Public doctor detail page */
.doctor-detail-hero {
  padding: 3.25rem 0 3.5rem;
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.doctor-detail-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.25rem;
  color: #94a3b8;
  font-size: 0.84rem;
}

.doctor-detail-breadcrumbs a {
  color: #cbd5e1;
}

.doctor-detail-breadcrumbs strong {
  color: #38bdf8;
  font-weight: 700;
}

.doctor-detail-hero h1 {
  max-width: 820px;
  margin-bottom: 0.6rem;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.doctor-detail-specialty {
  max-width: 780px;
  margin-bottom: 0;
  color: #cbd5e1;
  font-size: 1.1rem;
  line-height: 1.6;
}

.doctor-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(285px, 0.6fr);
  gap: 2.25rem;
  align-items: start;
}

.doctor-detail-profile {
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.07);
}

.doctor-detail-image {
  width: 285px;
  min-width: 285px;
  height: 335px;
  overflow: hidden;
  background: linear-gradient(145deg, #e8f4fc, #d8eef8);
}

.doctor-detail-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.doctor-detail-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 4rem;
  font-weight: 800;
}

.doctor-detail-profile-head {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--border-light);
}

.doctor-detail-identity {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}

.doctor-detail-identity-kicker {
  margin-bottom: 0.65rem;
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.45;
  text-transform: uppercase;
}

.doctor-detail-identity h2 {
  margin-bottom: 0.55rem;
  color: var(--navy);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.2;
}

.doctor-detail-credentials {
  margin: 0;
  color: var(--text-light);
  font-size: 0.86rem;
  line-height: 1.55;
}

.doctor-detail-copy {
  padding: 2rem;
}

.doctor-detail-copy h2 {
  margin-bottom: 0.45rem;
  color: var(--navy);
  font-size: 1.65rem;
}

.doctor-detail-section-title {
  margin-bottom: 1.25rem;
  color: var(--navy);
  font-size: 1.35rem;
}

.doctor-detail-qualification {
  margin-bottom: 1.25rem;
  color: var(--primary);
  font-weight: 800;
}

.doctor-detail-bio {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  white-space: pre-line;
}

.doctor-detail-bio h3,
.doctor-detail-bio h4 {
  margin: 1.75rem 0 0.6rem;
  color: var(--navy);
  font-size: 1.2rem;
}

.doctor-detail-bio p {
  margin-bottom: 1rem;
}

.doctor-detail-bio ul,
.doctor-detail-bio ol {
  margin: 0 0 1rem 1.25rem;
  padding-left: 1rem;
}

.doctor-detail-bio li {
  margin-bottom: 0.35rem;
}

.doctor-detail-sidebar {
  position: sticky;
  top: 100px;
}

.doctor-detail-contact {
  padding: 2rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  background: var(--bg-alt);
}

.doctor-detail-contact h2 {
  margin-bottom: 0.65rem;
  color: var(--navy);
  font-size: 1.45rem;
}

.doctor-detail-contact p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.doctor-detail-actions {
  display: grid;
  gap: 0.75rem;
}

.doctor-detail-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  text-decoration: none;
}

.doctor-detail-action-primary {
  color: #ffffff;
  background: var(--primary);
}

.doctor-detail-action-secondary {
  color: var(--navy);
  border: 1px solid var(--border-color);
  background: #ffffff;
}

.doctor-detail-action svg {
  flex: 0 0 auto;
}

.doctor-detail-action-secondary {
  white-space: nowrap;
}

.doctor-detail-action-whatsapp {
  color: #ffffff;
  background: #16a34a;
}

.doctor-detail-action-whatsapp:hover {
  color: #ffffff;
  background: #15803d;
}

/* ==========================================================================
   Consultation Banner Section (with Appointment Form)
   ========================================================================== */
.consultation-banner {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, #071f38 0%, #0d3b66 55%, #05192d 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.consultation-chair-bg {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 48%;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  mix-blend-mode: luminosity;
  pointer-events: none;
}

.consultation-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.banner-pill-badge {
  display: inline-block;
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: #ff8b8b;
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.banner-heading {
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #ffffff;
}

.banner-subtitle {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 2rem;
}

.banner-contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.banner-contact-pill {
  background-color: #ffffff;
  color: var(--navy);
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.25rem;
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.banner-contact-pill:hover {
  transform: translateY(-2px);
  color: var(--brand-blue);
}

.banner-contact-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.banner-contact-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Appointment Form Card */
.appointment-card-float {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
  color: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.appointment-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.25rem;
  text-align: left;
}

.form-group-item {
  margin-bottom: 0.85rem;
}

.form-input-styled {
  width: 100%;
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--navy);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.form-input-styled:focus {
  outline: none;
  border-color: var(--brand-blue);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 119, 200, 0.15);
}

.btn-appointment-submit {
  background-color: var(--brand-red);
  color: #ffffff;
  width: 100%;
  border-radius: 10px;
  padding: 0.85rem;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  box-shadow: 0 4px 18px rgba(220, 38, 38, 0.35);
  transition: all 0.2s ease;
}

.btn-appointment-submit:hover {
  background-color: var(--brand-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.45);
}

/* ==========================================================================
   Clinic Gallery Section (5 Columns)
   ========================================================================== */
.gallery-section {
  padding: 4.5rem 0;
  background-color: #ffffff;
}

.gallery-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.gallery-thumb-item {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  height: 155px;
  border: 1px solid var(--border-color);
  background-color: #f1f5f9;
}

.gallery-section .gallery-card.gallery-thumb-item {
  height: 155px;
}

.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-thumb-item:hover img {
  transform: scale(1.06);
}

/* ==========================================================================
   Frequently Asked Questions Section
   ========================================================================== */
.faq-section {
  padding: 4.5rem 0;
  background-color: var(--bg-alt);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.faq-heading {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.faq-subtitle {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 2rem;
}

.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-card-item {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-card-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 156, 166, 0.08);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 1.15rem 1.25rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

.faq-trigger-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-card-item.active .faq-trigger-icon {
  transform: rotate(180deg);
  background-color: var(--primary);
  color: #ffffff;
}

.faq-body {
  padding: 0 1.25rem 1.15rem;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  display: none;
}

.faq-card-item.active .faq-body {
  display: block;
}

/* FAQ Patient Visual */
.faq-visual-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 156, 166, 0.12);
  background: #ffffff;
}

.faq-patient-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Visit Our Clinic Section
   ========================================================================== */
.visit-section {
  padding: 4.5rem 0 5rem;
  background-color: #ffffff;
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: stretch;
}

.visit-heading {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.visit-subtitle {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 2rem;
}

.visit-card-box {
  background-color: var(--primary-subtle);
  border: 1px solid #ccfbf1;
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.visit-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background-color: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.visit-card-text {
  font-size: 0.92rem;
  color: var(--navy);
  line-height: 1.5;
}

.visit-card-text strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.visit-map-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  height: auto;
  min-height: 340px;
  display: flex;
}

.visit-map-card iframe {
  flex: 1 1 auto;
  width: 100%;
  min-height: 340px;
  height: auto;
  border: 0;
}

@media (max-width: 1024px) {
  .visit-map-card {
    min-height: 360px;
  }
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  background-color: var(--navy-dark);
  color: #cbd5e1;
  padding: 4.5rem 0 2rem;
  border-top: 3px solid var(--brand-red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr 1.15fr 1.3fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo-box {
  background: #ffffff;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  margin-bottom: 1.25rem;
  width: fit-content;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-logo-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 119, 200, 0.35);
}

.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.footer-bio {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

.footer-badge-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(56, 189, 248, 0.25);
  letter-spacing: 0.02em;
}

.footer-title {
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--brand-red);
  border-radius: 2px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-nav a {
  font-size: 0.88rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-nav-bullet {
  color: var(--brand-blue);
  font-size: 0.75rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-nav a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-nav a:hover .footer-nav-bullet {
  color: var(--brand-red);
  transform: scale(1.3);
}

.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.footer-contact-icon {
  color: #38bdf8;
  margin-top: 2px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-contact-text {
  font-size: 0.86rem;
  line-height: 1.55;
  color: #94a3b8;
  margin-bottom: 0.25rem;
}

.footer-map-link {
  font-size: 0.82rem;
  color: #38bdf8;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.15s ease, text-decoration 0.15s ease;
}

.footer-map-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-phone-link {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

.footer-phone-link:hover {
  color: #38bdf8;
}

.footer-phone-sep {
  margin: 0 0.35rem;
  color: #64748b;
}

.footer-mail-link {
  color: #38bdf8;
  font-weight: 600;
  transition: color 0.15s ease;
}

.footer-mail-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-hours-text {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
}

.footer-hours-text strong {
  color: #e2e8f0;
}

.footer-social-wrapper {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-social-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.social-circle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.social-circle-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.social-circle-btn.facebook:hover { background-color: #1877f2; border-color: #1877f2; }
.social-circle-btn.instagram:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); border-color: #dc2743; }
.social-circle-btn.linkedin:hover { background-color: #0a66c2; border-color: #0a66c2; }
.social-circle-btn.youtube:hover { background-color: #ff0000; border-color: #ff0000; }
.social-circle-btn.whatsapp:hover { background-color: #25d366; border-color: #25d366; }

.scroll-top-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--brand-red);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
  transition: all 0.2s ease;
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1000;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background-color: var(--brand-red-hover);
  transform: translateY(-3px) scale(1.08);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 1rem;
}

.codeera-credit-link {
  color: #38bdf8;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.15s ease;
}

.codeera-credit-link:hover {
  color: #ffffff;
}

/* Sticky Mobile Quick Action Bar */
.sticky-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  z-index: 999;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  gap: 0.75rem;
}

.sticky-call-bar .btn-call {
  flex: 1;
  background-color: #f1f5f9;
  color: var(--navy);
  border-radius: var(--radius-pill);
  padding: 0.65rem 1rem;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid var(--border-color);
}

.sticky-call-bar .btn-primary {
  flex: 1.25;
  background-color: var(--brand-red);
  color: #ffffff;
  border-radius: var(--radius-pill);
  padding: 0.65rem 1rem;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

/* ==========================================================================
   Alerts & Utilities
   ========================================================================== */
.alert {
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.alert-success {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-danger {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.alert-dismiss {
  background: none;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: inherit;
  opacity: 0.6;
}

.alert-dismiss:hover {
  opacity: 1;
}

/* ==========================================================================
   Base Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.65rem;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--brand-red);
  color: #ffffff;
  border-color: var(--brand-red);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
  background-color: var(--brand-red-hover);
  border-color: var(--brand-red-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.45);
}

.btn-blue {
  background-color: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 4px 14px rgba(0, 119, 200, 0.3);
}

.btn-blue:hover {
  background-color: var(--brand-blue-hover);
  border-color: var(--brand-blue-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 119, 200, 0.45);
}

.btn-outline {
  background-color: transparent;
  color: var(--navy);
  border-color: #cbd5e1;
}

.btn-outline:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background-color: var(--brand-blue-subtle);
  transform: translateY(-2px);
}

/* ==========================================================================
   Sections & General Headers
   ========================================================================== */
.section-py {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-kicker {
  color: var(--brand-blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.65rem;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ==========================================================================
   Services Grid & Interactive 3D Service Cards
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2rem 1.75rem 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  perspective: 1000px;
  transform-style: preserve-3d;
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px) translateZ(12px);
  border-color: rgba(0, 119, 200, 0.35);
  box-shadow: 0 16px 36px rgba(0, 119, 200, 0.14), 0 0 0 1px rgba(0, 119, 200, 0.1);
}

.service-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transform: translateZ(12px);
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.service-card:hover .service-card-icon {
  background-color: var(--brand-red-subtle);
  color: var(--brand-red);
  transform: scale(1.08) translateZ(16px);
}

.service-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.65rem;
  line-height: 1.3;
  transform: translateZ(10px);
}

.service-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-blue);
  transition: color 0.15s ease, gap 0.15s ease;
}

.service-card-link:hover {
  color: var(--brand-red);
  gap: 0.6rem;
}

.service-duration-badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  background-color: #f1f5f9;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.service-detail-image {
  width: 100%;
  height: 320px;
  margin-bottom: 2rem;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #e9f5fb, #dbeefa);
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.service-detail-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: var(--brand-blue);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Image-led service catalogue cards */
.service-catalog-card {
  padding: 0;
  overflow: hidden;
  min-height: 100%;
  text-decoration: none;
}

.service-catalog-image {
  height: 205px;
  overflow: hidden;
  background: linear-gradient(135deg, #e9f5fb, #dbeefa);
}

.service-catalog-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-catalog-card:hover .service-catalog-image img {
  transform: scale(1.06);
}

.service-catalog-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(0, 119, 200, 0.5);
}

.service-catalog-placeholder svg {
  width: 72px;
  height: 72px;
}

.service-catalog-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem 1.4rem 1.25rem;
}

.service-catalog-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 0.7rem;
  border-radius: 10px;
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  font-size: 1.3rem;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.service-catalog-card:hover .service-catalog-icon {
  background: var(--brand-red-subtle);
  color: var(--brand-red);
}

.service-catalog-card .service-card-title {
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
}

.service-catalog-card .service-card-desc {
  margin-bottom: 1rem;
  font-size: 0.94rem;
}

.service-catalog-card .service-card-footer {
  padding-top: 0.9rem;
}

.service-catalog-arrow {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-blue-light);
  font-size: 1rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.service-catalog-card:hover .service-catalog-arrow {
  transform: translateX(3px);
  background: var(--brand-red-subtle);
}

/* ==========================================================================
   Booking Section & Forms
   ========================================================================== */
.booking-section {
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

.booking-info-box {
  background: linear-gradient(135deg, #071f38 0%, #0d3b66 100%);
  color: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.booking-info-box h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.booking-info-box p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-meta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-meta-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.contact-meta-val {
  font-size: 0.92rem;
  color: #ffffff;
  line-height: 1.5;
}

.form-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-color);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.col-full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.45rem;
}

.form-label .req {
  color: var(--brand-red);
}

.form-hint {
  color: var(--text-light);
  font-size: 0.78rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  color: var(--navy);
  transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 119, 200, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 95px;
}

.form-error {
  color: var(--brand-red);
  font-size: 0.78rem;
  margin-top: 0.35rem;
}

.booking-notice {
  margin-top: 1.25rem;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ==========================================================================
   Page Layout Grids & Detail Grids
   ========================================================================== */
.why-us-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.pillar-card {
  background: var(--bg-alt);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--primary);
}

.pillar-card.pillar-red {
  border-left-color: var(--brand-red);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3.5rem;
  align-items: start;
}

.service-detail-sidebar {
  position: sticky;
  top: 100px;
}

.service-detail-sidebar .form-grid > .form-group:not(.col-full) {
  grid-column: 1 / -1;
}

.service-direct-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 1.35rem;
}

.service-direct-contact-btn {
  min-height: 44px;
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.service-direct-contact-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.service-direct-whatsapp {
  color: #ffffff;
  background: #16a34a;
  box-shadow: 0 5px 14px rgba(22, 163, 74, 0.2);
}

.service-direct-whatsapp:hover {
  background: #15803d;
  box-shadow: 0 7px 18px rgba(22, 163, 74, 0.28);
}

.service-direct-call {
  color: #ffffff;
  background: var(--brand-blue);
  box-shadow: 0 5px 14px rgba(0, 119, 200, 0.2);
}

.service-direct-call:hover {
  background: #005f9e;
  box-shadow: 0 7px 18px rgba(0, 119, 200, 0.28);
}

.related-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ==========================================================================
   Doctor Cards & Gallery Cards
   ========================================================================== */
.blog-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 180px;
  padding: 1rem;
  background: linear-gradient(135deg, #eef6fb 0%, #e2edf5 100%);
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.doctor-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 119, 200, 0.1);
  border-color: rgba(0, 119, 200, 0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  height: 250px;
  border: 1px solid var(--border-color);
  background-color: #f1f5f9;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 100%);
  padding: 2rem 1.25rem 1rem;
  color: #ffffff;
}

.gallery-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #38bdf8;
  display: block;
  margin-bottom: 0.25rem;
}

.gallery-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

/* ========================================================================
   Homepage Certificates & Awards Carousels
   ======================================================================== */
.home-category-gallery {
  padding: 3.25rem 0 2.5rem;
  background: #f8fbff;
}

.home-awards-section {
  background: #ffffff;
}

.home-gallery-carousel {
  position: relative;
  padding: 0 1rem 0.75rem;
}

.home-gallery-viewport {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.home-gallery-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.home-gallery-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(0, auto);
  gap: 1rem;
}

.home-gallery-card {
  height: 250px;
  border-radius: 14px;
  cursor: zoom-in;
}

.home-gallery-card .gallery-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
}

.home-gallery-card:hover .gallery-img {
  transform: none;
}

.home-gallery-card .gallery-caption-overlay {
  padding: 1.5rem 1rem 0.8rem;
}

.home-gallery-card .gallery-title {
  font-size: 0.86rem;
}

.home-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 8px 20px rgba(0, 119, 200, 0.24);
  transition: background 0.2s ease, transform 0.2s ease;
}

.home-gallery-arrow:hover {
  background: var(--brand-red);
  transform: translateY(-50%) scale(1.06);
}

.home-gallery-prev { left: 0; }
.home-gallery-next { right: 0; }

.home-gallery-dots {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.home-gallery-carousel:has(.home-gallery-dots) {
  padding-bottom: 2.25rem;
}

.home-gallery-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
}

.home-gallery-dot.active {
  width: 24px;
  border-radius: 999px;
  background: var(--brand-blue);
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   Testimonials Page Styles & 3D Cards
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  padding: 2.25rem 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 10px;
  right: 18px;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--brand-blue-light);
  opacity: 0.6;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-6px) translateZ(12px);
  box-shadow: 0 16px 36px rgba(0, 119, 200, 0.12), 0 0 0 1px rgba(0, 119, 200, 0.1);
  border-color: rgba(0, 119, 200, 0.3);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  color: #f59e0b;
  margin-bottom: 1.25rem;
}

.testimonial-text {
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.75rem;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  position: relative;
  z-index: 2;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 119, 200, 0.3);
}

.author-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.author-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #059669;
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-pill);
  padding: 0.15rem 0.55rem;
}

/* ==========================================================================
   FAQs Page & Accordion
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.faq-item.active {
  border-color: var(--brand-blue);
  box-shadow: 0 6px 20px rgba(0, 119, 200, 0.08);
}

.faq-question-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.faq-question-btn:hover {
  color: var(--brand-blue);
  background-color: var(--brand-blue-subtle);
}

.faq-icon-arrow {
  width: 20px;
  height: 20px;
  color: var(--brand-blue);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  color: var(--brand-red);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   Gallery Filter Tabs & Lightbox
   ========================================================================== */
.gallery-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.gallery-filter-btn {
  background-color: var(--bg-alt);
  color: var(--navy);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-filter-btn:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.gallery-filter-btn.active {
  background-color: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 4px 14px rgba(0, 119, 200, 0.35);
}

.gallery-zoom-trigger {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  z-index: 5;
}

.gallery-card:hover .gallery-zoom-trigger {
  opacity: 1;
  transform: scale(1);
}

.gallery-zoom-trigger:hover {
  background: var(--brand-red);
  transform: scale(1.1);
}

/* Full-Screen Lightbox Modal */
.clinic-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  background: rgba(10, 16, 29, 0.94);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
}

.clinic-lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-dialog {
  max-width: 960px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.lightbox-image-wrap {
  position: relative;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  background: #000000;
}

.lightbox-image-wrap img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

.lightbox-footer {
  margin-top: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  padding: 0 0.5rem;
  text-align: center;
}

.lightbox-caption-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.lightbox-caption-category {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #38bdf8;
  letter-spacing: 1px;
}

.lightbox-close-btn {
  position: absolute;
  top: -48px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.lightbox-close-btn:hover {
  color: var(--brand-red);
  transform: scale(1.15);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.lightbox-nav-btn:hover {
  background: var(--brand-blue);
  transform: translateY(-50%) scale(1.1);
  border-color: var(--brand-blue);
}

.lightbox-prev {
  left: -60px;
}

.lightbox-next {
  right: -60px;
}

@media (max-width: 900px) {
  .lightbox-nav-btn {
    width: 38px;
    height: 38px;
  }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1400px) {
  .header-wrapper {
    gap: 0.7rem;
  }

  .brand-logo-img {
    max-width: 230px;
    height: 60px;
  }

  .main-nav {
    gap: 0.85rem;
  }

  .nav-link {
    font-size: 0.82rem;
  }

  .header-actions {
    gap: 0.55rem;
  }

  .header-phone-pill {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    font-size: 0.82rem;
  }

  .header-book-btn {
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 1200px) {
  .header-book-btn {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .main-nav,
  .header-actions > .header-phone-pill {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .mobile-toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  .header-wrapper {
    height: 72px;
  }

  .brand-logo-img {
    height: 52px;
    max-width: 195px;
  }

  .header-actions > .header-book-btn {
    display: none;
  }
}

@media (max-width: 1024px) {
  .header-actions > .header-phone-pill {
    display: none;
  }

  .quick-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid-8 {
    grid-template-columns: repeat(2, 1fr);
  }

  .consultation-grid {
    grid-template-columns: 1fr;
  }

  .consultation-chair-bg {
    display: none;
  }

  .gallery-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .visit-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .booking-grid {
    grid-template-columns: 1fr;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .service-detail-sidebar {
    position: static !important;
  }

  .doctor-detail-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .doctor-team-overview {
    grid-template-columns: 1fr;
  }

  .doctor-detail-sidebar {
    position: static;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-gallery-slide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .main-nav, .header-actions > .header-phone-pill {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-page-image-card,
  .about-page-image-card img {
    min-height: 300px;
  }

  .about-page-cta-card {
    padding: 2rem 1.25rem;
  }

  .about-page-intro-grid {
    grid-template-columns: 1fr;
  }

  .home-doctors-grid {
    grid-template-columns: 1fr;
  }

  .trust-divider {
    display: none;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .related-services-grid {
    grid-template-columns: 1fr;
  }

  .quick-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid-8 {
    grid-template-columns: 1fr;
  }

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

  .gallery-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .home-category-gallery {
    padding: 3rem 0 2rem;
  }

  .home-gallery-carousel {
    padding: 0 0.25rem 0.75rem;
  }

  .home-gallery-slide {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .doctor-card-link {
    gap: 1rem;
  }

  .doctor-card-media {
    width: 120px;
    min-width: 120px;
    min-height: 165px;
  }

  .doctor-card-media img {
    min-height: 165px;
  }

  .doctor-detail-image {
    width: 220px;
    min-width: 220px;
    height: 280px;
  }

  .doctor-detail-copy,
  .doctor-detail-contact,
  .doctor-team-overview-copy,
  .doctor-team-recognition,
  .doctor-team-commitment {
    padding: 1.5rem;
  }

  .home-gallery-card {
    height: 230px;
  }

  .home-gallery-arrow {
    width: 36px;
    height: 36px;
  }

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

  .col-full {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .site-footer {
    padding: 3.5rem 0 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.65rem;
  }

  .sticky-call-bar {
    display: flex;
  }

  body {
    padding-bottom: 70px;
  }
}

@media (max-width: 1100px) {
  .why-choose-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .why-choose-section,
  .why-choose-page-section {
    padding: 3.5rem 0;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
  }

  .why-choose-card {
    min-height: 0;
  }

  .why-choose-page-summary,
  .why-choose-rich-content,
  .why-choose-page-cta {
    padding: 1.35rem;
  }

  .why-choose-page-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .why-choose-page-cta-actions,
  .why-choose-page-cta-actions .btn {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .youtube-short-card {
    flex-basis: calc((100% - 1.1rem) / 2);
  }
}

@media (max-width: 600px) {
  .youtube-shorts-section {
    padding: 3.5rem 0;
  }

  .youtube-shorts-carousel {
    padding: 0 2.35rem;
  }

  .youtube-short-card {
    flex-basis: 100%;
  }

  .youtube-shorts-arrow {
    width: 2.35rem;
    height: 2.35rem;
  }
}

@media (max-width: 480px) {
  .doctor-detail-profile-head {
    display: block;
  }

  .doctor-detail-image {
    width: 100%;
    min-width: 0;
    height: 300px;
  }

  .doctor-card-link {
    flex-direction: column;
  }

  .doctor-card-media {
    width: 100%;
    min-width: 0;
    min-height: 220px;
  }

  .doctor-card-media img {
    min-height: 220px;
  }

  .service-direct-contact {
    grid-template-columns: 1fr;
  }

  .doctor-detail-action-secondary {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Modern homepage service card treatment */
.services-section .service-card-modern {
  height: auto;
  min-height: 0;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transform: translateY(0);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  cursor: pointer;
}

.services-section .service-card-modern:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 119, 200, 0.28);
  box-shadow: 0 18px 38px rgba(0, 119, 200, 0.14);
}

.services-section .service-card-img-wrap {
  height: 160px;
  background: linear-gradient(135deg, #e8f4fc, #f8fbff);
  transform: none;
}

.services-section .service-card-img-wrap img {
  object-fit: cover;
  transition: transform 0.45s ease;
}

.services-section .service-card-modern:hover .service-card-img-wrap img {
  transform: scale(1.07);
}

.services-section .service-card-body {
  padding: 1.2rem 1.35rem 1rem;
  transform: none;
}

.services-section .service-card-title {
  min-height: 0;
  margin-bottom: 0.4rem;
  font-size: 1.12rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.services-section .service-card-desc {
  flex-grow: 0;
  min-height: 0;
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.services-section .service-card-footer {
  margin-top: 0.85rem;
  justify-content: stretch;
  padding-top: 1rem;
  border-top: 1px solid #edf2f7;
}

.services-section .service-round-arrow {
  width: 100%;
  height: auto;
  min-height: 38px;
  justify-content: space-between;
  gap: 0.75rem;
  border: 0;
  border-radius: 0;
  color: var(--brand-blue);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.services-section .service-arrow-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-blue-subtle);
  color: var(--brand-blue);
  font-size: 1.05rem;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.services-section .service-round-arrow:hover {
  color: var(--brand-blue-hover);
  transform: none;
}

.services-section .service-card-modern:hover .service-round-arrow {
  background: transparent;
  border: 0;
  color: var(--brand-blue);
  transform: none;
}

.services-section .service-round-arrow:hover .service-arrow-icon {
  color: #ffffff;
  background: var(--brand-red);
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .services-section .service-card-modern {
    height: auto;
    min-height: 0;
  }

  .services-section .service-card-img-wrap {
    height: 150px;
  }
}

/* Homepage artwork banner. Each slide image carries its own headline and icons. */
.hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #eaf5fc;
}

.hero-banner-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;
}

.hero-banner-track {
  position: relative;
}

.hero-banner-slide {
  display: none;
  position: relative;
  width: 100%;
}

.hero-banner-slide.active {
  display: block;
  animation: hero-banner-enter .35s ease both;
}

.hero-banner-media {
  position: relative;
  width: 100%;
  aspect-ratio: 2.85 / 1;
  background: #eaf5fc;
}

.hero-banner + .about-section {
  padding-top: 2.5rem;
}

.hero-banner-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

@keyframes hero-banner-enter { from { opacity: 0; } to { opacity: 1; } }

.hero-banner-actions {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: clamp(1rem, 3vw, 2.4rem);
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .75rem;
  width: max-content;
  max-width: calc(100% - 7rem);
  padding: .55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 8px 30px rgba(8, 28, 50, .12);
  backdrop-filter: blur(12px);
}

.hero-banner-actions a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .65rem 1.25rem;
  border-radius: 999px;
  font-size: clamp(.85rem, 1.1vw, 1rem);
  line-height: 1.2;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.hero-banner-actions a:hover { transform: translateY(-2px); box-shadow: 0 5px 14px rgba(0,0,0,.13); }
.hero-banner-actions a:focus-visible,
.hero-banner-arrow:focus-visible,
.hero-banner-dot:focus-visible { outline: 3px solid #0077c8; outline-offset: 3px; }
.hero-banner-book { color: white; background: #e52127; }
.hero-banner-whatsapp { color: #0d2530; background: white; }
.hero-banner-whatsapp svg { color: #10a44a; flex: none; }

.hero-banner-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--brand-blue);
  border-radius: 50%;
  background: #fff;
  color: var(--brand-blue);
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.hero-banner-arrow:hover,
.hero-banner-arrow:focus-visible {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 119, 200, .28);
}
.hero-banner-arrow:active { background: var(--brand-blue-hover); }
.hero-banner-prev { left: clamp(12px, 2vw, 32px); }
.hero-banner-next { right: clamp(12px, 2vw, 32px); }

.hero-banner-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: .25rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .2rem;
}
.hero-banner-dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.hero-banner-dot span { width: 8px; height: 8px; border: 1px solid #0077c8; border-radius: 50%; background: white; }
.hero-banner-dot.active span { background: #0077c8; transform: scale(1.2); }

@media (max-width: 900px) {
  .hero-banner-media { aspect-ratio: 1.85 / 1; }
  .hero-banner + .about-section { padding-top: 2rem; }
  .hero-banner-has-controls { padding-bottom: 3.4rem; }
  .hero-banner-actions {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    max-width: none;
    flex-wrap: wrap;
    gap: .5rem;
    padding: .8rem 1rem;
    border-radius: 0;
    box-shadow: none;
    background: #eaf5fc;
    backdrop-filter: none;
  }
  .hero-banner-actions a { min-height: 42px; padding: .6rem .85rem; font-size: .8rem; }
  .hero-banner-actions svg { width: 17px; height: 17px; }
  .hero-banner-arrow { width: 36px; height: 36px; top: auto; bottom: .6rem; transform: none; }
  .hero-banner-prev { left: 1rem; }
  .hero-banner-next { right: 1rem; }
  .hero-banner-dots { bottom: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner-slide.active { animation: none; }
  .hero-banner-actions a, .hero-banner-arrow { transition: none; }
}
