:root {
  /* Colors */
  --primary-color: #0d6efd;
  --primary-rgb: 13, 110, 253;
  --primary-hover: #0b5ed7;
  /* WhatsApp brand (pill CTA) */
  --secondary-color: #25d366;
  --secondary-rgb: 37, 211, 102;
  --secondary-hover: #1da851;
  /* WhatsApp button (section CTAs — darker teal per WhatsApp brand) */
  --wa-color: #128c7e;
  --wa-hover: #075e54;
  --wa-rgb: 18, 140, 126;
  --accent-color: #0dcaf0;

  --bg-color: #ffffff;
  --bg-light: #f8f9fa;
  --text-main: #212529;
  --text-muted: #6c757d;
  --map-blue: #0052cc;

  --red-icon: #dc3545;
  --primary-light: #e7f1ff;
  --terracotta: #c97a7e;
  --sage: #82a896;

  /* Typography */
  --font-family: "Outfit", sans-serif;

  /* Layout */
  --container-max-width: 1140px;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --transition: all 0.3s ease;
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

/* Custom scrollbar — WebKit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover);
}

/* Firefox */
html {
  scrollbar-color: var(--primary-color) transparent;
  scrollbar-width: auto;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
  /* Smooth mobile experience */
}

.section:nth-child(even):not([class*="bg-"]) {
  background: var(--bg-light);
}

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

.text-muted {
  color: var(--text-muted);
}

.shadow-lg {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.rounded {
  border-radius: var(--border-radius-lg);
}

.mt-8 {
  margin-top: 32px;
}

.mt-10 {
  margin-top: 40px;
}

/* Typography */
h1,
h2 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

h3 {
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main);
}

.section-subtitle {
  font-size: 1.15rem;
  max-width: 630px;
  margin: 0 auto;
}

.text-primary {
  color: var(--primary-color);
}

.text-accent {
  color: var(--accent-color);
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

/* Buttons */
.btn,
body .sk-ww-google-reviews .sk-button,
body .sk-ww-google-reviews .sk-badge__write {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.btn-primary,
html body .sk-ww-google-reviews .sk-badge__write {
  background-color: var(--primary-color) !important;
  color: white;
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.4);
}

.btn-primary:hover,
body .sk-ww-google-reviews .sk-badge__write:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.6);
}

.btn-secondary,
body .sk-ww-google-reviews .sk-load-more-btn {
  background-color: var(--secondary-color);
  color: white;
  box-shadow: 0 6px 20px rgba(var(--secondary-rgb), 0.4);
}

.btn-secondary:hover,
body .sk-ww-google-reviews .sk-load-more-btn:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(var(--secondary-rgb), 0.6);
}
.contact-item svg {
  margin-top: 0.1em;
}
.btn-whatsapp {
  background-color: var(--wa-color);
  color: white;
  box-shadow: 0 6px 20px rgba(var(--wa-rgb), 0.4);
}

.btn-whatsapp:hover {
  background-color: var(--wa-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(var(--wa-rgb), 0.6);
}

.btn-outline {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: white;
  box-shadow: none;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.4);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-xl {
  padding: 18px 40px;
  font-size: 1.2rem;
}

/* Icon */
.icon-small {
  width: 18px;
  height: 18px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
}

.brand-icon {
  width: 28px;
  height: 28px;
}

/* Mobile hamburger toggle */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 3.5px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

/* Animate to X */
.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

.navbar-links {
  display: none;
  align-items: center;
  gap: 30px;
}

/* Mobile menu open state */
.navbar-links.nav-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background: white;
  padding: 20px;
  gap: 15px;
  box-shadow: 3px 20px 30px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.25s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

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

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

/* Sticky WA */
.sticky-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--secondary-color);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(var(--secondary-rgb), 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.sticky-wa:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(var(--secondary-rgb), 0.6);
}

.wa-icon {
  width: 24px;
  height: 24px;
}

@media (max-width: 480px) {
  .wa-text {
    display: none;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--secondary-rgb), 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(var(--secondary-rgb), 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(var(--secondary-rgb), 0);
  }
}

/* Image Placeholder Style */
.placeholder-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  display: block;
}

/* 1. HERO */
.hero {
  padding-top: 140px; /* Offset for navbar */
  background: linear-gradient(135deg, var(--primary-light) 0%, #ffffff 100%);
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.hero-content {
  text-align: center;
}

.hero .headline {
  font-size: 2.4rem;
  color: var(--text-main);
  line-height: 1.15;
}

.hero .subheadline {
  font-size: 1.25rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 20px;
}

.hero .offer-text {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 30px;
  background: #fff3cd;
  color: #856404;
  display: inline-block;
  padding: 8px 16px;
  border-radius: 8px;
}

.offer-content {
  color: white;
}

.cta-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* 2. PROBLEM */
.pain-points {
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
}

.pain-points li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.2rem;
  margin-bottom: 20px;
  background: white;
  padding: 15px 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.pain-points li:hover {
  transform: translateX(10px);
}

.icon-red {
  color: var(--red-icon);
  flex-shrink: 0;
}

.hero-image,
.solution-image {
  width: 100%;
  max-width: 500px;
}

/* 3. SOLUTION */
.solution-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

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

.icon-box {
  width: 70px;
  height: 70px;
  background: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
  border-radius: 15px;
}

.benefit-text h3 {
  margin-bottom: 5px;
  font-size: 1.25rem;
}

.benefit-text p {
  color: var(--text-muted);
  margin: 0;
}

/* 4. SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

/* Shared card base — apply `.card` alongside any card-specific class */
.card {
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.service-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 40px 30px;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  background: white;
}

.service-icon {
  margin: 0 auto 20px;
}

.service-icon i {
  width: 35px;
  height: 35px;
}

.service-card p {
  color: var(--text-muted);
}

/* 5. SOCIAL PROOF */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: #ffc107;
  font-size: 1.5rem;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.quote {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.patient {
  display: flex;
  align-items: center;
  gap: 15px;
}

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

.patient-name {
  font-weight: 600;
}

/* 6. OFFER */
.bg-primary-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--map-blue) 100%);
}

.offer-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.offer-headline {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.offer-sub {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

.offer-highlights {
  list-style: none;
}

.offer-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.offer-highlights li i {
  color: var(--secondary-color);
}

.offer-image {
  width: 100%;
}

.calendly-wrapper {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* 7. FINAL CTA */
.strong-headline {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.cta-desc {
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.final-cta-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin: 0 auto;
}

/* Footer */
.footer {
  padding: 30px 0;
  background: #212529;
  color: #adb5bd;
}

/* Search bar */
.doctor-search {
  max-width: 400px;
  margin: 0 auto 30px;
}

.doctor-search-input {
  width: 100%;
  padding: 12px 18px;
  border: 1.5px solid #dee2e6;
  border-radius: 50px;
  font-size: 0.95rem;
  font-family: var(--font-family);
  transition: var(--transition);
  background: var(--bg-light);
  text-align: center;
}

.doctor-search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

/* Carousel wrapper */
.doctors-carousel-wrapper {
  position: relative;
}

@media (min-width: 768px) {
  .doctors-carousel-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(to left, var(--bg-color), transparent);
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
}

.doctors-carousel-wrapper.at-end::after {
  opacity: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: white;
  border: 1.5px solid #dee2e6;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 24px;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.carousel-btn:hover:not(:disabled) {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.carousel-prev {
  left: -22px;
}

.carousel-next {
  right: -22px;
}

/* Grid - default mobile */
.doctors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* Carousel mode */
.doctors-grid.carousel-mode {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  gap: 24px;
  padding-bottom: 10px;
  scrollbar-width: none;
  cursor: grab;
  justify-content: flex-start;
}

.doctors-grid.carousel-mode:active {
  cursor: grabbing;
}

.doctors-grid.carousel-mode::-webkit-scrollbar {
  display: none;
}

.doctors-grid.carousel-mode .doctor-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

/* Card */
.doctor-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.doctor-card.hidden {
  display: none !important;
}

.doctor-no-results {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 1rem;
}

.doctor-card-image {
  width: 100%;
}

.doctor-card-image img {
  width: 100%;
  object-fit: cover;
  object-position: top;
}

.doctor-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.doctor-name {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.doctor-qualifications {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.doctor-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.doctor-trust-list {
  list-style: none;
  margin-bottom: 16px;
}

.doctor-trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 8px;
  font-weight: 500;
}

.doctor-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

/* 6.5 CONTACT SECTION */
.contact-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
  font-size: 1.15rem;
}

.contact-item i {
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-item strong {
  color: var(--text-main);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 5px;
}

.contact-item div {
  color: var(--text-muted);
  line-height: 1;
}

.link-hover {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

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

.d-inline-flex {
  display: inline-flex;
}

.contact-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.contact-map {
  width: 100%;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.contact-map iframe {
  display: block;
  height: 100%;
}

/* 4.5 BEFORE & AFTER SECTION */
.before-after {
  background-color: var(--bg-color);
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.ba-card {
  overflow: hidden;
  border: 1px solid var(--primary-light);
}

.ba-images {
  display: flex;
  width: 100%;
}

.ba-img-container {
  width: 50%;
  position: relative;
}

.ba-img-container img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.ba-label {
  position: absolute;
  top: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 10;
  letter-spacing: 0.5px;
}

.ba-label.before {
  left: 10px;
  top: auto;
  bottom: 10px;
  background: var(--terracotta);
}

.ba-label.after {
  right: 10px;
  top: auto;
  bottom: 10px;
  background: var(--sage);
}

.ba-content {
  padding: 25px 20px;
  text-align: center;
}

.ba-content h3 {
  font-size: 1.3rem;
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.ba-content p {
  color: var(--text-muted);
  margin: 0;
  font-size: 1.05rem;
}

.mb-8 {
  margin-bottom: 20px;
}

.mb-3 {
  margin-bottom: 15px;
}

section#testimonials {
  margin-bottom: -44px;
}

/* Responsive Breakpoints */
@media (min-width: 768px) {
  .section {
    padding: 100px 0;
  }

  .hero {
    padding-top: 160px;
  }

  .section-title {
    font-size: 2.8rem;
    margin-bottom: 30px;
  }

  .hero .headline {
    font-size: 3.5rem;
  }

  /* Extracted flex-row modules out of 768px for Tablet vertical spaciousness */

  .final-cta-group {
    flex-direction: row;
    max-width: none;
    justify-content: center;
  }

  /* Moved doctors-grid responsive layouts down to 576px (to prevent bloating) */
}

@media (min-width: 992px) {
  /* Navbar switches from hamburger (mobile) to full horizontal nav at 992px */
  .navbar-container {
    justify-content: space-between;
  }

  .nav-toggle {
    display: none;
  }

  .navbar-links,
  .navbar-links.nav-open {
    display: flex;
    position: static;
    flex-direction: row;
    padding: 0;
    box-shadow: none;
    animation: none;
  }

  .hero-container {
    flex-direction: row;
    text-align: left;
  }

  .hero-content {
    flex: 1;
    text-align: left;
  }

  .cta-group {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-image {
    flex: 1;
  }

  .solution-container {
    flex-direction: row;
  }

  .solution-image {
    flex: 1;
  }

  .solution-content {
    flex: 1;
  }

  .offer-container {
    flex-direction: row;
  }

  .offer-content {
    flex: 1;
  }

  .offer-image {
    flex: 1;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .doctors-grid.carousel-mode .doctor-card {
    flex: 0 0 calc(33.333% - 16px);
  }

  .contact-container {
    flex-direction: row;
  }

  .contact-content {
    flex: 1;
  }

  .contact-map {
    flex: 1;
  }

  .contact-cta {
    flex-direction: row;
  }

  .mb-8 {
    margin-bottom: 32px;
  }

  .mb-3 {
    margin-bottom: 15px;
  }
}

.calendly-overlay .calendly-popup {
  padding: 20px;
}

.calendly-overlay .calendly-popup {
  min-width: auto;
  max-width: 538px;
  border-radius: 20px;
  overflow: hidden;
  padding: 0;
  background: white;
  max-height: 600px !important;
}

/* google review section  */
html body .sk-ww-google-reviews {
  font-family: "Outfit", sans-serif !important;
}
body .sk-ww-google-reviews .sk-badge__name {
  display: none;
}
html body .sk-ww-google-reviews .sk-post__body {
  padding-bottom: var(--item-content-padding);
}
.sk_branding {
  position: relative !important;
}

.sk-ww-google-reviews.sk-d-block {
  background: transparent;
}

.sk_branding:after {
  content: "";
  position: absolute;
  background: white;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.sk-post__footer,
body .sk-ww-google-reviews .sk-load-more-btn {
  display: none !important;
}

.sk-ww-google-reviews .sk-masonry-item:nth-child(9) ~ div {
  display: none;
}

.sk-ww-google-reviews .sk-wrapper {
  display: flex;
  align-items: center;
}

.more-reviews {
  margin-top: -60px;
  z-index: 1;
  position: relative;
}
/* 8. LEAD CAPTURE FORM */
.glass-form-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 30px 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  color: var(--text-main);
  text-align: left;
}

.form-title {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.lead-form .form-group {
  margin-bottom: 15px;
}

.lead-form .form-input {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #dee2e6;
  border-radius: var(--border-radius);
  font-family: var(--font-family);
  font-size: 1rem;
  transition: var(--transition);
  background: #f8f9fa;
}

.lead-form .form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

.form-success {
  text-align: center;
  padding: 20px 0;
}

.form-success-icon {
  width: 56px;
  height: 56px;
  background: #d1e7dd;
  color: #198754;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.form-success h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-success p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.lead-form textarea.form-input {
  resize: vertical;
  font-family: var(--font-family);
  min-height: 80px;
}

.lead-form select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
/* --- NEW CUSTOM BREAKPOINTS --- */
@media (min-width: 576px) {
  /* Tablet & Large Phone Breakpoint (576px - 767px) */
  .doctors-grid.carousel-mode .doctor-card {
    flex: 0 0 calc(50% - 12px);
  }

  /* 1-2 doctors: horizontal cards (2 columns visually) */
  .doctors-grid[data-doctor-count="1"],
  .doctors-grid[data-doctor-count="2"] {
    grid-template-columns: 1fr;
    max-width: 810px;
    margin: 0 auto;
  }

  .doctors-grid[data-doctor-count="1"] .doctor-card,
  .doctors-grid[data-doctor-count="2"] .doctor-card {
    flex-direction: row;
  }

  .doctors-grid[data-doctor-count="1"] .doctor-card-image,
  .doctors-grid[data-doctor-count="2"] .doctor-card-image {
    flex: 0 0 300px;
  }

  .doctors-grid[data-doctor-count="1"] .doctor-card-image img,
  .doctors-grid[data-doctor-count="2"] .doctor-card-image img {
    height: 100%;
    min-height: 340px;
  }

  /* 3 doctors: static grid, 3-column or 2-column fallback */
  .doctors-grid[data-doctor-count="3"] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

  .ba-card:nth-child(odd):last-child,
  .service-card:nth-child(odd):last-child,
  .doctors-grid[data-doctor-count="3"] .doctor-card:nth-child(odd):last-child {
    grid-column-end: 3;
    grid-column-start: 1;
    max-width: calc(50% + 25px);
    margin: auto;
  }
}

@media (min-width: 1098px) {
  /* Extended Desktop Breakpoint (1098px+) */
  .doctors-grid.carousel-mode .doctor-card {
    flex: 0 0 calc(25% - 18px);
  }

  /* 3 doctors: static grid, 3-column or 2-column fallback */
  .doctors-grid[data-doctor-count="3"] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .ba-grid,
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ba-card:nth-child(odd):last-child,
  .service-card:nth-child(odd):last-child,
  .doctors-grid[data-doctor-count="3"] .doctor-card:nth-child(odd):last-child {
    grid-column-end: auto;
    grid-column-start: auto;
    max-width: unset;
  }
}
a {
    color: var(--accent-color);
}

.section:nth-child(2n):not([class*="bg-"]) .sk_branding:after{
    background: var(--bg-light);
}