/* =============================================================
   Pavictek Academy — Futuristic Visual Layer
   Loaded after style.css — overrides & enhances specific sections
   ============================================================= */

/* ── Extended design tokens ── */
:root {
  --glow-red:   0 0 24px rgba(255,0,0,.45), 0 0 60px rgba(255,0,0,.15);
  --glow-red-sm: 0 0 12px rgba(255,0,0,.4);
  --glow-white: 0 0 20px rgba(255,255,255,.2);
  --grid-line:  rgba(255,255,255,.035);
  --dark-base:  #02021a;
}

/* ─────────────────────────────────────────────────────────────
   REUSABLE: Animated grid background mixin (applied via class)
   ───────────────────────────────────────────────────────────── */
.grid-bg {
  position: relative;
}
.grid-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
}

/* ─────────────────────────────────────────────────────────────
   HERO — Full futuristic treatment
   Grid baked directly into background layers — no z-index clash
   ───────────────────────────────────────────────────────────── */

.hero {
  overflow: hidden;
  contain: paint;
  /* Layer order (front → back):
     1. grid horizontal lines
     2. grid vertical lines
     3. red glow orb — top right
     4. blue glow — bottom left
     5. base dark gradient
  */
  background:
    linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px),
    radial-gradient(ellipse 65% 75% at 85% 10%, rgba(255,0,0,.22) 0%, transparent 60%),
    radial-gradient(ellipse 55% 55% at 8%  90%, rgba(20,20,200,.2)  0%, transparent 60%),
    linear-gradient(160deg, var(--dark-base) 0%, #040428 55%, #06021f 100%);
  background-size:
    56px 56px,
    56px 56px,
    100% 100%,
    100% 100%,
    100% 100%;
  padding: 150px 0 120px;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

/* Remove old separate orb pseudo-elements (now baked into background) */
.hero::before { display: none; }
.hero::after  { display: none; }

/* Diagonal scan lines */
.hero-scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 120px,
    rgba(255,255,255,.007) 120px,
    rgba(255,255,255,.007) 121px
  );
  pointer-events: none;
  z-index: 0;
}

/* Animated secondary orb drift (blue, bottom-left) — decorative only */
.hero-orb-2 {
  position: absolute;
  bottom: -80px; left: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle,
    rgba(30,30,220,.18) 0%,
    transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: heroOrb2Drift 14s ease-in-out infinite alternate;
}

@keyframes heroOrb2Drift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(30px, -30px); }
}

/* Canvas sits behind content */
#heroCanvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
}

/* All hero children above decorators */
.hero-inner { position: relative; z-index: 1; }

/* ── Hero badge ── */
.hero-badge {
  background: linear-gradient(135deg, rgba(255,0,0,.22), rgba(255,0,0,.08));
  border: 1px solid rgba(255,0,0,.55);
  color: #ff8888;
  box-shadow: 0 0 18px rgba(255,0,0,.18), inset 0 0 18px rgba(255,0,0,.06);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 14px rgba(255,0,0,.15), inset 0 0 12px rgba(255,0,0,.05); }
  50%       { box-shadow: 0 0 32px rgba(255,0,0,.35), inset 0 0 28px rgba(255,0,0,.12); }
}

.hero-badge .dot {
  background: var(--red);
  box-shadow: 0 0 8px rgba(255,0,0,.9);
  animation: dotGlow 1.5s ease-in-out infinite;
}

@keyframes dotGlow {
  0%, 100% { opacity: 1;  box-shadow: 0 0 4px rgba(255,0,0,.7); }
  50%       { opacity: .5; box-shadow: 0 0 14px rgba(255,0,0,1); }
}

/* ── Hero heading ── */
.hero h1 {
  text-shadow: 0 0 50px rgba(255,255,255,.06);
}
.hero h1 span {
  color: var(--red);
  text-shadow:
    0 0 20px rgba(255,0,0,.55),
    0 0 60px rgba(255,0,0,.2);
}

/* ── Hero trust items ── */
.trust-item svg { color: var(--red); filter: drop-shadow(0 0 4px rgba(255,0,0,.5)); }

/* ── Hero right-side card ── */
.hero-main-card {
  background: rgba(255,255,255,.97);
  border-radius: 18px;
  box-shadow:
    0 32px 90px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.18),
    0 0 70px rgba(255,0,0,.1);
  transform: perspective(1000px) rotateY(-6deg) rotateX(2deg);
  transition: transform .45s ease, box-shadow .45s ease;
}

.hero-main-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px);
  box-shadow:
    0 48px 120px rgba(0,0,0,.65),
    0 0 0 1px rgba(255,255,255,.2),
    0 0 90px rgba(255,0,0,.15);
}

/* ── Hero stat mini-cards ── */
.hero-stat {
  background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: all .3s ease;
}

.hero-stat:hover {
  background: linear-gradient(135deg, rgba(255,0,0,.18), rgba(255,0,0,.06));
  border-color: rgba(255,0,0,.45);
  box-shadow: 0 8px 32px rgba(255,0,0,.18), inset 0 0 20px rgba(255,0,0,.06);
  transform: translateY(-5px);
}

.hero-stat-num {
  font-size: 1.9rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ff6666, #ff0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(255,0,0,.45));
  line-height: 1;
}

.hero-stat-label { font-size: .74rem; color: rgba(255,255,255,.55); margin-top: 6px; }

/* ─────────────────────────────────────────────────────────────
   STATS ROW — Dark, vibrant, glowing
   ───────────────────────────────────────────────────────────── */

/* Target the stats section wrapper */
.stats-dark-wrap {
  background: var(--dark-base);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,0,0,.08);
  border-bottom: 1px solid rgba(255,0,0,.08);
}

.stats-dark-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* Center glow */
.stats-dark-wrap::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 800px; height: 200px;
  background: radial-gradient(ellipse, rgba(255,0,0,.07) 0%, transparent 70%);
  pointer-events: none;
}

/* Override white grid/box defaults from style.css */
.stats-dark-wrap .stats-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  background: none;
  border-radius: 0;
  overflow: visible;
  gap: 0;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.stats-dark-wrap .stat-box {
  background: transparent;
  padding: 56px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.06);
  position: relative;
  transition: background .35s ease;
}
.stats-dark-wrap .stat-box:last-child { border-right: none; }

/* Bottom glow bar reveal on hover */
.stats-dark-wrap .stat-box::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  transition: width .5s ease;
}
.stats-dark-wrap .stat-box:hover::after { width: 75%; }
.stats-dark-wrap .stat-box:hover { background: rgba(255,0,0,.04); }

/* Stat number */
.stats-dark-wrap .stat-box .num {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 1px;
}

.stats-dark-wrap .stat-box .num .stat-num {
  background: linear-gradient(150deg, #ff6666 0%, #ff0000 60%, #cc0000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 14px rgba(255,0,0,.55));
}

/* ₦ symbol color */
.stats-dark-wrap .stat-box .num {
  color: rgba(255,255,255,.75);
}

.stats-dark-wrap .stat-box .label {
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────────────────────
   SECTION LABEL — Red line decoration
   ───────────────────────────────────────────────────────────── */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), rgba(255,0,0,.3));
  border-radius: 2px;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────
   FEATURE CARDS — Glow border & icon effects
   ───────────────────────────────────────────────────────────── */

.features-grid .feature-card {
  border-radius: 18px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: all .35s cubic-bezier(.2,.8,.4,1);
}

/* Animated top-bar accent */
.features-grid .feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--red), var(--navy));
  background-size: 200%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s ease;
}
.features-grid .feature-card:hover::before {
  transform: scaleX(1);
  animation: borderSlide 2s linear infinite;
}

@keyframes borderSlide {
  0%   { background-position: 0%; }
  100% { background-position: 200%; }
}

.features-grid .feature-card:hover {
  border-color: rgba(255,0,0,.2);
  box-shadow:
    0 20px 64px rgba(4,4,40,.13),
    0 0 0 1px rgba(255,0,0,.1),
    0 0 40px rgba(255,0,0,.04);
  transform: translateY(-9px);
}

.feature-icon.red {
  background: linear-gradient(135deg, rgba(255,0,0,.18), rgba(255,0,0,.06));
  border: 1px solid rgba(255,0,0,.25);
  box-shadow: 0 4px 16px rgba(255,0,0,.12);
  width: 60px; height: 60px;
  border-radius: 14px;
  font-size: 1.65rem;
  transition: all .3s ease;
}

.feature-card:hover .feature-icon.red {
  box-shadow: 0 8px 28px rgba(255,0,0,.28), 0 0 0 4px rgba(255,0,0,.06);
  transform: scale(1.12) rotate(-3deg);
}

/* ─────────────────────────────────────────────────────────────
   COURSE SECTION — Vivid tabs & cards
   ───────────────────────────────────────────────────────────── */

.tab-btn.active {
  background: linear-gradient(135deg, var(--navy), #0b0b60);
  box-shadow: 0 4px 18px rgba(4,4,40,.3), 0 0 0 1px rgba(255,255,255,.05);
}

/* Course card: clean lift + red border glow */
.course-card {
  border-radius: 16px;
  overflow: hidden;
  transition: all .32s cubic-bezier(.2,.8,.4,1);
  position: relative;
}

/* Animated red top accent bar slides in on hover */
.course-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ff6666, var(--red));
  background-size: 200%;
  z-index: 3;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .38s ease;
}

.course-card:hover::before {
  transform: scaleX(1);
  animation: cardAccentSlide 2s linear infinite;
}

@keyframes cardAccentSlide {
  0%   { background-position: 0%; }
  100% { background-position: 200%; }
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 56px rgba(4,4,40,.15),
    0 0 0 2px rgba(255,0,0,.55),
    0 0 36px rgba(255,0,0,.08);
  border-color: transparent;
}

/* NYSC savings tag inside course card footer */
.nysc-save-tag {
  display: inline-block;
  background: rgba(255,0,0,.1);
  color: var(--red);
  font-size: .65rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 100px;
  margin-left: 3px;
  vertical-align: middle;
  letter-spacing: .02em;
}

/* Course card image area: richer gradient overlay */
.course-card-img {
  height: 190px;
  position: relative;
  overflow: hidden;
}

.course-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.22), rgba(0,0,0,.08));
  pointer-events: none;
}

.course-card-img .course-icon {
  font-size: 4rem;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.25));
  transition: transform .45s cubic-bezier(.34,1.56,.64,1), filter .45s ease;
  position: relative;
  z-index: 1;
}

.course-card:hover .course-icon {
  transform: scale(1.18) rotate(-6deg);
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.35));
}

.course-badge {
  background: rgba(4,4,40,.8);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.14);
  z-index: 2;
}

.nysc-badge {
  background: linear-gradient(135deg, #ff2222, #cc0000);
  box-shadow: 0 4px 14px rgba(255,0,0,.45);
  z-index: 2;
}

/* ─────────────────────────────────────────────────────────────
   NYSC BANNER — Vibrant & patterned
   ───────────────────────────────────────────────────────────── */

.nysc-banner {
  background: linear-gradient(140deg, #07073d 0%, #040428 45%, #1e0808 100%);
  border: 1px solid rgba(255,0,0,.2);
  border-radius: 20px;
  box-shadow:
    0 28px 90px rgba(4,4,40,.45),
    0 0 90px rgba(255,0,0,.06),
    inset 0 0 80px rgba(255,0,0,.03);
  position: relative;
  overflow: hidden;
  contain: paint;
}

.nysc-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.nysc-banner::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,0,0,.22) 0%, transparent 62%);
  animation: nyscOrbPulse 7s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes nyscOrbPulse {
  0%   { transform: translate(0,0) scale(1); opacity: .8; }
  100% { transform: translate(-25px,25px) scale(1.18); opacity: 1; }
}

.nysc-banner > * { position: relative; z-index: 1; min-width: 0; }

.nysc-banner-badge {
  background: linear-gradient(135deg, rgba(255,0,0,.28), rgba(255,0,0,.1));
  border: 2px solid rgba(255,0,0,.55);
  border-radius: 16px;
  padding: 30px 26px;
  text-align: center;
  box-shadow:
    0 0 50px rgba(255,0,0,.18),
    inset 0 0 50px rgba(255,0,0,.06);
}

.nysc-discount {
  font-size: 3.75rem;
  font-weight: 900;
  background: linear-gradient(150deg, #ff6666 0%, #ff0000 55%, #cc0000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 24px rgba(255,0,0,.65));
  line-height: 1;
}

.nysc-point-icon {
  color: var(--red);
  filter: drop-shadow(0 0 4px rgba(255,0,0,.5));
}

/* ─────────────────────────────────────────────────────────────
   STEPS SECTION — Enhanced with grid, rings, connecting line
   ───────────────────────────────────────────────────────────── */

.section-dark {
  background: linear-gradient(165deg, #020218 0%, #040428 55%, #080220 100%);
  position: relative;
  overflow: hidden;
}

/* Grid overlay on every dark section */
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

/* Horizontal connector line between steps */
.steps-grid {
  position: relative;
  z-index: 1;
}

.steps-grid::after {
  content: '';
  position: absolute;
  top: 34px;
  left: calc(12.5% + 32px);
  width: calc(75% - 64px);
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,0,0,.5) 20%,
    rgba(255,0,0,.5) 80%,
    transparent 100%);
}

.step-item {
  position: relative;
  z-index: 1;
}

.step-item::before {
  content: counter(steps, decimal-leading-zero);
  display: block;
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(255,0,0,.06);
  line-height: 1;
  margin-bottom: -10px;
}

.step-num {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff3333, #bb0000);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  box-shadow:
    0 8px 28px rgba(255,0,0,.5),
    0 0 50px rgba(255,0,0,.18),
    inset 0 0 0 3px rgba(255,255,255,.18);
  position: relative;
  transition: all .35s ease;
}

/* Animated outer ring */
.step-num::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,0,0,.35);
  animation: stepRingPulse 2.8s ease-in-out infinite;
}

@keyframes stepRingPulse {
  0%, 100% { transform: scale(1);    opacity: .7; }
  50%       { transform: scale(1.15); opacity: .2; }
}

.step-item:hover .step-num {
  transform: scale(1.12);
  box-shadow:
    0 14px 40px rgba(255,0,0,.6),
    0 0 70px rgba(255,0,0,.25),
    inset 0 0 0 3px rgba(255,255,255,.25);
}

.step-item h3 { color: #fff; font-size: 1.08rem; }
.step-item p  { color: rgba(255,255,255,.6); font-size: .875rem; }

/* ─────────────────────────────────────────────────────────────
   TESTIMONIALS — Vivid left-bar & star glow
   ───────────────────────────────────────────────────────────── */

.testimonial-card {
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: all .38s ease;
}

/* Animated left bar */
.testimonial-card::before {
  content: '"';
  font-size: 6rem;
  color: var(--red);
  opacity: .12;
  position: absolute;
  top: 4px; left: 18px;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-card::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--red), var(--navy));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .42s ease;
}

.testimonial-card:hover::after { transform: scaleY(1); }
.testimonial-card:hover {
  border-color: rgba(4,4,40,.18);
  box-shadow: 0 22px 64px rgba(4,4,40,.13), 0 0 0 1px rgba(4,4,40,.06);
  transform: translateY(-7px);
}

.testimonial-stars {
  color: #FF3B3B;
  font-size: 1rem;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(245,158,11,.55);
}

/* ─────────────────────────────────────────────────────────────
   BUTTONS — Shine sweep effect
   ───────────────────────────────────────────────────────────── */

.btn-primary {
  background: linear-gradient(135deg, #ff3333, #cc0000);
  border: none;
  box-shadow: 0 8px 24px rgba(255,0,0,.32);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: -100%; left: -70%;
  width: 60%;
  height: 300%;
  background: rgba(255,255,255,.16);
  transform: skewX(-20deg);
  transition: left .45s ease;
}

.btn-primary:hover::before { left: 130%; }

.btn-primary:hover {
  background: linear-gradient(135deg, #ff4444, #dd0000);
  box-shadow: 0 14px 42px rgba(255,0,0,.48);
  transform: translateY(-3px);
}

.btn-navy {
  background: linear-gradient(135deg, var(--navy), #0b0b60);
  position: relative;
  overflow: hidden;
}

.btn-navy::before {
  content: '';
  position: absolute;
  top: -100%; left: -70%;
  width: 50%;
  height: 300%;
  background: rgba(255,255,255,.1);
  transform: skewX(-20deg);
  transition: left .45s ease;
}

.btn-navy:hover::before { left: 130%; }

/* ─────────────────────────────────────────────────────────────
   PAGE HERO (inner pages) — Grid + gradient
   ───────────────────────────────────────────────────────────── */

.page-hero {
  background: linear-gradient(160deg, #020218 0%, #040428 60%, #080220 100%);
  position: relative;
  overflow: hidden;
  contain: paint;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 320px;
  background: radial-gradient(ellipse at top, rgba(255,0,0,.12) 0%, transparent 68%);
  pointer-events: none;
}

/* ─────────────────────────────────────────────────────────────
   HEADER — Enhanced glow
   ───────────────────────────────────────────────────────────── */

.site-header.scrolled {
  border-bottom-color: rgba(255,0,0,.12);
  box-shadow: 0 4px 28px rgba(4,4,40,.5), 0 1px 0 rgba(255,0,0,.08);
}

/* ─────────────────────────────────────────────────────────────
   FINAL CTA DARK SECTION — Ultra vivid
   ───────────────────────────────────────────────────────────── */

.section-dark.section-cta::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(255,0,0,.12) 0%, transparent 68%);
  pointer-events: none;
}

/* ─────────────────────────────────────────────────────────────
   NEWSLETTER SECTION — Grid
   ───────────────────────────────────────────────────────────── */

.newsletter-section {
  background: linear-gradient(160deg, #020218 0%, #040428 60%, #080220 100%);
  position: relative;
  overflow: hidden;
}

.newsletter-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.newsletter-section > * { position: relative; z-index: 1; }
.newsletter-section .container { position: relative; z-index: 1; }

/* ─────────────────────────────────────────────────────────────
   FOOTER — Futuristic dark treatment
   ───────────────────────────────────────────────────────────── */

.site-footer {
  background: #020215;
  position: relative;
  overflow: hidden;
}

/* Subtle grid overlay */
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 0;
}

/* Red top border glow */
.site-footer::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--red) 30%, #ff4444 50%, var(--red) 70%, transparent 100%);
  z-index: 1;
}

.site-footer .container,
.site-footer .footer-top,
.site-footer .footer-bottom { position: relative; z-index: 1; }

/* Brand column */
.footer-brand p {
  font-size: .875rem;
  line-height: 1.85;
  color: rgba(255,255,255,.5);
  max-width: 280px;
}

/* Social icons */
.social-link {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  transition: all .25s ease;
}
.social-link:hover {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 16px rgba(255,0,0,.45);
  transform: translateY(-2px);
}

/* Column headings */
.footer-col h4 {
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,0,0,.25);
  position: relative;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 28px; height: 2px;
  background: var(--red);
}

/* Links */
.footer-link {
  color: rgba(255,255,255,.5);
  font-size: .85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s, padding-left .2s;
}
.footer-link:hover {
  color: #fff;
  padding-left: 6px;
}
.footer-link .price-tag { color: rgba(255,255,255,.3); }
.footer-link:hover .price-tag { color: rgba(255,255,255,.5); }

/* WhatsApp contact button */
.footer-whatsapp {
  background: rgba(37,211,102,.1);
  border: 1px solid rgba(37,211,102,.3);
  color: #25d366;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: 20px;
  transition: all .25s ease;
}
.footer-whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
}

/* Contact items */
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.footer-contact-item p,
.footer-contact-item a {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  transition: color .2s;
}
.footer-contact-item a:hover { color: #fff; }

/* Divider */
.footer-top {
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* Bottom bar */
.footer-bottom {
  background: rgba(0,0,0,.2);
  margin: 0 -999px;
  padding: 20px 999px;
}
.footer-bottom p { color: rgba(255,255,255,.35); font-size: .78rem; }

/* Parent company link */
.footer-parent-link {
  color: rgba(255,255,255,.65) !important;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,0,0,.4);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.footer-parent-link:hover {
  color: #fff !important;
  border-color: var(--red);
}

/* Legal links */
.footer-legal-links a {
  color: rgba(255,255,255,.35);
  font-size: .78rem;
  transition: color .2s;
}
.footer-legal-links a:hover { color: rgba(255,255,255,.75); }

/* ─────────────────────────────────────────────────────────────
   APPLY FORM — Dynamic pricing summary
   ───────────────────────────────────────────────────────────── */

.apply-price-summary {
  background: linear-gradient(135deg, #02021a 0%, #040428 100%);
  border: 1px solid rgba(255,0,0,.25);
  border-radius: 14px;
  overflow: hidden;
}

.aps-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(255,0,0,.05);
}

.aps-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red);
}

.aps-course {
  font-size: .9rem;
  font-weight: 600;
  color: #fff;
}

/* NYSC: two payment options */
.aps-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.aps-option {
  display: flex;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  border-right: 1px solid rgba(255,255,255,.06);
  transition: background .2s;
  position: relative;
}

.aps-option:last-child { border-right: none; }

.aps-option:has(.aps-radio:checked) {
  background: rgba(255,0,0,.07);
}

.aps-radio {
  margin-top: 3px;
  accent-color: var(--red);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.aps-option-body { display: flex; flex-direction: column; gap: 4px; }

.aps-option-title {
  font-size: .8rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.aps-badge {
  background: rgba(255,0,0,.15);
  color: var(--red);
  font-size: .62rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 100px;
  white-space: nowrap;
}

.aps-badge-nysc {
  background: rgba(255,0,0,.2);
  color: #ff6666;
}

.aps-option-amount {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.aps-saving {
  font-size: .72rem;
  font-weight: 600;
  color: var(--red);
  vertical-align: middle;
}

.aps-option-note {
  font-size: .75rem;
  color: rgba(255,255,255,.45);
  line-height: 1.4;
}

/* Non-NYSC: full payment only */
.aps-full-only {
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.aps-full-amount {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}

.aps-full-note {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
}

/* Apply sidebar card */
.apply-sidebar-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
}

/* ─────────────────────────────────────────────────────────────
   THANK YOU PAGE
   ───────────────────────────────────────────────────────────── */

.thankyou-hero {
  background: linear-gradient(160deg, #02021a 0%, #040428 55%, #06021f 100%);
  min-height: 100vh;
  padding: 100px 0 80px;
  display: flex;
  align-items: center;
}

.thankyou-wrap {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

/* Animated success icon */
.ty-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.ty-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ff2222, #cc0000);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
  z-index: 2;
  animation: tyIconPop .5s cubic-bezier(.34,1.56,.64,1) both;
}

.ty-icon-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,0,0,.3);
  animation: tyRingExpand 1.5s ease-out infinite;
}

.ty-ring-1 { width: 110px; height: 110px; }
.ty-ring-2 { width: 140px; height: 140px; animation-delay: .4s; }

@keyframes tyIconPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

@keyframes tyRingExpand {
  0%   { transform: scale(.7); opacity: .6; }
  100% { transform: scale(1.3); opacity: 0; }
}

.ty-heading {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.15;
}

.ty-subhead {
  font-size: 1.05rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 36px;
}

/* Payment details card */
.ty-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 48px;
  text-align: left;
}

.ty-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  gap: 16px;
}

.ty-card-row:last-child { border-bottom: none; }

.ty-card-label {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  font-weight: 500;
  white-space: nowrap;
}

.ty-card-value {
  font-size: .9rem;
  color: #fff;
  font-weight: 600;
  text-align: right;
}

.ty-amount {
  font-size: 1.2rem;
  color: var(--red);
  font-weight: 800;
}

.ty-ref {
  font-family: monospace;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .04em;
}

.ty-card-notice {
  background: rgba(255,200,0,.06);
  border-top: 1px solid rgba(255,200,0,.15);
  color: rgba(255,220,100,.75);
  font-size: .8rem;
  padding: 12px 24px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

/* Next steps */
.ty-steps { margin-bottom: 48px; }

.ty-steps-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}

.ty-steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
}

.ty-step {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: border-color .25s;
}

.ty-step:hover { border-color: rgba(255,0,0,.3); }

.ty-step-num {
  width: 30px;
  height: 30px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.ty-step-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ty-step-text strong {
  font-size: .85rem;
  color: #fff;
  font-weight: 700;
}

.ty-step-text span {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
}

/* CTAs */
.ty-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.ty-footer-note {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  line-height: 1.8;
}

.ty-footer-note a {
  color: rgba(255,255,255,.55);
  border-bottom: 1px solid rgba(255,255,255,.2);
}

.ty-footer-note a:hover { color: #fff; }

/* Responsive */
@media (max-width: 600px) {
  .aps-options { grid-template-columns: 1fr; }
  .aps-option  { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
  .ty-steps-grid { grid-template-columns: 1fr; }
  .ty-ctas { flex-direction: column; }
}

/* ─────────────────────────────────────────────────────────────
   LAYOUT UTILITY CLASSES (desktop first, collapse on mobile)
   ───────────────────────────────────────────────────────────── */

/* Two-column 50/50 grid — used in about.php, nysc.php */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Apply form — main content + fixed-width sidebar */
.apply-form-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE ADJUSTMENTS
   ───────────────────────────────────────────────────────────── */

/* ── Tablet (≤ 1024px) ── */
@media (max-width: 1024px) {
  .apply-form-layout {
    grid-template-columns: 1fr 320px;
    gap: 32px;
  }
  .two-col-grid {
    gap: 40px;
  }
}

/* ── Tablet / large mobile (≤ 768px) ── */
@media (max-width: 768px) {
  /* Hero */
  .hero { min-height: auto; padding: 100px 0 70px; }
  .hero-content { text-align: center; }
  .hero .heading-xl { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-certificate-card { display: none; }

  /* Page hero */
  .page-hero { padding: 100px 0 50px; text-align: center; }
  .page-hero .breadcrumb { justify-content: center; }

  /* Stats dark */
  .stats-dark-wrap .stat-box { padding: 40px 16px; }
  .steps-grid::after { display: none; }
  .stats-dark-wrap .stats-row { grid-template-columns: 1fr 1fr; }
  .stats-dark-wrap .stat-box { border-right: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
  .stats-dark-wrap .stat-box:nth-child(even) { border-right: none; }
  .stats-dark-wrap .stat-box:nth-last-child(-n+2) { border-bottom: none; }

  /* Two-col grid collapses */
  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* Apply form collapses — sidebar drops below the form */
  .apply-form-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .apply-form-layout aside {
    position: static !important;
    top: auto !important;
  }

  /* Feature cards — 2 columns on tablet, auto-fit handles it */
  .features-grid { grid-template-columns: 1fr 1fr; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr 1fr; }

  /* Sections — reduce padding */
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 32px; }

  /* NYSC banner */
  .nysc-banner-inner { flex-direction: column; gap: 24px; text-align: center; }

  /* Course cards grid — 2 columns on tablet */
  .courses-grid { grid-template-columns: 1fr 1fr !important; }

  /* Footer bottom bar */
  .footer-bottom { flex-direction: column; gap: 10px; }
  .footer-bottom p { font-size: .75rem; }
}

/* ── Mobile (≤ 540px) ── */
@media (max-width: 540px) {
  /* Stats numbers */
  .stats-dark-wrap .stat-box .num { font-size: 2.2rem; }

  /* Steps — single column */
  .steps-grid { grid-template-columns: 1fr; }

  /* Hero stats row */
  .hero-stats { gap: 16px; }
  .hero-stat-num { font-size: 1.4rem; }

  /* Sections */
  .section { padding: 44px 0; }
  .container { padding: 0 18px; }

  /* Course card footer — stack price + button */
  .course-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .course-card-footer .btn { width: 100%; justify-content: center; }

  /* Heading sizes */
  .heading-xl { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  .heading-lg { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* Grids — override the 768px 2-col rules back to single column */
  .courses-grid { grid-template-columns: 1fr !important; }
  .features-grid { grid-template-columns: 1fr !important; }

  /* Apply pricing options — always stack */
  .aps-options { grid-template-columns: 1fr; }
  .aps-option  { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }

  /* Thank-you */
  .ty-steps-grid { grid-template-columns: 1fr; }
  .ty-ctas { flex-direction: column; }
  .ty-card-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .ty-card-value { text-align: left; }

  /* Enroll card */
  .enroll-card-header .nysc-price { font-size: .9rem; }

  /* Footer */
  .footer-social { gap: 8px; }

  /* Pricing table — allow scroll */
  .pricing-table { font-size: .8rem; }
  .pricing-table th, .pricing-table td { padding: 10px 8px; }

  /* Apply form name+email row */
  .form-row { grid-template-columns: 1fr !important; }

  /* Page hero text */
  .page-hero .heading-xl { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .breadcrumb { font-size: .8rem; }

  /* v3: audience grid, org cards, corp strip — single column on mobile */
  .audience-grid { grid-template-columns: 1fr; }
  .for-orgs-grid { grid-template-columns: 1fr; }
  .corp-homepage-cols { grid-template-columns: 1fr; }
  .corp-sectors-grid { grid-template-columns: 1fr 1fr; }
  .nysc-strip-inner { flex-direction: column; gap: 14px; text-align: center; }
  .corp-path-row { flex-direction: column; gap: 8px; align-items: flex-start; }
  .corp-path-sep { display: none; }
}

/* ─────────────────────────────────────────────────────────────
   V3: HEADER — Corporate Training link
   ───────────────────────────────────────────────────────────── */

.header-corp-link {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  padding: 5px 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  transition: all .2s ease;
  white-space: nowrap;
}

.header-corp-link:hover,
.header-corp-link.active {
  color: #fff;
  border-color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.07);
}

/* Dropdown divider */
.dropdown-divider {
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 6px 0;
}

/* NYSC item in dropdown */
.dropdown-item-nysc {
  border-top: none;
  opacity: .9;
}
.dropdown-item-nysc:hover { opacity: 1; }
.dropdown-item-nysc .dropdown-item-icon { font-size: 1rem; }

/* ─────────────────────────────────────────────────────────────
   V3: AUDIENCE SELECTOR SECTION
   ───────────────────────────────────────────────────────────── */

.audience-selector {
  background: #f0f4ff;
  padding: 60px 0;
}

.audience-selector .section-header {
  margin-bottom: 24px;
  text-align: center;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.aud-card {
  border-radius: 16px;
  padding: 32px 28px;
  border: 1.5px solid;
  transition: transform .3s ease, box-shadow .3s ease;
}

.aud-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,.1);
}

.aud-card-ind  { background: #EDF2FF; border-color: #B5D4F4; }
.aud-card-nysc { background: #ECFDF5; border-color: #9FE1CB; }
.aud-card-corp { background: #FDF3E0; border-color: #F0C66A; }

.aud-card-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

.aud-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.aud-card-ind  h3 { color: #1B3F6B; }
.aud-card-nysc h3 { color: #065F46; }
.aud-card-corp h3 { color: #854F0B; }

.aud-card p {
  font-size: .875rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.aud-card-ind  p { color: #185FA5; }
.aud-card-nysc p { color: #0F6E56; }
.aud-card-corp p { color: #7C4A0A; }

.aud-cta-link {
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s ease;
}

.aud-card-ind  .aud-cta-link { color: #185FA5; }
.aud-card-nysc .aud-cta-link { color: #065F46; }
.aud-card-corp .aud-cta-link { color: #854F0B; }

.aud-cta-link:hover { gap: 8px; }

/* ─────────────────────────────────────────────────────────────
   V3: WHY US — For Organisations sub-block
   ───────────────────────────────────────────────────────────── */

.for-orgs-block {
  margin-top: 52px;
}

.for-orgs-heading {
  padding-top: 40px;
  border-top: 1px solid var(--border);
  margin-bottom: 22px;
}

.for-orgs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.org-feature-card {
  background: #f7f8ff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all .3s ease;
}

.org-feature-card:hover {
  border-color: rgba(4,4,40,.15);
  box-shadow: 0 12px 40px rgba(4,4,40,.08);
  transform: translateY(-5px);
}

.org-feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 14px 0 10px;
}

.org-feature-card p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────
   V3: COURSE CARDS — footer layout + NYSC corps badge
   ───────────────────────────────────────────────────────────── */

/* Footer: price stacks vertically on the left, button sits on the right */
.course-card-footer {
  align-items: flex-end;
  gap: 12px;
}

/* Price column — flex column so amount and badge stack cleanly */
.course-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
  flex: 1;
}

.nysc-corps-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(6,95,70,.1);
  color: #065F46;
  border: 1px solid rgba(6,95,70,.25);
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  text-decoration: none;
  transition: background .2s, color .2s;
  line-height: 1.5;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
}

.nysc-corps-badge:hover {
  background: rgba(6,95,70,.18);
  color: #044d38;
}

/* ─────────────────────────────────────────────────────────────
   V3: CORPORATE HOMEPAGE SECTION (dark navy strip)
   ───────────────────────────────────────────────────────────── */

.corp-homepage-section {
  background: linear-gradient(140deg, #07073d 0%, #040428 45%, #1e0808 100%);
  position: relative;
  overflow: hidden;
  contain: paint;
  padding: 80px 0;
}

.corp-homepage-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.corp-homepage-section::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,200,50,.08) 0%, transparent 60%);
  pointer-events: none;
}

.corp-homepage-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.corp-homepage-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.corp-homepage-col {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 22px;
  transition: background .25s, border-color .25s;
}

.corp-homepage-col:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,200,50,.25);
}

.corp-homepage-col strong {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.corp-homepage-col p {
  font-size: .84rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin: 0;
}

/* ─────────────────────────────────────────────────────────────
   V3: COMPACT NYSC STRIP
   ───────────────────────────────────────────────────────────── */

.nysc-compact-strip {
  background: linear-gradient(140deg, #07073d 0%, #040428 60%, #1e0808 100%);
  border-top: 1px solid rgba(255,0,0,.12);
  border-bottom: 1px solid rgba(255,0,0,.12);
  padding: 22px 0;
  position: relative;
  overflow: hidden;
}

.nysc-compact-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.nysc-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.nysc-strip-text {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  margin: 0;
  line-height: 1.5;
}

.nysc-strip-text strong {
  color: #fff;
}

/* ─────────────────────────────────────────────────────────────
   V3: HOW IT WORKS — Corporate path row
   ───────────────────────────────────────────────────────────── */

.corp-path-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  padding: 16px 24px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.corp-path-label {
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-right: 4px;
}

.corp-path-step {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
}

.corp-path-sep {
  color: rgba(255,255,255,.2);
  font-size: .7rem;
}

.corp-path-link {
  font-size: .8rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  margin-left: auto;
  transition: color .2s;
}

.corp-path-link:hover { color: #ff6666; }

/* ─────────────────────────────────────────────────────────────
   V3: CORPORATE PAGE — New sections
   ───────────────────────────────────────────────────────────── */

/* Positioning blockquote */
.corp-positioning-block {
  max-width: 800px;
  margin: 0 auto;
}

.corp-quote {
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.9;
  font-style: italic;
  border-left: 4px solid var(--red);
  padding: 18px 28px;
  background: #f0f4ff;
  border-radius: 0 12px 12px 0;
  margin: 0;
}

/* Sectors grid */
.corp-sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.corp-sector-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  transition: all .25s ease;
}

.corp-sector-card:hover {
  border-color: rgba(4,4,40,.2);
  box-shadow: 0 8px 28px rgba(4,4,40,.08);
  transform: translateY(-4px);
}

.corp-sector-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.corp-sector-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
}

/* Human CTA section */
.corp-human-cta {
  padding: 80px 0;
}

/* ─────────────────────────────────────────────────────────────
   V3: RESPONSIVE — Tablet (≤ 768px)
   ───────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .audience-grid { grid-template-columns: 1fr; }
  .for-orgs-grid { grid-template-columns: 1fr; }
  .corp-homepage-cols { grid-template-columns: 1fr; }
  .corp-sectors-grid { grid-template-columns: 1fr 1fr; }
  .nysc-strip-inner { flex-direction: column; gap: 14px; text-align: center; }
  .corp-path-row { gap: 8px; }
  .corp-path-link { margin-left: 0; }
  .header-corp-link { display: none; } /* hide on tablet, nav handles it */
}
