/* ===================================================================
   Abyei Youth Association — Shared Stylesheet
   Palette & type preserved from the original single-page design.
   =================================================================== */

:root {
  --green-dark: #1a6b2f;
  --green: #2d8a3e;
  --green-light: #4caf60;
  --green-pale: #e8f5eb;
  --blue-light: #b8d8f0;
  --navy: #1e2a5e;
  --navy-dark: #131c42;
  --white: #ffffff;
  --off-white: #f8f9f7;
  --text: #1a1a1a;
  --text-muted: #5a5a5a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; }

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(19,28,66,0.97);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  border-bottom: 2px solid var(--green-dark);
}
.nav-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo {
  width: 50px; height: 50px;
  object-fit: contain; border-radius: 50%;
  background: white; padding: 3px;
}
.nav-name {
  font-family: 'Lora', serif;
  color: var(--white); font-size: 1.05rem;
  font-weight: 700; line-height: 1.2;
}
.nav-name span {
  display: block; font-family: 'Lato', sans-serif;
  font-size: 0.62rem; font-weight: 400; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--green-light); margin-top: 2px;
}
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-size: 0.76rem; letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 700; transition: color 0.2s; position: relative;
}
.nav-links a:hover { color: var(--green-light); }
.nav-links a.active { color: var(--green-light); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; background: var(--green-light); border-radius: 2px;
}

/* Mobile hamburger */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; padding: 8px;
}
.nav-toggle span {
  display: block; height: 2px; background: white; border-radius: 2px;
  margin: 5px 0; transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO (home) ===== */
.hero {
  min-height: 100vh;
  background: var(--navy-dark);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 110px 40px 80px; position: relative; overflow: hidden;
}
.bg-slideshow { position: absolute; inset: 0; z-index: 0; }
.bg-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  animation: bgSlideFade5 25s infinite;
  animation-fill-mode: backwards;
}
.bg-slide:nth-child(1) { animation-delay: 0s; }
.bg-slide:nth-child(2) { animation-delay: 5s; }
.bg-slide:nth-child(3) { animation-delay: 10s; }
.bg-slide:nth-child(4) { animation-delay: 15s; }
.bg-slide:nth-child(5) { animation-delay: 20s; }
@keyframes bgSlideFade5 {
  0%   { opacity: 0; transform: scale(1.08); }
  4%   { opacity: 1; transform: scale(1.08); }
  20%  { opacity: 1; transform: scale(1.16); }
  24%  { opacity: 0; transform: scale(1.16); }
  100% { opacity: 0; }
}
/* Inner page banners cycle 3 photos on a faster 15s loop */
.page-banner .bg-slide { animation-name: bgSlideFade3; animation-duration: 15s; }
.page-banner .bg-slide:nth-child(1) { animation-delay: 0s; }
.page-banner .bg-slide:nth-child(2) { animation-delay: 5s; }
.page-banner .bg-slide:nth-child(3) { animation-delay: 10s; }
@keyframes bgSlideFade3 {
  0%    { opacity: 0; transform: scale(1.08); }
  6.7%  { opacity: 1; transform: scale(1.08); }
  33.3% { opacity: 1; transform: scale(1.16); }
  40%   { opacity: 0; transform: scale(1.16); }
  100%  { opacity: 0; }
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(76,175,96,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 40%, rgba(184,216,240,0.12) 0%, transparent 55%),
    linear-gradient(160deg, rgba(19,28,66,0.90) 0%, rgba(22,42,30,0.82) 55%, rgba(26,107,47,0.82) 100%);
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  height: 80px; background: linear-gradient(transparent, var(--off-white));
}
.hero-inner { position: relative; z-index: 3; }
@media (prefers-reduced-motion: reduce) {
  .bg-slide { animation: none; opacity: 0; }
  .bg-slide:nth-child(1) { opacity: 1; }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(76,175,96,0.15); border: 1px solid rgba(76,175,96,0.4);
  color: var(--green-light); padding: 7px 20px; border-radius: 40px;
  font-size: 0.72rem; letter-spacing: 2.5px; text-transform: uppercase;
  font-weight: 700; margin-bottom: 36px; animation: fadeUp 0.7s ease both;
}
.hero-logo-wrap { margin-bottom: 36px; animation: fadeUp 0.8s ease 0.1s both; }
.hero-logo {
  width: 150px; height: 150px; object-fit: contain; background: white;
  border-radius: 50%; padding: 12px;
  box-shadow: 0 0 0 6px rgba(76,175,96,0.25), 0 0 60px rgba(76,175,96,0.2);
}
.hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem); color: var(--white);
  font-weight: 900; line-height: 1.08; margin-bottom: 10px;
  animation: fadeUp 0.9s ease 0.2s both;
}
.hero h1 em { color: var(--green-light); font-style: normal; }
.hero-location {
  color: rgba(255,255,255,0.5); font-size: 0.85rem; letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 24px; animation: fadeUp 0.9s ease 0.25s both;
}
.hero-motto {
  font-size: 1.35rem; color: rgba(255,255,255,0.85); font-style: italic;
  font-family: 'Lora', serif; margin-bottom: 44px;
  animation: fadeUp 1s ease 0.3s both;
}
.hero-cta {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 1s ease 0.4s both;
}

/* ===== PAGE BANNER (inner pages) ===== */
.page-banner {
  background: var(--navy-dark);
  color: white; padding: 150px 48px 70px; text-align: center;
  position: relative; overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 75% 30%, rgba(76,175,96,0.20) 0%, transparent 55%),
    linear-gradient(160deg, rgba(19,28,66,0.92) 0%, rgba(22,42,30,0.86) 60%, rgba(26,107,47,0.86) 100%);
}
.page-banner > *:not(.bg-slideshow) { position: relative; z-index: 3; }
.page-banner .section-eyebrow { color: var(--green-light); }
.page-banner h1 {
  font-family: 'Lora', serif;
  font-size: clamp(1.9rem, 4.3vw, 3.1rem); font-weight: 900;
  line-height: 1.1; margin-bottom: 14px;
}
.page-banner p {
  max-width: 640px; margin: 0 auto; color: rgba(255,255,255,0.75);
  font-size: 1.02rem; line-height: 1.8;
}
.page-banner .crumb {
  font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 14px;
}
.page-banner .crumb a { color: var(--green-light); text-decoration: none; }

/* ===== BUTTONS ===== */
.btn {
  padding: 15px 38px; border-radius: 3px; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none;
  transition: all 0.25s; display: inline-block; border: 2px solid transparent;
  cursor: pointer; font-family: 'Lato', sans-serif;
}
.btn-primary { background: var(--green); color: white; border-color: var(--green); }
.btn-primary:hover {
  background: var(--green-light); border-color: var(--green-light);
  transform: translateY(-3px); box-shadow: 0 10px 30px rgba(45,138,62,0.35);
}
.btn-outline { background: transparent; color: white; border-color: rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.08); }
.btn-dark { background: var(--navy); color: white; border-color: var(--navy); }
.btn-dark:hover { background: var(--green-dark); border-color: var(--green-dark); }

/* ===== SHARED SECTION ===== */
section { padding: 96px 48px; }
.container { max-width: 1180px; margin: 0 auto; }
.section-eyebrow {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--green); margin-bottom: 10px;
}
.section-title {
  font-family: 'Lora', serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem); color: var(--navy);
  font-weight: 700; line-height: 1.15; margin-bottom: 16px;
}
.section-bar {
  width: 52px; height: 4px; background: var(--green);
  margin-bottom: 28px; border-radius: 2px;
}

/* ===== ABOUT ===== */
.about { background: var(--off-white); }
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: center; }
.about-body p { font-size: 1.05rem; line-height: 1.9; color: #444; margin-bottom: 20px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.stat {
  background: white; padding: 22px 20px; border-left: 4px solid var(--green);
  border-radius: 0 4px 4px 0; box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.stat-n { font-family: 'Lora', serif; font-size: 1.7rem; font-weight: 900; color: var(--green-dark); line-height: 1; }
.stat-l { font-size: 0.8rem; color: var(--text-muted); margin-top: 5px; font-weight: 700; letter-spacing: 0.5px; }
.about-photos { display: grid; gap: 12px; }
.about-photos img { width: 100%; object-fit: cover; border-radius: 6px; box-shadow: 0 8px 30px rgba(0,0,0,0.13); display: block; }
.about-photos .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ===== MISSION ===== */
.mission { background: var(--navy); color: white; text-align: center; }
.mission .section-eyebrow { color: var(--green-light); }
.mission .section-title { color: white; }
.mission .section-bar { background: var(--green-light); margin: 0 auto 28px; }
.mission-intro { max-width: 620px; margin: 0 auto 52px; color: rgba(255,255,255,0.75); font-size: 1.05rem; line-height: 1.8; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.pillar {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-top: 3px solid var(--green-light); padding: 38px 28px; border-radius: 4px; transition: background 0.25s;
}
.pillar:hover { background: rgba(255,255,255,0.1); }
.pillar-icon { font-size: 2rem; margin-bottom: 18px; }
.pillar h3 { font-family: 'Lora', serif; font-size: 1.2rem; margin-bottom: 14px; color: white; }
.pillar p { font-size: 0.9rem; line-height: 1.75; color: rgba(255,255,255,0.7); }

/* ===== LEADERSHIP ===== */
.leadership { background: white; }
.leadership-intro { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.leadership-intro .section-bar { margin: 0 auto 24px; }
.leadership-intro p { color: var(--text-muted); font-size: 1rem; line-height: 1.8; }
.leadership-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1000px; margin: 0 auto 28px; }
.leadership-bottom { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.cabinet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.leader-card { background: var(--off-white); border-radius: 8px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; position: relative; border-top: 4px solid var(--green-light); }
.leader-card:hover { transform: translateY(-7px); box-shadow: 0 24px 60px rgba(0,0,0,0.12); }
.leader-card.top-leader { border-top: 4px solid var(--green); }
.leader-card.second-tier { border-top: 4px solid var(--green-light); }
.leader-photo { width: 100%; height: 260px; object-fit: contain; object-position: center top; display: block; background: var(--off-white); }
.leader-bottom .leader-photo { height: 230px; }
.cabinet-grid .leader-photo { height: 240px; }
.leader-info { padding: 18px 20px 22px; }
.leader-pos { font-size: 0.68rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--green-dark); margin-bottom: 6px; }
.leader-name { font-family: 'Lora', serif; font-size: 1.05rem; color: var(--navy); font-weight: 700; line-height: 1.3; margin-bottom: 4px; }
.leader-term { font-size: 0.75rem; color: var(--text-muted); font-style: italic; }

/* ===== GALLERY ===== */
.gallery { background: var(--navy-dark); }
.gallery .section-eyebrow { color: var(--green-light); }
.gallery .section-title { color: white; }
.gallery .section-bar { background: var(--green-light); }
.gallery p.gallery-sub { color: rgba(255,255,255,0.6); margin-bottom: 44px; font-size: 1rem; max-width: 560px; line-height: 1.75; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 1180px; margin: 0 auto; }
.g-item { position: relative; border-radius: 6px; overflow: hidden; cursor: pointer; }
.g-item.wide { grid-column: span 2; }
.g-img { width: 100%; height: 250px; object-fit: cover; display: block; transition: transform 0.5s ease, filter 0.3s; filter: brightness(0.88); }
.g-item.wide .g-img { height: 310px; }
.g-item:hover .g-img { transform: scale(1.04); filter: brightness(1); }
.g-cap {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, transparent 100%);
  color: white; padding: 32px 16px 14px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.3px;
}

/* ===== NEWS / UPDATES ===== */
.news { background: var(--off-white); }
.news-intro { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.news-intro .section-bar { margin: 0 auto 24px; }
.news-intro p { color: var(--text-muted); font-size: 1rem; line-height: 1.8; }
.updates-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 26px; max-width: 1180px; margin: 0 auto; }
.update-card {
  background: white; border-radius: 10px; overflow: hidden;
  box-shadow: 0 4px 22px rgba(0,0,0,0.06); border: 1px solid #ececec;
  display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.update-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(0,0,0,0.12); }
.update-card.pinned { border-top: 4px solid var(--green); }
.update-img-wrap { position: relative; }
.update-img { width: 100%; height: 200px; object-fit: cover; background: var(--green-pale); display: block; }
.update-img-count {
  position: absolute; bottom: 10px; right: 10px; z-index: 1;
  background: rgba(15,20,35,0.72); color: white; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.5px; padding: 5px 12px; border-radius: 20px;
}
.update-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.update-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.update-cat {
  font-size: 0.64rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--green-dark); background: var(--green-pale); padding: 4px 12px; border-radius: 30px;
}
.update-date { font-size: 0.78rem; color: var(--text-muted); }
.update-pin { font-size: 0.64rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--green); }
.update-title { font-family: 'Lora', serif; font-size: 1.3rem; color: var(--navy); font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
.update-text {
  color: #444; font-size: 0.95rem; line-height: 1.75; white-space: pre-line;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.update-readmore {
  margin-top: 14px; font-size: 0.78rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--green-dark);
}
.news-empty { text-align: center; color: var(--text-muted); max-width: 520px; margin: 0 auto; line-height: 1.8; }
.news-note {
  max-width: 760px; margin: 48px auto 0; background: var(--green-pale);
  border: 1px solid rgba(45,138,62,0.25); border-left: 4px solid var(--green);
  border-radius: 6px; padding: 18px 22px; font-size: 0.9rem; color: var(--green-dark); line-height: 1.7;
}

/* ===== DETAIL MODAL (news + bios) ===== */
.detail-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(15,20,35,0.72); backdrop-filter: blur(3px);
  align-items: flex-start; justify-content: center;
  padding: 60px 20px; overflow-y: auto;
}
.detail-overlay.open { display: flex; }
.detail-modal {
  background: white; border-radius: 14px; max-width: 640px; width: 100%;
  position: relative; box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  animation: fadeUp 0.3s ease both;
}
.detail-close {
  position: absolute; top: 16px; right: 16px; z-index: 1;
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: rgba(0,0,0,0.55); color: white; font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.detail-close:hover { background: rgba(0,0,0,0.75); }
.detail-img { width: 100%; max-height: 320px; object-fit: cover; border-radius: 14px 14px 0 0; display: block; }
.detail-gallery {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3px;
  border-radius: 14px 14px 0 0; overflow: hidden;
}
.detail-gallery img { width: 100%; height: 180px; object-fit: cover; display: block; }
.detail-gallery img:only-child { grid-column: span 2; height: 320px; }
.detail-photo {
  width: 140px; height: 140px; border-radius: 50%; object-fit: cover; object-position: top center;
  display: block; margin: 34px auto 0; border: 4px solid var(--off-white); box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.detail-body { padding: 28px 32px 34px; }
.detail-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.detail-title { font-family: 'Lora', serif; font-size: 1.5rem; color: var(--navy); font-weight: 700; margin-bottom: 14px; line-height: 1.3; text-align: center; }
.detail-pos { text-align: center; color: var(--green-dark); font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-top: -8px; margin-bottom: 20px; }
.detail-text { color: #333; font-size: 0.98rem; line-height: 1.85; white-space: pre-line; }
.detail-text p { margin-bottom: 14px; }
.detail-contact { margin-top: 20px; padding-top: 18px; border-top: 1px solid #eee; font-size: 0.88rem; color: var(--text-muted); line-height: 1.9; }

/* ===== ABOUT ABYEI (intro) ===== */
.abyei-intro { background: white; text-align: center; }
.abyei-intro-grid {
  max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px;
  text-align: left;
}
.abyei-intro-grid p { color: var(--text-muted); font-size: 1.02rem; line-height: 1.85; }
.abyei-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  max-width: 900px; margin: 44px auto 0;
}
.abyei-stats .stat-n { font-size: 1.3rem; }
@media (max-width: 860px) { .abyei-stats { grid-template-columns: 1fr 1fr; } }

/* ===== FINAL STATUS OF ABYEI ===== */
.final-status {
  position: relative; overflow: hidden; color: white; padding: 100px 48px;
  background: linear-gradient(160deg, var(--navy-dark) 0%, #162a1e 55%, var(--green-dark) 100%);
}
.final-status::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 85% 10%, rgba(76,175,96,0.20) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(184,216,240,0.10) 0%, transparent 55%);
}
.final-status > .container { position: relative; z-index: 1; }
.final-status .section-eyebrow { color: var(--green-light); }
.final-status .section-title { color: white; }
.final-status .section-bar { margin: 0 auto 28px; background: var(--green-light); }
.fs-intro { max-width: 660px; margin: 0 auto 64px; color: rgba(255,255,255,0.78); font-size: 1.05rem; line-height: 1.85; }

.status-timeline { max-width: 760px; margin: 0 auto; position: relative; }
.status-timeline::before {
  content: ''; position: absolute; left: 25px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(rgba(76,175,96,0.55), rgba(76,175,96,0.1));
}
.status-item {
  position: relative; padding-left: 76px; margin-bottom: 46px; text-align: left;
}
.status-item:last-child { margin-bottom: 0; }
.status-year {
  position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 50%;
  background: var(--green); color: white; display: flex; align-items: center; justify-content: center;
  font-family: 'Lora', serif; font-weight: 700; font-size: 0.8rem; text-align: center; line-height: 1.1;
  box-shadow: 0 0 0 6px rgba(76,175,96,0.16); flex-direction: column;
}
.status-item:nth-child(even) .status-year { background: var(--navy); box-shadow: 0 0 0 6px rgba(184,216,240,0.12); }
.status-body h3 {
  font-family: 'Lora', serif; font-size: 1.28rem; font-weight: 700;
  color: white; margin-bottom: 10px;
}
.status-body p { color: rgba(255,255,255,0.72); font-size: 0.98rem; line-height: 1.8; }

.status-callout {
  max-width: 760px; margin: 70px auto 0; text-align: center; padding: 46px 40px;
  border-radius: 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
}
.status-callout p {
  font-family: 'Lora', serif; font-style: italic; font-size: 1.25rem;
  line-height: 1.6; color: white; margin-bottom: 26px;
}

@media (max-width: 640px) {
  .final-status { padding: 70px 24px; }
  .status-item { padding-left: 64px; }
  .status-year { width: 44px; height: 44px; font-size: 0.7rem; }
  .status-timeline::before { left: 21px; }
}

/* ===== CONTACT ===== */
.contact { background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; max-width: 1040px; margin: 0 auto; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-size: 0.76rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy); }
.form-group input, .form-group textarea, .form-group select {
  padding: 13px 15px; border: 1.5px solid #ddd; border-radius: 4px;
  font-family: 'Lato', sans-serif; font-size: 0.95rem; background: white;
  transition: border-color 0.2s, box-shadow 0.2s; outline: none; color: var(--text);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(45,138,62,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-send {
  background: var(--green-dark); color: white; border: none; padding: 15px 36px;
  font-family: 'Lato', sans-serif; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; border-radius: 3px; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-send:hover { background: var(--green); transform: translateY(-2px); }
.contact-right h3 { font-family: 'Lora', serif; font-size: 1.55rem; color: var(--navy); margin-bottom: 16px; line-height: 1.3; }
.contact-right > p { color: var(--text-muted); line-height: 1.8; margin-bottom: 36px; font-size: 0.97rem; }
.c-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.c-icon {
  width: 44px; height: 44px; background: var(--green-pale); border: 1px solid rgba(45,138,62,0.2);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.c-detail strong { display: block; font-size: 0.76rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy); font-weight: 700; margin-bottom: 3px; }
.c-detail span { color: var(--text-muted); font-size: 0.93rem; }

/* ===== CHAIRPERSON'S WELCOME (home) ===== */
.chair-welcome {
  position: relative; overflow: hidden; color: white; padding: 130px 48px 110px;
  background: linear-gradient(160deg, var(--navy-dark) 0%, #16261c 60%, var(--green-dark) 100%);
}
.chair-welcome::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 90% 15%, rgba(76,175,96,0.20) 0%, transparent 55%),
    radial-gradient(ellipse at 5% 95%, rgba(184,216,240,0.10) 0%, transparent 55%);
}
.chair-grid {
  position: relative; z-index: 1; display: grid;
  grid-template-columns: 0.8fr 1.2fr; gap: 76px; align-items: center;
}
.chair-photo-wrap { position: relative; max-width: 340px; margin: 0 auto 24px; }
.chair-photo-shape {
  position: absolute; inset: -16px -16px 16px 16px; z-index: 0;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  border-radius: 26px; transform: rotate(-5deg);
}
.chair-photo {
  position: relative; z-index: 1; display: block; width: 100%;
  aspect-ratio: 4 / 5; object-fit: cover; object-position: top center;
  border-radius: 22px; border: 5px solid rgba(255,255,255,0.92);
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
}
.chair-badge {
  position: absolute; z-index: 2; left: 50%; bottom: -18px; transform: translateX(-50%);
  background: white; color: var(--navy); white-space: nowrap;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 10px 24px; border-radius: 40px; box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
.chair-text { position: relative; }
.chair-quote-mark {
  font-family: 'Lora', serif; font-size: 5.5rem; line-height: 1;
  color: var(--green-light); opacity: 0.55; margin-bottom: -20px;
}
.chair-text .section-eyebrow { color: var(--green-light); }
.chair-message {
  font-family: 'Lora', serif; font-style: italic;
  font-size: clamp(1.05rem, 1.9vw, 1.35rem); line-height: 1.65;
  color: white; margin: 8px 0 34px;
}
.chair-sign { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 20px; display: inline-block; }
.chair-name { font-family: 'Lora', serif; font-weight: 700; font-size: 1.15rem; color: white; }
.chair-title { font-size: 0.76rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--green-light); margin-top: 4px; }

@media (max-width: 860px) {
  .chair-grid { grid-template-columns: 1fr; text-align: center; }
  .chair-text { text-align: center; }
  .chair-quote-mark { display: none; }
  .chair-sign { padding-top: 18px; }
}

/* ===== HOME: latest updates teaser ===== */
.home-updates { background: white; }
.home-updates .section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.home-updates .section-bar { margin: 0 auto 24px; }
.home-updates .section-head p { color: var(--text-muted); line-height: 1.8; }
.home-updates-cta { text-align: center; margin-top: 48px; }

/* ===== FOOTER ===== */
footer { background: var(--navy-dark); color: rgba(255,255,255,0.65); padding: 56px 48px 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 56px; max-width: 1100px; margin: 0 auto 44px; }
.f-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.f-logo { width: 50px; height: 50px; object-fit: contain; background: white; border-radius: 50%; padding: 4px; }
.f-name { font-family: 'Lora', serif; color: white; font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.f-name span { display: block; font-family: 'Lato', sans-serif; font-size: 0.68rem; font-weight: 400; letter-spacing: 2px; color: var(--green-light); margin-top: 2px; }
.footer-about p { font-size: 0.9rem; line-height: 1.75; max-width: 320px; margin-bottom: 20px; }
.footer-col h4 { color: var(--green-light); font-size: 0.7rem; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 18px; font-weight: 700; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--green-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px; text-align: center; font-size: 0.8rem; opacity: 0.55; max-width: 1100px; margin: 0 auto; }

@keyframes fadeUp { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; max-width: 440px; }
  .leadership-top { grid-template-columns: 1fr 1fr; }
  .leadership-bottom { grid-template-columns: 1fr 1fr; }
  .cabinet-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .g-item.wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }

  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: rgba(19,28,66,0.99); border-bottom: 2px solid var(--green-dark);
    max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
  }
  .nav-links.open { max-height: 420px; }
  .nav-links li { border-top: 1px solid rgba(255,255,255,0.08); }
  .nav-links a { display: block; padding: 18px 48px; }
  .nav-links a.active::after { display: none; }
}

@media (max-width: 640px) {
  section { padding: 64px 20px; }
  nav { padding: 0 20px; }
  .hero { padding: 100px 20px 80px; }
  .page-banner { padding: 130px 20px 56px; }
  .leadership-top, .leadership-bottom { grid-template-columns: 1fr 1fr; }
  .cabinet-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .g-item.wide { grid-column: span 1; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .about-photos .row { grid-template-columns: 1fr; }
  .nav-links a { padding: 16px 20px; }
}

/* ===== CONSTITUTION ===== */
.const-section { background: var(--off-white); }
.const-layout { display: grid; grid-template-columns: 250px 1fr; gap: 48px; max-width: 1180px; margin: 0 auto; align-items: start; }
.const-toc {
  position: sticky; top: 96px; background: white; border: 1px solid #e6e6e6; border-radius: 10px;
  padding: 22px 20px; box-shadow: 0 4px 18px rgba(0,0,0,0.05); max-height: calc(100vh - 120px); overflow-y: auto;
}
.const-toc h4 { font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--green-dark); margin-bottom: 14px; font-weight: 700; }
.const-toc ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.const-toc a { color: var(--text-muted); text-decoration: none; font-size: 0.84rem; line-height: 1.4; display: block; padding: 6px 8px; border-radius: 5px; transition: all 0.15s; }
.const-toc a:hover { background: var(--green-pale); color: var(--green-dark); }
.const-body { min-width: 0; }
.const-chapter { background: white; border: 1px solid #ececec; border-radius: 12px; padding: 8px 38px 34px; margin-bottom: 28px; box-shadow: 0 4px 22px rgba(0,0,0,0.05); scroll-margin-top: 90px; }
.const-chapter > .ch-head { border-bottom: 2px solid var(--green-pale); padding: 28px 0 20px; margin-bottom: 8px; }
.const-chapter .ch-num { font-size: 0.7rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }
.const-chapter .ch-title { font-family: 'Lora', serif; font-size: 1.7rem; color: var(--navy); line-height: 1.2; }
.const-article { padding: 22px 0 4px; border-top: 1px solid #f0f0f0; }
.const-article:first-of-type { border-top: none; }
.const-article h3 { font-family: 'Lora', serif; font-size: 1.12rem; color: var(--navy); margin-bottom: 12px; line-height: 1.35; }
.const-article p { color: #3c3c3c; line-height: 1.85; margin-bottom: 12px; font-size: 0.97rem; }
.const-article ol, .const-article ul { margin: 0 0 14px 22px; color: #3c3c3c; line-height: 1.85; font-size: 0.97rem; }
.const-article ol li, .const-article ul li { margin-bottom: 8px; }
.const-article .sub-head { font-weight: 700; color: var(--navy); margin: 10px 0 8px; }
.const-defs { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.const-def { background: var(--off-white); border-left: 3px solid var(--green-light); border-radius: 0 6px 6px 0; padding: 12px 16px; }
.const-def dt { font-weight: 700; color: var(--green-dark); font-size: 0.95rem; }
.const-def dd { color: #444; line-height: 1.7; font-size: 0.93rem; margin-top: 3px; }
.const-oath { background: var(--green-pale); border-left: 4px solid var(--green); border-radius: 0 6px 6px 0; padding: 18px 22px; font-style: italic; color: #2c5a36; line-height: 1.8; font-size: 0.95rem; }
.const-meta { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-top: 10px; line-height: 1.8; }
.committee-table { width: 100%; border-collapse: collapse; margin: 10px 0 14px; font-size: 0.9rem; }
.committee-table th { background: var(--navy); color: white; text-align: left; padding: 10px 12px; font-size: 0.72rem; letter-spacing: 1px; text-transform: uppercase; }
.committee-table td { padding: 10px 12px; border-bottom: 1px solid #eee; color: #3c3c3c; vertical-align: top; }
.committee-table tr:nth-child(even) td { background: var(--off-white); }

/* Vision / Mission / Motto — editorial rows */
.pillar-rows { max-width: 880px; margin: 56px auto 0; }
.pillar-row {
  display: flex; align-items: center; gap: 44px; text-align: left;
  padding: 40px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.pillar-rows .pillar-row:last-child { border-bottom: none; }
.pillar-row.reverse { flex-direction: row-reverse; text-align: right; }
.pillar-num {
  flex-shrink: 0; width: 110px; text-align: center;
  font-family: 'Lora', serif; font-weight: 700; font-size: 4.2rem; line-height: 1;
  color: rgba(76,175,96,0.28);
}
.pillar-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--green-light); margin-bottom: 10px;
}
.pillar-content p {
  font-family: 'Lora', serif; font-style: italic; font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  line-height: 1.5; color: white;
}

/* Aims & Objectives */
.aims { background: white; }
.aims-grid { max-width: 920px; margin: 0 auto; }
.aims-block { margin-bottom: 14px; }
.aims-block h3 { font-family: 'Lora', serif; color: var(--navy); font-size: 1.3rem; margin-bottom: 10px; }
.aims-block p { color: #444; line-height: 1.85; margin-bottom: 12px; }
.aims-block ul { list-style: none; display: grid; gap: 12px; }
.aims-block ul li { position: relative; padding-left: 30px; color: #444; line-height: 1.7; }
.aims-block ul li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; background: var(--green-pale); width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; }

@media (max-width: 900px) {
  .const-layout { grid-template-columns: 1fr; gap: 22px; }
  .const-toc { position: static; max-height: none; }
  .const-toc ul { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .const-toc a { font-size: 0.78rem; padding: 5px 10px; background: var(--off-white); }
}
@media (max-width: 640px) {
  .pillar-row, .pillar-row.reverse {
    flex-direction: column; align-items: flex-start; text-align: left; gap: 14px;
  }
  .pillar-num { font-size: 3rem; width: auto; }
}
@media (max-width: 640px) {
  .const-chapter { padding: 4px 20px 26px; }
  .committee-table { font-size: 0.8rem; }
  .committee-table th, .committee-table td { padding: 7px 8px; }
}
