/* =========================================================
   MA TALENT AFRICA — MAIN STYLESHEET
   Design tokens + full responsive layout
   ========================================================= */

:root {
  --navy: #003466;
  --navy-tint: #0a2c56;
  --blue: #0a2c56;
  --gold: #3ff500;
  --gold-deep: #3dba00;
  --paper: #f4f7fb;
  --white: #ffffff;
  --muted: #5a6b85;
  --muted-on-navy: #a9bfd9;
  --hairline: #16466f;
  --hairline-light: #e3eaf2;

  --font-display: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.2px;
  color: var(--gold-deep);
  margin: 0 0 12px;
}

.eyebrow--on-navy { color: var(--gold); }
.eyebrow--pill {
  display: inline-block;
  background: rgba(61,186,0,0.12);
  color: var(--gold-deep);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
}
.eyebrow--pill.eyebrow--on-navy { background: rgba(255,255,255,0.12); color: var(--gold); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.2;
}

p { margin: 0; line-height: 1.6; }

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-heading h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
}

.section-heading--on-navy h2 { color: var(--white); }

.section-heading p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
}

.section-heading--on-navy p { color: var(--muted-on-navy); }

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 17px 34px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.btn--primary { background: var(--gold); color: var(--navy); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--sm { padding: 13px 26px; font-size: 14.5px; }

/* =========================================================
   SKIP LINK / ACCESSIBILITY
   ========================================================= */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  z-index: 9999;
}
.skip-link:focus { left: 10px; top: 10px; }

/* =========================================================
   ANNOUNCEMENT BAR
   ========================================================= */
.announce-bar {
  background: var(--navy-tint);
  padding: 10px 0;
  text-align: center;
}
.announce-bar p {
  color: var(--muted-on-navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  background: var(--navy);
  padding: 18px 0;
  position: relative;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--white);
  font-size: 14.5px;
  font-weight: 500;
  margin-right: 28px; /* fallback for engines without flexbox gap support */
}
.main-nav a:hover { color: var(--gold); }
.main-nav ul li:last-child a { margin-right: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 26px;
  cursor: pointer;
}

@media (max-width: 880px) {
  .main-nav { display: none; }
  .main-nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    box-shadow: 0 8px 20px rgba(0,20,40,0.25);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 18px;
  }
  .main-nav.is-open ul {
    flex-direction: column;
    gap: 16px;
  }
  .nav-toggle { display: block; }
}

/* =========================================================
   HERO (Investment Banking Winter Bootcamp -- proof-led)
   ========================================================= */
.ib-hero { background: var(--white); padding: 72px 0 64px; overflow: hidden; }
.ib-hero-inner {
  display: grid;
  grid-template-columns: 52% 44%;
  gap: 4%;
  align-items: center;
}
.ib-hero-pill {
  display: inline-block;
  background: rgba(61,186,0,0.14);
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.ib-hero-text h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--navy);
  margin: 4px 0 20px;
  line-height: 1.15;
}
.ib-hero-highlight { position: relative; display: inline-block; }
.ib-hero-highlight::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 6px;
  background: var(--gold);
  border-radius: 4px;
  opacity: 0.55;
}
.ib-hero-lead {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 26px;
  max-width: 480px;
}
.ib-hero-cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.ib-avatar-stack { display: flex; align-items: center; }
.ib-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--white);
  margin-right: -10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
}
.ib-avatar--a { background: var(--navy); color: #d9f7c4; }
.ib-avatar--b { background: var(--blue); color: #d7e3f2; }
.ib-avatar--c { background: var(--gold); color: var(--navy); }
.ib-avatar--more { background: var(--hairline-light); color: var(--navy); font-size: 10px; margin-right: 0; }

.ib-hero-stats {
  display: flex;
  border: 1px solid var(--hairline-light);
  border-radius: 10px;
  max-width: 460px;
}
.ib-hero-stat { flex: 1; text-align: center; padding: 14px 10px; border-right: 1px solid var(--hairline-light); }
.ib-hero-stat:last-child { border-right: none; }
.ib-hero-stat-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  color: var(--navy);
}
.ib-hero-stat-label { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }

.ib-hero-media { position: relative; padding: 34px 10px 60px; }
.ib-hero-ribbon {
  position: absolute;
  top: 6px; left: -6px;
  z-index: 3;
  background: var(--navy);
  color: #d9f7c4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 9px 18px;
  border-radius: 6px;
  transform: rotate(-6deg);
  box-shadow: 0 10px 22px rgba(8,20,60,0.3);
}
.ib-hero-media-back {
  position: absolute;
  inset: 34px -6px 60px 24px;
  border-radius: 16px;
  background: #d9f7c4;
  transform: rotate(3deg);
}
.ib-hero-photo-frame {
  width: 100%;
  aspect-ratio: 520/540;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.ib-hero-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.ib-hero-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,20,60,0.12) 0%, rgba(8,20,60,0.38) 45%, rgba(8,20,60,0.82) 100%);
}
.ib-hero-photo-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(61,186,0,0.35) 0%, transparent 40%);
}

.ib-hero-testimonial-slider {
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%) rotate(-2deg);
  width: 86%;
  z-index: 2;
}
.ib-hero-testimonial {
  display: none;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 28px 60px rgba(8,20,60,0.28);
  padding: 22px 22px 32px;
}
.ib-hero-testimonial.is-active { display: block; animation: matalent-testimonial-fade 0.4s ease; }
@keyframes matalent-testimonial-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.ib-hero-testimonial-dots {
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.ib-hero-testimonial-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--hairline-light);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.15s ease, width 0.15s ease, border-radius 0.15s ease;
}
.ib-hero-testimonial-dot:hover { background: var(--muted); }
.ib-hero-testimonial-dot.is-active { background: var(--gold); width: 16px; border-radius: 3px; }
.ib-hero-testimonial-quote {
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.6;
  color: #1c2b4a;
  margin-bottom: 16px;
}
.ib-hero-testimonial-row { display: flex; align-items: center; gap: 12px; }
.ib-hero-testimonial-avatar {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
}
.ib-hero-testimonial-who { flex-grow: 1; min-width: 0; }
.ib-hero-testimonial-name { display: block; font-weight: 700; font-size: 14px; color: var(--navy); }
.ib-hero-testimonial-role { display: block; font-size: 11.5px; color: var(--muted); }
.ib-hero-testimonial-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #e8f7ee;
  color: #0a7a3f;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .ib-hero { padding: 48px 0; }
  .ib-hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .ib-hero-text h1 { font-size: 32px; }
  .ib-hero-media { order: -1; max-width: 380px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .ib-hero-text h1 { font-size: 26px; }
  .ib-hero-stats { flex-direction: column; }
  .ib-hero-stat { border-right: none; border-bottom: 1px solid var(--hairline-light); }
  .ib-hero-stat:last-child { border-bottom: none; }
}

/* =========================================================
   PROGRAM OVERVIEW -- connected-system diagram
   ========================================================= */
.ib-system {
  padding: 100px 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(63,245,0,0.10) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(63,245,0,0.08) 0%, transparent 45%),
    var(--navy);
  position: relative;
  overflow: hidden;
}
.ib-system-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6%;
  position: relative;
  z-index: 1;
}
.ib-system-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 18px;
}
.ib-system-eyebrow span {
  display: inline-block;
  width: 18px;
  height: 1.5px;
  background: var(--gold);
}
.ib-system-heading {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin: 0 0 8px;
  max-width: 460px;
}
.ib-system-intro {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted-on-navy);
  max-width: 460px;
}

/* -- orbit diagram -- */
.ib-orbit {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  margin: 56px auto 0 0;
}
.ib-orbit-ring-outer {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(63,245,0,0.35);
  border-radius: 50%;
}
.ib-orbit-ring-inner {
  position: absolute;
  inset: 22%;
  border: 1.5px dashed rgba(63,245,0,0.22);
  border-radius: 50%;
}
.ib-orbit-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46%; height: 46%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63,245,0,0.16) 0%, rgba(0,52,102,0.96) 68%);
  border: 1px solid rgba(63,245,0,0.4);
  box-shadow: 0 0 40px rgba(63,245,0,0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  z-index: 2;
}
.ib-orbit-center .dashicons { color: var(--gold); font-size: 24px; width: 24px; height: 24px; margin-bottom: 6px; }
.ib-orbit-center-title { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--white); }
.ib-orbit-center-subtitle { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; color: var(--muted-on-navy); margin-top: 3px; }
.ib-orbit-center-caption { font-size: 10.5px; color: var(--gold); margin-top: 10px; line-height: 1.4; max-width: 90%; }

.ib-orbit-node {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(63,245,0,0.28);
  border-radius: 999px;
  padding: 6px 16px 6px 6px;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.ib-orbit-node:hover { border-color: rgba(63,245,0,0.7); background: rgba(255,255,255,0.1); }
.ib-orbit-node--top { top: 0; left: 50%; transform: translate(-50%, -50%); }
.ib-orbit-node--right { top: 50%; left: 100%; transform: translate(-50%, -50%); }
.ib-orbit-node--bottom { top: 100%; left: 50%; transform: translate(-50%, -50%); }
.ib-orbit-node--left { top: 50%; left: 0; transform: translate(-50%, -50%); }
.ib-orbit-node-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(0,52,102,0.6);
  display: flex; align-items: center; justify-content: center;
}
.ib-orbit-node-icon .dashicons { color: var(--gold); font-size: 14px; width: 14px; height: 14px; }
.ib-orbit-node-num {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.ib-orbit-node-label { font-size: 13px; font-weight: 700; color: var(--white); }

/* -- feature list -- */
.ib-system-features { margin-top: 36px; }
.ib-system-feature {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.ib-system-feature:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.ib-system-feature-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(63,245,0,0.3);
  display: flex; align-items: center; justify-content: center;
}
.ib-system-feature-icon .dashicons { color: var(--gold); font-size: 18px; width: 18px; height: 18px; }
.ib-system-feature h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.ib-system-feature p { font-size: 14.5px; line-height: 1.6; color: var(--muted-on-navy); }

.ib-system-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.ib-system-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
}
.ib-system-link:hover { text-decoration: underline; }

.ib-system-footnote {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 22px;
  margin-top: 28px;
}
.ib-system-footnote-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(63,245,0,0.14);
  display: flex; align-items: center; justify-content: center;
}
.ib-system-footnote-icon .dashicons { color: var(--gold); font-size: 18px; width: 18px; height: 18px; }
.ib-system-footnote h4 { font-family: var(--font-display); font-size: 15.5px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.ib-system-footnote p { font-size: 13.5px; color: var(--muted-on-navy); line-height: 1.6; }

@media (max-width: 980px) {
  .ib-system { padding: 64px 0; }
  .ib-system-inner { grid-template-columns: 1fr; gap: 40px; }
  .ib-system-heading { font-size: 28px; max-width: none; }
  .ib-system-intro { max-width: none; }
  .ib-orbit { margin: 40px auto 0; max-width: 380px; }
}
@media (max-width: 480px) {
  .ib-orbit { max-width: 300px; }
  .ib-orbit-node { padding: 5px 12px 5px 5px; gap: 6px; }
  .ib-orbit-node-icon { width: 20px; height: 20px; }
  .ib-orbit-node-icon .dashicons { font-size: 11px; width: 11px; height: 11px; }
  .ib-orbit-node-num { width: 16px; height: 16px; font-size: 9px; }
  .ib-orbit-node-label { font-size: 10.5px; }
  .ib-orbit-center-title { font-size: 14px; }
  .ib-orbit-center-caption { display: none; }
}

/* =========================================================
   WHAT YOU WILL LEARN / WHAT YOU WILL GET
   ========================================================= */
.ib-learn-get { padding: 80px 0; background: var(--paper); }
.ib-learn-get-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.ib-icon-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 18px; }
.ib-icon-list li { display: flex; align-items: center; gap: 16px; }
.ib-icon-list li span:last-child { font-size: 15.5px; font-weight: 500; color: var(--navy); }
.ib-icon-circle {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(7,39,140,0.08);
  display: flex; align-items: center; justify-content: center;
}
.ib-icon-circle .dashicons { color: var(--navy); font-size: 20px; width: 20px; height: 20px; }

@media (max-width: 880px) {
  .ib-learn-get { padding: 56px 0; }
  .ib-learn-get-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* =========================================================
   WHO CAN APPLY / HOW THE APPLICATION WORKS
   ========================================================= */
.ib-apply-process { padding: 80px 0; background: var(--white); }
.ib-apply-process-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.ib-who-row { display: flex; align-items: flex-start; gap: 16px; margin: 22px 0 24px; }
.ib-who-row p { color: var(--muted); font-size: 15.5px; }
.ib-callout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--paper);
  border-radius: 12px;
  padding: 22px;
}
.ib-callout h3 { font-size: 16.5px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.ib-callout p { font-size: 14px; color: var(--muted); }

.ib-process-list { list-style: none; margin: 22px 0 0; padding: 0; position: relative; }
.ib-process-list li { display: flex; gap: 18px; position: relative; padding-bottom: 30px; }
.ib-process-list li:last-child { padding-bottom: 0; }
.ib-process-list li:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  width: 2px;
  background: var(--hairline-light);
}
.ib-process-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 1;
}
.ib-process-list h3 { font-size: 16.5px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.ib-process-list p { font-size: 14px; color: var(--muted); }

@media (max-width: 880px) {
  .ib-apply-process { padding: 56px 0; }
  .ib-apply-process-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* =========================================================
   CLOSING CTA
   ========================================================= */
.closing-cta { background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); padding: 90px 0; }
.closing-cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.closing-cta h2 { font-size: 32px; font-weight: 800; color: var(--white); margin-top: 10px; }
.closing-cta p { color: var(--muted-on-navy); font-size: 16px; font-weight: 500; margin-top: 12px; margin-bottom: 32px; }
.closing-cta .btn { background: var(--gold); color: var(--navy); }

@media (max-width: 780px) {
  .closing-cta { padding: 56px 0; }
  .closing-checklist { grid-template-columns: 1fr; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy); padding: 56px 0 28px; text-align: center; }
.footer-logo { display: inline-flex; margin-bottom: 24px; }
.footer-socials {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 0 0 18px;
  padding: 0;
}
.footer-socials a { color: var(--muted-on-navy); font-size: 13.5px; font-weight: 500; }
.footer-socials a:hover { color: var(--gold); }
.footer-quicklinks {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0 0 28px;
  padding: 0;
}
.footer-quicklinks a { color: #d7e3f2; font-size: 13.5px; }
.footer-quicklinks a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-copyright {
  color: #6e8cb0;
  font-size: 13px;
}
.footer-credit {
  font-size: 12.5px;
}
.footer-credit a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8ba7c7;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-credit a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
.footer-credit a:hover { color: var(--gold); }

@media (max-width: 560px) {
  .site-footer { padding: 44px 0 24px; }
}

/* =========================================================
   APPLICATION FORM (page-apply.php)
   ========================================================= */

/* -- hero banner -- */
.apply-hero-v2 { background: var(--paper); padding: 72px 0; overflow: hidden; }
.apply-hero-v2-inner {
  display: grid;
  grid-template-columns: 52% 44%;
  gap: 4%;
  align-items: center;
}
.apply-hero-v2-text h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin: 8px 0 16px;
}
.apply-hero-v2-text p { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 460px; }
.apply-hero-v2-media { position: relative; }
.apply-hero-v2-photo { width: 100%; border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; object-position: center 20%; }
.apply-hero-v2-script {
  position: absolute;
  top: 8%; right: 6%;
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
  color: var(--gold-deep);
  text-align: right;
  max-width: 200px;
}
@media (max-width: 980px) {
  .apply-hero-v2 { padding: 48px 0; }
  .apply-hero-v2-inner { grid-template-columns: 1fr; gap: 32px; }
  .apply-hero-v2-media { order: -1; }
}

/* -- main layout: sidebar + form card -- */
.apply-main { background: var(--paper); padding: 56px 0 90px; }
.apply-main-inner {
  display: grid;
  grid-template-columns: 32% 64%;
  gap: 4%;
  align-items: start;
}
@media (max-width: 900px) {
  .apply-main-inner { grid-template-columns: 1fr; gap: 32px; }
  .apply-sidebar { order: 2; }
  .apply-form-card { order: 1; }
}

/* -- sidebar -- */
.apply-sidebar h2 { font-family: var(--font-display); font-size: 21px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.apply-sidebar > p { color: var(--muted); font-size: 14.5px; line-height: 1.65; margin-bottom: 26px; }
.apply-sidebar-features { display: grid; gap: 20px; margin-bottom: 26px; }
.apply-sidebar-feature { display: flex; gap: 14px; align-items: flex-start; }
.apply-sidebar-feature-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(0,52,102,0.08);
  display: flex; align-items: center; justify-content: center;
}
.apply-sidebar-feature-icon .dashicons { color: var(--navy); font-size: 18px; width: 18px; height: 18px; }
.apply-sidebar-feature h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.apply-sidebar-feature p { font-size: 13px; color: var(--muted); line-height: 1.55; }

.apply-help-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(0,52,102,0.06);
  border-radius: 12px;
  padding: 20px;
}
.apply-help-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.apply-help-icon .dashicons { color: var(--navy); font-size: 17px; width: 17px; height: 17px; }
.apply-help-box h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.apply-help-box p { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 8px; }
.apply-help-link { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.apply-help-link:hover { text-decoration: underline; }

/* -- quiz timer notice (step 1) + countdown badge (steps 2-4) -- */
.apply-timer-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(61,186,0,0.08);
  border: 1px solid rgba(61,186,0,0.30);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 22px;
}
.apply-timer-notice .dashicons { flex-shrink: 0; color: var(--gold-deep); font-size: 20px; width: 20px; height: 20px; margin-top: 1px; }
.apply-timer-notice p { font-size: 13.5px; color: var(--navy); line-height: 1.6; margin: 0; }

.apply-quiz-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 20px;
  margin-bottom: 24px;
  font-size: 13.5px;
  font-weight: 600;
}
.apply-quiz-timer .dashicons { color: var(--gold); font-size: 16px; width: 16px; height: 16px; }
#apply-timer-display { font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: 0.5px; }
.apply-quiz-timer-label { color: var(--muted-on-navy); font-weight: 500; }
.apply-quiz-timer.is-urgent { background: #b1372f; animation: matalent-timer-pulse 1s ease infinite; }
.apply-quiz-timer.is-urgent .apply-quiz-timer-label { color: #ffd7d2; }
@keyframes matalent-timer-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* -- form card -- */
.apply-form-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0,52,102,0.08);
  padding: 36px 40px;
}
@media (max-width: 600px) {
  .apply-form-card { padding: 24px 20px; }
}

/* -- step indicator -- */
.apply-steps-nav {
  display: flex;
  align-items: center;
  margin-bottom: 36px;
}
.apply-step-node { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; flex-shrink: 1; min-width: 0; width: 130px; }
.apply-step-dot {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--hairline-light);
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.apply-step-node.is-active .apply-step-dot { background: var(--navy); color: var(--white); }
.apply-step-node.is-complete .apply-step-dot { background: var(--gold); color: var(--navy); }
.apply-step-node-label { font-size: 11.5px; font-weight: 600; color: var(--muted); line-height: 1.3; }
.apply-step-node.is-active .apply-step-node-label { color: var(--navy); }
.apply-step-line { flex-grow: 1; flex-shrink: 1; min-width: 12px; height: 1.5px; background: var(--hairline-light); margin: 0 -14px 26px; }
@media (max-width: 700px) {
  .apply-step-node { width: auto; }
  .apply-step-node-label { display: none; }
  .apply-step-line { margin: 0 4px; }
}

/* -- step panels -- */
.apply-step-panel { display: none; }
.apply-step-panel.is-active { display: block; }
.apply-step-title { font-family: var(--font-display); font-size: 23px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.apply-step-subtitle { font-size: 14.5px; color: var(--muted); margin-bottom: 26px; }

.apply-step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline-light);
}
.apply-step-actions--end { justify-content: flex-end; border-top: none; padding-top: 8px; }
.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn--outline-dark:hover { background: var(--paper); }

/* -- quiz questions -- */
.quiz-question { display: flex; gap: 16px; margin-bottom: 28px; }
.quiz-question-num {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.quiz-question-body { flex-grow: 1; min-width: 0; }
.quiz-question-text { display: block; font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 14px; }
.quiz-question .radio-option strong { font-weight: 700; }

/* -- review step -- */
.apply-review-summary {
  background: var(--paper);
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 26px;
  display: grid;
  gap: 10px;
}
.apply-review-row { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.apply-review-row span { color: var(--muted); }
.apply-review-row strong { color: var(--navy); text-align: right; }

/* -- closing band -- */
.apply-closing { background: var(--paper); padding: 64px 0; text-align: center; }
.apply-closing-inner { max-width: 640px; margin: 0 auto; }
.apply-closing h2 { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--navy); margin: 12px 0 28px; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}
.field .req { color: #d6453d; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field select,
.field textarea,
.quiz-question-body textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d6e0ec;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--navy);
  background: var(--white);
  -webkit-appearance: none;
  appearance: none;
}
.field input[type="date"] { position: relative; }
.field input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(14%) sepia(59%) saturate(3000%) hue-rotate(200deg);
}
.field textarea,
.quiz-question-body textarea { resize: vertical; min-height: 100px; }
.field input:focus,
.field select:focus,
.field textarea:focus,
.quiz-question-body textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0,52,102,0.10);
}
.field-hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.radio-grid, .checkbox-grid {
  display: grid;
  gap: 10px;
}
.radio-option, .checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #d6e0ec;
  border-radius: 6px;
  padding: 12px 14px;
  cursor: pointer;
  font-size: 14.5px;
  color: var(--navy);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.radio-option:hover, .checkbox-option:hover { border-color: var(--navy); background: var(--paper); }
.radio-option input, .checkbox-option input { margin-top: 2px; accent-color: var(--navy); }
.radio-option:has(input:checked), .checkbox-option:has(input:checked) {
  border-color: var(--gold-deep);
  background: rgba(61,186,0,0.08);
}

.consent-line { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.consent-line a { color: var(--navy); text-decoration: underline; }

.apply-submit-row { margin-top: 32px; text-align: center; }
.apply-submit-row .btn { width: 100%; padding: 17px; font-size: 16px; }

.form-feedback {
  border-radius: 6px;
  padding: 16px 18px;
  font-size: 14.5px;
  margin-bottom: 28px;
}
.form-feedback--success { background: #e8f7ee; color: #0a4a24; border: 1px solid #4caf7d; }
.form-feedback--error { background: #fdecea; color: #9b2c25; border: 1px solid #e2998f; }
.form-feedback--error ul { margin: 8px 0 0; padding-left: 18px; }

/* =========================================================
   SUCCESS MODAL (application submitted confirmation)
   ========================================================= */
.matalent-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 20, 40, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  animation: matalent-fade-in 0.2s ease;
}
.matalent-modal {
  background: var(--white);
  border-radius: 14px;
  max-width: 440px;
  width: 100%;
  padding: 40px 32px 32px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 20, 40, 0.35);
  animation: matalent-pop-in 0.25s ease;
}
.matalent-modal-icon { margin-bottom: 18px; }
.matalent-modal h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.matalent-modal p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 26px;
}
.matalent-modal .btn { width: 100%; }

@keyframes matalent-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes matalent-pop-in {
  from { opacity: 0; transform: scale(0.94) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 480px) {
  .matalent-modal { padding: 32px 22px 24px; }
  .matalent-modal h2 { font-size: 19px; }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-section { padding: 80px 0; background: var(--white); }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-list--two-col {
  max-width: 1040px;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
  align-content: start;
}
@media (max-width: 780px) {
  .faq-list--two-col { grid-template-columns: 1fr; }
}
.faq-item {
  border: 1px solid var(--hairline-light);
  border-radius: 10px;
  padding: 6px 22px;
}
.faq-item summary {
  padding: 16px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--navy);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 700;
  color: var(--gold-deep);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { font-size: 14.5px; color: var(--muted); padding-bottom: 18px; line-height: 1.65; }

@media (max-width: 560px) {
  .faq-section { padding: 56px 0; }
}
