/* ==========================================================================
   Dr Gandhi’s Dental Clinic — Master Stylesheet
   Theme: Premium Clinical-Luxury Aesthetic
   Official Palette:
   - Deep Navy:   #061B2B (Header, footer, headings, primary branding)
   - Logo Cyan:   #20D8E8 (Highlights, icons, accents)
   - Teal:        #078F9F (Primary buttons, active states)
   - Ice White:   #F3FAFC (Backgrounds, cards, alternate sections)
   - White:       #FFFFFF (Main canvas backgrounds)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Core Brand Colors */
  --navy: #061B2B;
  --navy-light: #0d2b42;
  --navy-dark: #030f1a;
  
  --cyan: #20D8E8;
  --cyan-hover: #1ac0cf;
  --cyan-light: rgba(32, 216, 232, 0.12);
  --cyan-subtle: rgba(32, 216, 232, 0.22);
  --cyan-glow: 0 0 28px rgba(32, 216, 232, 0.28);

  --teal: #078F9F;
  --teal-hover: #057380;
  --teal-light: #e6f7f9;
  --teal-subtle: #d0f0f4;
  
  --white: #FFFFFF;
  --ice-white: #F3FAFC;
  --cream: #F3FAFC; /* Mapped to Ice White for clean alternate sections */
  --silver-blue: #E2F1F7;
  --silver-light: #F3FAFC;
  --slate: #4A5B66;
  --slate-light: #6A7E8C;
  --line: #E1EDF2;
  
  /* Accent & Status Colors */
  --gold: #F59E0B;
  --gold-light: #FEF3C7;
  --emerald: #10B981;
  --emerald-light: #D1FAE5;
  --ruby: #EF4444;
  --ruby-light: #FEE2E2;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Elevations */
  --max-width: 1440px;
  --header-height: 84px;
  --topbar-height: 42px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(6, 27, 43, 0.04);
  --shadow-md: 0 8px 24px rgba(6, 27, 43, 0.07);
  --shadow-lg: 0 16px 40px rgba(6, 27, 43, 0.10);
  --shadow-hover: 0 20px 48px rgba(6, 27, 43, 0.14);
  --shadow-teal: 0 10px 25px rgba(7, 143, 159, 0.32);
  --shadow-cyan: 0 10px 25px rgba(32, 216, 232, 0.24);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--slate);
  background-color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

.container {
  width: 100%;
  max-width: var(--max-width, 1440px);
  margin-inline: auto;
  padding-inline: clamp(16px, 2.5vw, 36px);
  box-sizing: border-box;
}

.container-narrow {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3.5vw, 24px);
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Utility & Common Classes
   -------------------------------------------------------------------------- */
.section {
  padding: clamp(56px, 7vw, 96px) 0;
  position: relative;
}

.section-sm {
  padding: clamp(36px, 5vw, 60px) 0;
}

.section-cream {
  background-color: var(--cream);
}

.section-silver {
  background-color: var(--silver-light);
}

.section-navy {
  background-color: var(--navy);
  color: #d1dde5;
}
.section-navy h1, .section-navy h2, .section-navy h3, .section-navy h4 {
  color: var(--white);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(32px, 5vw, 56px);
}

.section-head.text-start {
  text-align: start;
  margin-inline: 0;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  background-color: var(--silver-blue);
  color: var(--teal);
  margin-bottom: 16px;
  border: 1px solid rgba(7, 139, 154, 0.15);
}

.badge-tag.tag-white {
  background-color: rgba(255, 255, 255, 0.12);
  color: #9ee6ee;
  border-color: rgba(255, 255, 255, 0.2);
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: clamp(12px, 2vw, 18px);
  line-height: 1.2;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.1vw, 1.0625rem);
  color: var(--slate);
  line-height: 1.7;
}
.section-navy .section-subtitle {
  color: #9eb5c4;
}

/* --------------------------------------------------------------------------
   Buttons & Links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-teal);
}
.btn-primary:hover {
  background-color: var(--teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(7, 139, 154, 0.38);
  color: var(--white);
}

.btn-navy {
  background-color: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-navy:hover {
  background-color: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.btn-outline-navy {
  background-color: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background-color: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-teal {
  background-color: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline-teal:hover {
  background-color: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  background-color: var(--cream);
  color: var(--teal);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--teal);
  font-size: 0.9375rem;
}
.link-arrow:hover {
  color: var(--navy);
  gap: 10px;
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.topbar {
  background-color: var(--navy);
  color: #b0c4d3;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: var(--topbar-height, 42px);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1001;
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.topbar-info, 
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 28px; /* Consistent 24-32px spacing */
  white-space: nowrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  color: #b0c4d3;
}

.topbar-item svg {
  color: var(--cyan);
  flex-shrink: 0;
}

.topbar-item a {
  color: inherit;
  transition: color 0.2s ease;
}

.topbar-item a:hover {
  color: var(--cyan);
}

/* Defensively format topbar live status badge to prevent any vertical misalignment */
.topbar .topbar-badge,
.topbar .opd-status-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 4px 12px !important;
  border-radius: var(--radius-pill) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}

.topbar-badge,
.topbar-badge.open,
.topbar .opd-status-pill.open {
  background-color: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.topbar-badge.closed,
.topbar .opd-status-pill.closed {
  background-color: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.topbar-badge span,
.topbar .opd-status-pill span {
  font-size: 0.65rem;
  line-height: 1;
  display: inline-block;
  animation: pulseDot 2s infinite;
}

.topbar-badge.open span,
.topbar .opd-status-pill.open span {
  color: #34d399;
}

.topbar-badge.closed span,
.topbar .opd-status-pill.closed span {
  color: #ef4444;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Sticky Main Navigation Header */
.main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}

.main-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(3, 29, 45, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height, 80px);
  width: 100%;
  position: relative;
}

/* Flanking layout ensures the nav menu is visually centered across the 1440px container */
.site-logo {
  flex: 1 0 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.site-logo img {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.nav-wrapper {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(24px, 2.2vw, 32px); /* 28-36px spacing */
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease;
  line-height: 1.2;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background-color: var(--teal);
  transition: width 0.25s ease;
}

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

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

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

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

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  transition: var(--transition);
}

.dropdown-link:hover {
  background-color: var(--silver-light);
  color: var(--teal);
  padding-left: 24px;
}

.dropdown-link.active {
  color: var(--teal);
  font-weight: 700;
}

.header-cta {
  flex: 1 0 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  gap: 16px;
}

.header-cta .btn {
  height: 44px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  background-color: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(7, 143, 159, 0.25);
  transition: var(--transition);
}

.header-cta .btn:hover {
  background-color: var(--teal-hover);
  box-shadow: 0 6px 18px rgba(7, 143, 159, 0.35);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--navy);
  cursor: pointer;
  padding: 6px;
  line-height: 1;
  align-items: center;
  justify-content: center;
}

/* Mobile Offcanvas */
.mobile-nav {
  position: fixed;
  inset: 0;
  background-color: rgba(3, 29, 45, 0.6);
  backdrop-filter: blur(6px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 85vw);
  height: 100%;
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.open .mobile-drawer {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.mobile-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy);
  cursor: pointer;
}

.mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-links a {
  display: block;
  padding: 12px 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  border-radius: var(--radius-sm);
}
.mobile-links a:hover, .mobile-links a.active {
  background-color: var(--silver-blue);
  color: var(--teal);
}

.mobile-dropdown-btn {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 12px 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  cursor: pointer;
}
.mobile-submenu {
  list-style: none;
  padding-left: 18px;
  display: none;
  flex-direction: column;
  gap: 4px;
}
.mobile-submenu.open {
  display: flex;
}
.mobile-submenu a {
  font-size: 0.9375rem;
  color: var(--slate);
  padding: 8px 14px;
}

/* --------------------------------------------------------------------------
   Section 1: Homepage Hero Slider & 3D Interactive Centerpiece
   -------------------------------------------------------------------------- */
.hero-slider-section {
  position: relative;
  background: radial-gradient(circle at 78% 38%, #e0f4f7 0%, var(--ice-white) 42%, var(--white) 78%);
  overflow: hidden;
  min-height: calc(100vh - var(--header-height) - var(--topbar-height));
  display: flex;
  align-items: center;
  padding: 40px 0 60px;
}

.hero-glow-1 {
  position: absolute;
  top: 5%;
  right: 12%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(32, 216, 232, 0.16) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.hero-glow-2 {
  position: absolute;
  bottom: 5%;
  left: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(243, 250, 252, 0.95) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

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

.hero-slides-wrapper {
  position: relative;
  width: 100%;
  min-height: 560px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px) scale(0.985);
  transition: opacity 0.65s cubic-bezier(0.2, 0.8, 0.25, 1), transform 0.65s cubic-bezier(0.2, 0.8, 0.25, 1);
  display: flex;
  align-items: center;
  z-index: 1;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(24px, 3.5vw, 48px);
  width: 100%;
}

.hero-content {
  max-width: 620px;
}

/* Slide Entry Animations */
.hero-slide.active .hero-badge {
  animation: heroFadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-slide.active .hero-title {
  animation: heroFadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}
.hero-slide.active .hero-motto {
  animation: heroFadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}
.hero-slide.active .hero-desc {
  animation: heroFadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}
.hero-slide.active .hero-actions {
  animation: heroFadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}
.hero-slide.active .hero-trust-bar {
  animation: heroFadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}
.hero-slide.active .hero-visual-wrapper {
  animation: heroFadeInScale 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

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

@keyframes heroFadeInScale {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--ice-white);
  color: var(--navy);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 20px;
  border: 1px solid rgba(32, 216, 232, 0.3);
  box-shadow: 0 2px 10px rgba(6, 27, 43, 0.04);
}
.hero-badge .badge-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-badge span {
  color: var(--teal);
}

.hero-motto {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--teal);
  margin-bottom: 12px;
}
.hero-motto::before {
  content: "";
  width: 22px;
  height: 2px;
  background-color: var(--cyan);
  display: inline-block;
}

.hero-title {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 20px;
  word-break: normal;
  overflow-wrap: break-word;
}
.hero-title .highlight-cyan {
  color: var(--cyan);
  position: relative;
  display: inline-block;
  text-shadow: 0 0 24px rgba(32, 216, 232, 0.28);
}
.hero-title .highlight-teal {
  color: var(--cyan); /* Cyan accents for primary title highlights */
  position: relative;
  display: inline-block;
  text-shadow: 0 0 24px rgba(32, 216, 232, 0.28);
}

.hero-desc {
  font-size: clamp(0.95rem, 1.15vw, 1.125rem);
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 16px);
  margin-bottom: clamp(24px, 3.5vw, 40px);
}

.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 20px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  width: 100%;
}

.trust-item strong {
  display: block;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 800;
  color: var(--navy);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 4px;
}
.trust-item strong .accent {
  color: var(--cyan);
}
.trust-item span {
  font-size: clamp(0.72rem, 1vw, 0.82rem);
  color: var(--slate);
  font-weight: 500;
  line-height: 1.35;
  display: block;
}

/* --------------------------------------------------------------------------
   3D Porcelain Tooth Visual Centerpiece
   -------------------------------------------------------------------------- */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  perspective: 1000px;
}

.tooth-3d-stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
  margin: 0 auto;
}

/* Background Soft Glow Aura */
.tooth-pedestal-glow {
  position: absolute;
  width: min(380px, 90%);
  height: min(380px, 90%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 216, 232, 0.2) 0%, rgba(243, 250, 252, 0.6) 50%, rgba(255, 255, 255, 0) 74%);
  z-index: 1;
  pointer-events: none;
}

/* Orbit Ring with Cyan Accent */
.tooth-orbit-ring {
  position: absolute;
  width: min(400px, 95%);
  height: min(400px, 95%);
  border-radius: 50%;
  border: 1.5px dashed rgba(32, 216, 232, 0.35);
  z-index: 2;
  pointer-events: none;
  animation: orbitSpin 35s linear infinite;
}

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

/* Main 3D Tooth Porcelain Element */
.tooth-porcelain-container {
  position: relative;
  z-index: 3;
  width: min(290px, 70%);
  height: min(290px, 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: toothLevitate 5s ease-in-out infinite alternate;
  will-change: transform;
}

.tooth-porcelain-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 32px rgba(6, 27, 43, 0.14)) drop-shadow(0 10px 22px rgba(32, 216, 232, 0.22));
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  user-select: none;
  -webkit-user-drag: none;
}

/* Tooth Soft Shadow */
.tooth-soft-shadow {
  position: absolute;
  bottom: 20px;
  width: min(200px, 55%);
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(6, 27, 43, 0.18) 0%, rgba(6, 27, 43, 0) 70%);
  z-index: 2;
  animation: shadowPulse 5s ease-in-out infinite alternate;
}

@keyframes toothLevitate {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(1.2deg); }
  100% { transform: translateY(4px) rotate(-1deg); }
}

@keyframes shadowPulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(0.85); opacity: 0.45; }
  100% { transform: scale(1.05); opacity: 0.9; }
}

/* Hero Realistic Patient Portrait Stage */
.hero-patient-stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.hero-patient-frame {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(6, 27, 43, 0.16), 0 8px 24px rgba(7, 143, 159, 0.12);
  border: 2px solid rgba(32, 216, 232, 0.35);
  background: #ffffff;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.hero-patient-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 56px rgba(6, 27, 43, 0.22), 0 12px 28px rgba(32, 216, 232, 0.25);
}

.hero-patient-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.hero-patient-badge-bar {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  padding: 8px 14px;
  background: rgba(6, 27, 43, 0.84);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  border: 1px solid rgba(32, 216, 232, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 0.82rem;
  z-index: 4;
}

.hero-patient-badge-bar .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  flex-shrink: 0;
}

/* Floating interactive chips on hero */
.floating-pill {
  position: absolute;
  z-index: 5;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(32, 216, 232, 0.32);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(6, 27, 43, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
  max-width: min(250px, calc(100% - 16px));
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.floating-pill:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--cyan);
  box-shadow: 0 14px 30px rgba(32, 216, 232, 0.22);
}

.floating-pill.pill-top-right {
  top: 6%;
  right: 0;
  animation: floatCard1 6s ease-in-out infinite;
}

.floating-pill.pill-bottom-left {
  bottom: 6%;
  left: 0;
  animation: floatCard2 7s ease-in-out infinite;
}

.pill-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(32, 216, 232, 0.12);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.pill-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
  font-family: var(--font-heading);
  line-height: 1.2;
}
.pill-text span {
  font-size: 0.75rem;
  color: var(--slate);
}

@keyframes floatCard1 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes floatCard2 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* --------------------------------------------------------------------------
   Slider Navigation Controls (Arrows, Dots, Progress)
   -------------------------------------------------------------------------- */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(7, 139, 154, 0.25);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 6px 18px rgba(3, 29, 45, 0.08);
  transition: all 0.25s ease;
}
.hero-slider-arrow:hover {
  background-color: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(7, 139, 154, 0.28);
}
.hero-slider-arrow:active {
  transform: translateY(-50%) scale(0.96);
}
.hero-slider-arrow.prev {
  left: max(16px, calc((100% - 1240px) / 2 - 58px));
}
.hero-slider-arrow.next {
  right: max(16px, calc((100% - 1240px) / 2 - 58px));
}

@media (max-width: 1320px) {
  .hero-slider-arrow {
    top: auto;
    bottom: 14px;
    transform: none;
    width: 40px;
    height: 40px;
  }
  .hero-slider-arrow.prev {
    left: calc(50% - 94px);
    right: auto;
  }
  .hero-slider-arrow.next {
    left: calc(50% + 54px);
    right: auto;
  }
  .hero-slider-arrow:hover {
    transform: scale(1.08);
  }
}

.hero-slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(7, 139, 154, 0.18);
  box-shadow: 0 4px 14px rgba(3, 29, 45, 0.06);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #cbd5e1;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-dot:hover {
  background-color: var(--teal);
  opacity: 0.8;
}
.hero-dot.active {
  width: 30px;
  border-radius: 10px;
  background-color: var(--teal);
}

/* Auto-play progress indicator line */
.hero-slider-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), #34d399);
  z-index: 11;
  transition: width 0.1s linear;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none !important;
  }
  .tooth-porcelain-container,
  .tooth-soft-shadow,
  .tooth-orbit-ring,
  .floating-pill {
    animation: none !important;
  }
}

/* Mobile & Tablet Slider Adjustments */
@media (max-width: 991px) {
  .hero-slider-section {
    padding: clamp(24px, 4vw, 36px) 0 clamp(48px, 6vw, 72px);
    min-height: auto;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: clamp(24px, 4vw, 36px);
  }
  .hero-content {
    max-width: 620px;
    margin: 0 auto;
    order: 1;
  }
  .hero-visual-wrapper {
    min-height: auto;
    order: 2;
    margin-top: 10px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-trust-bar {
    justify-content: center;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto;
  }
  .tooth-3d-stage {
    max-width: 320px;
    height: 320px;
  }
  .tooth-porcelain-container {
    width: 220px;
    height: 220px;
  }
  .tooth-pedestal-glow {
    width: 260px;
    height: 260px;
  }
  .tooth-orbit-ring {
    width: 290px;
    height: 290px;
  }
  .floating-pill.pill-top-right {
    top: 4%;
    right: 0;
  }
  .floating-pill.pill-bottom-left {
    bottom: 4%;
    left: 0;
  }
  .hero-patient-stage {
    max-width: 330px;
  }
  .hero-patient-img {
    height: 310px;
  }
}

@media (max-width: 640px) {
  .hero-slider-arrow {
    display: none; /* Rely on dots and touch swipe on mobile */
  }
}

/* --------------------------------------------------------------------------
   Section 2: Why Choose Us (Signature Centered Tooth & 6 Benefit Pillars)
   -------------------------------------------------------------------------- */
.section-why-choose {
  background-color: var(--ice-white);
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}

.why-choose-decor {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.decor-top-left {
  top: -100px;
  left: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(32, 216, 232, 0.12) 0%, rgba(243, 250, 252, 0) 70%);
}

.decor-bottom-right {
  bottom: -120px;
  right: -100px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(6, 27, 43, 0.05) 0%, rgba(243, 250, 252, 0) 70%);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 390px 1fr;
  align-items: center;
  gap: 40px;
  margin-top: 52px;
  position: relative;
  z-index: 1;
}

.why-choose-col {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
}

.benefit-card-content {
  flex: 1;
}

.benefit-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.45vw, 1.45rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.benefit-desc {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.6;
  margin: 0;
}

.benefit-icon-wrapper {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid rgba(32, 216, 232, 0.35);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(32, 216, 232, 0.12);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-card:hover .benefit-icon-wrapper {
  background-color: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(7, 143, 159, 0.32);
}

@media (min-width: 992px) {
  .benefit-card-left {
    text-align: right;
    flex-direction: row;
  }
  .benefit-card-left .benefit-card-content {
    order: 1;
  }
  .benefit-card-left .benefit-icon-wrapper {
    order: 2;
  }

  .benefit-card-right {
    text-align: left;
    flex-direction: row;
  }
  .benefit-card-right .benefit-icon-wrapper {
    order: 1;
  }
  .benefit-card-right .benefit-card-content {
    order: 2;
  }
}

/* Center Column: Porcelain Tooth Centerpiece & Floating Animated Satellite Dots */
.why-choose-center {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.tooth-circle-stage {
  position: relative;
  width: 380px;
  height: 380px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tooth-circle-inner {
  width: 320px;
  height: 320px;
  background: #ffffff;
  border-radius: 50%;
  border: 2px solid rgba(32, 216, 232, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 45px rgba(6, 27, 43, 0.08), 0 4px 18px rgba(32, 216, 232, 0.16);
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 16px;
}

.why-choose-tooth-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(6, 27, 43, 0.1));
}

.orbit-ring {
  position: absolute;
  width: 370px;
  height: 370px;
  border-radius: 50%;
  border: 1.5px dashed rgba(32, 216, 232, 0.35);
  z-index: 1;
  animation: orbitRotate 40s linear infinite;
  pointer-events: none;
}

@keyframes orbitRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.orbit-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--cyan);
  box-shadow: 0 0 12px rgba(32, 216, 232, 0.7);
  animation: dotPulse 3s ease-in-out infinite alternate;
}

.dot-1 { top: -6px; left: 50%; transform: translateX(-50%); }
.dot-2 { top: 25%; right: 4px; animation-delay: 0.5s; background-color: var(--teal); }
.dot-3 { bottom: 25%; right: 4px; animation-delay: 1s; }
.dot-4 { bottom: -6px; left: 50%; transform: translateX(-50%); animation-delay: 1.5s; background-color: var(--teal); }
.dot-5 { bottom: 25%; left: 4px; animation-delay: 2s; }
.dot-6 { top: 25%; left: 4px; animation-delay: 2.5s; background-color: var(--teal); }

@keyframes dotPulse {
  0% { transform: scale(0.85); opacity: 0.7; }
  100% { transform: scale(1.3); opacity: 1; }
}

.why-choose-badge {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid #d2e7f3;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(3, 29, 45, 0.08);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.why-choose-badge .badge-icon {
  color: var(--teal);
  font-size: 1rem;
}

/* Fallback Trust Indicators Grid (if needed) */
.trust-indicators-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.trust-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--teal);
  transition: width 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(7, 139, 154, 0.3);
}
.trust-card:hover::before {
  width: 100%;
}

.trust-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background-color: var(--silver-blue);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.trust-card:hover .trust-icon-box {
  background-color: var(--teal);
  color: var(--white);
}

.trust-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.trust-card p {
  font-size: 0.8875rem;
  color: var(--slate);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Section 3: About Clinic
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visuals {
  position: relative;
}

.about-main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-secondary-card {
  position: absolute;
  bottom: -30px;
  right: -20px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-hover);
  max-width: 280px;
  z-index: 3;
}

.about-exp-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 6px;
}

.about-exp-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 30px 0 36px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-feature-item span {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   Section 4: Featured Treatments (3-Column Layout)
   -------------------------------------------------------------------------- */
.featured-treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.featured-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.featured-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(7, 139, 154, 0.3);
}

.featured-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.featured-card:hover .featured-img-wrap img {
  transform: scale(1.06);
}

.featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: rgba(3, 29, 45, 0.85);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.featured-body {
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.featured-body h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.featured-body p {
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   Section 5: Advanced Teeth Protection
   -------------------------------------------------------------------------- */
.protection-box {
  background: linear-gradient(135deg, var(--silver-light) 0%, #eaf2f6 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.protection-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
}

.protection-benefits {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0 36px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--white);
  color: var(--teal);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.benefit-item h4 {
  font-size: 1.0625rem;
  margin-bottom: 4px;
}

.benefit-item p {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.5;
}

.protection-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.protection-shield-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--white);
  border: 1px solid var(--line);
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.protection-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-height: 380px;
  width: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Section 6: Complete Treatment Directory Grid
   -------------------------------------------------------------------------- */
.treatment-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.directory-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.directory-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
}

.directory-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.directory-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--silver-blue);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: var(--transition);
}

.directory-card:hover .directory-card-icon {
  background-color: var(--teal);
  color: var(--white);
}

.directory-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--slate-light);
  background-color: var(--silver-light);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.directory-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.directory-card p {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   Section 7: Technology & Clinic Facilities
   -------------------------------------------------------------------------- */
.tech-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}

.tech-gallery-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 16px;
}
.tech-gallery-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.tech-gallery-mosaic img:hover {
  transform: scale(1.02);
}
.tech-gallery-mosaic .img-span {
  grid-row: span 2;
  height: 100%;
}

.tech-features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 30px;
}

.tech-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background-color: var(--white);
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.tech-feature-card:hover {
  border-color: rgba(7, 139, 154, 0.4);
  box-shadow: var(--shadow-sm);
}

.tech-num {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--teal);
  background-color: var(--teal-light);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tech-feature-card h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.tech-feature-card p {
  font-size: 0.875rem;
  color: var(--slate);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Section 8: Meet the Dentists
   -------------------------------------------------------------------------- */
.dentists-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.doctor-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(7, 139, 154, 0.3);
}

.doctor-photo-wrap {
  position: relative;
  height: 380px;
  background-color: var(--silver-light);
  overflow: hidden;
}
.doctor-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.doctor-card:hover .doctor-photo-wrap img {
  transform: scale(1.03);
}

.doctor-card-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.doctor-specialty {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--teal);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.doctor-card-body h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.doctor-qualifications {
  font-size: 0.875rem;
  color: var(--slate-light);
  font-weight: 500;
  margin-bottom: 16px;
}

.doctor-card-body p {
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.doctor-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

/* --------------------------------------------------------------------------
   Section 9: Patient Testimonials (Clean Layout & Carousel)
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(7, 139, 154, 0.3);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--silver-blue);
  color: var(--teal);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.author-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.author-info span {
  font-size: 0.775rem;
  color: var(--slate-light);
}

.google-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--white);
  border: 1px solid var(--line);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  margin-top: 40px;
}
.google-review-badge strong {
  color: var(--navy);
  font-family: var(--font-heading);
}

/* --------------------------------------------------------------------------
   Section 10: Appointment CTA (Full-Width Deep Navy)
   -------------------------------------------------------------------------- */
.cta-navy-wrapper {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: var(--radius-xl);
  padding: 70px 60px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-navy-wrapper::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(7, 139, 154, 0.22) 0%, rgba(3, 29, 45, 0) 70%);
  pointer-events: none;
}

.cta-navy-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.cta-navy-content h2 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  color: var(--white);
  margin-bottom: 12px;
}
.cta-navy-content p {
  font-size: 1.1rem;
  color: #a4bccb;
  max-width: 580px;
}

.cta-navy-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Section 11: Frequently Asked Questions (Accessible Accordion)
   -------------------------------------------------------------------------- */
.faq-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.accordion-item {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item.active {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 28px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: var(--transition);
}

.accordion-header:hover {
  color: var(--teal);
}

.accordion-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--silver-light);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.3s ease, background-color 0.3s ease;
  flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
  background-color: var(--teal);
  color: var(--white);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 28px;
}

.accordion-item.active .accordion-content {
  padding-bottom: 24px;
}

.accordion-content p {
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Section 12: Contact Preview & Map
   -------------------------------------------------------------------------- */
.contact-preview-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-preview-info {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon-pill {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.contact-info-item p, .contact-info-item a {
  font-size: 0.9rem;
  color: var(--slate);
}
.contact-info-item a:hover {
  color: var(--teal);
}

.contact-map-embed {
  min-height: 420px;
  width: 100%;
}
.contact-map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --------------------------------------------------------------------------
   OPD Schedule Page Specific Styles
   -------------------------------------------------------------------------- */
.opd-hero-banner {
  background: linear-gradient(135deg, #eef7f9 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  padding: 70px 0 50px;
}

.opd-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.opd-status-pill.open {
  background-color: var(--emerald-light);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.opd-status-pill.closed {
  background-color: var(--ruby-light);
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.schedule-table-wrap {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
  width: 100%;
}

.schedule-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  text-align: left;
}

.schedule-table th {
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  padding: 18px 24px;
  font-weight: 700;
}

.schedule-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--slate);
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.schedule-table tr:hover td {
  background-color: var(--silver-light);
}

.schedule-day-badge {
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-heading);
}

.time-badge {
  display: inline-block;
  background-color: var(--silver-blue);
  color: var(--navy);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
}

.time-badge.closed {
  background-color: var(--ruby-light);
  color: #991b1b;
}

.doctor-session-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.doctor-session-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.notice-banner {
  background-color: var(--gold-light);
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 40px;
}
.notice-icon {
  font-size: 1.5rem;
  color: #b45309;
}
.notice-text strong {
  display: block;
  color: #92400e;
  font-size: 1rem;
  margin-bottom: 4px;
}
.notice-text p {
  color: #78350f;
  font-size: 0.875rem;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Forms (Appointment, Feedback, Contact)
   -------------------------------------------------------------------------- */
.form-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

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

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

.form-group.col-span-2 {
  grid-column: span 2;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
}
.form-label .required {
  color: var(--ruby);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  color: var(--navy);
  font-size: 0.9375rem;
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(7, 139, 154, 0.15);
}

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

.form-note {
  font-size: 0.775rem;
  color: var(--slate-light);
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--slate);
}

/* Star Rating Input Widget */
.star-rating-widget {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 6px;
}

.star-rating-widget input {
  display: none;
}

.star-rating-widget label {
  font-size: 1.8rem;
  color: #d1d5db;
  cursor: pointer;
  transition: color 0.2s ease;
}

.star-rating-widget input:checked ~ label,
.star-rating-widget label:hover,
.star-rating-widget label:hover ~ label {
  color: var(--gold);
}

/* Form Alert State */
.alert-box {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  margin-bottom: 24px;
  display: none;
}
.alert-box.alert-success {
  background-color: var(--emerald-light);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: block;
}
.alert-box.alert-error {
  background-color: var(--ruby-light);
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.3);
  display: block;
}

/* --------------------------------------------------------------------------
   Before & After Interactive Slider
   -------------------------------------------------------------------------- */
.ba-comparison-wrapper {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  user-select: none;
  border: 2px solid var(--white);
}

.ba-image-container {
  position: relative;
  width: 100%;
  height: clamp(260px, 45vw, 440px);
}

.ba-image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-overlay-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  border-right: 3px solid var(--white);
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
}
.ba-overlay-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--ba-full-width, 820px);
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.ba-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 44px;
  margin-left: -22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  z-index: 10;
}

.ba-handle-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--navy);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
}

.ba-tag-label {
  position: absolute;
  bottom: 20px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background-color: rgba(3, 29, 45, 0.85);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
  z-index: 5;
}
.ba-tag-label.before { left: 20px; }
.ba-tag-label.after { right: 20px; background-color: var(--teal); }

/* --------------------------------------------------------------------------
   Gallery Page & Lightbox
   -------------------------------------------------------------------------- */
.gallery-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background-color: var(--white);
  color: var(--slate);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

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

.gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  height: 280px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 29, 45, 0.85) 0%, rgba(3, 29, 45, 0) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}
.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-card-overlay h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.gallery-card-overlay span {
  color: #a4bccb;
  font-size: 0.8125rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(3, 29, 45, 0.94);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 960px;
  width: 100%;
  text-align: center;
}

.lightbox-img {
  max-height: 80vh;
  max-width: 100%;
  border-radius: var(--radius-sm);
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: var(--white);
  font-size: 1.05rem;
  margin-top: 16px;
  font-family: var(--font-heading);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Awards & Achievements Page
   -------------------------------------------------------------------------- */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.award-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: center;
}
.award-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(7, 139, 154, 0.3);
}

.award-badge-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light) 0%, #fef9c3 100%);
  color: var(--gold);
  border: 2px solid #fde047;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 24px;
}

.award-year {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--teal);
  background-color: var(--silver-blue);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  align-self: center;
}

.award-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.award-org {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-light);
  margin-bottom: 16px;
}

.award-card p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Blog / Dental Health Pages
   -------------------------------------------------------------------------- */
.blog-featured-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 60px;
}

.blog-featured-img {
  height: 100%;
  min-height: 380px;
}
.blog-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-featured-body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--slate-light);
  margin-bottom: 14px;
}

.blog-meta-category {
  color: var(--teal);
  font-weight: 700;
  text-transform: uppercase;
}

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

.blog-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(7, 139, 154, 0.3);
}

.blog-card-img {
  height: 220px;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-body p {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Individual Blog Page Detail Layout */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: flex-start;
}

.article-main {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.article-main h2 {
  font-size: 1.75rem;
  margin: 36px 0 16px;
  color: var(--navy);
}

.article-main h3 {
  font-size: 1.35rem;
  margin: 28px 0 12px;
}

.article-main p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--slate);
  margin-bottom: 24px;
}

.article-main ul, .article-main ol {
  margin: 0 0 24px 24px;
  color: var(--slate);
  font-size: 1.02rem;
  line-height: 1.8;
}

.article-callout {
  background-color: var(--silver-light);
  border-left: 4px solid var(--teal);
  padding: 24px 28px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 32px 0;
}
.article-callout p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
}

.article-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget h4 {
  font-size: 1.15rem;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toc-list a {
  font-size: 0.9rem;
  color: var(--slate);
  display: block;
}
.toc-list a:hover {
  color: var(--teal);
  padding-left: 4px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.main-footer {
  background-color: var(--navy);
  color: #a4bccb;
  padding-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.1fr 1.1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-logo-link {
  display: inline-block;
  background-color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: var(--transition);
}
.footer-logo-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(32, 216, 232, 0.25);
}

.footer-brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 0;
}

.footer-col-info img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-tagline-block {
  margin-bottom: 14px;
}

.footer-brand-title {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.footer-tagline {
  color: var(--cyan);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0;
  letter-spacing: 0.3px;
}

.footer-bio {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #92abbc;
  margin-bottom: 20px;
}

.footer-col-info p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #92abbc;
  margin-bottom: 20px;
}

.footer-social-section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-heading {
  color: #c0d3e2;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
}

.footer-social-icons, .footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.social-brand-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(32, 216, 232, 0.08);
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(32, 216, 232, 0.28);
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.social-brand-btn svg {
  display: block;
  fill: currentColor;
  transition: transform 0.28s ease;
}

.social-brand-btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.social-brand-btn:hover {
  transform: translateY(-4px) scale(1.06);
  background-color: var(--cyan);
  color: var(--navy);
  border-color: var(--cyan);
  box-shadow: 0 8px 22px rgba(32, 216, 232, 0.4);
}

.social-brand-btn:hover svg {
  transform: scale(1.08);
}

/* Fallback button if needed */
.social-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(32, 216, 232, 0.08);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(32, 216, 232, 0.25);
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-icon-btn:hover {
  background-color: var(--cyan);
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(32, 216, 232, 0.35);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background-color: var(--cyan);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  font-size: 0.9rem;
  color: #92abbc;
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links-list a:hover {
  color: var(--cyan);
  transform: translateX(4px);
}

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

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #c0d3e2;
}

.footer-contact-row a {
  color: #c0d3e2;
  transition: color 0.2s ease;
}
.footer-contact-row a:hover {
  color: var(--cyan);
}

.footer-contact-icon {
  color: var(--cyan);
  font-size: 1.1rem;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  font-size: 0.84rem;
  color: #728b9b;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-legal-links a:hover {
  color: var(--cyan);
}

.footer-copyright {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.84rem;
  color: #728b9b;
}

.footer-credit-sep {
  color: rgba(255, 255, 255, 0.25);
  margin: 0 4px;
}

.developer-link {
  color: #20D8E8;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease, opacity 0.2s ease;
}

.developer-link:hover,
.developer-link:focus {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-shadow: 0 0 8px rgba(32, 216, 232, 0.4);
}

/* --------------------------------------------------------------------------
   Responsive Media Queries & Breakpoint Management
   Supports: 320px, 375px, 430px, 768px, 1024px, 1280px, 1440px+
   -------------------------------------------------------------------------- */

/* Tablet Landscape & Small Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .topbar-info .topbar-item:first-child {
    display: none; /* Hide long address, preserve hours, phone, and rating */
  }
  .topbar-info, 
  .topbar-actions {
    gap: 18px;
  }
  
  .site-logo {
    flex: 0 1 auto;
  }
  
  .nav-wrapper {
    display: none !important;
  }
  
  .mobile-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
  
  .header-cta {
    flex: 0 1 auto;
    gap: 12px;
  }
  
  .header-cta .btn {
    display: inline-flex !important;
    height: 40px;
    padding: 0 16px;
    font-size: 0.84rem;
  }

  .about-grid, 
  .tech-split, 
  .protection-grid, 
  .contact-preview-grid, 
  .blog-featured-card, 
  .article-layout {
    grid-template-columns: 1fr;
    gap: clamp(32px, 5vw, 44px);
  }

  .article-sidebar {
    position: static;
    margin-top: 10px;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .why-choose-center {
    order: -1;
    margin-bottom: 16px;
  }
  .tooth-circle-stage {
    width: min(330px, 80vw);
    height: min(330px, 80vw);
  }
  .tooth-circle-inner {
    width: min(270px, 66vw);
    height: min(270px, 66vw);
  }
  .orbit-ring {
    width: min(320px, 78vw);
    height: min(320px, 78vw);
  }
  .benefit-card-left, 
  .benefit-card-right {
    text-align: left !important;
    flex-direction: row !important;
  }
  .benefit-card-left .benefit-card-content, 
  .benefit-card-right .benefit-card-content {
    order: 2 !important;
  }
  .benefit-card-left .benefit-icon-wrapper, 
  .benefit-card-right .benefit-icon-wrapper {
    order: 1 !important;
  }

  .featured-treatments-grid, 
  .treatment-directory-grid, 
  .testimonials-grid, 
  .awards-grid, 
  .blog-grid, 
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .cta-navy-content {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }
  .cta-navy-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Tablet Portrait & Large Smartphones (<= 768px) */
@media (max-width: 768px) {
  .topbar {
    display: flex;
    height: auto;
    min-height: 38px;
    padding: 6px 0;
  }
  .topbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
  }
  .topbar-info .topbar-item:first-child {
    display: none; /* Hide address on tablet/mobile */
  }
  .topbar-info, 
  .topbar-actions {
    gap: 12px;
  }

  .header-cta .btn {
    display: inline-flex !important;
    height: 38px;
    padding: 0 14px;
    font-size: 0.8125rem;
  }

  .trust-indicators-grid, 
  .featured-treatments-grid, 
  .treatment-directory-grid, 
  .dentists-grid, 
  .testimonials-grid, 
  .awards-grid, 
  .blog-grid, 
  .gallery-grid, 
  .doctor-session-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .form-group.col-span-2 {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  .footer-copyright {
    flex-direction: column;
    text-align: center;
    gap: 4px;
  }
  .footer-credit-sep {
    display: none;
  }
  .footer-legal-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .protection-box {
    padding: clamp(24px, 4.5vw, 36px) clamp(16px, 3.5vw, 24px);
  }
  .form-card {
    padding: clamp(24px, 4.5vw, 36px) clamp(16px, 3.5vw, 24px);
  }
  .about-secondary-card {
    position: relative;
    margin: -24px auto 0;
    right: auto;
    bottom: auto;
    max-width: min(280px, 90%);
    box-shadow: var(--shadow-md);
  }

  .tooth-circle-stage {
    width: min(270px, 80vw);
    height: min(270px, 80vw);
  }
  .tooth-circle-inner {
    width: min(220px, 66vw);
    height: min(220px, 66vw);
  }
  .orbit-ring {
    width: min(260px, 76vw);
    height: min(260px, 76vw);
  }
  .benefit-title {
    font-size: 1.15rem;
  }
}

/* Medium & Small Smartphones (<= 576px) */
@media (max-width: 576px) {
  .topbar-info {
    display: none; /* Reserve topbar for live status badge + tap-to-call phone */
  }
  .topbar-actions {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .topbar-phone-secondary {
    display: none; /* Prevent phone wrapping on mobile */
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }
  
  .btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  .contact-preview-info {
    padding: 28px 20px;
  }

  .contact-map-embed {
    min-height: 280px;
  }

  .gallery-filter-tabs {
    gap: 8px;
  }
  .filter-btn {
    padding: 8px 16px;
    font-size: 0.8125rem;
  }

  .tech-gallery-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }
  .tech-gallery-mosaic .img-span {
    grid-row: span 1;
    height: 220px;
  }
}

/* Compact Smartphones (<= 430px) */
@media (max-width: 430px) {
  .topbar {
    font-size: 0.75rem;
    padding: 4px 0;
  }
  .topbar .topbar-badge,
  .topbar .opd-status-pill {
    padding: 3px 8px !important;
    font-size: 0.7rem !important;
  }

  .site-logo img {
    height: 38px;
    max-width: 160px;
  }
  
  .header-cta {
    gap: 8px;
  }
  .header-cta .btn {
    height: 36px;
    padding: 0 11px;
    font-size: 0.775rem;
    gap: 5px;
  }
  .header-cta .btn svg {
    width: 14px;
    height: 14px;
  }

  .mobile-toggle {
    font-size: 1.5rem;
    padding: 4px;
  }

  .mobile-drawer {
    width: min(300px, 88vw);
    padding: 24px 18px;
  }

  .benefit-card {
    gap: 14px;
  }
  .benefit-icon-wrapper {
    width: 50px;
    height: 50px;
    min-width: 50px;
  }
}

/* Extra Small Smartphones (<= 375px down to 320px) */
@media (max-width: 375px) {
  .container, 
  .container-narrow {
    padding-inline: 12px;
  }

  .topbar {
    font-size: 0.72rem;
  }
  .topbar .topbar-badge,
  .topbar .opd-status-pill {
    padding: 2px 6px !important;
    font-size: 0.6875rem !important;
    gap: 4px !important;
  }

  .site-logo img {
    height: 32px;
    max-width: 125px;
  }

  .header-cta .btn {
    height: 34px;
    padding: 0 9px;
    font-size: 0.72rem;
  }
  .header-cta .btn svg {
    display: none; /* Save space for crisp text on 320px devices */
  }

  .hero-trust-bar {
    gap: 8px;
  }
  .trust-item strong {
    font-size: 1.25rem;
  }
  .trust-item span {
    font-size: 0.6875rem;
  }

  .tooth-circle-stage {
    width: 230px;
    height: 230px;
  }
  .tooth-circle-inner {
    width: 190px;
    height: 190px;
  }
  .orbit-ring {
    width: 225px;
    height: 225px;
  }
}

/* ==========================================================================
   MULTI-DOCTOR APPOINTMENT BOOKING SYSTEM & REFERENCE UI
   Reference: media_1792229075979_a7eb382c.png & Palette Direction
   ========================================================================== */

.booking-flow-container {
  max-width: 1040px;
  margin: 0 auto;
}

/* Step Progress Indicator */
.booking-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 36px;
  padding: 0 16px;
}

.booking-stepper::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 36px;
  right: 36px;
  height: 3px;
  background-color: var(--line);
  z-index: 1;
}

.stepper-progress-fill {
  position: absolute;
  top: 20px;
  left: 36px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  z-index: 2;
  transition: width 0.35s ease;
  width: 0%;
}

.step-item {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.step-bubble {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white);
  border: 2px solid var(--line);
  color: var(--slate);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.step-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate);
  text-align: center;
  white-space: nowrap;
}

.step-item.active .step-bubble {
  background-color: var(--teal);
  border-color: var(--cyan);
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(32, 216, 232, 0.25);
}

.step-item.active .step-label {
  color: var(--navy);
  font-weight: 700;
}

.step-item.completed .step-bubble {
  background-color: var(--navy);
  border-color: var(--teal);
  color: var(--cyan);
}

.step-item.completed .step-label {
  color: var(--teal);
}

/* Selected Doctor Floating Ribbon Banner */
.selected-doctor-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--ice-white), #e6f6f9);
  border: 1px solid rgba(7, 143, 159, 0.3);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  margin-bottom: 24px;
}

.ribbon-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ribbon-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--teal);
}

.ribbon-text h4 {
  font-size: 0.98rem;
  color: var(--navy);
  margin: 0;
  font-weight: 700;
}

.ribbon-text p {
  font-size: 0.8rem;
  color: var(--teal);
  margin: 2px 0 0;
  font-weight: 600;
}

/* Step 1: Doctor Selection Cards */
.doctor-selection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

.doctor-picker-card {
  position: relative;
  background-color: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.doctor-picker-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.doctor-picker-card.selected {
  border-color: var(--teal);
  background-color: #fafefe;
  box-shadow: 0 8px 24px rgba(7, 143, 159, 0.16);
}

.doctor-picker-header {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
}

.doctor-picker-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--ice-white);
  box-shadow: 0 4px 12px rgba(6, 27, 43, 0.1);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.doctor-picker-card.selected .doctor-picker-avatar {
  border-color: var(--cyan);
}

.doctor-badge-exp {
  display: inline-block;
  background: var(--ice-white);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(7, 143, 159, 0.25);
  margin-bottom: 6px;
}

.doctor-picker-title {
  font-size: 1.18rem;
  color: var(--navy);
  margin: 0 0 4px;
  font-weight: 700;
}

.doctor-picker-specialty {
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 2px;
}

.doctor-picker-quals {
  color: var(--slate);
  font-size: 0.78rem;
  margin: 0;
}

.doctor-picker-bio {
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.5;
  margin: 12px 0 16px;
}

.doctor-focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.focus-tag {
  background-color: var(--silver-light);
  color: var(--navy);
  font-size: 0.74rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-weight: 500;
}

.doctor-picker-action {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.doctor-fee-note {
  font-size: 0.8rem;
  color: var(--slate);
}
.doctor-fee-note strong {
  color: var(--navy);
  font-size: 0.95rem;
}

.btn-select-doc {
  background-color: var(--silver-light);
  color: var(--navy);
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.84rem;
  transition: all 0.2s ease;
}

.doctor-picker-card.selected .btn-select-doc {
  background-color: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  box-shadow: 0 3px 10px rgba(7, 143, 159, 0.3);
}

/* Step 2: Visit Type Selection */
.visit-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.visit-type-card {
  background-color: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.visit-type-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.visit-type-card.selected {
  border-color: var(--teal);
  background-color: #f5fbfc;
  box-shadow: 0 4px 16px rgba(7, 143, 159, 0.14);
}

.visit-type-card .vt-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
  display: inline-block;
}

.visit-type-card h4 {
  font-size: 0.98rem;
  color: var(--navy);
  margin: 0 0 6px;
  font-weight: 700;
}

.visit-type-card p {
  font-size: 0.8rem;
  color: var(--slate);
  margin: 0;
  line-height: 1.4;
}

.visit-type-card .vt-check {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: transparent;
  transition: all 0.2s ease;
}

.visit-type-card.selected .vt-check {
  background-color: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

/* Step 3: Reference Calendar & Slots (Matching media_1792229075979_a7eb382c.png) */
.booking-calendar-box {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.calendar-section-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin: 0 0 20px;
}

/* Horizontal Date Slider Carousel */
.date-slider-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  position: relative;
}

.date-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background-color: var(--white);
  color: var(--navy);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.date-nav-btn:hover:not(:disabled) {
  border-color: var(--teal);
  color: var(--teal);
  background-color: var(--ice-white);
  box-shadow: var(--shadow-sm);
}

.date-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.date-cards-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  flex: 1;
}

.date-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  background-color: var(--white);
  padding: 0 0 10px 0;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  user-select: none;
  min-height: 96px;
}

.date-card-top {
  width: 100%;
  padding: 5px 0;
  background-color: #f1f5f9;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--slate);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.date-card-num {
  font-size: 1.45rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--navy);
  margin: 6px 0 2px;
  line-height: 1;
}

.date-card-month {
  font-size: 0.72rem;
  color: var(--slate);
  font-weight: 600;
}

.date-card:hover:not(.disabled) {
  border-color: var(--teal);
  transform: translateY(-2px);
}

/* Selected Date Card (Matches screenshot purple/teal highlighted banner) */
.date-card.active {
  border-color: var(--teal);
  box-shadow: 0 4px 14px rgba(7, 143, 159, 0.2);
}

.date-card.active .date-card-top {
  background: linear-gradient(135deg, var(--teal), #056e7b);
  color: var(--white);
}

.date-card.active .date-card-num {
  color: var(--teal);
}

/* Disabled Date (Sunday or Past) */
.date-card.disabled {
  opacity: 0.45;
  background-color: #fafbfc;
  cursor: not-allowed;
  border-color: #edf2f7;
}

.date-card.disabled .date-card-num {
  color: #a0aec0;
}

/* Time Sub-Bar (Timezone & Duration Badge) */
.time-subbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.timezone-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--silver-light);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--navy);
  font-weight: 600;
}

.duration-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #e0f8fb;
  border: 1px solid rgba(32, 216, 232, 0.4);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--teal);
  font-weight: 700;
}

/* Time Slot Session Headings & Grid */
.slots-session-block {
  margin-bottom: 24px;
}

.session-heading {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.session-heading span {
  font-size: 0.78rem;
  font-weight: normal;
  color: var(--slate);
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.slot-btn {
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-pill);
  padding: 11px 8px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.slot-btn:hover:not(.disabled):not(.booked) {
  border-color: var(--teal);
  background-color: #f0fbfd;
  color: var(--teal);
  transform: translateY(-1px);
}

.slot-btn.active {
  background-color: var(--teal) !important;
  border-color: var(--teal) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 12px rgba(7, 143, 159, 0.35);
  font-weight: 700;
}

.slot-btn.booked,
.slot-btn.disabled {
  background-color: #f1f5f9;
  border-color: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
  text-decoration: line-through;
  opacity: 0.7;
}

.slot-btn.booked::after {
  content: ' (Booked)';
  font-size: 0.7rem;
  font-weight: 400;
  text-decoration: none;
  display: inline;
}

/* Step 4 & 5 Layout */
.booking-review-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: flex-start;
}

.summary-sidebar-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 90px;
}

.summary-sidebar-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.summary-row .label {
  color: var(--slate);
}

.summary-row .val {
  color: var(--navy);
  font-weight: 600;
  text-align: right;
  max-width: 60%;
}

.summary-row.highlight .val {
  color: var(--teal);
  font-size: 0.95rem;
  font-weight: 700;
}

/* Step 5: Instant Confirmation Card */
.confirmation-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin: 0 auto;
}

.conf-check-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
  margin-bottom: 20px;
  animation: scaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleIn {
  0% { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.conf-reference-badge {
  display: inline-block;
  background-color: var(--silver-light);
  border: 1.5px dashed var(--teal);
  color: var(--navy);
  font-family: monospace;
  font-size: 1.35rem;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  margin: 16px 0 24px;
  letter-spacing: 1px;
}

.conf-details-box {
  background-color: var(--ice-white);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: left;
  margin-bottom: 28px;
  border: 1px solid rgba(7, 143, 159, 0.2);
}

.conf-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .doctor-selection-grid {
    grid-template-columns: 1fr;
  }
  .visit-type-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .booking-review-layout {
    grid-template-columns: 1fr;
  }
  .summary-sidebar-card {
    position: static;
  }
  .time-slots-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .date-cards-row {
    grid-template-columns: repeat(4, 1fr);
  }
  .date-cards-row .date-card:nth-child(n+5) {
    display: none;
  }
  .time-slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .visit-type-grid {
    grid-template-columns: 1fr;
  }
  .conf-actions-grid {
    grid-template-columns: 1fr;
  }
  .booking-stepper .step-label {
    display: none;
  }
}

