/* ===============================
   AFRISURGE – ABOUT PAGE (ENHANCED)
   =============================== */

/* ---------- COLOR SYSTEM (easy branding swap) ---------- */
:root {
  --afrisurge-green: #0f5132;
  --afrisurge-green-soft: #1c6b4a;
  --afrisurge-bg-light: #f7f5f2;
  --afrisurge-text-main: #3f3f3f;
  --afrisurge-border-soft: rgba(0,0,0,0.06);
}

/* ---------- TYPOGRAPHY ---------- */
.afrisurge-ui {
  font-family: "Georgia", "Times New Roman", serif;
}

.afrisurge-ui h1,
.afrisurge-ui h2,
.afrisurge-ui h3 {
  font-family: "Playfair Display", "Georgia", serif;
  color: var(--afrisurge-green);
  line-height: 1.25;
}

.afrisurge-ui h1 {
  font-size: clamp(2.7rem, 5vw, 3.4rem);
  text-align: center;
  margin-bottom: 3.5rem;
}

.afrisurge-ui h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 2.8rem;
}

.afrisurge-ui h3 {
  font-size: 1.4rem;
  margin-top: 3.5rem;
  margin-bottom: 1.2rem;
}

/* ---------- SECTIONS ---------- */
.afrisurge-section {
  padding: 6rem 1.5rem;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.9s ease forwards;
}

.afrisurge-section:nth-of-type(odd) {
  background: #fff;
}

.afrisurge-section:nth-of-type(even) {
  background: var(--afrisurge-bg-light);
}

.afrisurge-section + .afrisurge-section {
  border-top: 1px solid var(--afrisurge-border-soft);
}

/* ---------- TEXT BLOCK ---------- */
.afrisurge-text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--afrisurge-text-main);
}

/* Paragraph spacing */
.afrisurge-text p {
  margin-bottom: 1.5rem;
}

/* ---------- DROP CAP (FIRST PARAGRAPH ONLY) ---------- */
.afrisurge-text p:first-of-type::first-letter {
  float: left;
  font-size: 3.8rem;
  line-height: 1;
  padding-right: 0.4rem;
  padding-top: 0.1rem;
  color: var(--afrisurge-green);
  font-family: "Playfair Display", serif;
}

/* ---------- LISTS ---------- */
.afrisurge-text ul {
  margin: 1.5rem 0 2rem 1.2rem;
  padding-left: 1rem;
}

.afrisurge-text li {
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* ---------- STRONG LABELS ---------- */
.afrisurge-text strong {
  color: var(--afrisurge-green);
  font-weight: 600;
}

/* ---------- PULL QUOTES ---------- */
.afrisurge-pull-quote {
  max-width: 760px;
  margin: 3.5rem auto;
  padding: 2rem 2.5rem;
  border-left: 4px solid var(--afrisurge-green);
  font-style: italic;
  font-size: 1.15rem;
  background: rgba(15, 81, 50, 0.05);
  border-radius: 1rem;
}

/* ---------- CARD STYLE (TEAM / OBJECTIVE BLOCKS) ---------- */
.afrisurge-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2.8rem;
  margin: 2.5rem 0;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.afrisurge-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.18);
}

/* ---------- FADE-IN ANIMATION ---------- */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- LARGE SCREENS ---------- */
@media (min-width: 1024px) {
  .afrisurge-text {
    font-size: 1.12rem;
  }
}

/* ---------- PRINT STYLES (RESEARCHERS) ---------- */
@media print {
  body {
    background: #fff;
    color: #000;
  }

  header,
  footer,
  nav,
  #return-to-top {
    display: none !important;
  }

  .afrisurge-section {
    padding: 2.5rem 0;
    page-break-inside: avoid;
  }

  .afrisurge-text {
    max-width: 100%;
    font-size: 11pt;
    line-height: 1.6;
  }

  .afrisurge-pull-quote {
    border-left: 3px solid #000;
    background: none;
  }
}
