/**
 * 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;
  height: 74px;
}

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

.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 230px;
  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);
}

.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;
  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;
  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);
}

/* ==========================================================================
   Hero Slider Section (Homepage Carousel)
   ========================================================================== */
.hero-slider-section {
  position: relative;
  background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 45%, #ffffff 100%);
  overflow: hidden;
  min-height: 580px;
}

.hero-slider-container {
  position: relative;
  width: 100%;
}

.hero-slider-track {
  display: grid;
  grid-template-areas: "slide";
  width: 100%;
}

.hero-slide {
  grid-area: slide;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.985) translateY(8px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.6s;
  padding: 4.5rem 0 4.25rem;
  width: 100%;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}

.hero-slide-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 2.5rem;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
}

.hero-slide-title {
  font-size: clamp(2.4rem, 4.2vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-slide-title .text-teal,
.hero-slide-title .text-blue {
  color: var(--brand-blue);
}

.hero-slide-title .text-red {
  color: var(--brand-red);
}

.hero-slide-desc {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 1.85rem;
}

/* Staggered Entrance Animations on Active Slide */
.hero-slide.active .hero-kicker {
  animation: heroSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-slide.active .hero-slide-title {
  animation: heroSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}
.hero-slide.active .hero-slide-desc {
  animation: heroSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both;
}
.hero-slide.active .hero-actions-row,
.hero-slide.active .hero-features-bar,
.hero-slide.active .award-highlights-list,
.hero-slide.active .services-pills-grid {
  animation: heroSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
}
.hero-slide.active .hero-slide-visual {
  animation: heroZoomIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

@keyframes heroSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoomIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Slide 2: Award & Achievement Visual Frame */
.award-photo-frame-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.award-photo-glow {
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.15) 0%, rgba(0, 119, 200, 0.16) 45%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.award-photo-frame {
  position: relative;
  z-index: 2;
  border-radius: 20px;
  background: #ffffff;
  padding: 8px;
  border: 1.5px solid rgba(0, 119, 200, 0.2);
  box-shadow: 0 20px 45px rgba(11, 21, 35, 0.18), 0 4px 12px rgba(0, 119, 200, 0.1);
  overflow: hidden;
  max-width: 470px;
  width: 100%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  transform: perspective(900px) rotateY(-3deg) rotateX(2deg);
}

.award-photo-frame:hover {
  transform: perspective(900px) rotateY(0deg) rotateX(0deg) translateY(-4px);
  box-shadow: 0 25px 55px rgba(11, 21, 35, 0.24), 0 8px 18px rgba(0, 119, 200, 0.15);
}

.award-photo-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.award-photo-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  background: rgba(11, 21, 35, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.5rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.award-badge-star {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f59e0b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

.award-badge-text strong {
  display: block;
  font-size: 0.76rem;
  color: #ffffff;
  line-height: 1.2;
}

.award-badge-text span {
  display: block;
  font-size: 0.68rem;
  color: #38bdf8;
  font-weight: 600;
}

.award-caption-pill {
  position: relative;
  z-index: 2;
  margin-top: 1rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 90%;
  text-align: center;
}

/* Slide 2: Award Highlights List */
.award-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.85rem;
  max-width: 520px;
}

.award-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  backdrop-filter: blur(4px);
}

.award-highlight-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 119, 200, 0.12);
  color: var(--brand-blue);
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.award-highlight-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.award-highlight-item span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Slide 3: 6 Services Pills Grid */
.services-pills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.85rem;
  max-width: 520px;
}

.service-pill-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.service-pill-item:hover {
  background: #f0f9ff;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateX(3px);
}

.service-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-blue);
  flex-shrink: 0;
}

.service-pill-item:nth-child(even) .service-pill-dot {
  background: var(--brand-red);
}

/* Slide 3: 3D Visual Cards Stack */
.services-visual-3d-deck {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.service-3d-card {
  position: absolute;
  width: 290px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--border-light);
  box-shadow: 0 16px 36px rgba(11, 21, 35, 0.12);
  padding: 1.5rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.service-3d-card.card-front {
  z-index: 3;
  transform: translateY(0px) rotate(-2deg);
}

.service-3d-card.card-front:hover {
  transform: translateY(-8px) rotate(0deg);
  box-shadow: 0 22px 45px rgba(11, 21, 35, 0.18);
}

.service-3d-card.card-back-1 {
  z-index: 2;
  transform: translate(60px, -40px) rotate(6deg) scale(0.92);
  opacity: 0.9;
  background: #f8fafc;
}

.service-3d-card.card-back-2 {
  z-index: 1;
  transform: translate(-55px, 45px) rotate(-7deg) scale(0.88);
  opacity: 0.8;
  background: #f1f5f9;
}

.service-3d-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.service-3d-icon-box img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.service-3d-card h4 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.service-3d-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.service-3d-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-blue);
  background: rgba(0, 119, 200, 0.1);
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  display: inline-block;
}

/* Slider Controls: Arrows */
.hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border: 1.5px solid var(--border-light);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.22s ease;
}

.hero-nav-arrow:hover {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 22px rgba(0, 119, 200, 0.35);
}

.hero-nav-arrow.arrow-prev {
  left: 24px;
}

.hero-nav-arrow.arrow-next {
  right: 24px;
}

/* Slider Footer & Pagination Dots */
.hero-slider-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 0.75rem 0 1.25rem;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.85) 60%, #ffffff 100%);
}

.hero-slider-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.hero-dots-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-dot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid var(--border-light);
  border-radius: 9999px;
  padding: 0.4rem 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  color: var(--text-muted);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.hero-dot:hover {
  background: #ffffff;
  border-color: var(--brand-blue);
  color: var(--navy);
}

.hero-dot.active {
  background: #ffffff;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 119, 200, 0.18);
}

.hero-dot-index {
  font-size: 0.75rem;
  font-weight: 800;
}

.hero-dot-label {
  font-size: 0.82rem;
}

.hero-slider-status {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

#heroSlideCurrent {
  color: var(--brand-blue);
  font-size: 1.05rem;
}

/* Original Hero Utilities (preserved for slide layouts) */
.hero-section {
  background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 45%, #ffffff 100%);
  padding: 4.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

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

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

.hero-title {
  font-size: clamp(2.6rem, 4.5vw, 3.85rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.hero-title .text-teal,
.hero-title .text-blue {
  color: var(--brand-blue);
}

.hero-description {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 530px;
  margin-bottom: 2rem;
}

.hero-actions-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

.btn-hero-book {
  background-color: var(--brand-red);
  color: #ffffff;
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.85rem;
  font-weight: 700;
  font-size: 0.98rem;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.btn-hero-whatsapp {
  background-color: #ffffff;
  color: var(--navy);
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.65rem;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.btn-hero-whatsapp:hover {
  border-color: #25d366;
  color: #16a34a;
  background-color: rgba(37, 211, 102, 0.06);
  transform: translateY(-1px);
}

/* 3 Features Bar */
.hero-features-bar {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: #e8f4fc;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-feature-text {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

/* Hero Right Visual */
.hero-visual-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.hero-radial-glow {
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(0, 119, 200, 0.22) 0%, rgba(220, 38, 38, 0.06) 45%, rgba(255, 255, 255, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-tooth-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
  height: auto;
  filter: drop-shadow(0 15px 35px rgba(0, 119, 200, 0.28));
  animation: float3DTooth 5s ease-in-out infinite;
  transform-style: preserve-3d;
}

@keyframes float3DTooth {
  0%, 100% {
    transform: perspective(900px) translateY(0px) rotateX(0deg) rotateY(0deg);
    filter: drop-shadow(0 15px 35px rgba(0, 119, 200, 0.28));
  }
  50% {
    transform: perspective(900px) translateY(-14px) rotateX(5deg) rotateY(-8deg);
    filter: drop-shadow(0 25px 45px rgba(0, 119, 200, 0.38));
  }
}

/* Script Overlay */
.hero-script-tag {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--brand-blue-dark);
  font-weight: 700;
  line-height: 1.1;
  transform: rotate(-6deg);
  position: absolute;
  top: 0;
  right: 15px;
  z-index: 3;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
  pointer-events: none;
}

/* Floating Confident Smiles Badge */
.hero-badge-circle {
  position: absolute;
  bottom: 25px;
  right: 35px;
  z-index: 4;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: #ffffff;
  border: 3px solid #ffffff;
  box-shadow: 0 10px 25px rgba(0, 119, 200, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.2;
  animation: badgeFloat3D 4s ease-in-out infinite;
}

@keyframes badgeFloat3D {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.04);
  }
}

.hero-badge-circle svg {
  margin-bottom: 2px;
}

/* ==========================================================================
   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);
}

/* ==========================================================================
   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);
}

/* ==========================================================================
   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;
}

.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: cover;
  object-position: center;
}

.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: 1024px) {
  .header-phone-pill {
    display: none;
  }

  .hero-grid,
  .hero-slide-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-description,
  .hero-slide-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions-row {
    justify-content: center;
  }

  .hero-features-bar {
    justify-content: center;
  }

  .award-highlights-list {
    margin-left: auto;
    margin-right: auto;
  }

  .services-pills-grid {
    margin-left: auto;
    margin-right: auto;
  }

  .services-visual-3d-deck {
    margin: 0 auto;
    height: 320px;
  }

  .service-3d-card {
    width: 250px;
  }

  .hero-nav-arrow.arrow-prev { left: 8px; }
  .hero-nav-arrow.arrow-next { right: 8px; }

  .hero-slider-section {
    min-height: auto;
  }

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

  .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-phone-pill {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-nav-arrow {
    display: none;
  }

  .hero-dot-label {
    display: none;
  }

  .hero-dot {
    padding: 0.35rem 0.65rem;
  }

  .hero-slider-footer-inner {
    justify-content: center;
  }

  .hero-slider-status {
    display: none;
  }

  .hero-slide {
    padding: 3rem 0 3.75rem;
  }

  .award-photo-frame {
    max-width: 100%;
    transform: none !important;
  }

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

  .about-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;
  }

  .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 (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;
  }
}
