/* ============================================================
   Wasee wa Zamo CBO — About Page Styles
   Inherits variables from styles.css
   ============================================================ */

/* ── About intro split ── */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.about-intro-text h2 {
  text-align: left;
  display: inline-block;
  margin-bottom: 1.5rem;
}
.about-intro-text h2::after {
  left: 0;
  transform: none;
}
.about-intro-text p { font-size: 0.98rem; line-height: 1.8; color: var(--mid-grey); }
.about-intro-text p + p { margin-top: 0.75rem; }

.about-intro-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-intro-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.about-intro-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(209,165,44,0.18), transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.about-intro-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--orange);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  z-index: 2;
  box-shadow: var(--shadow-md);
}
.about-intro-badge strong { display: block; font-family: var(--font-heading); font-size: 1.5rem; line-height: 1; }
.about-intro-badge span { font-size: 0.78rem; opacity: 0.85; letter-spacing: 0.5px; }

/* ── Stats row ── */
.about-stats {
  background: var(--charcoal);
  padding: 3rem 0;
}
.about-stats-inner .metric-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* ── Mission / Vision cards ── */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.mv-card {
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}
.mv-card.mission { background: var(--charcoal); }
.mv-card.vision  { background: var(--orange); }

.mv-bg-icon {
  position: absolute;
  bottom: -0.5rem;
  right: 1rem;
  font-size: 7rem;
  opacity: 0.06;
  color: var(--white);
  pointer-events: none;
  line-height: 1;
}

.mv-card h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.mv-card h3 i { opacity: 0.7; font-size: 1rem; }
.mv-card p { color: rgba(255,255,255,0.82); font-size: 0.95rem; line-height: 1.78; margin: 0; }

/* ── Values ── */
.values-section { background: var(--off-white); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-xs);
  border-bottom: 3px solid var(--orange);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-card i { font-size: 1.75rem; color: var(--orange); margin-bottom: 1rem; display: block; }
.value-card h4 { font-size: 0.98rem; color: var(--black); margin-bottom: 0.4rem; }
.value-card p { font-size: 0.82rem; color: var(--soft-grey); margin: 0; line-height: 1.6; }

/* ── History / Timeline ── */
.history-section { background: var(--white); }

.timeline {
  position: relative;
  padding: 0.5rem 0;
  max-width: 780px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange), var(--pale-grey));
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
  position: relative;
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  width: 56px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding-top: 0.2rem;
}
.timeline-dot .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--orange);
  flex-shrink: 0;
}
.timeline-dot .year {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange);
  text-align: center;
  line-height: 1.2;
}

.timeline-content {
  background: var(--white);
  border: 1px solid var(--pale-grey);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  flex: 1;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--speed) var(--ease);
}
.timeline-content:hover { box-shadow: var(--shadow-md); }
.timeline-content h4 { font-size: 1rem; color: var(--black); margin-bottom: 0.35rem; }
.timeline-content p { font-size: 0.875rem; color: var(--soft-grey); margin: 0; line-height: 1.65; }

/* ── Team ── */
.team-section-about { background: var(--off-white); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 1.75rem;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--pale-grey);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.team-card img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--orange);
  display: block;
}
.team-card-initials {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--orange-faint);
  border: 3px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--orange);
}
.team-card h4 { font-size: 0.98rem; color: var(--black); margin-bottom: 0.25rem; }
.team-card .team-role { font-size: 0.78rem; color: var(--orange); font-weight: 600; margin-bottom: 0.5rem; }
.team-card .team-bio { font-size: 0.8rem; color: var(--soft-grey); margin: 0; line-height: 1.55; }
.team-card .team-bio.placeholder { color: var(--pale-grey); font-style: italic; }

/* ── Governance ── */
.governance-section { background: var(--white); }

.governance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.gov-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--pale-grey);
}
.gov-card h4 {
  font-size: 1rem;
  color: var(--black);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.gov-card h4 i { color: var(--orange); font-size: 0.95rem; }
.gov-card p, .gov-card li { font-size: 0.875rem; color: var(--soft-grey); line-height: 1.7; }
.gov-card ul { padding-left: 1.1rem; display: flex; flex-direction: column; gap: 0.3rem; }
.gov-card ul li { list-style: disc; }

/* ── Registration badge strip ── */
.reg-strip {
  background: var(--off-white);
  border-top: 1px solid var(--pale-grey);
  border-bottom: 1px solid var(--pale-grey);
  padding: 1.5rem 0;
}
.reg-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.reg-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mid-grey);
}
.reg-badge i { color: var(--success); font-size: 1rem; }

/* ── Responsive ── */
@media screen and (max-width: 900px) {
  .about-intro-grid { grid-template-columns: 1fr; }
  .about-intro-img img { height: 300px; }
  .mission-vision-grid { grid-template-columns: 1fr; }
}

@media screen and (max-width: 600px) {
  .timeline::before { left: 19px; }
  .timeline-dot { width: 40px; }
  .timeline-dot .dot { width: 10px; height: 10px; }
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}