:root {
  --navy: #1f2a5c;
  --red: #e63946;
  --red-dark: #e63946;
  --paper: #f5f6fa;
  --ink: #222;
  --muted: #626779;
  --line: #dde0eb;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  font:
    16px/1.65 Inter,
    Arial,
    sans-serif;
  color: var(--ink);
  background: white;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Poppins, Arial, sans-serif;
  line-height: 1.2;
  color: var(--navy);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #f0a631;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1200px, calc(100% - 64px));
  margin: auto;
}
.announcement {
  background: var(--red);
  color: #fff;
  text-align: center;
  font-size: 19px;
  font-weight: 700;
  padding: 10px 0;
  overflow: hidden;
}
.announcement-track {
  display: flex;
  width: max-content;
  animation: announcement-scroll-right 22s linear infinite;
}
.announcement-item {
  flex: 0 0 auto;
  min-width: 100vw;
  padding: 0 32px;
  white-space: nowrap;
}
.announcement:hover .announcement-track {
  animation-play-state: paused;
}
@keyframes announcement-scroll-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
/* Keep keyboard navigation stationary and the focused link in view. */
.announcement:focus-within .announcement-track {
  animation: none;
  transform: none;
  width: 100%;
}
.announcement:focus-within .announcement-item {
  min-width: 0;
  width: 100%;
  white-space: normal;
}
.announcement:focus-within .announcement-item[aria-hidden="true"] {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .announcement .announcement-track {
    animation: none;
    transform: none;
    width: 100%;
  }
  .announcement-item {
    min-width: 0;
    width: 100%;
    white-space: normal;
  }
  .announcement-item[aria-hidden="true"] {
    display: none;
  }
}
.announcement a {
  font-weight: 700;
  margin-left: 12px;
  text-decoration: underline;
}
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #1f2a5c !important;
  border-bottom: 1px solid #dde0eb !important;
  backdrop-filter: blur(12px);
  opacity: 1 !important;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 90px;
}

/* =========================================================
   RECTANGULAR LOGO SETUP
   ========================================================= */

.brand {
  display: flex;
  align-items: center;
  color: var(--navy) !important;
  flex-shrink: 0;
}
.brand-mark,
.brand img {
  width: auto;
  max-width: 250px;
  height: 60px;
  object-fit: contain;
  display: block;
  background: transparent;
}

nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
}
nav a {
  color: #1f2a5c !important;
}
nav a:hover,
.text-link:hover {
  color: var(--red) !important;
}
.nav-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}
.phone-link {
  font-weight: 600;
  font-size: 14px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: var(--red);
  color: white;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 15px 24px;
  font-size: 19px;
  font-weight: 700;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
  min-height: 48px;
}
.button:hover {
  background: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px #d92e3b25;
}
.button.small {
  padding: 10px 15px;
  gap: 12px;
  font-size: 19px;
}
.button.outline {
  background: transparent;
  border-color: #ffffff65;
  color: white;
}
.button.secondary {
  background: var(--paper);
  color: var(--navy);
  border-color: var(--line);
}
.hero {
  background: var(--navy);
  color: white;
  position: relative;
  overflow: hidden;
}
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Preserve the top of the photo directly below the announcement strip. */
  object-position: center top;
}
.hero.has-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: #1f2a5c99;
}
.hero-layout,
.hero-foot {
  position: relative;
  z-index: 1;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 60px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--navy);
  margin-bottom: 20px;
}
.eyebrow.light {
  color: #e0e4fb;
}
.hero h1 {
  font-size: clamp(42px, 4.7vw, 66px);
  letter-spacing: -2px;
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
}
.hero h1 em {
  font-style: normal;
  color: var(--red);
}
.hero-description {
  font-size: 17px;
  max-width: 500px;
  color: #d7dcee;
  margin-top: 26px;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}
.hero-buttons .button {
  font-size: 19px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  gap: 20px;
  list-style: none;
  font-size: 12px;
  color: #e2e6f8;
}
.hero-badges li:before {
  content: "✓";
  color: #ff9ca4;
  margin-right: 7px;
}
.hero-panel {
  border-left: 1px solid #ffffff35;
  padding: 10px 0 10px 44px;
}
.hero-type {
  font:
    800 clamp(55px, 6vw, 82px)/1.02 Poppins,
    Arial;
  letter-spacing: -3px;
  color: #fff;
}
.hero-type span {
  color: var(--red);
}
.hero-panel-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  font-size: 14px;
  color: #dde2f7;
}
.hero-panel-bottom a {
  border: 1px solid #ffffff55;
  border-radius: 50%;
  height: 54px;
  width: 54px;
  display: grid;
  place-items: center;
  font-size: 28px;
}
.asset-note {
  font-size: 12px;
  color: #d3d8ec;
  margin-top: 22px;
}
.hero-foot {
  border-top: 1px solid #ffffff25;
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 22px;
  font-size: 11px;
  letter-spacing: 1.4px;
}
.hero-foot a {
  letter-spacing: 0;
  font-size: 13px;
}

/* =========================================================
   PARALLAX FIXED STRIPS (LEAP STYLE)
   ========================================================= */

.parallax-strip {
  position: relative;
  width: 100%;
  min-height: 480px;
  height: 480px;
  display: flex;
  align-items: center;
  background-image: url('assets/og.webp');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  z-index: 1;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(31, 42, 92, 0.82) 0%,
    rgba(31, 42, 92, 0.48) 50%,
    rgba(31, 42, 92, 0.20) 100%
  );
}

.parallax-content {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 60px;
}

.parallax-content .eyebrow.light {
  color: #ffffff;
}

.parallax-content h2 {
  max-width: 780px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(38px, 4.8vw, 68px);
  line-height: 1.05;
  letter-spacing: -2px;
}

.parallax-content h2 span {
  color: var(--red);
}

/* =========================================================
   STANDARD SECTIONS
   ========================================================= */

.trust-strip {
  position: relative;
  z-index: 2;
  background: white;
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 30px 0;
}
.trust-grid > div {
  padding: 0 30px;
  border-right: 1px solid var(--line);
}
.trust-grid > div:first-child {
  padding-left: 0;
}
.trust-grid > div:last-child {
  border: 0;
}
.trust-grid strong {
  display: block;
  font:
    700 30px/1.2 Poppins,
    Arial;
  color: var(--navy);
}
.trust-grid strong.age-highlight {
  font-size: clamp(20px, 2.2vw, 28px);
}
.footer-main > .social-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.social-icon svg {
  flex-shrink: 0;
}
.social-icon[aria-disabled="true"] {
  cursor: default;
}
.trust-grid strong span {
  color: var(--red);
}
.trust-grid > div > span {
  font-size: 13px;
  color: var(--muted);
}
.section {
  position: relative;
  z-index: 2;
  background: white;
  padding: 88px 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: flex-end;
  margin-bottom: 38px;
}
h2 {
  font-size: clamp(30px, 3vw, 43px);
  letter-spacing: -1.3px;
}
h2 span {
  color: var(--red);
}
.section-heading > p {
  max-width: 360px;
  color: var(--muted);
  font-size: 15px;
}
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}
.program-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: white;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px #1f2a5c10;
}
.program-media {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background: #e9ecf5;
  color: var(--navy);
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.program-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.program-media > strong {
  font:
    800 80px/1 Poppins,
    Arial;
  letter-spacing: -5px;
  color: #bcc3db;
}
.program-media .media-label {
  font-size: 12px;
  line-height: 1.4;
  color: #555f83;
  text-align: right;
  max-width: 110px;
}
.program-card:nth-child(2n) .program-media {
  background: #f8edef;
}
.program-card:nth-child(2n) .program-media > strong {
  color: #e7bfc6;
}
.program-card:nth-child(2n) .media-label {
  color: #85646e;
}
.age-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: white;
  border-radius: 5px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
}
.program-body {
  padding: 25px;
}
.program-body h3 {
  font-size: 21px;
}
.program-body p {
  font-size: 14px;
  color: var(--muted);
  margin: 12px 0 20px;
  min-height: 47px;
}
.text-link {
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  border-bottom: 1px solid #1f2a5c44;
  padding-bottom: 4px;
}
.program-body a {
  display: flex;
  justify-content: space-between;
}
.about {
  background: var(--paper);
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.usp-grid article {
  border-top: 1px solid #b6bdd2;
  padding-top: 24px;
}
.usp-number {
  font-size: 13px;
  color: var(--navy);
  font-weight: 700;
}
.usp-grid h3 {
  font-size: 20px;
  margin: 25px 0 12px;
}
.usp-grid p {
  font-size: 14px;
  color: var(--muted);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-tile {
  aspect-ratio: 4/3;
  background: var(--paper);
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
  border: 1px solid var(--line);
  position: relative;
}
.gallery-tile:nth-child(2),
.gallery-tile:nth-child(5) {
  background: #e9ecf5;
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}
.gallery-tile button {
  padding: 0;
  border: 0;
  position: absolute;
  inset: 0;
  background: none;
}
.empty-note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 18px;
}
.testimonials-section {
  padding-top: 40px;
}
.testimonial-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 70px;
  align-items: center;
}
.quote-panel {
  padding: 30px 40px;
  background: var(--paper);
  border-radius: 14px;
  min-height: 235px;
}
.quote-symbol {
  font: 80px/1 Georgia;
  color: var(--red);
}
.quote-panel p {
  font-size: 20px;
  color: var(--navy);
  margin-top: -20px;
}
.quote-panel small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 20px;
}
.slider-controls {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.slider-controls button {
  width: 46px;
  height: 46px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
}
.enquiry-section {
  background: var(--paper);
}
.enquiry-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 85px;
  align-items: start;
}
.enquiry-copy {
  padding-top: 30px;
}
.enquiry-copy h2 {
  font-size: 48px;
}
.enquiry-copy > p:not(.eyebrow) {
  margin: 22px 0;
  color: var(--muted);
}
.check-list {
  padding: 0;
  list-style: none;
  margin: 30px 0;
}
.check-list li {
  font-size: 14px;
  margin: 15px 0;
}
.check-list li:before {
  content: "✓";
  margin-right: 12px;
  color: var(--red);
  font-weight: 700;
}
.contact-mini {
  border-top: 1px solid #cbd0e1;
  padding-top: 28px;
}
.contact-mini span,
.contact-mini small {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
.contact-mini a {
  font:
    700 28px/1.8 Poppins,
    Arial;
  color: var(--navy);
}
.enquiry-logo {
  margin-top: 25px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.enquiry-logo img {
  width: 250px;
  height: auto;
  display: block;
  object-fit: contain;
}
.form-card {
  background: white;
  border: 1px solid #e1e5f1;
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 15px 40px #1f2a5c08;
}
.form-heading h3 {
  font-size: 23px;
}
.form-heading p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 25px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
}
.form-grid label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-grid .full {
  grid-column: 1/-1;
}
.optional {
  font-weight: 400;
  display: contents;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #cbd0df;
  background: white;
  border-radius: 7px;
  color: var(--ink);
  font-size: 14px;
  min-height: 46px;
}
.form-grid textarea {
  resize: vertical;
}
.form-grid small {
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}
.phone-input {
  display: flex;
  align-items: center;
  gap: 10px;
}
.phone-input > span {
  padding: 9px 10px;
  background: var(--paper);
  border-radius: 6px;
  font-size: 14px;
}
.form-privacy {
  font-size: 12px;
  color: var(--muted);
  margin: 22px 0 18px;
}
.inline-button {
  border: 0;
  background: none;
  color: inherit;
  text-decoration: underline;
  padding: 0;
  font-size: inherit;
}
.submit {
  width: 100%;
  justify-content: space-between;
}
.submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
.honeypot {
  position: absolute !important;
  left: -10000px;
  opacity: 0;
}
#form-status {
  font-size: 14px;
  color: #a1212e;
  margin-top: 12px;
}
#thank-you {
  text-align: center;
  padding: 40px 0;
}
#thank-you h3 {
  font-size: 33px;
}
#thank-you p {
  margin: 20px 0;
}
#thank-you .inline-button {
  display: block;
  margin: 25px auto;
}
.success-icon {
  display: inline-grid;
  place-items: center;
  background: #e7f7ed;
  color: #16764b;
  border-radius: 50%;
  width: 65px;
  height: 65px;
  font-size: 35px;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}
address {
  font-style: normal;
  font-size: 14px;
  color: var(--muted);
  margin: 25px 0 15px;
}
.contact-layout #timings {
  font-size: 14px;
  margin-bottom: 20px;
}
.map-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  height: 380px;
}
.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================================
   CONTACT PARALLAX OVERRIDES
   ========================================================= */

.contact-parallax-wrapper {
  position: relative;
  background-image: url('assets/og.webp');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.contact-parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(31, 42, 92, 0.92) 0%,
    rgba(31, 42, 92, 0.78) 55%,
    rgba(31, 42, 92, 0.65) 100%
  );
  z-index: 1;
}

.contact-parallax-wrapper .container {
  position: relative;
  z-index: 2;
}

.contact-parallax-wrapper h2 {
  color: #ffffff;
}

.contact-parallax-wrapper address,
.contact-parallax-wrapper #timings {
  color: #dde2f7;
}

.contact-parallax-wrapper .text-link {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

.contact-parallax-wrapper .text-link:hover {
  color: var(--red) !important;
  border-bottom-color: var(--red);
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
  position: relative;
  z-index: 2;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: var(--navy) !important;
  padding: 45px 0 25px;
  border-top: 1px solid var(--line);
}
footer .brand {
  color: var(--navy) !important;
}
footer a {
  color: #1f2a5c !important;
}
footer a:hover {
  color: #e63946 !important;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  align-items: center;
}
.footer-main > div {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  gap: 6px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  margin-top: 35px;
  padding-top: 22px;
  font-size: 12px;
  color: var(--muted);
}
.floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  border-radius: 50px;
  background: #087443;
  color: white;
  z-index: 25;
  padding: 14px 19px;
  box-shadow: 0 4px 20px #0002;
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
}
.mobile-enquire,
.menu-toggle {
  display: none;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 10px;
  z-index: 100;
  background: #fff;
  color: var(--navy);
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  max-width: 600px;
  width: calc(100% - 32px);
  padding: 35px;
  color: var(--ink);
}
dialog::backdrop {
  background: #0c143dbb;
}
dialog p {
  margin: 20px 0 0;
  font-size: 14px;
}
dialog h2 {
  font-size: 28px;
}
.dialog-close {
  position: absolute;
  right: 12px;
  top: 8px;
  border: 0;
  background: none;
  font-size: 28px;
  color: var(--navy);
  width: 40px;
  height: 40px;
}
.cookie-banner {
  position: fixed;
  z-index: 60;
  bottom: 18px;
  left: 18px;
  max-width: 460px;
  background: white;
  box-shadow: 0 3px 40px #0003;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  font-size: 14px;
}
.cookie-banner > div {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.cookie-banner .button {
  font-size: 13px;
  padding: 10px 15px;
}
.reveal {
  animation: rise 0.6s ease both;
}
@keyframes rise {
  from {
    opacity: 0.2;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */

@media (min-width: 1400px) {
  .hero-layout {
    padding-top: 85px;
    padding-bottom: 75px;
  }
}
@media (max-width: 1100px) {
  .nav-row {
    gap: 18px;
  }
  .phone-link {
    display: none;
  }
  nav {
    gap: 17px;
  }
  .hero-layout {
    gap: 35px;
  }
  .hero-panel {
    padding-left: 30px;
  }
  .enquiry-layout {
    gap: 45px;
  }
  .trust-grid > div {
    padding: 0 22px;
  }
}
@media (max-width: 800px) {
  .container {
    width: calc(100% - 40px);
  }
  .nav-row {
    min-height: 76px;
    flex-wrap: wrap;
    gap: 0;
  }
  .brand-mark,
  .brand img {
    max-width: 200px;
    height: 48px;
  }
  .menu-toggle {
    display: block;
    border: 1px solid #dde0eb !important;
    background: #ffffff !important;
    border-radius: 6px;
    width: 44px;
    height: 44px;
    color: #1f2a5c !important;
    font-size: 24px;
    margin-left: auto;
  }
  .nav-actions {
    margin-left: 15px;
  }
  .nav-actions .button {
    font-size: 17px;
    min-height: 43px;
    padding: 10px 13px;
  }
  nav {
    display: none;
    width: 100%;
    order: 4;
    padding: 20px 0;
    gap: 20px;
    flex-wrap: wrap;
  }
  nav.open {
    display: flex;
  }
  .hero-layout {
    grid-template-columns: 1fr 0.75fr;
    gap: 20px;
    padding: 55px 0;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero-type {
    font-size: 53px;
  }
  .hero-panel {
    padding-left: 22px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-buttons .button {
    font-size: 19px;
  }
  .hero-badges {
    gap: 10px;
  }
  .hero-description {
    font-size: 15px;
  }
  .trust-grid strong {
    font-size: 24px;
  }
  .trust-grid > div {
    padding: 0 12px;
  }
  .trust-grid > div > span {
    font-size: 12px;
  }
  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section {
    padding: 65px 0;
  }
  .section-heading {
    gap: 25px;
  }
  .section-heading > p {
    max-width: 270px;
  }
  .usp-grid {
    grid-template-columns: 1fr 1fr;
  }
  .testimonial-layout,
  .enquiry-layout {
    gap: 35px;
    grid-template-columns: 1fr;
  }
  .testimonials-section {
    padding-top: 0;
  }
  .enquiry-copy {
    padding-top: 0;
  }
  .check-list {
    margin: 20px 0;
  }
  .contact-mini {
    padding-top: 20px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-main {
    flex-wrap: wrap;
  }
  .hero-foot {
    font-size: 10px;
  }
  .hero-foot > a {
    font-size: 12px;
  }
  .form-card {
    max-width: 650px;
  }
  .parallax-strip,
  .contact-parallax-wrapper {
    height: auto;
    min-height: 380px;
    background-attachment: scroll;
  }
}
@media (max-width: 540px) {
  .announcement {
    font-size: 14px;
    background: var(--navy);
    border-bottom: 4px solid var(--red);
  }
  .announcement a {
    margin-left: 5px;
  }
  .brand-mark,
  .brand img {
    max-width: 170px;
    height: 42px;
  }
  .nav-actions {
    display: none;
  }
  .hero {
    min-height: calc(100vh - var(--hero-top-space, 126px));
    min-height: calc(100dvh - var(--hero-top-space, 126px));
    display: flex;
    flex-direction: column;
  }
  .hero-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-evenly;
    flex: 1;
    gap: 20px;
  }
  .hero-copy > .eyebrow,
  .hero-copy > .hero-description,
  .hero-copy > .hero-badges {
    margin: 0;
  }
  .hero-copy > .hero-badges {
    width: 100%;
  }
  .hero-panel {
    display: none;
  }
  .hero h1 {
    font-size: clamp(1.875rem, 8vw, 2.25rem);
    max-width: 18ch;
    line-height: 1.2;
    letter-spacing: -0.025em;
    text-wrap: balance;
  }
  .hero-description {
    font-size: 15px;
    margin-top: 18px;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .hero-buttons .button {
    width: 100%;
    font-size: 19px;
    padding: 13px;
    gap: 12px;
    min-height: 48px;
  }
  .hero-badges {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
  }
  .hero-foot {
    gap: 15px;
    align-items: center;
    flex-shrink: 0;
    margin-top: 0;
    margin-bottom: 0;
    /* Keep the scroll link above the fixed trial and WhatsApp buttons. */
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
  .hero-foot > span {
    max-width: 180px;
    line-height: 1.7;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 24px;
  }
  .trust-grid > div {
    padding: 0 20px !important;
  }
  .trust-grid > div:nth-child(2) {
    border: 0;
  }
  .trust-grid > div:last-child {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 20px !important;
    border-top: 1px solid var(--line);
  }
  .trust-grid strong {
    font-size: 26px;
  }
  .section {
    padding: 52px 0;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    max-width: none;
    margin-top: 20px;
  }
  .section-heading > a {
    display: inline-block;
    margin-top: 20px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
  }
  h2 {
    font-size: 32px;
  }
  .program-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .program-media {
    aspect-ratio: 4/2.7;
  }
  .program-body {
    padding: 23px;
  }
  .program-body p {
    min-height: 0;
  }
  .usp-grid {
    gap: 25px 20px;
  }
  .usp-grid h3 {
    font-size: 18px;
  }
  .usp-grid p {
    font-size: 13px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .gallery-tile {
    font-size: 11px;
  }
  .testimonial-layout {
    gap: 25px;
  }
  .quote-panel {
    padding: 26px;
    min-height: 210px;
  }
  .quote-panel p {
    font-size: 18px;
  }
  .enquiry-copy h2 {
    font-size: 39px;
  }
  .form-card {
    padding: 24px 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid label {
    font-size: 14px;
  }
  .form-grid input,
  .form-grid textarea,
  .form-grid select {
    font-size: 16px;
  }
  .contact-layout h2 {
    font-size: 29px;
  }
  .map-card {
    height: 290px;
  }
  .footer-main {
    display: block;
  }
  .footer-main > div {
    margin-top: 25px;
  }
  .footer-bottom {
    font-size: 11px;
    gap: 12px;
  }
  .floating-wa {
    bottom: 17px;
    right: 16px;
    padding: 13px;
  }
  .floating-wa span {
    display: none;
  }
  .mobile-enquire {
    display: block;
    position: fixed;
    bottom: 17px;
    left: 16px;
    z-index: 24;
    padding: 10px 17px;
    background: var(--red);
    color: white;
    border-radius: 8px;
    font-size: 19px;
    font-weight: 700;
    box-shadow: 0 4px 20px #0002;
  }
  footer {
    padding-bottom: 95px;
  }
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
  .testimonials-section {
    padding-top: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .parallax-strip,
  .contact-parallax-wrapper {
    background-attachment: scroll;
  }
}

/* Seamless gallery: equal-width groups keep the loop join invisible. */
.gallery-grid.gallery-marquee {
  display: block;
  overflow: hidden;
  border-radius: 14px;
}
.gallery-track {
  display: flex;
  width: max-content;
  animation: gallery-flow var(--gallery-duration, 42s) linear infinite;
}
.gallery-group {
  display: flex;
  flex: 0 0 auto;
  gap: 18px;
  padding-right: 18px;
}
.gallery-marquee .gallery-tile {
  flex: 0 0 auto;
  width: clamp(240px, 72vw, 340px);
  aspect-ratio: 4 / 3;
  border-radius: 14px;
}
.gallery-marquee.is-paused .gallery-track,
.gallery-marquee:focus-within .gallery-track {
  animation-play-state: paused;
}
@media (hover: hover) {
  .gallery-marquee:hover .gallery-track {
    animation-play-state: paused;
  }
}
@keyframes gallery-flow {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.gallery-toggle {
  display: block;
  margin: 18px 0 0 auto;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
  .gallery-grid.gallery-marquee {
    overflow-x: auto;
  }
  .gallery-track {
    animation: none;
    transform: none;
  }
  .gallery-group[aria-hidden="true"],
  .gallery-group > [aria-hidden="true"],
  .gallery-toggle {
    display: none;
  }
}


/* Community reviews */
.quote-panel.review-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 350px;
  padding: clamp(24px, 4vw, 40px);
  background: linear-gradient(135deg, #f5f6fa, #fff);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: 18px;
  box-shadow: 0 12px 32px #1f2a5c0a;
}
.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.review-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-weight: 700;
}
.review-identity {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.review-name { color: var(--navy); font-size: 16px; }
.review-details { color: var(--muted); font-size: 12px; }
.review-stars { color: #a66b00; letter-spacing: 4px; font-size: 20px; line-height: 1; }
.review-quote { margin: 0; flex: 1; }
.review-card .review-quote p {
  margin: 0;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.75;
  color: var(--navy);
}
.review-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.slider-controls button:hover {
  background: var(--navy);
  color: white;
}

/* Class schedule and mentors */
#timings { white-space: pre-line; }
.mentors-intro { background: var(--paper); padding-top: 48px; padding-bottom: 48px; }
.mentors-intro > .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.mentors-intro p:not(.eyebrow) { margin-top: 16px; color: var(--muted); }
.mentors-intro .button { flex-shrink: 0; }
.mentors-page { background: var(--paper); }
.mentors-section { background: var(--paper); padding-top: clamp(32px, 4vw, 48px); }
.mentors-section h1 { font-size: clamp(30px, 4vw, 48px); max-width: 800px; }
.mentors-section h1 span { color: var(--red); }
.mentors-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 40px; }
.mentor-card { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: 0 10px 25px #1f2a5c08; }
.image-box { aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; position: relative; margin-bottom: 20px; background: #e9ecf5; }
.image-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.mentor-photo-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.mentor-card .mentor-name { font-size: 20px; letter-spacing: -.4px; }
.mentor-role { font-size: 13px; font-weight: 700; color: var(--red); margin: 8px 0 16px; }
.mentor-bullets { padding-left: 18px; margin: 0; display: grid; gap: 10px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.mentors-cta { text-align: center; margin-top: 40px; }
nav a[aria-current="page"] { color: var(--red) !important; }
@media (min-width: 801px) and (max-width: 1100px) {
  .nav-row { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  .nav-row nav { order: 3; width: 100%; justify-content: center; }
}
@media (max-width: 1100px) { .mentors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) { .mentors-intro > .container { flex-direction: column; align-items: flex-start; } }
@media (max-width: 540px) {
  .mentors-grid { grid-template-columns: 1fr; gap: 24px; }
  .mentor-card { padding: 22px; }
  .mentors-page footer { padding-bottom: 30px; }
}
