/* ==========================================================================
   1. BOOTSTRAP FOUNDATIONS & DESIGN VARIABLES[cite: 4]
   ========================================================================== */
:root {
    /* Brand Design Tokens */
    --primary: #d6336c;        /* Logo Deep Pink / Magenta */
    --primary-hover: #b82356;  /* Deeper Pink for button hover */
    --accent-blue: #40a9c9;    /* Logo Teal Blue */
    --accent-blue-hover: #3290ab;
    --bg-blush: #fdf5f6;       /* Soft blush-pink background */
    --white: #ffffff;
    --text-dark: #3c2a2d;      /* Deep Plum-Gray for high contrast readability */
    --text-muted: #735f62;     /* Muted Plum-Gray for subtext */
    --border-color: #f6e2e5;   /* Soft pink-tinged borders */
    --shadow-soft: 0 8px 30px rgba(214, 51, 108, 0.05);
    --shadow-hover: 0 12px 40px rgba(214, 51, 108, 0.12);
    --radius-round: 16px;
    --radius-pill: 50px;

    /* System Core Colors */
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
}

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

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: medium;
    font-weight: 650;
    line-height: 1.6;
    color: var(--text-dark);
    text-align: left;
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: 60px;
}

/* --- Typography Spacing & Hierarchy --- */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: .5rem;
    line-height: 1.2;
    color: #2c1619; 
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 { font-size: 48px; font-weight: 800; line-height: 1.15; text-align: left; color: var(--text-dark); }
h2 { font-size: 36px; font-weight: 800; text-align: center; margin-bottom: 30px; }
h3 { font-size: 20px; font-weight: 700; }
p { margin-top: 0; margin-bottom: 1rem; text-align: left; text-decoration-color: #000;}
a { text-decoration: none; color: inherit; transition: color 0.2s; }
a:hover { color: var(--primary); text-decoration: none; }
img, svg { vertical-align: middle; max-width: 100%; height: auto; }

/* ==========================================================================
   2. UTILITY LAYOUT CONTAINERS & GRID INFRASTRUCTURE[cite: 4]
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 24px;
    padding-left: 24px;
}

.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px auto;
}

.section-header h2 {
    margin-bottom: 12px;
}

.section-header p {
    text-align: center;
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 500;
}

.d-flex { display: flex !important; }
.w-100 { width: 100% !important; }
.text-center { text-align: center !important; }

/* ==========================================================================
   3. NAVIGATION & BRAND LOGO COMPONENT[cite: 4]
   ========================================================================== */
.main-header {
    position: sticky;
    top: 0;
    background-color: rgba(253, 245, 246, 0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(214, 51, 108, 0.04);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 2px 0;
}

.logo-img-large {
    height: auto;
    max-height: 75px; 
    width: auto;
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply;
    filter: contrast(2.02) brightness(1.0) saturate(1.0);
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.logo-wrapper:hover .logo-img-large {
    transform: scale(1.09);
}
/* Header CTA buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.header-actions .nav-cta {
  width: 180px;
  height: 48px;
  margin: 0;
  padding: 0 14px;
  white-space: nowrap;
  text-decoration: none;
}


@media (max-width: 600px) {
  .logo-img-large {
    max-height: 42px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions .nav-cta {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    height: 44px;
    padding: 0 10px;
    font-size: 11px;
    white-space: nowrap;
  }

  .header-actions .btn-primary {
    flex: 1.15 1 0;
    padding: 0 18px; /* extra Book Consultation padding */
  }
}





/* ==========================================================================
   4. CORE COMPONENTS & BRANDED BUTTON ARCHITECTURES[cite: 4]
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(214, 51, 108, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 51, 108, 0.35);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}

.btn-secondary:hover {
    background-color: #f0f9fc;
    color: var(--accent-blue-hover);
    border-color: var(--accent-blue-hover);
    transform: translateY(-2px);
}






/* ==========================================================================
   5. HERO & HIGHLIGHTS
   ========================================================================== */
.hero-wrapper {
  position: relative;
  overflow: hidden;
  background: var(--bg-blush);
}

.hero-split-container {
  position: relative;
  min-height: 720px;
  overflow: hidden;
}

/* Full-hero image */
.hero-bg-image-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-inline-bg-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 1;
  filter: saturate(1.04) contrast(1.02);
  transition: transform 0.7s ease;
  
  object-position: center !important;
  
}

.hero-wrapper:hover .hero-inline-bg-img {
  transform: scale(1.035);
}

/* Left text area */
.hero-content-side {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 720px;
  padding: 80px 44% 80px 8%;
  background: linear-gradient(
    90deg,
    rgba(253, 245, 246, 0.98) 0%,
    rgba(253, 245, 246, 0.90) 42%,
    rgba(253, 245, 246, 0.45) 68%,
    rgba(253, 245, 246, 0.12) 100%
  );
}

.hero-content-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
}

.hero-content-side h1 {
  margin-bottom: 16px;
  color: var(--text-dark);
  font-size: clamp(40px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  transform-origin: left center;
}

#dynamic-hero-heading::after {
  content: "\2060|";
  margin-left: 2px;
  color: var(--primary);
  animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-subtext {
  margin-bottom: 28px;
  font-size: 18px;
  text-align: left;
  letter-spacing: normal;
  word-spacing: normal;
}

/* Right clinic information card */
.hero-image-side {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-crimson-overlay {
  position: absolute;
  top: 50%;
  right: 8%;
  width: min(390px, 33vw);
  padding: 38px;
  color: var(--white);
  background-color: var(--primary);
  border-radius: var(--radius-round);
  box-shadow: 0 20px 50px rgba(214, 51, 108, 0.25);
  transform: translateY(-50%);
  pointer-events: auto;
}

.hero-crimson-overlay h2 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}

.hero-crimson-overlay p {
  margin-bottom: 24px;
  color: var(--white);
  font-size: 14px;
  text-align: left;
  opacity: 0.95;
}

.btn-hero-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  color: var(--white);
  background-color: var(--accent-blue-hover);
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-hero-white:hover {
  color: var(--primary);
  background-color: var(--white);
  transform: translateY(-2px);
}

/* Highlights */
.hero-highlights-bar {
  position: relative;
  z-index: 3;
  margin-top: 0;
  padding: 32px 24px 40px;
}

.highlights-flex {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
}

.highlight-stat-card {
  padding: 24px 20px;
  text-align: center;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-stat-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.stat-number {
  display: block;
  color: var(--primary);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
}

.stat-title {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
}



/* ==========================================================================
   6. TRUST BADGES SECTIONS & INTERACTIVE ELEMENTS[cite: 4]
   ========================================================================== */
.trust-badges-section {
    background-color: var(--white);
    padding: 56px 0 24px;
    border-bottom: 1px solid var(--border-color);
}

.badge-flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px 40px; 
    flex-wrap: wrap;
}

.badge-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: default;
}

.badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--bg-blush);
    color: var(--primary);
    border-radius: 50%;
    font-size: 15px;
    transition: all 0.3s ease;
}

.badge-text {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.badge-item:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(214, 51, 108, 0.15);
}

.badge-item:hover .badge-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.badge-item:hover .badge-text {
    color: var(--white);
}

/* ==========================================================================
   7. CLINICAL TREATMENT CARDS MATRIX[cite: 4]
   ========================================================================== */
.treatments-section {
    background-color: #fffafb;
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.treatment-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-round);
    padding: 30px 24px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: var(--shadow-soft);
}

.treatment-icon {
    font-size: 28px;
    color: var(--primary);
    background-color: var(--bg-blush);
    min-width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
}

.treatment-content {
    flex: 1;
}

.treatment-card h3 {
    font-size: 19px;
    margin-bottom: 8px;
    color: var(--primary); 
    transition: color 0.35s ease;
}

.treatment-card p {
    font-size: 14.5px;
    color: var(--text-dark);
    margin: 0;
    text-align: left; 
    transition: color 0.35s ease;
}

.treatment-card:hover {
    transform: translateY(-5px);
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.treatment-card:hover h3,
.treatment-card:hover p {
    color: var(--white);
}

.treatment-card:hover .treatment-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* ==========================================================================
   8. WHY CHOOSE US CARD MODULES[cite: 4]
   ========================================================================== */
.why-us-section {
    background-color: var(--white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 24px;
}

.why-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-round);
    padding: 30px 24px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: var(--shadow-soft);
}

.why-icon {
    font-size: 24px;
    color: var(--primary);
    background-color: var(--bg-blush);
    min-width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
}

.why-content {
    flex: 1;
}

.why-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    transition: color 0.35s ease;
}

.why-card p {
    font-size: 14px;
    color: var(--text-dark);
    margin: 0;
    text-align: left;
    transition: color 0.35s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.why-card:hover h3,
.why-card:hover p {
    color: var(--white);
}

.why-card:hover .why-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* ==========================================================================
   9. FORMS, IMPACT STATS, TIMELINES & DOCTOR SPECIALISTS[cite: 4]
   ========================================================================== */
.form-section {
    background-color: var(--white);
}

.form-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    background: var(--bg-blush);
    padding: 50px;
    border-radius: var(--radius-round);
    box-shadow: var(--shadow-soft);
    align-items: center;
}

.form-left h3 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.form-intro {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
    text-align: left;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    background-color: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(214, 51, 108, 0.1);
}

.btn-block {
    width: 100%;
    margin-top: 12px;
}

.form-right-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.info-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
}

.info-card h4 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 20px;
}

.info-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.info-step:last-child {
    margin-bottom: 0;
}

.step-badge {
    background-color: var(--bg-blush);
    color: var(--primary);
    font-weight: 800;
    font-size: 13px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-step p {
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--text-dark);
    margin: 0;
    text-align: left;
}

/* --- Impact Statistics Section --- */
.impact-section {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.stat-num {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.outcome-disclaimer {
    font-size: 12px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Timeline Journey --- */
.process-section {
    background-color: var(--bg-blush);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.timeline-step {
    text-align: center;
    background: var(--white);
    padding: 35px 24px;
    border-radius: var(--radius-round);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 2;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.step-num {
    width: 46px;
    height: 46px;
    background-color: var(--accent-blue);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 20px;
    transition: all 0.35s ease;
    box-shadow: 0 4px 10px rgba(64, 169, 201, 0.2);
}

.timeline-step h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    transition: color 0.35s ease;
}

.timeline-step p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    text-align: center;
    transition: color 0.35s ease;
}

.timeline-step:hover {
    transform: translateY(-6px);
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.timeline-step:hover h3,
.timeline-step:hover p {
    color: var(--white);
}

.timeline-step:hover .step-num {
    background-color: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* --- Doctor Specialist & Gallery Architecture --- */
.doc-section {
    background-color: #fffafb;
}

.doc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.doc-card {
    background-color: var(--white);
    border-radius: var(--radius-round);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.doc-video-wrapper {
    position: relative;
    padding-bottom: 177.78%; 
    height: 0;
    overflow: hidden;
    background-color: #000;
    border-bottom: 1px solid var(--border-color);
}

.doc-video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 5;
    background: #000;
}

.doc-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dr. Swati Symmetrical Balancing Gallery rules */
.dr-image-gallery-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 480px; 
}

.dr-main-portrait, 
.dr-sub-portrait {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.dr-main-portrait {
    border-bottom: 1px solid var(--border-color);
}

.featured-dr-card {
    border: 2px solid var(--primary) !important;
    position: relative;
}

.dr-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 12px rgba(214, 51, 108, 0.2);
    z-index: 10;
}

.doc-info {
    padding: 32px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.doc-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    transition: color 0.35s ease;
}

.doc-info .specialty {
    color: var(--primary);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.35s ease;
}

.doc-info p {
    font-size: 14.5px;
    color: var(--text-muted);
    margin-bottom: 24px;
    text-align: left;
    transition: color 0.35s ease;
}

.doc-info .btn {
    margin-top: auto; 
    transition: all 0.35s ease;
}

.doc-card:hover {
    transform: translateY(-6px);
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.doc-card:hover .doc-info h3,
.doc-card:hover .doc-info p,
.doc-card:hover .doc-info .specialty {
    color: var(--white);
}

.doc-card:hover .doc-info .btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.doc-card:hover .doc-info .btn-secondary:hover {
    background-color: var(--bg-blush);
    transform: translateY(-2px);
}

/* --- Testimonials Card Structures --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.test-card {
    background-color: var(--white);
    border-radius: var(--radius-round);
    padding: 32px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.test-journey {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 12px;
}

.test-quote {
    font-size: 14px;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.test-author {
    font-weight: bold;
    font-size: 13px;
}

.written-testimonials {
    max-width: 1100px;
    margin: 0 auto;
}

.custom-thumbnail-active {
    cursor: pointer;
}

.video-custom-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 3;
    transition: transform 0.4s ease;
}

.custom-thumbnail-active:hover .video-custom-poster {
    transform: scale(1.02);
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(44, 22, 25, 0.15); 
    transition: background 0.3s ease;
}

.video-play-overlay i {
    width: 65px;
    height: 65px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    padding-left: 5px; 
    box-shadow: 0 8px 25px rgba(214, 51, 108, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   10. VIDEO SUCCESS TESTIMONIAL STORIES[cite: 4]
   ========================================================================== */
.video-testimonials-section {
    background-color: var(--bg-blush);
}

.video-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 340px));
    justify-content: center;
    gap: 30px;
    margin: 0 auto 40px;
}

.testimonial-video-card {
    background-color: var(--white);
    border-radius: var(--radius-round);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.testimonial-video-container {
    position: relative;
    padding-bottom: 177.78%; 
    height: 0;
    overflow: hidden;
    background-color: var(--bg-blush);
}

.testimonial-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-card-meta {
    padding: 20px 24px;
}

.video-card-meta h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.treatment-tag {
    font-size: 13px;
    color: var(--primary);
    font-weight: 700;
}

/* ==========================================================================
   11. INTERACTIVE ACCORDION FAQ LOGIC[cite: 4]
   ========================================================================== */
.faq-container {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
    border-radius: 12px;
    background-color: var(--white);
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.faq-header {
    padding: 22px 28px;
    font-size: 16px;
    font-weight: 700;
    color: #111;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-header:hover {
    background-color: var(--bg-blush);
}

.faq-content {
    padding: 0 28px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-out, padding 0.25s ease-out;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.7;
}

.faq-item.active .faq-content {
    padding: 12px 28px 24px 28px;
}

.faq-icon {
    font-weight: bold;
    color: var(--primary);
    transition: transform 0.2s;
    font-size: 20px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* ==========================================================================
   12. CLINICAL FOOTER AND MAP LOCATIONS MATRIX[cite: 4]
   ========================================================================== */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 80px 0 100px 0;
}

.locations-title {
    text-align: center;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 35px;
    color: #fff;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.location-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 24px;
    color: var(--text-dark);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.location-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 10px;
}

.location-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #555555;
    margin: 4px 0;
}

.loc-icon {
    background: var(--primary);
    color: #ffffff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 20px;
}

.map-container {
    margin-top: 18px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eef2f5;
    height: 200px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 13px;
}

/* ==========================================================================
   13. PERSISTENT FLOATING ACTIONS & CALL CONTROL WIDGETS[cite: 4]
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 24px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    width: 60px;
    height: 60px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    animation: pulse-whatsapp 4s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
}

.whatsapp-float .tooltip-text {
    visibility: hidden;
    width: 140px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 6px 10px;
    position: absolute;
    z-index: 10000;
    right: 75px;
    font-size: 13px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    white-space: nowrap;
}

.whatsapp-float:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    15% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   14. UNIFIED AND COMPREHENSIVE RESPONSIVE DESIGN ARCHITECTURE[cite: 4]
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-split-container {
        grid-template-columns: 1fr; 
    }
    .hero-content-side {
        padding: 60px 24px;
        text-align: center;
        align-items: center;
    }
    .hero-content-side h1 {
        font-size: 46px;
        transform-origin: center center;
    }
    .hero-subtext {
        font-size: 20px;
        margin-bottom: 24px;
    }
    .hero-image-side {
        height: auto;
        min-height: 450px;
    }
    .hero-crimson-overlay {
        position: relative;
        transform: none;
        top: auto;
        right: auto;
        width: 90%;
        margin: 40px auto;
        box-shadow: none;
    }
    .hero-highlights-bar {
        margin-top: 30px;
    }
    .dr-image-gallery-wrapper {
        min-height: auto;
    }
    .dr-main-portrait, 
    .dr-sub-portrait {
        height: 200px;
    }
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .timeline-step {
        padding: 30px 20px;
    }
    .doc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        max-width: 900px;
        margin: 0 auto;
    }
    .video-testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .form-grid { 
        grid-template-columns: 1fr !important; 
        padding: 30px; 
    }
    .locations-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    .main-nav { 
        display: none; 
    }
}

@media (max-width: 768px) {
    .hero-content-side h1 {
        font-size: 36px;
    }
    .hero-inline-bg-img {
        object-position: center 20%;
    }
    .hero-crimson-overlay {
        width: 100%;
        margin: 20px 0;
        border-radius: 12px;
        padding: 30px 20px;
    }
    .hero-crimson-overlay h2 {
        font-size: 26px;
    }
    .highlights-flex {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .highlight-stat-card {
        padding: 16px;
    }
    .stat-number {
        font-size: 28px;
    }

    .dr-image-gallery-wrapper {
        flex-direction: row;
    }
    .dr-main-portrait, 
    .dr-sub-portrait {
        width: 50%;
        height: 260px;
    }
    .dr-main-portrait {
        border-bottom: none;
        border-right: 1px solid var(--border-color);
    }

    /* Intake Lead Form Fixes */
    .form-grid {
        grid-template-columns: 1fr !important;
        padding: 24px 16px !important;
        gap: 30px !important;
        width: 100% !important;
        box-sizing: border-box;
    }
    .form-control {
        width: 100% !important;
        max-width: 100% !important;
        display: block;
        box-sizing: border-box;
    }
    .form-section p, 
    .form-section h2, 
    .form-section label,
    .form-intro {
        text-align: left !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .info-card {
        padding: 24px 20px;
    }

    /* Core Statistics Metric Overrides */
    .impact-grid { 
        grid-template-columns: 1fr !important; 
        gap: 36px !important; 
        padding: 0 16px !important;
    }
    .stat-num {
        font-size: 48px !important;
    }
    .stat-label {
        font-size: 14px !important;
        white-space: normal !important; 
        max-width: 300px;
        margin: 4px auto 0 auto;
        display: block;
        line-height: 1.4;
    }

    /* Badges & Doctor Mobile Overrides */
    .trust-badges-section {
        padding: 20px 0;
    }
    .badge-flex-container {
        gap: 16px 20px;
    }
    .badge-text {
        font-size: 15px;
    }
    .badge-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    .treatment-grid {
        grid-template-columns: 1fr;
    }
    .treatment-card {
        padding: 20px 16px;
    }
    .why-us-grid { 
        grid-template-columns: 1fr; 
        gap: 16px;
    }
    .why-card {
        padding: 24px 20px;
    }
    .video-testimonial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .testimonial-grid { grid-template-columns: 1fr; }
    .locations-grid { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 26px; }
    .nav-container { height: 75px; }
    .logo-img-large { max-height: 60px; }
    
    .doc-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 0 8px;
    }
    .doc-card {
        display: flex;
        flex-direction: column;
        border-radius: var(--radius-round);
        overflow: hidden;
    }
    .doc-card .doc-video-wrapper {
        padding-bottom: 125% !important; 
        width: 100%;
    }
    .doc-info {
        padding: 24px 20px !important;
        display: flex;
        flex-direction: column;
        align-items: center; 
        text-align: center;
    }
    .doc-info h3 {
        font-size: 22px !important;
        margin-bottom: 4px !important;
    }
    .doc-info .specialty {
        font-size: 13.5px !important;
        margin-bottom: 12px !important;
    }
    .doc-info p {
        font-size: 14px !important;
        margin-bottom: 20px !important;
        text-align: center !important;
    }
    .doc-info .btn {
        width: 100% !important;
        display: inline-flex !important;
        padding: 14px 20px !important;
        font-size: 15px !important;
        margin-top: 8px !important;
    }
    .dr-single-portrait {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .doc-card .dr-single-portrait {
        height: 380px !important;
    }
}
    .dr-badge {
        top: 12px !important;
        left: 12px !important;
        font-size: 11px !important;
        padding: 4px 12px !important;
    }
    
    .whatsapp-float { 
        bottom: 90px; 
        width: 50px; 
        height: 50px; 
        font-size: 26px; 
    }
    body {
        padding-bottom: 80px; 
    }
}

@media (max-width: 576px) {
    .timeline {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .timeline-step {
        padding: 24px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
  .hero-split-container,
  .hero-content-side {
    min-height: 820px;
  }

  .hero-content-side {
    padding: 64px 24px 340px; /* reserves space for the pink card */
  }

  .hero-crimson-overlay {
    top: auto !important;
    right: 24px !important;
    bottom: 24px !important;
    left: 24px !important;
    width: auto !important;
    padding: 24px !important;
    transform: none !important;
  }

  .hero-crimson-overlay h2 {
    font-size: 26px;
  }

  .hero-crimson-overlay p {
    margin-bottom: 18px;
  }
}
@media (max-width: 768px) {
  /* Compact header: logo and CTAs closer together */
  .nav-container {
    height: 64px;
    min-height: 64px;
    padding: 8px 12px;
    justify-content: flex-start;
    gap: 10px;
  }

  .logo-img-large {
    max-height: 42px;
  }

  .header-actions {
    flex: 1;
    gap: 8px;
    margin-left: 0;
  }

  .header-actions .nav-cta {
    flex: 1 1 0;
    width: auto;
    height: 44px;
    padding: 0 8px;
    font-size: 11px;
  }

  /* Hero: remove the large empty space */
  .hero-split-container,
  .hero-content-side {
    min-height: 640px;
  }

  .hero-content-side {
    justify-content: flex-start !important;
    align-items: flex-start;
    padding: 46px 20px 180px;
  }

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

  /* Show the people better on a tall mobile screen */
  .hero-inline-bg-img {
    object-fit: cover;
    object-position: 82% center;
  }

  .hero-content-side h1 {
    margin-top: 0;
    font-size: clamp(42px, 12vw, 54px);
  }
}
@media (max-width: 768px) {
  .hero-split-container {
    min-height: auto;
    overflow: visible;
  }

  .hero-content-side {
    min-height: 640px;
    padding: 46px 20px 48px;
  }

  .hero-image-side {
    position: relative !important;
    inset: auto !important;
    display: block;
    padding: 0 20px 24px;
    background: var(--bg-blush);
    pointer-events: auto;
  }

  .hero-crimson-overlay {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    margin: 0;
    padding: 24px !important;
    transform: none !important;
 }

}
@media (max-width: 768px) {
  .hero-bg-image-wrapper {
    overflow: hidden !important;
  }

  .hero-inline-bg-img {
    width: 250% !important; /* Make image wider than container */
    max-width: none !important;
    
    /* Pulls the image 15% to the left */
    transform: translateX(-50%) !important; 
  }
}
@media (max-width: 768px) {
  .hero-cta-group { justify-content: center; }
  .video-testimonial-grid { grid-template-columns: minmax(0, 340px); }
}

/* Mobile hero: text on top, image below (no overlap, no overflow) */
@media (max-width: 768px) {
  .hero-split-container { min-height: 0; overflow: hidden; }
  .hero-content-side {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start !important;
    min-height: 0;
    padding: 32px 20px 0;
    background: var(--bg-blush);
  }
  .hero-content-overlay { text-align: center; max-width: none; }
  .hero-content-side h1 { text-align: center; font-size: clamp(32px, 9vw, 42px); }
  .hero-subtext { text-align: center; font-size: 16px; }
  .hero-bg-image-wrapper {
    position: relative !important;
    inset: auto !important;
    order: 2;
    height: 340px;
    margin: 28px -20px 0;
  }
  .hero-inline-bg-img {
    width: 100% !important;
    max-width: 100% !important;
    height: 100%;
    transform: none !important;
    object-position: 70% center !important;
  }
  .hero-wrapper:hover .hero-inline-bg-img { transform: none !important; }
  .hero-highlights-bar { padding: 24px 20px 8px; }
}
