/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Poppins", sans-serif; color: #333; line-height: 1.6; background: #fff; }
h1,h2,h3 { font-weight: 700; margin-bottom: 1rem; }
p { margin-bottom: 1rem; }

/* Header */
header {
  background: #fff;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 2rem;
  border-bottom: 2px solid #dbe0ef;
  position: sticky; top: 0; z-index: 1000;
}
header img { height: 55px; }
nav ul { display: flex; gap: 1.5rem; list-style: none; }
nav a { text-decoration: none; color: #3e64ff; font-weight: 600; transition: 0.3s; }
nav a:hover, nav a.active { color: #f15a29; }
.burger { display: none; font-size: 2rem; cursor: pointer; }

/* Hero */
.hero {
  background: url('https://source.unsplash.com/1600x900/?africa,family') no-repeat center/cover;
  position: relative; height: 95vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: white;
}
.hero::after {
  content: ""; position: absolute; top:0; left:0; right:0; bottom:0;
  background: rgba(62,100,255,0.65); /* blue overlay */
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero h1 { font-size: 3rem; margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; margin-bottom: 2rem; }

/* Buttons */
.btn {
  padding: 0.9rem 1.5rem; border-radius: 8px;
  font-weight: 600; margin: 0.5rem; text-decoration: none;
  transition: 0.3s; display: inline-block;
}
.btn-primary { background: #f15a29; color:#fff; }
.btn-primary:hover { background:#d94d20; }
.btn-alt { border:2px solid #fff; color:#fff; }
.btn-alt:hover { background:#fff; color:#3e64ff; }

/* Sections */
.section { padding: 4rem 2rem; }
.light-bg { background:#dbe0ef; }
.blue-bg { background:#3e64ff; color:#fff; }
.orange-bg { background:#f15a29; color:#fff; }

/* About */
.about { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; }
.about-text { flex:1; }
.about-image img { max-width: 100%; border-radius: 10px; }

/* Services */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.card {
  background: #fff; border-radius: 12px; padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: 0.3s;
}
.card img { width: 100%; height: auto; border-radius: 8px; margin-bottom: 1rem; }
.card:hover { transform: translateY(-5px); border: 2px solid #3e64ff; }

/* Impact Section */
.impact {
  position: relative;
  background: url('https://source.unsplash.com/1600x800/?southafrica,city') no-repeat center/cover;
  color: #fff; text-align: center;
}
.impact .overlay {
  position: absolute; top:0; left:0; right:0; bottom:0;
  background: rgba(62,100,255,0.75);
}
.impact-content { position: relative; z-index: 2; }
.stats { display:flex; flex-wrap:wrap; justify-content:space-around; gap:2rem; margin-top: 2rem; }
.stat h2 { font-size: 2.5rem; color: #f15a29; }

/* Why Us */
.pillars { display:flex; flex-wrap:wrap; gap:2rem; justify-content:center; margin-top:2rem; }
.pillar { flex:1; min-width:200px; text-align:center;
  background: rgba(255,255,255,0.1); padding:2rem; border-radius:12px; }
.pillar img { margin-bottom: 1rem; border-radius: 50%; }

/* Testimonials */
.testimonials { text-align:center; }
.quote {
  max-width: 600px; margin: 2rem auto; padding: 1.5rem;
  background: #fff; border-left: 5px solid #f15a29;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.quote img { border-radius: 50%; margin-bottom: 0.5rem; }

/* Footer */
footer {
  background: #222; color: #fff; text-align:center; padding: 1.5rem;
}
footer a { color: #f15a29; margin: 0 0.5rem; text-decoration:none; }

/* Animations */
.fade-in { opacity:0; animation: fadeIn 2s forwards; }
.fade-in-delay { opacity:0; animation: fadeIn 2s 1s forwards; }
.slide-up { opacity:0; transform:translateY(30px); animation: slideUp 1.5s forwards; }
@keyframes fadeIn { to { opacity:1; } }
@keyframes slideUp { to { opacity:1; transform:translateY(0); } }

/* Responsive */
@media(max-width:768px){
  nav ul { display:none; flex-direction:column; background:#fff; position:absolute; top:70px; right:0; width:200px; }
  nav ul.active { display:flex; }
  .burger { display:block; color:#3e64ff; }
  .about { flex-direction: column; }
  .stats { flex-direction: column; }
}


/* About Hero */
.about-hero {
  background: url('https://source.unsplash.com/1600x600/?africa,team') no-repeat center/cover;
  height: 50vh;
}
.about-hero::after {
  content: ""; position: absolute; top:0; left:0; right:0; bottom:0;
  background: rgba(62,100,255,0.65);
}
/* Partners & Associations */
.blue-bg .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  align-items: center;
  justify-items: center;
}
.blue-bg .card {
  background: rgba(255,255,255,0.1);
  padding: 1rem;
  border-radius: 8px;
}
.blue-bg .card img {
  max-width: 100%;
  height: auto;
}



/* Services Hero */
.services-hero {
  background: url('https://source.unsplash.com/1600x600/?finance,team') no-repeat center/cover;
  height: 50vh;
}
.services-hero::after {
  content: ""; position: absolute; top:0; left:0; right:0; bottom:0;
  background: rgba(62,100,255,0.65);
}

/* Impact Hero */
.impact-hero {
  background: url('https://source.unsplash.com/1600x600/?success,partnership') no-repeat center/cover;
  height: 50vh;
}
.impact-hero::after {
  content: ""; position: absolute; top:0; left:0; right:0; bottom:0;
  background: rgba(62,100,255,0.65);
}




/* Timeline */
.timeline {
  list-style: none;
  margin: 2rem auto;
  max-width: 600px;
  padding: 0;
}
.timeline li {
  margin: 1rem 0;
  padding: 1rem;
  border-left: 4px solid #f15a29;
  background: rgba(255,255,255,0.1);
}

/* Contact Hero */
.contact-hero {
  background: url('https://source.unsplash.com/1600x600/?office,consultation') no-repeat center/cover;
  height: 50vh;
}
.contact-hero::after {
  content: ""; position: absolute; top:0; left:0; right:0; bottom:0;
  background: rgba(62,100,255,0.65);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex; flex-direction: column;
}
.contact-form label {
  margin: 0.5rem 0 0.2rem;
  font-weight: 600;
}
.contact-form input, .contact-form textarea {
  padding: 0.8rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.contact-form button {
  align-self: flex-start;
}