/* Palette and image treatment matched to the supplied AAYRA reference. */
:root {
  --olive: #004030;
  --olive-dark: #003020;
  --olive-light: #e8f4ed;
  --blue: #167db7;
  --orange: #f06000;
  --ink: #123f38;
  --brown: #5d748d;
  --paper: #fcfbf7;
  --line: #d7e8df;
}

body {
  background: var(--paper);
  color: var(--ink);
}

/* The reference starts with one clean white navigation bar. */
.topbar {
  display: none !important;
}

.main-nav,
.section-surface,
.hero,
.career-cta {
  background-color: var(--paper);
}

.main-nav {
  min-height: 105px;
  background: #fff !important;
  box-shadow: 0 4px 20px rgba(0, 64, 48, .08);
}

.navbar-brand strong,
.nav-link {
  color: var(--olive) !important;
}

.navbar-brand small {
  color: var(--orange) !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--orange) !important;
}

.nav-link.active:after {
  background: var(--orange) !important;
}

.nav-cta,
.nav-cta.btn-blue {
  background: var(--orange) !important;
  color: #fff !important;
}

.nav-cta:hover {
  background: #d95000 !important;
}

.section-blue-tint {
  background-color: #fbfaf5;
}

.section {
  background-image: radial-gradient(circle at -4% 12%, #edf3e8 0 80px, transparent 81px), radial-gradient(circle at 105% 86%, #edf5f0 0 90px, transparent 91px);
}

.section:before,
.enquiry-section:before {
  background: radial-gradient(circle at 98% 7%, #e4f1e9 0 74px, transparent 75px), radial-gradient(circle at 2% 92%, #f7eadc 0 60px, transparent 61px);
  opacity: .8;
}

.hero {
  background: #fbfaf6;
}

.hero {
  position: relative;
}

.hero-glow {
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 254, 249, .98) 0%, rgba(255, 254, 249, .98) 47%, rgba(255, 254, 249, .12) 50%, rgba(255, 254, 249, 0) 54%), radial-gradient(circle at 84% 20%, #e5f1ec 0, transparent 28%) !important;
}

.hero-kicker {
  color: var(--orange) !important;
}

.hero-art img {
  filter: saturate(1.02) contrast(1.01) !important;
}

.hero-slide-image {
  transition: opacity .28s ease, transform .28s ease;
}

.hero.is-changing .hero-slide-image {
  opacity: 0;
  transform: scale(1.01);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .9);
  color: var(--olive);
  font-size: 1.45rem;
  box-shadow: 0 6px 18px rgba(0, 64, 48, .1);
}

.hero-control:hover {
  background: #fff;
  color: var(--orange);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
  opacity: 1;
}

.hero-dots button {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c9d8d1;
  display: inline-block;
}

.hero-dots button.active {
  background: var(--orange);
}

.hero-dots button:focus-visible,
.hero-control:focus-visible {
  outline: 3px solid rgba(240, 96, 0, .3);
  outline-offset: 3px;
}

/* Image-only hero slider. */
.hero-image-slider {
  height: 715px;
  min-height: 0;
}

.hero-slide-image {
  object-fit: cover;
}

@media (min-width: 992px) {
  .nav-link {
    
    white-space: nowrap;
    padding-left: .4rem !important;
    padding-right: .4rem !important;
  }

  /* .navbar-nav {
    gap: .1rem !important;
  } */

  .nav-cta {
    padding: .78rem 1.1rem;
    font-size: .86rem;
  }

  .hero {
    min-height: 715px;
  }

  .hero>.container-fluid {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .hero-copy {
    padding: 75px 0 55px 8.5%;
  }

  .hero-art {
    height: 715px;
    z-index: 0;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 5.6vw, 5.6rem);
    white-space: nowrap;
  }

  .hero h2 {
    font-size: 1.35rem;
    white-space: nowrap;
  }

  .hero-text {
    max-width: 550px;
  }

  .hero-actions {
    width: calc(100% + 20px);
    flex-wrap: nowrap !important;
    gap: 16px !important;
  }

  .hero-actions .btn {
    white-space: nowrap;
  }

  #about .display-title {
    font-size: clamp(2.25rem, 3.45vw, 3.7rem);
  }
}

.hero h1 span,
.display-title span,
.enquiry-copy h2 span,
.cta-panel h2 span {
  color: var(--orange) !important;
}

.hero-actions .btn-outline-blue {
  border-color: var(--orange) !important;
  color: var(--orange) !important;
}

.hero-actions .btn-outline-blue:hover {
  background: var(--orange) !important;
  color: #fff !important;
}

.btn-olive {
  background: var(--olive) !important;
}

.btn-olive:hover {
  background: var(--olive-dark) !important;
}



.btn-outline-blue {
  border-color: var(--blue);
  color: var(--blue);
}

.small-line,
.short-blue-line,
.eyebrow:before,
.eyebrow:after,
.motto:before {
  background: var(--orange) !important;
}

.value-strip i,
.hero-stats .stat i {
  color: var(--orange) !important;
}

.feature .blue-disc {
  background: #edf2eb !important;
  color: var(--orange) !important;
}

.visual-stat i {
  color: var(--orange) !important;
}

/* Soft paper, mint, peach and lilac surfaces from the reference. */
.programme-card.card-blue {
  background: #fff5ed;
}

.programme-card.card-peach {
  background: #f3f7fd;
}

.programme-card.card-mint {
  background: #f1f8f1;
}

.programme-card.card-pink {
  background: #f7f1fb;
}

.programme-card.card-blue:after {
  background: linear-gradient(90deg, #fff5ed 0 35%, rgba(255, 245, 237, .68) 43%, rgba(255, 245, 237, 0) 59%);
}

.programme-card.card-peach:after {
  background: linear-gradient(90deg, #f3f7fd 0 35%, rgba(243, 247, 253, .68) 43%, rgba(243, 247, 253, 0) 59%);
}

.programme-card.card-mint:after {
  background: linear-gradient(90deg, #f1f8f1 0 35%, rgba(241, 248, 241, .68) 43%, rgba(241, 248, 241, 0) 59%);
}

.programme-card.card-pink:after {
  background: linear-gradient(90deg, #f7f1fb 0 35%, rgba(247, 241, 251, .68) 43%, rgba(247, 241, 251, 0) 59%);
}

.programme-card.card-blue .course-badge {
  background: var(--orange) !important;
}

.programme-card>img {
  opacity: 1;
}

.info-card,
.audience-card,
.skill-card,
.corporate-card {
  background: #fffefa;
  border-color: var(--line);
}

.info-card.blue-wash {
  background: #fffefa;
}

.info-card.blue-wash .icon-disc {
  background: #fff0dd !important;
  color: var(--orange) !important;
}

.process-card {
  background: #f3faf5;
}

#approach .process-row>div:nth-child(odd) .process-card {
  background: #f3faf5;
}

#approach .process-row>div:nth-child(even) .process-card {
  background: #fff8ee;
}

#approach .process-row>div:nth-child(odd) .process-icon {
  background: #e7f3ea !important;
  color: var(--olive) !important;
}

#approach .process-row>div:nth-child(even) .process-icon {
  background: #fff0d8 !important;
  color: var(--orange) !important;
}

#approach .process-row>div:nth-child(odd) .process-card>b {
  background: #dff1e4;
}

#approach .process-row>div:nth-child(even) .process-card>b {
  background: #ffebc9;
}

#approach .process-card {
  overflow: visible;
}

@media (min-width: 992px) {
  #approach .process-row>div:not(:last-child) .process-card::after {
    content: "➜";
    position: absolute;
    top: 42px;
    right: -25px;
    z-index: 3;
    color: #8ea4ad;
    font-size: 1.55rem;
    font-weight: 400;
  }
}

@media (min-width: 1200px) {

  #approach>.container-fluid::before,
  #modes>.container-fluid::before {
    content: "SKILLS\A KNOWLEDGE\A OPPORTUNITIES\A A BRIGHTER\A TOMORROW";
    white-space: pre;
    position: absolute;
    top: 48px;
    left: 1rem;
    color: #8296a6;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .09em;
    line-height: 1.55;
  }

  #approach>.container-fluid::after,
  #modes>.container-fluid::after {
    content: "Learn\A Qualify\A Grow\A Succeed";
    white-space: pre;
    position: absolute;
    top: 34px;
    right: 1rem;
    color: var(--olive);
    font: italic 700 1.1rem/1.15 "Playfair Display", serif;
    text-align: center;
  }
}

.mode-card:nth-child(odd) {
  background: #f1f8f3;
}

.mode-card:nth-child(even) {
  background: #fff8ee;
}

.mode-card:nth-child(even) .btn {
  background: var(--orange) !important;
}

.mode-card:nth-child(even) .btn:hover {
  background: #d95000 !important;
}

#modes .row>div:nth-child(even) .mode-card {
  background: #fff8ee;
}

#modes .row>div:nth-child(even) .mode-card .btn {
  background: var(--orange) !important;
}

#modes .row>div:nth-child(even) .mode-card .btn:hover {
  background: #d95000 !important;
}

#modes .row>div:nth-child(even) .mode-card .icon-disc {
  background: #fff0dd !important;
  color: var(--orange) !important;
}

.branch-card,
.blog-card,
.testimonial-card {
  background: #fffefa;
  border-color: var(--line);
}

.branch-photo:after {
  background: linear-gradient(15deg, rgba(240, 96, 0, .9) 0 60%, transparent 61%) !important;
}

.branch-card:nth-child(even) .branch-photo:after {
  background: linear-gradient(15deg, rgba(0, 64, 48, .9) 0 60%, transparent 61%) !important;
}

.branch-details b,
.branch-details small,
.testimonial-card p,
.testimonial-card small,
.blog-body p:not(.blog-date),
.process-card p,
.info-card p,
.audience-card p {
  color: var(--brown) !important;
}

.testimonial-card:nth-child(even) {
  background: #fff8ee;
}

.testimonial-card .small-line {
  background: var(--orange) !important;
}

.enquiry-section {
  background: #eef7f3;
}

.form-card {
  border: 1px solid var(--line);
}

.cta-panel {
  background: linear-gradient(120deg, #f3faf5, #fffef9 50%, #fff4e8);
  border-color: var(--line);
}

.cta-programmes {
  background: #e8f4ed;
  color: var(--olive);
}

.cta-programmes b {
  color: var(--orange);
}

.site-footer {
  background: #e8f6ed;
  color: var(--ink);
}

.footer-brand em {
  color: var(--orange) !important;
}

.footer-column h3 {
  color: var(--olive) !important;
}

.footer-column h3:after {
  background: var(--orange) !important;
}

.footer-column a {
  color: var(--ink) !important;
}

.footer-bottom {
  border-color: #afd4c2 !important;
}

/* Keep the footer's large column compact on desktop only. */
@media (min-width: 992px) {
  .site-footer .col-lg-3 {
    flex: 0 0 auto;
    width: 18%;
  }

  .site-footer .col-lg-2 {
    flex: 0 0 auto;
    width: 20%;
  }
}

@media (max-width: 991.98px) {
  .hero-image-slider {
    height: 520px;
  }

  .navbar-toggler {
    display: grid !important;
    place-items: center;
    position: fixed !important;
    top: 10px !important;
    right: 1rem !important;
    z-index: 5000 !important;
    width: 44px !important;
    height: 40px !important;
    padding: 0 !important;
    border: 2px solid var(--orange) !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--orange) !important;
  }

  .navbar-toggler::before {
    content: "☰" !important;
    color: var(--orange) !important;
    font-size: 1.35rem;
    line-height: 1;
  }

  .hero-control {
    display: none;
  }
}

/* Keep the programme value strip hidden on mobile as well. */
#programmes .value-strip {
  display: none !important;
}

/* Reference-scale typography: keep the navigation as-is and calm the page content. */
main {
  font-size: .95rem;
}

main .eyebrow {
  font-size: .8rem;
  margin-bottom: 20px;
}

main .display-title {
  font-size: clamp(2.15rem, 3.55vw, 3.65rem);
  margin-bottom: 10px;
}

main .section-subtitle {
  font-size: 1.04rem;
}

main .lead-copy {
  font-size: 1.05rem;
}

main .hero-kicker {
  font-size: .92rem;
}

main .hero h1 {
  font-size: clamp(3.05rem, 5.15vw, 5.15rem);
}

main .hero h2 {
  font-size: 1.25rem;
}

main .hero-text {
  font-size: 1.03rem;
}

main .programme-card .card-content {
  width: 54%;
  padding: 20px 18px;
}

main .programme-card h3 {
  font-size: 1.68rem;
}

main .programme-card .small-heading {
  font-size: 1.28rem;
}

main .programme-card .card-description {
  font-size: .88rem;
  line-height: 1.34;
  margin: 10px 0 13px;
}

main .programme-card .course-badge {
  min-width: 62px;
  height: 52px;
  font-size: 1.08rem;
}

main .programme-card .course-symbol {
  height: 50px;
  font-size: 2.25rem;
}

main .info-card h3,
main .audience-card h3 {
  font-size: 1.55rem;
}

main .info-card p,
main .audience-card p {
  font-size: 15px;
}

main .process-card h3 {
  font-size: 1.62rem;
}

main .process-card p {
  font-size: .98rem;
}

main .mode-card h3 {
  font-size: 1.68rem;
}

main .mode-card p {
  font-size: .96rem;
}

main .skill-card h3 {
  font-size: 1.3rem;
}

main .corporate-card h3 {
  font-size: 1.22rem;
}

main .branch-photo h3 {
  font-size: 1.72rem;
}

main .testimonial-card {
  min-height: 425px;
  padding: 25px 20px 21px;
}

main .testimonial-card p {
  font-size: .96rem;
}

main .testimonial-card h3 {
  font-size: 1.3rem;
}

main .testimonial-card small {
  font-size: .9rem;
}

main .avatar {
  width: 135px;
  height: 135px;
}

main .blog-card h3 {
  font-size: 1.3rem;
}

main .blog-card p:not(.blog-date) {
  font-size: .94rem;
}

main .accordion-button {
  font-size: 1.03rem;
}

main .enquiry-copy h2 {
  font-size: clamp(2.6rem, 4.15vw, 4.35rem);
}

main .enquiry-copy>p {
  font-size: 1.05rem;
}

main .form-heading h2 {
  font-size: 1.72rem;
}

main .form-heading p {
  font-size: .96rem;
}

main .cta-panel h2 {
  font-size: clamp(2.25rem, 3.55vw, 3.65rem);
}

main .cta-programmes {
  font-size: 1.04rem;
}

.testimonial-track.is-sliding {
  opacity: .35;
  transition: transform .4s ease, opacity .18s ease;
}

/* Make FAQ opening and closing quick without removing the smooth motion. */
.accordion-collapse.collapsing {
  transition: height .08s linear !important;
}

@media (max-width: 767px) {
  .hero-image-slider {
    height: 400px;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .main-nav .container-fluid {
    position: relative;
  }

  .main-nav .navbar-toggler {
    display: grid !important;
    position: absolute !important;
    top: 30px !important;
    right: 1rem !important;
  }

  .navbar-brand {
    padding-right: 50px;
  }

  .hero .container-fluid,
  .hero .row {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-copy {
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-kicker {
    font-size: .78rem;
    line-height: 1.3;
  }

  .hero-copy>* {
    max-width: 100%;
    overflow-wrap: normal;
  }

  .hero-kicker,
  .hero h2,
  .hero-text {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px) !important;
    overflow-wrap: anywhere;
  }

  .hero-text,
  .hero-actions {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
  }

  main {
    font-size: .94rem;
  }

  main .display-title {
    font-size: 2.05rem;
  }

  main .section-subtitle {
    font-size: .95rem;
  }

  main .lead-copy {
    font-size: .98rem;
  }

  main .hero h1 {
    font-size: 2.75rem;
  }

  main .hero h2 {
    font-size: 1.05rem;
  }

  main .hero-text {
    font-size: .94rem;
  }

  main .programme-card .card-content {
    width: 60%;
    padding: 16px 13px;
  }

  main .programme-card h3 {
    font-size: 1.38rem;
  }

  main .programme-card .small-heading {
    font-size: 1.12rem;
  }

  main .programme-card .card-description {
    font-size: .76rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  main .info-card h3,
  main .audience-card h3 {
    font-size: 1.35rem;
  }

  main .process-card h3 {
    font-size: 1.3rem;
  }

  main .mode-card h3 {
    font-size: 1.38rem;
  }

  main .skill-card h3 {
    font-size: 1.04rem;
  }

  main .corporate-card h3 {
    font-size: .98rem;
  }

  main .testimonial-card {
    min-height: 390px;
  }

  main .enquiry-copy h2 {
    font-size: 2.3rem;
  }

  main .cta-panel h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 991.98px) {
  nav.main-nav button.navbar-toggler.d-lg-none {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    top: 30px !important;
    right: 1rem !important;
  }
}

/* Programme cards: keep the complete image on top and place the details below. */
.programme-grid {
 
  margin-left: auto !important;
  margin-right: auto !important;
  align-items: stretch;
}

.programme-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  width: 100%;
}

.programme-card::after {
  display: none;
}

.programme-card>img {
  position: static;
  width: 100%;
  height: 220px;
  flex: 0 0 220px;
  object-fit: cover;
  object-position: center;
  background: inherit;
}

.programme-card .card-content {
  width: 100% !important;
  min-height: 215px;
  padding: 18px;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.programme-card .course-badge,
.programme-card .course-symbol {
  flex: 0 0 52px;
  min-height: 52px;
  margin-bottom: 2px;
}

.programme-card .card-description {
  max-width: 420px;
}

.programme-card .btn {
  margin-top: auto;
}

@media (max-width: 767px) {
  .programme-card>img {
    height: 190px;
    flex-basis: 190px;
  }

  .programme-card .card-content {
    min-height: 205px;
    padding: 18px 16px;
  }
}
/* Give the learning-approach icon circles breathing room inside their cards. */
#approach .process-row {
  margin-top: 28px;
}

#approach .process-icon {
  margin: 0 auto 13px;
}

/* Center the accent line directly below audience-card titles. */
.audience-card .small-line {
  margin: 8px auto 12px;
}

/* Center the accent line below info-card titles. */
.info-card .small-line {
  margin: 8px auto 12px;
}

/* Center the accent line below learning-approach titles too. */
#approach .process-card .small-line {
  margin: 10px auto;
}

/* Refined enquiry layout: image on the left, balanced form panel on the right. */
.enquiry-section {
  padding: 64px 0 34px;
}

.enquiry-section > .container-fluid {
  max-width: none;
  margin: 0 auto;
}

.enquiry-copy {
  padding: 10px 4% 0 4%;
}

.enquiry-copy > p {
  max-width: 560px;
  margin-bottom: 22px;
}

.enquiry-benefits {
  gap: 14px;
  margin: 20px 0 24px;
}

.enquiry-benefits span {
  flex: 1;
  min-width: 0;
  gap: 9px;
}

.enquiry-scene {
  width: calc(100% + 12%);
  height: 260px;
  margin-left: -8%;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
}

.form-card {
  max-width: none;
  margin: 0 auto 24px;
  padding: 30px 32px 28px;
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(0, 64, 48, .09);
}

.form-heading {
  gap: 16px;
  margin-bottom: 22px;
}

.form-heading .icon-disc {
  width: 68px;
  height: 68px;
  min-width: 68px;
  font-size: 1.8rem;
}

.form-heading h2 {
  font-size: 28px !important;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.form-heading p {
  font-size: 14px !important;
  line-height: 1.35;
}

.input-wrap {
  min-height: 58px;
  padding: 0 15px;
  border-radius: 12px;
  background: #fcfffd;
}

.input-wrap:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(240, 96, 0, .1);
}

.input-wrap i {
  min-width: 22px;
  margin-right: 12px;
}

.textarea-wrap {
  align-items: flex-start;
  min-height: 120px;
  padding-top: 15px;
}

.textarea-wrap i {
  margin-top: 3px;
}

.input-wrap textarea {
  min-height: 86px;
  padding: 0;
}

#enquiryForm > .row > .col-12:last-child .btn {
  min-height: 54px;
  border-radius: 12px;
  letter-spacing: .02em;
}

@media (max-width: 767px) {
  .enquiry-section {
    padding: 48px 0 24px;
  }

  .enquiry-copy {
    padding: 0;
  }

  .enquiry-scene {
    height: 210px;
  }

  .form-card {
    padding: 22px 16px 20px;
    border-radius: 18px;
  }

  .form-heading h2 {
    font-size: 23px !important;
  }

  .form-heading p {
    font-size: 13px !important;
  }
}

/* Mobile-only sizing for the vocational-training section. */
@media (max-width: 767px) {
  #skills .display-title {
    font-size: 28px !important;
    line-height: 1.08;
    white-space: normal;
  }

  #skills .skill-card h3 {
    font-size: 14px !important;
    line-height: 1.15;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  #corporate .display-title {
    font-size: 28px !important;
    line-height: 1.08;
    white-space: normal;
  }

  #corporate .corporate-card h3 {
    font-size: 14px !important;
    line-height: 1.15;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  /* Keep mobile typography consistent across all sections and cards. */
  main .section-heading .display-title {
    font-size: 28px !important;
    line-height: 1.08;
    white-space: normal;
  }

  main article h3 {
    font-size: 14px !important;
    line-height: 1.15;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
}

/* Final mobile pass: let content determine card height and keep text readable. */
main article h3 {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: break-word;
}

@media (max-width: 767.98px) {
  .main-nav .container-fluid {
    padding-right: 4.25rem !important;
  }

  .navbar-brand {
    min-width: 0;
    max-width: 100%;
    padding-right: 0;
    margin-right: 0;
  }

  .navbar-brand > span:last-child {
    min-width: 0;
    white-space: normal;
  }

  .navbar-brand strong {
    font-size: clamp(.92rem, 4vw, 1.08rem);
    line-height: 1.05;
  }

  .navbar-brand small {
    font-size: .5rem;
    line-height: 1.15;
  }

  main .section-heading .display-title {
    font-size: clamp(1.85rem, 8vw, 2.35rem) !important;
    line-height: 1.12;
  }

  main article h3 {
    font-size: 1.15rem !important;
    line-height: 1.22;
  }

  main .programme-card h3 {
    font-size: 1.2rem !important;
  }

  main .programme-card .small-heading {
    font-size: 1.08rem !important;
  }

  main .programme-card .card-content {
    min-height: 0 !important;
    padding: 18px 16px !important;
  }

  main .programme-card .card-description {
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
    font-size: .88rem !important;
    line-height: 1.4;
  }

  main .info-card h3,
  main .audience-card h3 {
    font-size: 1.22rem !important;
  }

  main .process-card h3,
  main .mode-card h3 {
    font-size: 1.18rem !important;
  }

  main .skill-card h3,
  main .corporate-card h3 {
    font-size: 1rem !important;
    line-height: 1.25;
  }

  main .blog-card h3,
  main .testimonial-card h3 {
    font-size: 1.12rem !important;
  }

  .about-visual {
    padding-bottom: 78px;
  }

  .visual-stat {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    left: 4%;
    right: 4%;
    padding: 10px 8px;
  }

  .visual-stat > div {
    width: 100%;
    min-width: 0;
    padding: 6px 3px;
    border-right: 0;
    border-bottom: 1px solid #c6cfaa;
  }

  .visual-stat > div:nth-child(odd) {
    border-right: 1px solid #c6cfaa;
  }

  .visual-stat > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .visual-stat strong {
    font-size: 1.05rem;
  }

  .visual-stat small {
    font-size: .68rem;
    line-height: 1.1;
  }

  .enquiry-scene {
    width: 100%;
    margin-left: 0;
  }

  .form-heading > div:last-child {
    min-width: 0;
  }

  .form-heading h2 {
    overflow-wrap: break-word;
  }
}

@media (max-width: 575.98px) {
  #approach .process-row > div {
    width: 100%;
    flex: 0 0 100%;
  }

  #approach .process-card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .enquiry-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .enquiry-benefits span {
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    gap: 6px;
    font-size: .72rem;
  }

  .enquiry-benefits i {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
}

/* Desktop typography: keep the page balanced and easier on the eyes. */
@media (min-width: 992px) {
  main .display-title {
    font-size: clamp(1.95rem, 2.7vw, 3.05rem);
    line-height: 1.08;
  }

  main .section-subtitle {
    font-size: .94rem;
    max-width: 820px;
  }

  main .lead-copy {
    font-size: .98rem;
    line-height: 1.5;
  }

  main .programme-card .card-content {
    padding: 18px 16px;
  }

  main .programme-card h3 {
    font-size: 1.38rem;
    line-height: 1.1;
  }

  main .programme-card .small-heading {
    font-size: 1.1rem;
  }

  main .programme-card .card-description {
    font-size: .8rem;
    line-height: 1.35;
  }

  main .info-card h3,
  main .audience-card h3 {
    font-size: 1.28rem;
  }

  main .info-card p,
  main .audience-card p,
  main .process-card p,
  main .mode-card p {
    font-size: .9rem;
  }

  main .process-card h3,
  main .mode-card h3 {
    font-size: 1.38rem;
  }

  main .skill-card h3 {
    font-size: 1.1rem;
  }

  main .corporate-card h3 {
    font-size: 1.05rem;
  }

  main .branch-photo h3 {
    font-size: 1.45rem;
  }

  main .testimonial-card p {
    font-size: .88rem;
  }

  main .testimonial-card h3 {
    font-size: 1.12rem;
  }

  main .testimonial-card small,
  main .blog-card p:not(.blog-date) {
    font-size: .86rem;
  }

  main .blog-card h3 {
    font-size: 1.12rem;
  }

  main .accordion-button {
    font-size: .96rem;
  }

  main .enquiry-copy h2 {
    font-size: clamp(2.35rem, 3.2vw, 3.55rem);
  }

  main .enquiry-copy > p {
    font-size: .96rem;
  }

  main .form-heading h2 {
    font-size: 1.52rem;
  }

  main .form-heading p {
    font-size: .88rem;
  }

  main .cta-panel h2 {
    font-size: clamp(2.1rem, 3vw, 3.15rem);
  }

  main .cta-programmes {
    font-size: .92rem;
  }
}

/* More distinctive icon treatment for the Why Choose AAYRA cards. */
#why-choose .info-card {
  background: #fffefa;
  box-shadow: 0 10px 28px rgba(0, 64, 48, .07);
}

#why-choose .info-card .icon-disc {
  position: relative;
  width: 86px;
  height: 86px;
  min-width: 86px;
  border: 1px solid rgba(0, 64, 48, .05);
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, .35), 0 8px 18px rgba(0, 64, 48, .08);
}

#why-choose .info-card .icon-disc::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 13px;
  width: 12px;
  height: 12px;
  border: 2px solid #fffefa;
  border-radius: 50%;
  background: var(--orange);
}

#why-choose .info-card:nth-child(1) .icon-disc,
#why-choose .info-card:nth-child(3) .icon-disc,
#why-choose .info-card:nth-child(5) .icon-disc {
  background: #e8f3eb !important;
  color: var(--olive) !important;
}

#why-choose .info-card:nth-child(2) .icon-disc,
#why-choose .info-card:nth-child(4) .icon-disc,
#why-choose .info-card:nth-child(6) .icon-disc {
  background: #fff0df !important;
  color: var(--orange) !important;
}

#why-choose .info-card:nth-child(3) .icon-disc::after,
#why-choose .info-card:nth-child(6) .icon-disc::after {
  background: var(--olive);
}

#why-choose .info-card .icon-disc i {
  position: relative;
  z-index: 1;
  font-size: 2.25rem;
  filter: drop-shadow(0 2px 2px rgba(0, 64, 48, .12));
}

@media (max-width: 767.98px) {
  #why-choose .info-card .icon-disc {
    width: 74px;
    height: 74px;
    min-width: 74px;
  }

  #why-choose .info-card .icon-disc i {
    font-size: 1.9rem;
  }
}

/* Use the same reference-style illustration treatment across all learning cards. */
#support .audience-card,
#skills .skill-card,
#corporate .corporate-card,
#modes .mode-card {
  box-shadow: 0 10px 28px rgba(0, 64, 48, .07);
}

#support .audience-card .icon-disc,
#skills .skill-card .icon-disc,
#corporate .corporate-card .icon-disc,
#modes .mode-card .icon-disc {
  position: relative;
  border: 1px solid rgba(0, 64, 48, .05);
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, .35), 0 8px 18px rgba(0, 64, 48, .08);
}

#support .audience-card .icon-disc::after,
#skills .skill-card .icon-disc::after,
#corporate .corporate-card .icon-disc::after,
#modes .mode-card .icon-disc::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 13px;
  width: 12px;
  height: 12px;
  border: 2px solid #fffefa;
  border-radius: 50%;
  background: var(--orange);
}

#support .row > div:nth-child(odd) .icon-disc,
#skills .row > div:nth-child(odd) .icon-disc,
#corporate .row > div:nth-child(odd) .icon-disc,
#modes .row > div:nth-child(odd) .icon-disc {
  background: #e8f3eb !important;
  color: var(--olive) !important;
}

#support .row > div:nth-child(even) .icon-disc,
#skills .row > div:nth-child(even) .icon-disc,
#corporate .row > div:nth-child(even) .icon-disc,
#modes .row > div:nth-child(even) .icon-disc {
  background: #fff0df !important;
  color: var(--orange) !important;
}

#support .row > div:nth-child(even) .icon-disc::after,
#skills .row > div:nth-child(even) .icon-disc::after,
#corporate .row > div:nth-child(even) .icon-disc::after,
#modes .row > div:nth-child(even) .icon-disc::after {
  background: var(--olive);
}

#support .audience-card .icon-disc i,
#skills .skill-card .icon-disc i,
#corporate .corporate-card .icon-disc i,
#modes .mode-card .icon-disc i {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 2px rgba(0, 64, 48, .12));
}

#support .audience-card .icon-disc .audience-overlay {
  position: absolute;
  right: 13px;
  bottom: 11px;
  z-index: 2;
  color: var(--orange);
  font-size: 1.15rem;
  filter: none;
}

#approach .process-icon {
  position: relative;
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, .35), 0 8px 18px rgba(0, 64, 48, .08);
}

#approach .process-icon::after {
  content: "";
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 13px;
  height: 13px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--orange);
}

@media (max-width: 767.98px) {
  #support .audience-card .icon-disc,
  #skills .skill-card .icon-disc,
  #corporate .corporate-card .icon-disc,
  #modes .mode-card .icon-disc {
    box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .35), 0 6px 14px rgba(0, 64, 48, .07);
  }
}

/* Remove decorative accent dots from the icon circles. */
#why-choose .info-card .icon-disc::after,
#support .audience-card .icon-disc::after,
#skills .skill-card .icon-disc::after,
#corporate .corporate-card .icon-disc::after,
#modes .mode-card .icon-disc::after,
#approach .process-icon::after {
  display: none !important;
}

/* Mobile slider: preserve the full image instead of cropping it with cover. */
@media (max-width: 991.98px) {
  .hero-image-slider {
    height: auto !important;
    min-height: 0 !important;
    background: #fbfaf6;
  }

  .hero-slide-image {
    width: 100%;
    height: auto !important;
    object-fit: contain;
    object-position: center;
    background: #fbfaf6;
  }
}

/* Mobile enquiry form: use the available width without changing desktop. */
@media (max-width: 767.98px) {
  #enquiry > .container-fluid {
    padding-left: .75rem !important;
    padding-right: .75rem !important;
  }

  #enquiry > .container-fluid > .row {
    --bs-gutter-x: .75rem;
  }

  #enquiry .form-card {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* Mobile navigation: keep the logo and toggle vertically centered together. */
@media (max-width: 991.98px) {
  .main-nav {
    min-height: 80px;
  }

  .main-nav > .container-fluid {
    position: relative;
    min-height: 80px;
    align-items: center;
  }

  .main-nav .navbar-brand {
    align-items: center;
    margin-top: 0;
    margin-bottom: 0;
  }

  .main-nav .navbar-toggler {
    position: absolute !important;
    top: calc(50% + 9px) !important;
    right: .75rem !important;
    transform: translateY(-50%) !important;
  }
}
