/* ============================================================
   INDEX.CSS — Homepage styles
   ============================================================ */

/* ── HERO ── */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-top: calc(-1 * var(--nav-height));
  padding-top: var(--nav-height);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0, 32, 100, 0.93);
  z-index: 1;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url('images/okobi-event.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-24) var(--space-20) calc(var(--space-16) + 90px);
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  position: relative; z-index: 2;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-6);
}
.hero__eyebrow::before {
  content: '';
  width: 32px; height: 2px;
  background: var(--color-gold);
  flex-shrink: 0;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: var(--space-6);
}
.hero__title em { font-style: italic; color: var(--color-gold-light); }

.hero__desc {
  font-size: var(--text-md);
  color: rgba(255,255,255,0.72);
  line-height: 1.82;
  max-width: 720px;
  margin-bottom: var(--space-8);
}
.hero__actions { display: flex; gap: var(--space-4); flex-wrap: wrap; justify-content: center; }



/* Stats bar */
.hero__stats {
  position: relative;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  background: rgba(0,20,50,0.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,0.07);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero__stat {
  padding: var(--space-6) var(--space-8);
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.hero__stat:last-child { border-right: none; }
.hero__stat-icon { font-size: 1.55rem; flex-shrink: 0; }
.hero__stat-num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--color-gold-light);
  line-height: 1;
}
.hero__stat-lbl {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.48);
  margin-top: 0.22rem;
  line-height: 1.4;
}

/* ── GOVERNOR ── */
.governor { background: var(--color-off-white); }
.gov__card {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.gov__photo-side {
  background: linear-gradient(155deg, var(--color-cobalt-dark), var(--color-cobalt));
  overflow: hidden;
  min-height: 360px;
}
.gov__photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.gov__text-side { padding: var(--space-12) var(--space-12); }
.gov__quote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-cobalt-dark);
  line-height: 1.68;
  border-left: 4px solid var(--color-primary);
  padding-left: var(--space-6);
  margin-block: var(--space-5) var(--space-6);
}
.gov__body {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.88;
  max-width: 520px;
  margin-bottom: var(--space-5);
}
.gov__credit strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-md);
  color: var(--color-cobalt-dark);
  margin-bottom: 0.2rem;
}
.gov__credit span { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ── PILLARS ── */
.pillars { background: var(--color-white); }
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}
.pillar {
  padding: var(--space-8) var(--space-6);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  transition: transform var(--transition-base) var(--ease-out), box-shadow var(--transition-base);
}
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pillar__icon { font-size: 2rem; margin-bottom: var(--space-4); }
.pillar__name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-cobalt-dark);
  margin-bottom: var(--space-3);
}
.pillar__desc { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.75; }

/* ── OKOBI FEATURE ── */
.okobi-feature {
  background: var(--color-cobalt-dark);
  position: relative; overflow: hidden;
}
.okobi-feature::before {
  content: '';
  position: absolute; top: -25%; right: -12%;
  width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(0,71,171,0.4) 0%, transparent 70%);
  pointer-events: none;
}
.okobi-feature__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-32);
  align-items: center;
  position: relative; z-index: 2;
}
.okobi-feature__desc {
  color: rgba(255,255,255,0.72);
  line-height: 1.88;
  margin-block: var(--space-6) var(--space-8);
  font-size: var(--text-md);
}
.lse-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-sm);
  padding: 0.75rem var(--space-4);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.72);
  margin-top: var(--space-6);
}
.okobi-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.okobi-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: background var(--transition-fast);
}
.okobi-stat:hover { background: rgba(255,255,255,0.1); }
.okobi-stat__icon { font-size: 1.4rem; margin-bottom: var(--space-3); }
.okobi-stat__num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-gold-light);
  line-height: 1;
}
.okobi-stat__lbl { font-size: var(--text-xs); color: rgba(255,255,255,0.48); margin-top: 0.3rem; }
.okobi-feature__visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

/* ── GRANT BANNER ── */
.grant-banner {
  background: linear-gradient(138deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  position: relative; overflow: hidden;
}
.grant-banner::before {
  content: '';
  position: absolute; top: -55%; right: -8%;
  width: 580px; height: 580px;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
}
.grant-banner__inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-12);
  align-items: center;
}
.grant-banner__title {
  font-size: var(--text-2xl);
  color: var(--color-white);
  margin-bottom: var(--space-4);
}
.grant-banner__body {
  color: rgba(255,255,255,0.82);
  font-size: var(--text-md);
  line-height: 1.78;
  max-width: 560px;
  margin-bottom: var(--space-6);
}
.grant-banner__pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.85);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
}
.grant-banner__amount { text-align: center; flex-shrink: 0; }
.grant-banner__naira { font-size: 1.4rem; color: var(--color-gold-light); font-weight: 700; }
.grant-banner__num {
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 900;
  color: var(--color-white);
  line-height: 0.9;
}
.grant-banner__unit { font-size: var(--text-sm); color: rgba(255,255,255,0.6); margin-top: var(--space-2); }

/* ── IED HOME ── */
.ied-home { background: var(--color-off-white); }
.ied-home__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-32);
  align-items: center;
}
.ied-home__text p {
  color: var(--color-text-muted);
  line-height: 1.88;
  margin-bottom: var(--space-5);
}
.ied-home__issues {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.ied-home__issue-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-cobalt-dark);
  color: var(--color-white);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: background var(--transition-fast);
  min-height: 44px;
}
.ied-home__issue-btn:hover { background: var(--color-primary); }
.ied-home__covers {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-6);
}
.mag-card {
  background: var(--color-white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 46%;
  transition: transform 0.35s var(--ease-out);
}
.mag-card--left  { transform: rotate(-2.5deg); margin-top: var(--space-4); }
.mag-card--right { transform: rotate(1.8deg); }
.mag-card:hover  { transform: rotate(0deg) scale(1.04); z-index: 2; }
.mag-card__head { background: var(--color-cobalt-dark); padding: var(--space-4); }
.mag-card__head h4 {
  font-family: var(--font-display);
  color: var(--color-gold-light);
  font-size: var(--text-sm);
  font-weight: 700;
}
.mag-card__head span { font-size: var(--text-xs); color: rgba(255,255,255,0.5); display: block; margin-top: 0.2rem; }
.mag-card__body { padding: var(--space-4); display: flex; flex-direction: column; gap: 7px; }
.mag-line { height: 7px; background: var(--color-border); border-radius: 3px; }
.w60 { width: 60%; } .w80 { width: 80%; } .w90 { width: 90%; }
.mag-card__foot {
  padding: 0.7rem var(--space-4);
  background: var(--color-off-white);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  display: flex;
  justify-content: space-between;
}

/* ── ARTICLES PREVIEW ── */
.articles-preview { background: var(--color-white); }
.articles-preview__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-12);
}
.articles-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.article-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: block;
  color: inherit;
  transition: transform var(--transition-base) var(--ease-out), box-shadow var(--transition-base);
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.article-card__thumb {
  height: 155px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-base);
  color: rgba(255,255,255,0.88);
  text-align: center;
  line-height: 1.5;
}
.article-card__body { padding: var(--space-6); }
.article-card__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-cobalt-dark);
  line-height: 1.4;
  margin-block: var(--space-3) var(--space-4);
}

/* ── VIDEO TEASER ── */
.video-teaser { background: var(--color-off-white); }
.video-teaser__desc { color: var(--color-text-muted); margin-top: var(--space-2); margin-bottom: var(--space-6); }
.video-teaser__wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.video-teaser__wrap iframe {
  width: 100%; aspect-ratio: 16/9;
  border: none; display: block;
}

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .hero { grid-template-columns: 60% 40%; }
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .hero__content { padding: var(--space-20) var(--space-8) calc(var(--space-20) + 90px); }
  .hero__stats { grid-template-columns: repeat(2, 1fr); position: static; }
  .hero__stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .okobi-feature__grid, .ied-home__grid { grid-template-columns: 1fr; gap: var(--space-12); }
  .grant-banner__inner { grid-template-columns: 1fr; }
  .gov__card { grid-template-columns: 1fr; }
  .gov__photo-side { min-height: 280px; }
  .articles-preview__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero__content { padding: var(--space-12) var(--space-6) calc(var(--space-12) + 80px); }
  .hero__stats { position: static; }
  .pillars__grid { grid-template-columns: 1fr; }
  .articles-preview__grid { grid-template-columns: 1fr; }
  .articles-preview__head { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
  .ied-home__covers { flex-direction: column; align-items: center; }
  .mag-card { width: 78%; transform: none !important; }
  .grant-banner__amount { display: none; }
  .okobi-stats { grid-template-columns: 1fr 1fr; }
}

/* ── CEA HOME ── */
.cea-home { background: var(--color-off-white); }
.cea-home__grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--space-20);
  align-items: center;
}
.cea-home__photo {
  position: relative;
}
.cea-home__photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}
.cea-home__text h2 { font-size: var(--text-2xl); color: var(--color-cobalt-dark); margin-bottom: var(--space-6); }
.cea-home__text p { color: var(--color-text-muted); line-height: 1.9; margin-bottom: var(--space-5); }

/* ── ACHIEVEMENTS ── */
.achievements { background: var(--color-white); }
.achievements__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-12);
}
.achievement-card {
  display: flex;
  flex-direction: column;
  background: var(--color-off-white);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-8) var(--space-6);
  color: inherit;
  transition: transform var(--transition-base) var(--ease-out), box-shadow var(--transition-base);
}
.achievement-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.achievement-card__icon { font-size: 2rem; margin-bottom: var(--space-4); }
.achievement-card__name {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--color-cobalt-dark);
  margin-bottom: var(--space-3);
}
.achievement-card__desc { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.75; flex: 1; margin-bottom: var(--space-5); }

/* ── OKOBI GROWTH ── */
.okobi-growth {
  background: var(--color-cobalt-dark);
  position: relative; overflow: hidden;
}
.okobi-growth::before {
  content: '';
  position: absolute; top: -25%; right: -12%;
  width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(0,71,171,0.4) 0%, transparent 70%);
  pointer-events: none;
}
.okobi-growth__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
  position: relative; z-index: 2;
}
.okobi-growth__grid > div > p { color: rgba(255,255,255,0.72); line-height: 1.88; margin-bottom: var(--space-6); font-size: var(--text-md); }
.okobi-growth__stats {
  display: flex;
  gap: var(--space-8);
  margin-bottom: var(--space-6);
}
.okobi-growth__stat-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-gold-light);
  line-height: 1;
}
.okobi-growth__stat-lbl { font-size: var(--text-xs); color: rgba(255,255,255,0.5); margin-top: var(--space-1); }
.okobi-growth__visual img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); }

/* ── PRESS ── */
.press-section { background: var(--color-off-white); }
.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-12);
}
.press-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-base) var(--ease-out), box-shadow var(--transition-base);
}
.press-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.press-card__body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); }
.press-card__title {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-cobalt-dark);
  line-height: 1.4;
}
.press-card__desc { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.75; flex: 1; }

/* ── GALLERY CTA ── */
.gallery-cta {
  background: var(--color-primary);
  position: relative; overflow: hidden;
}
.gallery-cta::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
}
.gallery-cta__inner {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
}
.gallery-cta__inner p { color: rgba(255,255,255,0.82); line-height: 1.82; margin-top: var(--space-4); font-size: var(--text-md); }

/* ── RESPONSIVE ADDITIONS ── */
@media (max-width: 1024px) {
  .cea-home__grid { grid-template-columns: 1fr; }
  .achievements__grid { grid-template-columns: repeat(2, 1fr); }
  .okobi-growth__grid { grid-template-columns: 1fr; }
  .press-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .achievements__grid { grid-template-columns: 1fr; }
  .okobi-growth__stats { flex-wrap: wrap; gap: var(--space-6); }
}


.governor { background: var(--color-off-white); }
.gov__card {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.gov__photo-side {
  overflow: hidden;
  min-height: 360px;
}
.gov__photo {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.gov__text-side { padding: var(--space-10) var(--space-10); }
.gov__quote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-cobalt-dark);
  line-height: 1.68;
  border-left: 4px solid var(--color-primary);
  padding-left: var(--space-6);
  margin-block: var(--space-5) var(--space-6);
}
.gov__quote p { margin: 0; }
.gov__body {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.88;
  max-width: 520px;
  margin-bottom: var(--space-5);
}
.gov__credit strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-md);
  color: var(--color-cobalt-dark);
  margin-bottom: 0.2rem;
}
.gov__credit span { font-size: var(--text-sm); color: var(--color-text-muted); }
/* ── GRANT CHALLENGE TEASER ── */
.grant-challenge-teaser {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-12);
  align-items: center;
}
@media (max-width: 1024px) {
  .grant-challenge-teaser { grid-template-columns: 1fr; }
  .grant-challenge-teaser__badge img { max-width: 280px; }
}

/* ── NJFP TEASER ── */
@media (max-width: 900px) {
  .njfp-teaser { grid-template-columns: 1fr !important; gap: var(--space-8) !important; }
}
