/* BMS Academy for Professional Courses — design system
   Colours sampled from the official brand manual (logo mannual-BMS academy.pdf) */

:root {
  /* Brand core — emblem palette */
  --brand-blue: #2e3092;          /* CYAN 100 MAGENTA 100 — shield / crest */
  --brand-blue-deep: #23246e;     /* darkened navy for strong contrast */
  --brand-medium-blue: #016696;   /* C90 M45 Y10 K20 */
  --brand-light-blue: #0078c0;    /* C95 M45 */
  --brand-red: #ed1c24;           /* M100 Y100 */
  --brand-orange: #f5811f;        /* M100 Y60 */
  --brand-gold: #d99722;          /* laurel gradient start */
  --brand-yellow: #e9da1b;        /* laurel gradient end */
  --brand-black: #221f1f;         /* BLACK 100 */
  --brand-grey: #57585a;          /* BLACK 80 */

  /* Wordmark palette */
  --word-blue: #005aaa;           /* C100 M70 — "BMS ACADEMY" */
  --word-grey: #4e4b69;           /* C40 M45 K60 — "FOR PROFESSIONAL COURSES" */

  /* Semantic tokens */
  --c-primary: var(--brand-blue-deep);
  --c-primary-hover: #1a1b57;
  --c-accent: var(--brand-red);
  --c-accent-hover: #c9151c;
  --c-gold: var(--brand-gold);

  --c-text: #1c1f2b;
  --c-text-muted: #5a6070;
  --c-text-invert: #ffffff;

  --c-bg: #ffffff;
  --c-bg-soft: #f5f7fb;
  --c-bg-tint: #eef2fa;
  --c-border: #dfe4ee;

  --c-success: #1b8f5a;
  --c-error: #c9151c;

  /* Gradients */
  --grad-laurel: linear-gradient(90deg, var(--brand-gold), var(--brand-yellow));
  --grad-hero: linear-gradient(135deg, #16174a 0%, #23246e 45%, #2e3092 100%);

  /* Typography — Arial per manual, with system fallbacks */
  --font-head: 'Archivo', 'Arial Black', Arial, Helvetica, sans-serif;
  --font-body: 'Inter', Arial, Helvetica, sans-serif;

  --fs-hero: clamp(2.25rem, 5.5vw, 4rem);
  --fs-h1: clamp(1.9rem, 4vw, 3rem);
  --fs-h2: clamp(1.6rem, 3vw, 2.35rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.5rem);
  --fs-body: 1rem;
  --fs-sm: 0.9rem;
  --fs-xs: 0.8rem;

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(16, 22, 46, 0.08);
  --shadow: 0 6px 20px rgba(16, 22, 46, 0.10);
  --shadow-lg: 0 18px 48px rgba(16, 22, 46, 0.16);

  --container: 1180px;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 var(--sp-4);
  color: var(--c-primary);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 var(--sp-4); }

:focus-visible {
  outline: 3px solid var(--brand-light-blue);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section { padding: var(--sp-8) 0; }
.section--soft { background: var(--c-bg-soft); }
.section--tint { background: var(--c-bg-tint); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto var(--sp-7); }
.section-head p { color: var(--c-text-muted); margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-red);
  background: rgba(237, 28, 36, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-3);
}
.eyebrow--gold { color: #8a6410; background: rgba(217, 151, 34, 0.16); }
.eyebrow--light { color: #ffd977; background: rgba(255, 255, 255, 0.12); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c-primary);
  color: #fff;
  padding: var(--sp-3) var(--sp-4);
  z-index: 200;
}
.skip-link:focus { left: var(--sp-4); top: var(--sp-4); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn--primary { background: var(--c-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--c-primary-hover); color: #fff; box-shadow: var(--shadow); }

.btn--accent { background: var(--c-accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--accent:hover { background: var(--c-accent-hover); color: #fff; box-shadow: var(--shadow); }

.btn--gold { background: var(--brand-gold); color: #2b1e02; }
.btn--gold:hover { background: #c78a1c; color: #2b1e02; }

.btn--ghost { background: transparent; color: var(--c-primary); border-color: currentColor; }
.btn--ghost:hover { background: var(--c-primary); color: #fff; }

.btn--ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost-light:hover { background: #fff; color: var(--c-primary); }

.btn--block { width: 100%; }
.btn--lg { padding: 1rem 2rem; font-size: 1.02rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--c-text);
  padding: var(--sp-2) 0;
  position: relative;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--c-primary); text-decoration: none; }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand-red);
}

/* Dropdown */
.nav__item--has-menu { position: relative; }
.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--c-text);
  cursor: pointer;
  padding: var(--sp-2) 0;
}
.nav__toggle:hover { color: var(--c-primary); }
.nav__toggle svg { transition: transform .2s ease; }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-2);
  list-style: none;
  margin: 0;
  display: none;
}
.nav__menu[data-open="true"] { display: block; }
.nav__menu a {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--c-text);
}
.nav__menu a:hover { background: var(--c-bg-tint); color: var(--c-primary); text-decoration: none; }

.header-cta { display: inline-flex; gap: var(--sp-3); flex-shrink: 0; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.6rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--c-text);
  border-radius: 2px;
}
.nav-toggle span + span { margin-top: 5px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  padding: var(--sp-9) 0 var(--sp-8);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: var(--grad-laurel);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-7);
  align-items: center;
}
.hero h1 { color: #fff; font-size: var(--fs-hero); margin-bottom: var(--sp-4); }
.hero h1 .accent { color: #ffd977; }
.hero__lede { font-size: 1.08rem; color: rgba(255,255,255,.86); max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.18);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.85);
}
.hero__badges span { display: inline-flex; align-items: center; gap: 0.45rem; }

/* ---------- Stat strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: var(--sp-6);
  margin-top: calc(var(--sp-7) * -1);
  position: relative;
  z-index: 5;
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
}
.stat__label { font-size: var(--fs-sm); color: var(--c-text-muted); margin-top: var(--sp-2); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9d3e8; }
.card h3 { margin-bottom: var(--sp-2); }
.card p { color: var(--c-text-muted); font-size: 0.95rem; }
.card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: var(--c-bg-tint);
  color: var(--c-primary);
  margin-bottom: var(--sp-4);
  flex-shrink: 0;
}
.card__foot { margin-top: auto; padding-top: var(--sp-4); }

/* Course card */
.course-card { position: relative; overflow: hidden; }
.course-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}
.tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--c-bg-tint);
  color: var(--c-primary);
}
.tag--red { background: rgba(237,28,36,.10); color: #b3141a; }
.tag--gold { background: rgba(217,151,34,.16); color: #8a6410; }
.tag--teal { background: rgba(1,102,150,.10); color: #015476; }

.list-check { list-style: none; padding: 0; margin: 0 0 var(--sp-4); }
.list-check li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.5rem;
  font-size: 0.94rem;
  color: var(--c-text-muted);
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-red);
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.step { text-align: center; padding: var(--sp-5) var(--sp-4); }
.step__num {
  counter-increment: step;
  width: 52px; height: 52px;
  margin: 0 auto var(--sp-4);
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
}
.step__num::before { content: counter(step); }
.step h3 { font-size: 1.05rem; }
.step p { font-size: 0.92rem; color: var(--c-text-muted); margin: 0; }

/* ---------- Accordion / FAQ ---------- */
.accordion { max-width: 840px; margin: 0 auto; }
.accordion__item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: var(--sp-3);
  overflow: hidden;
}
.accordion__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-primary);
  background: none;
  border: 0;
  padding: var(--sp-4) var(--sp-5);
  cursor: pointer;
}
.accordion__btn svg { flex-shrink: 0; transition: transform .2s ease; }
.accordion__btn[aria-expanded="true"] svg { transform: rotate(45deg); }
.accordion__panel { padding: 0 var(--sp-5) var(--sp-5); color: var(--c-text-muted); font-size: 0.95rem; }
.accordion__panel[hidden] { display: none; }

/* ---------- Enquiry form ---------- */
.enquiry-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-6);
  border: 1px solid var(--c-border);
}
.enquiry-card__head { text-align: center; margin-bottom: var(--sp-5); }
.enquiry-card__head h3 { margin-bottom: var(--sp-2); }
.enquiry-card__head p { font-size: var(--fs-sm); color: var(--c-text-muted); margin: 0; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--c-text); }
.field .req { color: var(--brand-red); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--c-text);
  padding: 0.72rem 0.9rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-light-blue);
  box-shadow: 0 0 0 3px rgba(0,120,192,.15);
}
.field input::placeholder, .field textarea::placeholder { color: #9aa3b5; }

.field .error-msg {
  font-size: var(--fs-xs);
  color: var(--c-error);
  min-height: 1em;
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: var(--c-error); }

.form-consent { font-size: var(--fs-xs); color: var(--c-text-muted); text-align: center; margin: var(--sp-3) 0 0; }

.form-status {
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  display: none;
}
.form-status.is-success { display: block; background: rgba(27,143,90,.10); color: #14663f; border: 1px solid rgba(27,143,90,.3); }
.form-status.is-error { display: block; background: rgba(201,21,28,.08); color: #96121a; border: 1px solid rgba(201,21,28,.28); }

.btn[data-loading="true"] { opacity: .75; pointer-events: none; }

/* Honeypot */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--grad-hero);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--sp-7);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 60ch; margin-inline: auto; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: #14163f;
  color: rgba(255,255,255,.76);
  padding: var(--sp-8) 0 var(--sp-5);
  font-size: 0.93rem;
}
.site-footer a { color: rgba(255,255,255,.76); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--sp-6); }
.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.footer-logo { background: #fff; border-radius: var(--radius-sm); padding: 0.6rem 0.8rem; display: inline-block; margin-bottom: var(--sp-4); }
.footer-logo img { height: 42px; width: auto; }
.footer-bottom {
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  font-size: var(--fs-xs);
}

/* ---------- Floating actions ---------- */
.float-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform .15s ease;
}
.float-btn:hover { transform: scale(1.06); text-decoration: none; }
.float-btn--call { background: var(--c-primary); }
.float-btn--wa { background: #25d366; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--grad-hero);
  color: #fff;
  padding: var(--sp-8) 0;
  position: relative;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 5px;
  background: var(--grad-laurel);
}
.page-hero h1 { color: #fff; margin-bottom: var(--sp-3); }
.page-hero p { color: rgba(255,255,255,.85); max-width: 66ch; margin: 0; }
.breadcrumb { font-size: var(--fs-sm); color: rgba(255,255,255,.7); margin-bottom: var(--sp-3); }
.breadcrumb a { color: rgba(255,255,255,.7); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  min-width: 560px;
}
table.data th, table.data td {
  padding: 0.8rem 1rem;
  border: 1px solid var(--c-border);
  text-align: left;
  vertical-align: top;
}
table.data thead th { background: var(--c-primary); color: #fff; font-family: var(--font-head); }
table.data tbody tr:nth-child(even) { background: var(--c-bg-soft); }

/* ---------- Split panel ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-7);
  align-items: center;
}
.panel {
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
}
.panel h3 { color: #fff; }
.panel .list-check li { color: rgba(255,255,255,.85); }
.panel .list-check li::before { background: #ffd977; }

/* ---------- Module cards (PGDM) ---------- */
.module {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.module__head {
  background: var(--brand-orange);
  color: #2b1e02;
  font-family: var(--font-head);
  font-weight: 800;
  padding: 0.8rem var(--sp-5);
  font-size: 1.05rem;
}
.module__body { padding: var(--sp-5); }
.module__body ul { margin: 0 0 var(--sp-4); padding-left: 1.1rem; font-size: 0.94rem; color: var(--c-text-muted); }
.module__body li { margin-bottom: 0.35rem; }
.module__cert {
  font-size: var(--fs-xs);
  background: var(--c-bg-tint);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  color: var(--c-primary);
  font-weight: 600;
}

/* ---------- Media / photos ---------- */
.media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-bg-tint);
}
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.media--wide { aspect-ratio: 16 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 3 / 4; }
.media--banner { aspect-ratio: 21 / 9; }

/* Hero image panel */
.hero-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255,255,255,.14);
}
.hero-figure img { width: 100%; display: block; }

/* Photo gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-bg-tint);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.4rem 0.9rem 0.75rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  background: linear-gradient(transparent, rgba(10,12,40,.55) 35%, rgba(10,12,40,.9));
}
.gallery-item--tall { aspect-ratio: 3 / 4; }

/* Card with image on top */
.card--media { padding: 0; overflow: hidden; }
.card--media .media { border-radius: 0; }
.card--media .card__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }

/* Poster / document images */
.poster {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.poster img { width: 100%; display: block; }
.poster figcaption {
  padding: 0.75rem 1rem;
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  border-top: 1px solid var(--c-border);
}

/* ---------- Testimonials ---------- */
.quote {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.quote__mark {
  font-family: var(--font-head);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--brand-gold);
  margin-bottom: var(--sp-2);
}
.quote__text { font-size: 0.97rem; color: var(--c-text); flex: 1; }
.quote__by {
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-border);
  font-size: var(--fs-sm);
}
.quote__name { font-weight: 700; color: var(--c-primary); display: block; }
.quote__role { color: var(--c-text-muted); font-size: var(--fs-xs); }

.is-placeholder {
  border-style: dashed;
  border-color: #c3cbdd;
  background: #fbfcfe;
}
.placeholder-note {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #8a6410;
  background: rgba(217,151,34,.16);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-3);
}

/* Achiever roll */
.achievers {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.achievers li {
  background: var(--c-bg-tint);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.9rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-primary);
}

/* ---------- Logos strip ---------- */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
}
.logo-chip {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow);
    padding: var(--sp-4) 1.25rem var(--sp-5);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav[data-open="true"] { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: var(--sp-2); }
  .nav__link, .nav__toggle { padding: 0.7rem 0; width: 100%; }
  .nav__menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--c-border);
    border-radius: 0;
    padding: 0 0 0 var(--sp-4);
    margin-bottom: var(--sp-2);
    min-width: 0;
  }
  .header-cta { display: none; }
  .site-header__inner { position: relative; }
}

@media (max-width: 680px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: var(--sp-6); }
  .gallery-grid { grid-template-columns: 1fr; }
  .section { padding: var(--sp-7) 0; }
  .enquiry-card { padding: var(--sp-5); }
  .cta-band { padding: var(--sp-6) var(--sp-5); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}


/* =====================================================================
   v2 LAYER — condensed display type, carousels, maps, scroll reveals
   Display face is Oswald: the manual specifies Bahnschrift Condensed for
   the emblem, and Oswald is its closest widely-available web analogue.
   ===================================================================== */

:root {
  --font-display: 'Oswald', 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --c-ink: #10132e;
  --c-gold-bright: #f2b616;
  --sp-9: 6rem;
}

.display,
.hero__title,
.section-head h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.04;
  text-transform: uppercase;
  text-wrap: balance;
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); }

/* ---------- announcement bar (blinking) ---------- */
.announce {
  background: var(--brand-blue-deep);
  color: #fff;
  border-bottom: 2px solid var(--brand-gold);
}
.announce__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 0.9rem; flex-wrap: wrap;
  padding: 0.6rem 1rem; text-align: center;
}
.announce__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--c-gold-bright);
  box-shadow: 0 0 0 0 rgba(242,182,22,.75);
  animation: pulse 1.6s infinite;
  flex: none;
}
.announce__text {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem; font-weight: 500;
  animation: blink 1.6s steps(1,end) infinite;
}
.announce__cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--brand-red); color: #fff;
  font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.38rem 0.95rem; border-radius: 2px;
  text-decoration: none; transition: background .2s, transform .2s;
}
.announce__cta:hover { background: #c9151c; transform: translateY(-1px); color: #fff; }
@keyframes blink { 0%,64% { opacity: 1 } 65%,100% { opacity: .45 } }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(242,182,22,.7) }
  70%  { box-shadow: 0 0 0 9px rgba(242,182,22,0) }
  100% { box-shadow: 0 0 0 0 rgba(242,182,22,0) }
}
@media (prefers-reduced-motion: reduce) {
  .announce__text, .announce__dot { animation: none }
}

/* ---------- hero carousel ---------- */
.hero-carousel { position: relative; background: var(--brand-blue-deep); overflow: hidden; }
.hero-carousel__track { position: relative; min-height: clamp(360px, 52vw, 560px); }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .7s ease;
}
.hero-slide[data-active="true"] { opacity: 1; visibility: visible; }
.hero-slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-slide--contain img { object-fit: contain; background: #0d1030; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(16,19,46,.94) 0%, rgba(23,26,70,.82) 42%, rgba(23,26,70,.35) 100%);
}
.hero-carousel__caption {
  position: relative; z-index: 2;
  display: flex; align-items: center;
  min-height: clamp(360px, 52vw, 560px);
  padding: var(--sp-7) 0;
}
.hero-carousel__caption .inner { max-width: 620px; color: #fff; }
.hero-carousel .eyebrow { color: var(--c-gold-bright); }
.hero-carousel h1 {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.03;
  margin: 0.5rem 0 0.75rem; color: #fff;
}
.hero-carousel p { color: rgba(255,255,255,.9); font-size: 1.03rem; max-width: 46ch; }

.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 1.1rem; z-index: 3;
  display: flex; justify-content: center; gap: 0.5rem;
}
.hero-dots button {
  width: 30px; height: 4px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.38); border-radius: 2px;
  transition: background .25s, width .25s;
}
.hero-dots button[aria-selected="true"] { background: var(--c-gold-bright); width: 46px; }
.hero-arrow {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 42px; height: 42px; display: grid; place-items: center;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  color: #fff; cursor: pointer; border-radius: 50%;
  transition: background .2s;
}
.hero-arrow:hover { background: rgba(255,255,255,.28); }
.hero-arrow--prev { left: 14px; }
.hero-arrow--next { right: 14px; }
@media (max-width: 700px) { .hero-arrow { display: none } }

/* ---------- stat tiles (gold numerals) ---------- */
.stat-tiles {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.18);
}
.stat-tile { background: rgba(16,19,46,.82); padding: 1.1rem 1rem; }
.stat-tile__n {
  font-family: var(--font-display); font-size: 1.85rem; font-weight: 600;
  color: var(--c-gold-bright); line-height: 1; font-variant-numeric: tabular-nums;
}
.stat-tile__l {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,.82); margin-top: 0.35rem;
}
@media (max-width: 700px) { .stat-tiles { grid-template-columns: repeat(2,1fr) } }

/* ---------- institutions carousel ---------- */
.inst-rail { position: relative; overflow: hidden; }
.inst-track {
  display: flex; gap: var(--sp-4);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: var(--sp-3);
  scrollbar-width: thin;
}
.inst-card {
  flex: 0 0 200px; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 0.7rem; padding: 1.1rem 0.9rem;
  background: #fff; border: 1px solid var(--c-border); border-radius: 4px;
  text-decoration: none; color: var(--c-text);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.inst-card:hover {
  transform: translateY(-4px); border-color: var(--brand-blue);
  box-shadow: 0 12px 26px rgba(23,26,70,.14); color: var(--c-text);
}
.inst-card__logo {
  width: 88px; height: 88px; display: grid; place-items: center;
}
.inst-card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.inst-card__name {
  font-weight: 700; font-size: 0.84rem; line-height: 1.35; color: var(--c-primary);
}
.inst-card__since { font-size: 0.72rem; color: var(--c-text-muted); letter-spacing: .04em; }
.inst-nav { display: flex; gap: 0.5rem; justify-content: flex-end; margin-bottom: var(--sp-3); }
.inst-nav button {
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--c-border); background: #fff; color: var(--c-primary);
  display: grid; place-items: center; transition: background .2s, border-color .2s;
}
.inst-nav button:hover { background: var(--c-bg-tint); border-color: var(--brand-blue); }

/* ---------- course group cards with dual CTA ---------- */
.course-card__actions {
  display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: auto; padding-top: var(--sp-4);
}
.btn--brochure {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: transparent; color: var(--c-primary);
  border: 1.5px solid var(--c-border); font-weight: 600;
}
.btn--brochure:hover { border-color: var(--brand-blue); background: var(--c-bg-tint); color: var(--c-primary); }
.course-card__levels {
  list-style: none; padding: 0; margin: var(--sp-3) 0 0;
  display: flex; flex-wrap: wrap; gap: 0.35rem;
}
.course-card__levels li {
  font-size: 0.72rem; font-weight: 600; letter-spacing: .03em;
  background: var(--c-bg-tint); color: var(--c-primary);
  padding: 0.22rem 0.55rem; border-radius: 2px;
}

/* ---------- people ---------- */
.person {
  background: #fff; border: 1px solid var(--c-border); border-radius: 4px;
  overflow: hidden; text-align: center;
  transition: transform .22s, box-shadow .22s;
}
.person:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(23,26,70,.13); }
.person__img { aspect-ratio: 1/1; background: var(--c-bg-tint); }
.person__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person__body { padding: 0.9rem 0.85rem 1.1rem; }
.person__name { font-weight: 700; font-size: 0.95rem; color: var(--c-primary); line-height: 1.3; }
.person__role { font-size: 0.78rem; color: var(--c-text-muted); margin-top: 0.25rem; line-height: 1.45; }
.person__tag {
  display: inline-block; margin-top: 0.5rem;
  font-size: 0.66rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--brand-gold); 
}

/* ---------- maps ---------- */
.map-embed {
  aspect-ratio: 16/10; border: 1px solid var(--c-border); border-radius: 4px;
  overflow: hidden; background: var(--c-bg-tint);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- social ---------- */
.social-row { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  transition: background .2s, transform .2s, border-color .2s;
}
.social-btn:hover { background: var(--brand-gold); border-color: var(--brand-gold); color: #10132e; transform: translateY(-2px); }
.social-btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s }
.reveal[data-delay="2"] { transition-delay: .16s }
.reveal[data-delay="3"] { transition-delay: .24s }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none }
}

/* ---------- misc ---------- */
.legal-body { max-width: 68ch; }
.legal-body h2 { font-size: 1.25rem; margin-top: var(--sp-6); }
.legal-body h3 { font-size: 1rem; margin-top: var(--sp-5); }
.legal-body p, .legal-body li { color: var(--c-text-muted); }
.updated { font-size: var(--fs-sm); color: var(--c-text-muted); font-style: italic; }

/* ---------- hero captions / contact row ---------- */
.hero-cap { display: none; }
.hero-cap[data-active="true"] { display: block; animation: capIn .55s ease both; }
@keyframes capIn { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) { .hero-cap[data-active="true"] { animation: none } }

.hero-contact {
  display: flex; flex-wrap: wrap; gap: 1.25rem;
  margin-top: var(--sp-5); padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.22);
}
.hero-contact a {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: #fff; font-weight: 600; font-size: 0.92rem;
}
.hero-contact a:hover { color: var(--c-gold-bright); text-decoration: none; }
.hero-contact svg { width: 17px; height: 17px; }

/* ---------- stats band ---------- */
.section--stats { padding: 0; background: var(--brand-blue-deep); }
.section--stats .stat-tiles { border-left: 0; border-right: 0; }

/* ---------- course cards ---------- */
.course-card { display: flex; flex-direction: column; }
.course-card .eyebrow { align-self: flex-start; }
.partner-note {
  font-size: 0.78rem; color: var(--brand-gold);
  font-weight: 600; margin: var(--sp-3) 0 0;
}

/* ---------- steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.step-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: 4px;
  padding: var(--sp-5); position: relative;
}
.step-card__n {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand-blue-deep); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  margin-bottom: var(--sp-3);
}
.step-card h3 { font-size: 1rem; margin-bottom: var(--sp-2); }
.step-card p { font-size: 0.9rem; color: var(--c-text-muted); margin: 0; }
@media (max-width: 860px) { .steps-grid { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 520px) { .steps-grid { grid-template-columns: 1fr } }

/* ---------- enquiry direct buttons ---------- */
.enquiry-direct { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: var(--sp-5); }
.enquiry-direct .btn { font-size: 0.88rem; padding: 0.6rem 1.1rem; }
.enquiry-direct svg { width: 16px; height: 16px; }

/* ---------- footer additions ---------- */
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem;
  list-style: none; margin: 0; padding: 0;
}
.footer-legal a { color: rgba(255,255,255,.72); font-size: 0.82rem; }
.footer-legal a:hover { color: #fff; }
.footer-addr { font-size: 0.85rem; color: rgba(255,255,255,.72); margin-top: var(--sp-3); }

/* ---------- float buttons ---------- */
.float-btn--call { background: var(--brand-blue-deep); }
.float-btn--wa { background: #25d366; }
.float-btn svg { width: 22px; height: 22px; }

/* ---------- data tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-border); border-radius: 4px; background: #fff; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 460px; }
.data-table th {
  text-align: left; background: var(--c-bg-tint); color: var(--c-primary);
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em;
  font-size: 0.76rem; font-weight: 600; padding: 0.75rem 1rem; white-space: nowrap;
}
.data-table td { padding: 0.75rem 1rem; border-top: 1px solid var(--c-border); vertical-align: top; color: var(--c-text-muted); }
.data-table td strong { color: var(--c-text); }
.data-table tr:hover td { background: #fafbfe; }

/* ---------- tight split (image + copy inside a card) ---------- */
.split--tight { grid-template-columns: 170px 1fr; gap: 0; align-items: stretch; }
.split--tight .media { height: 100%; }
@media (max-width: 620px) { .split--tight { grid-template-columns: 1fr } }

.person__img--blank {
  background: linear-gradient(135deg, var(--c-bg-tint), #dde4f2);
  aspect-ratio: 1/1;
}

/* ---------- contact cards ---------- */
.contact-card { text-align: center; text-decoration: none; transition: transform .22s, box-shadow .22s, border-color .22s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-blue); text-decoration: none; }
.contact-card__icon {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto var(--sp-3);
  display: grid; place-items: center;
  background: var(--c-bg-tint); color: var(--c-primary);
}
.contact-card__icon--wa { background: rgba(37,211,102,.14); color: #128c4a; }
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card p { color: var(--c-text-muted); margin: 0; font-size: 0.92rem; }

/* ---------- FAQ accordion ---------- */
.faq details {
  background: #fff; border: 1px solid var(--c-border); border-radius: 4px;
  margin-bottom: 0.6rem; overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.15rem;
  font-weight: 600; color: var(--c-primary); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.25rem; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .22s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details[open] summary { background: var(--c-bg-tint); }
.faq details p { padding: 0 1.15rem 1.1rem; margin: 0; color: var(--c-text-muted); font-size: 0.94rem; }

/* ---------- cta band actions ---------- */
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* ---------- large apply CTA (admissions) ---------- */
.apply-cta {
  text-align: center; max-width: 720px; margin-inline: auto;
  background: #fff; border: 1px solid var(--c-border); border-radius: 6px;
  padding: var(--sp-8) var(--sp-6); box-shadow: var(--shadow);
}
.apply-cta h2 { margin-bottom: var(--sp-3); }
.apply-cta > p { color: var(--c-text-muted); max-width: 46ch; margin-inline: auto; }
.btn--xl {
  font-size: 1.2rem; padding: 1.15rem 3rem; margin-top: var(--sp-5);
  box-shadow: 0 10px 26px rgba(237,28,36,.28);
}
.btn--xl svg { width: 20px; height: 20px; }
.apply-cta__note { font-size: 0.88rem; color: var(--c-text-muted); margin: var(--sp-5) 0 0; }

/* ---------- partner cards ---------- */
.partner-card { display: block; text-decoration: none; transition: transform .22s, box-shadow .22s, border-color .22s; }
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-blue); text-decoration: none; }
.partner-card h3 { margin-bottom: var(--sp-2); }
.partner-card p { color: var(--c-text-muted); font-size: 0.93rem; }
.partner-card__link { font-weight: 700; font-size: 0.86rem; color: var(--brand-red); }

/* ---------- embedded NoPaperForms enquiry widget ---------- */
.enquiry-form--npf { padding: var(--sp-4); }
.enquiry-form--npf .npf_wgts { width: 100%; min-height: 470px; }
.enquiry-form--npf iframe { width: 100% !important; border: 0; }

/* the site-wide NPF side tab sits clear of the floating call/WhatsApp buttons */
.npfWidgetButton {
  position: fixed !important; right: -50px !important; top: 42% !important;
  transform: rotate(270deg) !important;
  background-color: #038137 !important; color: #fff;
  font-family: var(--font-display); font-size: 15px; letter-spacing: .04em;
  line-height: 1.33; padding: 8px 18px; font-weight: 600;
  border: 0; border-radius: 5px 5px 0 0; cursor: pointer; z-index: 90;
}
@media (max-width: 860px) { .npfWidgetButton { display: none !important; } }

/* =====================================================================
   v4 — founder cards, video testimonials, centred apply CTA
   ===================================================================== */

/* ---------- founder cards (image + copy, no overlap) ---------- */
.founder-card { padding: 0; overflow: hidden; }
/* grid gap + padding on the wrapper — margins on the image would push it out
   of its 180px column and run the copy over the photo */
.founder-card__inner {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: var(--sp-5);
  padding: var(--sp-5);
  align-items: start;
}
.founder-card__inner > .media {
  width: 180px; height: 180px; margin: 0;
  border-radius: 4px; overflow: hidden; flex: none;
}
.founder-card__inner > .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-card .card__body { padding: 0; min-width: 0; }
.founder-card .card__body h3 { margin-bottom: 0.15rem; }
.founder-card .person__tag { margin-bottom: var(--sp-3); }
.founder-card .card__body p { font-size: 0.93rem; }
@media (max-width: 700px) {
  .founder-card__inner { grid-template-columns: 1fr; padding: 0; gap: 0; }
  .founder-card__inner > .media {
    width: 100%; height: auto; aspect-ratio: 16/10; border-radius: 0;
  }
  .founder-card .card__body { padding: var(--sp-5); }
}

/* ---------- video testimonials ---------- */
.vtest-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4);
}
.vtest {
  margin: 0; background: #fff; border: 1px solid var(--c-border);
  border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .22s, box-shadow .22s;
}
.vtest:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.vtest__video {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  display: block; background: #0d1030;
}
.vtest__cap {
  padding: 0.85rem 1rem 1rem; text-align: center;
  border-top: 1px solid var(--c-border);
}
.vtest__name { display: block; font-weight: 700; color: var(--c-primary); font-size: 0.95rem; }
.vtest__role {
  display: block; font-size: 0.72rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-gold); font-weight: 700; margin-top: 0.2rem;
}
@media (max-width: 940px) { .vtest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .vtest-grid { grid-template-columns: 1fr; } }

/* ---------- centred apply CTA actions ---------- */
.apply-cta__actions {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  justify-content: center; align-items: center;
}
.cta-band__actions { justify-content: center; }
.apply-cta .btn--xl { margin-top: 0; }

/* =====================================================================
   v5 — WORLD-CLASS LAYER
   Direction adapted from the "Language Learning Platform" template:
   airy light ground, framed rounded hero, glassmorphism, floating chips,
   pill nav, soft layered shadows, interactive tilt + glow.
   Brand palette (navy / crest / red / gold) is unchanged.
   ===================================================================== */

:root {
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --glass: rgba(255, 255, 255, 0.66);
  --glass-border: rgba(255, 255, 255, 0.55);
  --glass-dark: rgba(16, 19, 46, 0.45);
  --glass-dark-border: rgba(255, 255, 255, 0.18);
  --shadow-sm: 0 1px 2px rgba(16,22,46,.05), 0 2px 8px rgba(16,22,46,.06);
  --shadow: 0 2px 6px rgba(16,22,46,.05), 0 12px 32px rgba(23,26,70,.10);
  --shadow-lg: 0 4px 12px rgba(16,22,46,.06), 0 28px 64px rgba(23,26,70,.16);
}

/* ---------- ambient ground ---------- */
body { background: #f6f7fc; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42rem 42rem at 8% -8%,  rgba(46,48,146,.07), transparent 60%),
    radial-gradient(36rem 36rem at 105% 12%, rgba(242,182,22,.08), transparent 60%),
    radial-gradient(40rem 40rem at 50% 115%, rgba(237,28,36,.05), transparent 60%);
}
::selection { background: var(--brand-blue); color: #fff; }
html { scrollbar-color: #b9bfdd #eef0f8; }

/* sections sit on the ambient ground; "soft" bands become translucent */
.section--soft, .section--tint { background: rgba(255,255,255,.55); }

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 300;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-orange), var(--c-gold-bright));
  border-radius: 0 3px 3px 0;
  transition: width .1s linear;
}

/* ---------- glass header + pill nav ---------- */
.site-header {
  background: rgba(255,255,255,.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.7);
  backdrop-filter: blur(18px) saturate(1.7);
  border-bottom: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 1px 0 rgba(23,26,70,.04);
  transition: box-shadow .3s, background .3s;
}
.site-header[data-scrolled="true"] {
  background: rgba(255,255,255,.82);
  box-shadow: 0 8px 30px rgba(23,26,70,.08);
}
.nav__link { border-radius: 999px; padding: .45rem .95rem; transition: background .2s, color .2s; }
.nav__link:hover { background: rgba(46,48,146,.08); }
.nav__link[aria-current="page"] { background: rgba(46,48,146,.1); }
.nav__link[aria-current="page"]::after { display: none; }
.nav__toggle { border-radius: 999px; padding: .45rem .95rem; }
.nav__toggle:hover, .nav__toggle[data-current="true"] { background: rgba(46,48,146,.08); }
.nav__toggle[data-current="true"]::after { display: none; }
.nav__menu {
  border-radius: var(--radius);
  background: rgba(255,255,255,.85);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.nav__menu a { border-radius: 10px; }

/* ---------- buttons: gradient primary, micro-interactions ---------- */
.btn { transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .25s, background .25s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--accent {
  background: linear-gradient(120deg, #ed1c24, #f5811f);
  box-shadow: 0 6px 18px rgba(237,28,36,.3);
}
.btn--accent:hover { background: linear-gradient(120deg, #d8151c, #ef7413); box-shadow: 0 12px 30px rgba(237,28,36,.38); }
.btn--primary { box-shadow: 0 6px 18px rgba(35,36,110,.24); }
.btn--primary:hover { box-shadow: 0 12px 30px rgba(35,36,110,.32); }
.btn--xl { box-shadow: 0 14px 38px rgba(237,28,36,.34); }
.btn svg { transition: transform .25s; }
.btn:hover svg { transform: translateX(3px); }
.btn--brochure:hover svg { transform: translateY(2px); }

/* ---------- framed hero with glass caption ---------- */
.hero-carousel {
  width: min(100% - 2rem, 1360px);
  margin: 1.1rem auto 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-slide::after {
  background: linear-gradient(100deg, rgba(16,19,46,.62) 0%, rgba(23,26,70,.34) 48%, rgba(23,26,70,.06) 100%);
}
.hero-carousel__caption .inner {
  max-width: 620px;
  background: var(--glass-dark);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--glass-dark-border);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: 0 24px 60px rgba(10,12,40,.35);
}
.hero-carousel h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.hero-arrow {
  background: rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background .2s, transform .2s;
}
.hero-arrow:hover { transform: translateY(-50%) scale(1.08); }

/* cursor-following glow inside the hero */
.hero-glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(22rem 22rem at var(--gx, 70%) var(--gy, 40%), rgba(242,182,22,.16), transparent 65%);
  transition: opacity .4s; opacity: 0;
}
.hero-carousel:hover .hero-glow { opacity: 1; }

/* floating glass badges */
.hero-floats { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.float-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 10px 30px rgba(10,12,40,.25);
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: var(--brand-blue-deep);
  animation: floaty 5.2s ease-in-out infinite;
}
.float-chip::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(120deg, var(--brand-red), var(--brand-orange));
}
.fc-1 { right: 6%; top: 18%; animation-delay: 0s; }
.fc-2 { right: 12%; top: 44%; animation-delay: 1.6s; }
.fc-3 { right: 5%; bottom: 22%; animation-delay: 3.1s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-.5deg); }
  50%      { transform: translateY(-14px) rotate(.5deg); }
}
@media (max-width: 960px) { .hero-floats { display: none; } }
@media (prefers-reduced-motion: reduce) { .float-chip { animation: none; } }

/* ---------- glass stat band under the hero ---------- */
.section--stats { background: transparent; padding: 1.4rem 0 0; }
.section--stats .stat-tiles {
  border: 0; gap: 1px;
  background: linear-gradient(120deg, #14163f, #2e3092);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.stat-tile {
  background: rgba(255,255,255,.05);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 1.5rem 1.4rem;
}
.stat-tile__n { font-size: 2.2rem; }

/* ---------- cards: soft, rounded, interactive ---------- */
.card, .inst-card, .person, .step-card, .quote, .vtest, .poster,
.table-wrap, .map-embed, .apply-cta, .founder-card, .partner-card,
.faq details, .ext-note {
  border-radius: var(--radius);
}
.card, .inst-card, .person, .step-card, .partner-card, .vtest {
  border-color: rgba(223,228,238,.8);
  will-change: transform;
}
.card:hover { box-shadow: var(--shadow); }
[data-tilt] { transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .3s; transform-style: preserve-3d; }
[data-tilt]:hover { box-shadow: var(--shadow-lg); }
[data-tilt] > * { transform: translateZ(1px); }

.course-card .eyebrow { border-radius: 999px; }
.course-card__levels li { border-radius: 999px; padding: .3rem .75rem; }
.logo-chip {
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(223,228,238,.9);
  box-shadow: var(--shadow-sm);
}

/* ---------- marquee placement strip ---------- */
.logo-strip.is-marquee {
  display: flex; flex-wrap: nowrap; overflow: hidden; gap: .6rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.logo-strip.is-marquee .marquee-track {
  display: flex; gap: .6rem; flex: none;
  animation: marquee var(--marquee-dur, 38s) linear infinite;
}
.logo-strip.is-marquee:hover .marquee-track { animation-play-state: paused; }
.logo-strip.is-marquee .logo-chip { white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .logo-strip.is-marquee .marquee-track { animation: none; }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(30rem 18rem at 85% 0%, rgba(242,182,22,.14), transparent 65%),
    radial-gradient(26rem 20rem at -5% 110%, rgba(0,120,192,.16), transparent 60%);
}
.page-hero .container { position: relative; }

/* ---------- gallery & media polish ---------- */
.gallery-item { border-radius: var(--radius); }
.gallery-item img { transition: transform .6s cubic-bezier(.22,1,.36,1); }
.media, .hero-figure { border-radius: var(--radius); }

/* ---------- FAQ glass ---------- */
.faq details {
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: box-shadow .25s;
}
.faq details[open] { box-shadow: var(--shadow); }

/* ---------- enquiry / apply CTA glass panel ---------- */
.apply-cta {
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: var(--shadow-lg);
}

/* ---------- footer refinement ---------- */
.site-footer { border-radius: var(--radius-lg) var(--radius-lg) 0 0; margin-top: 1rem; }

/* ---------- float action buttons ---------- */
.float-btn {
  box-shadow: 0 10px 26px rgba(10,12,40,.3);
  border: 2px solid rgba(255,255,255,.35);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
}
.float-btn:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 16px 36px rgba(10,12,40,.36); }

/* ---------- reveal stagger refinement ---------- */
.reveal { transform: translateY(26px) scale(.985); }
.reveal.is-visible { transform: none; }

/* =====================================================================
   v6 — text hero, glass-hover cards, 3D icon badges, logo wall,
   footer contrast, consistent portraits
   ===================================================================== */

/* ---------- full-width text hero (no image slides) ---------- */
.hero-carousel--text {
  width: 100%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  background:
    radial-gradient(38rem 24rem at 88% -10%, rgba(242,182,22,.18), transparent 60%),
    radial-gradient(30rem 22rem at -6% 110%, rgba(0,120,192,.22), transparent 55%),
    linear-gradient(120deg, #14163f 0%, #23246e 55%, #2e3092 100%);
}
.hero-carousel--text .hero-carousel__track,
.hero-carousel--text .hero-carousel__caption { min-height: clamp(360px, 40vw, 480px); }
.hero-carousel--text .hero-carousel__caption .inner {
  max-width: none;
  width: 100%;
  background: rgba(255,255,255,.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 24px 60px rgba(10,12,40,.28);
}
.hero-carousel--text h1 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 20ch; }
.hero-carousel--text p { max-width: 62ch; }
.hero-carousel--text .hero-glow {
  background: radial-gradient(26rem 26rem at var(--gx,70%) var(--gy,40%), rgba(242,182,22,.14), transparent 65%);
}

/* ---------- glass-morph hover on cards ---------- */
.card, .inst-card, .person, .step-card, .partner-card, .vtest, .faq details {
  position: relative;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s, background .3s, border-color .3s;
}
.card:hover, .inst-card:hover, .person:hover, .step-card:hover,
.partner-card:hover, .vtest:hover {
  background: rgba(255,255,255,.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  border-color: rgba(46,48,146,.35);
  box-shadow:
    0 0 0 1px rgba(242,182,22,.25),
    0 4px 12px rgba(16,22,46,.06),
    0 28px 60px rgba(23,26,70,.18);
}
/* sheen sweep on hover */
.card::before, .person::before, .partner-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 48%, transparent 62%);
  transform: translateX(-110%);
  transition: transform .7s ease;
}
.card:hover::before, .person:hover::before, .partner-card:hover::before { transform: translateX(110%); }

/* ---------- 3D icon badges ---------- */
.icon-3d {
  display: inline-grid; place-items: center;
  width: 62px; height: 62px;
  margin-bottom: var(--sp-3);
  border-radius: 20px;
  background:
    radial-gradient(120% 120% at 25% 15%, rgba(255,255,255,.5), transparent 45%),
    linear-gradient(140deg, #2e3092, #171a46);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.45),
    inset 0 -3px 6px rgba(10,12,40,.5),
    0 12px 24px rgba(23,26,70,.32);
  transform: perspective(300px) rotateX(8deg);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s;
}
.icon-3d svg { width: 28px; height: 28px; fill: var(--c-gold-bright); filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
.card:hover .icon-3d {
  transform: perspective(300px) rotateX(0deg) translateY(-4px) scale(1.06);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.5),
    inset 0 -3px 6px rgba(10,12,40,.45),
    0 18px 34px rgba(23,26,70,.4);
}

/* step numbers get the same 3D treatment */
.step-card__n {
  width: 44px; height: 44px; border-radius: 14px;
  background:
    radial-gradient(120% 120% at 25% 15%, rgba(255,255,255,.5), transparent 45%),
    linear-gradient(140deg, #ed1c24, #a80f15);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.4), inset 0 -3px 5px rgba(90,4,8,.55), 0 10px 20px rgba(237,28,36,.3);
  font-size: 1.1rem;
}
/* contact page icons */
.contact-card__icon {
  width: 62px; height: 62px; border-radius: 20px;
  background:
    radial-gradient(120% 120% at 25% 15%, rgba(255,255,255,.55), transparent 45%),
    linear-gradient(140deg, #eef2fa, #c9d3ea);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.8), inset 0 -3px 6px rgba(90,100,140,.3), 0 12px 22px rgba(23,26,70,.14);
}
.contact-card__icon--wa {
  background:
    radial-gradient(120% 120% at 25% 15%, rgba(255,255,255,.55), transparent 45%),
    linear-gradient(140deg, #b8f4d0, #25d366);
  color: #0b5c31;
}

/* ---------- placement logo wall: all visible, hover to light up ---------- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: .7rem;
}
.logo-tile {
  display: grid; place-items: center;
  min-height: 62px; padding: .6rem .9rem;
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(223,228,238,.9);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-weight: 600; font-size: .92rem; letter-spacing: .02em;
  color: #7d84a3; text-align: center;
  filter: grayscale(1);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s, color .25s, filter .25s, background .25s;
  cursor: default;
}
.logo-tile:hover {
  transform: translateY(-4px) scale(1.04);
  filter: none;
  color: var(--brand-blue-deep);
  background: rgba(255,255,255,.95);
  box-shadow: 0 0 0 1px rgba(242,182,22,.35), 0 16px 32px rgba(23,26,70,.16);
}

/* ---------- footer heading + link contrast ---------- */
.site-footer h3 {
  color: var(--c-gold-bright);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .92rem;
}
.site-footer .footer-links a { color: #cdd3f0; }
.site-footer .footer-links a:hover { color: #fff; }
.site-footer p { color: #b9bfdd; }

/* ---------- consistent portraits (About / People) ---------- */
.person__img, .founder-card__inner > .media {
  background: linear-gradient(160deg, #eef2fa, #dfe6f4);
}
.person__img img, .founder-card__inner > .media img {
  filter: saturate(.88) contrast(1.03);
}
.person__img { position: relative; }
.person__img::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 34%;
  background: linear-gradient(transparent, rgba(23,26,70,.14));
  pointer-events: none;
}

/* =====================================================================
   v8 — hero photos behind text, uniform brochure buttons,
   larger brand-coloured Enquire Now tab
   ===================================================================== */

/* ---------- hero: photographs behind the text, dimmed ---------- */
.hero-carousel--text .hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .9s ease;
}
.hero-carousel--text .hero-slide[data-active="true"] { opacity: .30; visibility: visible; }
.hero-carousel--text .hero-slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.75);
}
/* the per-slide scrim is not needed — the section gradient does the work */
.hero-carousel--text .hero-slide::after { content: none; }

/* keep the navy gradient above the photo so headline contrast holds */
.hero-carousel--text::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, rgba(16,19,46,.80) 0%, rgba(23,26,70,.62) 52%, rgba(23,26,70,.44) 100%);
}
.hero-carousel--text .hero-carousel__caption,
.hero-carousel--text .hero-dots,
.hero-carousel--text .hero-glow { z-index: 2; }
.hero-carousel--text .hero-carousel__caption .inner {
  background: rgba(16,19,46,.34);
  border-color: rgba(255,255,255,.18);
}

/* ---------- uniform brochure buttons ----------
   flex-grow would stretch a lone button to fill its card, and `stretch`
   alignment would blow up its height — size to content, equal min-width. */
.course-card__actions { align-items: center; }
.course-card__actions .btn {
  flex: 0 0 auto;
  min-width: 170px;
  white-space: nowrap;
  justify-content: center;
  padding-inline: 1.3rem;
}
.btn--brochure { min-width: 170px; justify-content: center; white-space: nowrap; }
/* inline icons inherit no intrinsic size — pin them so they can't inflate buttons */
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--xl svg { width: 20px; height: 20px; }
@media (max-width: 420px) {
  .course-card__actions .btn { flex: 1 1 100%; min-width: 0; }
}

/* ---------- Enquire Now side tab: larger, brand colours ---------- */
.npfWidgetButton {
  position: fixed !important;
  right: -64px !important;
  top: 44% !important;
  transform: rotate(270deg) !important;
  transform-origin: center !important;
  background: linear-gradient(120deg, #ed1c24, #f5811f) !important;
  color: #fff !important;
  font-family: var(--font-display) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
  padding: 13px 30px !important;
  border: 0 !important;
  border-radius: 12px 12px 0 0 !important;
  box-shadow: 0 -6px 26px rgba(237,28,36,.45) !important;
  cursor: pointer;
  z-index: 95;
  transition: padding .25s ease, box-shadow .25s ease, right .25s ease;
}
.npfWidgetButton:hover {
  padding: 15px 36px !important;
  right: -68px !important;
  box-shadow: 0 -8px 34px rgba(237,28,36,.6) !important;
}
.npfWidgetButton:focus-visible { outline: 3px solid var(--c-gold-bright); outline-offset: 3px; }
@media (max-width: 860px) { .npfWidgetButton { display: none !important; } }

/* =====================================================================
   v9 — UPSC CSE results creative
   ===================================================================== */
.section--upsc {
  background:
    radial-gradient(34rem 22rem at 90% -10%, rgba(242,182,22,.16), transparent 60%),
    radial-gradient(28rem 20rem at -6% 110%, rgba(0,120,192,.14), transparent 55%),
    linear-gradient(140deg, #10132e 0%, #1b1e52 55%, #23246e 100%);
  color: #fff;
}
.section--upsc .section-head h2 { color: #fff; }
.section--upsc .section-head p { color: rgba(255,255,255,.82); }
.section--upsc .section-head p strong { color: var(--c-gold-bright); }

.result-creative {
  margin: 0 auto;
  max-width: 760px;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 28px 64px rgba(4,6,24,.5);
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s;
}
.result-creative:hover {
  transform: translateY(-4px);
  box-shadow: 0 36px 78px rgba(4,6,24,.6);
}
.result-creative img { width: 100%; height: auto; display: block; }
.result-creative figcaption {
  padding: .9rem 1.2rem;
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  border-top: 1px solid rgba(255,255,255,.14);
  text-align: center;
}




/* =====================================
   ENQUIRE NOW BUTTON - FIXED POSITION
===================================== */

/* .npfWidgetButton {
    position: fixed !important;
    right: 0 !important;
    top: 50% !important;
    left: auto !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    z-index: 99999 !important;
    display: block !important;
} */

/* Mobile View */
 @media screen and (max-width: 768px) {
    .npfWidgetButton {
        position: fixed !important;
        right: 0 !important;
        left: auto !important;
        top: 50% !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
        z-index: 99999 !important;
        display: block !important;
    }
} 
