/*
Theme Name: Doctor – Integrative Pediatrics
Theme URI: https://sofverse.com/
Author: Sofverse
Author URI: https://sofverse.com/
Description: A beautiful medical / healthcare WordPress theme converted from React.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: doctor
Tags: healthcare, medical, one-page, responsive
*/

/* ─── Google Fonts ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* ─── CSS Custom Properties (Brand Tokens) ─────────────────────── */
:root {
  --font-sans: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Lora", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --color-brand-blue: #5BC2ED;
  --color-brand-green: #82E8B2;
  --color-brand-lime: #D4F471;
  --color-brand-dark: #0D0D0D;
  --color-brand-gray: #A6A6A6;
}

/* ─── Reset & Base ──────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: #F3F4F6;
  color: #374151;
  min-height: 100vh;
}

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

a {
  text-decoration: none;
}

/* ─── Utility helpers ───────────────────────────────────────────── */
.container {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 2rem;
  }
}

/* ─── NAVBAR ─────────────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

#site-header.scrolled {
  background: transparent;
}

.site-header-main {
  padding: 1.5rem 0;
  transition: padding 0.3s;
}

#site-header.scrolled .site-header-main {
  padding: 1rem 0;
}

/* Top Bar */
.site-topbar {
  background: var(--color-brand-blue);
  color: #fff;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  overflow: hidden;
  max-height: 50px;
}

.site-topbar svg {
  width: 14px;
  height: 14px;
}

.container-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
}

@media (min-width: 640px) {
  .container-topbar {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-topbar {
    padding-inline: 2rem;
  }
}

.topbar-social {
  display: flex;
  gap: 1rem;
}

.topbar-social a {
  color: #fff;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
}

.topbar-social a:hover {
  opacity: 0.8;
}

.topbar-email a {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.3s;
  font-size: 0.8rem;
  font-weight: 500;
}

.topbar-email a:hover {
  opacity: 0.8;
}

body:not(.scrolled) #site-header:not(.scrolled) .site-topbar {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#site-header.scrolled .site-topbar {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  border-bottom: none;
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-radius: 100px;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}

/* Light theme variation at the top of the page (optional if you want it to look different before scrolling) */
body:not(.scrolled) #site-header:not(.scrolled) .header-inner {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

/* Logo */
.site-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  color: #111827;
  transition: color 0.3s ease;
}

body:not(.scrolled) #site-header:not(.scrolled) .site-logo {
  color: #fff;
}

/* Anchor wrapping the logo */
.site-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

/* Image logo: size & transition */
.logo-img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: opacity 0.35s ease;
}

/* Light logo: shown on transparent/hero header, hidden when scrolled */
.logo-img-light {
  opacity: 1;
}

#site-header.scrolled .logo-img-light {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

/* Dark logo: hidden on transparent header, shown when scrolled */
.logo-img-dark {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

#site-header.scrolled .logo-img-dark {
  opacity: 1;
  pointer-events: auto;
  position: static;
}

/* When only a single logo is provided */
.logo-img-single {
  opacity: 1 !important;
  position: static !important;
  pointer-events: auto !important;
}

/* Fallback: icon + text logo wrapper */
.logo-icon-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon-text svg {
  width: 2rem;
  height: 2rem;
  color: var(--color-brand-green);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

/* ─── FOOTER LOGO IMAGE ─────────────────────────────────────────── */
.footer-logo-link {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-logo-img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.logo-title {
  display: flex;
  align-items: baseline;
}

.logo-title .part1 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  transition: color 0.3s;
}

body:not(.scrolled) #site-header:not(.scrolled) .logo-title .part1 {
  color: #fff;
}

.logo-title .part2 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-brand-blue);
  margin-left: 0.25rem;
}

.logo-sub {
  display: flex;
  align-items: center;
  width: 100%;
}

.logo-sub .line {
  height: 4px;
  flex: 1;
  background: #9CA3AF;
  transition: background 0.3s;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 4'%3E%3Cpath d='M0 2 Q 5 0 10 2 T 20 2' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 4'%3E%3Cpath d='M0 2 Q 5 0 10 2 T 20 2' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E");
  mask-repeat: repeat-x;
  -webkit-mask-repeat: repeat-x;
  mask-size: 20px 4px;
  -webkit-mask-size: 20px 4px;
}

body:not(.scrolled) #site-header:not(.scrolled) .logo-sub .line {
  background: #6B7280;
}

.logo-sub .sub-text {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6B7280;
  margin-inline: 0.5rem;
  transition: color 0.3s;
}

body:not(.scrolled) #site-header:not(.scrolled) .logo-sub .sub-text {
  color: #D1D5DB;
}

/* Desktop Nav */
.logo-accent-lines {
  gap: 1.5px !important;
}
.logo-accent-lines span {
  height: 4px !important;
  background-color: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 4'%3E%3Cpath d='M0 2 Q 5 0 10 2 T 20 2' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 4'%3E%3Cpath d='M0 2 Q 5 0 10 2 T 20 2' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E");
  mask-repeat: repeat-x;
  -webkit-mask-repeat: repeat-x;
  mask-size: 20px 4px;
  -webkit-mask-size: 20px 4px;
}

/* Desktop Nav */
.main-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }
}

.main-nav a,
.main-nav ul li a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.3s;
}

body:not(.scrolled) #site-header:not(.scrolled) .main-nav a,
body:not(.scrolled) #site-header:not(.scrolled) .main-nav ul li a {
  color: rgba(255, 255, 255, 0.9);
}

.main-nav a:hover,
.main-nav ul li a:hover {
  color: var(--color-brand-blue);
}

/* WP Nav Menu Resets & Structure */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav ul li {
  margin: 0;
  position: relative;
}

/* Dropdown arrow */
.main-nav ul li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 4px;
  vertical-align: middle;
}

/* Desktop Dropdowns */
.main-nav ul li .sub-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 14rem;
  padding: 0.5rem 0;
  margin: 0;
  list-style: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-radius: 4px;
}
.main-nav ul li:hover > .sub-menu {
  display: flex;
}
.main-nav ul li .sub-menu li {
  margin: 0;
}
.main-nav ul li .sub-menu li a {
  color: #374151 !important;
  font-size: 0.875rem;
  padding: 0.6rem 1.5rem;
  display: block;
}
.main-nav ul li .sub-menu li a:hover {
  background: #F3F4F6;
  color: var(--color-brand-blue) !important;
}

/* Header Actions */
.header-actions {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .header-actions {
    display: flex;
  }
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
  transition: color 0.3s;
}

body:not(.scrolled) #site-header:not(.scrolled) .header-phone {
  color: #fff;
}

.btn-contact-nav {
  padding: 0.5rem 1.5rem;
  border: 1px solid #111827;
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
  transition: all 0.3s;
}

body:not(.scrolled) #site-header:not(.scrolled) .btn-contact-nav {
  border-color: #fff;
  color: #fff;
}

.btn-contact-nav:hover {
  background: var(--color-brand-blue);
  border-color: var(--color-brand-blue) !important;
  color: #fff !important;
}

/* Mobile menu toggle */
.mobile-toggle {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  color: #111827;
  padding: 0.5rem;
  transition: color 0.3s;
}

@media (min-width: 768px) {
  .mobile-toggle {
    display: none !important;
  }
}

body:not(.scrolled) #site-header:not(.scrolled) .mobile-toggle {
  color: #fff;
}

/* Mobile Menu */
#mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #F3F4F6;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  z-index: 998;
  animation: slideDown 0.3s ease;
}

#mobile-menu.open {
  display: block;
}

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

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

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 1rem;
}

.mobile-nav-links a,
.mobile-nav-links ul li a {
  font-weight: 500;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-links a:hover,
.mobile-nav-links ul li a:hover {
  color: var(--color-brand-blue);
}

/* Mobile WP Nav Menu */
.mobile-nav-links ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mobile-nav-links ul li {
  margin: 0;
}
.mobile-nav-links ul li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
}
.mobile-nav-links ul li .sub-menu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-left: 1rem;
  margin-top: 1rem;
  border-left: 2px solid #E5E7EB;
}

.mobile-nav-actions {
  padding: 1rem;
  border-top: 1px solid #F3F4F6;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-actions .phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #111827;
  font-size: 0.875rem;
}

.mobile-nav-actions .btn-mobile-contact {
  text-align: center;
  padding: 0.75rem 1.5rem;
  background: #111827;
  color: #fff;
  font-weight: 500;
  transition: background 0.3s;
}

.mobile-nav-actions .btn-mobile-contact:hover {
  background: var(--color-brand-blue);
}

/* ─── HERO ────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.40);
}

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-inline: 1rem;
}

.hero-inner {
  max-width: 56rem;
  margin-inline: auto;
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  color: #fff;
  letter-spacing: 0.05em;
}

.hero-title .accent {
  color: var(--color-brand-blue);
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--color-brand-green);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  margin-top: 1.5rem;
}

.hero-cta {
  margin-top: 2.5rem;
  animation: fadeUp 0.8s 0.4s ease both;
}

.btn-hero {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 2px solid var(--color-brand-blue);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s;
}

.btn-hero:hover {
  background: var(--color-brand-blue);
  color: var(--color-brand-dark);
}

/* ─── MISSION SECTION ──────────────────────────────────────────────── */
#mission-section {
  position: relative;
  padding: 6rem 0;
  background: #F9F9F7;
  overflow: hidden;
}

.mission-title {
  text-align: center;
  margin-bottom: 3rem;
}

.mission-title h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.05em;
}

.mission-title h2 .part1 {
  color: #374151;
  text-transform: uppercase;
}

.mission-title h2 .part2 {
  color: var(--color-brand-blue);
  text-transform: uppercase;
}

.mission-statement {
  max-width: 64rem;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 5rem;
}

.mission-statement p {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 2;
  letter-spacing: 0.1em;
  color: #6B7280;
  text-transform: uppercase;
}

.definition-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .definition-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.definition-card {
  position: relative;
  animation: fadeInUp 0.6s ease forwards;
}

.definition-card-shadow {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 100%;
  height: 100%;
  background: rgba(130, 232, 178, 0.3);
  z-index: 0;
  transition: transform 0.3s;
}

.definition-card:hover .definition-card-shadow {
  transform: translate(4px, 4px);
}

.definition-card-body {
  position: relative;
  z-index: 1;
  background: var(--color-brand-dark);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 140px;
}

.definition-card-body p {
  font-family: var(--font-sans);
  color: #fff;
  font-size: 0.9375rem;
  line-height: 1.7;
  font-weight: 500;
}

.definition-card-body .word-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-brand-blue);
}

.definition-card-body .word-highlight {
  font-weight: 700;
  color: var(--color-brand-green);
}

/* ─── CONDITIONS SECTION ───────────────────────────────────────────── */
#conditions-section {
  position: relative;
  padding: 6rem 0;
  background: #fff;
  overflow: hidden;
}

.blob-shape {
  position: absolute;
  top: 10rem;
  left: -5rem;
  width: 24rem;
  height: 24rem;
  background: var(--color-brand-green);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  opacity: 0.2;
  z-index: 0;
  transform: rotate(-12deg);
  pointer-events: none;
}

.conditions-title {
  text-align: center;
  margin-bottom: 4rem;
}

.conditions-title h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #111827;
}

.conditions-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem 2rem;
  position: relative;
  z-index: 1;
}

.condition-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  /* Mobile: 1 item per row */
  flex: 0 1 100%;
}

@media (min-width: 640px) {
  .condition-card {
    /* Tablet: 2 items per row (accounting for 2rem gap) */
    flex: 0 1 calc(50% - 1rem);
  }
}

@media (min-width: 1024px) {
  .condition-card {
    /* Desktop: 4 items per row (accounting for gaps) */
    flex: 0 1 calc(25% - 1.5rem);
  }
}

.condition-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.condition-icon {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}

.condition-card:hover .condition-icon {
  transform: scale(1.1);
}

.condition-icon svg {
  width: 4rem;
  height: 4rem;
  color: var(--color-brand-blue);
  stroke-width: 1.5;
}

.condition-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-brand-blue);
  margin-bottom: 0.75rem;
}

.condition-card p {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: #6B7280;
  line-height: 1.6;
  max-width: 18rem;
}

.conditions-cta {
  text-align: center;
  margin-top: 4rem;
}

.btn-green {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--color-brand-green);
  color: var(--color-brand-dark);
  font-family: var(--font-sans);
  font-weight: 700;
  border-radius: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: background 0.3s;
}

.btn-green:hover {
  background: var(--color-brand-blue);
}

/* ─── MEET & GREET SECTION ─────────────────────────────────────────── */
#meet-greet-section {
  position: relative;
  width: 100%;
  padding: 6rem 0 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.meet-greet-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.meet-greet-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.meet-greet-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.meet-greet-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.meet-greet-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  max-width: 42rem;
  width: 100%;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

@media (min-width: 768px) {
  .meet-greet-card {
    padding: 3rem;
  }
}

.meet-greet-card h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--color-brand-dark);
  margin-bottom: 1rem;
}

.meet-greet-card .blue-sub {
  font-family: var(--font-sans);
  color: var(--color-brand-blue);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.meet-greet-card .body-text {
  font-family: var(--font-sans);
  color: #6B7280;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.meet-greet-card .bold-text {
  font-family: var(--font-sans);
  color: var(--color-brand-dark);
  font-weight: 700;
  margin-bottom: 2rem;
}

.btn-green-serif {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--color-brand-green);
  color: var(--color-brand-dark);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  transition: background 0.3s;
}

.btn-green-serif:hover {
  background: var(--color-brand-blue);
}

.meet-greet-quote {
  margin-top: 3rem;
  text-align: center;
  color: #fff;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  max-width: 56rem;
  line-height: 1.7;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* ─── DOCTORS SECTION ───────────────────────────────────────────────── */
#doctors-section {
  position: relative;
  padding: 6rem 0;
  background: #fff;
  overflow: hidden;
}

.doctors-blob1 {
  position: absolute;
  top: 33%;
  left: -5rem;
  width: 18rem;
  height: 18rem;
  background: var(--color-brand-green);
  border-radius: 50%;
  mix-blend-mode: multiply;
  filter: blur(60px);
  opacity: 0.3;
  pointer-events: none;
}

.doctors-blob2 {
  position: absolute;
  top: 25%;
  left: -2.5rem;
  width: 16rem;
  height: 16rem;
  background: var(--color-brand-blue);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}

.doctors-header {
  text-align: center;
  max-width: 56rem;
  margin-inline: auto;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.doctors-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}

.doctors-header p {
  font-family: var(--font-sans);
  color: #6B7280;
  line-height: 1.7;
}

.doctors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .doctors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.doctor-card {
  display: flex;
  flex-direction: column;
}

.doctor-card-image {
  margin-bottom: 2rem;
  overflow: hidden;
  border-radius: 3rem 0.5rem 3rem 0.5rem;
  /* top-left big, top-right small, bottom-right big, bottom-left small */
  border-radius: 3rem 0.5rem 3rem 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  height: 16rem;
  width: 100%;
}

.doctor-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.doctor-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--color-brand-blue);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.doctor-card p {
  font-family: var(--font-sans);
  color: #6B7280;
  line-height: 1.7;
}

/* ─── DR ELLIE SECTION ─────────────────────────────────────────────── */
#dr-ellie-section {
  width: 100%;
  background: #fff;
}

.dr-ellie-inner {
  display: flex;
  flex-direction: column;
  min-height: 600px;
}

@media (min-width: 768px) {
  .dr-ellie-inner {
    flex-direction: row;
  }
}

.dr-ellie-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  background: #fff;
}

@media (min-width: 768px) {
  .dr-ellie-content {
    width: 55%;
    padding: 4rem 5rem;
  }
}

.dr-ellie-content-inner {
  max-width: 44rem;
  width: 100%;
  text-align: justify;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dr-ellie-icon {
  margin-bottom: 1.5rem;
  color: var(--color-brand-green);
}

.dr-ellie-icon svg {
  width: 3rem;
  height: 3rem;
  stroke-width: 1.5;
}

.dr-ellie-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-brand-dark);
  margin-bottom: 1.5rem;
  text-align: center;
  width: 100%;
}

.dr-ellie-subhead {
  font-family: var(--font-sans);
  color: var(--color-brand-blue);
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 2rem;
  line-height: 1.6;
  text-align: center;
  width: 100%;
}

.dr-ellie-subhead em {
  font-family: var(--font-serif);
}

.dr-ellie-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.dr-ellie-body p {
  font-family: var(--font-sans);
  color: #374151;
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
}

.btn-green-serif-sm {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 0.75rem 2rem;
  background: var(--color-brand-green);
  color: var(--color-brand-dark);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: background 0.3s, transform 0.2s;
}

.btn-green-serif-sm:hover {
  background: var(--color-brand-blue);
  transform: scale(1.04);
}

.dr-ellie-image {
  width: 100%;
  min-height: 400px;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

@media (min-width: 768px) {
  .dr-ellie-image {
    width: 45%;
    min-height: auto;
    padding: 4rem;
  }
}

.dr-ellie-image-wrapper {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.dr-ellie-image-wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ─── TESTIMONIALS SECTION ─────────────────────────────────────────── */
#testimonials-section {
  position: relative;
  padding: 4rem 0;
  background: #F9F9F7;
  overflow: hidden;
}

.testimonials-title {
  text-align: center;
  margin-bottom: 2rem;
}

.testimonials-title h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #111827;
}

.testimonials-centered-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 48rem;
  margin: 0 auto;
}

/* Slider */
.testimonial-slider-wrap {
  width: 100%;
}

.testimonial-slider {
  width: 100%;
  text-align: center;
}

.quote-icon {
  display: flex;
  justify-content: center;
}

.quote-icon svg {
  width: 3rem;
  height: 3rem;
  color: var(--color-brand-green);
  fill: currentColor;
  margin-bottom: 1rem;
}

.testimonial-slide {
  display: none;
  min-height: 12rem;
}

.testimonial-slide.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

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

.testimonial-slide blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.8;
  color: #1F2937;
  margin-bottom: 1.5rem;
}

.testimonial-slide cite {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  font-style: normal;
  color: var(--color-brand-blue);
}

.slider-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #E5E7EB;
}

.slider-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-brand-green);
  padding: 0.5rem;
  transition: color 0.3s;
}

.slider-btn:hover {
  color: var(--color-brand-blue);
}

.slider-btn svg {
  width: 2rem;
  height: 2rem;
}

.slider-count {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-brand-green);
}

.testimonials-cta {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

/* ─── PROCESS SECTION ──────────────────────────────────────────────── */
#process-section {
  padding: 6rem 0;
  background: #fff;
  overflow: hidden;
}

.process-title {
  text-align: center;
  margin-bottom: 5rem;
}

.process-title h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.process-title h2 .part1 {
  color: var(--color-brand-dark);
}

.process-title h2 .part2 {
  color: var(--color-brand-blue);
}

.process-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .process-steps {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-inline: 1rem;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (min-width: 768px) {
  .process-step {
    margin-bottom: 0;
  }
}

.process-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.process-step p {
  font-family: var(--font-serif);
  color: var(--color-brand-dark);
  font-size: clamp(0.8rem, 1.2vw, 0.9375rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.8;
  max-width: 200px;
}

.process-arrow {
  color: var(--color-brand-green);
  margin-bottom: 3rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .process-arrow {
    margin-bottom: 0;
  }
}

.process-arrow svg {
  width: 3rem;
  height: 3rem;
  stroke-width: 1;
}

.arrow-mobile {
  display: block;
}

.arrow-desktop {
  display: none;
}

@media (min-width: 768px) {
  .arrow-mobile {
    display: none;
  }

  .arrow-desktop {
    display: block;
  }
}

/* ─── PARTNER LOGOS STRIP ──────────────────────────────────────────── */
#partner-logos-section {
  position: relative;
  padding: 4rem 0;
  background: #fff;
  overflow: hidden;
}

#partner-logos-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(80%, 60rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, #E5E7EB 20%, #D1D5DB 50%, #E5E7EB 80%, transparent);
}

#partner-logos-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(80%, 60rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, #E5E7EB 20%, #D1D5DB 50%, #E5E7EB 80%, transparent);
}

.partner-logos-title {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #9CA3AF;
  margin-bottom: 2.5rem;
}

.partner-logos-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  max-width: 64rem;
  margin-inline: auto;
  overflow-x: auto;
  padding-bottom: 1rem;
  /* For possible scrollbar */
}

@media (max-width: 640px) {
  .partner-logos-row {
    gap: 3rem;
    justify-content: flex-start;
  }
}

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, filter 0.35s ease, opacity 0.35s ease;
  filter: grayscale(100%);
  opacity: 0.55;
  flex-shrink: 0;
}

.partner-logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

.partner-logo-item img {
  max-height: 55px !important;
  max-width: 160px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

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

@media (max-width: 640px) {
  .partner-logo-item img {
    max-height: 45px !important;
    max-width: 130px !important;
  }
}

/* ─── FOOTER ───────────────────────────────────────────────────────── */
#site-footer {
  background: var(--color-brand-dark);
  color: #fff;
  padding: 5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1.5fr;
  }
}

/* Brand col */
.footer-brand .logo-title {
  margin-bottom: 0;
}

.footer-brand .logo-title .part1 {
  color: #fff;
  font-size: 1.5rem;
}

.footer-brand .logo-title .part2 {
  color: var(--color-brand-blue);
  font-size: 1.5rem;
}

.footer-brand .logo-sub .line {
  background: #6B7280;
}

.footer-brand .logo-sub .sub-text {
  color: #9CA3AF;
}

.footer-brand p {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: #D1D5DB;
  line-height: 1.7;
  margin-top: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  color: #9CA3AF;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: var(--color-brand-blue);
}

.footer-social svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Footer columns */
.footer-col h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-brand-green);
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-col ul li a {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: #D1D5DB;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: #D1D5DB;
}

.footer-contact-item svg {
  color: var(--color-brand-blue);
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: #9CA3AF;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #9CA3AF;
  transition: color 0.3s;
}

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

/* ─── Scroll-in animation base ─────────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── CONTACT MODAL ────────────────────────────────────────────── */
.contact-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: opacity 0.3s ease;
}

.contact-modal-overlay.open {
  display: flex !important;
}

.contact-modal-content {
  background: #fff;
  width: 100%;
  max-width: 440px;
  border-radius: 12px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  animation: slideUpModal 0.4s ease forwards;
}

@keyframes slideUpModal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #6B7280;
  padding: 0.5rem;
  transition: color 0.3s, transform 0.3s;
}

.contact-modal-close:hover {
  color: #111827;
  transform: rotate(90deg);
}

.contact-modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-modal-header h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: #111827;
  margin-bottom: 0.5rem;
}

.contact-modal-header p {
  font-family: var(--font-sans);
  color: #6B7280;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-modal-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-modal-form .form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
  text-align: left;
}

.contact-modal-form .form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-modal-form .form-group input:focus {
  outline: none;
  border-color: var(--color-brand-green);
  box-shadow: 0 0 0 3px rgba(130, 232, 178, 0.2);
}