/* ================================
   styles.css (updated)
   ================================ */

:root {
  --bg: #F7FAF9;
  --bg-alt: #ffffff;
  --accent: #1FA97A;
  --accent-soft: #178861;
  --accent-dark: #0E6F56;
  --text: #1E2A2A;
  --text-secondary: #5A6B6B;
  --muted: #52525b;
  --border-radius-lg: 28px;
  --border-radius-md: 18px;
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.08);

  /* Typography scale */
  --fs-xs: 0.875rem;
  /* tiny / eyebrow */
  --fs-sm: 0.9375rem;
  /* meta / labels (~15px) */
  --fs-base: 1rem;
  /* core body text (16px) */
  --fs-lg: 1.125rem;
  /* large body / nav */
  --fs-xl: 1.375rem;
  /* small headings */
  --fs-2xl: clamp(1.75rem, 2vw + 1.1rem, 2.1rem);
  /* section titles */
  --fs-3xl: clamp(2.7rem, 4vw + 1.4rem, 3.6rem);
  /* hero titles (slightly bigger now) */
}

/* Ensure all form controls use the brand font */
button,
input,
select,
textarea {
  font-family: "Outfit", sans-serif;
}

/* Base font size */
html {
  font-size: 100%;
  /* 1rem = 16px */
}

/* ========== FONTS ========== */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

/* ========== ANIMATIONS ========== */

@keyframes pulse-glow {

  0%,
  100% {
    text-shadow: 0 0 10px rgba(138, 184, 162, 0.3);
  }

  50% {
    text-shadow: 0 0 20px rgba(138, 184, 162, 0.5);
  }
}

@keyframes clayMorph {
  0% {
    transform: scale(1) rotate(0deg);
  }

  25% {
    transform: scale(1.1) rotate(5deg);
  }

  50% {
    transform: scale(0.9) rotate(-5deg);
  }

  75% {
    transform: scale(1.05) rotate(3deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes clayFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-30px);
  }

  60% {
    transform: translateY(-15px);
  }
}

/* Verified Badge */
.verified-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1FA97A;
  background: rgba(31, 169, 122, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.testimonial-footer {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 1rem;
}

@keyframes borderMorph {

  0%,
  100% {
    border-radius: 24px;
  }

  50% {
    border-radius: 12px;
  }
}

/* ========== TYPOGRAPHY ========== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Outfit", sans-serif;
}

p {
  font-family: "Outfit", sans-serif;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
  font-weight: 500;
  font-size: var(--fs-base);
  background: var(--bg);
}

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

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

a {
  text-decoration: none;
  color: inherit;
}

.wrapper {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========== HEADER & NAV ========== */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.5rem 0;
  gap: 1.5rem;
  position: relative;
}

.nav-center-group {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-self: center;
}


.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-image {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.nav-left,
.nav-right {
  display: flex;
  gap: 1.4rem;
  font-size: 1.1rem;
  color: var(--text);
}

/* Tighter nav on 900-1200px range so all links stay visible */
@media (min-width: 901px) and (max-width: 1200px) {

  .nav-left,
  .nav-right {
    gap: 1rem;
    font-size: 1rem;
  }

  .nav-center-group {
    gap: 1rem;
  }

  .logo-image {
    height: 68px;
  }
}

.nav-left a,
.nav-right a {
  position: relative;
  padding-bottom: 0.2rem;
}

/* underline on normal links */
.nav-left a::after,
.nav-right a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav-left a:hover::after,
.nav-right a:hover::after {
  width: 100%;
}

/* ========== SERVICES DROPDOWN ========== */

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* "Services" label – just text (no click needed to open) */
.nav-dropdown-toggle {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: default;
  font: inherit;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  padding-bottom: 0.2rem;
}

/* underline for "Services" */
.nav-dropdown-toggle::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

/* caret arrow */
.nav-dropdown-toggle::after {
  content: "";
  font-size: 0.7rem;
  transform: translateY(1px);
}

/* when hovering the whole block, show underline */
.nav-dropdown:hover .nav-dropdown-toggle::before {
  width: 100%;
}

/* the dropdown menu itself */
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  padding: 0.4rem 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
  z-index: 20;
}

/* HOVER OPENS THE DROPDOWN */
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: rgba(138, 184, 162, 0.07);
}

/* ========== MOBILE NAV TOGGLE (HAMBURGER) ========== */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: #ffffff;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  border-radius: 999px;
  background: var(--text);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
  margin: 0 auto;
}

/* Toggle animation */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

/* ========== MOBILE NAV PANEL ========== */

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.mobile-nav a {
  font-size: 0.98rem;
  font-weight: 500;
  padding: 0.25rem 0;
}

.mobile-nav.open {
  display: flex;
}

/* Prevent body scroll when nav open */
body.nav-open {
  overflow: hidden;
}

/* ========== NAV BREAKPOINTS ========== */

@media (max-width: 900px) {

  .nav-left,
  .nav-right {
    display: none;
  }

  .nav {
    display: flex;
    justify-content: space-between;
  }

  .nav-center-group {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }


  .nav-toggle {
    display: flex;
  }
}

/* ========== BUTTONS ========== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 1rem;
  /* slightly bigger for hero CTAs */
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(75, 148, 119, 0.35);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 24px 55px rgba(75, 148, 119, 0.45);
}

.nav-cta {
  grid-column: 3;
  justify-self: end;
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .nav-cta {
    display: none;
  }
}

.btn-ghost {
  background: transparent;
  color: var(--accent-dark);
  border-color: rgba(138, 184, 162, 0.35);
}

.btn-ghost:hover {
  background: rgba(138, 184, 162, 0.07);
}

.glassmorphism {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px rgba(138, 184, 162, 0.37);
}

/* ========== HERO ========== */

.hero {
  background: #F7F7F7;
  padding: 4rem 0;
}

.hero--inner {
  padding: 5.5rem 0 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.9rem;
  /* slightly bigger */
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.9rem;
}

.hero-title {
  font-size: var(--fs-3xl);
  /* bigger clamp from :root */
  line-height: 1.08;
  margin-bottom: 1.1rem;
  color: var(--accent-dark);

}

.hero-subtitle {
  font-size: 1.12rem;
  /* larger body size */
  color: var(--text);
  max-width: 520px;
  margin-bottom: 1.8rem;
}

.hero-subtitle strong {
  color: var(--accent-dark);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  font-size: 1rem;
  /* bigger hero bullets */
  color: var(--text);
}

/* ===============================
   CLINIC STATS SECTION
   (below "Book a visit")
   =============================== */

/* Row of three stats – desktop/tablet/mobile */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 0rem;
}

/* Each stat column */
.stat {
  min-width: 0;
  text-align: center;
  /* center number + label */
}

/* Big numbers */
.stat span,
.section-stats .stat span {
  display: block;
  font-weight: 700;
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  /* hero-like size */
  color: var(--accent-dark);
  margin-bottom: 0.25rem;
}

/* Label text */
.stat p,
.section-stats .stat p {
  font-size: var(--fs-base);
  color: var(--accent-dark);
  opacity: 0.9;
  margin: 0;
}

/* Wrapper section so it matches other sections */
.section-stats {
  background: #F7F7F7;
  padding: 2.8rem 0;
}

/* Mobile: keep them in one row but slightly tighter */
@media (max-width: 640px) {
  .section-stats .hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }

  .section-stats .stat {
    text-align: center;
    /* keep centered on mobile */
  }

  .section-stats .stat span {
    font-size: 1.6rem;
    /* a bit smaller so they fit */
  }

  .section-stats .stat p {
    font-size: 0.8rem;
  }
}


.hero-visual {
  position: relative;
}

.hero-image-card {
  max-width: 100%;
  margin: 0 auto;
  height: auto;
  transform: translateX(-4.5rem);
}

/* RESPONSIVE IMAGE FIX: Prevent image-text conflicts between 770px and 375px */
@media (max-width: 770px) and (min-width: 376px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Ensure image appears first, content second on medium screens */
  .hero-content {
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  /* Reduce image height for better spacing */
  .hero-image-card {
    height: 320px;
  }

  /* Add some top margin to prevent overlap */
  .hero-content {
    margin-top: 1rem;
  }
}

/* Ensure mobile layout remains consistent */
@media (max-width: 375px) {
  .hero-image-card {
    height: 250px;
  }

  .hero-content {
    margin-top: 1.2rem;
  }
}

.hero-image-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  border-radius: 40px;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  /* animation: borderMorph 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s infinite; */
}

.hero-image-card1 {
  max-width: 100%;
  margin: 0 auto;
}

.hero-image-card1 img {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 640px;
  border-radius: 40px;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  /* animation: borderMorph 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s infinite; */
}

.hero-image-card2 {
  max-width: 100%;
  margin: 0 auto;
}

.hero-image-card2 img {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 640px;
  border-radius: 40px;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}


.hero-floating-card {
  position: absolute;
  bottom: -1.5rem;
  left: 1.4rem;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 0.9rem 1.1rem;
  box-shadow: 0 8px 32px rgba(138, 184, 162, 0.37);
  font-size: 1rem;
  max-width: 300px;
  width: 100%;
  color: var(--text);
  text-align: left;
  /* animation: clayFloat 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s infinite; */
}

.hero-floating-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
  text-align: left;
}

.hero-floating-card p {
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 0.3rem;
  text-align: left;
}

/* Decorative blobs */
.clay-blob {
  position: absolute;
  width: 80px;
  height: auto;
  /* animation: clayMorph 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s infinite; */
  pointer-events: none;
}

.clay-blob-1 {
  top: 10%;
  right: 10%;
  width: 100px;
}

.clay-blob-2 {
  bottom: 20%;
  left: 5%;
  width: 70px;
}

.clay-blob-3 {
  top: 50%;
  left: 10%;
  width: 60px;
}

/* ========== NEW HERO SECTION ========== */
.hero-new {
  background: #F7FAF9;
  /* Using user specified background */
  padding: 5rem 0;
  overflow: hidden;
  position: relative;
}

.hero-new-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-new-content {
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.hero-new-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #1FA97A;
  margin-bottom: 1rem;
}

.hero-new-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  color: #1E2A2A;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-new-subheadline {
  font-size: 1.25rem;
  color: #1E2A2A;
  margin-bottom: 1rem;
}

.hero-new-description {
  font-size: 1.1rem;
  color: #5A6B6B;
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 90%;
}

.hero-new-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

.pill-tag {
  background: rgba(31, 169, 122, 0.1);
  color: #1FA97A;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(31, 169, 122, 0.2);
}

.hero-new-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-new-primary {
  background: linear-gradient(135deg, #1FA97A 0%, #0E6F56 100%);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(31, 169, 122, 0.3);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-new-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(31, 169, 122, 0.4);
}

.btn-new-secondary {
  background: transparent;
  color: #1E2A2A;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #E2E8E6;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-new-secondary:hover {
  border-color: #1FA97A;
  color: #1FA97A;
  background: rgba(31, 169, 122, 0.05);
}

.hero-new-trust {
  font-size: 0.95rem;
  color: #5A6B6B;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.hero-new-trust .stars {
  color: #F59E0B;
  letter-spacing: 0.1em;
}

/* Visual Column */
.hero-new-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-new-image-container {
  position: relative;
  width: 100%;
  max-width: 650px;
  border-radius: 30px;
  z-index: 1;
}

.hero-new-img {
  width: 100%;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(14, 111, 86, 0.15);
  position: relative;
  z-index: 2;
  object-fit: contain;
  aspect-ratio: 1/1;
}

/* Background gradient blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  opacity: 0.6;
}

.blob-1 {
  width: 300px;
  height: 300px;
  background: #1FA97A;
  top: -10%;
  right: -10%;
  animation: blobMotion1 10s infinite alternate ease-in-out;
}

.blob-2 {
  width: 250px;
  height: 250px;
  background: #0E6F56;
  bottom: -5%;
  left: -5%;
  animation: blobMotion2 12s infinite alternate ease-in-out;
}

@keyframes blobMotion1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-30px, 30px) scale(1.1);
  }
}

@keyframes blobMotion2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(30px, -30px) scale(0.9);
  }
}

/* Testimonial Card */
.hero-testimonial-card {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 1.5rem;
  width: 280px;
  box-shadow: 0 15px 35px rgba(14, 111, 86, 0.1);
  z-index: 3;
}

.floating-anim {
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}

.testimonial-text {
  font-size: 0.95rem;
  color: #1E2A2A;
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  color: #1E2A2A;
  font-size: 0.9rem;
  margin: 0;
}

.author-treatment {
  font-size: 0.8rem;
  color: #5A6B6B;
  margin: 0;
}

/* Hero Features */
.hero-new-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 500;
}

.feature-icon {
  width: 24px;
  height: 24px;
  background: rgba(31, 169, 122, 0.1);
  color: #1FA97A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.text-accent {
  color: #1FA97A;
}

.trust-stars {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-text {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ========== HOW IT WORKS SECTION ========== */
.section-how-it-works {
  background: #F8FBFA !important;
  padding: 100px 0 !important;
}

.section-how-it-works .how-it-works-grid {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  gap: 30px !important;
  margin-top: 60px !important;
  flex-wrap: wrap !important;
}

.section-how-it-works .how-step {
  flex: 1 !important;
  min-width: 280px !important;
  max-width: 340px !important;
  background: #ffffff !important;
  padding: 60px 30px 40px !important;
  border-radius: 40px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  position: relative !important;
  box-shadow: 0 20px 50px rgba(31, 169, 122, 0.06) !important;
  border: 1px solid rgba(31, 169, 122, 0.1) !important;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.section-how-it-works .how-step:hover {
  transform: translateY(-12px) !important;
  box-shadow: 0 40px 80px rgba(31, 169, 122, 0.12) !important;
}

.section-how-it-works .step-number {
  position: absolute !important;
  top: 30px !important;
  left: 30px !important;
  width: 45px !important;
  height: 45px !important;
  background: rgba(31, 169, 122, 0.1) !important;
  color: #1FA97A !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
}

.section-how-it-works .step-icon {
  width: 160px !important;
  height: 160px !important;
  margin-bottom: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.section-how-it-works .step-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  filter: drop-shadow(0 15px 30px rgba(31, 169, 122, 0.15)) !important;
}

.section-how-it-works .step-content h3 {
  font-size: 1.5rem !important;
  margin-bottom: 12px !important;
  color: #1E2A2A !important;
  font-weight: 700 !important;
}

.section-how-it-works .step-content p {
  font-size: 1.05rem !important;
  color: #5A6B6B !important;
  line-height: 1.6 !important;
}

.section-how-it-works .how-it-works-cta {
  text-align: center !important;
  margin-top: 60px !important;
}

@media (max-width: 768px) {
  .section-how-it-works {
    padding: 60px 0 !important;
  }
}

/* Mobile Responsiveness for Hero */
@media (max-width: 900px) {
  .hero-new {
    padding: 3rem 0;
  }

  .hero-new-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-new-content {
    order: 2;
    text-align: center;
    align-items: center;
  }

  .hero-new-visual {
    order: 1;
    margin-top: 1rem;
    margin-bottom: 3rem;
  }

  .hero-new-description {
    text-align: center;
    margin: 0 auto 2rem;
    max-width: 100%;
  }

  .hero-new-features {
    align-items: center;
    text-align: left;
  }

  .hero-new-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .btn-new-primary,
  .btn-new-secondary {
    width: 100%;
  }
}

/* ========== SECTIONS ========== */

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 1.2rem;
}

.section-eyebrow {
  font-family: "Outfit", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.5rem;
}

/* Inner treatment pages eyebrow text – a bit larger */
.hero--inner .section-eyebrow {
  font-size: 15px;
}

.section-title {
  font-family: "Outfit", sans-serif;
  font-size: var(--fs-2xl);
  margin-bottom: 0.4rem;
  color: var(--text);
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
}

/* ========== SERVICES (HOME SPECIALTIES) ========== */

.section-services {
  background: rgba(138, 184, 162, 0.1);
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: stretch;
}

.specialty-card {
  text-align: left;
  position: relative;
  background: #ffffff;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.specialty-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.08);
}


.specialty-media {
  width: 100%;
  height: 320px;
  margin: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.specialty-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 0;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.specialty-card:hover .specialty-media img {
  transform: scale(1.08);
}


.specialty-content {
  position: relative;
  z-index: 3;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #ffffff;
}


.specialty-title {
  font-size: var(--fs-xl);
  margin-bottom: 0.45rem;
  color: var(--text);
}

.specialty-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 1rem;
}

.specialty-desc-short {
  display: none;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.2rem;
}

@media (max-width: 768px) {
  .specialty-desc {
    display: none;
  }

  .specialty-desc-short {
    display: block;
  }
}

.specialty-link {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s ease;
}

.specialty-link::after {
  content: "→";
  font-size: 1rem;
}

.specialty-link:hover {
  color: var(--accent);
  transform: translateX(2px);
}

/* ========== PROMO SPLIT (KEY CONCERNS IMAGES) ========== */

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.promo-slide {
  position: relative;
  height: 480px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-radius: 32px;
  transition: all 0.4s ease;
}

.promo-slide--left {
  border-radius: 32px;
}

.promo-slide--right {
  border-radius: 32px;
}


.promo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  z-index: 1;
  opacity: 0.9;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}


.promo-reveal {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
  color: #ffffff;
  z-index: 2;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-radius: 0;
}

.promo-slide--left .promo-reveal {
  left: 0;
  border-radius: 0;
}

.promo-slide--right .promo-reveal {
  right: 0;
  border-radius: 0;
}


.promo-text {
  padding: 2.5rem;
  opacity: 1;
  transition: transform 0.4s ease;
  text-align: left;
  width: 100%;
}

.promo-slide:hover .promo-text {
  transform: translateY(-8px);
}

.promo-slide:hover .promo-img {
  transform: scale(1.06);
}

.promo-text h3 {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.promo-text p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  max-width: 90%;
}

.promo-btn {
  display: inline-block;
  padding: 0.6rem 1.3rem;
  border: 1px solid #fff;
  border-radius: 999px;
  color: #fff;
  transition: all 0.3s ease;
}

.promo-btn:hover {
  background: white;
  color: var(--accent-dark);
}


/* ========== TRENDING TREATMENTS ========== */


#treatments {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding-block: 0;
  color: white;
  position: relative;
  overflow: hidden;
}

/* Subtle pattern tint with radial gradient */
#treatments::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.section-header--light .section-eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.section-header--light .section-title {
  color: #ffffff;
}

.section-header--light .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
  max-width: 32rem;
}

.treatments-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

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

.treatments-visual img {
  width: 200%;
  max-width: 1000px;
  object-fit: contain;
  transform: scaleX(-1);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
}

.treatments-visual::before {
  content: "";
  position: absolute;
  inset: 5% 12%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.32), transparent 70%);
  filter: blur(45px);
  z-index: -1;
}

.treatments-content {
  flex: 1.3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.treatments-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.2rem 0 1rem;
  width: 100%;
  justify-content: center;
}

.pill {
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.pill::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.pill:hover::after {
  left: 100%;
}

.pill.active {
  background: #ffffff;
  color: var(--accent-dark);
  border-color: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
  font-weight: 700;
}

.pill:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Cards */
.cards-grid {
  display: none;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 1.5rem;
  align-items: stretch;
  margin-top: 1rem;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(138, 184, 162, 0.3) transparent;
}

.cards-grid::-webkit-scrollbar {
  height: 8px;
}

.cards-grid::-webkit-scrollbar-track {
  background: transparent;
}

.cards-grid::-webkit-scrollbar-thumb {
  background: rgba(138, 184, 162, 0.3);
  border-radius: 4px;
}

.cards-grid.is-active {
  display: flex;
}

/* Mid-range screens (820px–1100px): show cards in 2x2 grid instead of scroll */
@media (min-width: 769px) and (max-width: 1100px) {
  .cards-grid.is-active {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow-x: visible;
    gap: 1rem;
    padding-bottom: 0;
  }

  .treatment-card {
    flex: none;
    min-height: auto;
  }
}

/* Mobile: single-column cards */
@media (max-width: 768px) {
  .cards-grid.is-active {
    display: grid;
    grid-template-columns: 1fr;
    overflow-x: visible;
    gap: 1.2rem;
    padding-bottom: 0;
  }

  .treatment-card {
    flex: none;
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .cards-grid.is-active {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.treatment-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 1.4rem 1.3rem;
  color: var(--text);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.5rem;
  min-height: 0;
  flex: 0 0 250px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  overflow: hidden;
}

/* Corner highlights */
.treatment-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  clip-path: polygon(0 0, 100% 0, 0 100%);
  opacity: 0.15;
}

.treatment-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: 0.15;
}

/* Booking Section Enhancements */
.cta-description {
  font-size: 1.1rem;
  color: #5A6B6B;
  margin-bottom: 2rem;
}

.booking-steps-visual {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.booking-step-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.step-num {
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(31, 169, 122, 0.2);
}

.booking-step-item p {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  margin: 0;
}

.booking-trust {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-item p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 768px) {
  .booking-trust {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (min-width: 901px) {
  .treatment-card {
    padding: 1.5rem;
  }
}

.treatment-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
  border-color: rgba(138, 184, 162, 0.3);
}

.treatment-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}

.treatment-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text);
  opacity: 0.9;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ========== ABOUT ========== */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.about-copy p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.about-list {
  list-style: none;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.7rem;
}

.about-list li {
  margin-bottom: 0.4rem;
}

.about-list li::before {
  content: "✓ ";
  color: var(--accent-dark);
  font-weight: 600;
}

.trust-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.trust-badge {
  display: inline-block;
  background: rgba(138, 184, 162, 0.1);
  border: 1px solid rgba(138, 184, 162, 0.3);
  border-radius: 20px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--accent-dark);
  font-weight: 500;
}

.about-image-side {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 8px 32px rgba(138, 184, 162, 0.37);
  object-fit: contain;
  object-position: top;
}

/* Specific variations for treatment pages */
/* Specific variations removed */







/* ========== TESTIMONIALS ========== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--border-radius-md);
  padding: 1.4rem;
  box-shadow: 0 8px 32px rgba(138, 184, 162, 0.37);
  font-size: 0.9rem;
  color: var(--text);
}

.testimonial-name {
  margin-top: 0.7rem;
  font-weight: 500;
  color: var(--text);
  font-size: 0.9rem;
}

.testimonial-tag {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: none;
  font-weight: 500;
}

/* ========== CTA / BOOKING FORMS ========== */

.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding: 3rem 0;
  color: white;
  margin: 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.cta-copy .section-eyebrow,
.cta-copy .section-title,
.cta-copy p {
  text-align: left;
}

.cta-copy .section-eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.cta-copy .section-title {
  color: white;
  font-size: var(--fs-2xl);
  margin-bottom: 1rem;
}

.cta-copy p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.cta-copy .booking-details {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1rem;
}

.booking-form .full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  background-color: #fbfaf8;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  line-height: normal;
  transition:
    border 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231BA575' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.2rem;
  padding-right: 2.5rem;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(138, 184, 162, 0.3);
  background: #ffffff;
}

textarea {
  min-height: 90px;
  resize: vertical;
}

.booking-submit {
  margin-top: 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  grid-column: 1 / -1;
}

.privacy-text {
  font-weight: 500;
  font-size: 16px;
  color: #ffffff;
}

.cta-banner input,
.cta-banner select,
.cta-banner textarea {
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.cta-banner select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231BA575' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.2rem;
  padding-right: 2.5rem;
}

.cta-banner input:focus,
.cta-banner select:focus,
.cta-banner textarea:focus {
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
  background-color: #ffffff;
}

.cta-banner label {
  color: rgba(255, 255, 255, 0.8);
}

/* ========== FOOTER ========== */

footer {
  margin-top: 3rem;
  padding: 3rem 0 2rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

footer .wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: 3rem;
  font-size: 1rem;
  align-items: flex-start;
}

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

.footer-intro {
  padding-top: 0;
}

.footer-column .footer-title {
  margin-top: 3rem;
}

.footer-text {
  color: rgba(255, 255, 255, 0.9);
  max-width: 320px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-address {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1;
}

.footer-address p {
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-copyright {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
  margin: 0;
}

/* ========== PRELOADER ========== */

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px rgba(138, 184, 162, 0.37);
}

#preloader img {
  max-width: 200px;
  height: auto;
  /* animation: bounce 2s infinite; */
}

/* Misc */
.logo small {
  font-size: 0.75rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* ========== POPUP LEAD FORM ========== */

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  overflow-y: auto;
}

.popup-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.popup-dialog {
  position: relative;
  max-width: 480px;
  width: 100%;
  background: var(--bg-alt);
  border-radius: var(--border-radius-lg);
  padding: 2rem 2rem 1.8rem;
  box-shadow: var(--shadow-soft);
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
}

.popup-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.popup-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

/* Mobile-first: stacked fields */
.popup-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.popup-field label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: var(--muted);
}

.popup-field input,
.popup-field select {
  width: 100%;
}

.popup-submit {
  width: 100%;
  margin-top: 0.4rem;
}

.popup-close {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

.popup-close:hover {
  color: var(--accent-dark);
}

/* Joined phone group layout */
.phone-group {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  width: 100%;
}

.phone-group label {
  flex-basis: 100%;
  margin-bottom: 0.25rem;
}

.phone-group select {
  width: auto;
  min-width: 90px;
  max-width: 125px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
  background-color: #fbfaf8;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  line-height: normal;
  margin: 0;
}

.phone-group input[type="tel"] {
  flex: 1;
  min-width: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  background-color: #fbfaf8;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  line-height: normal;
  margin: 0;
}

/* Focus styles for joined units */
.phone-group select:focus {
  z-index: 2;
}

.phone-group input[type="tel"]:focus {
  z-index: 2;
}

.phone-group .error {
  flex-basis: 100%;
  margin-top: 0.25rem;
}



/* Prevent scroll when popup is open */
body.popup-open {
  overflow: hidden;
}

/* ========== SUCCESS MODAL ========== */

.success-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  overflow-y: auto;
}

.success-modal-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.success-modal-dialog {
  position: relative;
  max-width: 480px;
  width: 100%;
  background: var(--bg-alt);
  border-radius: var(--border-radius-lg);
  padding: 2rem 2rem 1.8rem;
  box-shadow: var(--shadow-soft);
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
}

.success-modal-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.success-modal-message {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.success-modal-close {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

.success-modal-close:hover {
  color: var(--accent-dark);
}

/* Prevent scroll when success modal is open */
body.modal-open {
  overflow: hidden;
}

/* ========== RESPONSIVE BREAKPOINTS ========== */


/* ============================================================
   TABLET & BELOW (max-width: 900px)
   All layout-breaking rules consolidated here.
   13"/14"/15" screens at normal zoom are >= 1024px so they
   are NOT affected by this block.
   ============================================================ */
@media (max-width: 900px) {

  /* Nav */
  .nav-left,
  .nav-right {
    display: none;
  }

  .nav {
    justify-content: space-between;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero-grid,
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-content {
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .hero-floating-card {
    bottom: 1rem;
    max-width: 300px;
  }

  /* Treatments */
  .treatments-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .treatments-visual {
    display: none;
  }

  .cards-grid {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1.5rem;
    padding-bottom: 1rem;
  }

  /* Grids */
  .specialties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promo-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  /* CTA */
  .cta-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 2rem;
  }

  .cta-banner {
    padding: 2.5rem 0;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
}

/* ============================================================
   LAPTOP REFINEMENTS (901px to 1200px)
   Tighten gaps and font sizes for smaller laptop viewports
   (13" at 100% zoom, 15" at 110% zoom, 1024-1200px range).
   ============================================================ */
@media (min-width: 901px) and (max-width: 1200px) {

  .hero-grid {
    gap: 2rem;
    grid-template-columns: 1.2fr 1fr;
  }

  .hero-title {
    font-size: clamp(2.2rem, 3.8vw + 0.5rem, 3.2rem);
  }

  .hero-new-grid {
    gap: 2rem;
    grid-template-columns: 1.1fr 0.9fr;
  }

  .about-grid {
    gap: 2rem;
  }

  /* Keep 4 columns but with tighter spacing */
  .specialties-grid {
    gap: 1rem;
  }

  .doctors-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
  }

  .doctor-name {
    font-size: 1.15rem;
  }

  .doctor-info {
    padding: 1.5rem 1rem;
  }

  /* Trending Treatments: hide image under 14" screens for cleaner look */
  .treatments-visual {
    display: none;
  }

  .treatments-content {
    flex: 1;
    max-width: 1000px;
    margin: 0 auto;
  }

  .section {
    padding: 4.5rem 0;
  }
}

/* 13" - 15" Laptops: Keep 4 columns for Doctors */
@media (min-width: 1201px) and (max-width: 1440px) {
  .doctors-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

/* Footer: 2 columns earlier (at 1100px) to prevent vertical crowding */
@media (max-width: 1100px) and (min-width: 641px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 2rem;
  }
}

/* Small tablet / big phone */
@media (max-width: 768px) {
  body {
    font-size: 17px;
  }

  .section {
    padding: 2.4rem 0;
  }

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

  .hero-subtitle {
    font-size: var(--fs-base);
    max-width: 100%;
  }

  .hero-tags {
    gap: 1rem;
  }

  .specialties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }

  .cards-grid {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
  }

  .treatment-card {
    min-height: 0;
    padding: 0.9rem 0.95rem;
  }

  .cta-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1.8rem;
  }

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

  .cta-copy .section-title {
    font-size: 1.8rem;
  }

  .booking-form {
    grid-template-columns: minmax(0, 1fr);
  }

  input,
  select,
  textarea {
    padding: 0.7rem 0.8rem;
    font-size: 0.95rem;
  }

  .booking-submit {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .about-grid {
    gap: 1.6rem;
  }

  .about-image-side {
    min-height: 360px;
  }

  .trust-signals {
    gap: 0.25rem;
  }

  .trust-badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }

  .treatments-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 2.5rem;
  }

  .treatments-visual {
    order: -1;
    align-items: center;
  }

  .treatments-visual img {
    max-width: 520px;
    width: 100%;
  }

  .treatments-toolbar {
    justify-content: center;
    gap: 0.6rem;
  }

  .pill {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }

  .cards-grid {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1.2rem;
    padding-bottom: 1rem;
  }

  .treatment-card {
    padding: 1.2rem 1.1rem;
    min-height: auto;
  }
}

/* Phones */
@media (max-width: 640px) {

  /* ---------- HERO ---------- */
  .hero {
    padding-top: 1.8rem;
  }

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

  .hero-subtitle {
    margin-bottom: 1.2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  /* Hide hero tags (✓ lines) on mobile */
  .hero-tags {
    display: none;
  }

  /* Floating hero card tweaks */
  .hero-floating-card {
    left: 1rem;
    right: 1rem;
    padding: 0.8rem 1rem;
    max-width: 300px;
  }

  /* ---------- TREATMENTS SECTION ---------- */
  #treatments {
    padding-bottom: 3rem;
  }

  #treatments .cards-grid.is-active {
    margin-bottom: 0.75rem;
  }

  .cards-grid {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 420px;
    margin: 0 auto;
    gap: 1.2rem;
    padding-bottom: 1rem;
  }

  .treatment-card {
    padding: 1.3rem 1.2rem;
    min-height: auto;
  }

  .pill {
    padding: 0.45rem 1.1rem;
    font-size: 0.88rem;
  }

  /* ---------- SPECIALTIES / TESTIMONIALS ---------- */
  .specialties-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
  }

  .specialty-card {
    flex: 0 0 280px;
    min-width: 280px;
  }

  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .specialty-content {
    max-width: 90%;
    margin-top: -65px;
    padding: 1.4rem 1.3rem 1.6rem;
  }

  .specialty-media img {
    height: 360px;
  }

  .testimonial-card {
    padding: 1.25rem;
    font-size: 0.9rem;
  }

  /* ---------- PROMO SPLIT ---------- */
  .promo-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .promo-slide {
    height: 260px;
  }

  .promo-slide:hover .promo-reveal {
    width: 100%;
  }

  .promo-text {
    padding: 1.4rem 1.6rem;
  }

  .promo-text h3 {
    font-size: 1.1rem;
  }

  .promo-text p {
    font-size: 0.9rem;
  }

  /* ---------- ABOUT IMAGE ---------- */
  .about-image-side {
    min-height: 280px;
  }

  /* ---------- CTA / BOOKING ---------- */
  .cta-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1.8rem;
  }

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

  .cta-copy .section-title {
    font-size: 1.8rem;
  }

  .booking-form {
    grid-template-columns: minmax(0, 1fr);
  }

  input,
  select,
  textarea {
    padding: 0.7rem 0.8rem;
    font-size: 0.95rem;
  }

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

  /* ---------- POPUP (LEAD FORM) ---------- */
  .popup-dialog {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 18px;
    max-height: none;
    overflow: visible;
    padding: 1.6rem 1.3rem 1.5rem;
  }

  .popup-title {
    font-size: 1.35rem;
  }

  .popup-overlay {
    padding: 1rem 0.75rem;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
  }

  /* ---------- SUCCESS MODAL ---------- */
  .success-modal-dialog {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 18px;
    max-height: none;
    overflow: visible;
    padding: 1.6rem 1.3rem 1.5rem;
  }

  .success-modal-title {
    font-size: 1.35rem;
  }

  .success-modal-overlay {
    padding: 1rem 0.75rem;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
  }

  body.popup-open .floating-whatsapp {
    display: none;
  }

  /* ---------- FOOTER (CENTERED + TIGHTER) ---------- */
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.8rem;
    gap: 0.8rem;
  }

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

  .footer-logo {
    display: block;
    margin: 0 auto 0.8rem !important;
  }

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

  .footer-column .footer-title {
    margin-top: 0.4rem;
    margin-bottom: 0.3rem;
    text-align: center;
  }

  .footer-text,
  .footer-address {
    text-align: center;
    max-width: 22rem;
    margin: 0 auto;
    line-height: 1.5;
  }

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

  .footer-links li {
    margin-bottom: 0.3rem;
    line-height: 1.4;
  }

  .footer-copyright {
    margin-top: 1.4rem;
    padding-top: 1rem;
  }

  .footer-social-row {
    margin-top: 0.8rem;
  }

  .social-icons {
    gap: 16px;
  }

  /* ---------- FLOATING WHATSAPP BUTTON ---------- */
  .floating-whatsapp {
    width: 54px;
    height: 54px;
    bottom: 18px;
    right: 18px;
  }
}

/* Very small phones */
@media (max-width: 480px) {
  .wrapper {
    padding-inline: 1rem;
  }

  .hero-title {
    font-size: clamp(2rem, 6vw + 1.2rem, 2.4rem);
  }

  .section-title {
    font-size: clamp(1.5rem, 4vw + 1rem, 1.9rem);
  }

  footer {
    padding: 2rem 0;
  }

  .logo-image {
    height: 60px;
  }

  .nav {
    padding-block: 0.35rem;
  }

  .promo-slide--left,
  .promo-slide--right {
    border-radius: 22px;
  }

  .specialty-media img {
    border-radius: 22px;
  }

  .about-image-side {
    border-radius: 22px;
  }
}

/* ========== TYPOGRAPHY & READABILITY REFINEMENTS ========== */

/* Core body copy */
p,
li {
  font-size: var(--fs-base);
  line-height: 1.7;
}

/* Main supporting text */
.hero-subtitle,
.section-subtitle,
.about-copy p,
.about-list,
.booking-details,
.testimonial-card p,
.footer-text,
.footer-links li,
.specialty-desc {
  font-size: var(--fs-base);
  line-height: 1.7;
}

/* Nav links – bigger text */
.nav-left,
.nav-right {
  font-size: var(--fs-lg);
}

.hero-tags,
.footer-links,
label,
.popup-field label,
.booking-form label {
  font-size: var(--fs-sm);
}

/* Eyebrow / meta labels */
.section-eyebrow,
.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Buttons & pills */
.btn,
.pill {
  font-size: var(--fs-sm);
}

.hero-actions .btn {
  font-weight: 700;
}

/* Both Submit buttons use Outfit */
.popup-submit,
.booking-submit button {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
}

/* ========== FLOATING WHATSAPP BUTTON ========== */

.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  opacity: 0.9;
}

.floating-whatsapp svg {
  width: 100%;
  height: 100%;
}

.floating-whatsapp circle {
  fill: #25d366;
}

.floating-whatsapp path {
  fill: #ffffff;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.65);
}

/* ========== FOOTER SOCIAL ICONS ========== */

.footer-social-row {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 1rem 0 0;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icons img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0.85;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.social-icons a:hover img {
  transform: translateY(-2px) scale(1.05);
  opacity: 1;
}

/* ==========================================================
   HERO BULLETS + INNER HERO MOBILE LAYOUT
   ========================================================== */

.hero-bullets {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}

.hero-bullets li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.35rem;
  font-size: 0.94rem;
  color: var(--muted);
}

.hero-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-dark);
  font-size: 1.2rem;
  line-height: 1;
}

@media (max-width: 900px) {
  .hero.hero--inner {
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
  }

  .hero--inner .hero-grid {
    gap: 1.8rem;
  }

  .hero--inner .hero-visual {
    max-width: 450px;
    margin: 0 auto 1rem;
  }

  .hero--inner .hero-image-card1,
  .hero--inner .hero-image-card2 {
    max-width: 100%;
  }

  .hero--inner .hero-title {
    margin-bottom: 0.75rem;
  }

  .hero--inner .hero-subtitle {
    margin-bottom: 1rem;
  }

  .hero--inner .hero-bullets {
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 640px) {
  .hero.hero--inner {
    padding-top: 2rem;
  }

  .hero--inner .hero-title {
    font-size: clamp(1.9rem, 5.4vw + 1rem, 2.3rem);
  }

  .hero--inner .hero-subtitle {
    font-size: 0.98rem;
  }

  .hero--inner .hero-visual {
    order: -1;
    margin-bottom: 1.5rem;
  }

  .hero--inner .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero--inner .hero-actions .btn {
    width: 100%;
  }
}

/* ==========================================================
   EXTRA RESPONSIVE REFINEMENTS
   ========================================================== */

@media (max-width: 900px) {
  .hero-grid {
    row-gap: 2.2rem;
  }

  .hero-floating-card {
    left: 1.5rem;
    right: 1.5rem;
    max-width: 300px;
  }

  .specialty-media img {
    height: 380px;
  }
}

@media (max-width: 768px) {

  .hero-image-card,
  .hero-image-card1,
  .hero-image-card2 {
    max-width: 100%;
    height: auto;
  }

  .hero-image-card img {
    object-fit: scale-down;
    width: auto;
    height: auto;
    max-width: 100%;
  }

  .slideshow {
    height: auto;
  }

  .slide {
    position: relative;
    height: auto;
  }

  .hero-floating-card {
    bottom: 0.5rem;
    left: 1.2rem;
    right: 1.2rem;
    max-width: 300px;
    font-size: 0.9rem;
  }

  .promo-slide {
    height: 280px;
  }

  .footer-grid {
    column-gap: 2rem;
    row-gap: 2.2rem;
  }

  .popup-dialog {
    max-width: 420px;
  }
}

/* iPhone SE specific viewport (375x667) */
@media (max-width: 375px) and (max-height: 667px) and (orientation: portrait) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Ensure image appears first, content second on iPhone SE */
  .hero-content {
    order: 2;
  }

  .hero-visual {
    order: 1;
    margin-top: 1rem;
  }

  .hero-image-card {
    height: 250px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }
}

@media (max-width: 640px) {
  .hero-floating-card {
    left: 1rem;
    right: 1rem;
    padding: 0.8rem 1rem;
    max-width: 300px;
  }

  .specialty-content {
    max-width: 90%;
    margin-top: -65px;
    padding: 1.4rem 1.3rem 1.6rem;
  }

  .specialty-media img {
    height: 360px;
  }

  .testimonial-card {
    padding: 1.25rem;
    font-size: 0.9rem;
  }

  .popup-dialog {
    max-width: 100%;
    border-radius: 18px;
  }

  .footer-social-row {
    margin-top: 0.8rem;
  }

  .social-icons {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-bullets li {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
  }

  .specialty-content {
    max-width: 92%;
    margin-top: -55px;
    padding: 1.3rem 1.2rem 1.5rem;
  }

  .popup-dialog {
    padding: 1.3rem 1.1rem 1.2rem;
  }

  .popup-field input,
  .popup-field select {
    font-size: 0.9rem;
    padding: 0.6rem 0.75rem;
  }

  .social-icons img {
    width: 24px;
    height: 24px;
  }

  .floating-whatsapp {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 16px;
  }
}

/* ==========================================================
   Laptops: scale wrapper proportionally to viewport
   — 13" (~1280px), 14" (~1366px), 15" (~1440px) all get
     the full desktop layout, just fitted comfortably.
   ========================================================== */
@media (min-width: 1024px) and (max-width: 1279px) {
  .wrapper {
    width: min(1100px, 94vw);
  }
}

@media (min-width: 1280px) and (max-width: 1399px) {
  .wrapper {
    width: min(1240px, 94vw);
  }
}

@media (min-width: 1400px) and (max-width: 1500px) {
  .wrapper {
    width: min(1360px, 94vw);
  }
}

















/* ==========================================================
    BOOKING BENEFITS LIST SPACING
    ========================================================== */

.booking-details .benefits-list li {
  line-height: 1.8;
  word-spacing: 0.1em;
}

/* ==========================================================
    TREATMENT PAGES ONLY
    - Service header (300px)
    - Gradient on ABOUT section
    - Remove gradient from CTA form
    ========================================================== */

/* Body flag so styles only apply on these pages */
.treatment-page {
  background-color: var(--bg);
}

/* 300px service header bar */
.treatment-page .service-header {
  min-height: 200px;
  display: flex;
  align-items: center;
  background: #f7fbf9;
  /* soft light background */
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.service-header-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
}

.service-header-label {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 600;
}

.service-header-title {
  font-size: clamp(2.1rem, 3.4vw + 1rem, 2.8rem);
  color: var(--text);
  line-height: 1.1;
}

/* ABOUT section gets the green gradient on treatment pages */
.treatment-page .section--about {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #ffffff;
}

.treatment-page .section--about .section-eyebrow,
.treatment-page .section--about .section-title {
  color: #ffffff;
}

.treatment-page .section--about .about-copy p,
.treatment-page .section--about .about-list,
.treatment-page .section--about .about-list li {
  color: rgba(255, 255, 255, 0.92);
}

.treatment-page .section--about .about-list li::before {
  color: #ffffff;
}

.treatment-page .section--about .about-image-side {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.26);
  max-height: 800px;
}

/* Remove green gradient from CTA form ONLY on treatment pages */
.treatment-page .cta-banner {
  background: var(--bg);
  color: var(--text);
}

.treatment-page .cta-banner .section-eyebrow {
  color: var(--accent-dark);
}

.treatment-page .cta-banner .section-title {
  color: var(--text);
}

.treatment-page .cta-banner p,
.treatment-page .cta-banner .booking-details {
  color: var(--muted);
}

/* 🔹 Make labels visible on white background */
.treatment-page .cta-banner label {
  color: var(--muted);
}

/* Inputs inside CTA on treatment pages look like normal site inputs */
.treatment-page .cta-banner input,
.treatment-page .cta-banner select,
.treatment-page .cta-banner textarea {
  background-color: #fbfaf8;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.07);
  color: var(--text);
  line-height: normal;
}

.treatment-page .cta-banner select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231BA575' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.2rem;
  padding-right: 2.5rem;
}

.treatment-page .cta-banner input:focus,
.treatment-page .cta-banner select:focus,
.treatment-page .cta-banner textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(138, 184, 162, 0.3);
  background: #ffffff;
}

/* Center heading and form on services pages only */
.treatment-page .cta-grid {
  grid-template-columns: 1fr;
  gap: 2.5rem;
  text-align: center;
}

.treatment-page .cta-copy {
  text-align: center;
}

.treatment-page .cta-copy .section-eyebrow,
.treatment-page .cta-copy .section-title,
.treatment-page .cta-copy p {
  text-align: center;
}

.treatment-page .booking-form {
  margin: 0 auto;
  max-width: 1500px;
}

/* Mobile tweak for header height */
@media (max-width: 640px) {
  .treatment-page .service-header {
    min-height: 220px;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
  }

  .service-header-title {
    font-size: clamp(1.9rem, 5.2vw + 1rem, 2.3rem);
  }
}

/* Error messages for form validation */
.error {
  color: red;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}

/* Demo watermark 
body::before {
  content: "DEMO";
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  font-size: 15vw;
  color: rgba(0, 0, 0, 0.05);
  z-index: 10000;
  pointer-events: none;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
}
*/





/* ==========================================================
   FIX: HERO image/text overlap between 770px and 375px
   Make 376–770 behave like 375 (stable image card + spacing)
   ========================================================== */
@media (max-width: 770px) {

  /* Always stack hero like mobile */
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: .5rem !important;
  }

  /* Image first, content second */
  .hero-visual {
    order: 1 !important;
    margin-bottom: 1rem !important;
    /* key: prevents conflict */
  }

  .hero-content {
    order: 2 !important;
    margin-top: 0 !important;
  }

  /* Force a stable hero image height (no collapsing) */
  .hero-image-card {
    height: clamp(250px, 55vw, 320px) !important;
  }

  /* Keep slideshow occupying the card properly */
  .hero-image-card .slideshow {
    height: 100% !important;
  }

  /* Keep slides absolute so only one slide "takes space" */
  .hero-image-card .slide {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* Ensure images fill the card */
  .hero-image-card .slide img,
  .hero-image-card img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: top !important;
    display: block !important;
  }
}

/* ========== DOCTORS SECTION ========== */

.section-doctors {
  background: #ffffff;
  padding: 5rem 0;
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.doctor-card {
  background: #F7F7F7;
  border-radius: 32px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.03);
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.doctor-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  border-color: rgba(27, 167, 120, 0.2);
}

.doctor-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eef2f0;
  position: relative;
}

.doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s ease;
}

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

.doctor-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 167, 120, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}

.doctor-card:hover .doctor-card-overlay {
  opacity: 1;
}

.btn-portfolio {
  padding: 0.7rem 1.4rem;
  background: #fff;
  color: var(--accent-dark);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  transform: translateY(15px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.doctor-card:hover .btn-portfolio {
  transform: translateY(0);
}

.doctor-info {
  padding: 2rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.doctor-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.doctor-qual {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.doctor-designation {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ========== DOCTOR PORTFOLIO MODAL ========== */
.doctor-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 1.5rem;
}

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

.doctor-modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: 40px;
  position: relative;
  overflow-y: auto;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.3);
}

.doctor-modal-overlay.open .doctor-modal-dialog {
  transform: translateY(0);
}

.doctor-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--text);
  line-height: 1;
}

.doctor-modal-close:hover {
  background: #f8fafc;
  transform: rotate(90deg);
  border-color: var(--accent);
  color: var(--accent);
}

.doctor-modal-content {
  padding: 4rem;
}

.doctor-modal-flex {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.doctor-modal-image {
  flex: 0 0 340px;
  position: sticky;
  top: 0;
}

.doctor-modal-image img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: contain;
  border-radius: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.doctor-modal-info {
  flex: 1;
  text-align: left;
}

.doctor-modal-info .doctor-name {
  font-size: 2.5rem;
  margin-bottom: 0.6rem;
  line-height: 1.1;
}

.doctor-modal-info .doctor-qual {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.doctor-modal-info .doctor-designation {
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.doctor-bio-full {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.doctor-bio-full p {
  margin-bottom: 1.2rem;
}

.modal-actions {
  margin-top: 2rem;
}

.hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .doctor-modal-flex {
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
  }

  .doctor-modal-image {
    flex: none;
    width: 260px;
    position: static;
  }

  .doctor-modal-image img {
    height: 320px;
  }

  .doctor-modal-content {
    padding: 3.5rem 2rem 2rem;
  }

  .doctor-modal-info {
    text-align: center;
  }

  .doctor-modal-info .doctor-name {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .doctors-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
  }

  .doctor-info {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .doctors-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .doctor-card {
    border-radius: 24px;
  }

  .doctor-image {
    aspect-ratio: 1 / 1.1;
  }

  .doctor-modal-dialog {
    border-radius: 24px;
  }

  .doctor-modal-content {
    padding: 2.5rem 1.5rem 1.5rem;
  }

  .doctor-modal-image {
    width: 220px;
  }

  .doctor-modal-image img {
    height: 260px;
    border-radius: 20px;
  }

  .doctor-modal-info .doctor-name {
    font-size: 1.65rem;
    margin-bottom: 0.4rem;
  }

  .doctor-modal-info .doctor-qual {
    font-size: 0.95rem;
  }

  .doctor-modal-info .doctor-designation {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }

  .doctor-bio-full {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  .doctor-modal-close {
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }
}

/* Dynamic Slot Loading Styles */
#slot-loading,
#popup-slot-loading {
  font-size: 0.8rem;
  color: var(--accent);
  margin-top: 4px;
}

optgroup {
  font-weight: bold;
  font-style: italic;
  color: var(--accent);
  background: #f9f9f9;
}

optgroup option {
  font-weight: normal;
  font-style: normal;
  color: var(--text);
  background: #fff;
  padding: 4px;
}