/* ============================================
   Olunje Foundation - Website Styles
   ============================================ */

:root {
  --navy: #1A3A5C;
  --navy-dark: #0F2440;
  --yellow: #F0C040;
  --yellow-light: #FFF8E1;
  --coral: #E85740;
  --sky: #7EC8E3;
  --green: #8BC34A;
  --white: #FFFFFF;
  --off-white: #F8F7F5;
  --text-primary: #1C1C1C;
  --text-secondary: #5C5C5C;
  --text-muted: #8C8A87;
  --border: #E0DDD8;

  --font-display: 'Source Serif 4', Georgia, serif;
  --font-ui: 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-display);
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
}
.btn-yellow:hover {
  background: #e6b530;
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 8px;
  font-size: 16px;
}
.btn-navy:hover {
  background: #153250;
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.27);
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
}
.btn-outline-white:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 16px 36px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* ============================================
   Header
   ============================================ */

.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-link:hover {
  color: var(--navy);
}

/* ============================================
   Hero
   ============================================ */

.hero {
  display: flex;
  max-width: 1440px;
  margin: 0 auto;
  background: var(--navy);
  min-height: 640px;
  overflow: hidden;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 80px;
  gap: 28px;
}

.hero-badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(255,255,255,0.09);
  border-radius: 20px;
  padding: 6px 16px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: 2px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.hero-sub {
  font-family: var(--font-display);
  font-size: 20px;
  color: rgba(255,255,255,0.73);
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hero-image {
  flex: 1;
  min-height: 640px;
  overflow: hidden;
}

/* ============================================
   Section Labels
   ============================================ */

.section-label {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.section-label--coral { color: var(--coral); }
.section-label--muted { color: var(--text-muted); }

.section-title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.section-sub {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-secondary);
  text-align: center;
}

/* ============================================
   About
   ============================================ */

.about {
  display: flex;
  gap: 80px;
  padding: 100px 80px;
  max-width: 1440px;
  margin: 0 auto;
  background: var(--off-white);
}

.about-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.about-body {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.yellow-bar {
  width: 60px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
}

.about-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.vision-box {
  background: var(--navy);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mission-box {
  background: var(--yellow);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.box-label {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
}
.box-label--yellow { color: var(--yellow); }
.box-label--navy { color: var(--navy); }

.box-text {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.6;
}
.box-text--white { color: var(--white); }
.box-text--navy { color: var(--navy); }

/* ============================================
   Stats
   ============================================ */

.stats {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 60px 80px;
  max-width: 1440px;
  margin: 0 auto;
  background: var(--navy);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: -1px;
}

.stat-label {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
  text-align: center;
}

/* ============================================
   Programmes
   ============================================ */

.programmes {
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.programmes-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.card-img {
  height: 200px;
  overflow: hidden;
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-tag {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}
.card-tag--sky { color: var(--sky); }
.card-tag--coral { color: var(--coral); }
.card-tag--green { color: var(--green); }
.card-tag--yellow { color: var(--yellow); }

.card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
}

.card-desc {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   Team
   ============================================ */

.team {
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 80px;
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.team-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.team-content {
  display: flex;
  gap: 60px;
}

.team-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.team-col-title {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 2px;
}

.team-bar {
  width: 40px;
  height: 3px;
}
.team-bar--yellow { background: var(--yellow); }
.team-bar--coral { background: var(--coral); }

.team-member {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-member strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
}

.team-member span {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text-secondary);
}

/* ============================================
   Partners
   ============================================ */

.partners {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.partners-row {
  display: flex;
  gap: 64px;
  justify-content: center;
  align-items: center;
}

.partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.partner-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #F0EDE8;
}

.partner-name {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
}

/* ============================================
   CTA
   ============================================ */

.cta {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 200px;
  background: var(--yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.cta-title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.cta-sub {
  font-family: var(--font-display);
  font-size: 18px;
  color: rgba(26,58,92,0.73);
  text-align: center;
  line-height: 1.6;
}

.cta-btns {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  max-width: 1440px;
  margin: 0 auto;
  background: var(--navy-dark);
  padding: 60px 80px 32px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer-top {
  display: flex;
  gap: 60px;
}

.footer-brand {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 15px;
  color: rgba(255,255,255,0.47);
  line-height: 1.6;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col-title {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 2px;
}

.footer-col a,
.footer-col span {
  font-family: var(--font-display);
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom span,
.footer-bottom a {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.33);
  letter-spacing: 0.5px;
}

.footer-bottom a:hover {
  color: rgba(255,255,255,0.6);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .header-inner { padding: 16px 40px; }
  .hero { flex-direction: column; min-height: auto; }
  .hero-text { padding: 60px 40px; }
  .hero-headline { font-size: 42px; }
  .hero-image { min-height: 400px; }
  .about { flex-direction: column; padding: 80px 40px; gap: 48px; }
  .stats { flex-wrap: wrap; gap: 32px; padding: 48px 40px; }
  .programmes { padding: 80px 40px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .team { padding: 80px 40px; }
  .team-content { flex-direction: column; gap: 48px; }
  .partners { padding: 60px 40px; }
  .partners-row { flex-wrap: wrap; gap: 32px; }
  .cta { padding: 60px 40px; }
  .cta-title { font-size: 36px; }
  .footer { padding: 48px 40px 24px; }
  .footer-top { flex-wrap: wrap; gap: 40px; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .header-inner { padding: 16px 24px; }
  .hero-text { padding: 48px 24px; }
  .hero-headline { font-size: 36px; }
  .hero-sub { font-size: 17px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .about { padding: 60px 24px; }
  .about-title { font-size: 32px; }
  .section-title { font-size: 32px; }
  .stats { padding: 40px 24px; }
  .stat-num { font-size: 36px; }
  .programmes { padding: 60px 24px; }
  .card-grid { grid-template-columns: 1fr; }
  .team { padding: 60px 24px; }
  .cta { padding: 48px 24px; }
  .cta-title { font-size: 28px; }
  .footer { padding: 40px 24px 20px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
