/* ===================================================
   BWUWA – Baptist Women's Union of West Africa
   Main Stylesheet
   =================================================== */

/* === CSS VARIABLES === */
:root {
  --primary:        #4A1A78;
  --primary-dark:   #2D0E4E;
  --primary-light:  #7B40BD;
  --primary-pale:   #F5EFF9;
  --secondary:      #C8960C;
  --secondary-light:#E6B82A;
  --secondary-pale: #FEF9EC;
  --accent:         #1E6E42;
  --accent-light:   #2A9D5C;
  --accent-pale:    #EAF5EE;
  --white:          #FFFFFF;
  --off-white:      #FAF7FF;
  --light-gray:     #F4F1F8;
  --mid-gray:       #E0D8EC;
  --gray:           #9CA3AF;
  --text:           #1C1130;
  --text-body:      #3D3550;
  --text-light:     #6B7280;

  --font-heading:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:      'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm:  0 1px 4px rgba(74, 26, 120, 0.08);
  --shadow-md:  0 4px 16px rgba(74, 26, 120, 0.14);
  --shadow-lg:  0 12px 40px rgba(74, 26, 120, 0.18);
  --shadow-xl:  0 20px 60px rgba(74, 26, 120, 0.22);

  --radius:     8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --transition: 0.3s ease;

  --max-width:  1200px;
  --header-height: 84px;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-body);
}

/* === UTILITY CLASSES === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-sm { padding: 52px 0; }
.section-lg { padding: 100px 0; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--text);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

.text-white { color: var(--white); }
.text-white h1, .text-white h2, .text-white h3,
.text-white .section-title, .text-white .section-label { color: var(--white); }
.text-white .section-subtitle, .text-white p { color: rgba(255,255,255,0.88); }

.bg-primary   { background: var(--primary); }
.bg-dark      { background: var(--primary-dark); }
.bg-light     { background: var(--light-gray); }
.bg-off-white { background: var(--off-white); }
.bg-accent    { background: var(--accent); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(74, 26, 120, 0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(74, 26, 120, 0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(200, 150, 12, 0.3);
}
.btn-secondary:hover {
  background: #b08410;
  box-shadow: 0 6px 20px rgba(200, 150, 12, 0.45);
  transform: translateY(-1px);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--white);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--primary);
  font-weight: 600;
  padding: 0;
  border-radius: 0;
}
.btn-ghost:hover { color: var(--secondary); }

.btn-ghost-white {
  color: var(--white);
  font-weight: 600;
  padding: 0;
  border-radius: 0;
  border-bottom: 2px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
}
.btn-ghost-white:hover { border-color: var(--white); }

.btn svg { flex-shrink: 0; }

/* === HEADER & NAVIGATION === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(74, 26, 120, 0.1);
  transition: all var(--transition);
  height: var(--header-height);
}

.site-header.scrolled {
  height: 72px;
  box-shadow: 0 4px 24px rgba(74, 26, 120, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-text { line-height: 1; }
.logo-text .logo-abbr {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}
.logo-text .logo-full {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-light);
  text-transform: uppercase;
  display: block;
  line-height: 1.3;
}

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-link:hover,
.nav-link.active { color: var(--primary); background: var(--primary-pale); }

.nav-link .chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.nav-item:hover .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  border: 1px solid var(--mid-gray);
  overflow: hidden;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 11px 20px;
  font-size: 0.875rem;
  color: var(--text-body);
  font-weight: 500;
  transition: all 0.2s;
}

.dropdown a:hover {
  background: var(--primary-pale);
  color: var(--primary);
  padding-left: 26px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 6px 12px;
  border-radius: 50px;
  border: 1px solid var(--mid-gray);
  transition: all var(--transition);
}
.lang-toggle:hover { border-color: var(--primary); color: var(--primary); }

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.mobile-toggle:hover { background: var(--primary-pale); }
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
  z-index: 999;
}

.mobile-nav.open { display: block; }

.mobile-nav-list { padding: 16px 0; }

.mobile-nav-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  border-bottom: 1px solid var(--light-gray);
  transition: all var(--transition);
}

.mobile-nav-item > a:hover { color: var(--primary); background: var(--primary-pale); }

.mobile-dropdown {
  display: none;
  background: var(--off-white);
}
.mobile-dropdown.open { display: block; }
.mobile-dropdown a {
  display: block;
  padding: 10px 24px 10px 40px;
  font-size: 0.875rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--light-gray);
  transition: all var(--transition);
}
.mobile-dropdown a:hover { color: var(--primary); background: var(--primary-pale); }

/* === HERO SECTIONS === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-home {
  background:
    linear-gradient(135deg,
      rgba(29, 10, 58, 0.92) 0%,
      rgba(74, 26, 120, 0.85) 45%,
      rgba(30, 80, 55, 0.80) 100%),
    url('../images/hero-bg.jpg') center/cover no-repeat;
  background-color: #2D0E4E;
}

/* Kente-inspired decorative pattern overlay */
.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(200, 150, 12, 0.06) 40px,
      rgba(200, 150, 12, 0.06) 42px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 40px,
      rgba(200, 150, 12, 0.06) 40px,
      rgba(200, 150, 12, 0.06) 42px
    );
  pointer-events: none;
}

.hero-page {
  min-height: 320px;
  padding: calc(var(--header-height) + 40px) 0 60px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--accent) 100%);
}

.hero-content { position: relative; z-index: 1; }
.hero-home .hero-content { max-width: 760px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 150, 12, 0.2);
  border: 1px solid rgba(200, 150, 12, 0.4);
  color: var(--secondary-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-tagline {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
  cursor: pointer;
}

.hero-scroll svg { opacity: 0.6; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* Page hero breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: rgba(255,255,255,0.9); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: var(--secondary-light); }

/* === STATS BAR === */
.stats-bar {
  background: var(--primary-dark);
  padding: 20px 0;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 8px 36px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary-light);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* === CARDS === */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--primary);
}

.card-img-placeholder {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

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

.card-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 8px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.35;
}

.card-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}

.card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-light);
}

/* Program cards */
.program-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  border-top: 4px solid var(--primary);
}
.program-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-top-color: var(--secondary);
}

.program-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.program-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.program-card p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 16px; }

/* === GRIDS === */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.grid-2-60-40 {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
}

/* === ABOUT PREVIEW / SPLIT SECTIONS === */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-section.reverse .split-visual { order: -1; }

.split-visual {
  position: relative;
}

.visual-block {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 400px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.visual-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 20px,
      rgba(255,255,255,0.03) 20px,
      rgba(255,255,255,0.03) 21px
    );
}

.visual-accent-box {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 180px;
  height: 180px;
  background: var(--secondary);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.3;
}

.visual-quote {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-lg);
  position: absolute;
  bottom: -30px;
  right: -24px;
  max-width: 240px;
}

.visual-quote blockquote {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 8px;
}

.visual-quote cite {
  font-size: 0.75rem;
  color: var(--text-light);
  font-style: normal;
  font-weight: 600;
}

.split-content .checklist {
  margin: 24px 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-body);
  padding: 6px 0;
}

.checklist li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* === MISSION SECTION === */
.mission-section {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.mission-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.mission-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(30, 80, 55, 0.3);
}

.mission-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.mission-icon {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.mission-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--white);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 24px;
}

.mission-pillars {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 40px;
  flex-wrap: wrap;
}

.pillar {
  text-align: center;
  padding: 8px 36px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.pillar:last-child { border-right: none; }

.pillar-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
  display: block;
}

.pillar h4 {
  color: var(--secondary-light);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.pillar p {
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  margin: 0;
}

/* === NEWS / EVENTS SECTION === */
.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.news-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--mid-gray); }

/* === DAY OF PRAYER CALLOUT === */
.prayer-callout {
  background: linear-gradient(135deg, var(--accent) 0%, #0F4A2B 100%);
  position: relative;
  overflow: hidden;
}

.prayer-callout::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      60deg,
      transparent,
      transparent 50px,
      rgba(255,255,255,0.03) 50px,
      rgba(255,255,255,0.03) 52px
    );
}

.prayer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.prayer-text h2 {
  color: var(--white);
  margin-bottom: 10px;
}

.prayer-text p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  max-width: 540px;
}

/* === MEMBER NATIONS === */
.nations-section { background: var(--off-white); }

.nations-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.nation-card {
  text-align: center;
  padding: 20px 12px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--mid-gray);
}

.nation-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.nation-flag {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 8px;
  line-height: 1;
}

.nation-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

/* === LEADERSHIP === */
.leader-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.leader-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.leader-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.leader-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 4px;
}

.leader-role {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.leader-country {
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* === ORGANIZATIONAL CHART === */
.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.org-level {
  display: flex;
  justify-content: center;
  position: relative;
}

.org-level::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 50%;
  height: 30px;
  width: 2px;
  background: var(--mid-gray);
}

.org-level:first-child::before { display: none; }

.org-box {
  text-align: center;
  padding: 20px 32px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--mid-gray);
  margin: 30px 0 0;
  position: relative;
  min-width: 220px;
}

.org-box.highlight {
  border-color: var(--primary);
  background: var(--primary-pale);
}

.org-box h4 { font-size: 0.95rem; color: var(--text); margin-bottom: 4px; }
.org-box p { font-size: 0.78rem; color: var(--text-light); margin: 0; }

/* === TIMELINE === */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--mid-gray);
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-date {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--secondary);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.timeline-title {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  font-size: 1rem;
}

.timeline-body {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* === FORMS === */
.form-group { margin-bottom: 20px; }

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

input, textarea, select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--mid-gray);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(74, 26, 120, 0.08);
}

textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* === ACCORDION === */
.accordion-item {
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.accordion-trigger:hover { background: var(--primary-pale); color: var(--primary); }
.accordion-trigger.open { background: var(--primary-pale); color: var(--primary); }

.accordion-trigger .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.accordion-trigger.open .icon { transform: rotate(180deg); }

.accordion-body {
  display: none;
  padding: 16px 20px 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  border-top: 1px solid var(--light-gray);
}
.accordion-body.open { display: block; }

/* === FOOTER === */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
}

.footer-top {
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .logo-abbr { color: var(--white); }
.footer-brand .logo-full { color: rgba(255,255,255,0.5); }
.footer-logo-icon { background: rgba(255,255,255,0.1); }

.footer-about {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  margin: 16px 0 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: rgba(255,255,255,0.7);
}
.social-link:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary-light);
  margin-bottom: 16px;
}

.footer-links li { margin-bottom: 8px; }

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-contact-item svg {
  flex-shrink: 0;
  opacity: 0.7;
  margin-top: 2px;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* === SECTION DIVIDERS === */
.divider-kente {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--primary) 0px,
    var(--primary) 20px,
    var(--secondary) 20px,
    var(--secondary) 40px,
    var(--accent) 40px,
    var(--accent) 60px
  );
}

/* === PAGE-SPECIFIC === */
/* Programs page */
.programs-hero { background: linear-gradient(135deg, #1a0a2e 0%, #4A1A78 50%, #1E4A2A 100%); }
.events-hero { background: linear-gradient(135deg, #0a1a2e 0%, #1E3A6E 50%, #4A1A78 100%); }
.resources-hero { background: linear-gradient(135deg, #0a2e1a 0%, #1E6E42 50%, #4A1A78 100%); }
.connect-hero { background: linear-gradient(135deg, #1a0a2e 0%, #3D1572 50%, #C8960C 100%); }
.about-hero { background: linear-gradient(135deg, #2D0E4E 0%, #4A1A78 60%, #1E6E42 100%); }

/* Conference card */
.conf-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}
.conf-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }

.conf-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 28px;
  color: var(--white);
}
.conf-header .year {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1;
  opacity: 0.3;
}
.conf-header h3 { color: var(--white); margin-bottom: 6px; }
.conf-header .location { color: rgba(255,255,255,0.75); font-size: 0.85rem; }
.conf-body { padding: 24px; }
.conf-theme {
  font-style: italic;
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 12px;
}

/* Values cards */
.value-card {
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.value-card:nth-child(2) { border-left-color: var(--secondary); }
.value-card:nth-child(3) { border-left-color: var(--accent); }
.value-card:nth-child(4) { border-left-color: #C0392B; }
.value-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.value-card h4 { color: var(--text); margin-bottom: 8px; }
.value-card p { font-size: 0.9rem; color: var(--text-light); margin: 0; }

/* Resource cards */
.resource-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--mid-gray);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.resource-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}
.resource-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.resource-card h4 { margin-bottom: 8px; }
.resource-card p { font-size: 0.875rem; color: var(--text-light); margin-bottom: 16px; flex: 1; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .nations-grid { grid-template-columns: repeat(4, 1fr); }
  .split-section { gap: 40px; }
  .grid-2-60-40 { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --header-height: 72px; }

  .main-nav { display: none; }
  .header-actions .lang-toggle { display: none; }
  .mobile-toggle { display: flex; }

  .section { padding: 60px 0; }
  .section-lg { padding: 72px 0; }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }

  .hero { min-height: 90vh; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .stats-grid { flex-wrap: wrap; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); width: 50%; padding: 16px 20px; }
  .stat-item:last-child, .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }

  .grid-3 { grid-template-columns: 1fr; gap: 20px; }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .split-section { grid-template-columns: 1fr; gap: 32px; }
  .split-section.reverse .split-visual { order: 0; }

  .nations-grid { grid-template-columns: repeat(3, 1fr); }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .mission-pillars { flex-direction: column; gap: 20px; }
  .pillar { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 16px 0; }
  .pillar:last-child { border-bottom: none; }

  .prayer-inner { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; }

  .visual-block { height: 300px; }
  .visual-quote { right: 0; bottom: -20px; max-width: 200px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nations-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: var(--header-height); }
  .visual-quote { display: none; }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* === SCROLL REVEAL (JS adds class) === */
/* Elements are visible by default; JS opts-in to the animation */
.reveal {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-active .reveal {
  opacity: 0;
  transform: translateY(20px);
}

.js-active .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === TAG / BADGE === */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.tag-primary { background: var(--primary-pale); color: var(--primary); }
.tag-secondary { background: var(--secondary-pale); color: #8B6409; }
.tag-accent { background: var(--accent-pale); color: var(--accent); }

/* === PAGE SECTION ACCENTS === */
.accent-line {
  width: 56px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
  margin: 12px 0 20px;
}

.accent-line.center { margin: 12px auto 20px; }

/* === NOTICE / ALERT BAR === */
.notice-bar {
  background: var(--secondary);
  color: var(--white);
  text-align: center;
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  position: relative;
  z-index: 1001;
}

.notice-bar a { color: var(--white); text-decoration: underline; }
