/* =========================================================
   Johor TVET Employability Programme — page styles
   Built on the Mereka design system (FOW Youth: Teal + Gold)
   ========================================================= */
@import url('assets/colors_and_type.css');

/* Use Poppins everywhere — override the design-system font tokens. */
:root {
  --mk-font-body: 'Poppins', sans-serif;
  --mk-font-ui: 'Poppins', sans-serif;
  --mk-font-display: 'Poppins', sans-serif;
}

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

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--mk-font-body);
  color: var(--mk-off-black);
  background: var(--mk-white);
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
}

/* honour brand: Poppins headings, Inter body. Brief asks for tight body,
   we keep paragraphs readable at 1.5 (binding design-system rule). */
h1, h2, h3, h4, h5 { font-family: var(--mk-font-display); letter-spacing: -0.02em; }
p { line-height: 1.55; }

/* ---------- layout shell ---------- */
.shell { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.section { padding: 104px 0; position: relative; }
.section--tight { padding: 80px 0; }
.section--grey { background: var(--mk-grey); }
.section--ink { background: var(--mk-off-black); color: #fff; }

.eyebrow {
  font-family: var(--mk-font-ui);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mk-strategy-teal);
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
}
.section--ink .eyebrow { color: var(--mk-gold-300); }

.section-head { max-width: 720px; }
.section-head h2 {
  font-weight: 600; font-size: 44px; line-height: 1.1; margin: 0 0 18px;
  color: var(--mk-off-black); text-wrap: balance;
}
.section--ink .section-head h2 { color: #fff; }
.section-head p { font-size: 19px; color: var(--mk-ink-500); margin: 0; max-width: 640px; }
.section--ink .section-head p { color: rgba(255,255,255,.72); }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--mk-font-ui); font-weight: 600; font-size: 15px;
  border-radius: var(--mk-radius-pill); border: 1.5px solid transparent;
  cursor: pointer; padding: 14px 26px;
  display: inline-flex; align-items: center; gap: 9px;
  transition: background var(--mk-dur) var(--mk-ease), color var(--mk-dur) var(--mk-ease),
              border-color var(--mk-dur) var(--mk-ease), transform var(--mk-dur-fast) var(--mk-ease);
  text-decoration: none; line-height: 1; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-teal { background: var(--mk-strategy-teal); color: #fff; }
.btn-teal:hover { background: var(--mk-teal-700); }
.btn-gold { background: var(--mk-momentum-gold); color: var(--mk-off-black); }
.btn-gold:hover { background: var(--mk-gold-700); color: #fff; }
.btn-ink { background: var(--mk-off-black); color: #fff; }
.btn-ink:hover { background: var(--mk-strategy-teal); }
.btn-outline { background: transparent; color: var(--mk-off-black); border-color: var(--mk-off-black); }
.btn-outline:hover { background: var(--mk-off-black); color: #fff; }
.btn-ghost-light { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 32px; font-size: 16.5px; }
.btn-xl { padding: 21px 42px; font-size: 19px; border-radius: var(--mk-radius-pill); }
.btn-xl svg { width: 21px; height: 21px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- cards / wells ---------- */
.icon-well {
  width: 52px; height: 52px; border-radius: var(--mk-radius-pill);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: var(--mk-teal-50); color: var(--mk-strategy-teal);
}
.icon-well svg { width: 24px; height: 24px; }
.icon-well.gold { background: var(--mk-gold-50); color: var(--mk-gold-700); }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--mk-radius-pill);
  font-family: var(--mk-font-ui); font-size: 12px; font-weight: 600;
  letter-spacing: 0.02em;
}
.pill-teal { background: var(--mk-teal-50); color: var(--mk-teal-900); }
.pill-gold { background: var(--mk-gold-50); color: var(--mk-gold-900); }
.pill-grey { background: #fff; color: var(--mk-ink-500); border: 1px solid var(--mk-border); }
.pill-outline-light { background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.22); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--mk-border);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.nav-logo-lockup { display: flex; align-items: center; gap: 13px; }
.nav-logo { height: 42px; width: auto; display: block; }
.nav-logo-divider { width: 1px; height: 30px; background: var(--mk-border); display: block; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-link {
  font-family: var(--mk-font-ui); font-size: 15px; font-weight: 500;
  color: var(--mk-ink-700); background: none; border: none; cursor: pointer;
  padding: 9px 14px; border-radius: var(--mk-radius-md);
  transition: color var(--mk-dur) var(--mk-ease), background var(--mk-dur) var(--mk-ease);
}
.nav-link:hover { color: var(--mk-strategy-teal); background: var(--mk-teal-50); }
.nav-lang {
  font-family: var(--mk-font-ui); font-size: 13px; font-weight: 600;
  color: var(--mk-ink-400); border: 1px solid var(--mk-border); background: #fff;
  border-radius: var(--mk-radius-pill); padding: 7px 13px; letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  transition: border-color var(--mk-dur) var(--mk-ease);
}
.nav-lang:hover { border-color: var(--mk-teal-300); }
.nav-lang .on { color: var(--mk-strategy-teal); }
.nav-lang .sep { color: var(--mk-ink-300); font-weight: 400; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-register-mobile { display: none; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; color: var(--mk-off-black); padding: 6px; margin-left: auto; }
.nav-burger svg { width: 28px; height: 28px; }
.nav-drawer { display: none; }

/* ---------- image-slot placeholder polish ---------- */
image-slot::part(frame) {
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(31,163,166,.22), transparent 60%),
    linear-gradient(150deg, var(--mk-teal-100), var(--mk-teal-50) 55%, #fff);
}
image-slot::part(empty) { color: var(--mk-teal-900); }

/* ---------- coastline motif ---------- */
.coastline { display: block; width: 100%; height: auto; }
.coastline path { fill: none; stroke: var(--mk-strategy-teal); stroke-width: 1.5; }
.divider { padding: 0; background: var(--mk-white); }
.divider .shell { padding-top: 0; padding-bottom: 0; }

/* ---------- batik faint texture ---------- */
.batik-bg { position: relative; overflow: hidden; }
.batik-bg > * { position: relative; z-index: 1; }
.batik-layer {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.5;
}

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; overflow: hidden; background: var(--mk-white); }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 88% 6%, rgba(31,163,166,.10), transparent 55%),
    radial-gradient(80% 70% at 6% 100%, rgba(232,169,47,.08), transparent 60%);
}
.hero-inner { position: relative; z-index: 2; padding: 92px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 64px; align-items: center; }
.hero h1 {
  font-weight: 700; font-size: 76px; line-height: 1.02; margin: 0 0 22px;
  letter-spacing: -0.035em; text-wrap: balance;
}
.hero h1 .teal { color: var(--mk-strategy-teal); }
.hero-sub {
  font-family: var(--mk-font-display); font-weight: 600; font-size: 20px;
  color: var(--mk-off-black); margin: 0 0 22px; letter-spacing: -0.01em;
}
.hero-lead { font-size: 18px; line-height: 1.6; color: var(--mk-ink-500); max-width: 540px; margin: 0 0 30px; }
.hero-cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-note { font-size: 13.5px; color: var(--mk-ink-400); display: flex; align-items: center; gap: 7px; }
.hero-note svg { width: 15px; height: 15px; color: var(--mk-strategy-teal); }
.hero-photo-wrap { position: relative; }
.hero-photo { width: 100%; height: 540px; border-radius: var(--mk-radius-xl); }
.hero-badge {
  position: absolute; left: -26px; bottom: 40px;
  background: #fff; border: 1px solid var(--mk-border); border-radius: var(--mk-radius-lg);
  box-shadow: var(--mk-shadow-lg); padding: 16px 20px; display: flex; align-items: center; gap: 14px;
}
.hero-badge .ms { width: 42px; height: 42px; flex-shrink: 0; }
.hero-badge .t { font-family: var(--mk-font-display); font-weight: 600; font-size: 15px; line-height: 1.2; }
.hero-badge .s { font-size: 12.5px; color: var(--mk-ink-500); }
.hero-marquee {
  margin-top: 64px; border-top: 1px solid var(--mk-border);
  padding: 24px 0; display: flex; align-items: center; gap: 14px;
}
.hero-marquee .lab { font-family: var(--mk-font-ui); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mk-ink-400); white-space: nowrap; }

/* =========================================================
   STATS STRIP
   ========================================================= */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--mk-border); border-radius: var(--mk-radius-lg); overflow: hidden; background: #fff; }
.stat { padding: 34px 26px; border-right: 1px solid var(--mk-border); }
.stat:last-child { border-right: none; }
.stat .num { font-family: var(--mk-font-display); font-weight: 700; font-size: 34px; color: var(--mk-strategy-teal); line-height: 1; letter-spacing: -0.02em; }
.stat .lab { font-family: var(--mk-font-display); font-weight: 600; font-size: 15.5px; margin-top: 12px; color: var(--mk-off-black); }
.stat .desc { font-size: 13.5px; color: var(--mk-ink-500); margin-top: 6px; line-height: 1.45; }
.stat:nth-child(3) .num { color: var(--mk-momentum-gold); }
.stat-logo { display: block; height: 26px; width: auto; margin-top: 18px; }

/* =========================================================
   GAINS
   ========================================================= */
.gain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 56px; }
.gain-card {
  background: #fff; border: 1px solid var(--mk-border); border-radius: var(--mk-radius-lg);
  padding: 34px; display: flex; gap: 22px; align-items: flex-start;
  transition: transform var(--mk-dur) var(--mk-ease), box-shadow var(--mk-dur) var(--mk-ease), border-color var(--mk-dur) var(--mk-ease);
}
.gain-card:hover { transform: translateY(-3px); box-shadow: var(--mk-shadow-md); border-color: var(--mk-teal-100); }
.gain-card h4 { font-weight: 600; font-size: 21px; margin: 0 0 9px; }
.gain-card p { margin: 0; color: var(--mk-ink-500); font-size: 15.5px; }
.gain-num { font-family: var(--mk-font-display); font-weight: 700; font-size: 14px; color: var(--mk-ink-300); }
.gain-num-well { font-family: var(--mk-font-display); font-weight: 700; font-size: 20px; color: var(--mk-strategy-teal); }

/* =========================================================
   CERTIFICATIONS
   ========================================================= */
.cert-track-head { display: flex; align-items: baseline; gap: 14px; margin: 56px 0 22px; }
.cert-track-head h3 { font-weight: 600; font-size: 26px; margin: 0; }
.cert-grid { display: grid; gap: 18px; }
.cert-grid.beginner { grid-template-columns: repeat(3, 1fr); }
.cert-grid.inter { grid-template-columns: repeat(3, 1fr); }
.cert-card {
  background: #fff; border: 1px solid var(--mk-border); border-radius: var(--mk-radius-lg);
  padding: 24px; display: flex; flex-direction: column; min-height: 200px;
  transition: transform var(--mk-dur) var(--mk-ease), box-shadow var(--mk-dur) var(--mk-ease), border-color var(--mk-dur) var(--mk-ease);
  cursor: default;
}
.cert-card:hover { transform: translateY(-3px); box-shadow: var(--mk-shadow-md); border-color: var(--mk-teal-300); }
.cert-card .code {
  font-family: var(--mk-font-mono); font-size: 12px; font-weight: 500;
  color: var(--mk-teal-700); background: var(--mk-teal-50); align-self: flex-start;
  padding: 4px 9px; border-radius: var(--mk-radius-sm); letter-spacing: 0.02em;
}
.cert-card.inter-card .code { color: var(--mk-gold-900); background: var(--mk-gold-50); }
.cert-card h5 { font-weight: 600; font-size: 17px; margin: 16px 0 8px; line-height: 1.25; }
.cert-card p { font-size: 13.5px; color: var(--mk-ink-500); margin: 0; line-height: 1.45; }
.cert-card .lvl { margin-top: auto; padding-top: 16px; }
.cert-callout {
  margin-top: 44px; background: var(--mk-off-black); color: #fff;
  border-radius: var(--mk-radius-xl); padding: 36px 44px;
  display: flex; align-items: center; gap: 26px; position: relative; overflow: hidden;
}
.cert-callout .ico { width: 56px; height: 56px; border-radius: var(--mk-radius-pill); background: var(--mk-momentum-gold); color: var(--mk-off-black); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cert-callout .ico svg { width: 28px; height: 28px; }
.cert-callout h4 { font-weight: 600; font-size: 22px; margin: 0 0 6px; color: #fff; }
.cert-callout p { margin: 0; color: rgba(255,255,255,.75); font-size: 15.5px; max-width: 720px; }
.cert-callout b { color: var(--mk-gold-300); font-weight: 600; }

/* =========================================================
   JOURNEY TIMELINE
   ========================================================= */
.journey { position: relative; }
.journey-grid { display: grid; grid-template-columns: 0.82fr 1.36fr 0.82fr; gap: 44px; margin-top: 64px; position: relative; }
.phase { position: relative; }
.phase:not(:first-child)::before {
  content: ""; position: absolute; left: -28px; top: 6px;
  height: 92px; border-left: 2px dotted var(--mk-teal-300);
}
.phase-node {
  display: flex; align-items: center; gap: 16px; margin-bottom: 22px;
}
.phase-dot {
  width: 56px; height: 56px; border-radius: var(--mk-radius-pill);
  background: var(--mk-strategy-teal); color: #fff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mk-font-display); font-weight: 700; font-size: 20px;
  box-shadow: 0 0 0 6px var(--mk-teal-50);
}
.phase:nth-child(3) .phase-dot { background: var(--mk-momentum-gold); color: var(--mk-off-black); box-shadow: 0 0 0 6px var(--mk-gold-50); }
.phase-ph { font-family: var(--mk-font-ui); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mk-ink-400); }
.phase h4 { font-weight: 600; font-size: 23px; margin: 2px 0 0; }
.phase ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }

/* Phase 2 day-flow — brand teal nodes showing the bootcamp structure */
.phase-days { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 0; }
.phase-days.with-items {
  margin-bottom: 26px; padding-bottom: 24px;
  border-bottom: 1px solid var(--mk-border);
}
.phase-day { flex: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.phase-day-circle {
  width: 78px; height: 78px; border-radius: var(--mk-radius-pill);
  background: var(--mk-strategy-teal); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px var(--mk-teal-50); margin-bottom: 13px;
}
.phase-day-circle .d { font-family: var(--mk-font-display); font-weight: 700; font-size: 27px; line-height: 1; }
.phase-day-circle .u { font-family: var(--mk-font-ui); font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 1px; opacity: 0.9; }
.phase-day-label { font-family: var(--mk-font-display); font-weight: 600; font-size: 15px; line-height: 1.25; white-space: nowrap; }
.phase-day-sub { font-size: 12.5px; color: var(--mk-ink-500); margin-top: 4px; line-height: 1.4; }
.phase-days-arrow { color: var(--mk-teal-300); display: flex; align-items: center; padding-top: 27px; }
.phase-days-arrow svg { width: 20px; height: 20px; }
.phase li { display: flex; gap: 11px; font-size: 15.5px; color: var(--mk-ink-700); line-height: 1.45; }
.phase li svg { width: 18px; height: 18px; color: var(--mk-strategy-teal); flex-shrink: 0; margin-top: 2px; }
.phase:nth-child(3) li svg { color: var(--mk-gold-700); }
.journey-thread { position: absolute; top: 28px; left: 0; right: 0; z-index: 0; pointer-events: none; }

/* =========================================================
   LEARN CHECKLIST
   ========================================================= */
.learn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.learn-item {
  display: flex; align-items: flex-start; gap: 16px; padding: 26px;
  background: #fff; border: 1px solid var(--mk-border); border-radius: var(--mk-radius-lg);
  transition: border-color var(--mk-dur) var(--mk-ease), transform var(--mk-dur) var(--mk-ease);
}
.learn-item:hover { border-color: var(--mk-teal-300); transform: translateY(-2px); }
.learn-check { width: 38px; height: 38px; border-radius: var(--mk-radius-pill); background: var(--mk-teal-50); color: var(--mk-strategy-teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.learn-check svg { width: 20px; height: 20px; }
.learn-item .t { font-family: var(--mk-font-display); font-weight: 600; font-size: 16.5px; line-height: 1.3; }
.learn-item .s { font-size: 13.5px; color: var(--mk-ink-500); margin-top: 4px; }

/* =========================================================
   WHO CAN JOIN
   ========================================================= */
.who-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.who-photo { width: 100%; height: 460px; border-radius: var(--mk-radius-xl); }
.who-list { display: flex; flex-direction: column; gap: 8px; margin-top: 36px; }
.who-row { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--mk-border); }
.who-row:last-child { border-bottom: none; }
.who-row .n { font-family: var(--mk-font-display); font-weight: 700; font-size: 17px; color: var(--mk-strategy-teal); width: 34px; flex-shrink: 0; }
.who-row .c h5 { font-weight: 600; font-size: 19px; margin: 0 0 5px; }
.who-row .c p { margin: 0; font-size: 15px; color: var(--mk-ink-500); }

/* =========================================================
   PARTNER BAND (between Hero and About)
   ========================================================= */
.partner-band { padding: 56px 0; background: var(--mk-grey); border-top: 1px solid var(--mk-border); border-bottom: 1px solid var(--mk-border); }
.partner-band-row { display: flex; align-items: flex-start; justify-content: center; gap: 56px; flex-wrap: wrap; }
.partner-band-item { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.partner-band-label {
  font-family: var(--mk-font-ui); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--mk-strategy-teal);
}
.partner-band-logo { display: flex; align-items: center; justify-content: center; height: 56px; }
.partner-band-logo img { height: 56px; width: auto; max-width: 260px; object-fit: contain; display: block; }
.partner-band-divider { width: 1px; align-self: stretch; min-height: 92px; background: var(--mk-border); }
@media (max-width: 900px) {
  .partner-band-divider { display: none; }
  .partner-band-row { gap: 40px; }
}

/* =========================================================
   PARTNERS
   ========================================================= */
.partners-row { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 48px; }
.partner-logo {
  height: 112px; box-sizing: border-box;
  border: 1px solid var(--mk-border); border-radius: var(--mk-radius-lg);
  background: #fff; padding: 22px 34px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color var(--mk-dur) var(--mk-ease), transform var(--mk-dur) var(--mk-ease), box-shadow var(--mk-dur) var(--mk-ease);
}
.partner-logo:hover { border-color: var(--mk-teal-300); transform: translateY(-2px); box-shadow: var(--mk-shadow-md); }
.partner-logo img { height: 100%; width: auto; max-width: 240px; object-fit: contain; display: block; }
/* square marks carry internal whitespace — let them sit a touch larger */
.partner-logo.square img { height: 112%; }
/* CIMB Foundation reads small at parity — give it more presence */
.partner-logo.prominent img { height: 150%; max-width: 300px; }

/* About-section partnership lockup */
.about-partners { margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--mk-border); }
.about-partners-label {
  display: block; font-family: var(--mk-font-ui); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--mk-ink-400); margin-bottom: 16px;
}
.about-partners-logos { display: flex; align-items: center; gap: 28px; }
.about-logo { display: flex; align-items: center; }
.about-logo img { height: 42px; width: auto; object-fit: contain; display: block; }
.about-logo-cimb img { height: 64px; }
.about-logo-divider { width: 1px; height: 38px; background: var(--mk-border); }

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta { text-align: center; position: relative; overflow: hidden; }
.final-cta .inner { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.final-cta h2 { font-weight: 700; font-size: 60px; line-height: 1.05; margin: 0 0 18px; color: #fff; letter-spacing: -0.03em; text-wrap: balance; }
.final-cta h2 .gold { color: var(--mk-gold-300); }
.final-cta p { font-size: 19px; color: rgba(255,255,255,.72); margin: 0 0 38px; }
.final-cta-coast { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; opacity: .5; }

/* =========================================================
   FOOTER (Microsoft Elevate co-brand — light)
   ========================================================= */
.footer { background: var(--mk-white); color: var(--mk-off-black); padding: 0; border-top: 1px solid var(--mk-border); }
.footer-shell { max-width: 1280px; margin: 0 auto; padding: 56px 48px 36px; }

.footer-head { display: flex; justify-content: flex-start; align-items: flex-start; gap: 32px; }
.footer-ms { display: flex; align-items: center; gap: 14px; }
.footer-ms-squares { width: 40px; height: 40px; display: block; flex-shrink: 0; }
.footer-ms-text { display: flex; flex-direction: column; line-height: 1.12; }
.footer-ms-microsoft { font-family: var(--mk-font-display); font-size: 22px; font-weight: 500; color: #5e5c64; }
.footer-ms-elevate { font-family: var(--mk-font-display); font-size: 22px; font-weight: 500; color: #5e5c64; }

.footer-brand-lockup { display: flex; align-items: center; gap: 18px; }
.footer-brand-mereka { height: 52px; width: auto; display: block; }
.footer-brand-bijibiji { height: 52px; width: auto; display: block; }
.footer-brand-divider { width: 1px; height: 44px; background: var(--mk-border); display: block; }

.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; }
.footer-col h6 { font-family: var(--mk-font-display); font-size: 20px; font-weight: 600; color: var(--mk-anchor-blue); margin: 0 0 24px; }
.footer-col a { display: block; color: var(--mk-blue-700); font-size: 15.5px; text-decoration: none; margin-bottom: 16px; border: none; transition: color var(--mk-dur) var(--mk-ease); }
.footer-col a:hover { color: var(--mk-anchor-blue); text-decoration: underline; }
.footer-contact-h { margin-top: 36px !important; }
.footer-email { font-weight: 500; }

.footer-social-list { list-style: none; margin: 0; padding: 0; }
.footer-social-list li { margin-bottom: 14px; }
.footer-social-list a { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--mk-blue-700); font-size: 15.5px; }
.footer-social-list a:hover { text-decoration: none; color: var(--mk-anchor-blue); }
.footer-social-ic { display: inline-flex; flex-shrink: 0; }
.footer-social-ic svg { width: 20px; height: 20px; fill: none; }
.footer-social-ic.is-fill svg { fill: currentColor; stroke: none; }

.footer-divider { height: 1px; background: var(--mk-border); margin: 40px 0 22px; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 34px; }
.footer-legal .footer-copy { font-family: var(--mk-font-ui); font-size: 13px; color: var(--mk-ink-400); }

/* =========================================================
   REGISTER MODAL
   ========================================================= */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(15,13,22,.62);
  backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center;
  padding: 24px; animation: ovIn .24s var(--mk-ease) both;
}
@keyframes ovIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: #fff; border-radius: var(--mk-radius-xl); width: 100%; max-width: 540px;
  box-shadow: var(--mk-shadow-lg); overflow: hidden; animation: mdIn .3s var(--mk-ease-out) both;
  max-height: 92vh; display: flex; flex-direction: column;
}
@keyframes mdIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-head { padding: 28px 32px 0; position: relative; }
.modal-progress { display: flex; gap: 6px; margin-bottom: 20px; }
.modal-progress span { height: 4px; flex: 1; border-radius: 999px; background: var(--mk-ink-200); transition: background var(--mk-dur) var(--mk-ease); }
.modal-progress span.on { background: var(--mk-strategy-teal); }
.modal-close { position: absolute; top: 22px; right: 22px; background: var(--mk-grey); border: none; width: 36px; height: 36px; border-radius: 999px; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--mk-ink-500); transition: background var(--mk-dur) var(--mk-ease); }
.modal-close:hover { background: var(--mk-ink-200); }
.modal-close svg { width: 18px; height: 18px; }
.modal-body { padding: 8px 32px 0; overflow-y: auto; }
.modal-body h3 { font-weight: 600; font-size: 25px; margin: 0 0 6px; }
.modal-body .sub { font-size: 14.5px; color: var(--mk-ink-500); margin: 0 0 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--mk-font-ui); font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--mk-off-black); }
.field input, .field select {
  width: 100%; font-family: var(--mk-font-ui); font-size: 15px; padding: 13px 15px;
  border: 1.5px solid var(--mk-border); border-radius: var(--mk-radius-md); background: #fff;
  color: var(--mk-off-black); transition: border-color var(--mk-dur) var(--mk-ease), box-shadow var(--mk-dur) var(--mk-ease);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--mk-strategy-teal); box-shadow: var(--mk-shadow-ring); }
.field input.err, .field select.err { border-color: var(--mk-danger); }
.field .msg { font-size: 12.5px; color: var(--mk-danger); margin-top: 6px; display: none; }
.field .msg.show { display: block; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--mk-font-ui); font-size: 13.5px; font-weight: 500; padding: 9px 15px;
  border-radius: var(--mk-radius-pill); border: 1.5px solid var(--mk-border); background: #fff;
  cursor: pointer; color: var(--mk-ink-700); transition: all var(--mk-dur) var(--mk-ease);
}
.chip:hover { border-color: var(--mk-teal-300); }
.chip.sel { background: var(--mk-teal-50); border-color: var(--mk-strategy-teal); color: var(--mk-teal-900); }
.modal-foot { padding: 24px 32px 30px; display: flex; gap: 12px; align-items: center; }
.modal-foot .spacer { flex: 1; }
.modal-success { text-align: center; padding: 48px 36px 44px; }
.modal-success .check { width: 76px; height: 76px; border-radius: 999px; background: var(--mk-teal-50); color: var(--mk-strategy-teal); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.modal-success .check svg { width: 38px; height: 38px; }
.modal-success h3 { font-weight: 600; font-size: 26px; margin: 0 0 10px; }
.modal-success p { font-size: 15px; color: var(--mk-ink-500); margin: 0 auto 26px; max-width: 360px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--mk-ease-out), transform .6s var(--mk-ease-out); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .shell { padding: 0 32px; }
  .hero h1 { font-size: 60px; }
  .section-head h2, .section-head h2 { font-size: 38px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
}
/* Tablet & below — switch nav to burger */
@media (max-width: 880px) {
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: flex; margin-left: 0; }
  .nav-register-mobile { display: inline-flex; margin-left: auto; padding: 9px 18px; font-size: 14px; height: 38px; }
  .nav-inner { height: 68px; }
  .nav-drawer {
    display: block; overflow: hidden; max-height: 0;
    background: #fff; border-bottom: 1px solid var(--mk-border);
    transition: max-height var(--mk-dur-slow) var(--mk-ease);
  }
  .nav-drawer.open { max-height: 520px; }
  .nav-drawer .shell { padding-top: 12px; padding-bottom: 20px; display: flex; flex-direction: column; gap: 2px; }
  .nav-drawer-link { text-align: left; background: none; border: none; cursor: pointer; font-family: var(--mk-font-ui); font-size: 17px; font-weight: 500; color: var(--mk-ink-700); padding: 13px 6px; border-radius: var(--mk-radius-md); }
  .nav-drawer-link:hover { color: var(--mk-strategy-teal); }
  .nav-drawer-actions { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--mk-border); }
  .nav-drawer-actions .btn { flex: 1; justify-content: center; }

  .section { padding: 72px 0; }
  .section--tight { padding: 56px 0; }

  /* Hero */
  .hero-inner { padding: 56px 0 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 52px; }
  .hero-photo, .hero-photo-wrap image-slot { height: 380px !important; }
  .hero-marquee { flex-wrap: wrap; }

  /* About */
  #about .shell > div { grid-template-columns: 1fr !important; gap: 28px !important; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 1px solid var(--mk-border); border-bottom: 1px solid var(--mk-border); }
  .stat:nth-child(2n) { border-right: none; }

  /* Gains, certs, learn, journey, who, partner band */
  .gain-grid { grid-template-columns: 1fr; }
  .cert-grid.beginner, .cert-grid.inter { grid-template-columns: repeat(2, 1fr); }
  .learn-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-grid { grid-template-columns: 1fr; gap: 36px; }
  .phase:not(:first-child)::before { display: none; }
  .who-grid { grid-template-columns: 1fr; gap: 36px; }
  .who-photo, #who image-slot { height: 360px !important; }
  .cert-callout { flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px; }
  .final-cta h2 { font-size: 44px; }

  /* Footer */
  .footer-shell { padding: 48px 32px 30px; }
  .footer-head { flex-direction: column; align-items: flex-start; gap: 28px; }
  .footer-cols { grid-template-columns: 1fr; gap: 40px; }
}

/* Phones */
@media (max-width: 560px) {
  .shell { padding: 0 20px; }
  .section { padding: 56px 0; }
  .eyebrow { margin-bottom: 14px; }
  .section-head h2 { font-size: 30px; }
  .section-head p { font-size: 16.5px; }

  .hero-inner { padding: 40px 0 0; }
  .hero h1 { font-size: 40px; }
  .hero-sub { font-size: 17px; }
  .hero-lead { font-size: 16px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; gap: 16px; }
  .hero-cta-row .btn { justify-content: center; width: 100%; }
  .hero-note { justify-content: center; }
  .hero-photo, .hero-photo-wrap image-slot { height: 300px !important; }
  .hero-badge { left: 12px; right: 12px; bottom: 12px; }

  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none !important; }
  .stat:last-child { border-bottom: none; }

  .cert-grid.beginner, .cert-grid.inter, .learn-grid { grid-template-columns: 1fr; }
  .phase-days { flex-wrap: wrap; }
  .final-cta h2 { font-size: 34px; }

  #about .shell > div { gap: 22px !important; }
  #about h2 { font-size: 30px !important; }
  #who h2 { font-size: 30px !important; }

  .footer-shell { padding: 40px 20px 28px; }
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }
}
