:root {
  --primary: #D7757A;
  --primary-dark: #23a593;
  --primary-light: #e6f7f4;
  --secondary: #FFC600;
  --orange: #f4845f;
  --dark: #1e2d3a;
  --light-bg: #f5faf9;
  --text-body: #4a5d6a;
  --text-muted: #8a9ba5;
  --white: #ffffff;
}


/* ======================================
   GROUPED MEDIA QUERIES (moved here)
   - Hero responsive rules
   - Key breakpoints grouped here for easier maintenance
   ====================================== */

@media (min-width: 992px) {
  .hero {
    padding-right: 0;
  }

  .hero .container {
    position: relative;
    z-index: 1;
  }

  .hero-bleed {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 52%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
  }

  .hero-bleed-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center right;
    display: block;
    background: #fefaf4;
  }

  .hero-img-col {
    min-height: 420px;
  }

  .hero .row>.col-lg-6:first-child {
    flex: 0 0 48%;
    max-width: 48%;
  }
}

@media (max-width: 991px) {
  .hero {
    padding: 30px 18px 40px;
  }

  .hero .row>.col-lg-6:first-child,
  .hero .row>.col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .hero-bleed {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    margin-top: 18px;
    overflow: hidden;
  }

  .hero-bleed-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center center;
    display: block;
    border-radius: 12px;
  }

  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.12;
    margin-bottom: 12px;
  }

  .hero-desc {
    max-width: 100%;
    font-size: 0.95rem;
  }

  .btn-book {
    padding: 10px 20px;
    border-radius: 20px;
  }

  .hero .container {
    z-index: 1;
  }

  .hero-bleed {
    z-index: 0;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-img {
    height: 250px;
    margin-top: 18px;
  }

  /* desktop/large-bleed image hidden at small widths; mobile image used instead */
  .hero-bleed-img {
    border-radius: 10px;
    display: none;
  }

  /* mobile-specific banner image (kept in markup with class `hero-bleed-img-mobile`) */
  .hero-bleed-img-mobile {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center center;
    border-radius: 0px;
  }
}

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

  .hero-desc {
    font-size: 0.9rem;
  }


}

img.crown-img {
  position: absolute;
  right: 34%;
  top: 92px;
  width: 66px;
}

img.crown-under-img {
  position: absolute;
  right: 42%;
  top: 180px;
  width: 86px;
}

/* Mobile / Tablet adjustments for hero */
@media (max-width: 991px) {
  .hero {
    padding: 30px 18px 40px;
  }

  /* Stack columns: left text full width */
  .hero .row>.col-lg-6:first-child,
  .hero .row>.col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Ensure the hero-bleed image is shown below the text and scaled */
  .hero-bleed {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    margin-top: 18px;
    overflow: hidden;
  }

  .hero-bleed-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center center;
    border-radius: 12px;
  }

  /* Reduce heading and text sizes for narrow screens */
  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.12;
    margin-bottom: 12px;
  }

  .hero-desc {
    max-width: 100%;
    font-size: 0.95rem;
  }

  .btn-book {
    padding: 10px 20px;
    border-radius: 20px;
  }

  /* Remove absolute stacking z-index quirks */
  .hero .container {
    z-index: 1;
  }

  .hero-bleed {
    z-index: 0;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

/* updated code  */
/* ===== HERO SECTION ===== */
.hero {
  background: #FEFBF4;
  padding: 130px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 82px;
  font-weight: 700;
  line-height: 1.15;
  color: #382D55;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 24px;
  color: #3F4254;
  line-height: 1.4;
  margin-bottom: 24px;
  font-weight: 600;
}

.hero-keywords {
  max-width: 170px;
  margin-bottom: 64px;
  margin-left: 50px;
}

.about-bleed-left-mobile {
  display: none;
}

.btn-book {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 13px 24px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.btn-book:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(43, 186, 166, 0.3);
}

.story-section {
  margin: 24px 12px;
  background: #fffaf3;
  border: 0;
  border-radius: 48px;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.story-section .container {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 22px;
  padding: 88px 0;

}

.story-title {
  font-size: 45px;
  font-weight: 700;
  color: #382D55;
  line-height: 1.15;
  margin-bottom: 42px;
}

.story-wrap p {
  font-size: 14px;
  color: #6d6885;
  line-height: 1.42;
  margin-bottom: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  max-width: 400px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(225, 211, 205, 0.9);
}

.story-wrap p span {
  flex: 0 0 24px;
  width: 24px;
  margin-top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.story-wrap p span img {
  width: 100%;
  height: auto;
  display: block;
}

.story-wrap p strong {
  color: #37315f;
  font-weight: 700;
}

.story-wrap .story-highlight {
  display: inline-block;
  margin-top: 10px;
  padding: 16px 42px;
  border-left: 4px solid #E8959A;
  border-radius: 12px;
  background: #fceeee;
  color: #E8959A;
  font-size: 18px;
  font-weight: 600;
}

.story-image-wrap {
  text-align: center;
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-image {
  width: 100%;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: none;
  transform: translateX(10px);
}

/* Story list (PDF-style rows) */
.story-list {
  margin-top: 8px;
}

.story-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  width: 100%;
}

.story-icon img {
  width: 40px;
  height: 40px;
  display: block;
}

.story-text {
  flex: 1 1 auto;
  min-width: 0;
  /* allow flex children to shrink and avoid overflow/overlap */
  overflow-wrap: break-word;
  position: relative;
  /* for positioned divider */
  padding-bottom: 14px;
  /* space reserved for the divider */
  /* Controls for the divider: override these vars where you need different sizes/positions */
  --story-divider-width: 220px;
  /* default divider length */
  --story-divider-color: rgba(238, 223, 221, 0.95);
}

/* positioned divider using pseudo-element so width/position can be controlled */
.story-text::after {
  content: '';
  position: absolute;
  left: 0;
  /* change to e.g. 'right: 0' or use transform for centered lines */
  bottom: -6px;
  /* vertical position of the divider relative to the text box */
  height: 1px;
  width: var(--story-divider-width);
  background: var(--story-divider-color);
}

.story-text-flex {
  display: flex;
  align-items: center;
  gap: 3px;
}

.story-text-flex .story-rest {
  margin-top: 0;
}

/* remove divider for the final item */
.story-item-last .story-text::after {
  display: none;
}

/* if you want the divider shorter on small screens, adjust this variable in media queries */

.story-bold {
  font-size: 18px;
  font-weight: 600;
  color: #2A3658;
  line-height: 1.25;
}

.story-rest {
  font-size: 18px;
  font-weight: 500;
  color: #5B6479;
  line-height: 1.25;
  margin-top: 4px;
}

.question-section {
  padding: 88px 0;
  background: #FEF8F8;
  margin: 12px;
  border-radius: 48px;
}

.question-wrap {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.question-wrap h3 {
  font-size: 45px;
  font-weight: 700;
  color: #382D55;
  margin-bottom: 20px;
}

.question-wrap p {
  font-size: 24px;
  color: #2A3658;
  margin-bottom: 30px;
  font-weight: 500;
}

.survey {
  border: 1px solid #EDDBDC !important;
  border-radius: 12px !important;
  padding: 18px 20px !important;
}

.btn-submit-small {
  padding: 18px 42px;
  border-radius: 40px;
  background: #382D55;
  color: #ffffff;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  margin-top: 32px;
}

.question-input-wrap {
  position: relative;
  max-width: 100%;
}

.question-input-wrap .survey {
  height: 76px;
  padding: 22px 64px 22px 26px;
  /* space for heart icon on right */
  border-radius: 14px;
  border: 1px solid rgba(196, 160, 160, 0.35);
  background: #fff;
  box-shadow: none;
  font-size: 18px;
  /* keep existing font scaling */
}

.question-input-wrap .input-heart {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #e89aa0;
  pointer-events: none;
}

.btn-submit-large {
  display: inline-block;
  background: #382D55;
  color: #fff;
  padding: 18px 56px;
  border-radius: 44px;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(56, 45, 85, 0.12);
}

.cta-crown {
  position: absolute;
  top: -60px;
  left: -38px;
  width: 140px;
}

@media (max-width: 767px) {
  .question-input-wrap .survey {
    height: 50px;
    padding: 8px 16px 8px 16px !important;
    font-size: 14px;
  }

  .question-input-wrap .input-heart {
    right: 14px;
    font-size: 20px;
  }

  .btn-submit-large {
    padding: 14px 40px;
    font-size: 18px;
  }
}

.question-section .question-image {
  max-width: 420px;
}

@media (max-width: 991px) {
  .question-wrap {
    text-align: center;
  }

  .question-section .question-image {
    max-width: 320px;
    margin: 18px auto 0;
  }
}

.resources-section {
  padding: 88px 0;
  background: #FEFBF4;
  border-radius: 48px;
  margin: 24px 12px;
}

.resources-title {
  font-size: 45px;
  font-weight: 700;
  color: #382D55;
  margin-bottom: 16px;
}

.rib-img {
  width: 245px;
}

.resources-subtitle {
  font-size: 24px;
  color: #2A3658;
  margin-bottom: 42px;
  font-weight: 500;
  margin-top: 16px;
}

.resource-card {
  display: flex;
  align-items: center;
  gap: 28px;
  border-radius: 20px;
  padding: 50px;
  height: 100%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover;
  padding-left: 300px;
}

.resource-media {
  flex: 0 0 160px;
}

.resource-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

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

.resource-card h4 {
  font-size: 28px;
  font-weight: 600;
  color: #382D55;
  margin-bottom: 8px;
}

.resource-card p {
  font-size: 18px;
  color: #2A3658;
  line-height: 1.6;
  margin-bottom: 26px;
  font-weight: 500;
}

.resource-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #382D55;
  padding: 12px 22px;
  border-radius: 40px;
  box-shadow: 0 6px 18px rgba(56, 45, 85, 0.12);
  text-decoration: none;
  font-weight: 600;
}


/* attach background images for each variant (relative to the CSS file) */
.resource-card--reset {
  background-image: url('../images/letest-img/1min-reset.webp');
}

.resource-card--tracker {
  background-image: url('../images/letest-img/small-win.webp');
}

@media (max-width: 767px) {
  .resource-media {
    display: block;
    flex: 0 0 auto;
    width: 220px;
    margin: 0 auto 18px;
  }
}

/* center gap between columns without breaking Bootstrap grid */
.card-gap {
  justify-content: space-between;
  /* place columns at edges, gap forms in center */
  gap: 32px;
  /* consistent spacing between columns */
}

@media (max-width: 767px) {
  .card-gap {
    gap: 32px;
  }
}

/* PDF-focused page flow:
   Keep only the sections present in the Mother's Day PDF design. */
.enroll-section,
.age-section,
.section-label,
.different-section,
.deliver-section,
.cta-curve,
.why-trust-container,
.trust-section,
.sec-7:not(.What-Parents),
.cta-section:first-of-type {
  display: none !important;
}

.What-Parents {
  background: #ffffff;
  padding: 70px 0;
}


.hero-img-col {
  position: relative;
}

.hero-img {
  border-radius: 20px;
  width: 100%;
  object-fit: cover;
}

/* Make hero image flush to right on large screens to match design */
@media (min-width: 992px) {
  .hero {
    padding-right: 0;
  }

/* Lightweight modal for small survey (replaces SweetAlert2 to avoid external CDN) */
.md-no-scroll {
  overflow: hidden;
}


@media (max-width: 480px) {
  .mdsurvey-modal-body h2 { font-size: 20px; }
  .mdsurvey-modal-dialog { padding:18px; }
}

  .hero .container {
    position: relative;
    z-index: 1;
  }

  /* Full-bleed right-side image container */
  .hero-bleed {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
  }

  .hero-img-col {
    min-height: 420px;
  }

  /* keep left column clear of the full-bleed image */
  .hero .row>.col-lg-6:first-child {
    flex: 0 0 48%;
    max-width: 48%;
  }
}
.md-popup-crown {
    position: absolute;
    top: 12px;
    left: 30px;
    width: 78px;
}
.mdsurvey-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
}
img.md-popuprib {
    width: 240px;
    margin-bottom: 20px;
}
p.mdsurvey-modal-bold {
    font-size: 24px;
    font-weight: 600;
    color: #2A3658;
    margin-bottom: 10px;
}
.mdsurvey-modal-sub {
    color: #5B6479;
    margin-bottom: 18px;
    font-weight: 500;
}
.mdsurvey-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.mdsurvey-modal-dialog {
    position: relative;
    background: #fff;
    width: min(800px, 90%);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(22, 22, 22, 0.25);
    padding: 40px;
    z-index: 2;
}
.mdsurvey-modal-close {
  position: absolute;
  right: 12px;
  top: 8px;
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: #666;
  cursor: pointer;
}
.mdsurvey-modal-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 68px;
  font-weight: 700;
  margin: 6px 0 18px 0;
  color: #222;
}
.mdsurvey-modal-body {
    text-align: center;
}
.mdsurvey-modal-sub {
  color: #444;
  margin-bottom: 38px;
}
.mdsurvey-modal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.mdsurvey-btn {
    padding: 16px 28px;
    border-radius: 32px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
}
.md-primary {
    background: #D7757A;
    color: #fff;
}
.md-secondary { background: #fff !important; color:#D7757A; border:1px solid #D7757A; }

/* ===== WHY ENROLL SECTION ===== */
.enroll-section {
  padding: 70px 0;
  background: #EAF6F5;
  position: relative;
}

.enroll-section .section-heading {
  font-size: 45px;
  font-weight: 600;
  color: #2AA399;
  margin-bottom: 40px;
}

.enroll-section .section-heading .child-text {
  background: #2AA399;
  color: #fff;
}

.enroll-feature {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 18px 0;
  flex-direction: column;
}

.enroll-feature .ef-icon i {
  color: var(--primary);
  font-size: 1rem;
}

.enroll-feature h6 {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 12px;
  color: #3F4254;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.enroll-feature p {
  color: #84859A;
  font-size: 16px;
  margin: 0;
  line-height: 1.5;
  font-weight: 500;
}

.enroll-img {
  border-radius: 20px;
  width: 100%;
  object-fit: cover;
}

/* Make enroll image sit flush to the section right edge on large screens */
@media (min-width: 992px) {
  .enroll-section {
    position: relative;
    /* already set, but reinforce */
  }

  /* Reserve space on the right so text doesn't overlap the absolute image */
  .enroll-section .container {
    /* padding-right: 480px; */
    /* adjust if image width changes */
  }

  .enroll-section .enroll-img {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 420px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  }
}

/* ===== AGE GROUP SECTION ===== */
.age-section {
  padding: 80px 0;
  background: #FFFFFF;
}

.age-section .section-heading {
  font-size: 45px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 80px;
}

.age-section .section-heading .highlight {
  color: var(--primary);
}

.age-card {
  background: var(--white);
  border-radius: 16px;
  padding: 35px 30px;
  text-align: center;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
  height: 100%;
  border: 2px dashed #c8d8d3;
}

.age-label {
  font-size: 24px;
  font-weight: 500;
  color: #B5B5C3;
  margin-bottom: 4px;
}

.age-range {
  font-size: 28px;
  font-weight: 600;
  color: #3F4254;
  margin-bottom: 15px;
}

.age-card p {
  color: #84859A;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
}

/* Section divider with dots */
.section-divider {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 80px auto 0;
  max-width: 100%;
}

.section-divider .dot {
  width: 14px;
  height: 14px;
  min-width: 14px;
  border-radius: 50%;
  background: #b5e0d8;
}

.section-divider .line {
  flex: 1;
  height: 3px;
  background: linear-gradient(90deg, #b5e0d8, #b5e0d8);
}

/* ===== DIFFERENT SECTION ===== */
.different-section {
  padding: 80px 0;
  background: #EAF6F5;
}

.section-label {
  font-size: 45px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 60px;
  line-height: 1.3;
}

.different-section .section-heading {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 36px;
  color: #2AA399;
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.diff-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-direction: column;
}

.diff-item h6 {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.diff-item p {
  font-size: 16px;
  color: #84859A;
  margin: 0;
  font-weight: 500;
}

.diff-item-full {
  grid-column: 1 / -1;
  max-width: 50%;
}

.diff-img {
  border-radius: 20px;
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* Make the image in .different-section sit flush to the right on large screens
   Matches the enroll-section full-bleed style: absolute image at right edge */
@media (min-width: 992px) {
  .different-section {
    position: relative;
    overflow: visible;
  }

  /* Reserve right space so text doesn't overlap the absolute image */
  .different-section .container {
    /* padding-right: 480px; adjust if you want more/less visible image */
  }

  .different-section .diff-img {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 520px;
    height: auto;
  }

  /* Optionally reduce left column width so content breathes */
  .different-section .row>.col-lg-6:first-child {
    flex: 0 0 56%;
    max-width: 56%;
  }
}

/* ===== WHAT WE DELIVER ===== */
.deliver-section {
  padding: 80px 0 0;
  background: var(--white);
}

.deliver-section .section-heading {
  font-size: 45px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
}

/* Deliver row */
.deliver-row {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.deliver-row-heading {
  margin-bottom: 80px;
}

.curve-curser {
  margin-bottom: -100px;
  padding-top: 70px;
}

.deliver-row.bg-gray {
  background: #EAF6F5;
}

.deliver-row.bg-white {
  background: var(--white);
}

.deliver-number {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: #DFF1F0;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 28px;
  vertical-align: middle;
}

.deliver-title {
  font-weight: 600;
  font-size: 32px;
  color: var(--primary);
  margin: 0;
}

.deliver-desc {
  font-size: 24px;
  color: #84859A;
  line-height: 1.4;
  margin-top: 18px;
  font-weight: 500;
}

/* Image with decorative corner brackets */
.deliver-img-wrap {
  position: relative;
  display: inline-block;
}

.deliver-img-wrap img {
  border-radius: 14px;
  width: 100%;
  object-fit: cover;
  display: block;
}

/* Intervention icons grid */
.intervention-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
}

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

.ii-icon.inactive {
  margin-bottom: 40px;
}

.intervention-item p {
  font-size: 18px;
  font-weight: 600;
  color: #3F4254;
  margin: 0;
  line-height: 1.4;
}

.intervention-item p.active-text {
  color: var(--primary);
  font-weight: 600;
}

/* Decorative elements for deliver */
.deliver-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.deliver-deco-leaf {
  color: #c8ddd4;
  font-size: 28px;
}

.deliver-deco-star {
  color: var(--secondary);
  font-size: 30px;
}

@media (max-width: 767px) {
  .deliver-img-wrap img {
    margin-bottom: 20px;
  }

  .intervention-grid {
    gap: 20px;
  }

  .corner-bracket {
    width: 35px;
    height: 35px;
  }

  /* Make the Developmental Intervention grid more responsive on small screens */
  .intervention-grid {
    justify-content: center;
    margin-top: 18px;
  }

  .intervention-item {
    flex: 0 0 48%;
    max-width: 48%;
    padding: 8px 6px;
    box-sizing: border-box;
    margin-bottom: 6px;
  }

  .intervention-item .ii-icon img {
    width: 84px;
    height: 84px;
    object-fit: contain;
    margin: 0 auto 12px;
  }

  .intervention-item p {
    font-size: 15px;
  }

  /* Single-column on very small screens */
  @media (max-width: 420px) {
    .intervention-item {
      flex: 0 0 100%;
      max-width: 100%;
    }

    .intervention-item .ii-icon img {
      width: 72px;
      height: 72px;
    }
  }

  .deliver-row-heading {
    margin-bottom: 40px !important;
  }
}

/* Tablet: two-column layout for intervention items */
@media (max-width: 991px) and (min-width: 768px) {
  .intervention-grid {
    justify-content: center;
    gap: 22px;
  }

  .intervention-item {
    flex: 0 0 45%;
    max-width: 45%;
    padding: 10px 8px;
  }

  .intervention-item .ii-icon img {
    width: 96px;
    height: 96px;
  }

}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 88px 0;
  background: #FBF5F5;
  text-align: center;
  color: #382D55;
  margin: 24px 12px;
  border-radius: 48px;
}

.cta-section h2 {
  font-weight: 700;
  font-size: 45px;
}

.cta-rib {
  width: 245px;
  margin: 16px 0;
}

.cta-btn {
  background: #40305D;
  padding: 20px 42px;
  margin-bottom: 18px;
}


.cta-section p {
  font-size: 28px;
  margin-bottom: 54px;
  font-weight: 500;
}

.btn-cta-white {
  background: var(--white);
  color: var(--primary);
  border: none;
  padding: 12px 32px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.btn-cta-white:hover {
  background: #f0f0f0;
  color: var(--primary-dark);
}

.cta-sub {
  font-size: 20px !important;
  margin-top: 20px;
}

.cta-curve {
  margin-bottom: -8px;
}

/* ===== TRUST SECTION ===== */
.trust-section {
  padding: 70px 0;
  background: var(--white);
}

.why-trust-container .section-heading {
  font-size: 45px;
  font-weight: 600;
  margin-bottom: 20px;
  max-width: 800px;
  color: #2AA399;
  margin-top: 80px;
}

.trust-section .section-heading .highlight {
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

.trust-section .section-sub {
  color: #181C32;
  font-size: 26px;
  margin-bottom: 32px;
  font-weight: 500;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.trust-item .ti-check {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.trust-item .ti-check i {
  color: var(--white);
  font-size: 0.6rem;
}

.trust-item .ti-text strong {
  font-size: 0.9rem;
  font-weight: 600;
}

.trust-item .ti-text span {
  font-size: 0.85rem;
  color: var(--text-body);
}

/* Make trust-section image bleed to the viewport right on large screens */
@media (min-width: 992px) {
  .trust-section {
    position: relative;
    overflow: visible;
  }

  /* Reserve room so content doesn't overlap the absolutely-positioned image */
  .trust-section>.container {
    /* padding-right: 460px; */
  }

  .trust-bleed-right {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    max-width: 45%;
    pointer-events: none;
  }

  .trust-bleed-right img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  }
}

/* ===== TESTIMONIALS ===== */
.testimonial-section {
  padding: 70px 0;
  background: var(--light-bg);
}

.testimonial-section .section-heading {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  height: 100%;
}

.testimonial-card p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 14px;
}

/* Testimonial card sizing and reviewer name styling
   Ensure consistent height and alignment across carousel items */
.review-1,
.review-2,
.review-3,
.review-4 {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 24px;
  border-radius: 14px;
}

.review-1 p,
.review-2 p,
.review-3 p,
.review-4 p {
  margin: 0 0 12px 0;
}

.reviewer-name {
  margin-top: 12px;
  font-weight: 700;
  color: var(--text-body);
  font-size: 0.95rem;
}

/* Ensure Owl carousel items stretch to equal height */
.owl-carousel .owl-item,
.owl-carousel .review-item {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.owl-carousel .review-item>div {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Increase minimum height so content looks balanced on desktop */
@media (min-width: 992px) {
  .owl-carousel .review-item>div {
    min-height: 260px;
  }
}

/* Stronger rules for the testimonial carousel to override duplicate styles */
.sec-7 .owl-carousel .owl-item,
.sec-7 .owl-carousel .review-item {
  display: flex !important;
  align-items: stretch !important;
}

.sec-7 .review-text {
  flex: 1 1 auto !important;
  overflow: auto !important;
  margin-bottom: 8px !important;
}

.sec-7 .reviewer-name,
.sec-7 .testimonial-stars,
.sec-7 .stars {
  flex: 0 0 auto !important;
  margin-top: 8px !important;
}

@media (max-width: 991px) {

  .sec-7 .review-1,
  .sec-7 .review-2,
  .sec-7 .review-3,
  .sec-7 .review-4 {
    height: auto !important;
    padding: 40px !important;
  }
}

/* Force equal card heights on desktop and make text area scroll when needed */
@media (min-width: 992px) {
  .owl-carousel .review-item>div {
    height: 350px;
    /* fixed visual height for cards on desktop */
  }

  .owl-carousel .review-item>div .review-text {
    flex: 1 1 auto;
    overflow: auto;
    margin-bottom: 8px;
  }

  .owl-carousel .review-item>div .reviewer-name,
  .owl-carousel .review-item>div .stars {
    flex: 0 0 auto;
  }

  /* Push reviewer name and stars to the bottom of the testimonial card */
  .owl-carousel .review-item>div .reviewer-name {
    margin-top: auto;
    /* consumes remaining space */
    align-self: flex-start;
  }

  .owl-carousel .review-item>div .stars,
  .owl-carousel .review-item>div .testimonial-stars {
    align-self: flex-start;
    margin-top: 8px;
  }

  /* Ensure the text area doesn't overlap the absolute footer */
  .sec-7 .review-text {
    margin-bottom: 0px !important;
  }
}

@media (max-width: 767px) {

  .review-1,
  .review-2,
  .review-3,
  .review-4 {
    min-height: auto;
    padding: 20px;
  }

  .reviewer-name {
    margin-top: 8px;
    text-align: left;
    font-size: 0.92rem;
  }
}

.testimonial-stars i {
  color: var(--secondary);
  font-size: 0.85rem;
}

/* ===== STATS / BACKED SECTION ===== */
.stats-section {
  padding: 70px 0;
  background: linear-gradient(135deg, #f5faf8 0%, #eaf5f0 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  right: -50px;
  top: -50px;
  width: 250px;
  height: 250px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='48' fill='none' stroke='%232bbaa633' stroke-width='1'/%3E%3C/svg%3E") no-repeat;
  background-size: contain;
}

.stats-heading {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.stats-heading .exp {
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: var(--secondary);
  text-underline-offset: 4px;
}

.stats-heading .res {
  color: var(--dark);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-underline-offset: 4px;
}

.stats-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 40px;
}

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

.stat-box h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}

.stat-box p {
  font-size: 0.85rem;
  color: var(--text-body);
  margin: 0;
}

/* ===== STRUCTURED GROWTH CTA ===== */
.growth-cta {
  padding: 60px 0;
  background: var(--white);
  text-align: center;
}

.growth-cta h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.growth-cta .gc-tags {
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 25px;
}

.growth-cta .gc-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ===== FORM SECTION ===== */
.form-section {
  padding: 70px 0;
  background: linear-gradient(135deg, #e9f5f2 0%, #f0f8f5 100%);
  position: relative;
  overflow: hidden;
}

.form-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 30px;
}

.form-left img {
  border-radius: 16px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.form-left h4 {
  font-weight: 700;
  margin-top: 20px;
  font-size: 1.2rem;
}

.form-left p {
  color: var(--text-body);
  font-size: 0.88rem;
}

.form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 35px 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.form-card h3 {
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.form-card h3 span {
  color: var(--primary);
}

.form-card .form-sub {
  font-size: 0.85rem;
  color: var(--text-body);
  margin-bottom: 24px;
}

.form-card .form-label {
  font-weight: 500;
  font-size: 0.82rem;
  margin-bottom: 4px;
  color: var(--dark);
}

.form-card .form-control,
.form-card .form-select {
  padding: 10px 14px;
  border: 1.5px solid #dce8e4;
  border-radius: 8px;
  font-size: 0.85rem;
  background: #fafcfb;
}

.form-card .form-control:focus,
.form-card .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(43, 186, 166, 0.1);
}

.btn-submit {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  width: 100%;
  transition: all 0.3s;
}

.btn-submit:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 14px;
}

a:-webkit-any-link:focus-visible {
  outline-offset: 0px;
}

.form-guide {
  text-align: center;
  color: var(--text-body);
  font-size: 0.85rem;
  margin-top: 8px;
}

/* ===== FOOTER ===== */
footer {
  padding: 20px 0;
  background: var(--dark);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-img {
    height: 300px;
    margin-top: 30px;
  }

  .diff-grid {
    grid-template-columns: 1fr;
  }

  .diff-item-full {
    max-width: 100%;
  }

  .diff-img {
    height: 260px;
    margin-top: 30px;
  }
}

@media (max-width: 767px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .section-heading {
    font-size: 1.5rem !important;
    margin-bottom: 20px !important;
  }

  .mobile-reverse {
    flex-direction: column-reverse;
  }

  .cta-section h2 {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .cta-crown {
    top: -50px;
    left: -10px;
    width: 66px;
  }

  .cta-section {
    margin: 16px 8px;
    border-radius: 24px;
    padding: 56px 8px;
  }

  .cta-rib {
    width: 124px;
    margin: 0px 0;
  }

  .trust-section {
    padding: 40px 0;
  }

  .cta-section p {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .hero-img {
    height: 250px;
  }

  .stat-box h2 {
    font-size: 2rem;
  }

  .form-card {
    padding: 25px 20px;
  }
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* updated code end  */
/* HEADER */

.header {
  height: 118px;
}

.header-contact {
  width: 600px;
}
.top-btn {
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #d7757a !important;
}
a.text-top {
    color: #d7757a;
    padding: 15px 32px;
    background: #00000000;
    border-radius: 60px;
}
a.text-top:hover{
  background: #d7757a;
  color: #fff;
}


.reach-out {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #D9D9D9;
    border-radius: 60px;
    padding: 15px 50px;
    margin: 0px 40px 0 40px;
    margin-top: 20px;
}

.reach-text {
  font-size: 18px;
  font-weight: 600;
}

.phone-link {
  color: #111827;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
}

.divider-line {
  width: 1px;
  height: 30px;
  background: #D9D9D9;
}

/* TESTIMONIALS */

.sec-7 {
  padding: 0;
  background-color: #FEFBF4;
  margin: 12px;
  border-radius: 48px;
}

.heading-new {
  font-size: 46px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 80px;
  color: #2AA399;
}

.review-text {
  font-size: 18px;
  color: #3E3E3F;
}

.sec-7 .review-1,
.sec-7 .review-2,
.sec-7 .review-3,
.sec-7 .review-4 {
  padding: 50px 40px;
  border-radius: 20px 60px;
  margin: 10px;
}

.review-1 {
  background: #FFFFFF;
}

.review-2 {
  background: #FFFFFF;
}

.review-3 {
  background: #FFFFFF;
}

.review-4 {
  background: #FFFFFF;
}

/* OWL CAROUSEL */

.owl-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.owl-carousel button.owl-dot {
  background: #A5D7D2 !important;
  width: 10px;
  height: 10px;
  border-radius: 8px;
}

button.owl-dot.active {
  background: #2AA399 !important;
}

/* ABOUT SECTION */
.about-title {
  font-size: 45px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
}

.about-desc {
  font-size: 18px;
  line-height: 1.4;
  color: #2A3658;
  margin-bottom: 25px;
  font-weight: 500;
}

.about-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 18px;
}

.about-stat {
  position: relative;
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-stat img {
  width: 56px;
  height: auto;
  display: block;
}

.stat-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-stat-number {
  font-size: 28px;
  font-weight: 600;
  color: #40305D;
  line-height: 1;
}

.about-stat-label {
  font-size: 16px;
  color: #2A3658;
  margin-top: 6px;
  font-weight: 500;
}

.about-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: rgba(56, 45, 85, 0.08);
}

label.form-label {
  font-weight: 600;
}

.about-desc2 {
  display: flex;
  gap: 40px;
}

.about-desc2 img {
  width: 100px;
  height: fit-content;
}

/* CTA hero (Take the first step) */
.cta-hero {
  background: #FEF8F8;
  border-radius: 28px;
  padding: 36px 28px;
  margin: 18px 0;
  overflow: hidden;
}

.cta-hero .about-title {
  font-size: 48px;
  line-height: 1.04;
  color: #382D55;
  margin-bottom: 10px;
  font-weight: 700;
}

.cta-hero .cta-rib {
  width: 200px;
  margin: 12px 0 18px;
  display: block;
}

.cta-hero .about-desc {
  font-size: 18px;
  color: #5B6479;
  margin-bottom: 22px;
  font-weight: 500;
}

.cta-hero .cta-btn {
  background: #382D55;
  color: #fff;
  padding: 14px 28px;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(56, 45, 85, 0.12);
  text-decoration: none;
  font-weight: 700;
}

.cta-hero .cta-subtext {
  margin-top: 12px;
  color: #6e7480;
  font-size: 13px;
}

.cta-hero .sec-6-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 20px 20px 0;
  display: block;
}

/* Prevent the CTA columns from wrapping on large screens */
@media (min-width: 992px) {
  .cta-hero .row {
    flex-wrap: nowrap;
    align-items: center;
  }

  .cta-hero .about-moms-belief-content {
    flex: 0 0 58%;
    max-width: 58%;
    order: 1;
    padding-right: 24px;
  }

  .cta-hero .sec-6-img {
    flex: 0 0 42%;
    max-width: 42%;
    order: 2;
  }
}

@media (max-width: 991px) {
  .cta-hero {
    padding: 22px;
  }

  .cta-hero .about-title {
    font-size: 32px;
    text-align: center;
  }

  .cta-hero .sec-6-img {
    margin-top: 18px;
  }

  .cta-hero .row {
    align-items: center;
  }

  .cta-hero .about-moms-belief-content {
    text-align: center;
  }

  .cta-hero .sec-6-img img {
    border-radius: 18px;
  }

  .cta-hero .cta-rib {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-hero .about-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-hero .cta-btn {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-hero .about-moms-belief-content,
  .cta-hero .sec-6-img {
    flex: 0 0 100%;
    max-width: 100%;
    order: initial;
  }
}

.about-bold {
  font-weight: 600;
}

.about-btn {
  display: inline-block;
  background: #377DEC;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
}

/* FORM SECTION */

.sec-9 {
  background: #FEF8F8;
  padding: 88px 0;
  margin: 24px 12px;
  border-radius: 48px;
}

.cta-sec {
  background: #fff;
  border-radius: 32px;
  overflow: hidden;
}

.sec-9-img {
  background-image: url('../images/letest-img/consultation.webp');
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center top;
  background-color: #f5f8fa;
}

.form-left-content {
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.form-main-title {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
}

.form-note {
  font-size: 18px;
  color: #fff;
}

.sec-9-form {
    padding: 54px 40px 20px 40px;
}

.form-heading {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 30px;
}

.form-control {
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 12px 16px;
}

.fa-phone {
  color: #D7757A;
  margin-right: 10px;
}

.btn-class {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 36px;
  background: var(--primary);
  border: none;
  border-radius: 40px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-class:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-class .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

/* hide any legacy floating icon */
.form-icon {
  display: none !important;
}

.before-after {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    margin-top: 10px;
}
.before-after::before,
.before-after::after {
  content: '';
  display: block;
  height: 1px;
  flex: 1 1 0;
  background: linear-gradient(90deg, rgba(0,0,0,0), #e6e6e6 45%, #e6e6e6 55%, rgba(0,0,0,0));
}

.or-class {
    display: inline-block;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.6px;
}

@media (max-width: 480px) {
  .before-after { margin: 14px 0; gap: 12px; }
  .or-class { padding: 6px 12px; font-size: 14px; }
  .before-after::before, .before-after::after { height: 1px; }
}

.form-icon {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: #fff;
}

/* =========================
   TABLET VIEW
========================= */

@media (max-width: 992px) {

  .header {
    height: auto;
    padding: 10px 0;
  }

  .header-contact {
    width: auto;
    margin-top: 10px;
  }

  .reach-out {
    padding: 12px 20px;
  }

  .heading-new {
    font-size: 32px;
  }

  .about-title {
    font-size: 32px;
  }

  .about-stats {
    gap: 40px;
  }

  .form-main-title {
    font-size: 32px;
  }

  .form-heading {
    font-size: 26px;
  }


}

img.hero-bleed-img-mobile {
  display: none;
}

/* =========================
   MOBILE VIEW
========================= */

@media (max-width:768px) {

  /* HEADER */

  .header {
    height: auto;
    margin: 0;
    padding: 10px;
    margin-bottom: 0px !important;
    border-bottom: 1px solid #ebebeb;
  }

  .header-logo {
    position: relative;
    top: 0;
    left: 0;
    z-index: 1000;
  }

  .header-logo img {
    max-width: 130px;
  }

  img.hero-bleed-img-mobile {
    display: block;
  }

  .reach-out {
    padding: 8px 20px;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .divider-line {
    display: none;
  }

  .reach-text {
    font-size: 16px;
  }

  .phone-link {
    font-size: 16px;
  }


  /* TESTIMONIAL */

  .sec-7 {
    padding: 24px 8px;
    border-radius: 24px;
    margin: 8px;
  }

  .about-moms-belief-content {
    margin-top: 0px;
  }

  .about-desc2 img {
    width: 90px;
  }

  .heading-new {
    font-size: 24px;
    line-height: 1.4;
  }

  .review-text {
    font-size: 16px;
  }

  .sec-7 .review-1,
  .sec-7 .review-2,
  .sec-7 .review-3,
  .sec-7 .review-4 {
    padding: 25px 20px;
  }


  /* ABOUT */

  .about-desc {
    font-size: 14px;
    margin-bottom: 24px;
    text-align: left;
    margin-top: 12px;
  }

  .about-bleed-left-img {
    display: none;
  }

  .about-bleed-left-mobile {
    display: block;
    width: 100%;
    height: auto;
  }

  .top-btn{
    margin: 0px 28px;
  }
  a.text-top {
    padding: 6px 32px;
    width: 200px;
    font-size: 12px !important;
}
  .about-stats {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    align-items: flex-start;
  }

  .about-stat img {
    width: 40px;
  }

  .about-stat {
    justify-content: center;
    gap: 16px;
  }

  .about-stat:not(:last-child)::after {
    display: none;
  }

  .about-stat-number {
    font-size: 20px;
  }

  .about-stat-label {
    font-size: 14px;
  }

  .about-desc2 {
    font-size: 16px;
    text-align: center;
  }

  .about-btn {
    display: block;
    margin: auto;
    text-align: center;
  }
  .mdsurvey-modal-dialog {
    padding: 18px;
}
.md-popup-crown {
    top: 2px;
    left: 10px;
    width: 40px;
}
img.md-popuprib {
    width: 110px;
    margin-bottom: 10px;
}
.mdsurvey-modal-body h2 {
    font-size: 28px;
    margin: 6px 0 10px 0;
}
p.mdsurvey-modal-bold {
    font-size: 14px;
    margin-bottom: 6px;
}
.mdsurvey-btn {
    padding: 12px 24px;
    font-size: 12px;
}
.mdsurvey-modal-sub {
    margin-bottom: 24px;
    font-size: 14px;
}


  /* FORM */

  .sec-9 {
    padding: 24px 8px;
    margin: 16px 8px;
    border-radius: 24px;
  }

  .sec-9-form {
    padding: 30px 20px;
  }

  .form-main-title {
    font-size: 24px;
    margin-bottom: 0;
  }

  .form-note {
    font-size: 14px;
  }

  .form-heading {
    font-size: 24px;
    text-align: left;
  }

  .form-control {
    font-size: 16px;
  }

  .btn-class {
    padding: 10px 18px;
    font-size: 12px;
  }

  .form-icon {
    display: none;
  }

  /* Mobile stacking & spacing improvements (safe, mobile-only)
     - Keep desktop intact; these rules only apply <=768px
  */
  .hero {
    padding: 0;
  }

  .mob-padding {
    padding: 32px 12px 0;
  }

  .hero h1 {
    font-size: 48px;
    line-height: 1.2;
  }

  .hero-desc {
    font-size: 18px;
    margin-bottom: 17px;
  }

  .hero-keywords {
    margin-bottom: 17px;
    margin-left: 30px;
  }

  .btn-book {
    padding: 12px 16px;
    font-size: 10px;
    margin-bottom: 12px;
  }

  .cta-subtext {
    font-size: 14px;
  }

  img.crown-img {
    position: absolute;
    right: 5px;
    top: 52px;
    width: 46px;
  }

  img.crown-under-img {
    position: absolute;
    right: 60px;
    top: 110px;
    width: 50px;
  }

  .story-section {
    padding: 24px 0 18px;
    margin: 0;
    border: 8px solid #fff;
    margin-top: -18px;
    border-radius: 24px;
  }

  .story-section .container {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 8px;
    border-radius: 26px;
  }

  .story-title {
    font-size: 20px;
    margin-bottom: 24px;
    text-align: left;
  }

  .story-text-flex {
    display: inline;
  }

  .story-wrap {
    max-width: 100%;
  }

  .story-list {
    margin-top: 0;
  }

  .story-item {
    padding: 12px 0;
  }

  .story-icon img {
    width: 36px;
    height: 36px;
  }

  .story-icon {
    margin-top: -14px;
  }

  .story-bold,
  .story-rest {
    font-size: 14px;
  }

  .story-image {
    max-width: 100%;
  }

  .story-wrap .story-highlight {
    padding: 10px 22px;
    font-size: 14px;
  }

  .question-section {
    background: #FEF8F8;
    margin: 0 8px 8px 8px;
    border-radius: 24px;
    padding: 0;
  }

  .question-wrap {
    padding: 24px 8px 0 !important;
  }

  .question-wrap h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .question-wrap p {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .resources-section {
    padding: 24px 0 24px;
    border-radius: 24px;
    margin: 16px 8px;
  }

  .resources-title {
    font-size: 20px;
  }

  .rib-img {
    width: 140px;
  }

  .resources-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .resource-card {
    gap: 6px;
    border-radius: 20px;
    padding: 24px 8px 24px;
    padding-left: 170px;
    background-position: -18px center;
  }

  .btn-class .btn-icon {
    width: 28px;
    height: 28px;
  }

  .resource-card h4 {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .resource-card p {
    font-size: 12px;
    margin-bottom: 14px;
  }

  .hero-bleed {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 14px;
    overflow: hidden;
  }



  /* Reduce large section paddings on small screens */
  .deliver-row,
  .different-section,
  .enroll-section,
  .trust-section {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .deliver-img-wrap img,
  .enroll-img,
  .diff-img {
    object-fit: cover;
    width: 100%;
  }

  /* Make trust/about bleed images stack below text on mobile */
  .trust-bleed-right,
  .What-Parents .sec-6-img.about-bleed-left {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 16px;
    pointer-events: auto;
  }

  /* Carousel: ensure flexible heights on mobile */
  .owl-carousel .owl-item,
  .owl-carousel .review-item {
    height: auto !important;
    align-items: stretch !important;
  }

  /* Form: make left image section collapse so form gets priority */
  .sec-9 .sec-9-img {
    display: none;
  }

  /* Compact form paddings for narrow screens */
  .sec-9-form {
    padding: 24px 15px;
  }

  .sec-9 .form-left-content {
    padding: 0 15px 15px;
  }


  /* Mobile-only: reserve space under inputs for validation labels to avoid overlap */
  .sec-9-form .mb-3 {
    position: relative;
  }

  .section-label {
    font-size: 1.5rem;
  }

  .form-left-content {
    min-height: 350px;
    padding: 30px 20px 20px 20px;
    ;
  }

  .deliver-row {
    padding: 40px 0px;
  }

  .deliver-title {
    font-size: 22px;
  }

  .deliver-desc {
    font-size: 18px;
  }

  .deliver-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 18px;
  }
}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width:480px) {

  .heading-new {
    font-size: 20px;
    margin-bottom: 40px;
  }

  .about-title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .reach-text {
    font-size: 14px;
    display: none;
  }

  .phone-link {
    font-size: 14px;
  }

}


@media (max-width: 991px) {
  .What-Parents .sec-6-img.about-bleed-left {
    position: static;
    transform: none;
    width: 100%;
    max-width: 100%;
  }
}