/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0cab52;
  --primary-dark: #099a48;
  --dark: #1e1e1e;
  --card-bg: #e3efe9;
  --white: #f2f7f5;
  --light-gray: #f5f5f5;
  --border-gray: #d9d9d9;
  --text-muted: #555;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Poltawski Nowy', serif;
  --radius-card: 12px;
  --radius-pill: 120px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.4;
  overflow-x: hidden;
  background: var(--white);
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.85;
}

.error-404-actions a {
    display: flex !important;
}
ul {
  list-style: none;
}

address {
  font-style: normal;
}

/* ===== CONTAINER =====
   Figma is 1920px with 240px side padding = 1440px content.
   We use max-width:1920 + 12.5% padding (= 240px at 1920px) */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4%, 80px);
}


/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: 0.32px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--primary);

  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.sp-section .btn-primary{
max-width: 132px;
}
.btn-width{
max-width: 275px;
    width: 100%;

}
.btn-primary:hover {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  opacity: 1;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--primary);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: 0.32px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s;
}

.btn-white:hover {
  transform: translateY(-1px);
  opacity: 1;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F2F7F5;
  color: var(--primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: 0.32px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--primary);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.form-input::placeholder {
    color: #000000 !important;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  opacity: 1;
}

.btn-full {
  width: 100%;
  border-radius: 50px;
}

/* ===== TOP BANNER ===== */
.top-banner {
  background: var(--primary);
  text-align: center;
  padding: 12px 10px;
}

.top-banner p {
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

/* ===== HERO ===== */
.hero-section {
  position: relative;
  height: auto;
  overflow: hidden;
}

/* Full hero height only on home page (when bg image is present) */
.hero-section:has(.hero-bg) {
  height: 860px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 147%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.48) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.32) 3.82%, rgba(0, 0, 0, 0) 26.05%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.32) 2.64%, rgba(0, 0, 0, 0) 21.14%);
  z-index: 1;
}

/* Navbar */
.navbar {
  max-width: 1440px;
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  padding: 0 clamp(12px, 2.5%, 48px);
  transition: top 0.3s;
  margin: auto;
}


.navbar.fixed {
  position: fixed;
  top: 0;
  padding: 8px clamp(12px, 2.5%, 48px);
}

/* Inner pages: fixed from load, glass look until scroll */
.navbar.inner-page {
  position: fixed;
  top: 0;
  padding: 8px clamp(12px, 2.5%, 48px);
}

.navbar.fixed .nav-container {
  background:var(--primary);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
  transition: background 0.3s, box-shadow 0.3s;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius-card);
  padding: 10px 24px;
  gap: 12px;
  overflow: visible;
}



.logo img {
  height: 60px;
  width: auto;
  display: block;
  max-width: 168px;
  width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  justify-content: center;
  flex-wrap: nowrap;
  min-width: 0;
}

.nav-links li a {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--white);
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: 0.2px;
  line-height: 1.15;
  white-space: nowrap;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== NAV DROPDOWN ===== */
.has-dropdown {
  position: relative;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  min-width: 210px;
  padding: 8px 0;
  z-index: 200;
  list-style: none;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #fff;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  display: block;
}

.nav-dropdown li a {
  display: block;
  padding: 10px 20px;
  color: var(--dark) !important;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown li a:hover {
  background: var(--card-bg);
  color:#fff !important;
  opacity: 1;
}

/* Flyout submenu (e.g. Patient Forms) */
.has-flyout {
  position: relative;
}

.has-flyout > a {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.has-flyout > a svg {
  flex-shrink: 0;
  opacity: 0.55;
}

.nav-flyout {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  min-width: 220px;
  padding: 8px 0;
  z-index: 201;
  list-style: none;
  margin-left:0;
}

.has-flyout:hover .nav-flyout,
.has-flyout:focus-within .nav-flyout {
  display: block;
}

.nav-flyout li a {
  display: block;
  padding: 10px 20px;
  color: var(--dark) !important;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.nav-flyout li a:hover {
  background: var(--card-bg);
  color: var(--primary) !important;
}

/* Highlight the Patient Forms trigger when flyout is open */
.nav-dropdown li:hover > a {
  background: var(--primary) !important;
  color: #fff !important;
}

.has-flyout:hover > a svg {
  opacity: 1;
}

/* Mobile: dropdown becomes a static list */
@media (max-width: 1024px) {
  .nav-dropdown {
    display: block;
    position: static;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    background: rgba(255,255,255,0.08);
    min-width: 0;
    padding: 0;
    margin-top: 4px;
  }

  .nav-dropdown::before {
    display: none;
  }

  .nav-dropdown li a {
    color: rgba(255,255,255,0.85) !important;
    padding: 8px 16px 8px 28px;
    font-size: 13px;
  }

  .nav-dropdown li a:hover {
    background: rgba(255,255,255,0.1);
    color: #fff !important;
  }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 122px clamp(20px, 12.5%, 240px);
  gap: 40px;
}

.hero-text {
  max-width: 708px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  flex-shrink: 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(2px);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.32px;
  padding: 8px 24px;
  border-radius: var(--radius-pill);
  line-height: 1.15;
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-style: italic;
  font-size: 48px;
  line-height: 1.15;
  color: var(--white);
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.4;
  color: var(--white);
  font-weight: 400;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--white);
  line-height: 1.4;
}

.stat-number {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.52px;
  white-space: nowrap;
}

.stat-text {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.36px;
  max-width: 251px;
}

.stat-divider {
  width: 2px;
  height: 86px;
  background: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

/* ===== SECTION COMMON ===== */
.section-header {
  text-align: center;
}

.section-header h2,
.about-us h2,
.before-after h2,
.delighted-patients h2,
.patient-reviews h2,
.cta-section h2,
.meet-doctor h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-style: italic;
  font-size: 48px;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 24px;
}

.section-header p {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0.36px;
  color: var(--dark);
  max-width: 840px;
  margin: 0 auto;
}

.section-subtitle-small {
  font-size: 22px;
  line-height: 1.3;
  color: var(--dark);
  margin-top: 42px;
  font-weight: 400;
}

/* ===== DENTAL SOLUTIONS ===== */
.dental-solutions {
  padding: 100px 0;
  background: var(--white);
}

.dental-solutions .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
  align-items: stretch;
}

.solutions-grid .solution-card {
  height: 100%;
}

.solution-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 21px;
}

.solution-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  flex: 1;
}

.solution-number {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.36px;
  line-height: 1.4;
  display: block;
}

.solution-info h3 {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.56px;
  line-height: 1.2;
  color: var(--dark);
}

.solution-info p {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0.36px;
  color: var(--dark);
  text-align: center;
}

.solution-image {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-card);
  overflow: hidden;
  flex-shrink: 0;
}

.solution-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  object-fit: cover;
}

.solutions-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ===== ABOUT US ===== */
.about-us {
  padding: 100px 0 ;
  background: var(--white);
}

.about-us .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-us h2 {
  text-align: center;
  margin-bottom: 60px;
}

/* Wrapper that layers video on top of the marquee */
.about-video-marquee {
  position: relative;
  width: 100%;
}

.about-video-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 0 clamp(20px, 12.5%, 240px);
  pointer-events: none;
}

.about-video-inner .about-video-placeholder {
  pointer-events: auto;
}

.about-video-placeholder {
  width: 676px;
  max-width: 100%;
  height: 375px;
  background: #222;
  border-radius: var(--radius-card);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  position: relative;
  z-index: 3;
}

.about-video-placeholder iframe,
.video-placeholder iframe {
  pointer-events: none;
}

.about-video-placeholder.playing iframe,
.video-placeholder.playing iframe {
  pointer-events: auto;
}

/* Hide custom button while playing; reveal on hover */
.about-video-placeholder.playing .about-play-btn,
.video-placeholder.playing .play-btn {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.about-video-placeholder.playing:hover .about-play-btn,
.video-placeholder.playing:hover .play-btn {
  opacity: 1;
  pointer-events: auto;
}


.play-btn:hover {
  transform: scale(1.1);
}

.video-label {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  white-space: nowrap;
}

.label-icon {
  display: flex;
  align-items: center;
}

.label-highlight {
  background: #1e4fa3;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* Services Marquee — centered over the video */
.services-marquee {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  z-index: 3;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  z-index: 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 18px;
  animation: marquee 35s linear infinite;
  white-space: nowrap;
  width: max-content;

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 10px 0;
}

.marquee-track span {
  font-size: 16px;
  color: var(--dark);
  line-height: 1.2;
}

.marquee-track .dot {
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ===== SMILE EXPERTS ===== */
.smile-experts {
  padding: 100px 0;
  background: var(--white);
}

.smile-experts .section-header {
  margin-bottom: 60px;
}

.experts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  
  border-radius: var(--radius-card);
  overflow: hidden;
}

.expert-card {
  padding: 48px;
  position: relative;
  border-right: 1px solid #d4e6dd;
  border-bottom: 1px solid #d4e6dd;
  background: transparent;
}

/* Remove right border on 3rd column */
.expert-card:nth-child(3n) {
  border-right: none;
}

/* Remove right border on wide card (spans cols 2-3) */
.expert-card.wide {
  grid-column: span 2;
  border-right: none;
  background: var(--card-bg);
}

/* Remove bottom border on last row */
.expert-card:nth-child(4),
.expert-card:nth-child(5) {
  border-bottom: none;
}

.expert-card h3 {
  font-family: var(--font-body);
  font-weight: 200;
  
  font-size: 34px;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 32px;
}

.expert-card.wide h3 {
  color: var(--primary);
  margin-bottom: 16px;
}

.expert-card p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
}

.expert-card.wide p {
  color: var(--primary);
  margin-bottom: 28px;
  font-size: 17px;
}

/* ===== MEET DOCTOR ===== */
.meet-doctor {
  padding: 100px 0;
}

.doctor-grid {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.doctor-image {
  flex-shrink: 0;
  width: 388px;
}

.doctor-img-placeholder {
  width: 388px;
  height: 438px;
  background: #2a2a2a;
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
}

.doctor-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.doctor-name-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    border-radius: 6px;
    letter-spacing: 0.2px;
}

.doctor-info {
  flex: 1;
}

.doctor-info h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-style: italic;
  font-size: 48px;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 32px;
}

.doctor-bio {
  margin-bottom: 32px;
}

.doctor-bio p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--dark);
  margin-bottom: 12px;
}

/* ===== BEFORE & AFTER ===== */
.before-after {
  padding: 100px 0;
}

.before-after h2 {
  text-align: center;
  margin-bottom: 80px;
}

/* ===== SECTION SLIDER (Before/After + Delighted Patients) ===== */
.section-slider {
  position: relative;
}

.section-slider-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-slider-overflow {
  flex: 1;
  overflow: hidden;
}

.section-slider-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
   gap: 23px;
}

.ba-slider .section-slider-track {
  gap: 24px;
}

.dp-slider .section-slider-track {
  gap: 32px;
}

/* Arrow buttons */
.slider-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  background: var(--white);
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.slider-arrow:hover {
  background: var(--primary);
  color: var(--white);
}

.slider-arrow.disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  min-height: 20px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--border-gray);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, width 0.25s;
}

.slider-dot.active {
  background: var(--primary);
  width: 24px;
}

.ba-card {
  position: relative;
  height: 252px;
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  cursor: ew-resize;
}

.ba-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #c8ddd4;
  z-index: 1;
  clip-path: inset(0 50% 0 0);
}

.ba-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #c8ddd4;
  z-index: 0;
}

.ba-before img,
.ba-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ba-divider {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--white);
  z-index: 2;
}

.ba-slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  z-index: 3;
}

/* ===== ADVANCED DENTISTRY ===== */
.advanced-dentistry {
  padding: 100px 0;
}

.advanced-grid {
  display: flex;
  gap: 80px;
  align-items: center;
}

.advanced-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.advanced-text h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-style: italic;
  font-size: 48px;
  line-height: 1.15;
  color: var(--dark);
}

.advanced-desc {
  font-size: 18px;
  line-height: 1.45;
  color: var(--dark);
}

.advanced-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 10px 0 14px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-icon {
  width: 33px;
  height: 32px;
  flex-shrink: 0;
}

.feature-item span {
  font-size: 18px;
  line-height: 1.45;
  color: var(--dark);
}

.advanced-images {
  flex: 1;
  min-width: 0;
}

.advanced-video-wrap {
  position: relative;
  max-width: 100%;
  width: 100%;
  height: 477px;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.advanced-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.advanced-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: var(--primary);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.advanced-play-btn:hover {
  background: var(--primary-dark);
  transform: translate(-50%, -50%) scale(1.08);
}

/* ===== DELIGHTED PATIENTS ===== */
.delighted-patients {
  padding: 100px 0;
}

.delighted-patients h2 {
  text-align: center;
  margin-bottom: 80px;
}

.patient-videos-grid {
  /* replaced by section-slider */
}

.video-card {
  border-radius: var(--radius-card);
  overflow: hidden;
}

.video-placeholder {
  width: 100%;
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  background: #222;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.video-placeholder .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ===== IMPLANT GUIDE FORM ===== */
.implant-guide {
  padding: 100px 0;
  background: var(--white);
}

.implant-guide .section-header {
  margin-bottom: 48px;
}

.implant-guide .section-header h2 {
  font-size: 48px;
  max-width: 870px;
  margin: 0 auto 24px;
}

.implant-guide .section-header p {
  font-size: 18px;
}

.guide-content {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 48px 42px;
  max-width: 1120px;
  width: 100%;
  margin: auto;
}

.guide-form-wrapper {
  display: flex;
  gap: 48px;
  align-items: stretch;
}

.guide-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  min-width: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 12px;
  font-weight: 200;
  color:#1E1E1E;
  line-height: 1.15;
}

.form-input {
  height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--dark);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-input::placeholder {
  color: #aaa;
}

.form-input:focus {
  border-color: var(--primary);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check-input {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--primary);
  cursor: pointer;
}

.check-label {
  font-size: 12px;
  color: #555;
  line-height: 1.5;
  cursor: pointer;
}

.form-error {
  display: block;
  font-size: 12px;
  color: #e53e3e;
  margin-top: 4px;
}

.form-input.input-error {
  border-color: #e53e3e;
}

.form-legal-links {
  font-size: 12px;
  color: #555;
  margin: 0;
}

.form-legal-links a {
  color: var(--primary);
  text-decoration: underline;
}

.form-legal-links a:hover {
  opacity: 0.8;
}

.guide-divider {
  width: 1px;
  background: #0CAB52;
  align-self: stretch;
  flex-shrink: 0;
}

.guide-info {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  justify-content: center;
}

.guide-img-placeholder {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 4/3;
 
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #666;
}

.guide-details {
  width: 100%;
}

.guide-details h3 {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 16px;
}

.guide-details ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.guide-details li {
  font-size: 17px;
  line-height: 1.45;
  color: var(--dark);
  padding-left: 0;
}

/* .guide-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
} */

/* ===== PATIENT REVIEWS ===== */
.patient-reviews {
  padding: 100px 0;
}

.patient-reviews h2 {
  margin-bottom: 60px;
}

.review-card {
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 220px;
  background: #E3EFE9;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.reviewer-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 12px;
}

.stars {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.review-text {
  font-size: 16px;
  line-height: 1.7;
  color: #000000;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
  flex: 1;
}

.review-text.scrollable {
  display: block;
  -webkit-line-clamp: unset;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Scrollbar styling for review text */
.review-text.scrollable::-webkit-scrollbar {
  width: 4px;
}
.review-text.scrollable::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 2px;
}
.review-text.scrollable::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 2px;
}
.review-text.scrollable::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark, #099940);
}

.read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  align-self: flex-start;
  cursor: pointer;
  flex-shrink: 0;
}

.read-more:hover {
  text-decoration: underline;
  opacity: 1;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 100px 0 60px;
  text-align: center;
      background: var(--card-bg);
}

.cta-section .section-header {
  margin-bottom: 60px;
}

.cta-section h2 {
  margin-bottom: 42px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--card-bg);
}

.footer .container {
  background: var(--card-bg);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  padding-top: 48px;
  padding-bottom: 0;
}

.footer-top {
  margin-bottom: 48px;
}

.footer-logo img {
  height: 71px;
  width: auto;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 48px;

  align-items: start;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
  line-height: 1.2;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-links span,
.footer-links address {
  font-size: 14px;
  line-height: 1.4;
  color: var(--dark);
}

.footer-links a:hover {
  color: var(--primary);
  opacity: 1;
}

.footer-cta-col {}

.footer-cta-title {
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  margin-bottom: 12px !important;
}

.footer-cta-col>p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  margin-bottom: 24px;
  max-width: 446px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  padding-top: 50px;
  font-size: 14px;
  color: var(--dark);
}

.footer-bottom a {
  color: var(--dark);
}

.footer-bottom a:hover {
  color: var(--primary);
  opacity: 1;
}


.inside_footer {
  background-color: #F2F7F5;
}

.for_padding
{
  padding-bottom: 90px;
}


.bg_light{
  background: var(--card-bg);
}
/* ===== MOBILE NAV (1300px) ===== */
@media only screen and (min-width: 1025px) and (max-width: 1300px) {
    .footer-columns {
        grid-template-columns: 185px 144px 220px 1fr !important;
    }


}
@media (max-width: 1300px) {

  /* Show hamburger, hide desktop nav */
  .mobile-menu-btn {
    display: flex;
    padding: 6px;
  }

  .mobile-menu-btn span {
    width: 22px;
    height: 2px;
    transition: all 0.3s ease;
  }

  .nav-cta {
    display: none;
  }

  /* Hide desktop nav links on mobile — panel takes over */
  .nav-links {
    display: none !important;
  }

  /* Navbar position */
  .navbar {
    padding: 0 clamp(12px, 3%, 60px);
    top: 16px;
  }

  .nav-container {
    padding: 10px 20px;
    gap: 12px;
    border-radius: 10px;
  }

  .logo img {
    height: 56px;
  }

  /* Non-nav 1280px adjustments */
  .hero-text h1 {
    font-size: 38px;
  }

  .stat-number {
    font-size: 22px;
  }

  .review-prev {
    left: -60px;
  }

  .review-next {
    right: -60px;
  }

  .footer-columns {
    grid-template-columns: 200px 160px 220px 1fr;
    gap: 32px;
  }
}

/* ===== HERO COMPACT (1880px) — keep side-by-side but reduce spacing ===== */
@media (max-width: 1880px) {
  .hero-text {
    max-width: 540px;
  }

  .hero-stats {
    gap: 16px;
  }

  .stat-number {
    font-size: 22px;
  }

  .stat-text {
    font-size: 15px;
  }
}

/* ===== HERO STATS WRAP (1600px) ===== */
@media (max-width: 1600px) {
  .hero-section:has(.hero-bg) {
    height: auto;
    min-height: 640px;
  }

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 32px;
    padding-bottom: 50px;
  }

  .hero-stats {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ===== TABLET (1024px) ===== */
@media (max-width: 1024px) {

  .dental-solutions,
  .about-us,
  .smile-experts,
  .meet-doctor,
  .before-after,
  .advanced-dentistry,
  .delighted-patients,
  .implant-guide,
  .patient-reviews {
    padding: 70px 0;
  }

  .cta-section {
    padding: 70px 0 40px;
  }

  .hero-section:has(.hero-bg) {
    height: 630px;
  }

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 32px;
    padding-bottom: 50px;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-stats {
    width: 100%;
    justify-content: center;
  }

  .solutions-grid {
    grid-template-columns: 1fr 1fr;
  }

  .solutions-cta {
    flex-wrap: wrap;
    justify-content: center;
  }

  .experts-grid {
    grid-template-columns: 1fr 1fr;
  }

  .expert-card:nth-child(2n) {
    border-right: none;
  }

  .expert-card:nth-child(3n) {
    border-right: 1px solid #d4e6dd;
  }

  .expert-card:nth-child(4) {
    border-bottom: 1px solid #d4e6dd;
  }

  .expert-card.wide {
    grid-column: 1 / 3;
    border-right: none;
    border-bottom: none;
  }

  .expert-card h3 {
    font-size: 28px;
  }

  .doctor-grid {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .doctor-image {
  width: 100%;
        max-width: max-content;
        margin-right: auto;
  }

  .doctor-img-placeholder {
    width: 100%;
    height: 380px;
  }

  .doctor-info h2 {
    font-size: 36px;
  }

  .ba-card {
    height: 220px;
  }

  .advanced-text h2 {
    font-size: 36px;
  }


  .guide-form-wrapper {
    flex-direction:column-reverse;
  }

  .guide-divider {
    width: 100%;
    height: 1px;
  }

  .guide-info {
    flex: none;
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }

  .guide-img-placeholder {
    width: 100%;
    flex-shrink: 0;
  }

  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }

  .review-prev {
    left: -40px;
  }

  .review-next {
    right: -40px;
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .section-header h2,
  .about-us h2,
  .before-after h2,
  .delighted-patients h2,
  .patient-reviews h2,
  .cta-section h2,
  .meet-doctor h2,
  .implant-guide .section-header h2 {
    font-size: 38px;
  }
}

/* ===== TABLET/MOBILE (991px) — Advanced Dentistry stacks ===== */
@media (max-width: 991px) {
  .advanced-grid {
    flex-direction: column-reverse;
    gap: 40px;
  }
  .for_padd{
    padding-bottom: 90px !important;
  }

  .advanced-text {
    flex: none;
    width: 100%;
  }

  .advanced-images {
    width: 100%;
    flex: none;
  }

  .advanced-video-wrap {
    width: 100%;
    height: auto;
  }
}

/* ===== MOBILE (768px) ===== */
@media (max-width: 768px) {

  .dental-solutions,
  .about-us,
  .smile-experts,
  .meet-doctor,
  .before-after,
  .advanced-dentistry,
  .delighted-patients,
  .implant-guide,
  .patient-reviews {
    padding: 50px 0;
  }

  .cta-section {
    padding: 50px 0 30px;
  }

  /* Nav — tighter on mobile */
  .navbar {
    padding: 0 12px;
    top: 12px;
  }

  .nav-container {
    padding: 8px 16px;
    gap: 8px;
    border-radius: 10px;
  }



  /* Hero */
  .hero-section:has(.hero-bg) {
    height: auto;
    min-height: 500px;
  }

  .hero-bg {
    height: 100%;
    object-fit: cover;
  }

  .hero-content {
    padding-top: 130px;
    padding-bottom: 40px;
    gap: 28px;
  }

  .hero-text {
    gap: 18px;
  }

  .hero-text h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-badge {
    font-size: 13px;
    padding: 6px 16px;
  }

  .btn-white {
    font-size: 15px;
    padding: 12px 22px;
  }

  /* Hero stats — 3 equal columns */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 16px;
    width: 100%;
  }

  .stat-divider {
    display: none;
  }

  .stat {
    align-items: flex-start;
    text-align: left;
  }

  .stat-number {
    font-size: 18px;
    white-space: normal;
  }

  .stat-text {
    font-size: 13px;
    max-width: none;
  }

  /* Section headings */
  .section-header h2,
  .about-us h2,
  .before-after h2,
  .delighted-patients h2,
  .patient-reviews h2,
  .cta-section h2,
  .meet-doctor h2,
  .advanced-text h2,
  .implant-guide .section-header h2 {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .section-header p {
    font-size: 16px;
  }

  .section-subtitle-small {
    font-size: 18px;
    margin-top: 12px;
  }

  /* Dental Solutions */
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    padding: 20px;
  }

  .solution-info h3 {
    font-size: 22px;
  }

  .solution-info p {
    font-size: 16px;
  }

  .solution-image {
    height: auto;
  }

  .solutions-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }

  .solutions-cta .btn-primary,
  .solutions-cta .btn-outline {
    width: 100%;
    justify-content: center;
  }

  /* About / Marquee */
  .about-us {
    padding: 50px 0 0;
  }

      .about-video-placeholder {
        height: 42vw;
    }

      .services-marquee {
        margin-top: -20px;
    }

  .marquee-track span {
    font-size: 15px;
  }

  /* Smile Experts */
  .experts-grid {
    grid-template-columns: 1fr;
  }

  .expert-card.wide {
    grid-column: 1;
    border-bottom: none;
  }

  .expert-card {
    padding: 28px 20px 50px;
    border-right: none !important;
    border-bottom: 1px solid #d4e6dd;
  }

  .expert-card:last-child {
    border-bottom: none;
  }

  .expert-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .expert-card p {
    font-size: 16px;
  }

  /* Meet Doctor */
  .doctor-grid {
    flex-direction: column;
    gap: 28px;
    align-items: center;
  }

  .doctor-image {
    width: 100%;
    max-width: 100%;
  }

  .doctor-img-placeholder {
    width: 100%;
    height: auto;
  }

  .doctor-info h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .doctor-bio p {
    font-size: 16px;
  }

  /* Before & After */
  .before-after h2 {
    margin-bottom: 40px;
  }

  .ba-card {
    height: 200px;
  }

  /* Advanced Dentistry */
  .advanced-grid {

    gap: 28px;
  }

  .advanced-text {
    flex: none;
    width: 100%;
    gap: 14px;
  }

  .advanced-img-placeholder {
    height: 260px;
  }

  .feature-item span {
    font-size: 16px;
  }

  /* Delighted Patients */
  .delighted-patients h2,
  .implant-guide h2 {
    margin-bottom: 40px;
  }


  /* Implant Guide */
  .guide-content {
    padding: 28px 20px;
  }

  .guide-form-wrapper {
    flex-direction: column-reverse;
    gap: 28px;
  }

  .guide-divider {
    width: 100%;
    height: 1px;
  }

  .guide-info {
    flex: none;
    width: 100%;
    flex-direction: column;
  }

  .guide-img-placeholder {
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
  }

  .guide-details h3 {
    font-size: 18px;
  }

  .guide-details li {
    font-size: 16px;
  }

  /* Reviews */
  .patient-reviews h2 {
    margin-bottom: 32px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .review-prev,
  .review-next {
    display: none;
  }

  .review-card {
    padding: 20px;
  }

  /* CTA */
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }

  .cta-buttons .btn-primary,
  .cta-buttons .btn-outline {
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .footer-logo img {
    height: 56px;
  }

  .footer-top {
    margin-bottom: 32px;
  }
}

/* ===== SLIDER RESPONSIVE ===== */
@media (max-width: 768px) {
  .section-slider-inner {
    gap: 10px;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
  }

  .slider-arrow svg {
    width: 16px;
    height: 16px;
  }

  .slider-dots {
    margin-top: 20px;
  }
}

/* All sliders: move arrows below content on small mobile */
@media (max-width: 575px) {
.footer-cta-title {
    font-size: 20px !important;
 }
.sp-section .btn-primary{
max-width: 100%;
}

.page-hero-btns  .btn-white ,.page-hero-btns .btn-white-outline{
       max-width: 100%;
        width: 100%;
    }

}
@media (max-width: 480px) {
  .inside_footer {
    padding: 48px 20px !important;
 
}
  .section-slider .section-slider-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .section-slider .section-slider-overflow {
    order: 1;
    flex: 0 0 100%;
    width: 100%;
  }

  .section-slider .slider-arrow-prev {
    order: 2;
    flex-shrink: 0;
  }

  .section-slider .slider-arrow-next {
    order: 3;
    flex-shrink: 0;
  }

  .section-slider .slider-dots {
    width: 100%;
    margin-top: 12px;
  }
}

/* ===== SMALL MOBILE (480px) ===== */
@media (max-width: 480px) {
  .hero-section:has(.hero-bg) {
    min-height: 520px;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-badge {
    font-size: 12px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 10px;
  }

  .stat-number {
    font-size: 15px;
  }

  .stat-text {
    font-size: 12px;
  }

  .section-header h2,
  .about-us h2,
  .before-after h2,
  .delighted-patients h2,
  .patient-reviews h2,
  .cta-section h2,
  .meet-doctor h2,
  .advanced-text h2,
  .implant-guide .section-header h2 {
    font-size: 24px;
  }

  .expert-card h3 {
    font-size: 22px;
  }

  .doctor-info h2 {
    font-size: 24px;
  }

  .top-banner p {
    font-size: 13px;
  }

  .btn-primary,
  .btn-outline,
  .btn-white {
    font-size: 15px;
    padding: 12px 20px;
  }


  .solution-image {
    height: 220px;
  }

  .ba-card {
    height: 160px;
  }

  .advanced-img-placeholder {
    height: 210px;
  }


  .about-video-placeholder {
    height: 44vw;
  }
}

/* ===== EXTRA SMALL (360px) ===== */
@media (max-width: 360px) {
  .hero-text h1 {
    font-size: 22px;
  }

  .section-header h2,
  .about-us h2,
  .before-after h2,
  .delighted-patients h2,
  .patient-reviews h2,
  .cta-section h2,
  .meet-doctor h2,
  .advanced-text h2,
  .implant-guide .section-header h2 {
    font-size: 22px;
  }

  .nav-container {
    padding: 10px 16px;
  }



  .expert-card {
    padding: 20px 16px 90px;
  }
}

.slider-dots {
  display: none;
}

/* ===== MOBILE SLIDE-IN NAV PANEL ===== */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 90vw;
  height: 100%;
  background: #fff;
  z-index: 901;
  transform: translateX(110%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 32px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.mobile-nav-panel.open {
  transform: translateX(0);
}

.mobile-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #ebebeb;
  flex-shrink: 0;
}

.mobile-panel-logo img {
  height: 50px;
  width: auto;
}

.mobile-panel-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f0f0f0;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.mobile-panel-close:hover {
  background: #e0e0e0;
}

.mobile-panel-nav {
  flex: 1;
  overflow-y: auto;
  padding: 4px 0;
}

.mobile-panel-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-panel-nav > ul > li > a,
.mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: color 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
}

.mobile-panel-nav > ul > li > a:hover,
.mobile-dropdown-toggle:hover {
  color: var(--primary);
  background: #f5fbf7;
}

.mobile-dropdown-toggle svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.has-mobile-dropdown.open > .mobile-dropdown-toggle svg {
  transform: rotate(180deg);
}

.mobile-dropdown {
  display: none;
  background: #f8fdf9;
  border-bottom: 1px solid #e8f0ea;
  max-height: 220px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.has-mobile-dropdown.open > .mobile-dropdown {
  display: block;
}

.mobile-dropdown li a {
  display: block;
  padding: 11px 20px 11px 32px;
  font-size: 14px;
  font-weight: 500;
  color: #444;
  text-decoration: none;
  border-bottom: 1px solid #edf4ef;
  transition: color 0.2s ease;
}

.mobile-dropdown li:last-child a {
  border-bottom: none;
}

.mobile-dropdown li a:hover {
  color: var(--primary);
}

.mobile-panel-footer {
  padding: 20px;
  border-top: 1px solid #ebebeb;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}

.mobile-panel-cta {
  display: block;
  text-align: center;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
}

.mobile-panel-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-panel-phone:hover {
  color: var(--primary);
}

/* ── Options Cards Section ────────────────────────── */
.sp-options-section {
  padding: 80px 0;
  background: #f4f8f5;
}

.sp-options-header {
  text-align: center;
  margin-bottom: 48px;
}

.sp-options-header h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 700;
  color: var(--dark);
}

.sp-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sp-option-card {
  background: #fff;
  border: 1px solid #deeee5;
  border-radius: var(--radius-card);
  padding: 36px 28px 32px;
  text-align: center;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.sp-option-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(12, 171, 82, 0.12);
  transform: translateY(-4px);
}

.sp-option-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #eaf7ef;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.sp-option-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.sp-option-card p {
  font-size: 0.9rem;
  color: #5a6e60;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .sp-options-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
}

/* ── Linear Steps Section ─────────────────────────── */
.sp-steps-section {
  padding: 80px 0;
  background: #fff;
}

.sp-steps-section--alt {
  background: #f4f8f5;
}

.sp-steps-header {
  text-align: center;
  margin-bottom: 56px;
}

.sp-steps-header h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 700;
  color: var(--dark);
}

.sp-steps-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 780px;
  margin: 0 auto;
}

.sp-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  position: relative;
}

.sp-step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(12, 171, 82, 0.3);
}

.sp-step-connector {
  position: absolute;
  left: 25px;
  top: 52px;
  width: 2px;
  bottom: 0;
  background: linear-gradient(to bottom, var(--primary), #c8ecd8);
}

.sp-step-connector--last {
  display: none;
}

.sp-step-body {
  padding-bottom: 44px;
  flex: 1;
}

.sp-step:last-child .sp-step-body {
  padding-bottom: 0;
}

.sp-step-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  padding-top: 12px;
}

.sp-step-body p {
  font-size: 15px;
  color: #5a6a5e;
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 600px) {
  .sp-step-number {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
  .sp-step-connector {
    left: 20px;
    top: 42px;
  }
  .sp-steps-grid {
    gap: 0;
  }
}

/* ── FAQ Accordion Section ────────────────────────── */
.sp-faq-accordion-section {
  padding: 80px 0;
  background: #f4f8f5;
}

.sp-faq-accordion-section h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  text-align: center;
}

.sp-faq-accordion-section > .container > p {
  font-size: 16px;
  color: #5a6e60;
  line-height: 1.7;
  margin-bottom: 48px;
  text-align: center;
}

.sp-faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e0ece4;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 18px rgba(12, 171, 82, 0.08);
}

.faq-item.open {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(12, 171, 82, 0.12);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  gap: 16px;
  transition: background 0.2s ease;
}

.faq-item.open .faq-question {
  background: #f5fbf7;
}

.faq-question > span:first-child {
  font-size: 15px;
  font-weight: 700;
  color: #1a2e4a;
  line-height: 1.4;
  flex: 1;
}

.faq-item.open .faq-question > span:first-child {
  color: var(--primary);
}

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid #d0ddd5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #aaa;
  background: #f9f9f9;
  transition: transform 0.3s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.faq-item.open .faq-icon {
  background: #eaf7ef;
  border-color: var(--primary);
  color: var(--primary);
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 22px 20px;
  border-top: 1px solid #e8f2ec;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer p {
  font-size: 15px;
  color: #5a6a5e;
  line-height: 1.8;
  margin: 16px 0 0;
}

/* ── Services Index Page ──────────────────────────── */
.services-list-section {
  padding: 80px 0;
  background: #f8fdf9;
}

.services-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-list-card {
  background: #fff;
  border: 1px solid #deeee5;
  border-radius: var(--radius-card);
  padding: 0 0 28px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-list-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(12,171,82,0.12);
  transform: translateY(-3px);
}

.service-list-card-img {
  width: 100%;
  height: 190px;
  overflow: hidden;
  flex-shrink: 0;
  margin-bottom: 20px;
}

.service-list-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-list-card:hover .service-list-card-img img {
  transform: scale(1.05);
}

.service-list-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  padding: 0 24px;
}

.service-list-card p {
  font-size: 0.88rem;
  color: #5a6e60;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
  padding: 0 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.learn-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: gap 0.2s ease;
  padding: 0 24px;
}

.learn-more-link:hover {
  gap: 10px;
}

.learn-more-link svg {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.learn-more-link:hover svg {
  transform: translateX(3px);
}

@media (max-width: 991px) {
  .services-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-list-grid {
    grid-template-columns: 1fr;
  }
}

.inside_footer {
  background-color: #F2F7F5;
  padding: 48px 42px;
  border: 1px solid #f2f7f5;
  border-radius: 20px;
  box-shadow: 0px 0px 32px rgba(0, 0, 0, 0.06);
}

/*-----privacy_page------*/
ul.common-listing li {
    list-style: disc;
}

.common-listing li::marker {
    font-size: 22px;
    color: var(--primary);
}

.page-hero {
    background: var(--primary);
    padding: 80px 25px;
    padding-top: 160px; /* offset for fixed navbar */
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    text-align: center;
}

.page-hero-inner {
    max-width: 780px;
    margin: 0 auto;
}

.page-breadcrumb {
    font-size: .74rem;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: .04em;
}

.page-breadcrumb a {
    color: #fff;
}

.page-breadcrumb a:hover {
    color: #fff;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 3.2rem);
    color: #fff;
    line-height: normal;
    margin-bottom: 40px;
    font-family: var(--ff-serif);
}

.page-hero p {
    font-size: 16px;
    color: rgba(255, 255, 255, .8);
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto;
    margin-bottom: 0;
}

.page-hero-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.btn-white-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #fff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.15;
    letter-spacing: 0.32px;
    padding: 14px 26px;
    border-radius: var(--radius-pill);
    border: 2px solid rgba(255,255,255,0.7);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, border-color 0.2s;
}

.btn-white-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    opacity: 1;
}

section.legal-section {
    padding: 80px 40px;
}

.legal-content {
    max-width: 1100px;
    width: 100%;
    margin: auto;
}

.legal-content p {
    width: 100%;
    max-width: 100%;
    margin: 16px 0;
}

.legal-content h2.section-title {
    margin: 40px 0 20px;
    font-family: var(--ff-serif);
}

.legal-content p a {
    color: var(--primary);
    font-weight: 700;
    display: inline-block;
}

ul.common-listing {
    padding-left: 0;
    margin-left: 20px;
}



@media only screen and (max-width: 768px) {
    section.legal-section {
        padding: 50px 25px;
    }

}


/*-----------------------*/

/* ===== DR. CHEEMA PAGE ===== */
.doctor-section {
  padding: 80px 0;
}

.doctor-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 64px;
  align-items: start;
}

.doctor-img-wrap {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: sticky;
  top: 100px;
}

.doctor-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.doctor-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.doctor-badge {
  background: var(--card-bg);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--primary);
}

.doctor-name {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.15;
}

.doctor-title-line {
  font-size: 17px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 28px;
}

.doctor-bio p {
  font-size: 16px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 18px;
}

.doctor-divider {
  border: none;
  border-top: 1px solid var(--border-gray);
  margin: 32px 0;
}

.doctor-specialties-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--dark);
}

.doctor-specialties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.doctor-specialties li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #444;
}

.doctor-specialties li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.doctor-cta-strip {
  background: var(--primary);
  padding: 60px 0;
  text-align: center;
}

.doctor-cta-strip h2 {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(24px, 3vw, 36px);
  color: #fff;
  margin-bottom: 12px;
}

.doctor-cta-strip p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}

/* ===== TOUR OUR OFFICE PAGE ===== */
.tour-section {
  padding: 80px 0;
}

.tour-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.tour-intro h2 {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--dark);
}

.tour-intro p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tour-grid-item {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  position: relative;
}

.tour-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.tour-grid-item:hover img {
  transform: scale(1.04);
}

.tour-video-item {
  aspect-ratio: unset !important;
  padding: 0;
  background: #000;
}

.tour-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 75%; /* 4:3 to match photo cells */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #111;
}

.tour-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ===== SERVICE PAGES (Invisalign, ClearCorrect, etc.) ===== */
.service-section {
  padding: 80px 0;
}

.service-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 64px;
  align-items: start;
}

.service-img-wrap {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: sticky;
  top: 100px;
}

.service-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.service-badge {
  display: inline-block;
  background: var(--card-bg);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--primary);
  margin-bottom: 20px;
}

.service-content h2 {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.service-content h3 {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.25;
}

.service-content p {
  font-size: 16px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 18px;
}

.service-divider {
  border: none;
  border-top: 1px solid var(--border-gray);
  margin: 32px 0;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

.service-list li::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 6px;
}

/* ===== SECTION-WISE PAGE LAYOUT (All-On-4, Invisalign, etc.) ===== */
.sp-section {
  padding-top: 90px;
  padding-bottom: 90px;
  background: linear-gradient(135deg, #f0f7f4 0%, #e8f5ee 100%);
}

.sp-section--alt {
  background: #fff;
  padding-bottom: 90px;
}

/* image LEFT, text RIGHT (default) */
.sp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* text LEFT, image RIGHT */
.sp-row--reverse {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sp-row--reverse .sp-img-outer { order: 2; }
.sp-row--reverse .sp-content   { order: 1; }

/* Premium image frame — green border offset */
.sp-img-outer {
  position: relative;
  padding: 16px 0 0 16px;
}

.sp-img-outer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  border: 2px solid var(--primary);
  border-radius: var(--radius-card);
  opacity: 0.35;
  pointer-events: none;
}

/* Reverse rows: offset goes the other way */
.sp-row--reverse .sp-img-outer {
  padding: 16px 16px 0 0;
}

.sp-row--reverse .sp-img-outer::before {
  left: auto;
  right: 0;
}

.sp-img-wrap {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 16px 56px rgba(0,0,0,0.13);
  position: relative;
}

.sp-img-wrap img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.55s ease;
}

.sp-img-wrap:hover img {
  transform: scale(1.04);
}

.sp-content {
  display: flex;
  flex-direction: column;
}

/* Green accent bar before every section heading */
.sp-content h2::before {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin-bottom: 18px;
}

.sp-content h2 {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 18px;
  line-height: 1.15;
}

.sp-content p {
  font-size: 16px;
  line-height: 1.85;
  color: #555;
  margin-bottom: 20px;
}

.sp-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sp-check-list li {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  padding-left: 22px;
  position: relative;
}

.sp-check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.sp-content .service-badge {
  margin-bottom: 18px;
}

.sp-content .service-list {
  margin-top: 8px;
}

/* Premium service list for image sections */
.sp-content .service-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #444;
  line-height: 1.65;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(12,171,82,0.05);
  border: 1px solid rgba(12,171,82,0.12);
}

.sp-content .service-list li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 5px;
}

/* ── Premium Benefits Section (no image, last section) ── */
.sp-benefits-section {
  padding: 90px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.sp-benefits-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(12, 171, 82, 0.08);
  pointer-events: none;
}

.sp-benefits-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(12, 171, 82, 0.06);
  pointer-events: none;
}

.sp-benefits-inner {
  text-align: center;
  margin-bottom: 56px;
}

.sp-benefits-inner h2 {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}

.sp-benefits-inner p {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.sp-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.sp-benefit-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-card);
  padding: 28px 28px 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: background 0.2s, border-color 0.2s;
}

.sp-benefit-card:hover {
  background: rgba(12, 171, 82, 0.12);
  border-color: rgba(12, 171, 82, 0.35);
}

.sp-benefit-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sp-benefit-icon svg {
  display: block;
}

.sp-benefit-text {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  font-weight: 500;
  padding-top: 9px;
}

/* ===== SMILE GALLERY PAGE ===== */
.gallery-section {
  padding: 80px 0;
}

.gallery-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  background: #000;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
  opacity: 0.9;
}

.gallery-item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 20px 14px 12px;
}

.gallery-item.hidden {
  display: none;
}

/* Gallery Before/After Grid */
.gallery-ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-ba-item {
  display: block;
}

.gallery-ba-item.hidden {
  display: none;
}

.gallery-ba-card {
  height: 280px;
  position: relative;
}

.gallery-ba-card .ba-labels {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 4;
  pointer-events: none;
}

.ba-label-before,
.ba-label-after {
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ===== CAREERS PAGE ===== */
.careers-section {
  padding: 80px 0;
}

.careers-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.careers-intro h2 {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--dark);
}

.careers-intro p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
}

.positions-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}

.positions-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

.position-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
}

.position-item::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.careers-form-wrap {
  background: #fff;
  border: 1px solid var(--border-gray);
  border-radius: 16px;
  padding: 40px;
}

.careers-form-wrap h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark);
}

.careers-form-wrap p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.careers-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.careers-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.careers-form label {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

.careers-form .form-input {
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--light-gray);
  transition: border-color 0.2s;
  outline: none;
}

.careers-form .form-input:focus {
  border-color: var(--primary);
  background: #fff;
}

.upload-area {
  border: 2px dashed var(--border-gray);
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s;
  position: relative;
}

.upload-area:hover {
  border-color: var(--primary);
}

.upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.upload-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.upload-area p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.upload-area strong {
  color: var(--primary);
}

/* ===== RESPONSIVE: SUBPAGES ===== */
@media (max-width: 991px) {
  .sp-row,
  .sp-row--reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* sp-section--alt (reverse): image TOP, text BOTTOM on mobile */
  .sp-row--reverse .sp-img-outer { order: 1; }
  .sp-row--reverse .sp-content   { order: 2; }

  .sp-img-wrap img {
    height: auto;
  }




  .sp-benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-img-wrap {
    position: static;
    max-width: 560px;
  }

  .service-img-wrap img {
    height: 320px;
  }

  .doctor-grid {
    grid-template-columns: 1fr;
  }

  .doctor-img-wrap {
    position: static;
    max-width: 420px;
  }

  .tour-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-ba-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .careers-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .tour-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-ba-grid {
    grid-template-columns: 1fr;
  }

  .gallery-ba-card {
    height: 240px;
  }

  .doctor-specialties {
    grid-template-columns: 1fr;
  }

  .careers-form .form-row {
    grid-template-columns: 1fr;
  }

  .careers-form-wrap {
    padding: 24px 18px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 18px;
    font-size: 14px;
  }
}

.hover_txt_flip {
    color: #0a4a9b;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.hover_txt_flip:before {
    content: "";
    width: 0;
    height: 2px;
    position: absolute;
    bottom: 0;
    background: #0a4a9b;
    -webkit-transition: all 1s ease-out;
    transition: all 1s ease-out;
}

.hover_txt_flip:hover {
    color: #0a4a9b !important;
}
.hover_txt_flip:hover:before {
    width: 100%;
    -webkit-transition: all .15s cubic-bezier(.4, 0, 1, 1);
    transition: all .15s cubic-bezier(0.4, 0, 1, 1);
}

/* ===== INSURANCE & FINANCING PAGE ===== */

/* Main two-col layout */
.inf-main-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0f7f4 0%, #e8f5ee 100%);
}

.inf-main-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
}

/* Left content */
.inf-content h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}

.inf-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 18px;
}

.inf-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin: 28px 0 14px;
}

.inf-ins-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.inf-ins-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.inf-ins-list li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.inf-content .btn-primary {
  margin-top: 32px;
  display: inline-block;
}

/* Right sidebar */
.inf-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}

.inf-sidebar-card {
  background: var(--light-bg);
  border: 1px solid #e4ede8;
  border-radius: 14px;
  padding: 28px 26px;
}

.inf-sidebar-card h3 {
      margin-top: 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.inf-sidebar-card--green {
  background: var(--primary);
  border-color: var(--primary);
  text-align: center;
}

.inf-sidebar-card--green h3 {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.4);
}

.inf-sidebar-card--green p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 20px;
}

.inf-call-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
}

.inf-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.inf-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.inf-contact-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.inf-contact-list li a {
  font-size: 14px;
  color: var(--dark);
  text-decoration: none;
  line-height: 1.5;
}

.inf-contact-list li a:hover {
  color: var(--primary);
}

.inf-hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.inf-hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  padding: 9px 0;
  border-bottom: 1px solid #e4ede8;
}

.inf-hours-list li:last-child {
  border-bottom: none;
}

.inf-hours-list li span:first-child {
  font-weight: 600;
  color: var(--dark);
}

/* Logo Slider */
.inf-slider-section {
  padding: 70px 0 0;
  background: #fff;
  overflow: hidden;
}

.inf-slider-section .container {
  text-align: center;
  margin-bottom: 40px;
}

.inf-slider-section h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.inf-slider-section p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

.inf-logo-slider-wrap {
  overflow: hidden;
  width: 100%;
  padding: 40px 0 64px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.inf-logo-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: inf-scroll 40s linear infinite;
}

.inf-logo-track:hover {
  animation-play-state: paused;
}

@keyframes inf-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.inf-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e4ede8;
  border-radius: 12px;
  padding: 18px 32px;
  min-width: 200px;
  height: 100px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: box-shadow 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.inf-logo-item:hover {
  box-shadow: 0 6px 20px rgba(12,171,82,0.13);
  transform: translateY(-2px);
}

.inf-logo-item img {
  max-height:134px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.inf-logo-item:hover {
  box-shadow: 0 4px 16px rgba(12,171,82,0.12);
}

.inf-logo-item span {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  white-space: nowrap;
}

.inf-logo-item--vet {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
  border-color: #c8d4ff;
}

.inf-logo-item--vet span {
  color: #3451b2;
}

.inf-logo-item--highlight {
  background: linear-gradient(135deg, #f0faf4 0%, #e0f5e9 100%);
  border-color: #a8ddb8;
}

.inf-logo-item--highlight span {
  color: var(--primary);
}

/* Payment Methods */
.inf-payment-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0f7f4 0%, #e8f5ee 100%);
}

.inf-payment-header {
  text-align: center;
  margin-bottom: 52px;
}

.inf-payment-header h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.inf-payment-header p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}

.inf-payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.inf-payment-card {
  background: #fff;
  border: 1px solid #e4ede8;
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.inf-payment-card:hover {
  box-shadow: 0 8px 28px rgba(12,171,82,0.10);
  transform: translateY(-3px);
}

.inf-payment-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(12,171,82,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.inf-payment-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.inf-payment-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Financing Partners */
.inf-financing-section {
  padding: 80px 0;
  background: #fff;
}

.inf-financing-header {
  text-align: center;
  margin-bottom: 52px;
}

.inf-financing-header h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.inf-financing-header p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

.inf-partner-banners {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}

/* ── Banner image links (LendingPoint & Sunbit) ── */
.inf-banner-img-link {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.inf-banner-img-link:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.inf-banner-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ── Cherry Card ── */
.inf-cherry-card {
  background: #fff;
  border: 2px solid #2ecc71;
  border-radius: 12px;
  padding: 36px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.inf-cherry-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.inf-cherry-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.inf-cherry-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.75;
  max-width: 480px;
  margin: 0;
}

.inf-cherry-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 40px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
  margin-top: 4px;
}

.inf-cherry-btn:hover {
  background: #09943f;
}

/* Responsive */
@media (max-width: 1100px) {
  .inf-main-grid {
    grid-template-columns: 1fr 320px;
    gap: 40px;
  }
}

@media (max-width: 991px) {
  .inf-main-grid {
    grid-template-columns: 1fr;
  }

  .inf-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .inf-ins-list {
    grid-template-columns: 1fr 1fr;
  }

  .inf-payment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 640px) {
  .inf-sidebar {
    grid-template-columns: 1fr;
  }

  .inf-ins-list {
    grid-template-columns: 1fr;
  }

  .inf-payment-grid {
    grid-template-columns: 1fr;
  }

  .inf-cherry-card {
    padding: 28px 20px;
  }
}

/* ===== PATIENT FORMS PAGE ===== */
.pf-section {
  padding: 80px 0 90px;
  background: linear-gradient(135deg, #f0f7f4 0%, #e8f5ee 100%);
}

.pf-header {
  text-align: center;
  margin-bottom: 52px;
}

.pf-header h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
}

.pf-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}

.pf-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto 36px;
}

.pf-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  border: 1px solid #e4ede8;
  border-radius: 14px;
  padding: 28px 32px;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.pf-card:hover {
  box-shadow: 0 8px 32px rgba(12, 171, 82, 0.13);
  transform: translateY(-3px);
  border-color: var(--primary);
}

.pf-card-icon {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  background: rgba(12, 171, 82, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pf-card-body {
  flex: 1;
}

.pf-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.pf-card-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.pf-card-action {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(12, 171, 82, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.pf-card:hover .pf-card-action {
  background: var(--primary);
}

.pf-card:hover .pf-card-action svg path {
  stroke: #fff;
}

.pf-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e4ede8;
  border-radius: 10px;
  padding: 16px 20px;
}

.pf-note svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.pf-note p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.pf-note p a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.pf-note p a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .pf-card {
    padding: 20px 18px;
    gap: 16px;
  }
  .pf-card-icon {
    width: 52px;
    height: 52px;
  }
  .pf-card-body h3 {
    font-size: 16px;
  }
}

/* ===== TESTIMONIALS PAGE ===== */
.testimonials-summary {
  background: var(--light-bg);
  padding: 48px 0;
  border-bottom: 1px solid #e8f0eb;
}

.testimonials-summary-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.testimonials-rating-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.testimonials-rating-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}

.testimonials-stars {
  display: flex;
  gap: 3px;
}

.testimonials-rating-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.testimonials-stat-divider {
  width: 1px;
  height: 60px;
  background: #d0ddd5;
}

/* Testimonials Grid */
.testimonials-page-section {
  padding: 80px 0 90px;
}

.testimonials-page-header {
  text-align: center;
  margin-bottom: 56px;
}

.testimonials-page-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
}

.testimonials-page-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid #e4ede8;
  border-radius: 14px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(12, 171, 82, 0.10);
  transform: translateY(-3px);
}

.testimonial-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
}

.testimonial-source {
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0.85;
}

.testimonial-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  flex: 1;
}

@media (max-width: 991px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-summary-inner {
    gap: 36px;
  }

  .testimonials-stat-divider {
    display: none;
  }
}

@media (max-width: 600px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-page-header h2 {
    font-size: 28px;
  }

  .testimonials-rating-number {
    font-size: 34px;
  }
}

/* ===== SITEMAP PAGE ===== */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.sitemap-col {
  background: linear-gradient(135deg, #f0f7f4 0%, #e8f5ee 100%);
  border-radius: var(--radius-card);
  padding: 28px 24px;
}

.sitemap-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #1a2e22;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(12,171,82,0.2);
}

.sitemap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sitemap-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #3a5a45;
  font-weight: 500;
  transition: color 0.2s;
}

.sitemap-list li a::before {
  content: '→';
  color: #0cab52;
  font-size: 13px;
  flex-shrink: 0;
}

.sitemap-list li a:hover {
  color: #0cab52;
  opacity: 1;
}

@media (max-width: 1100px) {
  .sitemap-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 480px) {
  .sitemap-grid { grid-template-columns: 1fr; }
}

.single-post-content.entry-content img {
    display: none;
}

/* ====================================================
   404 PAGE
   ==================================================== */
.error-404-section {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    background: var(--primary);
}
.error-404-inner {
    text-align: center;
    max-width: 580px;
}
.error-404-icon {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 8px;
    animation: floatTooth 3s ease-in-out infinite;
}
@keyframes floatTooth {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}
.error-404-code {
    font-family: 'Playfair Display', serif;
    font-size: clamp(5rem, 18vw, 9rem);
    font-weight: 800;
    line-height: 1;
   color: #fff;
    background-clip: text;
    margin: 0 0 8px;
}
.error-404-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    color:#fff;
    margin-bottom: 16px;
}
.error-404-msg {
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}
.error-404-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.btn-outline-teal {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.btn-outline-teal:hover {
    background: var(--primary);
    color: #fff;
}
.error-404-links {
    border-top: 1px solid #e5f5f4;
    padding-top: 24px;
}
.error-404-links p {
    color: #777;
    font-size: .9rem;
    margin-bottom: 12px;
}
.error-404-links ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    justify-content: center;
}
.error-404-links ul li a {
    color: var(--primary);
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    transition: color .2s;
}
.error-404-links ul li a:hover {
    color: var(--dark-teal);
}