* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background:

    url("assets/bg.png") no-repeat center center fixed;
  background-size: cover;
  color: #ffffff;
}

/* ======================
   SIDE NAV (DESKTOP)
   ====================== */

.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background: rgba(5,6,12,0.95);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
  z-index: 1000;
}

.side-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}

.side-nav-brand img {
  width: 36px;
}

.side-nav-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.side-nav-links a {
  color: #d1d5ff;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.side-nav-links a.active,
.side-nav-links a:hover {
  background: rgba(255,45,45,0.15);
  color: #ffffff;
}

.side-nav-cta {
  background: #ff2d2d;
  color: #fff;
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  text-decoration: none;
}

/* CLOSE BUTTON */
.side-nav-close {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 22px;
  position: absolute;
  top: 18px;
  right: 18px;
  cursor: pointer;
}

/* MAIN CONTENT */
.main-content {
  margin-left: 260px;
}

/* MOBILE TOGGLE */
.side-nav-toggle {
  display: none;
}

/* ======================
   HERO
   ====================== */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 100px 60px;
  min-height: 90vh;
  align-items: center;
}

.hero-content h1 {
  font-size: 64px;
}

.hero-content p {
  margin: 22px 0;
  color: #bfc6ff;
}

.btn {
  padding: 12px 26px;
  border-radius: 6px;
  text-decoration: none;
  margin-right: 12px;
}

.primary {
  background: #ff2d2d;
  color: white;
}

.secondary {
  border: 1px solid #3b82f6;
  color: #3b82f6;
}

/* ======================
   MOBILE
   ====================== */

@media (max-width: 900px) {

  .side-nav {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .side-nav.open {
    transform: translateX(0);
  }

  .side-nav-close {
    display: block;
  }

  .side-nav-toggle {
    display: block;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1100;
    background: rgba(5,6,12,0.9);
    border: none;
    color: white;
    font-size: 22px;
    padding: 10px 12px;
    border-radius: 8px;
  }

  body.menu-open {
    overflow: hidden;
  }

  .main-content {
    margin-left: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 90px 30px;
    gap: 40px;
  }

  .hero-content h1 {
    font-size: 44px;
  }
}
.hero-visual img {
  width: min(320px, 80vw);
  height: auto;
}
.who-visual img {
  width: min(280px, 75vw);
  height: auto;
}
/* =========================
   WHO WE ARE (MATCH DESIGN)
   ========================= */

.who-we-are {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 80px;
  padding: 140px 80px;
  background:
    linear-gradient(
      rgba(5, 6, 12, 0.9),
      rgba(5, 6, 12, 0.9)
    );
}

.who-content h2 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 22px;
}

.who-content h2 span {
  color: #3b82f6;
}

.who-content p {
  font-size: 16px;
  line-height: 1.75;
  color: #bfc6ff;
  max-width: 560px;
  margin-bottom: 34px;
}

/* Pillars */
.pillars {
  display: flex;
  gap: 26px;
  margin-bottom: 40px;
}

.pillars span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  opacity: 0.9;
}

/* Who visual (mask image) */
.who-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.who-visual img {
  width: min(300px, 70vw);
  filter:
    drop-shadow(0 0 30px rgba(255,45,45,0.35))
    drop-shadow(0 0 45px rgba(59,130,246,0.25));
}
/* =========================
   OUR PROGRAMS (MATCH DESIGN)
   ========================= */

.programs {
  padding: 140px 80px;
  text-align: center;
 
    
}

.programs h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.programs .subtitle {
  font-size: 15px;
  color: #bfc6ff;
  margin-bottom: 70px;
}

/* Cards grid */
.program-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

/* Program card base */
.program-cards .card {
  position: relative;
  padding: 38px 34px;
  border-radius: 18px;
  text-align: left;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Dark overlay */
.program-cards .card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      rgba(5, 6, 12, 0.88),
      rgba(5, 6, 12, 0.88)
    );
  z-index: 0;
}

/* Card content above overlay */
.program-cards .card * {
  position: relative;
  z-index: 1;
}

/* Card hover */
.program-cards .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.65);
}

/* Titles */
.program-cards .card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
}

/* Text */
.program-cards .card p {
  font-size: 15px;
  line-height: 1.65;
  color: #c7ccff;
  margin-bottom: 28px;
}

/* Highlighted (Startup) */
.program-cards .card.highlight {
  box-shadow: 0 0 45px rgba(255,45,45,0.45);
}

/* Background images */
.program-3d {
  background-image: url("3d.jpeg");
}

.program-startup {
  background-image: url("startup.jpeg");
}

.program-tech {
  background-image: url("tech.jpeg");
}
@media (max-width: 900px) {

  .who-we-are {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 100px 30px;
    gap: 60px;
  }

  .pillars {
    justify-content: center;
    flex-wrap: wrap;
  }

  .programs {
    padding: 110px 30px;
  }

  .program-cards {
    gap: 30px;
  }
}
/* HERO CAROUSEL */
.hero-visual.carousel {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual.carousel img {
  position: absolute;
  width: min(320px, 80vw);
  height: auto;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-visual.carousel img.active {
  opacity: 1;
  position: relative;
}

/* Prevent layout shift */
.hero-visual.carousel {
  min-height: 340px;
}

/* WHO VISUAL CAROUSEL */
.who-visual.carousel {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px; /* prevents layout shift */
}

.who-visual.carousel img {
  position: absolute;
  width: min(280px, 75vw);
  height: auto;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.who-visual.carousel img.active {
  opacity: 1;
  position: relative;
}
.footer {
  position: relative;
  width: 100%;
  padding: 24px 0;
  margin: 0;
  background: rgba(5, 6, 12, 0.95);
  text-align: center;

  /* IMPORTANT */
  overflow: hidden;
}
/* =========================
   HARD STOP SCROLL FIX
   ========================= */

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Kill invisible overflow */
body {
  min-height: 100dvh;
  overflow-y: auto;
  background-attachment: scroll;
}

/* Contain ALL visuals */
.hero,
.who-we-are,
.programs,
.footer {
  overflow: hidden;
}

/* Absolute / carousel images fix */
.hero-visual,
.who-visual {
  position: relative;
  overflow: hidden;
}

/* Prevent filters from expanding layout */
.hero-visual img,
.who-visual img {
  display: block;
  max-width: 100%;
}

/* FINAL SAFETY NET */
.footer {
  margin-bottom: 0 !important;
  padding-bottom: 24px;
}

/* =========================
   MOBILE SCROLL FIX (FINAL)
   ========================= */

@media (max-width: 900px) {

  html, body {
    height: auto !important;
    min-height: 100%;
    overflow-x: hidden;
  }

  body {
    overflow-y: auto;
    background-attachment: scroll;
  }

  /* Prevent mobile vh bugs */
  .hero {
    min-height: auto !important;
    padding-bottom: 60px;
  }

  /* Hard containment for visuals */
  .hero-visual,
  .who-visual {
    overflow: hidden;
    max-height: 360px;
  }

  .hero-visual img,
  .who-visual img {
    max-height: 320px;
    width: auto;
  }

  /* Kill last-pixel overflow */
  .footer {
    margin-bottom: 0 !important;
    padding-bottom: 24px;
  }
}
/* =========================
   MISSION SECTION
   ========================= */

.mission-section {
  padding: 80px 6%;
  background: radial-gradient(circle at top, #0b0f1a 0%, #05060c 70%);
  text-align: center;
  color: #fff;
}

.mission-title {
  font-size: 2.4rem;
  margin-bottom: 60px;
  font-weight: 700;
}

.mission-title span {
  color: #ff2b2b;
}

/* Cards layout */
.mission-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Card */
.mission-card {
  background: rgba(15, 20, 40, 0.65);
  border-radius: 18px;
  padding: 40px 28px;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mission-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

/* Icon */
.mission-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
}

.mission-icon.red {
  background: radial-gradient(circle, #ff3b3b, #b80000);
  box-shadow: 0 0 25px rgba(255,60,60,0.6);
}

.mission-icon.blue {
  background: radial-gradient(circle, #00bfff, #005eff);
  box-shadow: 0 0 25px rgba(0,160,255,0.6);
}

/* Text */
.mission-card h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.mission-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cfd6ff;
  margin-bottom: 28px;
}

/* Buttons */
.mission-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.mission-btn.red {
  background: linear-gradient(135deg, #ff3b3b, #b80000);
}

.mission-btn.blue {
  background: linear-gradient(135deg, #00bfff, #005eff);
}

.mission-btn:hover {
  box-shadow: 0 0 18px rgba(255,255,255,0.35);
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
  .mission-cards {
    grid-template-columns: 1fr;
  }

  .mission-title {
    font-size: 2rem;
  }
}
/* =========================
   MISSION CARD BACKGROUNDS
   ========================= */

.mission-card {
  position: relative;
  overflow: hidden;
}

/* Shared background overlay */
.mission-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 0;
}

/* Individual backgrounds */
.mission-card.learn::before {
  background-image: url("j.png");
}

.mission-card.build::before {
  background-image: url("jjjj.png");
}

.mission-card.launch::before {
  background-image: url("jjjjj.png");
}

/* Keep content above background */
.mission-card > * {
  position: relative;
  z-index: 1;
}
/* =========================
   ROADMAP SECTION
   ========================= */

.roadmap {
  padding: 90px 6%;
  background: radial-gradient(circle at top, #070b18 0%, #04050c 75%);
  color: #fff;
}

.roadmap h2 {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 10px;
}

.roadmap-subtitle {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 70px;
  color: #b9c4ff;
  font-size: 1rem;
}

/* Timeline container */
.roadmap-lines {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

/* Vertical glowing line */
.roadmap-lines::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    to bottom,
    #00ff99,
    #ffcc00,
    #ff3b3b
  );
  box-shadow: 0 0 25px rgba(0,255,153,0.6);
}

/* Items */
.roadmap-item {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 46px;
  position: relative;
}

.roadmap-item p {
  background: rgba(15, 20, 40, 0.65);
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Nodes */
.node {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-top: 10px;
  position: relative;
  z-index: 2;
}

/* Nigerian green */
.node.nigeria {
  background: #00ff99;
  box-shadow: 0 0 18px rgba(0,255,153,0.9);
}

/* African gold */
.node.africa {
  background: #ffcc00;
  box-shadow: 0 0 18px rgba(255,204,0,0.9);
}

/* Global red */
.node.global {
  background: #ff3b3b;
  box-shadow: 0 0 18px rgba(255,60,60,0.9);
}

/* Slight motion */
.roadmap-item:hover .node {
  transform: scale(1.2);
  transition: 0.3s ease;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 768px) {
  .roadmap-lines::before {
    left: 14px;
  }

  .roadmap-item {
    gap: 18px;
  }

  .roadmap h2 {
    font-size: 1.9rem;
  }
}
/* Icons inside nodes */
.node i {
  font-size: 10px;
  color: #05060c;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
