/* ==========================================================================
   Salween Technologies - main stylesheet
   Colours come from the logo. Fonts: Plus Jakarta Sans (headings), Inter (body)
   ========================================================================== */

:root {
  --navy-950: #051A29;
  --navy-900: #072336;
  --navy-800: #0B2A40;
  --navy: #0B4A6E;
  --blue: #0A72AD;
  --blue-dark: #085A8A;
  --sky: #0A8FD0;
  --cyan: #29ABE2;
  --cyan-text: #4CC3F1;
  --cyan-soft: #8FD6F5;
  --mist: #EAF5FC;
  --mist-2: #F2F8FC;
  --mist-line: #CFE5F3;
  --soft: #F6F9FB;
  --soft-2: #F3F7FA;
  --line: #E3EAF0;
  --line-2: #EEF2F6;
  --input: #C9D7E2;
  --ink: #0F2A3D;
  --ink-2: #1F3446;
  --body: #3D5263;
  --text-2: #4A5E6E;
  --muted: #5B6E7D;
  --on-dark: #C9DCE8;
  --on-dark-2: #B9CEDC;
  --on-dark-3: #9FB8C9;
  --star: #F5B83D;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 6px rgba(15, 42, 61, 0.04);
  --shadow-md: 0 16px 40px rgba(11, 74, 110, 0.10);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.28);
  --font-head: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --ease: 0.2s ease;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); margin: 0; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--soft { background: var(--soft); border-top: 1px solid var(--line); }
.section--dark { background: var(--navy-900); }
.section--tight { padding: 72px 0; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.center { text-align: center; align-items: center; margin-left: auto; margin-right: auto; }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.section--dark .eyebrow { color: var(--cyan-text); }
.h2 { font-size: 38px; font-weight: 700; letter-spacing: -0.015em; }
.h2--sm { font-size: 34px; }
.section--dark .h2 { color: #fff; }
.lead { font-size: 17px; color: var(--text-2); }
.section--dark .lead { color: var(--on-dark-2); }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 720px; margin-bottom: 40px; }
.section-head.center { text-align: center; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.section-head--row { max-width: none; flex-direction: row; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; }
.accent { color: var(--cyan-text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 13px 24px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; line-height: 1.2; border: 1px solid transparent; cursor: pointer;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease), transform var(--ease);
  text-decoration: none;
}
.btn svg { flex-shrink: 0; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; box-shadow: 0 10px 22px rgba(10, 114, 173, 0.30); transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--mist); color: var(--navy); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }
.btn-outline { background: #fff; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-pill { border-radius: 999px; }
.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }
.btn-block { display: flex; width: 100%; }
.btn-split { display: flex; justify-content: space-between; width: 100%; }
.btn .arrow { transition: transform var(--ease); }
.btn:hover .arrow { transform: translate(2px, -2px); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy-900); color: var(--on-dark-2); font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 500; }
.topbar a:hover { color: var(--cyan-soft); }
.topbar__links { display: flex; gap: 20px; flex-wrap: wrap; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand img { width: 46px; height: 42px; }
.brand__name { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name strong { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }
.brand__name span { font-size: 12px; font-weight: 500; color: var(--blue); letter-spacing: 0.04em; }

.nav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.nav a, .nav__toggle { color: var(--ink-2); transition: color var(--ease); }
.nav a:hover, .nav__toggle:hover, .nav a[aria-current="page"], .nav__toggle.is-current { color: var(--blue); }
.nav__item { position: relative; }
.nav__toggle { background: none; border: 0; padding: 0; cursor: pointer; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
.nav__toggle svg { transition: transform var(--ease); }
.nav__item.is-open .nav__toggle svg { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.mega {
  position: absolute; left: 50%; top: calc(100% + 14px); transform: translateX(-50%);
  width: 680px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(11, 74, 110, 0.14); padding: 20px; display: none;
}
.nav__item.is-open .mega { display: block; }
.mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mega__link { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color var(--ease), background-color var(--ease); }
.mega__link:hover { border-color: #BFDDEF; background: var(--mist-2); }
.mega__link strong { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 15px; }
.mega__link span { font-size: 13px; color: var(--muted); }
.mega__all { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 15px; }

.burger { display: none; width: 44px; height: 44px; border: 1px solid #D6E3EC; background: #fff; border-radius: 8px; align-items: center; justify-content: center; cursor: pointer; color: var(--navy); }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 8px 24px 20px; background: #fff; }
.mobile-nav.is-open { display: flex; flex-direction: column; }
.mobile-nav a { padding: 13px 0; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line-2); }
.mobile-nav .btn { margin-top: 14px; border-bottom: 0; color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background-color: var(--navy-900); color: var(--on-dark); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 35, 54, 0.96) 0%, rgba(7, 35, 54, 0.88) 48%, rgba(7, 35, 54, 0.58) 100%); }
.hero-stats .stars { color: var(--star); }
.hero__inner { padding-top: 28px; padding-bottom: 96px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 56px; align-items: center; padding-top: 40px; }
.hero__copy { display: flex; flex-direction: column; gap: 22px; }
.hero__copy--narrow { max-width: 720px; padding-top: 52px; }
.hero h1 { font-size: 50px; line-height: 1.12; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.hero h1.h1--course { font-size: 46px; }
.hero p.hero__lead { font-size: 18px; line-height: 1.65; color: var(--on-dark); max-width: 580px; }
.hero--home .hero__inner { padding-bottom: 136px; }
.pill {
  align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--cyan-soft);
  border: 1px solid rgba(143, 214, 245, 0.45); background: rgba(41, 171, 226, 0.12); padding: 6px 12px; border-radius: 999px;
}
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pill-row .pill { font-size: 12px; padding: 5px 12px; }
.breadcrumb { font-size: 13px; color: var(--on-dark-3); display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb ol { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--on-dark-3); }
.breadcrumb a { color: var(--on-dark); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; }
.breadcrumb--light { color: var(--muted); }
.breadcrumb--light li + li::before { color: var(--muted); }
.breadcrumb--light a { color: var(--blue); }
.breadcrumb--light [aria-current] { color: var(--ink-2); }

.chips { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.chips__label { font-size: 14px; color: var(--on-dark-3); margin-right: 4px; }
.chip-dark { font-size: 13px; color: #DCEAF3; border: 1px solid rgba(255, 255, 255, 0.25); padding: 6px 12px; border-radius: 999px; transition: background-color var(--ease), border-color var(--ease); }
.chip-dark:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.hero-stats { display: flex; flex-wrap: wrap; margin-top: 8px; }
.hero-stats > div { display: flex; flex-direction: column; gap: 2px; padding: 4px 28px; border-right: 1px solid rgba(255, 255, 255, 0.18); }
.hero-stats > div:first-child { padding-left: 0; }
.hero-stats > div:last-child { border-right: 0; }
.hero-stats strong { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 8px; }
.hero-stats span { font-size: 13px; color: var(--on-dark-3); }
.check-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; max-width: 600px; }
.check-grid li { display: flex; gap: 10px; align-items: center; color: #fff; font-size: 15px; }
.rating-line { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--on-dark); }
.rating-line strong { color: #fff; }
.stars { display: inline-flex; gap: 2px; color: var(--star); }

/* ---------- Forms ---------- */
.enquiry-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 30px; display: flex; flex-direction: column; gap: 16px; color: var(--body); }
.enquiry-card h2 { font-size: 22px; font-weight: 700; }
.enquiry-card .note { font-size: 14px; color: var(--muted); margin-top: 4px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 0; }
.input, .select, .textarea {
  width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--input); border-radius: var(--radius-sm);
  font-size: 15px; color: var(--ink); background: #fff; transition: border-color var(--ease), box-shadow var(--ease);
}
.textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 110px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(41, 171, 226, 0.25); }
.form-note { font-size: 12px; color: var(--muted); text-align: center; }
.form-note a { font-weight: 600; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mode-group { border: 0; margin: 0; padding: 0; }
.mode-options { display: flex; gap: 10px; flex-wrap: wrap; }
.mode-options label { position: relative; cursor: pointer; }
.mode-options input { position: absolute; opacity: 0; }
.mode-options span { display: inline-flex; align-items: center; height: 46px; padding: 0 18px; border-radius: 8px; border: 1px solid var(--input); background: #fff; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: all var(--ease); }
.mode-options input:checked + span { background: var(--mist); border: 1.5px solid var(--blue); color: var(--navy); }
.mode-options input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* ---------- Highlights strip ---------- */
.overlap { position: relative; z-index: 2; margin-top: -64px; }
.strip { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strip > div { padding: 26px 24px; display: flex; gap: 14px; align-items: flex-start; border-right: 1px solid var(--line-2); }
.strip > div:last-child { border-right: 0; }
.strip strong { display: block; font-weight: 600; color: var(--ink); font-size: 15px; }
.strip span.small { font-size: 13px; color: var(--muted); }
.strip--facts > div { flex-direction: column; gap: 2px; padding: 26px 28px; }
.strip--facts strong { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--navy); }
.strip--facts span { font-size: 14px; color: var(--muted); }
.icon-box { width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; background: var(--mist); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.icon-box--lg { width: 48px; height: 48px; border-radius: 12px; }
.icon-box--solid { background: var(--blue); color: #fff; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split--wide-left { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: 56px; align-items: start; }
.split--faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.split--curriculum { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 56px; align-items: start; }
.split--contact { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: start; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease; }
.card--hover:hover { box-shadow: 0 18px 40px rgba(11, 74, 110, 0.13); transform: translateY(-4px); border-color: #BFDDEF; }
.card--pad { padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 18px; font-weight: 600; }
.card p { font-size: 15px; color: var(--text-2); }
.num { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--blue); }

/* Course card */
.course-card { overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.course-card__top { background: var(--mist-2); padding: 24px 24px 20px; display: flex; flex-direction: column; gap: 14px; border-bottom: 1px solid #E6F0F6; }
.course-card__badges { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 12px; font-weight: 600; color: var(--blue); background: #fff; border: 1px solid var(--mist-line); padding: 4px 10px; border-radius: 6px; }
.tag--navy { color: var(--navy); }
.tag--mist { background: var(--mist); border-color: transparent; }
.course-card h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.course-card h3 .t1 { color: var(--sky); }
.course-card h3 .t2 { color: var(--navy-800); }
.course-card .audience { font-size: 14px; font-weight: 500; color: var(--body); margin-top: 6px; display: block; }
.info-boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.info-box { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.info-box small { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.info-box span { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.course-card__body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.course-card__body > strong { font-size: 14px; font-weight: 600; color: var(--ink); }
.checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--body); line-height: 1.5; }
.checklist svg { flex-shrink: 0; margin-top: 3px; color: var(--blue); }
.course-card.is-hidden, .blog-card.is-hidden { display: none; }

/* Tabs */
.tabs { display: inline-flex; gap: 4px; flex-wrap: wrap; justify-content: center; background: var(--navy-800); padding: 6px; border-radius: 999px; }
.tab { border: 0; border-radius: 999px; padding: 10px 20px; font-size: 14px; font-weight: 600; min-height: 44px; cursor: pointer; background: transparent; color: var(--on-dark); transition: background-color var(--ease), color var(--ease); }
.tab:hover { color: #fff; }
.tab.is-active { background: #fff; color: var(--navy-800); }
.tabs-wrap { display: flex; justify-content: center; margin-bottom: 36px; }

.callback-bar { margin-top: 32px; background: var(--soft-2); border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px 18px 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.callback-bar p { font-size: 17px; font-weight: 500; color: var(--ink-2); }

/* Image with badge */
.media { position: relative; }
.media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.split--stretch { align-items: stretch; }
.media--fill { display: flex; }
.media--fill img { height: 100%; min-height: 380px; aspect-ratio: auto; }
.media__badge { position: absolute; left: 24px; bottom: -28px; background: var(--navy); color: #fff; border-radius: 12px; padding: 18px 22px; box-shadow: 0 14px 30px rgba(7, 35, 54, 0.25); display: flex; flex-direction: column; gap: 2px; max-width: 260px; }
.media__badge strong { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: #fff; }
.media__badge span { font-size: 13px; color: var(--on-dark); }
.media__badge--right { left: auto; right: -16px; bottom: 28px; }
.media__badge--right strong { font-size: 17px; }

/* Dark step cards */
.dark-card { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.10); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.dark-card h3 { color: #fff; font-size: 19px; font-weight: 600; }
.dark-card p { color: var(--on-dark-2); font-size: 15px; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.dark-card svg { color: var(--cyan-text); }

/* Stats & logos */
.stat-tile { background: var(--soft-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 4px; }
.stat-tile strong { font-family: var(--font-head); font-size: 34px; font-weight: 700; color: var(--navy); line-height: 1.15; }
.stat-tile span { font-size: 14px; color: var(--muted); }
.stat-tile--dark { background: var(--navy); border-color: var(--navy); }
.stat-tile--dark strong { color: #fff; }
.stat-tile--dark span { color: var(--on-dark); }
.logo-tile { height: 84px; border: 1px solid var(--line); border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--muted); padding: 12px; transition: border-color var(--ease), box-shadow var(--ease), color var(--ease); }
.logo-tile img { max-height: 44px; width: auto; object-fit: contain; }
.logo-tile:hover { border-color: #BFDDEF; box-shadow: 0 8px 20px rgba(11, 74, 110, 0.08); color: var(--navy); }

/* Rating band */
.rating-band { background: var(--mist-2); border: 1px solid #D6E8F4; border-radius: 16px; padding: 32px 36px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.rating-band__score { display: flex; align-items: center; gap: 20px; }
.rating-band__score > strong { font-family: var(--font-head); font-size: 48px; font-weight: 700; color: var(--navy); line-height: 1; }
.rating-band__score span.label { display: block; font-size: 16px; font-weight: 500; color: var(--ink-2); margin-top: 4px; }

/* Accordions (details/summary) */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc { background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color var(--ease); }
.acc[open] { border-color: #BFDDEF; }
.acc summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; gap: 16px; font-size: 17px; font-weight: 600; color: var(--ink); min-height: 44px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .q { flex-grow: 1; }
.acc .sign { width: 30px; height: 30px; border-radius: 50%; background: var(--mist); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 20px; line-height: 1; transition: background-color var(--ease), color var(--ease), transform var(--ease); }
.acc[open] .sign { background: var(--blue); color: #fff; transform: rotate(45deg); }
.acc__body { padding: 0 62px 20px 22px; font-size: 15px; color: var(--text-2); }
.module-tag { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--blue); background: var(--mist); border-radius: 6px; padding: 4px 10px; white-space: nowrap; }
.topics { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.topics li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--body); }
.topics li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); margin-top: 8px; flex-shrink: 0; }
.practice { margin-top: 12px; font-size: 14px; color: var(--navy); background: var(--mist-2); border-radius: 8px; padding: 10px 14px; }

/* Course page bits */
.jump { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 2px 8px rgba(15, 42, 61, 0.04); }
.jump nav { display: flex; gap: 28px; overflow-x: auto; font-size: 15px; font-weight: 500; scrollbar-width: none; }
.jump a { color: var(--body); padding: 16px 0; border-bottom: 2px solid transparent; white-space: nowrap; transition: color var(--ease), border-color var(--ease); }
.jump a:hover, .jump a.is-active { color: var(--blue); border-color: var(--blue); }
.prose { display: flex; flex-direction: column; gap: 20px; }
.prose > p { font-size: 16px; color: var(--body); }
.prose h3 { font-size: 20px; font-weight: 600; margin-top: 12px; }
.who-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.who-grid div { display: flex; gap: 12px; align-items: flex-start; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-size: 15px; color: var(--ink-2); }
.who-grid svg { flex-shrink: 0; margin-top: 3px; color: var(--blue); }
.skill-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.skill-chips span { font-size: 14px; font-weight: 500; color: var(--navy); background: var(--mist); border: 1px solid var(--mist-line); padding: 7px 14px; border-radius: 999px; }
.aside { display: flex; flex-direction: column; gap: 16px; }
.aside-dark { background: var(--navy); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; color: var(--on-dark); }
.aside-dark .kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan-soft); }
.aside-dark strong.title { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: #fff; }
.aside-dark p { font-size: 14px; color: var(--on-dark); }
.trainer { display: flex; gap: 14px; align-items: center; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 18px; flex-shrink: 0; }
.avatar--sm { width: 44px; height: 44px; font-size: 15px; }
.includes { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.includes h3 { font-size: 17px; }
.includes ul { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--ink-2); }
.includes li { display: flex; gap: 10px; align-items: center; }
.includes svg { color: var(--blue); flex-shrink: 0; }
.tool-tile { padding: 22px 14px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.tool-tile .abbr { width: 48px; height: 48px; border-radius: 12px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.tool-tile span.name { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.project-card { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.project-card h3 { font-size: 19px; }
.project-card p { flex-grow: 1; }
.project-tags { display: flex; gap: 6px; flex-wrap: wrap; border-top: 1px solid var(--line-2); padding-top: 14px; }
.project-tags span { font-size: 12px; font-weight: 500; color: var(--body); background: var(--soft-2); border: 1px solid var(--line); padding: 3px 9px; border-radius: 6px; }
.role-card { padding: 22px; display: flex; gap: 16px; align-items: flex-start; }
.role-card strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--ink); }
.role-card span.d { font-size: 14px; color: var(--text-2); }
.cert-wrap { background: var(--soft-2); border-radius: 16px; padding: 32px; }
.cert { position: relative; background: #fff; border: 1px solid #D6E3EC; border-radius: 10px; padding: 34px 32px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.cert::before { content: ""; position: absolute; inset: 10px; border: 1.5px solid var(--mist-line); border-radius: 6px; pointer-events: none; }
.cert .k { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); }
.cert .s { font-size: 13px; color: var(--muted); }
.cert .n { font-family: var(--font-head); font-size: 28px; font-weight: 700; color: var(--ink); }
.cert .c { font-family: var(--font-head); font-size: 18px; font-weight: 600; color: var(--navy); }
.cert .f { display: flex; justify-content: space-between; width: 100%; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.related-card { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.related-card h3 { font-size: 22px; font-weight: 700; }
.related-card h3 .t1 { color: var(--sky); }
.related-card h3 .t2 { color: var(--navy-800); }
.related-card p { flex-grow: 1; font-size: 14px; }

/* CTA band */
.cta {
  background-color: var(--navy-900);
  background-image: linear-gradient(90deg, rgba(7, 35, 54, 0.95), rgba(11, 74, 110, 0.86)), url('../images/hero-students.jpg');
  background-size: cover; background-position: center;
}
.cta .container { padding-top: 80px; padding-bottom: 80px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta__copy { display: flex; flex-direction: column; gap: 10px; max-width: 620px; }
.cta h2 { font-size: 36px; font-weight: 700; color: #fff; }
.cta p { font-size: 17px; color: var(--on-dark); }
.cta .container.cta__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; }
.contact-box { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 16px; font-size: 15px; color: #DCEAF3; }
.contact-box div { display: flex; gap: 12px; align-items: flex-start; }
.contact-box svg { flex-shrink: 0; margin-top: 3px; color: var(--cyan-text); }
.contact-box a { color: #DCEAF3; }
.contact-box a:hover { color: #fff; }

/* Info list (light) */
.info-list { display: flex; flex-direction: column; gap: 16px; font-size: 15px; }
.info-list div { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); }
.info-list svg { flex-shrink: 0; margin-top: 2px; color: var(--blue); }

/* Testimonials */
.testimonial { margin: 0; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.testimonial blockquote { margin: 0; font-size: 16px; line-height: 1.65; color: var(--ink-2); flex-grow: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line-2); padding-top: 16px; }
.testimonial figcaption strong { display: block; font-size: 15px; color: var(--ink); }
.testimonial figcaption span { font-size: 13px; color: var(--muted); }

/* Guide table */
.guide { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.guide__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 24px; align-items: center; padding: 18px 28px; border-bottom: 1px solid var(--line-2); }
.guide__row:nth-child(even) { background: #F9FBFC; }
.guide__row:last-child { border-bottom: 0; }
.guide__row strong { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.guide__row a { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }

/* Mission */
.panel { border-radius: 16px; padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.panel--dark { background: var(--navy); }
.panel--dark h2 { color: #fff; }
.panel--dark p { color: var(--on-dark); }
.panel--light { background: #fff; border: 1px solid var(--line); }
.panel h2 { font-size: 28px; font-weight: 700; }
.panel p { font-size: 16px; color: var(--text-2); }
.panel .icon-box { background: rgba(255, 255, 255, 0.12); color: var(--cyan-soft); width: 52px; height: 52px; border-radius: 12px; }
.panel--light .icon-box { background: var(--mist); color: var(--blue); }
.tick-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.tick-list li { display: flex; gap: 14px; align-items: flex-start; color: #DCEAF3; }
.tick-list li strong { color: #fff; }
.tick-list svg { flex-shrink: 0; margin-top: 2px; color: var(--cyan-text); }
.mode-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 16px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.mode-card h3 { font-size: 24px; color: #fff; font-weight: 600; }
.mode-card p { color: var(--on-dark-2); }
.mode-card .icon-box { width: 52px; height: 52px; border-radius: 12px; background: var(--blue); color: #fff; }
.mode-card .tick-list { gap: 10px; font-size: 15px; }

/* Course link list */
.course-link { padding: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.course-link strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--ink); }
.course-link span { font-size: 13px; color: var(--muted); }

/* Contact page */
.contact-card { padding: 28px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-md); color: var(--ink-2); }
.contact-card strong { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--ink); }
.contact-card span { font-size: 16px; font-weight: 500; word-break: break-word; }
.form-panel { padding: 40px; display: flex; flex-direction: column; gap: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.map-card { position: relative; display: block; border-radius: 16px; overflow: hidden; }
.map-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.map-card__label { position: absolute; left: 16px; right: 16px; bottom: 16px; background: #fff; border-radius: 10px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; box-shadow: 0 10px 24px rgba(7, 35, 54, 0.2); }
.map-card__label strong { display: block; color: var(--ink); font-size: 15px; }
.map-card__label span { font-size: 13px; color: var(--muted); }

/* Blog */
.featured-post { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); overflow: hidden; box-shadow: var(--shadow-md); }
.featured-post img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.featured-post__body { padding: 40px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.featured-post__body h2 { font-size: 30px; font-weight: 700; }
.badge-solid { font-size: 12px; font-weight: 700; color: #fff; background: var(--blue); padding: 4px 10px; border-radius: 6px; }
.meta { font-size: 14px; color: var(--muted); }
.blog-card { overflow: hidden; display: flex; flex-direction: column; }
.blog-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.blog-card h3 { font-size: 19px; font-weight: 700; line-height: 1.3; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a::after { content: ""; position: absolute; inset: 0; }
.blog-card { position: relative; }
.blog-card p { font-size: 15px; color: var(--text-2); flex-grow: 1; }
.blog-card__foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line-2); padding-top: 14px; font-size: 13px; color: var(--muted); }
.blog-card__foot b { color: var(--blue); font-weight: 600; }

.post-head { background: var(--soft); border-bottom: 1px solid var(--line); }
.post-head__inner { max-width: 880px; margin: 0 auto; padding: 48px 24px 56px; display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.post-head h1 { font-size: 46px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.post-head p.excerpt { font-size: 18px; color: var(--text-2); max-width: 720px; }
.byline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; font-size: 14px; color: var(--muted); }
.byline .avatar { width: 40px; height: 40px; font-size: 14px; background: var(--navy); }
.byline strong { color: var(--ink-2); }
.post-image { padding-top: 40px; }
.post-image img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 16px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.article { max-width: 760px; display: flex; flex-direction: column; gap: 20px; }
.article > p { font-size: 17px; line-height: 1.8; color: #2E4354; }
.article > h2 { font-size: 28px; font-weight: 700; margin-top: 20px; letter-spacing: -0.01em; scroll-margin-top: 100px; }
.article > ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.article > ul li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.7; color: #2E4354; }
.article > ul svg { flex-shrink: 0; margin-top: 6px; color: var(--blue); }
.toc { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.toc strong { font-family: var(--font-head); font-size: 15px; color: var(--ink); }
.toc ol { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.tip { background: var(--mist); border: 1px solid var(--mist-line); border-radius: 12px; padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; }
.tip p { font-size: 16px; line-height: 1.7; color: var(--navy); }
.tip svg { flex-shrink: 0; margin-top: 2px; color: var(--blue); }
.author-box { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 24px; display: flex; gap: 16px; align-items: center; }
.author-box .avatar { background: var(--navy); }
.author-box strong { display: block; font-family: var(--font-head); color: var(--ink); }
.author-box span { font-size: 14px; color: var(--muted); }
.side-card { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.side-card h2 { font-size: 18px; font-weight: 700; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-chips a { font-size: 13px; font-weight: 500; color: var(--navy); background: #fff; border: 1px solid #D6E3EC; padding: 6px 12px; border-radius: 999px; transition: border-color var(--ease); }
.topic-chips a:hover { border-color: var(--blue); }

/* Footer */
.site-footer { background: var(--navy-950); color: var(--on-dark-3); font-size: 14px; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.site-footer h2 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--on-dark-3); transition: color var(--ease); }
.site-footer a:hover { color: #fff; }
.site-footer .footer-brand { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: #fff; }
.site-footer .contact-line { display: flex; gap: 10px; align-items: flex-start; }
.site-footer .contact-line svg { flex-shrink: 0; margin-top: 3px; color: var(--cyan-text); }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.10); }
.site-footer__bottom .container { padding-top: 20px; padding-bottom: 32px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.site-footer .btn { align-self: flex-start; margin-top: 4px; }

/* Thank you */
.thanks { min-height: 60vh; display: flex; align-items: center; }
.thanks .container { max-width: 640px; text-align: center; display: flex; flex-direction: column; gap: 18px; align-items: center; padding-top: 80px; padding-bottom: 80px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .header-actions .btn { padding: 12px 16px; }
}
@media (max-width: 960px) {
  .nav, .header-actions .btn { display: none; }
  .burger { display: inline-flex; }
  .topbar .hide-m { display: none; }
  .hero::before { background: rgba(7, 35, 54, 0.9); }
  .hero__grid, .split, .split--contact, .split--wide-left, .split--faq, .split--curriculum, .section-head--split, .cta .container.cta__grid, .featured-post, .post-layout { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .strip, .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-5, .grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip > div:nth-child(2) { border-right: 0; }
  .strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
  .guide__row { grid-template-columns: 1fr; gap: 6px; }
  .media__badge--right { right: 16px; }
  .media--fill img { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .post-layout .aside { max-width: 560px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero h1, .hero h1.h1--course { font-size: 34px; }
  .post-head h1 { font-size: 32px; }
  .h2, .h2--sm { font-size: 28px; }
  .cta h2 { font-size: 28px; }
  .grid-2, .grid-3, .grid-4, .strip, .site-footer__grid, .who-grid, .form-grid, .check-grid, .topics, .info-boxes { grid-template-columns: 1fr; }
  .grid-5, .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip > div { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .strip > div:last-child { border-bottom: 0; }
  .hero-stats > div { padding: 4px 18px 4px 0; border-right: 0; }
  .enquiry-card, .form-panel, .panel, .mode-card { padding: 24px; }
  .featured-post__body { padding: 24px; }
  .acc__body { padding-right: 22px; }
  .tabs { border-radius: 16px; }
  .rating-band { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Mega menu (grouped by category) ---------- */
.mega { width: 920px; padding: 26px 28px; left: 50%; }
.mega__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.mega__col { display: flex; flex-direction: column; gap: 2px; }
.mega__head { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.mega__col a { font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 6px 0; }
.mega__col a:hover { color: var(--blue); }
.mega__all { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-2); display: block; }

/* About: course category cards */
.cat-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.cat-card li a { font-size: 15px; color: var(--ink-2); font-weight: 500; }
.cat-card li a:hover { color: var(--blue); }
