/* ===== PROGRAM PAGE ===== */
.nav-links a.active { color: var(--blue); }
.nowrap { white-space: nowrap; }

/* white CTA used on dark backgrounds */
.btn-white {
  background: #fff;
  color: var(--blue);
  border: 1.5px solid #fff;
}
.btn-white:hover { background: #eaf1ff; }

/* ---------- HERO ---------- */
.prog-hero {
  position: relative;
  background: linear-gradient(180deg, #0a3d91 0%, #0b57c9 40%, #1188c9 100%);
  color: #fff;
  padding: 64px 24px 80px;
  text-align: center;
  overflow: hidden;
}
.prog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 45% at 50% -10%, rgba(255,255,255,.20), transparent 70%);
  pointer-events: none;
}
.prog-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #bcd8ff;
  margin-bottom: 18px;
}
.prog-hero h1 {
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.lead {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: rgba(255,255,255,.92);
  max-width: 700px;
  margin: 0 auto 30px;
}
.prog-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- STATS CARDS ---------- */
.stats-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 52px auto 0;
}
.stat-card {
  background: #e8f4ee;
  border-radius: 22px;
  padding: 26px 28px;
  text-align: center;
  box-shadow: 0 14px 34px rgba(3, 30, 24, .18);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-label {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #1f8a6e;
}
.stat-num {
  font-size: 26px;
  font-weight: 800;
  color: #0d2b22;
}
.stat-divider {
  display: block;
  height: 1px;
  background: #c6e2d4;
  margin: 18px 0;
}

/* ---------- FLAGSHIP COURSE CARDS (vertical stack) ---------- */
.courses-section { background: #f5f8fc; scroll-margin-top: 80px; }
.course-stack {
  display: flex;
  flex-direction: column;   /* stacked vertically */
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.course-card {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 100px;   /* land below the sticky navbar on anchor jump */
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  /* dark base with a warm glow rising from the bottom, like the screenshots */
  background: radial-gradient(130% 130% at 50% 135%, #241d3f 0%, #17171f 44%, #0b0d12 100%);
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 22px 50px rgba(3,8,20,.32);
}
/* faint vertical scanline texture */
.course-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.course-tag {
  position: relative;
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #d6ddf2;
  border: 1px solid rgba(255,255,255,.28);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.course-title {
  position: relative;
  font-size: clamp(23px, 3.3vw, 40px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.5px;
  margin-bottom: 16px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  /* Copilot-style rainbow: blue -> teal -> green -> yellow -> orange -> pink */
  background: linear-gradient(100deg,
    #4a8dff 0%, #2ec8bf 20%, #7bd34f 40%, #ffd21f 58%, #ff8a3d 76%, #ff5db1 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.course-desc {
  position: relative;
  max-width: 720px;
  margin: 0 auto 26px;
  font-size: 16px;
  line-height: 1.6;
  color: #9fb2cf;
}
.btn-gold {
  position: relative;
  /* same Copilot rainbow */
  background: linear-gradient(90deg,
    #4a8dff, #2ec8bf, #7bd34f, #ffd21f, #ff8a3d, #ff5db1);
  color: #201a2e;
  font-weight: 800;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 15.5px;
}
.btn-gold:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* light-orange explore button (Card 4) */
.btn-orange {
  position: relative;
  background: linear-gradient(90deg, #ffc078, #ffab5e);
  color: #3a2400;
  font-weight: 800;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 15.5px;
}
.btn-orange:hover { filter: brightness(1.05); transform: translateY(-1px); }

/* ---------- HIRING PARTNER MARQUEE ---------- */
.logos-section { background: #fff; padding-bottom: 80px; scroll-margin-top: 90px; }
.marquee {
  overflow: hidden;
  background: #eef7f2;              /* light mint band */
  border-radius: 18px;
  padding: 24px 0;
  margin: 16px auto;
  max-width: 1200px;
  /* fade the edges so logos appear/disappear softly */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
}
.track-left  { animation: scroll-left  38s linear infinite; }
.track-right { animation: scroll-right 38s linear infinite; }
/* pause when hovering the row */
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll-left  { from { transform: translateX(0); }     to { transform: translateX(-50%); } }
@keyframes scroll-right { from { transform: translateX(-50%); }  to { transform: translateX(0); } }
.logo-chip {
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.4px;
  color: #33415c;
  white-space: nowrap;
  opacity: .85;
  transition: opacity .2s ease, color .2s ease;
}
.logo-chip:hover { opacity: 1; color: var(--blue); }
@media (prefers-reduced-motion: reduce) {
  .track-left, .track-right { animation: none; }
}

/* ---------- SECTIONS ---------- */
.section { padding: 72px 24px; background: #fff; }
.section.alt { background: #f5f8fc; }
.section-inner { max-width: 1120px; margin: 0 auto; }
.kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--blue);
  text-align: center;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -.5px;
  text-align: center;
  color: #0e1726;
}
.section-sub {
  text-align: center;
  color: #55617a;
  font-size: 17px;
  margin: 12px auto 40px;
  max-width: 620px;
}

/* tool grid */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tool-card {
  background: #fff;
  border: 1px solid #e7ebf1;
  border-radius: 16px;
  padding: 24px 22px;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(10,40,90,.12);
  border-color: #cfe0ff;
}
.tool-ic { font-size: 30px; display: block; margin-bottom: 12px; }
.tool-card h3 { font-size: 18px; font-weight: 700; color: #0e1726; margin-bottom: 8px; }
.tool-card p { font-size: 14.5px; color: #5a6579; line-height: 1.5; }

/* modules */
.modules { display: flex; flex-direction: column; gap: 16px; }
.module {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  background: #fff;
  border: 1px solid #e7ebf1;
  border-radius: 16px;
  padding: 22px 26px;
  transition: box-shadow .2s ease, transform .18s ease;
}
.module:hover { box-shadow: 0 14px 30px rgba(10,40,90,.10); transform: translateX(4px); }
.mod-no {
  font-size: 30px;
  font-weight: 800;
  color: #bcd0f2;
  font-variant-numeric: tabular-nums;
}
.module h3 { font-size: 18px; font-weight: 700; color: #0e1726; margin-bottom: 4px; }
.module p { font-size: 14.5px; color: #5a6579; line-height: 1.5; }
.mod-weeks {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  background: #eaf1ff;
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

/* outcomes */
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.outcome {
  background: linear-gradient(160deg, #0b57c9, #0a3d91);
  color: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
}
.outcome h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.outcome p { font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.45; }

/* cta band */
.cta-band {
  background: linear-gradient(90deg, #04143c, #0a2f7a 60%, #0a52d6);
  color: #fff;
  padding: 66px 24px;
  text-align: center;
}
.cta-inner { max-width: 720px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin-bottom: 12px; }
.cta-band p { font-size: 17px; color: rgba(255,255,255,.9); margin-bottom: 26px; }

/* footer */
.prog-footer {
  background: #04143c;
  color: #a9bbdd;
  text-align: center;
  padding: 26px 20px;
  font-size: 14px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .outcome-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-wrap { grid-template-columns: 1fr; max-width: 420px; }
}
@media (max-width: 560px) {
  .tool-grid { grid-template-columns: 1fr; }
  .module { grid-template-columns: auto 1fr; }
  .mod-weeks { grid-column: 2; justify-self: start; }
  .prog-cta { flex-direction: column; align-items: center; }
  .prog-cta .btn-lg { width: 100%; max-width: 320px; justify-content: center; }
}
