/* Homepage-only refinement layer.
   Keep this file last in the cascade so the homepage remains stable while
   shared public-page styles continue to evolve independently. */

.home-page {
  --home-section-space: clamp(4.5rem, 8vw, 7.5rem);
  --home-card-radius: 16px;
}

.home-page .home_banner_outer {
  overflow: hidden;
}

.home-page .banner2-con {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(2rem, 4vh, 3.5rem) 0;
}

.home-page .hero-layout-row {
  width: 100%;
  align-items: center;
  row-gap: 3rem;
}

.home-page .hero-layout-text {
  position: relative;
  z-index: 3;
}

.home-page .banner_content {
  max-width: 610px;
}

.home-page .banner-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid rgba(220, 253, 125, 0.3);
  border-radius: 999px;
  background: rgba(220, 253, 125, 0.08);
  color: #e8f7b7;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.home-page .hero-title {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.home-page .hero-subtitle {
  max-width: 56ch;
  margin-bottom: 2rem;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.home-page .button_wrap {
  gap: 12px;
}

.home-page #heroBookCta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 218px;
}

.home-page .hero-layout-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-page .hero-classroom {
  margin: 0 auto;
}

.home-page .trusted-companies-con {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(16, 42, 86, 0.1);
  background: #ffffff;
}

.home-page .marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.home-page .marquee-track {
  min-width: max-content;
  gap: 1.25rem;
  color: var(--rr-navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page .marquee-dot {
  color: #80a31b;
}

.home-page .about-con,
.home-page .services-con,
.home-page .course-con-section,
.home-page .benefit-con,
.home-page .testimonial2-con {
  padding-top: var(--home-section-space);
  padding-bottom: var(--home-section-space);
}

.home-page .about-layout-row {
  align-items: center;
  row-gap: 2.5rem;
}

.home-page .about_content {
  max-width: 600px;
}

.home-page .about_content h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.home-page .about_content > p {
  max-width: 62ch;
}

.home-page .about_content li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.home-page .about_content li i {
  flex: 0 0 auto;
  margin-top: 0.35rem;
  color: var(--rr-blue);
}

.home-page .about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 2rem 0;
}

.home-page .about-stat {
  min-width: 0;
  padding: 14px 12px;
  border: 1px solid var(--rr-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.home-page .about-stat-num,
.home-page .about-stat-label {
  display: block;
}

.home-page .about-stat-num {
  color: var(--rr-navy);
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1;
}

.home-page .about-stat-label {
  margin-top: 6px;
  color: var(--rr-muted);
  font-size: 0.72rem;
  line-height: 1.3;
}

.home-page .why-header,
.home-page .course-section-header {
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.home-page .why-title {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.home-page .why-subtitle {
  max-width: 62ch;
  margin-right: auto;
  margin-left: auto;
}

.home-page .services-grid,
.home-page .why-grid {
  align-items: stretch;
}

.home-page .service-card,
.home-page .why-card,
.home-page .course-box {
  border-radius: var(--home-card-radius);
}

.home-page .service-card,
.home-page .why-card {
  height: 100%;
}

.home-page .tabs-box {
  overflow: hidden;
}

.home-page .tabs-options .nav-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 2rem;
  border: 0;
}

.home-page .tabs-options .nav-tabs li {
  margin: 0;
}

.home-page .tabs-options .nav-tabs li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--rr-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--rr-navy);
  font-size: 0.82rem;
  font-weight: 700;
}

.home-page .tabs-options .nav-tabs li a:hover,
.home-page .tabs-options .nav-tabs li a.active {
  border-color: var(--rr-blue);
  background: var(--rr-blue);
  color: #ffffff;
}

.home-page .course-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.home-page .course-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--rr-line);
  background: #ffffff;
  box-shadow: var(--rr-shadow-sm);
}

.home-page .course-box .image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.home-page .course-box .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.home-page .course-box:hover .image img {
  transform: scale(1.04);
}

.home-page .course-box .lower_content {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.home-page .course-box .value {
  margin-top: auto;
}

.home-page .contactform-con {
  padding-top: clamp(4.5rem, 8vw, 7rem);
  padding-bottom: clamp(4.5rem, 8vw, 7rem);
}

.home-page #orientationForm {
  margin-top: 1.5rem;
}

.home-page #orientationForm .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.home-page #orientationForm .form-group {
  width: 100%;
  margin: 0;
  padding: 0;
}

.home-page #orientationForm .form-label {
  display: block;
  margin: 0 0 7px;
  color: var(--rr-navy);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}

.home-page #orientationForm .form_style {
  display: block;
  width: 100%;
  min-height: 50px;
  border-radius: 8px;
}

.home-page #orientationForm textarea.form_style {
  min-height: 100px;
  resize: vertical;
}

.home-page #submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

@media (max-width: 767.98px) {
  .home-page #orientationForm .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.home-page .testimonial2-con .row {
  align-items: center;
  row-gap: 3rem;
}

@media (max-width: 1199px) {
  .home-page .hero-title {
    font-size: clamp(2.6rem, 5vw, 4.4rem);
  }

  .home-page .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .home-page .banner2-con {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .home-page .banner_content {
    max-width: 680px;
    margin: 0;
    text-align: left;
  }

  .home-page .hero-title {
    max-width: 12ch;
    margin-right: 0;
    margin-left: 0;
  }

  .home-page .hero-subtitle {
    margin-right: 0;
    margin-left: 0;
  }

  .home-page .button_wrap {
    justify-content: flex-start !important;
  }

  .home-page .about_content {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .home-page .banner2-con {
    min-height: 100vh;
    min-height: 100svh;
    height: auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .home-page .hero-layout-row {
    row-gap: 1rem;
  }

  .home-page .hero-title {
    font-size: clamp(2.45rem, 11vw, 3.8rem);
  }

  .home-page .hero-classroom {
    width: min(100%, 560px);
    margin-top: 0;
  }

  .home-page .about-stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .tabs-options .nav-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 3px 2px 8px;
    margin-right: -16px;
    margin-left: -16px;
    padding-right: 16px;
    padding-left: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .home-page .tabs-options .nav-tabs::-webkit-scrollbar {
    display: none;
  }

  .home-page .tabs-options .nav-tabs li {
    flex: 0 0 auto;
  }

  .home-page .course-grid {
    grid-template-columns: 1fr;
  }

  .home-page .home-director-showcase {
    margin-top: 1rem;
  }
}

@media (max-width: 575px) {
  .home-page .banner-kicker {
    font-size: 0.64rem;
    letter-spacing: 0.05em;
  }

  .home-page .hero-title {
    font-size: clamp(2.25rem, 12vw, 3.2rem);
  }

  .home-page #heroBookCta {
    width: 100%;
  }

  .home-page .hero-classroom {
    width: 112%;
    max-width: none;
    margin-left: -6%;
  }

  .home-page .about-stats-row {
    gap: 8px;
  }

  .home-page .about-stat {
    padding: 12px 10px;
  }

  .home-page .about-stat-label {
    font-size: 0.66rem;
  }

  .home-page .home-director-showcase {
    padding: 16px;
  }
}

/* Keep the homepage footer in the same navy palette as the hero. */
.home-page .footer-con {
  padding: clamp(3.75rem,7vw,6rem) 0 0;
  background: linear-gradient(145deg,#081225 0%,#101a2d 55%,#10234a 100%);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
}
.home-page .footer-card { display: flex; width: 100%; align-items: center; }
.home-page .footer-card > .container { width: min(100% - 40px, 1120px); margin: 0 auto; }
.home-page .footer-brand-logo {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.home-page .footer-brand-logo:hover,
.home-page .footer-brand-logo:focus-visible { border: 0; background: transparent; }
.home-page .footer-brand-logo img { width: 164px; max-height: 58px; }
.home-page .footer-contact-block .footer-social-bubble {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  margin: 0 0 15px;
}
.home-page .footer-contact-block .footer-social-bubble a { flex: 0 0 36px; }

/* Footer brand lockup and navigation hierarchy. */
.home-page .footer-con {
  padding: clamp(3.75rem,7vw,6rem) 0 0;
  background: linear-gradient(145deg,#081225 0%,#101a2d 55%,#10234a 100%);
}
.home-page .footer-contact-block { align-items: flex-start; }
.home-page .footer-brand-logo {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  width: fit-content;
  margin: 0 0 13px;
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.045);
  transition: border-color .18s ease,background .18s ease;
}
.home-page .footer-brand-logo:hover,
.home-page .footer-brand-logo:focus-visible { border-color: rgba(220,253,125,.42); background: rgba(220,253,125,.07); }

.home-page .footer-brand-logo {
  margin-bottom: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.home-page .footer-brand-logo:hover,
.home-page .footer-brand-logo:focus-visible { border: 0; background: transparent; }
.home-page .footer-brand-logo img { width: 164px; max-height: 58px; }
.home-page .footer-contact-block .footer-social-bubble { flex-direction: row; align-items: center; }
.home-page .footer-card > .container { position: relative; }
.home-page .footer-reference-top {
  grid-template-columns: minmax(230px,.9fr) minmax(0,1.55fr);
  gap: clamp(2rem,7vw,6rem);
  padding-bottom: clamp(2.5rem,5vw,4rem);
}
.home-page .footer-contact-block { max-width: 330px; }
.home-page .footer-brand-logo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 13px;
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.045);
  transition: border-color .18s ease,background .18s ease;
}
.home-page .footer-brand-logo:hover,
.home-page .footer-brand-logo:focus-visible { border-color: rgba(220,253,125,.42); background: rgba(220,253,125,.07); }
.home-page .footer-brand-logo img { display: block; width: 145px; height: auto; max-height: 52px; object-fit: contain; }
.home-page .footer-brand-tagline {
  max-width: 280px;
  margin: 0 0 19px;
  color: rgba(255,255,255,.62);
  font-size: .78rem;
  line-height: 1.65;
}
.home-page .footer-contact-block .footer-social-bubble { gap: 8px; margin: 0 0 16px; }
.home-page .footer-contact-block .footer-social-bubble a { width: 36px; height: 36px; border-color: rgba(255,255,255,.2); font-size: .84rem; }
.home-page .footer-address { gap: 7px; }
.home-page .footer-address span { margin-bottom: 2px; color: rgba(255,255,255,.46); font-size: .69rem; }
.home-page .footer-address a { color: rgba(255,255,255,.76); font-size: .75rem; }
.home-page .footer-reference-links { gap: clamp(1.25rem,3vw,2.5rem); padding-top: 7px; }
.home-page .footer-reference-links .footer-col h5 { margin-bottom: 15px; color: var(--rr-lime,#dcfd7d); font-size: .68rem; font-weight: 700; letter-spacing: .1em; }
.home-page .footer-reference-links .footer-col ul { gap: 10px; }
.home-page .footer-reference-links .footer-col a { display: inline-flex; color: rgba(255,255,255,.66); font-size: .76rem; transition: color .18s ease,transform .18s ease; }
.home-page .footer-reference-links .footer-col a:hover,
.home-page .footer-reference-links .footer-col a:focus-visible { transform: translateX(2px); color: #dcfd7d; }
.home-page .footer-reference-divider { border-color: rgba(255,255,255,.13); }
.home-page .footer-reference-divider p { color: rgba(255,255,255,.57); }
.home-page .footer-start-link { padding: 10px 17px; box-shadow: 0 5px 18px rgba(255,255,255,.08); }
.home-page .footer-reference-bottom { padding-top: 16px; }
.home-page .footer-reference-bottom p,
.home-page .footer-reference-bottom a { color: rgba(255,255,255,.43); font-size: .65rem; }
.home-page .footer-wordmark { margin-top: clamp(2.5rem,5vw,4rem); color: rgba(255,255,255,.095); }
@media (max-width: 767px) {
  .home-page .footer-reference-top { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
  .home-page .footer-contact-block { max-width: none; }
  .home-page .footer-reference-links { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
  .home-page .footer-reference-divider { align-items: center; flex-direction: row; }
}
@media (max-width: 480px) {
  .home-page .footer-reference-links { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 1.5rem; }
  .home-page .footer-reference-links .footer-col:last-child { grid-column: 1 / -1; }
  .home-page .footer-reference-divider { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Parent-first learning pathway */
.home-page .hero-secondary-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 4px;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.home-page .hero-secondary-cta:hover,
.home-page .hero-secondary-cta:focus-visible {
  color: #dcfd7d;
}

.home-page .hero-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 1.25rem 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  list-style: none;
}

.home-page .hero-trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.home-page .hero-trust-list i {
  color: #dcfd7d;
}

.home-page .proof-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
}

.home-page .proof-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  color: var(--rr-navy);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.home-page .proof-item i {
  color: var(--rr-blue);
  font-size: 1rem;
}

.home-page .legacy-course-browser {
  display: none !important;
}

.home-page .learning-pathway {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.home-page .pathway-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 1.5rem;
  border: 1px solid var(--rr-line);
  border-radius: var(--home-card-radius);
  background: #fff;
  box-shadow: var(--rr-shadow-sm);
}

.home-page .pathway-image {
  height: 128px;
  margin: -1.5rem -1.5rem 1.25rem;
  overflow: hidden;
  background: #edf2f2;
}

.home-page .pathway-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.home-page .pathway-card:hover .pathway-image img {
  transform: scale(1.04);
}

.home-page .pathway-card h3 {
  margin: 0.7rem 0 0.6rem;
  color: var(--rr-navy);
  font-size: 1.35rem;
}

.home-page .pathway-card p {
  color: var(--rr-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.home-page .pathway-kicker {
  color: var(--rr-blue);
  font-size: 0.7rem;
   font-weight: 100;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-page .pathway-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--rr-navy);
  font-size: 0.85rem;
   font-weight: 100;
  text-decoration: none;
}

.home-page .pathway-card a:hover,
.home-page .pathway-card a:focus-visible {
  color: var(--rr-blue);
}

.home-page .support-finder {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: #ffffff;
}

.home-page .support-finder-inner {
  display: grid;
  grid-template-columns: minmax(250px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(16, 42, 86, 0.06);
  border-radius: 28px;
  background: #f7f6f2;
  box-shadow: 0 18px 50px rgba(8, 18, 37, 0.06);
}

.home-page .support-finder h2 {
  max-width: 13ch;
  margin: 1rem 0 0.8rem;
  color: var(--rr-navy);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.home-page .support-finder-inner > div:first-child p {
  max-width: 42ch;
  margin-bottom: 0;
  color: var(--rr-muted);
}

.home-page .support-finder-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(220, 253, 125, 0.45);
  color: #5b7410;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-page .support-finder-kicker i {
  color: #8eaf21;
  font-size: 0.45rem;
}

.home-page .support-finder-steps {
  display: grid;
  gap: 1.8rem;
}

.home-page .support-finder-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-page .support-finder-progress::before {
  position: absolute;
  top: 21px;
  right: 12%;
  left: 12%;
  height: 2px;
  background: linear-gradient(90deg, #d8e2ee, #dcfd7d, #d8e2ee);
  content: "";
}

.home-page .support-finder-progress li {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: var(--rr-navy);
  font-size: 0.82rem;
  text-align: center;
}

.home-page .support-finder-progress li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 5px solid #f7f6f2;
  border-radius: 50%;
  background: #dceafa;
  color: var(--rr-navy);
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.home-page .support-finder-progress li:nth-child(2) span {
  background: #d8f6f1;
}

.home-page .support-finder-progress li:nth-child(3) span {
  background: #dceafa;
}

.home-page .support-finder-progress li strong {
  font-weight: 700;
}

.home-page .support-finder-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  background: var(--rr-navy);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.home-page .support-finder-button:hover,
.home-page .support-finder-button:focus-visible {
  background: var(--rr-blue);
  color: #ffffff;
  transform: translateY(-2px);
}

.home-page .progress-list {
  margin: 0.75rem 0 1.2rem;
  padding-left: 1.1rem;
  color: var(--rr-muted);
  font-size: 0.85rem;
  line-height: 1.9;
}

.home-page .review-section {
  overflow: hidden;
  background: var(--rr-navy);
  color: rgba(255, 255, 255, 0.82);
  padding-top: clamp(4rem, 6vw, 6rem);
  padding-bottom: clamp(4rem, 6vw, 6rem);
}

.home-page .review-section::before {
  display: none;
}

.home-page .review-header {
  max-width: 650px;
  margin-bottom: 2rem;
}

.home-page .review-header h2 {
  max-width: 24ch;
  margin: 1rem 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.home-page .review-header p {
  max-width: 58ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.home-page .review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(250px, 0.8fr);
  gap: 1rem;
  align-items: stretch;
}

.home-page .review-card,
.home-page .review-proof {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--home-card-radius);
}

.home-page .review-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--rr-text);
}

.home-page .review-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.home-page .review-quote {
  color: #b0d052;
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 0.6;
}

.home-page .review-stars {
  display: inline-flex;
  gap: 3px;
  color: #b0d052;
  font-size: 0.75rem;
}

.home-page .review-card > p {
  margin: 1.25rem 0 2rem;
  color: var(--rr-navy);
  font-size: 1rem;
  line-height: 1.75;
}

.home-page .review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.home-page .review-author strong,
.home-page .review-author span {
  display: block;
}

.home-page .review-author strong {
  color: var(--rr-navy);
  font-size: 0.82rem;
}

.home-page .review-author span {
  margin-top: 2px;
  color: var(--rr-muted);
  font-size: 0.72rem;
}

.home-page .review-proof {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
}

.home-page .review-proof-label {
  color: #dcfd7d;
  font-size: 0.72rem;
   font-weight: 100;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page .review-proof ul {
  display: grid;
  gap: 1rem;
  margin: 1.4rem 0 1.75rem;
  padding: 0;
  list-style: none;
}

.home-page .review-proof li {
  display: flex;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  line-height: 1.45;
}

.home-page .review-proof li i {
  flex: 0 0 auto;
  margin-top: 0.2rem;
  color: #dcfd7d;
}

.home-page .review-proof > a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.82rem;
   font-weight: 100;
  text-decoration: none;
}

.home-page .review-proof > a:hover,
.home-page .review-proof > a:focus-visible {
  color: #dcfd7d;
}

.home-page .mobile-consultation-cta {
  display: none;
}

/* Compact, editorial footer */
.home-page .footer-con {
  padding: clamp(3.5rem, 7vw, 6rem) 0 1.5rem;
  background: #101a2d;
  color: rgba(255, 255, 255, 0.72);
}

.home-page .footer-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .footer-social-bubble {
  position: static;
  display: inline-flex;
  gap: 0.5rem;
  margin: 0 0 2.5rem;
  padding: 0;
  background: transparent;
}

.home-page .footer-social-bubble a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
}

.home-page .footer-top {
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.9fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.home-page .footer-left {
  max-width: 420px;
}

.home-page .footer-kicker {
  margin-bottom: 0.75rem;
  color: #dcfd7d;
  font-size: 0.72rem;
   font-weight: 100;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page .footer-title {
  margin-bottom: 1.5rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.home-page .footer-brand {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.home-page .footer-logo {
  flex: 0 0 92px;
  margin: 0;
}

.home-page .footer-brand .brand-tagline {
  max-width: 260px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  line-height: 1.55;
}

.home-page .footer-links {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.home-page .footer-col {
  min-width: 0;
}

.home-page .footer-col h5 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-page .footer-col ul li {
  margin-bottom: 0.35rem;
}

.home-page .footer-col ul li a,
.home-page .footer-contact-panel ul li a span {
  min-height: 0;
  padding: 0.2rem 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.4;
}

.home-page .footer-col ul li a:hover,
.home-page .footer-col ul li a:focus-visible,
.home-page .footer-bottom-links a:hover,
.home-page .footer-bottom-links a:focus-visible {
  color: #dcfd7d;
}

.home-page .footer-contact-panel {
  padding: 0;
  border: 0;
  background: transparent;
}

.home-page .footer-contact-panel ul li a {
  gap: 0.55rem;
}

.home-page .footer-contact-panel ul li a i {
  color: #dcfd7d;
}

.home-page .footer-hours-text {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
}

.home-page .footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.home-page .footer-bottom p,
.home-page .footer-company-reg,
.home-page .footer-admin-access {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.7rem;
}

.home-page .footer-bottom-links {
  display: flex;
  gap: 1rem;
}

.home-page .footer-bottom-links a,
.home-page .footer-admin-access a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
}

.home-page .footer-company-reg {
  margin-top: 0.9rem;
}

.home-page .footer-admin-access {
  margin-top: 0.4rem;
}

@media (max-width: 991px) {
  .home-page .learning-pathway {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .support-finder-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .home-page .support-finder h2 {
    max-width: 18ch;
  }

  .home-page .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .review-header h2 {
    max-width: 18ch;
  }

  .home-page .review-proof {
    grid-column: 1 / -1;
  }

  .home-page .footer-top {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .home-page .footer-left {
    max-width: 560px;
  }
}

@media (max-width: 767px) {
  .home-page .proof-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .home-page .proof-item {
    justify-content: flex-start;
    font-size: 0.7rem;
    text-align: left;
  }

  .home-page .hero-trust-list {
    justify-content: center;
    text-align: left;
  }

  .home-page .support-finder-form {
    grid-template-columns: 1fr;
  }

  .home-page .support-finder-button,
  .home-page .support-finder-result {
    grid-column: auto;
  }

  .home-page .support-finder-button {
    width: 100%;
  }

  .home-page .review-grid {
    grid-template-columns: 1fr;
  }

  .home-page .review-header h2 {
    max-width: 20ch;
  }

  .home-page .review-proof {
    grid-column: auto;
  }

  .home-page .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1rem;
  }

  .home-page .footer-bottom {
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 2rem;
  }
}

@media (max-width: 575px) {
  .home-page .button_wrap {
    align-items: center;
  }

  .home-page #heroBookCta,
  .home-page .hero-secondary-cta {
    width: min(100%, 320px);
    margin-right: auto;
    margin-left: auto;
  }

  .home-page .hero-secondary-cta {
    justify-content: center;
  }

  .home-page .learning-pathway {
    grid-template-columns: 1fr;
  }

  .home-page .footer-con {
    padding-bottom: 5.5rem;
  }

  .home-page .footer-social-bubble {
    margin-bottom: 2rem;
  }

  .home-page .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .footer-bottom-links {
    flex-wrap: wrap;
    flex-direction: row;
  }

  .home-page .pathway-card {
    min-height: 0;
  }

  .home-page .mobile-consultation-cta {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 1040;
    display: block;
    padding: 13px 18px;
    border-radius: 8px;
    background: var(--rr-blue);
    box-shadow: 0 8px 24px rgba(16, 42, 86, 0.2);
    color: #fff;
    font-size: 0.9rem;
     font-weight: 100;
    text-align: center;
    text-decoration: none;
  }

  .home-page .mobile-consultation-cta:focus-visible,
  .home-page .mobile-consultation-cta:hover {
    background: var(--rr-navy);
    color: #fff;
  }
}

/* Keep the reference footer consistent on the homepage too. */
.home-page .contactform-con {
  overflow: hidden;
  background: #fff !important;
  color: var(--rr-text);
}

.home-page .contactform-con::before,
.home-page .contactform-con::after {
  display: none;
}

.home-page .contactform-con .contact-righttopimage {
  display: none;
}

.home-page .contact_wrapper,
.home-page .contact_content {
  border-radius: 20px;
}

.home-page .contact_wrapper {
  overflow: hidden;
}

.home-page .contact_wrapper .contact-leftbackground {
  height: 100%;
  margin: 0;
}

.home-page .contact_wrapper .contact-leftbackground img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.home-page .contact_content {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--rr-surface);
  border: 1px solid var(--rr-border-soft);
  box-shadow: var(--rr-shadow-premium);
  text-align: left;
}

.home-page .contact_content h2,
.home-page .contact_content p.text-white,
.home-page .contact_content #orientationForm .text-white {
  color: var(--rr-navy) !important;
}

.home-page .contact_content h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.home-page .contact_content .form_style {
  background: #fff !important;
  color: var(--rr-navy) !important;
  border-color: var(--rr-border-soft) !important;
  opacity: 1;
}

.home-page .contactform-con .contact_content input.form_style::placeholder,
.home-page .contactform-con .contact_content textarea.form_style::placeholder {
  color: #64748b !important;
  opacity: 1;
}

.home-page .contactform-con .contact_content select.form_style option {
  background: #fff;
  color: var(--rr-navy);
}

.home-page .contactform-con .contact_content select.form_style {
  color: var(--rr-navy) !important;
  line-height: 1.4;
}

.home-page .contact_content .submit_now {
  background: var(--rr-blue);
  color: #fff;
}

.home-page .contact_content .submit_now:hover,
.home-page .contact_content .submit_now:focus-visible {
  background: var(--rr-navy);
}

/* Consultation form: keep the desktop grid stable against legacy Bootstrap rules. */
.home-page #orientationForm {
  width: 100%;
  max-width: none;
  margin-top: 1.75rem;
  text-align: left;
}

.home-page #orientationForm .form-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 16px;
}

.home-page #orientationForm .form-row > .form-group,
.home-page #orientationForm > .form-group {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.home-page #orientationForm .form-label {
  display: block;
  margin: 0 0 7px;
  color: var(--rr-navy);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}

.home-page #orientationForm .form_style {
  display: block;
  width: 100% !important;
  height: 50px;
  min-height: 50px;
  margin: 0;
  padding: 0 15px;
  border: 1px solid var(--rr-border-soft);
  border-radius: 10px;
  background: #ffffff !important;
  color: var(--rr-navy) !important;
  font-size: 0.88rem;
  line-height: 1.3;
}

.home-page #orientationForm select.form_style {
  cursor: pointer;
  padding-right: 38px;
}

.home-page #orientationForm textarea.form_style {
  height: 112px;
  min-height: 112px;
  padding-top: 14px;
  resize: vertical;
}

.home-page #orientationForm .form_style:focus {
  border-color: var(--rr-blue) !important;
  box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.12);
  outline: none;
}

.home-page #orientationForm .submit_now {
  width: 100%;
  min-height: 50px;
  margin-top: 2px;
  justify-content: center;
  border-radius: 10px;
}

.home-page #orientationForm > p {
  text-align: left;
}

@media (min-width: 992px) {
  .home-page .contact_content {
    min-height: 100%;
  }
}

@media (max-width: 767.98px) {
  .home-page #orientationForm .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.home-page .review-section {
  background: var(--rr-surface) !important;
  color: var(--rr-text);
}

.home-page .review-header h2 {
  color: var(--rr-navy);
}

.home-page .review-header p {
  color: var(--rr-muted);
}

.home-page .review-proof {
  border-color: var(--rr-navy);
  background: var(--rr-navy);
}

.home-page .review-proof li {
  color: rgba(255, 255, 255, 0.82);
}

.home-page .footer-con {
  padding: clamp(3rem, 6vw, 5rem) 0 0;
  background: #101010;
}

@media (max-width: 767px) {
  .home-page .footer-con {
    padding-bottom: 0;
  }
}

@media (max-width: 575px) {
  body.home-page .home_banner_outer .banner2-con .banner_content .button_wrap {
    align-items: center;
  }

  body.home-page .home_banner_outer .banner2-con .banner_content #heroBookCta,
  body.home-page .home_banner_outer .banner2-con .banner_content .hero-secondary-cta {
    margin-right: auto;
    margin-left: auto;
  }
}

/* Final homepage footer surface. */
.home-page .footer-con {
  padding: clamp(3.75rem,7vw,6rem) 0 0;
  background: linear-gradient(145deg,#081225 0%,#101a2d 55%,#10234a 100%);
}
