:root{
  --navy:#06152f;
  --navy2:#0b2448;
  --blue:#0a68d8;
  --blue2:#064a9c;
  --gold:#f5a623;
  --green:#0f8f6f;
  --red:#e63946;
  --sky:#eaf5ff;
  --mint:#e9fbf5;
  --bg:#f7faff;
  --line:#e5edf6;
  --muted:#667085;
  --ink:#101828;
  --white:#fff;
  --shadow:0 24px 70px rgba(6,21,47,.12);
  --soft-shadow:0 16px 44px rgba(6,21,47,.08);
  --radius:28px;
}

*{box-sizing:border-box}

html,body{
  margin:0;
  overflow-x:hidden;
  scroll-behavior:smooth;
}

body{
  font-family:Outfit,Arial,sans-serif;
  background:var(--bg);
  color:var(--ink);
  padding-top:98px;
}

a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
button,input,select,textarea{font:inherit}

.container{
  width:min(1400px,96%);
  margin:auto;
}

/* TOP STRIP */
.top{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:3000;
  min-height:32px;
  padding:7px 16px;
  background:linear-gradient(90deg,var(--navy),var(--blue));
  color:#fff;
  text-align:center;
  font-weight:850;
  font-size:.78rem;
}

.top span{display:inline}

.top a{
  display:inline-flex;
  margin-left:10px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.2);
  padding:4px 9px;
  border-radius:999px;
  color:#fff;
}

/* HEADER */
.nav{
  position:fixed;
  top:32px;
  left:0;
  right:0;
  z-index:2999;
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line);
  box-shadow:0 10px 28px rgba(6,21,47,.07);
}

.nav-inner{
  min-height:66px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  position:relative;
}

.brand{
  display:flex;
  align-items:center;
  gap:9px;
  flex:0 0 auto;
  min-width:auto;
}

.brand img{
  width:42px;
  height:42px;
  object-fit:contain;
}

.brand strong{
  display:block;
  color:var(--blue);
  font-size:1rem;
  line-height:1;
  font-weight:900;
}

.brand small{
  display:block;
  color:#d98200;
  font-size:.48rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.07em;
  margin-top:3px;
  white-space:nowrap;
}

/* NAVIGATION */
.links{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:3px;
  flex:1 1 auto;
  min-width:0;
  flex-wrap:nowrap;
  white-space:nowrap;
}

.links > a,
.drop-toggle{
  border:0;
  background:transparent;
  color:var(--navy);
  padding:7px 9px;
  border-radius:999px;
  font-size:.8rem;
  font-weight:900;
  cursor:pointer;
  white-space:nowrap;
  line-height:1.2;
}

.links > a:hover,
.drop-toggle:hover,
.links > a.active,
.active{
  background:var(--sky)!important;
  color:var(--blue)!important;
}

.drop{
  position:relative;
}

.drop-toggle span{
  font-size:.7rem;
  margin-left:2px;
}

.drop-menu{
  display:none;
  position:absolute;
  top:120%;
  left:0;
  width:250px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:10px;
  z-index:4000;
}

.drop:hover .drop-menu,
.drop.open .drop-menu{
  display:block;
}

.drop-menu a{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  color:var(--navy);
  font-size:.86rem;
  font-weight:850;
  line-height:1.25;
}

.drop-menu a:hover{
  background:var(--sky);
  color:var(--blue);
}

/* CTA BUTTONS IN HEADER */
.nav-actions{
  display:flex;
  align-items:center;
  gap:7px;
  flex:0 0 auto;
}

.portal-btn,
.donate-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:8px 11px;
  border-radius:999px;
  font-size:.8rem;
  font-weight:900;
  white-space:nowrap;
}

.portal-btn{
  background:var(--navy);
  color:#fff;
}

.donate-btn{
  background:var(--gold);
  color:#241300;
}

.menu{
  display:none;
  margin-left:auto;
  border:0;
  background:var(--navy);
  color:#fff;
  width:40px;
  height:40px;
  border-radius:13px;
  font-size:1.15rem;
  cursor:pointer;
  flex:0 0 auto;
}

/* GENERAL BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:10px 15px;
  border-radius:999px;
  border:0;
  font-size:.86rem;
  font-weight:900;
  cursor:pointer;
  text-align:center;
  white-space:nowrap;
  transition:.25s ease;
}

.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 34px rgba(6,21,47,.14);
}

.primary{background:var(--blue);color:#fff}
.primary:hover{background:var(--blue2)}
.dark{background:var(--navy);color:#fff}
.gold{background:var(--gold);color:#241300}
.softb{background:transparent;color:var(--navy)}
.softb:hover{background:var(--sky);color:var(--blue)}
.light{background:#fff;color:var(--navy)}
.outline{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.48)}

/* HERO */
.hero,.page-hero{
  color:#fff;
  background:
    radial-gradient(circle at 16% 22%,rgba(245,166,35,.22),transparent 30%),
    linear-gradient(135deg,var(--navy),var(--blue));
}

.hero{
  background:
    linear-gradient(90deg,rgba(6,21,47,.96),rgba(6,21,47,.80),rgba(6,21,47,.38)),
    url('../images/hero-africa.png') center/cover no-repeat;
}

.hero .container,
.page-hero .container{
  padding:92px 0;
}

.kicker,.label{
  display:inline-flex;
  padding:7px 12px;
  border-radius:999px;
  font-size:.7rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.09em;
}

.kicker{
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.20);
  color:#fff;
}

.label{
  background:var(--sky);
  color:var(--blue);
  margin-bottom:13px;
}

h1,h2,h3{
  line-height:1.04;
  letter-spacing:-.05em;
}

h1{
  margin:18px 0;
  font-size:clamp(2.8rem,6vw,6rem);
  max-width:1060px;
}

h2{
  margin:0 0 12px;
  color:var(--navy);
  font-size:clamp(2rem,4.4vw,4.1rem);
}

h3{color:var(--navy)}

.hero p,
.page-hero p{
  max-width:860px;
  color:rgba(255,255,255,.88);
  font-size:1.1rem;
  line-height:1.7;
}

.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:24px;
}

.badges{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:24px;
}

.badges span{
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  font-weight:850;
  font-size:.86rem;
}

section{padding:74px 0}

.section-title{
  max-width:940px;
  margin:0 auto 38px;
  text-align:center;
}

.section-title p{
  color:var(--muted);
  line-height:1.75;
  font-size:1.04rem;
}

/* GRIDS */
.grid{display:grid;gap:18px}
.g4{grid-template-columns:repeat(4,1fr)}
.g3{grid-template-columns:repeat(3,1fr)}
.g2{grid-template-columns:repeat(2,1fr)}

.card,.panel,.article,.media-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--soft-shadow);
  padding:24px;
}

.card,.article,.media-card{
  transition:.25s ease;
}

.card:hover,.article:hover,.media-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow);
}

.card p,.panel p,.article p,.media-card p{
  color:var(--muted);
  line-height:1.68;
}

.icon{
  width:58px;
  height:58px;
  border-radius:20px;
  background:var(--sky);
  color:var(--blue);
  display:grid;
  place-items:center;
  font-size:1.55rem;
  margin-bottom:16px;
}

/* IMPACT */
.impact{
  background:#fff;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.stat{text-align:center}

.stat strong{
  display:block;
  color:var(--blue);
  font-size:clamp(2rem,4vw,3.5rem);
  line-height:1;
}

.stat span{
  display:block;
  margin-top:10px;
  color:var(--muted);
  font-weight:850;
}

/* LAYOUT */
.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:34px;
  align-items:center;
}

.dark-section{
  background:
    radial-gradient(circle at 12% 18%,rgba(245,166,35,.14),transparent 26%),
    linear-gradient(135deg,var(--navy),var(--blue));
  color:#fff;
}

.dark-section h2,
.dark-section h3{
  color:#fff;
}

.dark-section p{
  color:rgba(255,255,255,.84);
}

.dark-section .card h3,
.dark-section .panel h3{
  color:var(--navy);
}

.dark-section .card p,
.dark-section .panel p{
  color:var(--muted);
}

.check{
  list-style:none;
  padding:0;
  margin:18px 0;
}

.check li{
  position:relative;
  padding-left:28px;
  margin:10px 0;
  color:#344054;
  font-weight:800;
  line-height:1.55;
}

.check li:before{
  content:'✓';
  position:absolute;
  left:0;
  color:var(--green);
  font-weight:900;
}

.band{
  background:#fff;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.lock{
  border:1px dashed rgba(10,104,216,.35);
  background:linear-gradient(180deg,#fff,#f8fbff);
}

.lock small{
  display:inline-flex;
  background:#e9fbf5;
  color:var(--green);
  padding:6px 10px;
  border-radius:999px;
  font-weight:900;
  text-transform:uppercase;
  font-size:.7rem;
}

.timeline{display:grid;gap:16px}

.timeline div{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:18px;
  box-shadow:var(--soft-shadow);
}

.featured{
  background:linear-gradient(135deg,#fff,#f8fbff);
  border:1px solid var(--line);
  border-radius:34px;
  box-shadow:var(--shadow);
  padding:30px;
}

.video-box{
  min-height:280px;
  border-radius:28px;
  background:linear-gradient(135deg,var(--navy),var(--blue));
  color:#fff;
  display:grid;
  place-items:center;
  text-align:center;
  padding:24px;
}

.video-box h3{color:#fff}

.audio-box{
  background:#fff8e9;
  border:1px solid rgba(245,166,35,.28);
  border-radius:24px;
  padding:22px;
}

.social-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.social-card{
  border-radius:24px;
  padding:20px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--soft-shadow);
  text-align:center;
}

.social-card strong{
  display:block;
  color:var(--navy);
  margin-top:8px;
}

.resource-list{display:grid;gap:12px}

.resource-link{
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:16px;
  border-radius:18px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--soft-shadow);
  font-weight:850;
}

.resource-link span{
  color:var(--muted);
  font-weight:700;
}

/* FORM */
form{display:grid;gap:12px}

input,select,textarea{
  width:100%;
  min-height:48px;
  border:1px solid var(--line);
  border-radius:15px;
  padding:12px 14px;
  font:inherit;
  background:#fbfdff;
}

textarea{
  min-height:130px;
  resize:vertical;
}

/* FOOTER */
.footer{
  background:#061126;
  color:rgba(255,255,255,.74);
  padding:48px 0 24px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:24px;
}

.footer img{
  width:52px;
  background:#fff;
  border-radius:16px;
  padding:4px;
}

.footer h3,
.footer h4{
  color:#fff;
  margin:0 0 12px;
}

.footer a{
  display:block;
  color:rgba(255,255,255,.72);
  margin:8px 0;
}

.float,
.float-help{
  position:fixed;
  right:16px;
  bottom:16px;
  z-index:999;
  background:#25d366;
  color:#fff;
  padding:11px 16px;
  border-radius:999px;
  font-weight:900;
  box-shadow:0 16px 35px rgba(0,0,0,.22);
}

/* ANIMATIONS */
.reveal{
  opacity:0;
  transform:translateY(32px);
  transition:.7s ease;
}

.reveal.show{
  opacity:1;
  transform:translateY(0);
}

/* RESPONSIVE NAV */
@media(max-width:1180px){
  body{
    padding-top:108px;
  }

  .menu{
    display:block;
  }

  .links,
  .nav-actions{
    display:none;
  }

  body.menu-open .links,
  body.menu-open .nav-actions{
    display:flex;
  }

  .links{
    position:absolute;
    top:76px;
    left:14px;
    right:14px;
    max-height:calc(100vh - 180px);
    overflow-y:auto;
    background:#fff;
    border:1px solid var(--line);
    border-radius:20px;
    box-shadow:var(--shadow);
    padding:12px;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:8px;
    white-space:normal;
    z-index:4000;
  }

  .nav-actions{
    position:absolute;
    top:calc(76px + 100%);
    left:14px;
    right:14px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:18px;
    box-shadow:var(--shadow);
    padding:12px;
    flex-direction:column;
    gap:8px;
    z-index:4001;
  }

  .links > a,
  .drop-toggle,
  .portal-btn,
  .donate-btn{
    width:100%;
    min-height:42px;
    border-radius:14px;
    text-align:left;
    justify-content:flex-start;
    padding:10px 12px;
    font-size:.92rem;
  }

  .drop{
    width:100%;
  }

  .drop-toggle{
    display:flex;
    align-items:center;
    justify-content:space-between;
  }

  .drop-menu{
    display:none;
    position:static;
    width:100%;
    box-shadow:none;
    border:1px solid var(--line);
    border-radius:14px;
    margin-top:8px;
    padding:8px;
    background:#f8fbff;
  }

  .drop:hover .drop-menu{
    display:none;
  }

  .drop.open .drop-menu{
    display:block;
  }

  .drop-menu a{
    font-size:.9rem;
    padding:10px 12px;
    background:#fff;
    margin:5px 0;
  }
}

@media(max-width:1060px){
  .g4,.g3,.footer-grid,.social-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .split{
    grid-template-columns:1fr;
  }
}

@media(max-width:780px){
  body{
    padding-top:116px;
  }

  .top{
    min-height:42px;
    font-size:.7rem;
    line-height:1.3;
  }

  .nav{
    top:42px;
  }

  .container{
    width:calc(100% - 28px);
  }

  .brand small{
    display:none;
  }

  .brand img{
    width:42px;
    height:42px;
  }

  .brand strong{
    font-size:1.08rem;
  }

  .nav-inner{
    min-height:74px;
  }

  .g4,.g3,.g2,.footer-grid,.social-grid{
    grid-template-columns:1fr;
  }

  .actions{
    flex-direction:column;
  }

  .btn{
    width:100%;
    border-radius:14px;
  }

  .hero .container,
  .page-hero .container{
    padding:60px 0;
  }

  .float,
  .float-help{
    left:16px;
    right:16px;
    text-align:center;
    border-radius:14px;
  }
}