:root {
  --blue-dark: #0d3b6e;
  --blue-mid: #1a5fa8;
  --blue-light: #2d7dd2;
  --teal: #1a8c7e;
  --gold: #e8a020;
  --gold-light: #f5b942;
  --gray-bg: #f4f6f9;
  --gray-light: #e8edf4;
  --gray-text: #555;
  --dark: #1a1a2e;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(13,59,110,0.10);
  --shadow-lg: 0 8px 40px rgba(13,59,110,0.16);
  --radius: 12px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--dark);
  line-height: 1.65;
  background: #fff;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4 { font-size: 1rem; }
p { color: #444; }

.section-label {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--blue-mid);
  margin-bottom: .5rem;
}

/* ── LAYOUT ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { max-width: 600px; margin: .75rem auto 0; font-size: 1.05rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .72rem 1.6rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all .2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: #fff;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,160,32,.35); }

.btn-outline-white {
  border-color: rgba(255,255,255,.7);
  color: #fff;
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); }

.btn-outline-blue {
  border-color: var(--blue-mid);
  color: var(--blue-mid);
}
.btn-outline-blue:hover { background: var(--blue-mid); color: #fff; }

.btn-white {
  background: #fff;
  color: var(--blue-dark);
}
.btn-white:hover { background: var(--gray-light); }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-light);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--blue-dark);
}
.nav-logo .logo-icon {
  width: 44px; height: 44px;
  background: var(--blue-dark);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  flex-shrink: 0;
}
.nav-logo .logo-sub {
  font-size: .7rem;
  font-weight: 500;
  color: var(--gray-text);
  display: block;
  margin-top: 1px;
  letter-spacing: .03em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}
.nav-links a {
  padding: .4rem .85rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: #333;
  transition: all .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue-mid); background: var(--gray-bg); }
.nav-cta { margin-left: .5rem; }
.nav-hamburger { display: none; cursor: pointer; padding: .5rem; background: none; border: none; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ── MOBILE NAV ── */
@media (max-width: 820px) {
  .nav-hamburger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--gray-light);
    box-shadow: var(--shadow);
    gap: .25rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: .6rem 1rem; }
  .nav-cta { width: 100%; text-align: center; margin-left: 0; }
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 60%, #1a4f8a 100%);
  color: #fff;
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -5%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  font-weight: 600;
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 span { color: var(--gold-light); }
.hero-desc { font-size: 1.1rem; color: rgba(255,255,255,.85); margin-bottom: 2rem; max-width: 500px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat-num { font-size: 1.8rem; font-weight: 800; color: var(--gold-light); }
.hero-stat-label { font-size: .8rem; color: rgba(255,255,255,.7); }

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.hero-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-card-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.hero-card h4 { color: #fff; font-size: 1rem; margin-bottom: .2rem; }
.hero-card p { color: rgba(255,255,255,.75); font-size: .85rem; }
.hero-card.accent { background: rgba(232,160,32,.25); border-color: rgba(232,160,32,.4); }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

/* ── WHY M³ ── */
.why { background: var(--gray-bg); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.why-text h2 { margin-bottom: 1rem; }
.why-text p { margin-bottom: 1rem; font-size: 1.05rem; }
.why-points { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .8rem; }
.why-point { display: flex; align-items: flex-start; gap: .75rem; }
.why-point-icon { width: 28px; height: 28px; background: var(--blue-mid); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: .85rem; flex-shrink: 0; margin-top: 2px; }
.why-point-text strong { display: block; color: var(--dark); font-size: .95rem; }
.why-point-text span { font-size: .88rem; color: var(--gray-text); }

.why-visual {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.quote-block {
  background: var(--blue-dark);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}
.quote-block::before { content: '"'; font-size: 4rem; color: rgba(255,255,255,.15); position: absolute; top: -.5rem; left: 1rem; line-height: 1; }
.quote-block p { color: rgba(255,255,255,.9); font-size: 1rem; font-style: italic; padding-top: .5rem; }
.quote-block .quote-attr { margin-top: .75rem; font-size: .8rem; color: var(--gold-light); font-style: normal; font-weight: 600; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.value-chip { background: var(--gray-bg); border-radius: var(--radius-sm); padding: .6rem .9rem; font-size: .85rem; font-weight: 600; color: var(--blue-dark); border-left: 3px solid var(--blue-mid); }

@media (max-width: 820px) { .why-grid { grid-template-columns: 1fr; } }

/* ── WHO WE SERVE ── */
.serve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.serve-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  border-top: 4px solid transparent;
  transition: all .2s;
  position: relative;
  overflow: hidden;
}
.serve-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.serve-card:nth-child(1) { border-color: var(--blue-mid); }
.serve-card:nth-child(2) { border-color: var(--teal); }
.serve-card:nth-child(3) { border-color: var(--gold); }
.serve-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}
.serve-card:nth-child(1) .serve-icon { background: #e8f0fc; }
.serve-card:nth-child(2) .serve-icon { background: #e6f7f4; }
.serve-card:nth-child(3) .serve-icon { background: #fef6e7; }
.serve-card h3 { margin-bottom: .5rem; color: var(--blue-dark); }
.serve-card p { font-size: .9rem; color: var(--gray-text); margin-bottom: 1.25rem; }
.serve-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.serve-tag {
  font-size: .75rem; font-weight: 600;
  padding: .25rem .7rem;
  border-radius: 50px;
  background: var(--gray-bg);
  color: var(--gray-text);
}

@media (max-width: 820px) { .serve-grid { grid-template-columns: 1fr; } }
@media (min-width: 560px) and (max-width: 820px) { .serve-grid { grid-template-columns: 1fr 1fr; } }

/* ── HOW IT WORKS ── */
.how { background: var(--gray-bg); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; }
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px; left: calc(16.66% + 1rem); right: calc(16.66% + 1rem);
  height: 2px;
  background: linear-gradient(90deg, var(--blue-mid), var(--teal));
  z-index: 0;
}
.step-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
  transition: transform .2s;
}
.step-card:hover { transform: translateY(-4px); }
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800;
  color: #fff;
  margin: 0 auto 1.25rem;
}
.step-card:nth-child(1) .step-num { background: var(--blue-dark); }
.step-card:nth-child(2) .step-num { background: var(--teal); }
.step-card:nth-child(3) .step-num { background: var(--gold); }
.step-card h3 { margin-bottom: .5rem; color: var(--blue-dark); }
.step-card p { font-size: .9rem; color: var(--gray-text); }

@media (max-width: 820px) { .steps-grid { grid-template-columns: 1fr; } .steps-grid::before { display: none; } }

/* ── PROGRAM FOCUS ── */
.focus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.focus-item {
  display: flex; align-items: flex-start; gap: 1rem;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.focus-item:hover { transform: translateY(-2px); }
.focus-dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; }
.focus-item:nth-child(1) .focus-dot { background: var(--blue-mid); }
.focus-item:nth-child(2) .focus-dot { background: var(--teal); }
.focus-item:nth-child(3) .focus-dot { background: var(--blue-dark); }
.focus-item:nth-child(4) .focus-dot { background: var(--gold); }
.focus-item h4 { font-size: 1rem; margin-bottom: .3rem; color: var(--blue-dark); }
.focus-item p { font-size: .88rem; color: var(--gray-text); }

@media (max-width: 640px) { .focus-grid { grid-template-columns: 1fr; } }

/* ── IMPACT (stats banner) ── */
.impact {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  color: #fff;
  padding: 60px 0;
}
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.impact-num { font-size: 2.6rem; font-weight: 800; color: var(--gold-light); }
.impact-label { font-size: .88rem; color: rgba(255,255,255,.75); margin-top: .25rem; }

@media (max-width: 640px) { .impact-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; } }

/* ── GET INVOLVED CTA ── */
.cta-section {
  background: var(--gray-bg);
}
.cta-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cta-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  transition: transform .2s, box-shadow .2s;
}
.cta-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cta-card-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}
.cta-card:nth-child(1) .cta-card-icon { background: #e8f0fc; }
.cta-card:nth-child(2) .cta-card-icon { background: #e6f7f4; }
.cta-card:nth-child(3) .cta-card-icon { background: #fef6e7; }
.cta-card h3 { color: var(--blue-dark); }
.cta-card p { font-size: .9rem; color: var(--gray-text); }

@media (max-width: 820px) { .cta-cards { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; } }

/* ── FOOTER ── */
footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,.75);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { color: #fff; margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; max-width: 280px; }
.footer-col h5 { color: #fff; font-size: .9rem; margin-bottom: 1rem; letter-spacing: .05em; text-transform: uppercase; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul li a { font-size: .88rem; color: rgba(255,255,255,.65); transition: color .15s; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: .82rem; }

@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  color: #fff;
  padding: 72px 0 60px;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: .75rem; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--gold-light); }

/* ── ABOUT PAGE ── */
.about-story { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.about-text h2 { margin-bottom: 1rem; }
.about-text p { margin-bottom: 1rem; }
.about-callout {
  background: var(--blue-dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 1.5rem;
}
.about-callout p { color: rgba(255,255,255,.85); }

.values-section { background: var(--gray-bg); }
.values-big-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.value-card-icon { font-size: 2rem; margin-bottom: 1rem; }
.value-card h3 { color: var(--blue-dark); margin-bottom: .5rem; font-size: 1.1rem; }
.value-card p { font-size: .9rem; color: var(--gray-text); }

.team-section { background: #fff; }
.board-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.board-card { text-align: center; }
.board-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}
.board-card h4 { font-size: .95rem; color: var(--blue-dark); }
.board-card p { font-size: .82rem; color: var(--gray-text); }

@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } .values-big-grid { grid-template-columns: 1fr 1fr; } .board-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values-big-grid { grid-template-columns: 1fr; } .board-grid { grid-template-columns: 1fr 1fr 1fr; } }

/* ── HOW IT WORKS PAGE ── */
.cycle-section { background: #fff; }
.cycle-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--gray-light);
  align-items: start;
}
.cycle-step:last-child { border-bottom: none; }
.cycle-step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.cycle-step:nth-child(1) .cycle-step-num { background: var(--blue-dark); }
.cycle-step:nth-child(2) .cycle-step-num { background: var(--blue-mid); }
.cycle-step:nth-child(3) .cycle-step-num { background: var(--teal); }
.cycle-step:nth-child(4) .cycle-step-num { background: var(--gold); }
.cycle-step h3 { color: var(--blue-dark); margin-bottom: .5rem; }
.cycle-step p { font-size: .95rem; color: var(--gray-text); margin-bottom: .75rem; }
.cycle-step ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.cycle-step ul li { font-size: .9rem; color: #555; display: flex; align-items: center; gap: .5rem; }
.cycle-step ul li::before { content: '→'; color: var(--blue-mid); font-weight: 700; }

.timeline-section { background: var(--gray-bg); }
.timeline { position: relative; padding-left: 3rem; }
.timeline::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--blue-dark), var(--gold)); }
.timeline-item { position: relative; padding: 0 0 2.5rem 2rem; }
.timeline-dot { position: absolute; left: -2.5rem; top: 6px; width: 20px; height: 20px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--blue-mid); }
.timeline-item:nth-child(1) .timeline-dot { background: var(--blue-dark); }
.timeline-item:nth-child(2) .timeline-dot { background: var(--teal); }
.timeline-item:nth-child(3) .timeline-dot { background: var(--gold); }
.timeline-item h4 { color: var(--blue-dark); font-size: 1rem; margin-bottom: .35rem; }
.timeline-item p { font-size: .9rem; color: var(--gray-text); }

/* ── FORMS ── */
.form-section { background: var(--gray-bg); }
.form-wrapper {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  color: var(--blue-dark);
  margin-bottom: .4rem;
}
.form-group label .required { color: #e74c3c; margin-left: 2px; }
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid #dde3ed;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-family: inherit;
  color: var(--dark);
  transition: border-color .2s, box-shadow .2s;
  background: #fff;
}
.form-control:focus { outline: none; border-color: var(--blue-mid); box-shadow: 0 0 0 3px rgba(26,95,168,.12); }
.form-control::placeholder { color: #aaa; }
textarea.form-control { min-height: 100px; resize: vertical; }
select.form-control { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; padding-right: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .form-wrapper { padding: 2rem 1.5rem; } }
.form-section-title { font-size: 1rem; font-weight: 700; color: var(--blue-dark); padding: .75rem 0 .5rem; margin-bottom: 1rem; border-bottom: 2px solid var(--gray-light); }
.form-note { font-size: .82rem; color: var(--gray-text); margin-top: .3rem; }
.checkbox-group { display: flex; flex-direction: column; gap: .5rem; }
.checkbox-item { display: flex; align-items: center; gap: .6rem; cursor: pointer; font-size: .9rem; color: #444; }
.checkbox-item input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--blue-mid); cursor: pointer; }
.form-submit { margin-top: 2rem; }
.success-msg { display: none; background: #e8f7f0; border: 1px solid #27ae60; border-radius: var(--radius-sm); padding: 1rem 1.25rem; color: #1e7e4a; font-weight: 600; margin-top: 1rem; }

/* ── PROGRAMS PAGE ── */
.programs-tabs { background: #fff; }
.tab-nav { display: flex; gap: .5rem; margin-bottom: 3rem; flex-wrap: wrap; }
.tab-btn {
  padding: .55rem 1.4rem;
  border-radius: 50px;
  border: 2px solid var(--gray-light);
  background: #fff;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: all .2s;
  color: #555;
}
.tab-btn.active { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.tab-btn:hover:not(.active) { border-color: var(--blue-mid); color: var(--blue-mid); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.program-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start;
}
.program-detail h2 { margin-bottom: 1rem; }
.program-detail p { margin-bottom: 1rem; }
.program-features { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
.program-feature { display: flex; align-items: flex-start; gap: .75rem; }
.program-feature-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.program-feature-text strong { display: block; font-size: .95rem; color: var(--blue-dark); }
.program-feature-text span { font-size: .85rem; color: var(--gray-text); }
.program-card-visual {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  border-radius: var(--radius);
  padding: 2.5rem;
  color: #fff;
}
.program-card-visual h3 { color: #fff; margin-bottom: 1.5rem; }
.program-highlight { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.program-highlight-icon { font-size: 1.4rem; }
.program-highlight-text { font-size: .9rem; color: rgba(255,255,255,.85); }
@media (max-width: 820px) { .program-detail { grid-template-columns: 1fr; } }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-icon { width: 44px; height: 44px; background: var(--blue-dark); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; flex-shrink: 0; }
.contact-info-item h4 { color: var(--blue-dark); margin-bottom: .2rem; }
.contact-info-item p { font-size: .9rem; color: var(--gray-text); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ── PARTNER PAGE ── */
.partner-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.tier-card {
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}
.tier-card.bronze { background: #fff; border: 2px solid #cd7f32; }
.tier-card.silver { background: #fff; border: 2px solid #8a9bb0; }
.tier-card.gold { background: linear-gradient(135deg, #fef6e7, #fdf0d0); border: 2px solid var(--gold); }
.tier-badge { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 50px; margin-bottom: 1rem; display: inline-block; }
.tier-card.bronze .tier-badge { background: #cd7f32; color: #fff; }
.tier-card.silver .tier-badge { background: #8a9bb0; color: #fff; }
.tier-card.gold .tier-badge { background: var(--gold); color: #fff; }
.tier-card h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.tier-card.bronze h3 { color: #cd7f32; }
.tier-card.silver h3 { color: #5a6b7c; }
.tier-card.gold h3 { color: #b87a0a; }
.tier-features { list-style: none; display: flex; flex-direction: column; gap: .7rem; margin-bottom: 2rem; }
.tier-features li { font-size: .9rem; color: #444; display: flex; gap: .6rem; align-items: flex-start; }
.tier-features li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; }
@media (max-width: 820px) { .partner-tiers { grid-template-columns: 1fr; } }

/* ── UTILITIES ── */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.gap-1 { gap: .5rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.color-blue { color: var(--blue-mid); }
.color-gold { color: var(--gold); }
.bg-blue-dark { background: var(--blue-dark); }
.text-white { color: #fff; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp .5s ease both; }
.fade-up-delay-1 { animation-delay: .1s; }
.fade-up-delay-2 { animation-delay: .2s; }
.fade-up-delay-3 { animation-delay: .3s; }

/* ── MENTOR MATCH RESULTS ── */
#match-results { max-width: 760px; margin: 0 auto; }

.m-results-hdr { text-align: center; margin-bottom: 2rem; }
.m-results-hdr h2 { margin-bottom: .5rem; }
.m-results-hdr p  { color: var(--gray-text); font-size: .95rem; }

.m-notice {
  display: inline-block; margin-top: .75rem;
  font-size: .85rem; color: #555;
  background: var(--gray-bg); border-radius: var(--radius-sm);
  padding: .5rem 1rem;
}

.m-grid { display: flex; flex-direction: column; gap: 1.5rem; }

/* Card */
.m-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--blue-mid);
  animation: fadeUp .4s ease both;
}

/* Top row: avatar + name/role + badge */
.m-card-top { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }

.m-avatar-wrap { position: relative; flex-shrink: 0; }
.m-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  color: #fff; font-size: .88rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: .02em;
}
.m-rank {
  position: absolute; bottom: -4px; right: -4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold); color: #fff;
  font-size: .62rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}

.m-head { flex: 1; min-width: 0; }
.m-name    { font-size: 1.05rem; font-weight: 700; color: var(--blue-dark); }
.m-role    { font-size: .88rem; color: #444; margin-top: .1rem; }
.m-company { font-size: .8rem; color: var(--gray-text); margin-top: .05rem; }

/* Match badge */
.m-badge {
  border-radius: var(--radius-sm); padding: .5rem .85rem;
  text-align: center; min-width: 96px; flex-shrink: 0;
}
.m-pct    { font-size: 1.55rem; font-weight: 800; line-height: 1; }
.m-qlabel { font-size: .65rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-top: .2rem; }

.match-excellent { background: #e8f7ef; }
.match-excellent .m-pct, .match-excellent .m-qlabel { color: #1a7a40; }
.match-strong    { background: #e4f1f7; }
.match-strong    .m-pct, .match-strong    .m-qlabel { color: #1a5a7e; }
.match-good      { background: #eaf0fb; }
.match-good      .m-pct, .match-good      .m-qlabel { color: var(--blue-dark); }

/* Score breakdown bars */
.m-scores {
  background: var(--gray-bg); border-radius: var(--radius-sm);
  padding: .85rem 1rem; margin-bottom: 1.1rem;
  display: flex; flex-direction: column; gap: .45rem;
}
.m-score-row  { display: flex; align-items: center; gap: .6rem; }
.m-score-label{ font-size: .76rem; color: var(--gray-text); width: 128px; flex-shrink: 0; }
.m-score-bar  { flex: 1; height: 6px; background: #dde3ed; border-radius: 3px; overflow: hidden; }
.m-score-fill { height: 100%; background: linear-gradient(90deg, var(--blue-mid), var(--teal));
                border-radius: 3px; transition: width .6s ease; }
.m-score-val  { font-size: .76rem; font-weight: 600; color: var(--blue-dark); width: 30px; text-align: right; }

/* Tags, meta, excerpt */
.m-tags    { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .85rem; }
.m-tag     { font-size: .74rem; font-weight: 500; padding: .2rem .65rem;
             background: #e8f0fc; color: var(--blue-dark); border-radius: 50px; }

.m-meta    { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: .85rem; }
.m-meta-item { font-size: .82rem; color: var(--gray-text); }

.m-excerpt { font-size: .88rem; color: #555; font-style: italic; line-height: 1.65; margin-bottom: 1rem; }

/* CTA */
.m-cta { width: 100%; justify-content: center; }
.m-intro-confirm {
  margin-top: .5rem; padding: .65rem 1rem; border-radius: var(--radius-sm);
  background: #e8f7ef; color: #1a7a40; font-size: .88rem; font-weight: 600;
  text-align: center;
}

/* Loading */
.m-loading { text-align: center; padding: 3.5rem 2rem; background: #fff;
             border-radius: var(--radius); box-shadow: var(--shadow); }
.m-loading-title { font-weight: 600; color: var(--blue-dark); margin-top: 1.25rem; font-size: 1rem; }
.m-loading-sub   { font-size: .82rem; color: #aaa; margin-top: .3rem; }
.m-spinner {
  width: 48px; height: 48px; margin: 0 auto;
  border: 4px solid var(--gray-light); border-top-color: var(--blue-mid);
  border-radius: 50%; animation: m3spin 1s linear infinite;
}
@keyframes m3spin { to { transform: rotate(360deg); } }

.m-error {
  background: #fef0f0; border: 1px solid #e74c3c;
  border-radius: var(--radius-sm); padding: 1rem 1.25rem;
  color: #c0392b; text-align: center;
}
.m-footer-note {
  text-align: center; font-size: .85rem; color: var(--gray-text);
  margin-top: 1.75rem; padding-top: 1.5rem;
  border-top: 1px solid var(--gray-light);
}
