/* ═══════════════════════════════════════════════════════
   iDT4GDC — Shared Stylesheet (Light Theme)
   Fonts: Sora (display) · DM Sans (body) · DM Mono (labels)
═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;600;700;800&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

/* ── Variables ───────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:           #FFFFFF;
  --bg-alt:       #F3F7FC;
  --bg-section:   #F8FAFD;
  --bg-card:      #FFFFFF;

  /* Text */
  --text:         #0B1A2E;
  --text-mid:     #2D4563;
  --text-light:   #6B7FA0;

  /* Brand */
  --navy:         #0B1A2E;
  --navy-2:       #1D3354;
  --green:        #00963E;   /* accessible on white */
  --green-btn:    #00C060;   /* button hover */
  --green-bg:     #EDFFF5;
  --green-border: #A8E8C4;
  --teal:         #007A6B;
  --teal-bg:      #EAF8F5;

  /* Borders & shadows */
  --border:       #DCE6F0;
  --border-light: #EDF2F8;
  --shadow-sm:    0 1px 4px rgba(11,26,46,.05), 0 4px 12px rgba(11,26,46,.05);
  --shadow-md:    0 4px 24px rgba(11,26,46,.09), 0 2px 8px rgba(11,26,46,.05);
  --shadow-lg:    0 16px 56px rgba(11,26,46,.14);

  /* Typography */
  --font-d: 'Sora', sans-serif;
  --font-b: 'DM Sans', sans-serif;
  --font-m: 'DM Mono', monospace;

  /* Misc */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: .22s ease;
  --nav-h: 72px;
}

/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 2px; }

/* ── Navigation ──────────────────────────────────────── */
#main-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  height: var(--nav-h);
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(220,230,240,0.6);
  transition: box-shadow var(--transition);
}
#main-nav.scrolled {
  box-shadow: 0 2px 20px rgba(11,26,46,.08);
  border-bottom-color: var(--border);
}

.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo-img { height: 46px; width: auto; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}
.nav-links a {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  letter-spacing: .01em;
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--green); font-weight: 600; }

.nav-cta {
  padding: .45rem 1.125rem !important;
  background: var(--green) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  font-size: .8rem !important;
  transition: all var(--transition) !important;
}
.nav-cta:hover { background: var(--green-btn) !important; box-shadow: 0 4px 16px rgba(0,150,62,.3) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-mid);
  border-radius: 2px;
  transition: all .3s;
}

/* ── Page Hero (inner pages) ─────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) 5vw 4rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.page-hero .wrap { max-width: 1240px; margin: 0 auto; }
.page-hero-label {
  font-family: var(--font-m);
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-bottom: .625rem;
}
.page-hero-title {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.08;
  color: var(--navy);
}
.page-hero-sub {
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.7;
  margin-top: .875rem;
  max-width: 640px;
}

/* ── Sections ────────────────────────────────────────── */
section { padding: 5.5rem 5vw; }
.wrap { max-width: 1240px; margin: 0 auto; }

.s-label {
  display: block;
  font-family: var(--font-m);
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .625rem;
}
.s-title {
  font-family: var(--font-d);
  font-size: clamp(1.75rem, 3.5vw, 2.625rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--navy);
}
.s-sub {
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 560px;
  margin-top: .875rem;
}
.s-hd { margin-bottom: 3rem; }

/* ── Buttons ─────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 1.875rem;
  background: var(--green);
  color: #fff;
  font-family: var(--font-b);
  font-weight: 600;
  font-size: .9375rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
}
.btn-primary:hover {
  background: var(--green-btn);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,150,62,.35);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 1.875rem;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-b);
  font-weight: 500;
  font-size: .9375rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }

/* ── Cards ───────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--green-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.card-top-accent {
  border-top: 3px solid var(--green);
}

/* ── Tags & Badges ───────────────────────────────────── */
.tag {
  display: inline-block;
  font-family: var(--font-m);
  font-size: .5875rem;
  letter-spacing: .07em;
  padding: .22rem .6rem;
  border-radius: 4px;
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid var(--green-border);
}
.tag-navy {
  background: rgba(11,26,46,.06);
  color: var(--navy);
  border-color: var(--border);
}
.tag-teal {
  background: var(--teal-bg);
  color: var(--teal);
  border-color: #9CE0D8;
}
.tag-blue {
  background: rgba(74,158,255,.08);
  color: #2A7DE8;
  border-color: #BAD7FF;
}
.tag-violet {
  background: rgba(155,127,232,.08);
  color: #7A5CC8;
  border-color: #D0BEFF;
}

/* ── TRL bars ─────────────────────────────────────────── */
.trl-track {
  height: 5px;
  background: var(--border-light);
  border-radius: 3px;
  overflow: hidden;
}
.trl-fill {
  height: 100%;
  border-radius: 3px;
  width: 0;
  transition: width 1.1s cubic-bezier(.4,0,.2,1);
}
.fill-6 { background: linear-gradient(90deg, #00963E, #00C860); }
.fill-5 { background: linear-gradient(90deg, #007A6B, #00BFA5); }
.fill-4 { background: linear-gradient(90deg, #2A7DE8, #64AEFF); }
.fill-3 { background: linear-gradient(90deg, #7A5CC8, #B496FF); }

/* ── Scroll Reveal ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Section divider ─────────────────────────────────── */
.divider {
  width: 48px; height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin-top: 1.25rem;
}

/* ── Partner strip (footer logo row) ─────────────────── */
.programme-strip {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.prog-badge {
  font-family: var(--font-m);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: .3rem .75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-alt);
}

/* ── Footer ──────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.85);
  padding: 3.5rem 5vw 2rem;
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1240px;
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: .85; margin-bottom: 1rem; }
.footer-desc { font-size: .875rem; color: rgba(255,255,255,.5); line-height: 1.65; margin-bottom: 1.375rem; }
.footer-badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.f-badge { font-family: var(--font-m); font-size: .5875rem; letter-spacing: .08em; color: rgba(255,255,255,.35); border: 1px solid rgba(255,255,255,.12); padding: .22rem .6rem; border-radius: 4px; }

.footer-col h4 { font-family: var(--font-d); font-size: .875rem; font-weight: 600; margin-bottom: 1.25rem; color: rgba(255,255,255,.9); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .625rem; }
.footer-col ul li a { font-size: .8125rem; color: rgba(255,255,255,.45); text-decoration: none; transition: color var(--transition); }
.footer-col ul li a:hover { color: rgba(255,255,255,.85); }

.footer-bottom {
  max-width: 1240px;
  margin: 2rem auto 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}
.footer-disclaimer { font-size: .6875rem; color: rgba(255,255,255,.3); line-height: 1.6; max-width: 620px; }
.footer-id { font-family: var(--font-m); font-size: .625rem; color: rgba(255,255,255,.25); letter-spacing: .1em; white-space: nowrap; flex-shrink: 0; margin-top: .125rem; }

/* ── Mobile nav drawer ───────────────────────────────── */
#nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 5vw 2rem;
  z-index: 850;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 8px 32px rgba(11,26,46,.1);
}
#nav-drawer.open { display: flex; }
#nav-drawer a {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: .875rem 0;
  border-bottom: 1px solid var(--border-light);
  transition: color var(--transition);
}
#nav-drawer a:hover { color: var(--green); }
#nav-drawer a.nav-cta {
  margin-top: 1rem;
  border-bottom: none;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius-sm);
  text-align: center;
  padding: .875rem;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav-links { gap: 1.25rem; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  section { padding: 4rem 5vw; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 600px) {
  section { padding: 3.5rem 5vw; }
  .footer-main { grid-template-columns: 1fr; }
  .page-hero { padding-top: calc(var(--nav-h) + 2.5rem); }
}
