.hero-module {
  background-color: #f7f1e9; /* cream background */
}
.hero-heading {
    font-weight: 700;
    font-size: 4.75rem;
    line-height: 0.9em;
    color: #14213d;
}
.hero-text {
  font-size: 1rem;
  color: #4a4a4a;
  max-width: 480px;
}
.hero-image {
  object-fit: cover;
  max-height: 600px;
	/* the corner is a circle */
/* border-top-right-radius: radius */
border-top-right-radius: 0!important;
border-bottom-right-radius: 0!important;
/* the corner is an ellipse */
/* border-top-right-radius: horizontal vertical */
border-top-right-radius: 0!important;
border-bottom-right-radius: 0!important;
}
/* Buttons */
.btn-hero-dark,
.btn-hero-red {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  transition: opacity 0.2s ease;
}
.btn-hero-dark {
  background-color: #14213d;
}
.btn-hero-red {
  background-color: #e8412f!important;
}
.btn-hero-dark:hover,
.btn-hero-red:hover {
  background-color: #fff!important;
  color: #14213d!important;
}
.btn-icon {
  font-size: 1.1rem;
  line-height: 1;
}
/* Responsive tweak */
@media (max-width: 991.98px) {
  .hero-heading {
    font-size: 2.1rem;
  }
}

/* ===== Shared section text ===== */
.section-heading {
  font-weight: 700;
  color: #14213d;
  font-size: 1.9rem;
}
.section-text {
  color: #4a4a4a;
}
.video-section .section-text-light {
  color: rgba(255,255,255,0.8);
}
/* ===== CTA Cards ===== */
.cta-card {
  position: relative;
  color: #fff;
}
.cta-card-dark { background-color: #14213d; }
.cta-card-red  { background-color: #e8412f; }
.cta-heading { font-weight: 700; }
.cta-text { max-width: 380px; opacity: 0.9; }
.cta-arrow-btn {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
}
.cta-arrow-btn:hover { background: rgba(255,255,255,0.3); }
/* ===== Trustpilot strip ===== */
.trust-strip { background-color: #f7f1e9; }
.trust-stars { color: #00b67a; letter-spacing: 2px; }
.trust-note { color: #8a8a8a; font-size: 0.85rem; }
/* ===== Lead form ===== */
.lead-form-card { background-color: #14213d; }
.lead-heading { font-size: 1.6rem; font-weight: 700; }
.lead-input {
  background-color: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}
.lead-input::placeholder { color: rgba(255,255,255,0.6); }
.lead-input:focus {
  background-color: rgba(255,255,255,0.12);
  border-color: #e8412f;
  color: #fff;
  box-shadow: none;
}
.lead-form-section input {
    background: none !important;
	color: #fff;
}
.lead-form-section input[type=submit] {
    border: none;
    width: auto !important;
    display: inline-block;
    padding: 5px 30px;
    border-radius: 30px;
}
/* ===== Testimonials ===== */
.testimonial-card-dark { background-color: #14213d; color: #fff; }
.testimonial-card-light { background-color: #f7f1e9; color: #14213d; }
.testimonial-quote { font-size: 0.95rem; line-height: 1.5; }
.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #ccc;
  display: inline-block;
}
.nav-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #14213d;
  background: transparent;
  color: #14213d;
}
.nav-arrow:hover { background: #14213d; color: #fff; }
/* ===== Video section ===== */
.video-section { background-color: #14213d; }
.video-links li { margin-bottom: 0.75rem; }
.video-links a { color: #fff; font-weight: 600; text-decoration: none; }
.video-links a:hover { color: #e8412f; }
/* ===== What's New cards ===== */
.news-card { background-color: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.news-title { font-weight: 700; color: #14213d; font-size: 1.05rem; }
.news-text { color: #6a6a6a; font-size: 0.9rem; }

/* ===== Testimonials (rail/transform version) ===== */
.testimonial-rail {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.testimonial-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.testimonial-slide {
  flex: 0 0 auto;
  width: 420px;
}
.testimonial-author {
	font-weight: bold
}
@media (max-width: 767.98px) {
  .testimonial-slide {
    width: 82vw;
  }
}
.testimonial-card {
  background-color: #f7f1e9;
  color: #14213d;
  transition: background-color 0.3s ease, color 0.3s ease;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
/* Active = whichever card sits in the "home" slot under the heading */
.testimonial-card.is-active {
  background-color: #14213d;
  color: #fff;
}
.testimonial-card .author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(20, 33, 61, 0.15);
  display: inline-block;
}
.testimonial-card.is-active .author-avatar {
  background-color: rgba(255, 255, 255, 0.25);
}
.nav-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}
.nav-arrow:disabled:hover {
  background: transparent;
  color: #14213d;
}

/* ===== Global section background utilities ===== */
.bg-section-navy   { background-color: #14213d; }
.bg-section-red    { background-color: #e8412f; }
.bg-section-cream  { background-color: #f2ece2; }
.bg-section-white  { background-color: #ffffff; }
/* Text-color pairings so you don't have to remember which sections need white text */
.bg-section-navy,
.bg-section-red {
  color: #ffffff;
}
.bg-section-cream,
.bg-section-white {
  color: #14213d;
}
/* ===== Page Hero ===== */
.hero-tag {
    border: thin solid #e8412f;
    color: #e8412f;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 1rem;
    border-radius: 999px;
	text-transform: uppercase;
}
.hero-tag-green {
  background-color: #37edab;
	color: #14213d; /* distinct tag color for Employers vs Learners' red tag */
}
.page-hero-heading {
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.15;
}
.page-hero-text {
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
}
/* ===== CTA Cards (page-hero variant) ===== */
.cta-heading {
  font-weight: 700;
  font-size: 1.5rem;
}
.cta-link {
  color: #37edab;
  font-weight: 600;
  text-decoration: none;
}
.cta-link:hover {
  text-decoration: underline;
}
.btn-hero-outline-white {
  border: 1px solid rgba(255, 255, 255, 0.6)!important;
  color: #fff;
  background: transparent;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-hero-outline-white:hover {
  border: 1px solid rgba(255, 255, 255, 0)!important;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
/* ===== Results / testimonial (fade carousel) ===== */
.bg-section-cream-inner {
  background-color: #e6ded0; /* slightly deeper tone than the section's own cream, for card contrast */
}
.results-fade-wrapper {
  position: relative;
}
.results-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.results-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.results-quote {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.4;
}
.results-position {
  font-size: 0.85rem;
  color: #6a6a6a;
}
.results-author .author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ccc;
  display: inline-block;
}
/* ===== Two routes ===== */
.section-subtext {
  color: #6a6a6a;
  max-width: 600px;
}
.route-card {
  position: relative;
  min-height: 320px;
}
.route-card-inner {
  position: relative;
  z-index: 2;
  max-width: 60%;
}
.route-card-image {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  max-width: 45%;
  object-fit: cover;
  z-index: 1;
}
.route-heading {
  font-weight: 700;
  font-size: 1.4rem;
}
.route-text {
  opacity: 0.9;
  font-size: 0.95rem;
}
@media (max-width: 767.98px) {
  .route-card-inner {
    max-width: 100%;
  }
  .route-card-image {
    display: none;
  }
}
/* ===== Stats section ===== */
.stats-section .section-text-light {
  color: rgba(255, 255, 255, 0.75);
}
.stat-box {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.04);
}
.stat-number {
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
}
.stat-label {
  color: rgba(255, 255, 255, 0.9);
}

/* ===== 2 Cards ===== */

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

.cta-card-footer {
  margin-top: auto;
  padding-top: 1.5rem;
}

/* Accordions */

.accordion-button:not(.collapsed) {
    background-color: #d4c7b1;
    color: #212529;
}

.accordion-item:first-of-type {
    margin-top: 5px;
}

.accordion-item:first-of-type .accordion-header {
    margin-top: 0;
}

/* Prospectus */

.prospectus .img-fluid {
	max-height: 58vh;
	float: left;
}

