/* CSS Reset & Variables */
:root {
  --bg-color: #F7F9F8;
  --color-navy: #0E2A42;
  --color-slate: #5B6E7E;
  --color-mint: #C6E3DE;
  --color-mint-light: #CFE8E2;
  --color-mint-dark: #C3E1DA;
  --color-white: #FFFFFF;
  --color-placeholder: #99A3AC;
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html, body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  background-color: var(--bg-color);
  font-family: var(--font-family);
  color: var(--color-navy);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Base Page Wrapper (Full-Width Responsive with Alternating Section Backgrounds) */
.page-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Base Common Section Full-Width Sizing & 902px Content Centering */
.hero-section,
.services-section,
.why-choose-section,
.how-it-works-section,
.experience-section,
.team-section,
.pricing-section,
.before-after-section,
.reviews-section,
.blog-section,
.cta-banner,
.faq-section,
.newsletter-section,
.site-footer {
  width: 100%;
  box-sizing: border-box;
  padding-left: max(24px, calc((100% - 902px) / 2));
  padding-right: max(24px, calc((100% - 902px) / 2));
}

/* Base Section Content Centering (Exact 902px Frame) */
.hero-intro,
.hero-main,
.services-header,
.services-container,
.why-choose-container,
.how-it-works-header,
.how-it-works-container,
.experience-header,
.experience-container,
.team-container,
.pricing-header,
.pricing-grid,
.partner-marquee-container,
.before-after-header,
.comparison-container,
.reviews-container,
.blog-header,
.blog-grid,
.cta-banner-inner,
.faq-container,
.newsletter-container,
.footer-main,
.footer-divider,
.footer-bottom {
  max-width: 902px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Header Navigation (Full-Width Sticky Frosted Bar)
   ========================================================================== */
.site-header {
  width: 100%;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 249, 248, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(14, 42, 66, 0.06);
  padding: 12px max(24px, calc((100% - 902px) / 2));
  box-sizing: border-box;
  transition: all 0.25s ease;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  margin-left: -1px; /* Tooth starts at X=60 */
  transition: opacity 0.15s ease;
}

.logo:hover {
  opacity: 0.88;
}

.logo-mark {
  width: 20px;
  height: 21px;
  display: block;
  margin-top: -1px;
}

.logo-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.01em;
  line-height: 1;
}

/* Navigation Links */
.main-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-slate);
  position: relative;
  transition: color 0.2s ease;
  line-height: 1;
  padding: 6px 2px;
  cursor: pointer;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 26px;
  height: 2.5px;
  background-color: var(--color-mint);
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), opacity 0.2s ease;
  opacity: 0;
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(0.7);
  opacity: 0.6;
}

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

.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}

/* Buttons Common */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--font-family);
  cursor: pointer;
  border: none;
  outline: none;
  white-space: nowrap;
  transition: opacity 0.15s ease, transform 0.12s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-pill {
  height: 37px;
  background-color: var(--color-mint);
  color: var(--color-navy);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
}

.btn-pill:hover {
  background-color: #B2DBD3;
  border-color: #9ECFC6;
  box-shadow: 0 6px 18px rgba(178, 219, 211, 0.7);
  transform: translateY(-2px);
}

.btn-pill:active {
  transform: translateY(0) scale(0.97);
}

.btn-book {
  width: 113px;
  padding: 0;
  margin-top: -1px;
}

/* Header Actions & Mobile Menu Toggle */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4.5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid rgba(14, 42, 66, 0.1);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(198, 227, 222, 0.3);
  border-color: var(--color-mint);
}

.hamburger-bar {
  width: 20px;
  height: 2px;
  background-color: var(--color-navy);
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
  transform-origin: center;
}

.mobile-menu-toggle.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.mobile-menu-toggle.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section (Section 1: Background & Intro Row)
   ========================================================================== */
.hero-section {
  background-color: #F7F9F8;
  padding-top: 24px;
  padding-bottom: 80px;
}

.hero-intro {
  margin-top: 32px;
  display: flex;
  position: relative;
  align-items: flex-start;
}

.hero-heading-col {
  width: 440px;
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--color-navy);
}

.hero-action-col {
  position: absolute;
  left: 614px; /* 675px from page left edge (61 + 614 = 675) */
  top: 0;
  width: 284px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-desc {
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-slate);
  margin-bottom: 16px;
  font-weight: 400;
}

.btn-outline {
  width: 248px;
  height: 37px;
  background-color: transparent;
  border: 1.5px solid var(--color-mint);
  color: var(--color-navy);
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
  text-decoration: none;
}

.btn-outline:hover {
  background-color: var(--color-mint);
  color: var(--color-navy);
  border-color: var(--color-mint);
  box-shadow: 0 6px 18px rgba(198, 227, 222, 0.6);
  transform: translateY(-2px);
}

.btn-outline:active {
  transform: translateY(0) scale(0.97);
}

/* ==========================================================================
   Hero Main Row (Form & Image)
   ========================================================================== */
.hero-main {
  margin-top: 65px; /* Hero CTA bottom Y=242 to image top Y=303 */
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* Form Container */
.form-container {
  width: 305px;
  padding-top: 29px; /* Form title starts at exact Y=335 */
}

.form-title {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 24px; /* Title bottom Y=355 to input 1 top Y=383 */
  line-height: 1.2;
}

/* Active Service Badge in Form */
.selected-service-badge {
  display: none;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(198, 227, 222, 0.45);
  border: 1px solid var(--color-mint);
  border-radius: 8px;
  padding: 6px 12px;
  margin-bottom: 12px;
  font-size: 11.5px;
  color: var(--color-navy);
  font-weight: 600;
  animation: fadeIn 0.2s ease-out;
}

.selected-service-badge.visible {
  display: flex;
}

.clear-service-btn {
  background: none;
  border: none;
  color: var(--color-slate);
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  padding: 2px 4px;
}

.clear-service-btn:hover {
  color: var(--color-navy);
}

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

.input-group {
  position: relative;
  margin-bottom: 12px;
  width: 100%;
}

.form-input {
  width: 100%;
  background-color: var(--color-white);
  border: 1.5px solid transparent;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 12px;
  font-family: var(--font-family);
  color: var(--color-navy);
  outline: none;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.form-input.input-h-lg {
  height: 41px;
}

.form-input.input-h-sm {
  height: 36px;
}

.form-input:focus {
  border-color: #A9D5CD;
  box-shadow: 0 0 0 3px rgba(198, 227, 222, 0.45);
}

.form-input::placeholder {
  color: var(--color-placeholder);
  font-size: 12px;
  font-weight: 400;
}

.input-has-icon .form-input {
  padding-right: 36px;
  cursor: pointer;
}

/* Custom Select styling to eliminate duplicate arrows */
.custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  background-color: var(--color-white);
  padding-right: 36px;
}

.custom-select:invalid,
.custom-select option[value=""] {
  color: var(--color-placeholder);
}

.custom-select option {
  color: var(--color-navy);
}

/* Date Input native picker styling - zero duplicate icon */
input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-clear-button {
  display: none;
}

.icon-slot {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.icon-calendar {
  right: 12px;
}

.icon-chevron {
  right: 13px;
}

.form-actions {
  margin-top: 19px; /* Input 4 bottom Y=573 + 12px margin + 19px = 31px gap -> Submit top Y=602 */
}

.btn-submit {
  width: 94px;
  height: 37px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  outline: none;
  background-color: var(--color-mint);
  color: var(--color-navy);
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
}

.btn-submit:hover {
  background-color: #B2DBD3;
  border-color: #9ECFC6;
  box-shadow: 0 6px 18px rgba(178, 219, 211, 0.7);
  transform: translateY(-2px);
}

.btn-submit:active {
  transform: translateY(0) scale(0.96);
}

/* Image Container */
.image-container {
  width: 536px;
  height: 365px;
  flex-shrink: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 8px 24px -6px rgba(14, 42, 66, 0.06);
}

.hero-photo {
  width: 536px;
  height: 365px;
  object-fit: cover;
  display: block;
  border-radius: 28px;
  transition: transform 0.4s cubic-bezier(0.2, 0, 0, 1);
}

.image-container:hover .hero-photo {
  transform: scale(1.02);
}

/* ==========================================================================
   Why Choose Dentrist Section (About)
   ========================================================================== */
.why-choose-section {
  margin-top: 0;
  padding-top: 95px;
  padding-bottom: 95px;
  background-color: #F0F7F5;
}

.why-choose-container {
  display: grid;
  grid-template-columns: 350px 280px 1fr;
  gap: 36px;
  align-items: center;
}

/* Left Column: Heading + Features */
.why-choose-content {
  display: flex;
  flex-direction: column;
}

.why-choose-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.why-choose-subtitle {
  font-size: 13.5px;
  color: var(--color-slate);
  font-weight: 400;
  line-height: 1.45;
  margin-bottom: 34px;
}

/* Features Grid (2x2) */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  row-gap: 28px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: transform 0.2s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
}

.feature-icon-wrap {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon-wrap img {
  width: 20px;
  height: 20px;
  display: block;
}

.feature-text {
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-navy);
  font-weight: 500;
}

/* Center Column: Doctor Photo */
.why-choose-media {
  width: 276px;
  height: 275px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 8px 24px -6px rgba(14, 42, 66, 0.08);
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.3s ease;
}

.why-choose-media:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 32px -6px rgba(14, 42, 66, 0.14);
}

.doctor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 28px;
}

/* Right Column: Key Stats */
.why-choose-stats {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-left: 20px;
}

.stat-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  transition: transform 0.2s ease;
}

.stat-item:hover {
  transform: translateX(3px);
}

.stat-number-wrap {
  display: inline-flex;
  align-items: baseline;
  min-width: 90px;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-fraction {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-slate);
  margin-left: 2px;
}

.stat-label {
  font-size: 13.5px;
  color: var(--color-slate);
  font-weight: 500;
  line-height: 1.2;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */
.how-it-works-section {
  margin-top: 0;
  padding-top: 95px;
  padding-bottom: 95px;
  background-color: #FFFFFF;
  border-top: 1px solid rgba(14, 42, 66, 0.05);
  border-bottom: 1px solid rgba(14, 42, 66, 0.05);
}

.how-it-works-container {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: center;
}

.how-it-works-content {
  display: flex;
  flex-direction: column;
}

.how-it-works-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.how-it-works-subtitle {
  font-size: 13.5px;
  color: var(--color-slate);
  font-weight: 400;
  line-height: 1.45;
  margin-bottom: 36px;
}

/* Steps Timeline */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  padding-left: 26px;
}

/* Base vertical timeline track */
.steps-track {
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background-color: #E6ECEB;
  border-radius: 2px;
}

/* Active indicator segment */
.steps-indicator {
  position: absolute;
  left: -1px;
  width: 3.5px;
  height: 48px;
  background-color: #A9D5CD;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1), height 0.25s ease;
  top: 0;
}

/* Step Item */
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  cursor: pointer;
  padding: 4px 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  user-select: none;
}

.step-item:hover {
  transform: translateX(2px);
}

.step-number {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-slate);
  min-width: 24px;
  line-height: 1.25;
  transition: color 0.2s ease;
}

.step-details {
  display: flex;
  flex-direction: column;
}

.step-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.25;
  transition: color 0.2s ease;
}

.step-desc {
  font-size: 12.5px;
  color: var(--color-slate);
  margin-top: 4px;
  line-height: 1.4;
  display: none;
}

/* Active Step State */
.step-item.active .step-number {
  color: var(--color-navy);
  font-weight: 700;
}

.step-item.active .step-title {
  font-size: 16px;
  color: var(--color-navy);
}

.step-item.active .step-desc {
  display: block;
  animation: fadeIn 0.25s ease-out;
}

/* Right Media Column */
.how-it-works-media {
  width: 100%;
  max-width: 466px;
  height: 380px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 14px 34px -8px rgba(14, 42, 66, 0.12);
  justify-self: end;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.3s ease;
  background: linear-gradient(135deg, #F0F5F4 0%, #E2ECEB 100%);
}

.how-it-works-media:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px -8px rgba(14, 42, 66, 0.18);
}

.step-media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 28px;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.4s cubic-bezier(0.2, 0, 0, 1),
              transform 0.5s cubic-bezier(0.2, 0, 0, 1);
  pointer-events: none;
}

.step-media-img.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* ==========================================================================
   Experience Section (Discover the Dentrist Experience)
   ========================================================================== */
.experience-section {
  margin-top: 0;
  padding-top: 95px;
  padding-bottom: 95px;
  background-color: #EEF4F8;
  text-align: center;
}

.experience-header {
  max-width: 600px;
  margin: 0 auto 38px auto;
}

.experience-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.experience-subtitle {
  font-size: 13.5px;
  color: var(--color-slate);
  font-weight: 400;
  line-height: 1.45;
}

.video-container {
  width: 100%;
  height: 440px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 36px -8px rgba(14, 42, 66, 0.1);
  cursor: pointer;
  background-color: #0E2A42;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 28px;
  transition: transform 0.4s cubic-bezier(0.2, 0, 0, 1), opacity 0.3s ease;
}

.video-container:hover .video-thumb {
  transform: scale(1.02);
  opacity: 0.94;
}

/* Play Button */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), background-color 0.25s ease;
  z-index: 2;
}

.play-btn svg {
  margin-left: 3px;
}

.video-container:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: rgba(14, 42, 66, 0.7);
}

/* Video Player Modal (Clinic Tour) */
.video-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(14, 42, 66, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2200;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.2, 0, 0, 1);
}

.video-modal-backdrop.is-open {
  display: flex;
  opacity: 1;
}

.video-modal-card {
  position: relative;
  width: 100%;
  max-width: 860px;
  background: #000000;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1);
}

.video-modal-backdrop.is-open .video-modal-card {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: background 0.2s ease, transform 0.2s ease;
  line-height: 1;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.08);
}

.video-modal-responsive {
  position: relative;
  width: 100%;
  max-height: 520px;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tour-html5-video {
  width: 100%;
  max-height: 520px;
  display: block;
  outline: none;
  background: #000000;
}

.video-modal-caption {
  padding: 16px 24px 20px 24px;
  background: #0E2A42;
  color: #FFFFFF;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.video-modal-caption h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #FFFFFF;
}

.video-modal-caption p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   Meet Our Dental Experts Section (Interactive Carousel)
   ========================================================================== */
.team-section {
  margin-top: 0;
  padding-top: 95px;
  padding-bottom: 95px;
  background-color: #FFFFFF;
  border-top: 1px solid rgba(14, 42, 66, 0.05);
  border-bottom: 1px solid rgba(14, 42, 66, 0.05);
}

.team-container {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 36px;
  align-items: center;
}

.team-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 275px;
  padding-right: 12px;
}

.team-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.team-subtitle {
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-slate);
  max-width: 180px;
  margin-top: 10px;
}

.team-carousel-controls {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.team-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(14, 42, 66, 0.12);
  box-shadow: 0 4px 14px rgba(14, 42, 66, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-navy);
  transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
}

.team-nav-btn:hover {
  background: var(--color-navy);
  color: #FFFFFF;
  border-color: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 42, 66, 0.18);
}

.team-nav-btn:active {
  transform: translateY(0);
}

.team-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 10px 6px 18px 6px;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(14, 42, 66, 0.22) transparent;
}

.team-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.team-track::-webkit-scrollbar {
  height: 6px;
}

.team-track::-webkit-scrollbar-track {
  background: rgba(14, 42, 66, 0.04);
  border-radius: 10px;
}

.team-track::-webkit-scrollbar-thumb {
  background: rgba(14, 42, 66, 0.22);
  border-radius: 10px;
}

.team-track::-webkit-scrollbar-thumb:hover {
  background: var(--color-navy);
}

.doctor-card {
  width: 200px;
  height: 275px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  scroll-snap-align: start;
  box-shadow: 0 10px 26px -6px rgba(14, 42, 66, 0.1);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.3s ease;
  user-select: none;
  background-color: #0E2A42;
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px -6px rgba(14, 42, 66, 0.2);
}

.doctor-card:focus-visible {
  outline: 2.5px solid var(--color-navy);
  outline-offset: 2px;
}

.doctor-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.doctor-card:hover .doctor-card-img {
  transform: scale(1.05);
}

.doctor-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 42, 66, 0) 42%, rgba(14, 42, 66, 0.85) 75%, rgba(14, 42, 66, 0.98) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 16px;
  z-index: 1;
  pointer-events: none;
}

.doctor-name {
  font-size: 15.5px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 3px;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.doctor-spec {
  font-size: 12px;
  color: #E2ECEB;
  font-weight: 500;
  opacity: 0.95;
  line-height: 1.2;
}

/* ==========================================================================
   Pricing Section (Transparent Pricing for Quality Care)
   ========================================================================== */
.pricing-section {
  margin-top: 0;
  padding-top: 95px;
  padding-bottom: 90px;
  background-color: #F4F8F7;
}

.pricing-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 42px auto;
}

.pricing-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.pricing-subtitle {
  font-size: 13.5px;
  color: var(--color-slate);
  font-weight: 400;
  line-height: 1.45;
}

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

.pricing-card {
  border-radius: 24px;
  padding: 34px 28px 36px 28px;
  display: flex;
  flex-direction: column;
  background-color: #EFF4F2;
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.25s ease, border-color 0.2s ease;
  position: relative;
  border: 1.5px solid transparent;
  user-select: none;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px -6px rgba(14, 42, 66, 0.1);
  border-color: rgba(14, 42, 66, 0.08);
}

.pricing-card.selected {
  border-color: var(--color-navy);
  box-shadow: 0 14px 32px -4px rgba(14, 42, 66, 0.16);
}

.pricing-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
  line-height: 1.2;
}

.pricing-card-desc {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--color-slate);
  min-height: 38px;
  margin-bottom: 22px;
}

.pricing-card-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 4px;
}

.price-val {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.02em;
  line-height: 1;
}

.price-freq {
  font-size: 13.5px;
  color: var(--color-slate);
  margin-left: 2px;
}

.btn-plan {
  margin: 22px 0 26px 0;
  width: 100%;
  height: 40px;
  border-radius: 9999px;
  background-color: var(--color-mint);
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
}

.btn-plan:hover {
  background-color: #b5ded7;
  box-shadow: 0 4px 16px rgba(198, 227, 222, 0.7);
  transform: translateY(-1px);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: #314655;
  line-height: 1.35;
}

.pricing-feature-item img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Featured Card: Premium Care */
.pricing-card.card-featured-plan {
  background-color: #C4E2DB;
  border-color: rgba(255, 255, 255, 0.4);
}

.pricing-card.card-featured-plan .pricing-card-desc {
  color: #3D596B;
}

.pricing-card.card-featured-plan .btn-plan {
  background-color: #FFFFFF;
  color: var(--color-navy);
  box-shadow: 0 2px 8px rgba(14, 42, 66, 0.06);
}

.pricing-card.card-featured-plan .btn-plan:hover {
  background-color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(14, 42, 66, 0.15);
  transform: translateY(-1px);
}

.pricing-card.card-featured-plan .pricing-feature-item {
  color: #1A394C;
  font-weight: 500;
}

/* Partner Trust Logos (Crisp Infinite Scrolling Vector Marquee) */
.partner-marquee-container {
  width: 100%;
  max-width: 980px;
  margin: 48px auto 0 auto;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.partner-marquee-label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #718797;
  margin-bottom: 20px;
  opacity: 0.9;
}

.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 6px 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeContinuous 32s linear infinite;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 52px;
  padding-right: 52px;
  flex-shrink: 0;
}

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.72;
  transition: opacity 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}

.partner-logo-item:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.partner-svg {
  display: block;
  height: 28px;
  width: auto;
}

@keyframes marqueeContinuous {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
}

/* ==========================================================================
   Reviews / Testimonials Section (Hear From Our Happy Patients)
   ========================================================================== */
.reviews-section {
  margin-top: 0;
  padding-top: 95px;
  padding-bottom: 95px;
  background-color: #EFF4F8;
}

.reviews-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
}

.reviews-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 320px;
}

.reviews-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.reviews-subtitle {
  font-size: 13.5px;
  color: var(--color-slate);
  font-weight: 400;
  line-height: 1.45;
  margin-top: 12px;
  max-width: 250px;
}

.reviews-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.review-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #E2ECE9;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
  color: var(--color-navy);
}

.review-nav-btn:hover {
  border-color: #A9D5CD;
  background-color: #F7F9F8;
  transform: translateY(-1px);
}

.review-nav-btn:active {
  transform: scale(0.95);
}

.review-nav-btn:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: 2px;
}

.review-nav-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Reviews Cards Stack */
.reviews-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card {
  background-color: #FFFFFF;
  border-radius: 20px;
  padding: 22px 28px;
  box-shadow: 0 4px 18px rgba(14, 42, 66, 0.04);
  border: 1px solid rgba(14, 42, 66, 0.03);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  user-select: none;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 42, 66, 0.08);
}

.review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.review-author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy);
}

.review-stars {
  display: flex;
  align-items: center;
  gap: 3px;
}

.review-stars img {
  width: 14px;
  height: 14px;
  display: block;
}

.review-body {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--color-slate);
  font-weight: 400;
}

/* ==========================================================================
   Blog Section (From the Dentist's Desk)
   ========================================================================== */
.blog-section {
  margin-top: 0;
  padding-top: 95px;
  padding-bottom: 95px;
  background-color: #FFFFFF;
  border-top: 1px solid rgba(14, 42, 66, 0.05);
  border-bottom: 1px solid rgba(14, 42, 66, 0.05);
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}

.blog-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.blog-subtitle {
  font-size: 13px;
  color: var(--color-slate);
  font-weight: 400;
  line-height: 1.45;
  text-align: right;
  max-width: 280px;
}

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

.blog-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  user-select: none;
  transition: transform 0.22s cubic-bezier(0.2, 0, 0, 1);
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-card:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: 4px;
  border-radius: 18px;
}

.blog-img-wrap {
  width: 100%;
  height: 180px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 16px rgba(14, 42, 66, 0.05);
  background-color: #E2ECE9;
  transition: box-shadow 0.25s ease;
}

.blog-card:hover .blog-img-wrap {
  box-shadow: 0 12px 28px -4px rgba(14, 42, 66, 0.12);
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-img {
  transform: scale(1.04);
}

.blog-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 14px 0 6px 0;
  line-height: 1.35;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.blog-card:hover .blog-card-title {
  color: #1B5880;
}

.blog-date {
  font-size: 12px;
  color: var(--color-slate);
  font-weight: 400;
}

/* ==========================================================================
   Final CTA Banner (Ready to Smile with Confidence?)
   ========================================================================== */
.cta-banner {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 65px;
  padding-bottom: 65px;
  background-color: #F7F9F8;
  border-radius: 0;
  box-shadow: none;
}

.cta-banner-inner {
  background-color: #C4E2DB;
  border-radius: 28px;
  padding: 68px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px -8px rgba(14, 42, 66, 0.08);
  width: 100%;
  max-width: 902px;
  margin: 0 auto;
}

.cta-banner-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.cta-banner-subtitle {
  font-size: 14px;
  color: #385566;
  font-weight: 500;
  margin-bottom: 28px;
  line-height: 1.4;
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 28px;
  border-radius: 9999px;
  background-color: #FFFFFF;
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(14, 42, 66, 0.08);
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
}

.btn-cta-white:hover {
  background-color: #F7F9F8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 42, 66, 0.12);
}

.btn-cta-white:active {
  transform: scale(0.98);
}

/* ==========================================================================
   FAQ Section (Answers to Your Dental Care Questions)
   ========================================================================== */
.faq-section {
  margin-top: 0;
  padding-top: 95px;
  padding-bottom: 95px;
  background-color: #F2F7F5;
  border-top: 1px solid rgba(14, 42, 66, 0.05);
  border-bottom: 1px solid rgba(14, 42, 66, 0.05);
}

.faq-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: flex-start;
}

.faq-intro {
  display: flex;
  flex-direction: column;
}

.faq-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.faq-subtitle {
  font-size: 13.5px;
  color: var(--color-slate);
  font-weight: 400;
  line-height: 1.45;
  margin-top: 14px;
  max-width: 250px;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid rgba(14, 42, 66, 0.08);
  padding: 20px 0;
  transition: border-color 0.2s ease;
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-question-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  outline: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.35;
  transition: color 0.2s ease;
}

.faq-question-btn:hover {
  color: #1A5478;
}

.faq-question-btn:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: 4px;
  border-radius: 4px;
}

.faq-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), stroke 0.2s ease;
  stroke: var(--color-slate);
}

.faq-item.active .faq-arrow {
  transform: rotate(-90deg);
  stroke: var(--color-navy);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s cubic-bezier(0.2, 0, 0, 1), opacity 0.25s ease, margin-top 0.25s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  opacity: 1;
  margin-top: 10px;
}

.faq-answer p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--color-slate);
  font-weight: 400;
  max-width: 560px;
}

/* ==========================================================================
   Newsletter Section (Keep Smiling Bright — Stay Connected with Us)
   ========================================================================== */
.newsletter-section {
  margin-top: 0;
  padding-top: 85px;
  padding-bottom: 85px;
  background-color: #FFFFFF;
}

.newsletter-container {
  background-color: #F4F8F7;
  border-radius: 24px;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  width: 100%;
  max-width: 902px;
  margin: 0 auto;
  border: 1px solid rgba(14, 42, 66, 0.05);
}

.newsletter-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.newsletter-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.newsletter-subtitle {
  font-size: 13px;
  color: var(--color-slate);
  font-weight: 400;
  line-height: 1.45;
  text-align: right;
  margin-bottom: 14px;
}

.newsletter-form {
  display: flex;
  align-items: center;
  background-color: #FFFFFF;
  border-radius: 9999px;
  padding: 4px 4px 4px 18px;
  box-shadow: 0 2px 10px rgba(14, 42, 66, 0.04);
  width: 100%;
  max-width: 360px;
  border: 1.5px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-form:focus-within {
  border-color: rgba(14, 42, 66, 0.2);
  box-shadow: 0 4px 14px rgba(14, 42, 66, 0.08);
}

.newsletter-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 12.5px;
  color: var(--color-navy);
  font-family: inherit;
}

.newsletter-input::placeholder {
  color: var(--color-placeholder);
}

.btn-subscribe {
  background-color: var(--color-navy);
  color: #FFFFFF;
  height: 36px;
  padding: 0 22px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-subscribe:hover {
  background-color: #1A3E5C;
  box-shadow: 0 4px 14px rgba(14, 42, 66, 0.25);
  transform: translateY(-1px);
}

.btn-subscribe:active {
  transform: scale(0.97);
}

/* ==========================================================================
   Full Site Footer
   ========================================================================== */
.site-footer {
  margin-top: 0;
  padding-top: 65px;
  padding-bottom: 45px;
  background-color: #F7F9F8;
  border-top: 1px solid rgba(14, 42, 66, 0.08);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
}

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

.footer-nav {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-nav-link {
  font-size: 13px;
  color: var(--color-slate);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

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

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--color-slate);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-item:hover {
  color: var(--color-navy);
}

.footer-contact-item img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-partner-item {
  margin-top: 4px;
}

.partner-globe-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: #5B6E7E;
  transition: stroke 0.2s ease;
}

.footer-partner-item:hover .partner-globe-icon {
  stroke: var(--color-navy);
}

.partner-link {
  color: var(--color-navy);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dotted rgba(14, 42, 66, 0.35);
  transition: all 0.2s ease;
}

.partner-link:hover {
  color: #134B70;
  border-bottom-color: #134B70;
}

.footer-divider {
  height: 1px;
  background-color: rgba(14, 42, 66, 0.08);
  margin-bottom: 24px;
}

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

.footer-legal {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  color: #7B8D9C;
}

.footer-legal a {
  color: #7B8D9C;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--color-navy);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-pill {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #F4F7F6;
  color: var(--color-slate);
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-pill:hover {
  background-color: var(--color-navy);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 42, 66, 0.2);
}

/* ==========================================================================
   Services Section (Smile Solutions for Every Need)
   ========================================================================== */
.services-section {
  margin-top: 0;
  padding-top: 95px;
  padding-bottom: 95px;
  background-color: #FFFFFF;
  border-top: 1px solid rgba(14, 42, 66, 0.05);
  border-bottom: 1px solid rgba(14, 42, 66, 0.05);
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 38px;
}

.services-header-text {
  max-width: 600px;
}

.services-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.services-subtitle {
  font-size: 13.5px;
  color: var(--color-slate);
  font-weight: 400;
  line-height: 1.45;
}

.btn-explore {
  width: auto;
  height: 37px;
  padding: 0 24px;
  background-color: transparent;
  border: 1.5px solid var(--color-mint);
  color: var(--color-navy);
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
}

.btn-explore:hover {
  background-color: rgba(198, 227, 222, 0.35);
  border-color: #A9D5CD;
  transform: translateY(-1px);
}

/* Grid Layout (3 Columns x 2 Rows) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Service Card */
.service-card {
  height: 205px;
  border-radius: 24px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--color-mint-light) 0%, var(--color-mint-dark) 100%);
  cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1), 
              box-shadow 0.3s ease, 
              border-color 0.25s ease;
  user-select: none;
}

/* Background image layer (hidden by default, smoothly fades in on hover) */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.35s cubic-bezier(0.2, 0, 0, 1),
              transform 0.45s cubic-bezier(0.2, 0, 0, 1);
  z-index: 0;
  pointer-events: none;
}

/* Dark gradient overlay layer (hidden by default, fades in on hover for crisp contrast) */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 42, 66, 0.15) 0%, rgba(14, 42, 66, 0.82) 100%);
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.2, 0, 0, 1);
  z-index: 1;
  pointer-events: none;
}

/* Specific background photo for each dental service */
.service-card[data-service="General Dentistry"]::before {
  background-image: url('assets/service-general.jpg');
}
.service-card[data-service="Cosmetic Dentistry"]::before {
  background-image: url('assets/service-cosmetic-clean.png');
}
.service-card[data-service="Orthodontics"]::before {
  background-image: url('assets/service-ortho-clean.jpg');
}
.service-card[data-service="Pediatric Dentistry"]::before {
  background-image: url('assets/service-pediatric-clean.png');
}
.service-card[data-service="Dental Implants"]::before {
  background-image: url('assets/service-implant-clean.jpg');
}
.service-card[data-service="Emergency Dental Care"]::before {
  background-image: url('assets/service-emergency-clean.jpg');
}

/* Hover & Selected State: Reveal Image, Dark Gradient Overlay, and White Text */
.service-card:hover,
.service-card.selected {
  transform: translateY(-6px);
  box-shadow: 0 20px 38px -8px rgba(14, 42, 66, 0.24);
  border-color: rgba(255, 255, 255, 0.9);
}

.service-card:hover::before,
.service-card.selected::before {
  opacity: 1;
  transform: scale(1.0);
}

.service-card:hover::after,
.service-card.selected::after {
  opacity: 1;
}

/* On hover, watermark smoothly fades out */
.service-card:hover .card-watermark,
.service-card.selected .card-watermark {
  opacity: 0;
  transform: scale(0.92) rotate(-4deg);
}

/* On hover, text color smoothly transitions to crisp white */
.service-card:hover .service-card-title,
.service-card.selected .service-card-title {
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.service-card:hover .service-card-desc,
.service-card.selected .service-card-desc {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.service-card:active {
  transform: translateY(-2px);
}

.service-card:focus-visible {
  outline: 2.5px solid var(--color-navy);
  outline-offset: 2px;
}

/* Card Icon Badge */
.service-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(14, 42, 66, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  z-index: 2;
}

.service-card:hover .service-icon-wrap,
.service-card.selected .service-icon-wrap {
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(14, 42, 66, 0.16);
}

/* Card Body Content */
.service-card-body {
  position: relative;
  z-index: 2;
}

.service-card-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  line-height: 1.25;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.service-card-desc {
  font-size: 12.5px;
  line-height: 1.45;
  color: #4F6777;
  font-weight: 400;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

/* Card Watermark */
.card-watermark {
  position: absolute;
  right: -12px;
  top: -12px;
  width: 135px;
  height: 135px;
  opacity: 0.12;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1;
}

/* ==========================================================================
   Service Details Modal & Notification Toast
   ========================================================================== */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--color-navy);
  color: #FFFFFF;
  padding: 16px 20px;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(14, 42, 66, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1), opacity 0.3s ease;
  font-size: 13px;
  max-width: 380px;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-icon {
  width: 24px;
  height: 24px;
  background-color: var(--color-mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Responsive Adaptations (1024px, 768px Tablet, 480px/320px Mobile)
   ========================================================================== */

/* Tablet Landscape / Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-heading-col {
    width: 380px;
  }

  .hero-action-col {
    left: auto;
    right: 0;
    width: 260px;
  }

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

  .pricing-grid {
    gap: 20px;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* Tablet Portrait & Large Smartphones (max-width: 768px) */
@media (max-width: 768px) {
  /* Edge-to-Edge Sections: graceful vertical breathing space */
  .services-section,
  .why-choose-section,
  .how-it-works-section,
  .experience-section,
  .team-section,
  .pricing-section,
  .before-after-section,
  .reviews-section,
  .blog-section,
  .cta-banner,
  .faq-section,
  .newsletter-section,
  .site-footer {
    padding-top: 56px;
    padding-bottom: 56px;
    margin-top: 0;
  }

  /* Mobile Navigation Hamburger Drawer */
  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 68px;
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(14, 42, 66, 0.1);
    border-radius: 20px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    box-shadow: 0 20px 48px -12px rgba(14, 42, 66, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px) scale(0.97);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .main-nav .nav-link {
    font-size: 16px;
    font-weight: 600;
    padding: 10px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(14, 42, 66, 0.05);
  }

  .main-nav .nav-link:last-child {
    border-bottom: none;
  }

  .main-nav .nav-link::after {
    display: none;
  }

  .btn-book {
    width: auto;
    padding: 0 16px;
    height: 35px;
    font-size: 12.5px;
  }

  /* Hero Section */
  .hero-intro {
    margin-top: 28px;
    flex-direction: column;
    gap: 20px;
  }

  .hero-heading-col,
  .hero-action-col {
    position: static;
    width: 100%;
  }

  .hero-title {
    font-size: clamp(28px, 6.5vw, 38px);
    line-height: 1.1;
  }

  .hero-desc {
    max-width: 100%;
  }

  .btn-outline {
    width: 100%;
    max-width: 320px;
  }

  .hero-main {
    margin-top: 36px;
    flex-direction: column-reverse;
    gap: 28px;
    align-items: center;
  }

  .image-container {
    width: 100%;
    max-width: 536px;
    height: auto;
    aspect-ratio: 536 / 365;
  }

  .form-container {
    width: 100%;
    max-width: 480px;
    padding: 24px 20px;
  }

  /* Input fields 16px font size to prevent iOS Safari auto-zoom */
  .form-input {
    font-size: 16px;
  }

  /* Why Choose Dentrist */
  .why-choose-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .why-choose-media {
    margin: 0 auto;
    max-width: 320px;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .why-choose-stats {
    padding-left: 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
  }

  /* How It Works */
  .how-it-works-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .how-it-works-media {
    justify-self: center;
    max-width: 100%;
  }

  /* Video Clinic Tour */
  .video-container {
    height: auto;
    aspect-ratio: 16 / 9;
    width: 100%;
    border-radius: 20px;
  }

  /* Team Specialists */
  .team-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .team-intro {
    height: auto;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  /* Pricing Grid */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto 36px auto;
  }

  /* Testimonials */
  .reviews-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .reviews-intro {
    height: auto;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  /* Blog */
  .blog-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* CTA Banner */
  .cta-banner-inner {
    padding: 44px 20px;
    border-radius: 22px;
  }

  .cta-banner-title {
    font-size: clamp(22px, 5vw, 30px);
  }

  /* FAQ */
  .faq-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Newsletter */
  .newsletter-container {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 20px;
  }

  .newsletter-right {
    align-items: flex-start;
    width: 100%;
  }

  .newsletter-form {
    width: 100%;
    margin-left: 0;
  }

  /* Footer */
  .footer-main {
    flex-direction: column;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* Small Smartphone Viewports (max-width: 540px) */
@media (max-width: 540px) {
  .services-section,
  .why-choose-section,
  .how-it-works-section,
  .experience-section,
  .team-section,
  .pricing-section,
  .before-after-section,
  .reviews-section,
  .blog-section,
  .cta-banner,
  .faq-section,
  .newsletter-section,
  .site-footer {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .hero-title {
    font-size: 28px;
  }

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

  .service-card {
    height: auto;
    min-height: 180px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .why-choose-stats {
    flex-direction: column;
    gap: 14px;
  }

  .doctor-card {
    width: calc(100vw - 72px);
    max-width: 270px;
    height: 280px;
  }

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

  .comparison-container {
    aspect-ratio: 16 / 11;
    border-radius: 16px;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 12px;
    background: transparent;
    border: none;
    padding: 0;
  }

  .newsletter-input {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid rgba(14, 42, 66, 0.12);
    border-radius: 9999px;
    padding: 12px 18px;
    font-size: 16px;
  }

  .btn-subscribe {
    width: 100%;
    height: 44px;
  }

  .live-status-pill {
    bottom: 12px;
    right: 12px;
    padding: 6px 12px;
    font-size: 11px;
  }
}

/* ==========================================================================
   Code Security & Asset Protection (Anti-Theft, Anti-Copy, Anti-Scrape)
   ========================================================================== */
img, svg, video, .comparison-container, .service-card, .doctor-card, .video-player-card {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}

.hero-title, 
.section-title, 
.why-choose-title, 
.pricing-title, 
.team-name, 
.logo,
.step-number,
.cta-banner-title {
  -webkit-user-select: none;
  user-select: none;
}

/* Patient Form fields remain freely selectable and editable */
input, textarea, select {
  -webkit-user-select: text !important;
  user-select: text !important;
}

/* Elegant Security Toast Notification */
.security-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: rgba(14, 42, 66, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 9999px;
  box-shadow: 0 8px 32px -4px rgba(14, 42, 66, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
}

.security-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.security-toast svg {
  stroke: #C6E3DE;
  flex-shrink: 0;
}

/* ==========================================================================
   ULTRA-PREMIUM ENHANCEMENTS: Glassmorphic Floating Header, Custom Scrollbar,
   Ambient Glows, Before/After Slider, Doctor Modals, Live Status Widget & Reveal
   ========================================================================== */

/* Custom Luxury Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F0F4F2;
}
::-webkit-scrollbar-thumb {
  background: #B2D8D1;
  border-radius: 4px;
  transition: background 0.2s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: #96CBC2;
}

/* Ambient Radial Depth */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 12% 15%, rgba(198, 227, 222, 0.32) 0%, transparent 45%),
    radial-gradient(circle at 88% 60%, rgba(198, 227, 222, 0.22) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.page-wrapper {
  position: relative;
  z-index: 1;
}

/* Scroll Reading Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #A9D5CD 0%, #0E2A42 100%);
  z-index: 9999;
  transition: width 0.08s linear;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}

/* Sticky Floating Glassmorphic Header */
.site-header.is-sticky {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 902px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px 24px;
  border-radius: 9999px;
  box-shadow: 0 10px 30px -6px rgba(14, 42, 66, 0.12), 0 0 0 1px rgba(14, 42, 66, 0.05);
  z-index: 1000;
  animation: slideDownHeader 0.3s cubic-bezier(0.2, 0, 0, 1);
}

@keyframes slideDownHeader {
  from {
    opacity: 0;
    transform: translate(-50%, -20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}



.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22C55E;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background-color: #22C55E;
  opacity: 0.7;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ==========================================================================
   Interactive Before & After Smile Slider Section
   ========================================================================== */
.before-after-section {
  margin-top: 0;
  padding-top: 95px;
  padding-bottom: 95px;
  background-color: #FFFFFF;
  border-top: 1px solid rgba(14, 42, 66, 0.05);
  border-bottom: 1px solid rgba(14, 42, 66, 0.05);
}

.before-after-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 36px auto;
}

.before-after-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 8px;
}

.before-after-subtitle {
  font-size: 13.5px;
  color: var(--color-slate);
  line-height: 1.45;
}

.comparison-container {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 40px -10px rgba(14, 42, 66, 0.12), 0 0 0 1px rgba(14, 42, 66, 0.05);
  background-color: #0E2A42;
  aspect-ratio: 16 / 9;
  max-height: 440px;
  user-select: none;
  touch-action: pan-y;
}

.comparison-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.comparison-image-before {
  z-index: 1;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.comparison-image-after {
  z-index: 0;
}

.comparison-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background-color: #FFFFFF;
  z-index: 2;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.comparison-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  z-index: 3;
  border: 2px solid var(--color-mint);
  color: var(--color-navy);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comparison-handle:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.comparison-badge {
  position: absolute;
  top: 20px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2;
  pointer-events: none;
}

.badge-before {
  left: 20px;
  background: rgba(14, 42, 66, 0.78);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
}

.badge-after {
  right: 20px;
  background: rgba(198, 227, 222, 0.95);
  color: var(--color-navy);
  backdrop-filter: blur(8px);
}

.comparison-range {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: ew-resize;
  z-index: 4;
  margin: 0;
}

/* ==========================================================================
   Doctor Profile Quick-View Modal
   ========================================================================== */
.doctor-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 42, 66, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 20px;
}

.doctor-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.doctor-modal-card {
  background: #FFFFFF;
  border-radius: 28px;
  width: 100%;
  max-width: 580px;
  overflow: hidden;
  box-shadow: 0 24px 64px -12px rgba(14, 42, 66, 0.3);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1);
  display: grid;
  grid-template-columns: 210px 1fr;
}

.doctor-modal-backdrop.is-open .doctor-modal-card {
  transform: translateY(0) scale(1);
}

.doctor-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #F0F4F2;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--color-navy);
  transition: all 0.2s ease;
  z-index: 5;
}

.doctor-modal-close:hover {
  background: var(--color-navy);
  color: #FFFFFF;
}

.doctor-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #E2ECE9;
}

.doctor-modal-body {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.doc-name-modal {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.doc-spec-modal {
  font-size: 13px;
  font-weight: 600;
  color: #2F6F63;
  margin-bottom: 12px;
  display: inline-block;
}

.doc-bio-modal {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--color-slate);
  margin-bottom: 16px;
}

.doc-stats-modal {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding: 12px 14px;
  background: #F7F9F8;
  border-radius: 12px;
}

.doc-stat-col {
  display: flex;
  flex-direction: column;
}

.doc-stat-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy);
}

.doc-stat-lbl {
  font-size: 11px;
  color: var(--color-slate);
}

/* ==========================================================================
   Floating Live Clinic Status Widget
   ========================================================================== */
.live-status-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--font-family);
}

.live-status-pill {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(14, 42, 66, 0.08);
  box-shadow: 0 8px 24px -4px rgba(14, 42, 66, 0.12);
  border-radius: 9999px;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
  user-select: none;
}

.live-status-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(14, 42, 66, 0.18);
  border-color: #A9D5CD;
}

.status-info-wrap {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.status-text-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
}

.status-text-sub {
  font-size: 10.5px;
  color: #22C55E;
  font-weight: 600;
  line-height: 1.2;
}

.live-status-dropdown {
  position: absolute;
  bottom: 56px;
  right: 0;
  width: 280px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 16px 40px -8px rgba(14, 42, 66, 0.2), 0 0 0 1px rgba(14, 42, 66, 0.05);
  padding: 20px;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
}

.live-status-dropdown.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.dropdown-hours {
  font-size: 12px;
  color: var(--color-slate);
  margin-bottom: 14px;
}

.dropdown-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 38px;
  border-radius: 9999px;
  background-color: var(--color-mint);
  color: var(--color-navy);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-bottom: 8px;
}

.dropdown-action-btn:hover {
  background-color: #b7ded8;
  transform: translateY(-1px);
}

.dropdown-call-link {
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--color-navy);
  font-weight: 600;
  text-decoration: none;
}

.dropdown-call-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Scroll Reveal Animations (Apple/Linear standard)
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Delays */
.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.40s; }
.stagger-6 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
