/* ============================================
   GLOBAL STYLES - Significance Dental Specialists
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #0d4a52;
  --primary-dark: #0a3a40;
  --primary-light: #f6efe5;
  --secondary-color: #1a2332;
  --dark: #212529;
  --text: #212529;
  --text-light: #6e768b;
  --text-muted: #999999;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --light-bg: #f6efe5;
  --border: #e4e1e7;
  --border-light: #e4e4e4;
  --gold: #c89859;
  --green: #0d4a52;
  --font-primary: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1360px;
  --side-padding: 300px;
  --transition: all 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--dark);
}

h1 {
  font-size: 50px;
  line-height: 1.15;
}

h2 {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dark);
}

/* Unified section title style */
.section-title {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dark);
  text-transform: capitalize;
  margin-bottom: 32px;
}


h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
}

h4 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 1px;
}

h5 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

h6 {
  font-size: 18px;
  line-height: 1.5;
}

p {
  font-size: 18px;
  line-height: 1.4;
  color: var(--text-light);
  margin-bottom: 16px;
}

p:last-child {
  margin-bottom: 0;
}

/* ---------- Container ---------- */
.container {
  display: block;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 14px 36px;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 120px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  /* white-space: nowrap; */
  line-height: 1.4;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(82, 87, 191, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(82, 87, 191, 0.35);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ---------- Section Label / Tag ---------- */
.section-tag {
  display: inline-block;
  padding: 10px 32px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  border-radius: 120px;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.3;
}

.section-tag--solid {
  background: var(--primary);
  color: var(--white);
}

.section-tag--white-bg {
  background: var(--white);
  color: var(--primary);
}

/* ---------- Section Spacing ---------- */
.section {
  padding: 100px 0;
}
@media only screen and (max-width: 1440px) {
  .section {
    padding: 80px 0;
  }
}
@media only screen and (max-width: 1024px) {
  .section {
    padding: 60px 0;
  }
}
@media only screen and (max-width: 767px) {
  .section {
    padding: 50px 0;
  }
}

/* ---------- Scroll Animations ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

/* ---------- Top Announcement Bar ---------- */
.top-bar {
  background: var(--white);
  text-align: center;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
}

.top-bar a {
  color: var(--dark);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.top-bar a:hover {
  color: var(--primary);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1520px;
  margin: 0 auto;
  gap: 12px;
}

.header-logo img,
.header-logo svg {
  /* height: 76px; */
  width: 100%;
  height: auto;
  max-width: 375px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.main-nav a {
  font-size: 0.8125rem;
  white-space: nowrap;
  font-weight: 500;
  color: var(--white);
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  opacity: 1;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* Nav Close (hidden on desktop) */
.nav-close {
  display: none;
}

/* ── Services Dropdown ── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-dropdown__arrow {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.nav-dropdown:hover .nav-dropdown__arrow {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 180px;
  padding: 14px 0 8px;
  list-style: none;
  z-index: 1200;
}
@media only screen and (min-width: 1200px){
    .nav-dropdown__menu.dental-implant-sub-menu{
        column-count:2;
    }
}
.nav-dropdown__menu::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--white);
}

.nav-dropdown:hover .nav-dropdown__menu {
  display: block;
}

.nav-dropdown__menu li a {
  display: block;
  padding: 10px 18px;
  color: var(--dark) !important;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown__menu li a::after {
  display: none !important;
}

.nav-dropdown__menu li a:hover,
.nav-dropdown__menu li a.active {
  background: rgba(0,0,0,0.05);
  color: var(--primary) !important;
  opacity: 1;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Header CTA - Schedule Now (≤1199px only) */
.header-cta {
  display: none;
}
@media (max-width: 1700px) {
  .main-nav {
    gap: 10px;
  }
  .main-nav a {
    font-size: 0.8125rem;
  }
}
@media (max-width: 1440px) {
  .header-logo img, .header-logo svg {
    max-width: 240px;
  }
  .main-nav {
    gap: 6px;
  }
  .main-nav a {
    font-size: 0.75rem;
  }
}
@media (min-width: 1200px) and (max-width: 1340px) {
  .header-logo img, .header-logo svg {
    max-width: 200px;
  }
  .main-nav {
    gap: 4px;
  }
  .main-nav a {
    font-size: 0.6875rem;
  }
}
@media (max-width: 1199px) {
  .menu-toggle {
    display: flex;
  }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 30px 30px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    gap: 0;
    overflow-y: auto;
    transition: right 0.3s ease;
  }
  .main-nav.open {
    right: 0;
  }
  .nav-close {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--primary);
    transition: opacity 0.3s ease;
  }
  .nav-close:hover {
    opacity: 0.7;
  }
  .main-nav a {
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--dark);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }
  .main-nav a:hover,
  .main-nav a.active {
    color: var(--primary);
  }
  .main-nav a::after {
    background: var(--primary);
  }
  /* Mobile dropdown */
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown__toggle {
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    width: 100%;
    justify-content: space-between;
  }
  .nav-dropdown__toggle::after {
    display: none !important;
  }
  .nav-dropdown__menu {
    position: static;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    background: rgba(0,0,0,0.04);
    padding: 0;
    min-width: 0;
  }
  .nav-dropdown__menu::before {
    display: none;
  }
  .nav-dropdown:hover .nav-dropdown__menu {
    display: none;
  }
  .nav-dropdown.open .nav-dropdown__menu {
    display: block;
  }
  .nav-dropdown.open .nav-dropdown__arrow {
    transform: rotate(180deg);
  }
  .nav-dropdown__menu li a {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  .mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
  }
  .mobile-overlay.active {
    display: block;
  }
  .header-cta {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 12px;
  }
  .btn-schedule {
    padding: 10px 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
    border-radius: 120px;
    white-space: nowrap;
  }
  .btn-schedule:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary-dark);
  z-index: 1;
  opacity: .4;
}

.hero > .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 816px;
}

.hero-content h1 {
  font-size: 3.25rem;
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.15;
}

.hero-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 729px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================
   INTRO / ABOUT SECTION
   ============================================ */
.intro-section {
  /* padding: 100px 0; */
  background: var(--white);
}

.intro-section .section-tag {
  margin-bottom: 18px;
}

.intro-section h2 {
  margin-bottom: 32px;
}

.intro-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.intro-paragraphs p {
  margin-bottom: 0;
  text-transform: none;
}

.intro-buttons {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  /* padding: 100px 0; */
  background: linear-gradient(to bottom, #f6f6f6, rgba(246, 246, 246, 0));
}

.stats-inner {
  display: flex;
  align-items: center;
  gap: 102px;
}

.stats-content {
  flex: 1;
}

.stats-grid {
  display: flex;
  justify-content: space-between;
  gap: 36px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 40px;
  font-weight: 500;
  color: var(--primary);
  line-height: 1.3;
  text-transform: capitalize;
}

.stat-label {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-light);
  margin-top: 13px;
  text-transform: uppercase;
  line-height: 1.4;
}

.stats-image {
  flex: 0 0 576px;
  border-radius: 22px;
  overflow: hidden;
}

.stats-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 22px;
}

/* ============================================
   DIFFERENCE SECTION
   ============================================ */
.difference-section {
  /* padding: 100px 0; */
  background: rgba(45, 0, 72, 0.05);
}

.difference-section h2 {
  margin-bottom: 32px;
  text-align: center;
}

.difference-intro {
  margin-bottom: 42px;
  text-align: center;
}

.difference-intro p {
  /* inherits global p styles */
}

.difference-intro p:first-child {
  font-size: 22px;
  font-style: italic;
  line-height: 1.4;
}
@media only screen and (max-width: 1200px) {
  .difference-intro p:first-child {
    font-size: 20px;
  }
}
@media only screen and (max-width: 768px) {
  .difference-intro p:first-child {
    font-size: 18px;
  }
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

.difference-card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  transition: var(--transition);
}

.difference-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.difference-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.difference-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px;
}

.difference-icon svg,
.difference-icon img {
  width: 32px;
  height: 32px;
}

.difference-card h5 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: capitalize;
}

.difference-card p {
  text-transform: none;
  line-height: 1.5;
}

.flexible-payment-sec{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.flexible-payment-sec .difference-card{
    width: calc(33.33% - 24px);
}

.flex-content p{
    max-width: 900px !important;
}

/* ============================================
   RESULTS / BEFORE-AFTER SECTION
   ============================================ */
.results-section {
  /* padding: 100px 0; */
  background: var(--white);
  text-align: center;
}

.results-section .section-tag {
  margin-bottom: 18px;
}

.results-section h2 {
  margin-bottom: 18px;
}

.results-subtitle {
  font-size: 18px;
  line-height: 1.4;
  color: var(--text-light);
  margin-bottom: 32px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.result-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.result-card img {
  width: 100%;
  height: 362px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.result-card:hover img {
  transform: scale(1.05);
}

/* ============================================
   DR. HUANG SECTION
   ============================================ */
/* ============================================
   DOCTORS SLIDER SECTION
   ============================================ */
.doctor-section {
  background: var(--primary);
  overflow: hidden;
  position: relative;
}

/* .doctor-section .container {
  max-width: 100%;
} */

.doctor-slider {
  position: relative;
}

.doctor-slide {
  outline: none;
}

.doctor-slide-inner {
  display: flex;
  align-items: center;
  gap: 5%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 30px 0;
}

.doctor-image {
  flex: 0 0 45%;
  max-width: 45%;
  overflow: hidden;
}

.doctor-image img {
  width: 100%;
  height: auto;
  max-height: 700px;
  object-fit: cover;
  display: block;
}

.doctor-content {
  flex: 1;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.doctor-content .section-tag {
  align-self: flex-start;
}

.doctor-content .btn {
  align-self: flex-start;
  margin-top: 0;
}

.section-tag--white {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  padding: 10px 24px;
}

.doctor-content-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.doctor-content h2 {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
}

.doctor-subtitle {
  font-size: 22px;
  color: var(--white);
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
}

.doctor-subtitle em {
  font-style: italic;
}

.doctor-bio {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.doctor-bio p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

.btn-white-solid {
  display: inline-block;
  padding: 14px 36px;
  border: none;
  color: var(--primary);
  background: var(--white);
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 120px;
  transition: all 0.3s ease;
  margin-top: 32px;
  cursor: pointer;
  line-height: 1.4;
}

.btn-white-solid:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Keep btn-white-outline for backward compat */
.btn-white-outline {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid var(--white);
  color: var(--white);
  background: transparent;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 120px;
  transition: all 0.3s ease;
  margin-top: 32px;
  cursor: pointer;
  line-height: 1.4;
}

.btn-white-outline:hover {
  background: var(--white);
  color: var(--primary);
}

/* Slick Arrow Overrides for Doctor Slider */
.doctor-slider .slick-prev,
.doctor-slider .slick-next {
  width: 40px;
  height: 40px;
  background: var(--white);
  border: none;
  border-radius: 120px;
  z-index: 10;
  transition: all 0.3s ease;
  padding: 8px;
}

.doctor-slider .slick-prev:hover,
.doctor-slider .slick-next:hover {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transform: translateY(-50%) scale(1.05);
}

.doctor-slider .slick-prev::before,
.doctor-slider .slick-next::before {
  display: none;
}

.doctor-slider .slick-prev {
  left: 3%;
}

.doctor-slider .slick-next {
  right: 3%;
}

.doctor-slider .slick-prev img,
.doctor-slider .slick-next img {
  width: 20px;
  height: 20px;
  display: block;
}

.doctor-slider .slick-dots {
  bottom: 20px;
}

.doctor-slider .slick-dots li button::before {
  color: var(--white);
  opacity: 0.5;
  font-size: 10px;
}

.doctor-slider .slick-dots li.slick-active button::before {
  color: var(--white);
  opacity: 1;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
  background: rgba(45, 0, 72, 0.05);
  overflow: hidden;
}

.testimonials-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.testimonials-video-wrap {
  width: 100%;
}

.testimonials-video-wrap .video-embed {
  margin-bottom: 0;
}

.testimonials-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 42px;
}

.testimonials-header {
  text-align: center;
}

.testimonials-header h2 {
  margin-bottom: 32px;
}

.testimonials-subtitle {
  font-size: 22px;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.4;
}

.testimonials-slider-wrap {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 0 12px;
}

.testimonials-slider {
  width: 100%;
  /* margin: 0 -8px; */
}
.testimonials-slider .slick-prev, .reports-slider .slick-prev {
  left: -10px;
}
.testimonials-slider .slick-next, .reports-slider .slick-next {
  right: -10px;
}

.testimonials-slider .slick-list {
  overflow: hidden;
}

.testimonials-slider .slick-track {
  display: flex;
}

.testimonials-slider .slick-slide {
  height: auto;
  padding: 0 8px;
  box-sizing: border-box;
}

.testimonials-slider .slick-slide > div {
  height: 100%;
}

.testimonial-card {
  height: 100%;
}

.testimonial-card-inner {
  background: var(--white);
  border: 1px solid #ebebed;
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  transition: var(--transition);
}

.testimonial-card-inner:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.testimonial-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.testimonial-text-wrap {
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.testimonial-text-wrap:not(.expanded) {
  max-height: 115px;
}

.testimonial-text-wrap.expanded {
  max-height: 115px;
  overflow-y: auto;
}

/* Custom scrollbar for expanded testimonials */
.testimonial-text-wrap.expanded::-webkit-scrollbar {
  width: 4px;
}

.testimonial-text-wrap.expanded::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.testimonial-text-wrap.expanded::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.4;
  color: #525252;
  margin-bottom: 0;
}

.testimonial-read-more {
  color: rgba(82, 82, 82, 0.7);
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-primary);
  transition: color 0.3s ease;
  text-align: left;
}

.testimonial-read-more:hover {
  color: var(--primary);
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimonial-author-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.testimonial-author {
  font-size: 18px;
  font-weight: 500;
  color: #525252;
  text-transform: capitalize;
  line-height: 1.4;
}

.testimonial-stars {
  display: flex;
  gap: 8px;
}

.testimonial-stars svg {
  width: 20px;
  height: 20px;
}

.testimonial-source svg {
  width: 99px;
  height: 32px;
}

/* ============================================
   UNIFIED SLIDER ARROWS
   ============================================ */
.slick-arrow-unified {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 120px;
  padding: 12px;
  z-index: 10;
  transition: all 0.3s ease;
  cursor: pointer;
}

.slick-arrow-unified img {
  width: 24px;
  height: 24px;
  display: block;
}

/* Purple slider arrows: shared for testimonials + reports */
.testimonials-slider .slick-prev,
.testimonials-slider .slick-next,
.reports-slider .slick-prev,
.reports-slider .slick-next {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border: none;
  border-radius: 120px;
  padding: 0;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.testimonials-slider .slick-prev:hover,
.testimonials-slider .slick-next:hover,
.reports-slider .slick-prev:hover,
.reports-slider .slick-next:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(82, 87, 191, 0.35);
  transform: translateY(-50%) scale(1.08);
}

.testimonials-slider .slick-prev::before,
.testimonials-slider .slick-next::before,
.reports-slider .slick-prev::before,
.reports-slider .slick-next::before {
  display: none;
}

.testimonials-slider .slick-prev img,
.testimonials-slider .slick-next img,
.reports-slider .slick-prev img,
.reports-slider .slick-next img {
  width: 20px;
  height: 20px;
  display: block;
  filter: brightness(0) invert(1);
}

/* .reports-slider .slick-prev {
  left: -4px;
}
.reports-slider .slick-next {
  right: -4px;
} */

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-section {
  /* padding: 100px 0; */
  background: var(--white);
  text-align: center;
}

.video-section h2 {
  font-size: 2.625rem;
  margin-bottom: 42px;
}

.video-wrapper {
  position: relative;
  max-width: 1020px;
  margin: 0 auto 42px;
  border-radius: 16px;
  overflow: hidden;
}

.video-wrapper img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* Responsive video embed (Vimeo/YouTube iframe) */
.video-embed {
  max-width: 1020px;
  margin: 0 auto 42px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.video-play-btn:hover {
  background: var(--white);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.video-play-btn svg {
  width: 32px;
  height: 32px;
  fill: var(--primary);
  margin-left: 4px;
}

/* ============================================
   TREATMENT OPTIONS / PRICING SECTION
   ============================================ */
.treatment-section {
  /* padding: 100px 0; */
  background: var(--primary);
}
.treatment-section .container {
    max-width: 1520px;
}
.treatment-section .section-tag {
  display: block;
  width: fit-content;
  background: var(--white);
  color: var(--primary);
  margin: 0 auto 18px;
}

.treatment-section h2 {
  text-align: center;
  margin-bottom: 18px;
  color: var(--white);
}

.treatment-subtitle {
  text-align: center;
  color: var(--white);
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 32px;
}

.treatment-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.treatment-card {
  border-radius: 24px;
  overflow: hidden;
  background: transparent;
  transition: var(--transition);
  height: auto;
  display: flex;
  flex-direction: column;
  max-width: calc(33.33% - 16px);
  width: 100%;
}

.treatment-card:hover {
  transform: translateY(-4px);
}

.treatment-card-image {
  overflow: hidden;
  flex: 0 0 auto;

}

.treatment-card-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.treatment-card-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.treatment-card-header {
  background: rgba(255, 255, 255, 0.12);
  padding: 24px 32px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.treatment-card-header h3 {
  font-size: 32px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0;
  line-height: 1.3;
}

.treatment-card-header .btn {
  width: 100%;
  justify-content: center;
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.treatment-card-body {
  padding: 24px 32px;
  background: var(--white);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  height: 100%;
}
.treatment-card-body > a{
  margin-top: auto;
}

.treatment-price-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.treatment-price {
  font-size: 32px;
  font-weight: 500;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 0;
}

.treatment-price-sub {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 0;
  margin-top: 0;
  line-height: 1.3;
  text-transform: capitalize;
}

.treatment-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 0;
}

.treatment-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.treatment-feature svg,
.treatment-feature img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  fill: var(--primary);
}

.treatment-feature span {
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  text-transform: capitalize;
}

/* ============================================
   3 STEPS SECTION
   ============================================ */
.steps-section {
  /* padding: 100px 0; */
  background: var(--white);
}

.steps-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 42px;
}

/* steps heading inherits .section-title, add centering */
.steps-section .section-title {
  text-align: center;
  width: 100%;
}

.steps-grid {
  display: flex;
  gap: 24px;
  width: 100%;
}

.step-card {
  flex: 1 0 0;
  background: var(--white);
  border: 1px solid #e4e4e4;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 60px;
  transition: var(--transition);
  align-self: stretch;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.step-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step-label {
  font-size: 18px;
  color: var(--primary);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.4;
}

.step-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--dark);
  text-transform: capitalize;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.step-desc {
  line-height: 1.5;
  color: #6e768b;
  text-transform: none;
  margin-bottom: 0;
}

/* ============================================
   TRANSFORM / CTA BANNER
   ============================================ */
.cta-banner {
  padding: 60px 0;
  background: var(--light-bg);
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 120px;
}

.cta-banner-content {
  flex: 1;
}

.cta-banner-content h2 {
  margin-bottom: 32px;
}

.cta-banner-content p {
  font-size: 22px;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.4;
}

.cta-banner-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}

/* ============================================
   DR EXPLAINS / VIDEO SECTION 2
   ============================================ */
.explains-section {
  /* padding: 100px 0; */
  background: var(--white);
  text-align: center;
}

/* ============================================
   PAYMENT SECTION
   ============================================ */
.payment-section {
  /* padding: 100px 0; */
  background: var(--light-bg);
}

.payment-inner {
  display: flex;
  align-items: center;
  gap: 102px;
}

.payment-image {
  flex: 1;
  border-radius: 22px;
  overflow: hidden;
}

.payment-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 22px;
}

.payment-content {
  flex: 1;
}

.payment-content h2 {
  margin-bottom: 32px;
}

.payment-content p {
  margin-bottom: 32px;
}

/* ============================================
   READY / CTA SECTION
   ============================================ */
.ready-section {
  /* padding: 100px 0; */
  background: var(--white);
}

.ready-inner {
  display: flex;
  align-items: center;
  gap: 102px;
}

.ready-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ready-desc {
  font-weight: 400;
  line-height: 1.5;
  color: #6e768b;
  text-transform: none;
  margin-bottom: 0;
}

.ready-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  max-width: 320px;
}

.ready-buttons .btn-pill {
  width: 100%;
  text-align: center;
}

/* Pill buttons */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 14px 36px;
  border-radius: 120px;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-pill--filled {
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
}

.btn-pill--filled:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-pill--outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-pill--outline:hover {
  background: var(--primary);
  color: var(--white);
}

.ready-image {
  flex: 1;
  border-radius: 22px;
  overflow: hidden;
}

.ready-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 22px;
  display: block;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  /* padding: 100px 0; */
  /* background: var(--light-bg); */
  text-align: center;
}

.faq-section h2 {
  margin-bottom: 36px;
}

.faq-list {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 0;
  overflow: hidden;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.5);
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 500;
  color: var(--dark);
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  transition: background 0.3s ease;
  letter-spacing: 1px;
  line-height: 1.2;
}

.faq-item.active .faq-question {
  /* font-size: 22px; */
  color: var(--primary);
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.3);
}

.faq-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon .faq-icon-v {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faq-icon .faq-icon-v {
  transition: opacity 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 16px 18px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-light);
}
/* ============================================
   MEDIA SECTION
   ============================================ */
.media-section {
  /* padding: 100px 0; */
  background: var(--white);
}

.media-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.media-logos {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  max-width: 996px;
}

.media-logos img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ============================================
   REPORTS SECTION
   ============================================ */
/* ============================================
   FREE REPORTS SECTION
   ============================================ */
.reports-section {
  /* padding: 100px 0; */
  background: #f4f2f6;
  position: relative;
  overflow: hidden;
}

.reports-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}


.reports-slider-wrap {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 0 12px;
}

/* .reports-slider {
  margin: 0 -8px;
} */

.reports-slider .slick-list {
  overflow: hidden;
}

.reports-slider .slick-track {
  display: flex;
}

.reports-slider .slick-slide {
  height: auto;
  padding: 0 8px;
  box-sizing: border-box;
}

.reports-slider .slick-slide > div {
  height: 100%;
}

.report-card {
  height: 100%;
}

.report-card-inner {
  background: var(--white);
  border: 1px solid #f4f2f6;
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  height: 100%;
  transition: var(--transition);
}

.report-card-inner .report-btn {
  margin-top: auto;
}

.report-card-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.report-card-image {
  width: 244px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.report-card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.report-card-image--stacked {
  flex-direction: column;
  gap: 12px;
}

.report-card-image--stacked img:first-child {
  max-height: 187px;
  object-fit: cover;
}

.report-book-sub {
  max-height: 73px;
  object-fit: contain;
}

.report-card-title {
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--dark);
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.report-btn {
  width: 100%;
}

/* ============================================
   LOCATIONS SECTION
   ============================================ */
.locations-section {
  background: var(--white);
  overflow: hidden;
  border-top: 2px solid #f4f2f6;
}

.locations-section .container {
  max-width: 100%;
  padding: 0;
}

.locations-inner {
  display: flex;
  align-items: center;
}

.locations-content {
  width: 817px;
  flex-shrink: 0;
  padding: 80px 0 80px 300px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* locations heading inherits .section-title */

.locations-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.location-item {
  padding: 18px 32px;
  border-left: 2px solid #f4f2f6;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
}

.location-item--active {
  background: #f4f2f6;
  border-left-color: var(--primary);
}

.location-item:hover {
  border-left-color: var(--primary);
}

.location-name {
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.location-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
}

.location-detail span,
.location-detail a {
  font-size: 18px;
  font-weight: 400;
  color: #6e768b;
  line-height: 1.5;
  text-transform: capitalize;
  text-decoration: none;
}
.location-detail a:hover {
  color: var(--primary);
}

.locations-map {
  flex: 1;
  position: relative;
  align-self: stretch;
  min-height: 500px;
}

.locations-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  min-height: 350px;
}

/* ============================================
   PATIENT FORMS - Download Cards
   ============================================ */
.forms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 32px 28px;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.form-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.form-card__icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 10px;
}

.form-card p {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0 0 20px;
}

.form-card .btn {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 768px) {
  .forms-grid { grid-template-columns: 1fr; gap: 16px; }
  .form-card { padding: 24px 20px; }
}

/* ============================================
   DENTAL TOURISM - Steps (scoped to .dt-steps)
   ============================================ */
.dt-steps .steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.dt-steps .step-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  /* reset homepage flex behaviour */
  flex: unset;
  gap: unset;
  justify-content: unset;
  align-self: unset;
}

.dt-steps .step-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.dt-steps .step-card__number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin: 0 auto 18px;
}

.dt-steps .step-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 10px;
}

.dt-steps .step-card p {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 991px) {
  .dt-steps .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .dt-steps .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .dt-steps .step-card { padding: 24px 20px; }
}

/* ============================================
   FINANCING - Location Cards
   ============================================ */
.financing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.financing-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.financing-card .btn {
  margin-top: auto;
}

.financing-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.financing-card__icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.financing-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 8px;
}

.financing-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0 0 20px;
}

@media (max-width: 991px) {
  .financing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .financing-grid { grid-template-columns: 1fr; gap: 16px; }
  .financing-card { padding: 24px 20px; }
}

/* ============================================
   SMILE GALLERY - Before/After
   ============================================ */
.sg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sg-card {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.sg-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.sg-card__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  cursor: pointer;
}

.sg-card__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
}

.sg-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.sg-card:hover .sg-card__img img {
  transform: scale(1.05);
}

/* Before / After Labels */
.sg-label {
  position: absolute;
  top: 8px;
  padding: 3px 12px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: 4px;
  z-index: 2;
  font-family: 'Poppins', sans-serif;
}

.sg-label--before {
  left: 8px;
  background: rgba(0,0,0,0.6);
  color: #fff;
}

.sg-label--after {
  right: 8px;
  background: var(--primary);
  color: #fff;
}

/* Card Info */
.sg-card__info {
  padding: 14px 18px;
}

.sg-card__info h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 3px;
}

.sg-card__tag {
  font-size: 0.8125rem;
  color: var(--primary);
  font-weight: 500;
}

/* Smile Gallery Lightbox */
.sg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sg-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.sg-lightbox__body {
  max-width: 90vw;
  text-align: center;
}

.sg-lightbox__pair {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.sg-lightbox__half {
  position: relative;
  flex: 1;
  max-width: 45vw;
}

.sg-lightbox__half img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
}

.sg-lightbox__half .sg-label {
  top: 12px;
  font-size: 0.75rem;
  padding: 4px 16px;
}

.sg-lightbox__half .sg-label--before { left: 12px; }
.sg-lightbox__half .sg-label--after { right: 12px; left: auto; }

/* Responsive */
@media (max-width: 991px) {
  .sg-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 576px) {
  .sg-grid { grid-template-columns: 1fr; gap: 16px; }
  .sg-card__info { padding: 12px 14px; }
  .sg-lightbox__pair { flex-direction: column; gap: 10px; }
  .sg-lightbox__half { max-width: 90vw; }
  .sg-lightbox .cs-lightbox__prev { left: 8px; width: 32px; height: 32px; }
  .sg-lightbox .cs-lightbox__next { right: 8px; width: 32px; height: 32px; }
  .sg-lightbox .cs-lightbox__prev svg,
  .sg-lightbox .cs-lightbox__next svg { width: 16px; height: 16px; }
  .sg-lightbox .cs-lightbox__close { font-size: 1.75rem; top: 10px; right: 12px; }
}

/* ============================================
   CASE STUDIES GALLERY
   ============================================ */
.cs-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.cs-filter-btn {
  padding: 8px 22px;
  border: 2px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all 0.25s ease;
}
.cs-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.cs-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* Mobile dropdown filter — hidden on desktop */
.cs-filters-mobile {
  display: none;
  margin-bottom: 28px;
}

.cs-filter-select {
  width: 100%;
  padding: 12px 18px;
  font-size: 0.9375rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--dark);
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 10px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236e768b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.cs-filter-select:focus {
  outline: none;
  border-color: var(--primary);
}

@media (max-width: 1023px) {
  .cs-filters { display: none; }
  .cs-filters-mobile { display: block; }
}

.cs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cs-card {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}
.cs-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.cs-card__image {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.cs-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.cs-card:hover .cs-card__image img {
  transform: scale(1.06);
}
.cs-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(82,87,191,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cs-card:hover .cs-card__overlay {
  opacity: 1;
}
.cs-card__info {
  padding: 16px 18px;
}
.cs-card__info h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 4px;
  line-height: 1.4;
}
.cs-card__tag {
  font-size: 0.8125rem;
  color: var(--primary);
  font-weight: 500;
}
/* Lightbox */
.cs-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cs-lightbox.active {
  opacity: 1;
  visibility: visible;
}
.cs-lightbox__content {
  max-width: 90vw;
  max-height: 85vh;
  text-align: center;
}
.cs-lightbox__content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  object-fit: contain;
}
.cs-lightbox__caption {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 16px;
  font-family: 'Poppins', sans-serif;
}
.cs-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  z-index: 10;
  transition: opacity 0.2s;
}
.cs-lightbox__close:hover { opacity: 0.7; }
.cs-lightbox__prev,
.cs-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
}
.cs-lightbox__prev { left: 20px; }
.cs-lightbox__next { right: 20px; }
.cs-lightbox__prev:hover,
.cs-lightbox__next:hover { background: rgba(255,255,255,0.25); }
@media (max-width: 1199px) {
  .cs-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .cs-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cs-card__info { padding: 12px 14px; }
  .cs-card__info h3 { font-size: 0.875rem; }
  .cs-lightbox__prev { left: 10px; width: 36px; height: 36px; }
  .cs-lightbox__next { right: 10px; width: 36px; height: 36px; }
  .cs-lightbox__prev svg,
  .cs-lightbox__next svg { width: 18px; height: 18px; }
  .cs-lightbox__close { font-size: 2rem; top: 12px; right: 14px; }
}
@media (max-width: 480px) {
  .cs-grid { grid-template-columns: 1fr; }
  .cs-filters { gap: 8px; }
  .cs-filter-btn { padding: 6px 16px; font-size: 0.8125rem; }
}

/* ============================================
   TESTIMONIALS CARD GRID
   ============================================ */
.testimonials-grid-section .testimonials-grid-header {
  margin-bottom: 36px;
  text-align: center;
}

.testimonials-grid-section .testimonials-grid-header .section-tag {
  display: inline-block;
  margin-bottom: 10px;
}

/* Card Grid */
.tcard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Individual Card */
.tcard {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.tcard:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

/* Card Header */
.tcard-header {
  margin-bottom: 14px;
}

.tcard-name {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
  font-family: 'Poppins', sans-serif;
}

.tcard-stars {
  display: flex;
  gap: 2px;
}

.tcard-stars svg {
  flex-shrink: 0;
}

/* Card Body */
.tcard-body {
  flex: 1;
  margin-bottom: 16px;
  position: relative;
}

.tcard-text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-light);
  margin: 0;
  max-height: calc(1.65em * 4);
  overflow: hidden;
  transition: max-height 0.35s ease;
  position: relative;
}

/* Fade overlay when collapsed */
.tcard-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: linear-gradient(transparent, var(--white));
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.light_bg .tcard-text::after {
  background: linear-gradient(transparent, var(--light-bg));
}

/* Expanded state: scrollable with fixed height */
.tcard-text--expanded {
  /* max-height: 200px; */
  overflow-y: auto;
  padding-right: 6px;
}

.tcard-text--expanded::after,
.tcard-text--no-fade::after {
  opacity: 0;
}

/* Custom scrollbar for expanded text */
.tcard-text--expanded::-webkit-scrollbar {
  width: 4px;
}

.tcard-text--expanded::-webkit-scrollbar-track {
  background: transparent;
}

.tcard-text--expanded::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.tcard-text--expanded::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

.tcard-readmore {
  background: none;
  border: none;
  padding: 0;
  margin-top: 10px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-dark);
  font-family: 'Poppins', sans-serif;
  transition: color 0.2s ease;
  display: inline-block;
}

.tcard-readmore:hover {
  color: #b8902e;
}

/* Card Footer */
.tcard-footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.tcard-time {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.tcard-source {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
}

/* Responsive */
@media (max-width: 1199px) {
  .tcard-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .tcard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .tcard-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tcard {
    padding: 20px;
  }
}

/* ============================================
   SIMPLE TEXT SECTION (reusable)
   ============================================ */

.simple-text-header .section-tag {
  margin-bottom: 12px;
  display: inline-block;
}

.lr-section__content .section-title, .simple-text-header .section-title {
  margin-bottom: 20px;
}

/* Simple Grid (reusable) */
.simple-grid-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.simple-grid-section, .simple-grid-section + .simple-text-header, .simple-grid-section, .simple-grid-section + p {
  margin-top: 16px;
}

.simple-grid-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border, #eee);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.simple-text-section .simple-grid-card{
    align-items: center;
}
.simple-text-section .simple-grid-card span{
    line-height: 1.2;
}

.simple-grid-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.simple-grid-card svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.simple-grid-card span {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text);
}

/* Responsive */
@media (max-width: 991px) {
  .simple-grid-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .simple-grid-section {
    grid-template-columns: 1fr;
  }

  .simple-grid-card {
    padding: 14px 16px;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--secondary-color);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 80px;
  padding-bottom: 40px;
}

.footer-brand .header-logo img,
.footer-brand .header-logo svg {
  height: 76px;
  margin-bottom: 24px;
}

/* Footer logo is already white on transparent - no filter needed */

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  max-width: 355px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-social a {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  opacity: 0.7;
}

.footer-social a svg {
  width: 24px;
  height: 24px;
  fill: rgba(255, 255, 255, 0.8);
}

.footer-links h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 4px 0;
  display: block;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-hours h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-hours p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--white);
}

.footer-bottom-divider {
  width: 2px;
  height: 16px;
  background: rgba(255, 255, 255, 0.2);
}

.footer-bottom span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Large Desktop */
@media (max-width: 1600px) {
  .header-inner {
    padding-left: 80px;
    padding-right: 80px;
  }
}

@media (max-width: 1400px) {
  :root {
    --side-padding: 80px;
  }
  .header-inner {
    padding-left: 40px;
    padding-right: 40px;
  }
  /* Bring slider arrows inside at narrower viewports */
  /* .testimonials-slider .slick-prev,
  .reports-slider .slick-prev {
    left: 10px;
  }
  .testimonials-slider .slick-next,
  .reports-slider .slick-next {
    right: 10px;
  } */
  .stats-inner {
    gap: 60px;
  }
  .stats-image {
    flex: 0 0 450px;
  }
  .stat-number {
    font-size: 36px;
  }
  .payment-image {
    flex: 0 0 500px;
  }
  .locations-content {
    padding-left: 100px;
    width: 450px;
  }
}

/* Tablet Landscape */
@media (max-width: 1200px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2.125rem; }
  h3 { font-size: 1.5rem; }
  p, li { font-size: 16px; }

  .section-title {
    font-size: 36px;
    margin-bottom: 28px;
  }

  /* All explicit 18px/22px elements → 16px at ≤1200px */
  .results-subtitle,
  .stat-label,
  .step-label,
  .treatment-price-sub,
  .treatment-feature span,
  .testimonial-author,
  .faq-answer-inner,
  .location-detail span,
  .location-detail a,
  .cta-banner-content p {
    font-size: 16px;
  }

  .cta-banner-inner {
    gap: 48px;
  }
  .ready-inner {
    gap: 48px;
  }

  .hero {
    min-height: 500px;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content h1 br {
    display: none;
  }

  .stats-inner {
    gap: 48px;
  }
  .stat-number {
    font-size: 20px;
  }
  .stat-label {
    font-size: 15px;
  }
  

  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .treatment-grid {
    margin: 0 auto;
  }
  .treatment-card{
    max-width: calc(50% - 12px);
  }

  .payment-inner {
    gap: 40px;
  }
  .ready-inner {
    gap: 40px;
  }
  .ready-buttons {
    align-items: stretch;
    width: 100%;
  }

  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .locations-inner {
    flex-direction: column;
  }
  .locations-content {
    width: 100%;
    padding: 60px 20px 30px;
  }
  .locations-map {
    min-height: 350px;
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

}
@media (max-width: 1024px) {
  .section-title {
    font-size: 32px;
    margin-bottom: 24px;
  }
  /* Doctor section - tighter 2-column at tablet */
  .doctor-slide-inner {
    gap: 3%;
    padding: 2rem 30px 0;
  }
  .doctor-image {
    flex: 0 0 42%;
    max-width: 42%;
  }
  .doctor-content {
    gap: 20px;
  }
  .doctor-content h2 {
    font-size: 32px;
  }
  .doctor-subtitle {
    font-size: 18px;
  }
  .doctor-bio {
    gap: 10px;
  }
  .doctor-bio p {
    font-size: 15px;
  }
  .doctor-content-header {
    gap: 10px;
  }
  .doctor-slider .slick-prev {
    left: 15px;
  }
  .doctor-slider .slick-next {
    right: 15px;
  }
}
/* Tablet Portrait */
@media (max-width: 991px) {
  .header-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .doctor-section {
    padding: 60px 0;
  }

  .hero {
    min-height: auto;
    flex-direction: column;
  }
  .hero-bg {
    position: relative;
    width: 100%;
    height: auto;
  }
  .hero-bg img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  .hero-bg::after{
      display: none;
  }
  .hero > .container {
    background: var(--dark);
    max-width: 100%;
    padding: 40px 30px;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-content h1 {
    font-size: 2.25rem;
  }
  .hero-buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .difference-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    flex-direction: column;
  }
  .treatment-card-image img {
    object-fit: cover;
  }
  .treatment-card-header {
    padding: 20px 24px;
  }
  .treatment-card-header h3 {
    font-size: 24px;
  }
  .treatment-card-body {
    padding: 20px 24px;
    gap: 24px;
  }
  .treatment-price {
    font-size: 26px;
  }
  .treatment-feature span {
    font-size: 15px;
  }

  .cta-banner-buttons {
    flex-direction: row;
  }

  /* Unified section title at tablet */

  /* testimonials-content padding now handled by .container */
  .testimonials-section,
  .steps-section,
  .ready-section,
  .media-section,
  .reports-section {
    padding: 80px 0;
  }
  .locations-inner {
    flex-direction: column;
  }

  /* Doctor section - single column below 767px */
  .doctor-slide-inner {
    flex-direction: column;
    gap: 0;
    padding: 0 30px;
  }
  .doctor-image {
    flex: none;
    width: 100%;
    max-width: 100%;
  }
  .doctor-image img {
    width: 100%;
    max-height: 450px;
    object-fit: contain;
  }
  .doctor-content {
    gap: 16px;
    padding: 1.5rem 1.25rem;
  }
  .doctor-content h2 {
    font-size: 1.75rem;
  }
  .doctor-subtitle {
    font-size: 16px;
  }
  .doctor-bio p {
    font-size: 14px;
  }
  .doctor-slide {
    position: relative;
  }
  .doctor-slider .slick-prev,
  .doctor-slider .slick-next {
    width: 36px;
    height: 36px;
    padding: 8px;
    top: 200px;
  }
  .doctor-slider .slick-prev {
    left: 8px;
  }
  .doctor-slider .slick-next {
    right: 8px;
  }

  /* Testimonial footer: stack Google logo below stars */
  .testimonial-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Smaller slider arrows at mobile */
  .testimonials-slider .slick-prev,
  .testimonials-slider .slick-next,
  .reports-slider .slick-prev,
  .reports-slider .slick-next {
    width: 32px;
    height: 32px;
    padding: 6px;
  }
  .testimonials-slider .slick-prev img,
  .testimonials-slider .slick-next img,
  .reports-slider .slick-prev img,
  .reports-slider .slick-next img {
    width: 16px;
    height: 16px;
  }
  .doctor-slider .slick-prev img,
  .doctor-slider .slick-next img {
    width: 16px;
    height: 16px;
  }

  /* Stats at tablet */
  .stat-number {
    font-size: 28px;
  }
  .stat-label {
    font-size: 14px;
    margin-top: 8px;
  }
  /* -- Payment -- */
  .payment-inner {
    flex-direction: column;
  }
  .payment-image {
    flex: none;
    width: 100%;
  }
  /*  */
  .ready-inner {
    flex-direction: column;
    gap: 40px;
  }
  .ready-image {
    flex: none;
    width: 100%;
  }
  .ready-content {
    order: 2;
  }
  /*  */
  .stats-inner {
    flex-direction: column;
  }
  .stats-image {
    flex: none;
    width: 100%;
  }
  .stats-content {
    width: 100%;
  }
}

/* Mobile */
@media (max-width: 767px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.125rem; }

  .top-bar {
    font-size: 0.75rem;
    padding: 8px 16px;
  }

  .hero {
    min-height: auto;
  }
  .hero > .container {
    padding: 32px 20px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    font-size: 14px;
    padding: 14px 10px;
  }

  .stats-inner {
    gap: 32px;
  }
  .stats-grid {
    flex-direction: row;
    gap: 24px;
    text-align: center;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }
  .result-card img {
    height: 280px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .footer-bottom-divider {
    display: none;
  }

  /* Stats at mobile */
  .stats-inner {
    gap: 24px;
  }
  .stat-number {
    font-size: 24px;
  }
  .stat-label {
    font-size: 13px;
    margin-top: 6px;
  }

  .intro-buttons,
  .hero-buttons,
  .cta-banner-buttons,
  .ready-buttons {
    flex-direction: column;
  }

  .ready-buttons {
    width: 100%;
    align-items: stretch;
  }
  .btn-pill {
    width: 100%;
    text-align: center;
    font-size: 14px;
  }

  .doctor-section {
    padding: 50px 0;
  }
  .doctor-content {
    gap: 12px;
    padding: 1.25rem 1rem 0;
  }
  .doctor-content h2 {
    font-size: 1.375rem;
  }
  .doctor-subtitle {
    font-size: 14px;
  }
  .doctor-bio p {
    font-size: 0.8125rem;
    line-height: 1.5;
  }
  .doctor-content-header {
    gap: 8px;
  }
  .btn-white-outline {
    width: 100%;
    text-align: center;
  }

  /* Unified section title at mobile */
  .section-title {
    font-size: 25px !important;
    line-height: 1.3;
    margin-bottom: 20px;
  }

  /* -- Section spacing reductions at mobile -- */
  .testimonials-section {
    padding: 60px 0;
  }
  .testimonials-content {
    gap: 32px;
  }
  .testimonials-header h2 {
    margin-bottom: 16px;
  }
  .testimonials-subtitle {
    font-size: 16px;
  }

  .steps-section {
    padding: 60px 0;
  }
  .steps-inner {
    gap: 32px;
  }
  .step-card {
    gap: 24px;
  }
  .step-label {
    font-size: 15px;
  }
  .step-title {
    font-size: 20px;
  }
  .step-desc {
    font-size: 15px;
  }

  .ready-section {
    padding: 60px 0;
  }

  .media-section {
    padding: 60px 0;
  }

  .reports-section {
    padding: 60px 0;
  }

  .locations-section {
    padding: 0;
  }
  .locations-inner {
    flex-direction: column;
  }
  .locations-content {
    padding: 40px 20px;
  }

  /* Intro p inherits global responsive size */

  /* -- Difference section cards -- */
  .difference-grid {
    gap: 24px;
  }
  .difference-card h5 {
    font-size: 1.125rem;
  }

  /* -- Treatment cards -- */
  .treatment-subtitle {
    font-size: 15px;
  }

  /* -- FAQ -- */
  .faq-question {
    font-size: 15px;
  }

  
}

@media (max-width: 575px) {
  .header-cta, .phone-text {
    display: none;
  }
  .location-name {
    font-size: 16px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.75rem;
  }

  .stat-number {
    font-size: 22px;
  }
  .stats-grid {
    flex-direction: column;
    gap: 20px;
  }
  .stat-item {
    width: 100%;
    text-align: center;
  }
  .section-title {
    font-size: 22px !important;
    margin-bottom: 16px;
  }
}

/* ============================================
   INNER PAGE STYLES
   ============================================ */

/* ---------- Inner Hero ---------- */
.inner-hero {
  position: relative;
  background: var(--primary-dark);
  padding: 60px 0;
  overflow: hidden;
}

.inner-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(82, 87, 191, 0.95), rgba(67, 71, 153, 0.9));
}

.inner-hero .container {
  position: relative;
  z-index: 1;
}

.inner-hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.inner-hero-title {
  font-size: 48px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.inner-hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb .current {
  color: var(--white);
  font-weight: 500;
}

.breadcrumb span:not(.current) {
  opacity: 0.5;
}

/* ---------- Text Center Utility ---------- */
.text-center {
  text-align: center;
}

.text-center .section-tag {
  margin-bottom: 16px;
}

.text-center .section-title {
}

/* ---------- Root Canal Intro ---------- */
.rc-intro-row {
  display: flex;
  align-items: center;
  gap: 60px;
}

.rc-intro-content {
  flex: 1;
}

.rc-intro-content .section-tag {
  margin-bottom: 16px;
}

.rc-intro-content .section-title {
}

.rc-intro-image {
  flex: 0 0 45%;
  max-width: 45%;
}

.rc-intro-image img {
  border-radius: 16px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- Root Canal Symptoms ---------- */
.rc-symptoms-section {
  background: rgba(45, 0, 72, 0.05);
}

.rc-symptoms-subtitle,
.rc-process-subtitle,
.rc-benefits-subtitle {
  font-size: 18px;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 48px;
}

.rc-symptoms-grid {
  margin-top: 48px;
}

/* ---------- Root Canal Process ---------- */
.rc-process-section {
  background: var(--white);
}

.rc-steps-grid {
  flex-wrap: wrap;
  margin-top: 48px;
}

.rc-steps-grid .step-card {
  flex: 0 0 calc(33.333% - 16px);
  max-width: calc(33.333% - 16px);
}

/* ---------- Root Canal Benefits ---------- */
.rc-benefits-section {
  background: var(--white);
}

/* ============================================
   INNER PAGE RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .inner-hero {
    padding: 50px 0;
  }
  .inner-hero-title {
    font-size: 38px;
  }
  .rc-intro-row {
    gap: 40px;
  }
  .rc-steps-grid .step-card {
    flex: 0 0 calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .inner-hero {
    padding: 40px 0;
  }
  .inner-hero-title {
    font-size: 32px;
  }
  .inner-hero-subtitle {
    font-size: 16px;
  }
  .rc-intro-row {
    flex-direction: column;
    gap: 32px;
  }
  .rc-intro-image {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .rc-symptoms-subtitle,
  .rc-process-subtitle,
  .rc-benefits-subtitle {
    font-size: 16px;
    margin-bottom: 32px;
  }
  .rc-steps-grid .step-card {
    flex: 0 0 100%;
    max-width: 100%;
  }  
  .treatment-card {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .inner-hero {
    padding: 40px 0 32px;
  }
  .inner-hero-title {
    font-size: 28px;
  }
  .breadcrumb {
    font-size: 12px;
    gap: 6px;
  }
}

/* ============================================
   ROOT CANAL PAGE - Content Sections
   ============================================ */

/* ---------- Content Section (Symptoms / Need Treatment) ---------- */
.rc-content-inner {
  max-width: 900px;
}

.rc-content-inner .section-title {
}

.rc-text-content p {
  margin-bottom: 16px;
}

.rc-symptoms-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 40px;
  margin-top: 24px;
  list-style: none;
  padding: 0;
}

.rc-symptoms-list li {
  position: relative;
  padding-left: 28px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-light);
}

.rc-symptoms-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* ---------- Video / Procedure Section ---------- */
.rc-video-section {
  background: var(--light-bg);
}

.rc-video-inner {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.rc-video-heading {
  font-size: 28px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 32px;
}

.rc-procedure-image {
  margin-bottom: 32px;
}

.rc-procedure-image img {
  border-radius: 16px;
  width: 100%;
  height: auto;
}

.rc-cta-center {
  margin-top: 16px;
}

/* ---------- What to Expect Section ---------- */
.rc-expect-row {
  display: flex;
  align-items: center;
  gap: 60px;
}

.rc-expect-content {
  flex: 1;
}

.rc-expect-content .section-title {
}

.rc-expect-image {
  flex: 0 0 45%;
  max-width: 45%;
}

.rc-expect-image img {
  border-radius: 16px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- Need Treatment Section ---------- */
.rc-need-section {
  background: var(--light-bg);
}

/* ---------- Locations Grid ---------- */
.rc-locations-section {
  background: var(--white);
}

.rc-locations-section .section-title {
}

.rc-locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rc-location-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.rc-location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.rc-location-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.rc-location-card h5 {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}

.rc-location-address {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 12px;
}

.rc-location-phone {
  display: inline-block;
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.rc-location-phone:hover {
  color: var(--primary-dark);
}

.rc-location-review {
  display: inline-block;
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
}

.rc-location-review:hover {
  color: var(--primary-dark);
}

/* ---------- Root Canal Responsive ---------- */
@media (max-width: 1024px) {
  .rc-expect-row {
    gap: 40px;
  }
  .rc-video-heading {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .rc-expect-row {
    flex-direction: column;
    gap: 32px;
  }
  .rc-expect-image {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .rc-symptoms-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .rc-symptoms-list li {
    font-size: 16px;
  }
  .rc-locations-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .rc-video-heading {
    font-size: 22px;
  }
}

@media (max-width: 576px) {
  .rc-location-card {
    padding: 24px 20px;
  }
}

/* ============================================
   INNER PAGE - Generic Content Sections
   ============================================ */

.light_bg,
.rc-video-section {
  background: var(--light-bg);
}

.rc-cta-section {
  background: var(--primary);
}

/* ============================================
   REUSABLE LEFT-RIGHT SECTION COMPONENT (.lr-section)
   Default: content LEFT, media RIGHT
   Modifier: .lr-section--reverse → media LEFT, content RIGHT
   Mobile: media ALWAYS on top via CSS order
   ============================================ */

.lr-section {
  display: flex;
  align-items: center;
  gap: 80px;
}

/* --- Content column --- */
.lr-section__content {
  flex: 1;
  min-width: 0;
}

.lr-section__content .section-tag {
  margin-bottom: 16px;
}

.lr-section__content .section-title {
}
.section-subtitle {
  color: var(--primary);
  font-size: 20px;
}
.section-subtitle {
  margin-bottom: 8px;
}
p + .section-subtitle {
  margin-top: 16px;
}
.lr-section__content .btn, .simple-text-section .btn {
  margin-top: 16px;
}
.simple-text-header + .simple-text-header {
    margin-top: 20px;
}

/* ---------- Polished Simple-Text Block Cards (left-accent list) ---------- */
/* Section-level: brand-tinted bg + centered header (overrides light_bg) */
.simple-text-section.section {
  background: var(--white);
}

.simple-text-section .container > .simple-text-header:first-child {
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.simple-text-section .container > .simple-text-header:first-child .section-tag {
  margin-left: auto;
  margin-right: auto;
}

.simple-text-blocks {
  max-width: 980px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.simple-text-block {
  position: relative;
  padding: 26px 30px;
  background: var(--white);
  border: 1px solid #ececec;
  border-left: 4px solid var(--primary);
  border-radius: 0 10px 10px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.simple-text-block:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transform: translateX(3px);
}

.simple-text-block__title {
  color: var(--dark, #1a1a1a);
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.35;
}

.simple-text-block p {
  margin: 0;
  color: var(--text-light, #555);
  font-size: 15.5px;
  line-height: 1.65;
}

.simple-text-block p + p {
  margin-top: 10px;
}

.simple-text-section.light_bg .simple-text-block,
.simple-text-section .simple-text-blocks .simple-text-block {
  background: var(--white);
}

@media (max-width: 768px) {
  .simple-text-blocks {
    gap: 14px;
    margin-top: 28px;
  }
  .simple-text-block {
    padding: 22px;
  }
  .simple-text-block__title {
    font-size: 17px;
  }
}
@media only screen and (min-width: 768px) {
  .lr-section__content .section-title, .simple-text-header .section-title {
    font-size: 25px;
  }
  .section-subtitle {
    font-size: 22px;
  }
}
@media only screen and (min-width: 992px) {
  .lr-section__content .section-title, .simple-text-header .section-title {
    font-size: 30px;
  }
}
@media only screen and (min-width: 1200px) {
  .lr-section__content .section-title, .simple-text-header .section-title {
    font-size: 35px;
  }
}

/* --- Media column (image) --- */
.lr-section__media {
  flex: 1;
  min-width: 0;
}

.lr-section__media img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  object-fit: cover;
  display: block;
}

/* --- Media column (video variant) --- */
.lr-section__media--video {
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.lr-section__media--video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Reverse layout: media left, content right (desktop only) --- */
.lr-section--reverse {
  flex-direction: row-reverse;
}

/* --- Symptoms list (reusable inside lr-section__content) --- */
.section-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.section-list + p {
  margin-top: 16px;
}
.section-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  color: var(--text-light);
  font-weight: 500;
}
.section-list li svg {
  flex-shrink: 0;
}
@media screen and (max-width: 1200px) {
  .section-list li { font-size: 16px; }
}

/* ---------- Root Canal CTA Section ---------- */
.rc-cta-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.rc-cta-inner .section-title {
  color: var(--white);
}

.rc-cta-inner p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.rc-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Inner Hero Buttons ---------- */
.inner-hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.inner-hero .section-title {
  color: var(--white);
}

.inner-hero .section-tag {
  margin-bottom: 20px;
}

/* ---------- Inner Hero with Right-side Pricing Box ---------- */
.inner-hero--with-pricing {
  padding: 70px 0;
}

.inner-hero--with-pricing .inner-hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.inner-hero-content--left {
  text-align: left;
  max-width: none;
  margin: 0;
}

.inner-hero-content--left .section-title {
  font-size: 42px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.inner-hero-content--left .inner-hero-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
  margin-bottom: 0;
}

.inner-hero--with-pricing .inner-hero-buttons {
  justify-content: flex-start;
  margin-top: 28px;
}

.inner-hero-pricing {
  background: var(--white);
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  padding: 32px 30px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.inner-hero-pricing__tag {
  display: inline-block;
  margin-bottom: 10px;
}

.inner-hero-pricing__heading {
  font-size: 22px;
  font-weight: 600;
  color: var(--dark, #1a1a1a);
  line-height: 1.3;
  margin: 0 0 18px;
}

.inner-hero-pricing__list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.inner-hero-pricing__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 15px;
  color: var(--text-light, #555);
  line-height: 1.45;
}

.inner-hero-pricing__list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.inner-hero-pricing__footnote {
  font-style: italic;
  font-size: 14px;
  color: var(--text-light, #555);
  margin: 0 0 20px;
  line-height: 1.5;
}

.inner-hero-pricing__cta {
  width: 100%;
  text-align: center;
}

@media (max-width: 992px) {
  .inner-hero--with-pricing .inner-hero-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .inner-hero-content--left {
    text-align: center;
  }
  .inner-hero--with-pricing .inner-hero-buttons {
    justify-content: center;
  }
  .inner-hero-content--left .section-title {
    font-size: 34px;
  }
}

@media (max-width: 600px) {
  .inner-hero--with-pricing {
    padding: 50px 0;
  }
  .inner-hero-content--left .section-title {
    font-size: 28px;
  }
  .inner-hero-pricing {
    padding: 26px 22px;
  }
  .inner-hero-pricing__heading {
    font-size: 20px;
  }
}

/* ---------- Inner Page Responsive ---------- */
@media (max-width: 1024px) {
  .lr-section {
    gap: 48px;
  }
  .rc-video-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  /* Stack vertically, media ALWAYS first on mobile */
  .lr-section {
    flex-direction: column;
    gap: 32px;
  }
  .lr-section__media {
    order: -1;
    width: 100%;
  }
  /* Reverse modifier also stacks, media still first */
  .lr-section--reverse {
    flex-direction: column;
  }
  .lr-section--reverse .lr-section__media {
    order: -1;
    width: 100%;
  }
  .rc-video-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .section-list li {
    font-size: 16px;
  }
  .lr-section__content p {
    font-size: 16px;
  }
  .inner-hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .lr-section {
    gap: 24px;
  }
  .rc-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}
.pt-0 {
  padding-top: 0 !important;
}
.pb-0 {
  padding-bottom: 0 !important;
}
.p-0 {
  padding: 0 !important;
}

/* ============================================
   LOCATION PAGES (scoped to .loc-page)
   ============================================ */

/* --- Info + Form Grid --- */
.loc-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.loc-info .section-tag {
  margin-bottom: 16px;
}

.loc-info .section-title {
  margin-bottom: 28px;
}

/* --- Info Cards --- */
.loc-info__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.loc-info__card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: var(--off-white);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.loc-info__card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(82, 87, 191, 0.08);
}

.loc-info__card-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.loc-info__card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.loc-info__card-body h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
  padding: 0;
  border-bottom: none;
  text-transform: none;
}

.loc-info__card-body a,
.loc-info__card-body span {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.5;
  text-decoration: none;
}

.loc-info__card-body a:hover {
  color: var(--primary);
}

/* --- Action Buttons --- */
.loc-info__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.loc-info__actions .btn {
  font-size: 14px;
  padding: 12px 28px;
}

/* --- Contact Form Wrapper --- */
.loc-form-wrapper {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.loc-contact-form__title {
  font-size: 22px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 24px;
  padding-bottom: 0;
  border-bottom: none;
}

.loc-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.loc-form__group {
  margin-bottom: 16px;
  position: relative;
}

.loc-form__label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 6px;
}

.loc-form__label span {
  color: #e74c3c;
}

.loc-form__input,
.loc-form__textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  box-sizing: border-box;
}

.loc-form__input:focus,
.loc-form__textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(82, 87, 191, 0.1);
}

select.loc-form__input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236e768b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.loc-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.loc-form__submit {
  width: 100%;
  margin-top: 8px;
}

.loc-form__disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 14px;
}

/* --- Disclaimer Checkboxes --- */
.loc-form .disclaimer-msg.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}

.loc-form .disclaimer-msg.form-checkbox input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  accent-color: var(--primary);
  cursor: pointer;
}

.loc-form .disclaimer-msg.form-checkbox label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
  font-weight: 400;
}

.loc-form .disclaimer-msg p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 4px 0 12px;
  padding-left: 22px;
}

.loc-form .disclaimer-msg p a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
.loc-form .disclaimer-msg p a:hover {
  color: var(--text-light);
}

/* --- Map Wrapper --- */
.loc-map-wrapper {
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
}

.loc-map-wrapper iframe {
  display: block;
  width: 100%;
  height: 450px;
}

/* --- Other Locations Grid --- */
.loc-other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.loc-other-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: var(--transition);
}

.loc-other-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.loc-other-card__icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.loc-other-card h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
  padding: 0;
  border-bottom: none;
}

.loc-other-card__note {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
  background: var(--primary-light);
  padding: 3px 12px;
  border-radius: 20px;
}

.loc-other-card__address {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.5;
  margin: 4px 0;
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
}

.loc-other-card__address:hover {
  color: var(--primary);
}

/* --- Clickable Address Link (shared across pages) --- */
.office-address {
  font-size: inherit;
  color: inherit;
  line-height: 1.5;
  margin-bottom: 12px;
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
}

.office-address:hover {
  color: var(--primary);
}

.loc-other-card__phone {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.loc-other-card__phone:hover {
  color: var(--primary-dark);
}

.loc-other-card__btn {
  margin-top: 8px;
  font-size: 14px;
  padding: 10px 24px;
}

/* --- Location Page Responsive --- */
@media (max-width: 991px) {
  .loc-info-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .loc-other-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .loc-form-wrapper {
    padding: 28px 24px;
  }
  .loc-form__row {
    grid-template-columns: 1fr;
  }
  .loc-other-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .loc-other-card {
    padding: 24px 20px;
  }
  .loc-map-wrapper iframe {
    height: 350px;
  }
  .loc-info__actions {
    flex-direction: column;
  }
  .loc-info__actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* ============================================
   DOCTOR BIO PAGES (scoped to .doctor-page)
   ============================================ */

.doctor-page .doctor-bio-layout {
  overflow: hidden; /* clearfix for float */
}

.doctor-page .doctor-bio-image {
  float: left;
  width: 450px;
  max-width: 100%;
  margin: 0 40px 24px 0;
  flex-shrink: 0;
}

.doctor-page .doctor-bio-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
}

.doctor-page .doctor-bio-content {
  /* No overflow:hidden — allows text to wrap beside image
     and flow below it naturally once content exceeds image height */
}

.doctor-page .doctor-bio-header {
  margin-bottom: 24px;
}

.doctor-page .doctor-bio-name {
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 6px;
  padding: 0;
  border-bottom: none;
  line-height: 1.2;
  text-transform: none;
}

.doctor-page .doctor-bio-credentials {
  font-size: 18px;
  font-weight: 500;
  color: var(--primary);
  margin: 0;
  padding: 0;
  border-bottom: none;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0.5px;
}

.doctor-page .doctor-bio-content p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 18px;
}

.doctor-page .doctor-bio-content p:last-of-type {
  margin-bottom: 0;
}

.doctor-page .doctor-bio-content a:not(.btn) {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

/* --- Doctor Page Responsive --- */
@media (max-width: 1200px) {
  .doctor-page .doctor-bio-image {
    width: 380px;
    margin-right: 32px;
  }
}

@media (max-width: 991px) {
  .doctor-page .doctor-bio-image {
    width: 320px;
    margin-right: 28px;
  }
}

@media (max-width: 768px) {
  .doctor-page .doctor-bio-image {
    float: none;
    width: 100%;
    max-width: 450px;
    margin: 0 auto 28px;
  }

  .doctor-page .doctor-bio-content p {
    font-size: 16px;
  }

  .doctor-page .doctor-bio-name {
    font-size: 26px;
  }

  .doctor-page .doctor-bio-credentials {
    font-size: 16px;
  }

  .doctor-page .doctor-bio-header {
    margin-bottom: 20px;
  }
}

/* ============================================
   TEAM PAGE (scoped to .team-page)
   ============================================ */

/* --- Team Grid --- */
.team-page .tp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* --- Team Card --- */
.team-page .tp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-page .tp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

/* Card Image */
.team-page .tp-card__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.team-page .tp-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

.team-page .tp-card:hover .tp-card__img img {
  transform: scale(1.05);
}

/* Hover Overlay */
.team-page .tp-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(82, 87, 191, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-page .tp-card:hover .tp-card__overlay {
  opacity: 1;
}

.team-page .tp-card__readmore {
  background: var(--white);
  color: var(--primary);
  border: none;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  border-radius: 120px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.2s ease;
}

.team-page .tp-card__readmore:hover {
  transform: scale(1.05);
}

/* Card Info */
.team-page .tp-card__info {
  padding: 20px 24px 24px;
  text-align: center;
}

.team-page .tp-card__name {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 4px;
  padding: 0;
  border-bottom: none;
  text-transform: none;
}

.team-page .tp-card__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  margin: 0;
  text-transform: none;
}

/* --- Modal --- */
.tp-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tp-modal--open {
  opacity: 1;
  visibility: visible;
}

.tp-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.tp-modal__dialog {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  max-width: 900px;
  width: 92%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}

.tp-modal--open .tp-modal__dialog {
  transform: translateY(0) scale(1);
}

.tp-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease;
}

.tp-modal__close:hover {
  background: var(--border);
}

.tp-modal__body {
  display: flex;
  gap: 0;
}

.tp-modal__image {
  flex: 0 0 320px;
  max-width: 320px;
}

.tp-modal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px 0 0 20px;
}

.tp-modal__content {
  flex: 1;
  padding: 40px 36px;
  min-width: 0;
}

.tp-modal__name {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 6px;
  padding: 0;
  border-bottom: none;
  text-transform: none;
  line-height: 1.2;
}

.tp-modal__title {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 20px;
  padding: 0;
  border-bottom: none;
  text-transform: none;
}

.tp-modal__bio {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light);
}

/* --- Team Page Responsive --- */
@media (max-width: 991px) {
  .team-page .tp-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .tp-modal__body {
    flex-direction: column;
  }

  .tp-modal__image {
    flex: none;
    max-width: 100%;
    max-height: 300px;
    overflow: hidden;
  }

  .tp-modal__image img {
    border-radius: 20px 20px 0 0;
    max-height: 300px;
  }

  .tp-modal__content {
    padding: 28px 24px;
  }

  .tp-modal__name {
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  .team-page .tp-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  /* .team-page .tp-card__img {
    aspect-ratio: 4 / 3;
  } */
}

/* ============================================
   MEDIA PAGE (scoped to .media-page)
   ============================================ */

/* --- Media Grid --- */
.media-page .mp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* --- Media Card --- */
.media-page .mp-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-page .mp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

/* Card Image Container */
.media-page .mp-card__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--off-white);
}

.media-page .mp-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.media-page .mp-card:hover .mp-card__img img {
  transform: scale(1.05);
}

/* Hover Overlay */
.media-page .mp-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(82, 87, 191, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.media-page .mp-card:hover .mp-card__overlay {
  opacity: 1;
}

.media-page .mp-card__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Persistent top-right icon */
.media-page .mp-card__icon-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Card Info */
.media-page .mp-card__info {
  padding: 20px 24px;
}

.media-page .mp-card__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 8px;
  padding: 0;
  border-bottom: none;
  line-height: 1.4;
  text-transform: none;
}

.media-page .mp-card__type {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Media Page Responsive --- */
@media (max-width: 991px) {
  .media-page .mp-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 576px) {
  .media-page .mp-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .media-page .mp-card__img {
    aspect-ratio: 4 / 5;
  }
}

/* ============================================
   SERVICE PAGE STEPS (scoped)
   ============================================ */
.sp-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.sp-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: var(--transition);
}

.sp-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.sp-step h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 10px;
  padding: 0;
  border-bottom: none;
  text-transform: none;
}

.sp-step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-light);
  margin: 0;
}

@media (max-width: 768px) {
  .sp-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .sp-step {
    padding: 22px 20px;
  }
}
/* Form */
label.label1 {
  font-size: 12px;
  font-weight: 500;
  color: red;
  position: absolute;
  bottom: -16px;
  left: 0;
}

/* ============================================
   POLICY PAGES (scoped to .policy-page)
   ============================================ */
.policy-page .policy-content {
  max-width: 900px;
  margin: 0 auto;
}

.policy-page .policy-content h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--dark);
  margin: 40px 0 16px;
  padding: 0;
  border-bottom: none;
  text-transform: none;
}

.policy-page .policy-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin: 24px 0 10px;
  padding: 0;
  border-bottom: none;
  text-transform: none;
}

.policy-page .policy-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 14px;
}

.policy-page .policy-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.policy-page .policy-content ul li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 6px;
}

.policy-page .policy-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.policy-page .policy-content a {
  color: var(--primary);
  text-decoration: none;
}

.policy-page .policy-locations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 20px 0 30px;
}

.policy-page .policy-location {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.policy-page .policy-location h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.policy-page .policy-location p {
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .policy-page .policy-locations {
    grid-template-columns: 1fr;
  }
  .policy-page .policy-content h2 {
    font-size: 21px;
    margin-top: 32px;
  }
}

/* ============================================
   REPORT POPUP MODAL
   ============================================ */
.report-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.report-popup--open {
  opacity: 1;
  visibility: visible;
}

.report-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.report-popup__dialog {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  max-width: 700px;
  width: 92%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}

.report-popup--open .report-popup__dialog {
  transform: translateY(0) scale(1);
}

.report-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--dark);
  z-index: 2;
  transition: background 0.2s ease;
}

.report-popup__close:hover {
  background: var(--border);
}

.report-popup__title {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 24px;
  padding: 0 30px 0 0;
  border-bottom: none;
  text-transform: none;
  line-height: 1.3;
}

.report-popup .loc-contact-form {
  margin: 0;
}

.report-popup .loc-contact-form__title {
  display: none;
}

@media (max-width: 768px) {
  .report-popup__dialog {
    padding: 28px 20px;
    max-width: 95%;
  }
  .report-popup__title {
    font-size: 20px;
  }
}

.contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.contact-col {
    width: 100%;
    max-width: calc(50% - 25px);
}

.contact-wrap h3 {
    color: #5257bf;
    margin-bottom: 20px;
}

.contact-wrap-main > p {
    font-weight: 600;
}
.contact-detl a {
    display: flex;
    gap: 10px;
}
.contact-detl:not(:last-child) {
    margin-bottom: 15px;
}
.contact-wrap-main {
    padding-bottom: 20px;
}
.contact-wrap-main ul li {
    color: var(--text-light);
    font-size: 18px;
}
@media (max-width: 1200.98px){
    .contact-wrap-main ul li {
        font-size: 16px;
    }
}
@media (max-width: 1024.98px){
    .contact-row{
        gap: 30px;
    }
    .contact-col {
        max-width: 100%;
    }
}

/* trust-strip-bar Css Start */
section.trust-strip-bar {
    padding: 14px 0px;
    background: var(--primary-light);
}
section.trust-strip-bar ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 40px;
    row-gap: 20px;
}
section.trust-strip-bar ul li {
    position: relative;
    padding-left: 30px;
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}
section.trust-strip-bar ul li:before {
    position: absolute;
    content: "";
    background-image: url('/assets/images/circle-check-mark-icon.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    left: 0;
}
@media only screen and (max-width: 380px){
  section.trust-strip-bar ul li{
    font-size: 14px;
  }
  section.trust-strip-bar ul{
    justify-content: flex-start;
  }
}
/* trust-strip-bar Css End*/