/* ==========================================================================
   THE MICRO CREDIT VILLAGE - OFFICIAL STYLESHEET
   Design Reference: micro-credit-village-Wireframe.html
   Typography: Manrope (Headings), DM Sans (Body)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --blue: #0B4F9C;
  --blue-hover: #073B78;
  --blue-light: #EBF3FC;
  --blue-soft: #EDF4FA;
  --navy: #082D58;
  --navy-dark: #051C38;
  --gold: #B18A45;
  --gold-accent: #D7AA42;
  --gold-light: #F7F0DF;
  --green: #0B8F4D;
  --green-light: #E7F4EB;
  --red: #D71920;
  --red-light: #FCE8E8;
  --cream: #F7F3EA;
  --cream-card: #FCFAF6;
  --ink: #17263A;
  --text-dark: #2A3B4E;
  --muted: #607082;
  --border: #E2E9EE;
  --border-light: #EEF3F7;
  --card-shadow: 0 4px 20px rgba(8, 45, 88, 0.06);
  --card-shadow-hover: 0 20px 35px rgba(8, 45, 88, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}

img, picture, svg, video {
  max-width: 100%;
  display: block;
}

button, a, input, select, textarea {
  font: inherit;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* --------------------------------------------------------------------------
   LUCIDE ICONS UNIFIED SYSTEM (2px stroke, deep blue default, gold/green accent)
   -------------------------------------------------------------------------- */
/* Reserve icon space before Lucide hydrates to prevent FOUC & layout shifts */
i[data-lucide] {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  vertical-align: middle;
}

.lucide, svg.lucide {
  stroke-width: 2px !important;
  stroke: var(--blue);
  fill: none;
  vertical-align: middle;
  display: inline-block;
  flex-shrink: 0;
  transition: var(--transition);
}

/* Lucide Color Modifiers */
.lucide.icon-gold { stroke: var(--gold) !important; }
.lucide.icon-green { stroke: var(--green) !important; }
.lucide.icon-white { stroke: #FFFFFF !important; }
.lucide.icon-muted { stroke: var(--muted) !important; }
.lucide.icon-navy { stroke: var(--navy) !important; }

/* Contextual Lucide Sizing */
.btn .lucide,
.nav-cta .lucide,
.nav-outline-cta .lucide,
.pathway-btn .lucide,
.resource-download-btn .lucide {
  width: 16px;
  height: 16px;
  stroke: currentColor !important;
  margin-left: 6px;
}

.btn:hover .lucide.lucide-arrow-up-right {
  transform: translate(2px, -2px);
}

.btn:hover .lucide.lucide-arrow-right {
  transform: translateX(3px);
}

.card .icon .lucide {
  width: 26px;
  height: 26px;
}

.card:nth-child(1) .icon .lucide { stroke: var(--blue) !important; }
.card:nth-child(2) .icon .lucide { stroke: var(--gold) !important; }
.card:nth-child(3) .icon .lucide { stroke: var(--green) !important; }
.card:nth-child(4) .icon .lucide { stroke: var(--red) !important; }
.card:nth-child(5) .icon .lucide { stroke: #4A3E99 !important; }
.card:nth-child(6) .icon .lucide { stroke: #0E7B82 !important; }

.pathway-icon .lucide {
  width: 32px;
  height: 32px;
  stroke: var(--blue);
}

.pathway-card:hover .pathway-icon .lucide {
  stroke: var(--gold);
}

.role-icon .lucide {
  width: 24px;
  height: 24px;
  stroke: var(--blue);
}

.layer-icon-top {
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
}

.layer-icon-top .lucide {
  width: 30px;
  height: 30px;
  stroke: var(--gold-accent) !important;
}

.section-icon-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-icon-inline .lucide {
  width: 18px;
  height: 18px;
  stroke: var(--blue);
}

.village-info-row .lucide {
  width: 15px;
  height: 15px;
  stroke: var(--blue);
  margin-right: 6px;
}

.photo-caption .caption-icon .lucide {
  width: 22px;
  height: 22px;
  stroke: var(--green) !important;
}

.menu-toggle .lucide {
  width: 26px;
  height: 26px;
  stroke: var(--blue) !important;
}

.modal-close-btn .lucide {
  width: 24px;
  height: 24px;
  stroke: var(--muted) !important;
}

.modal-close-btn:hover .lucide {
  stroke: var(--red) !important;
}

.mashinani-pillar-item .lucide {
  width: 18px;
  height: 18px;
  stroke: var(--blue);
}

.desired-outcome-tag .lucide {
  width: 18px;
  height: 18px;
  stroke: var(--green) !important;
  margin-right: 6px;
}


h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  margin-top: 0;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.03em;
}

p {
  margin-top: 0;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 100;
  font-weight: 700;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 15px;
}

/* Layout Container */
.container {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

/* National Brand Tricolor Ribbon */
.topline {
  height: 6px;
  width: 100%;
  background: linear-gradient(90deg, var(--green) 0 33.33%, var(--gold-accent) 33.33% 66.66%, var(--red) 66.66% 100%);
}

.stripe {
  height: 7px;
  width: 100%;
  background: linear-gradient(90deg, var(--green) 0 33.33%, var(--gold-accent) 33.33% 66.66%, var(--red) 66.66% 100%);
}

/* --------------------------------------------------------------------------
   STICKY NAVIGATION HEADER & SCROLLED STATE
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  background: linear-gradient(90deg, var(--green) 0%, var(--gold-accent) 50%, var(--red) 100%);
  width: 0%;
  z-index: 1000;
  transition: width 0.08s linear;
}

header {
  background: rgba(255, 255, 255, 0.98);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 14px rgba(8, 45, 88, 0.05);
  transition: height 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.28s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(8, 45, 88, 0.1);
}

.nav {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: height 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

header.scrolled .nav {
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: 220px;
  height: 70px;
  object-fit: contain;
  display: block;
  transition: width 0.28s ease, height 0.28s ease;
}

header.scrolled .brand img {
  width: 175px;
  height: 54px;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-link {
  font-size: 14px;
  font-weight: 700;
  color: #344659;
  position: relative;
  padding: 8px 0;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

/* --------------------------------------------------------------------------
   ORGANIZED DROPDOWN NAVIGATION HIERARCHY
   -------------------------------------------------------------------------- */
.nav-item {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 700;
  color: #344659;
  cursor: pointer;
  transition: var(--transition);
}

.dropdown-toggle:hover,
.dropdown-toggle:focus-visible,
.nav-item:hover .dropdown-toggle,
.nav-item:focus-within .dropdown-toggle {
  color: var(--blue);
}

.dropdown-chevron {
  width: 14px !important;
  height: 14px !important;
  stroke: currentColor !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: 2px;
}

.nav-item:hover .dropdown-chevron,
.nav-item:focus-within .dropdown-chevron,
.nav-item.open .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(8, 45, 88, 0.13);
  padding: 10px;
  min-width: 310px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.2s;
  z-index: 120;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: #FFFFFF;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-header {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  padding: 4px 10px 8px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 6px;
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.16s ease, transform 0.16s ease;
  text-decoration: none;
  color: inherit;
}

.dropdown-item:hover,
.dropdown-item:focus-visible {
  background: var(--blue-light);
  transform: translateX(3px);
}

.dropdown-item-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: var(--transition);
}

.dropdown-item-icon .lucide {
  width: 16px !important;
  height: 16px !important;
  stroke: var(--blue) !important;
  margin: 0 !important;
}

.dropdown-item:hover .dropdown-item-icon {
  background: #FFFFFF;
  box-shadow: 0 2px 6px rgba(11, 79, 156, 0.15);
}

.dropdown-item:hover .dropdown-item-icon .lucide {
  stroke: var(--blue-hover) !important;
}

.dropdown-item-text {
  display: flex;
  flex-direction: column;
}

.dropdown-item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.dropdown-item-desc {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.35;
  margin-top: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
  position: relative;
}

.btn i, .btn svg,
.nav-cta i, .nav-cta svg,
.nav-outline-cta i, .nav-outline-cta svg {
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), stroke 0.24s ease, color 0.24s ease;
}

/* Micro-animations on hover */
.btn:hover i[data-lucide="arrow-right"],
.btn:hover svg.lucide-arrow-right,
.btn:hover i[data-lucide="arrow-up-right"],
.btn:hover svg.lucide-arrow-up-right,
.nav-cta:hover i[data-lucide="arrow-up-right"],
.nav-cta:hover svg.lucide-arrow-up-right {
  transform: translateX(3px);
}

.btn:hover i[data-lucide="download"],
.btn:hover svg.lucide-download {
  transform: translateY(2px);
}

.btn:hover i[data-lucide="compass"],
.btn:hover svg.lucide-compass {
  transform: rotate(25deg);
}

.btn:hover i[data-lucide="users"],
.btn:hover svg.lucide-users,
.btn:hover i[data-lucide="user-plus"],
.btn:hover svg.lucide-user-plus {
  transform: scale(1.15);
}

.btn:hover i[data-lucide="handshake"],
.btn:hover svg.lucide-handshake,
.nav-outline-cta:hover i[data-lucide="handshake"],
.nav-outline-cta:hover svg.lucide-handshake {
  transform: scale(1.15) rotate(-5deg);
}

.btn:hover i[data-lucide="zap"],
.btn:hover svg.lucide-zap {
  transform: scale(1.2);
}

.nav-cta {
  padding: 13px 22px;
  background: linear-gradient(135deg, #0e5dbb 0%, #0a4386 100%);
  color: #fff !important;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(11, 79, 156, 0.28);
}

.nav-cta:hover {
  background: linear-gradient(135deg, #1572e0 0%, #0c4d96 100%);
  transform: translateY(-1.5px);
  box-shadow: 0 8px 20px rgba(11, 79, 156, 0.42), 0 0 0 2px rgba(147, 197, 253, 0.4);
}

.nav-cta:active,
.nav-cta:focus-visible {
  transform: translateY(0.5px) scale(0.985);
  box-shadow: 0 2px 8px rgba(11, 79, 156, 0.4), 0 0 0 3px rgba(147, 197, 253, 0.6);
  outline: none;
}

.nav-outline-cta {
  padding: 11px 18px;
  border: 1.5px solid var(--gold);
  color: var(--navy);
  font-size: 13px;
  background: transparent;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-outline-cta:hover {
  background: linear-gradient(135deg, #D49A37 0%, #B67F24 100%);
  color: #FFFFFF !important;
  border-color: #B67F24;
  transform: translateY(-1.5px);
  box-shadow: 0 8px 20px rgba(182, 127, 36, 0.38), 0 0 0 2px rgba(253, 224, 71, 0.4);
}

.nav-outline-cta:hover i,
.nav-outline-cta:hover svg {
  stroke: #FFFFFF !important;
}

.nav-outline-cta:active,
.nav-outline-cta:focus-visible {
  transform: translateY(0.5px) scale(0.985);
  box-shadow: 0 2px 8px rgba(182, 127, 36, 0.4), 0 0 0 3px rgba(253, 224, 71, 0.6);
  outline: none;
}

.mobile-nav-cta-wrap {
  display: none;
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 26px;
  color: var(--blue);
  padding: 8px;
}

/* --------------------------------------------------------------------------
   BUTTONS (Primary, Gold, Outline)
   -------------------------------------------------------------------------- */
.btn {
  padding: 14px 24px;
  font-size: 14px;
}

/* 1. Primary Button */
.btn-primary {
  background: linear-gradient(135deg, #0e5dbb 0%, #0a4386 100%);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(11, 79, 156, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1572e0 0%, #0c4d96 100%);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 79, 156, 0.45), 0 0 0 2px rgba(147, 197, 253, 0.45);
}

.btn-primary:active,
.btn-primary:focus-visible {
  transform: translateY(1px) scale(0.985);
  box-shadow: 0 3px 8px rgba(11, 79, 156, 0.45), 0 0 0 3px rgba(147, 197, 253, 0.7);
  outline: none;
}

/* 2. Gold Button */
.btn-gold {
  background: linear-gradient(135deg, #D49A37 0%, #B67F24 100%);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(182, 127, 36, 0.32);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #E5A83E 0%, #C48927 100%);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(182, 127, 36, 0.5), 0 0 0 2px rgba(253, 224, 71, 0.5);
}

.btn-gold:active,
.btn-gold:focus-visible {
  transform: translateY(1px) scale(0.985);
  box-shadow: 0 3px 8px rgba(182, 127, 36, 0.45), 0 0 0 3px rgba(253, 224, 71, 0.7);
  outline: none;
}

/* 3. Outline Button (Standard across content cards & light sections) */
.btn-outline {
  border: 1.5px solid #ABC0D2;
  color: var(--blue, #0B4F9C) !important;
  background: #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-outline:hover {
  border-color: var(--blue, #0B4F9C);
  background: linear-gradient(135deg, #0e5dbb 0%, #0a4386 100%);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 79, 156, 0.3), 0 0 0 2px rgba(147, 197, 253, 0.35);
}

.btn-outline:hover i,
.btn-outline:hover svg {
  stroke: #FFFFFF !important;
  color: #FFFFFF !important;
}

.btn-outline:active,
.btn-outline:focus-visible {
  transform: translateY(1px) scale(0.985);
  background: #093c77;
  color: #FFFFFF !important;
  box-shadow: 0 3px 8px rgba(11, 79, 156, 0.4), 0 0 0 3px rgba(147, 197, 253, 0.6);
  outline: none;
}
.btn-outline:active i,
.btn-outline:active svg {
  stroke: #FFFFFF !important;
}

.arrow {
  font-size: 18px;
  line-height: 0;
  transition: transform 0.2s ease;
}

.btn:hover .arrow {
  transform: translate(2px, -2px);
}

/* --------------------------------------------------------------------------
   HERO SECTION (Strictly matching wireframe)
   -------------------------------------------------------------------------- */
.hero {
  background: var(--cream);
  overflow: hidden;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 640px;
  align-items: stretch;
}

.hero-copy {
  padding: 85px 56px 85px 0;
  align-self: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.eyebrow::before {
  content: '';
  width: 30px;
  height: 3px;
  background: var(--gold);
  flex-shrink: 0;
}

h1.hero-title {
  font-size: clamp(2.8rem, 4.8vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  color: var(--navy);
  margin: 20px 0 20px;
  max-width: 650px;
  font-weight: 800;
}

h1.hero-title em {
  font-style: normal;
  color: var(--gold);
}

.hero p.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: #4C5B6B;
  max-width: 530px;
  margin-bottom: 18px;
}

.hero-tagline-quote {
  border-left: 3px solid var(--green);
  padding-left: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 30px;
  max-width: 510px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  min-height: 640px;
  margin-right: calc((min(1240px, 100vw - 64px) - 100vw) / 2);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 60% 45%;
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 45, 88, 0.08), transparent 45%);
}

.photo-caption {
  position: absolute;
  z-index: 3;
  left: -40px;
  bottom: 42px;
  background: #FFFFFF;
  box-shadow: 0 18px 50px rgba(8, 45, 88, 0.17);
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  display: flex;
  gap: 14px;
  align-items: center;
  max-width: 290px;
}

.caption-icon {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: #E4F3EA;
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: bold;
}

.photo-caption strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.photo-caption small {
  display: block;
  color: #6C7A87;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   KEY STATS RIBBON
   -------------------------------------------------------------------------- */
.stats-ribbon {
  background: #FFFFFF;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-light);
}

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

.stat-item {
  padding: 10px 18px;
  border-left: 3px solid var(--border);
}

.stat-item:nth-child(1) { border-left-color: var(--blue); }
.stat-item:nth-child(2) { border-left-color: var(--gold); }
.stat-item:nth-child(3) { border-left-color: var(--green); }
.stat-item:nth-child(4) { border-left-color: var(--red); }

.stat-number {
  font-family: 'Manrope', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}

.stat-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-top: 4px;
}

.stat-sub {
  font-size: 12px;
  color: #7A8999;
}

/* --------------------------------------------------------------------------
   SECTION HEADINGS & INTRO (Wireframe alignment)
   -------------------------------------------------------------------------- */
section {
  scroll-margin-top: 100px;
}

.section-padding {
  padding: 96px 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
  margin-bottom: 48px;
}

.label {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.label::before {
  content: '';
  width: 14px;
  height: 2px;
  background: var(--gold);
}

.section-heading h2, .how h2, .cta-band h2 {
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin: 0;
  max-width: 680px;
}

.section-heading p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 440px;
  margin: 0;
}

/* --------------------------------------------------------------------------
   PHILOSOPHY & CARDS SECTION (Wireframe Section 3)
   -------------------------------------------------------------------------- */
.philosophy-banner {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 40px;
  border-left: 5px solid var(--gold);
  margin-bottom: 48px;
}

.philosophy-quote {
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  font-style: normal;
}

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

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 34px 30px 31px;
  background: #FFFFFF;
  min-height: 260px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: #ABC0D2;
}

.icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #E9F1FA;
  color: var(--blue);
  margin-bottom: 24px;
  flex-shrink: 0;
}

.icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card:nth-child(2) .icon {
  background: #F7F0DF;
  color: #A67824;
}

.card:nth-child(3) .icon {
  background: #E7F4EB;
  color: var(--green);
}

.card:nth-child(4) .icon {
  background: #FCE8E8;
  color: var(--red);
}

.card:nth-child(5) .icon {
  background: #EBE8FB;
  color: #4A3E99;
}

.card:nth-child(6) .icon {
  background: #E6F5F6;
  color: #0E7B82;
}

.card h3 {
  font-size: 20px;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  color: var(--navy);
}

.card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   THE 4 FUNCTIONS OF MICRO CREDIT VILLAGES (Architecture Section 4)
   -------------------------------------------------------------------------- */
.functions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.function-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  border-top: 4px solid var(--blue);
  transition: var(--transition);
}

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

.function-card:nth-child(2) { border-top-color: var(--gold); }
.function-card:nth-child(3) { border-top-color: var(--green); }
.function-card:nth-child(4) { border-top-color: var(--red); }

.function-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.function-card h4 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
}

.function-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Roles row */
.roles-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

.role-box {
  background: var(--blue-soft);
  border-radius: var(--radius-sm);
  padding: 30px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.role-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #fff;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}

.role-content h4 {
  font-size: 18px;
  margin-bottom: 6px;
}

.role-content p {
  font-size: 14px;
  color: #556677;
  margin-bottom: 12px;
}

.role-content ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: #556677;
}

/* --------------------------------------------------------------------------
   PROGRAMS: THE 3 CHAPA HUSTLE BOOSTS (From Chapa Hustle Boosts Concept.pdf)
   -------------------------------------------------------------------------- */
.programs-section {
  background: #F9FBFC;
  padding: 96px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

/* Lifecycle Progression Bar */
.lifecycle-bar {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 30px;
  margin-bottom: 44px;
  box-shadow: var(--card-shadow);
}

.lifecycle-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 14px;
  text-align: center;
}

.lifecycle-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  flex-wrap: wrap;
  gap: 12px;
}

.lifecycle-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--blue-soft);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.lifecycle-step.active {
  background: var(--navy);
  color: #fff;
}

.lifecycle-sep {
  color: var(--gold);
  font-weight: 800;
  font-size: 16px;
}

/* Tab Navigation for 3 Boosts */
.boost-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
  overflow-x: auto;
}

.boost-tab-btn {
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: var(--transition);
}

.boost-tab-btn:hover {
  color: var(--blue);
}

.boost-tab-btn.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.boost-content-panel {
  display: none;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 44px;
  box-shadow: var(--card-shadow);
  animation: fadeIn 0.3s ease;
}

.boost-content-panel.active {
  display: block;
}

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

.boost-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: flex-start;
}

.boost-header {
  margin-bottom: 24px;
}

.boost-pill {
  display: inline-block;
  padding: 5px 12px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.boost-header h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.boost-objective {
  font-size: 16px;
  color: #4C5B6B;
  line-height: 1.6;
}

.boost-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.boost-box {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.boost-box h5 {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.boost-box ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: #556677;
  line-height: 1.6;
}

.boost-box li {
  margin-bottom: 6px;
}

/* Credit Guarantee Flow Box */
.guarantee-mechanism-box {
  background: var(--blue-soft);
  border: 1px solid #D2E4F5;
  border-radius: var(--radius-sm);
  padding: 24px;
}

.guarantee-mechanism-box h5 {
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 12px;
}

.guarantee-flow {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--blue);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.guarantee-note {
  font-size: 13px;
  color: #5A6D80;
  line-height: 1.5;
  margin-top: 14px;
  border-top: 1px dashed #C3D8EB;
  padding-top: 12px;
}

.desired-outcome-tag {
  margin-top: 18px;
  background: var(--green-light);
  color: #0A6335;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   NETWORKS SECTION (Architecture Section 6)
   -------------------------------------------------------------------------- */
.networks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.network-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

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

.network-acronym {
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 4px;
}

.network-card:nth-child(2) .network-acronym { color: var(--gold); }
.network-card:nth-child(3) .network-acronym { color: var(--green); }
.network-card:nth-child(4) .network-acronym { color: var(--red); }

.network-fullname {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.35;
}

.network-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.network-card ul {
  margin: 0;
  padding-left: 16px;
  font-size: 13px;
  color: #556677;
  line-height: 1.5;
}

.network-card li {
  margin-bottom: 5px;
}

/* Network Ecosystem Flow */
.ecosystem-flow-banner {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 30px 40px;
  margin-top: 40px;
}

.flow-title {
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.flow-chain {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.flow-node {
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
  text-align: center;
}

.flow-node.highlight {
  background: var(--gold);
  color: #fff;
}

.flow-arrow {
  color: var(--gold-accent);
  font-weight: bold;
  font-size: 18px;
}

/* Home: nationwide ecosystem connection map */
.home-ecosystem-flow {
  position: relative;
  overflow: hidden;
  margin: 0 0 30px;
  padding: 26px 30px;
  background:
    radial-gradient(circle at 88% 10%, rgba(215, 170, 66, .22), transparent 25%),
    linear-gradient(135deg, #082D58 0%, #0B4F9C 100%);
  box-shadow: 0 18px 36px rgba(8, 45, 88, .16);
}
.home-ecosystem-flow::after {
  position: absolute;
  right: -60px;
  bottom: -115px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(255,255,255,.035);
  content: '';
}
.home-ecosystem-flow-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.home-ecosystem-flow-top span {
  display: block;
  margin-bottom: 5px;
  color: #F6D87F;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.home-ecosystem-flow-top strong { display:block; color:#fff; font-family:'Manrope',sans-serif; font-size:1.15rem; }
.home-ecosystem-coverage {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  color: #DCEAF6;
  font-size: .72rem;
  font-weight: 700;
  white-space: nowrap;
}
.home-ecosystem-coverage .lucide { width:14px; height:14px; color:#F6D87F; }
.home-ecosystem-flow .flow-chain { position:relative; z-index:1; gap:10px; }
.home-ecosystem-flow .flow-node {
  display: grid;
  min-width: 152px;
  flex: 1;
  gap: 4px;
  padding: 14px 12px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  background: rgba(255,255,255,.09);
  color: #fff;
  text-align: left;
}
.home-ecosystem-flow .flow-node.highlight { background: #D7AA42; border-color:#E7C56F; }
.home-ecosystem-flow .flow-node .lucide { width:18px; height:18px; margin-bottom:3px; color:#F6D87F; }
.home-ecosystem-flow .flow-node.highlight .lucide { color:#082D58; }
.home-ecosystem-flow .flow-node span { font-size:.78rem; font-weight:800; }
.home-ecosystem-flow .flow-node small { color:#C5D8E9; font-size:.67rem; font-weight:500; }
.home-ecosystem-flow .flow-node.highlight small { color:#543F0D; }
.home-ecosystem-flow .flow-arrow { flex:0 0 auto; width:17px; height:17px; color:#F6D87F; }

@media (max-width: 760px) {
  .home-ecosystem-flow { padding:22px 18px; }
  .home-ecosystem-flow-top { align-items:flex-start; flex-direction:column; }
  .home-ecosystem-flow .flow-chain { display:grid; grid-template-columns:1fr; }
  .home-ecosystem-flow .flow-node { min-width:0; }
  .home-ecosystem-flow .flow-arrow { justify-self:center; transform:rotate(90deg); }
}

/* --------------------------------------------------------------------------
   HOW IT WORKS / JOURNEY (Wireframe section)
   -------------------------------------------------------------------------- */
.how {
  background: #EDF4FA;
  padding: 82px 0;
}

.how-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: center;
}

.how p {
  color: #596D80;
  line-height: 1.75;
  font-size: 16px;
  max-width: 420px;
  margin-top: 22px;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: flex;
  align-items: center;
  gap: 22px;
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 22px 25px;
  box-shadow: 0 2px 10px rgba(8, 45, 88, 0.04);
  transition: var(--transition);
}

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

.num {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  color: var(--gold);
  font-size: 22px;
}

.step strong {
  font-size: 16px;
  color: var(--navy);
}

.step span:last-child {
  font-size: 14px;
  color: #647487;
  margin-left: auto;
  text-align: right;
}

/* --------------------------------------------------------------------------
   VILLAGE EXPLORER & COUNTY DIRECTORY
   -------------------------------------------------------------------------- */
.directory-section {
  padding: 96px 0;
  background: #FFFFFF;
}

.directory-filter-bar {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.search-input-wrap {
  flex: 1;
  min-width: 260px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 14px 18px 14px 44px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 79, 156, 0.1);
}

.search-icon-svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
}

.county-select {
  padding: 14px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  outline: none;
  cursor: pointer;
}

.county-select:focus {
  border-color: var(--blue);
}

.village-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.village-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  transition: var(--transition);
}

.village-card:hover {
  border-color: var(--blue);
  box-shadow: var(--card-shadow);
}

.village-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.village-card h4 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
}

.village-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #556677;
  margin-bottom: 6px;
}

.village-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 4px;
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   EVENTS & SUMMIT SECTION
   -------------------------------------------------------------------------- */
.events-section {
  background: var(--cream);
  padding: 96px 0;
}

.events-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.event-box {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
}

.event-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-box:hover .event-image img {
  transform: scale(1.04);
}

.event-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border-radius: 4px;
}

.event-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}

.event-content h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.event-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

/* --------------------------------------------------------------------------
   PARTNERS SECTION (Architecture Section 9)
   -------------------------------------------------------------------------- */
.partners-section {
  padding: 80px 0;
  background: #FFFFFF;
}

.partner-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.partner-category-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  background: var(--cream-card);
}

.partner-category-box h4 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 8px;
}

.partner-category-box ul {
  margin: 0;
  padding-left: 16px;
  font-size: 13px;
  color: #556677;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   CALL TO ACTION BAND (Strictly matching wireframe)
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--navy);
  color: #FFFFFF;
  padding: 74px 0;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

.cta-band h2 {
  color: #FFFFFF;
  max-width: 700px;
}

.cta-band p {
  margin: 14px 0 0;
  color: #D3E0EB;
  max-width: 610px;
  line-height: 1.6;
}

.cta-band .btn {
  background: #FFFFFF;
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-band .btn:hover {
  background: #FFFFFF;
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.cta-band .btn.btn-outline,
.cta-band .btn-outline {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(4px);
}

.cta-band .btn.btn-outline .lucide,
.cta-band .btn.btn-outline i,
.cta-band .btn-outline .lucide,
.cta-band .btn-outline i {
  stroke: #FFFFFF !important;
  color: #FFFFFF !important;
}

.cta-band .btn.btn-outline:hover,
.cta-band .btn-outline:hover {
  background: #FFFFFF !important;
  color: var(--navy) !important;
  border-color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.cta-band .btn.btn-outline:hover .lucide,
.cta-band .btn.btn-outline:hover i,
.cta-band .btn-outline:hover .lucide,
.cta-band .btn-outline:hover i {
  stroke: var(--navy) !important;
  color: var(--navy) !important;
}

/* --------------------------------------------------------------------------
   FOOTER (Strictly matching wireframe style)
   -------------------------------------------------------------------------- */
footer {
  padding: 0;
  background: #0A1628;
  border-top: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 40px;
}

.footer-col.brand-col {
  padding-right: 16px;
}

.footer-col.brand-col .brand img {
  width: 170px;
  height: auto;
  margin-bottom: 16px;
}

.footer-about {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 320px;
  margin: 0;
}

/* Legacy class aliases (about.html / contact.html used these) */
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 40px;
}

.footer-brand img {
  width: 170px;
  height: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4,
.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #D4A843;
}

/* Kenya tricolor divider inside footer */
.footer-tricolor {
  height: 3px;
  background: linear-gradient(90deg, #006600 25%, #FFFFFF 25%, #FFFFFF 50%, #BB0000 50%, #BB0000 75%, #111111 75%);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.45);
  font-size: 12px;
}

.footer-note {
  max-width: 600px;
  text-align: center;
  line-height: 1.5;
  color: rgba(255,255,255,0.4);
}

.footer-credit {
  text-align: right;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
}

.footer-credit a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-credit a:hover {
  color: #D4A843;
}

/* --------------------------------------------------------------------------
   INTERACTIVE MODAL ("Join the Network" & Enquiry Dialog)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 45, 88, 0.65);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
}

.modal-overlay.open {
  display: grid;
}

.modal-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  max-width: 660px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: modalPop 0.25s ease-out;
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 20px;
  margin: 0;
}

.modal-close-btn {
  font-size: 24px;
  color: var(--muted);
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--red);
}

.modal-body {
  padding: 28px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 79, 156, 0.1);
}

.form-help {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* Success notification message */
.form-success-banner {
  display: none;
  background: var(--green-light);
  color: #0A6335;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Modal Pathway Switcher Tabs (Become a Village Member / Partner) */
.modal-pathway-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #F1F5F9;
  padding: 6px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  border: 1px solid var(--border-light);
}

.modal-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--navy);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.modal-tab-btn .lucide {
  width: 17px;
  height: 17px;
  stroke: var(--muted);
  transition: stroke 0.2s ease;
}

.modal-tab-btn:hover {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.6);
}

.modal-tab-btn.active {
  background: #FFFFFF;
  color: var(--blue);
  border-color: rgba(11, 79, 156, 0.15);
  box-shadow: 0 2px 8px rgba(8, 45, 88, 0.08);
}

.modal-tab-btn.active .lucide {
  stroke: var(--blue);
}

.modal-tab-btn.partner-tab.active {
  color: var(--gold-dark, #A16207);
  border-color: rgba(212, 168, 67, 0.3);
}

.modal-tab-btn.partner-tab.active .lucide {
  stroke: var(--gold-dark, #A16207);
}

/* ==============================================================================
   INTERACTIVE QUESTION-BY-QUESTION WIZARD (Become a Village Member)
   ============================================================================== */
.wizard-progress-wrap {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 22px;
}
.wizard-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  margin-bottom: 8px;
}
.wizard-step-badge {
  color: var(--blue, #0B4F9C);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.wizard-step-badge strong {
  background: #EBF3FC;
  color: var(--blue, #0B4F9C);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.9rem;
}
.wizard-step-category {
  color: #64748B;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.wizard-progress-track {
  width: 100%;
  height: 6px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
}
.wizard-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0B4F9C 0%, #D49A37 100%);
  border-radius: 999px;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.wizard-step {
  animation: wizardStepIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes wizardStepIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-question-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.wizard-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0B4F9C, #06254B);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(11, 79, 156, 0.25);
}
.wizard-question-text {
  flex-grow: 1;
}
.wizard-question-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy, #082D58);
  margin: 0 0 4px;
  line-height: 1.35;
}
.wizard-question-title .req-star {
  color: #DC2626;
  font-weight: 700;
}
.wizard-question-desc {
  font-size: 0.86rem;
  color: #64748B;
  margin: 0;
  line-height: 1.45;
}

.wizard-input {
  font-size: 0.95rem !important;
  padding: 13px 15px !important;
  border-radius: 8px !important;
}

.wizard-kyc-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 0.84rem;
  color: #166534;
  line-height: 1.45;
  margin-top: 10px;
}

.wizard-summary-card {
  background: #FEFCE8;
  border: 1.5px solid #FEF08A;
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 14px;
}
.wizard-summary-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #854D0E;
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.wizard-summary-desc {
  font-size: 0.85rem;
  color: #713F12;
  margin: 0;
  line-height: 1.5;
}

.wizard-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light, #E2E8F0);
}

/* Partner Wizard specific styling */
.partner-wizard .wizard-step-index {
  background: linear-gradient(135deg, #D49A37, #936315);
  box-shadow: 0 4px 10px rgba(212, 154, 55, 0.25);
}
.partner-wizard .wizard-step-badge strong {
  background: #FEF9C3;
  color: #854D0E;
}
.partner-wizard .wizard-progress-fill {
  background: linear-gradient(90deg, #D49A37 0%, #0B4F9C 100%);
}

/* Contact Wizard specific styling */
.contact-wizard .wizard-progress-wrap {
  margin-bottom: 24px;
  background: #F1F5F9;
  border-color: #CBD5E1;
}
.contact-wizard .wizard-step-index {
  background: linear-gradient(135deg, #0B4F9C, #0B8F4D);
  box-shadow: 0 4px 10px rgba(11, 79, 156, 0.2);
}
.contact-wizard .wizard-progress-fill {
  background: linear-gradient(90deg, #0B4F9C 0%, #0B8F4D 100%);
}

/* Singapore Mashinani 9 Strategic Objectives Grid */
.mashinani-objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.mashinani-objective-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: 0 3px 12px rgba(8, 45, 88, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.mashinani-objective-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(8, 45, 88, 0.08);
  border-color: var(--blue-soft, #D0E1F9);
}

.mashinani-obj-num {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 8px;
}

.mashinani-obj-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mashinani-obj-title .lucide {
  width: 18px;
  height: 18px;
  stroke: var(--blue);
  flex-shrink: 0;
}

.mashinani-obj-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Institutional Heritage & Pillars */
.heritage-pillar-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  border-top: 4px solid var(--blue);
  box-shadow: 0 4px 16px rgba(8, 45, 88, 0.04);
}

.heritage-pillar-card.pillar-gold {
  border-top-color: var(--gold);
}

.heritage-pillar-card.pillar-green {
  border-top-color: var(--green);
}

.heritage-pillar-card.pillar-navy {
  border-top-color: var(--navy);
}

.heritage-pillar-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
  font-size: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.pillar-gold .heritage-pillar-num {
  background: var(--gold-light);
  color: var(--gold);
}

.pillar-green .heritage-pillar-num {
  background: var(--green-light);
  color: var(--green);
}

.pillar-navy .heritage-pillar-num {
  background: #EEF3F9;
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (Wireframe breakpoints: 900px, 600px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .functions-grid, .networks-grid, .partner-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .boost-layout {
    grid-template-columns: 1fr;
  }
  .village-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid,
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1081px) and (max-width: 1240px) {
  .nav {
    gap: 14px;
  }
  .brand img {
    width: 185px;
    height: auto;
  }
  .nav-links {
    gap: 14px;
  }
  .nav-link {
    font-size: 13.5px;
  }
  .nav-actions {
    gap: 8px;
  }
  .nav-cta {
    padding: 10px 16px;
    font-size: 13px;
  }
  .nav-outline-cta {
    padding: 9px 14px;
    font-size: 12.5px;
  }
}

@media (max-width: 1080px) {
  .nav {
    height: 72px;
  }
  .brand img {
    width: 165px;
    height: auto;
    max-height: 52px;
  }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: #FFFFFF;
    padding: 20px 24px 28px;
    box-shadow: 0 16px 28px rgba(8, 45, 88, 0.12);
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 8px;
  }
  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
  }
  .nav-dropdown {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    background: var(--cream-card);
    border-radius: var(--radius-sm);
    padding: 8px;
    min-width: 0;
    display: none;
    margin-top: 6px;
  }
  .nav-dropdown::before {
    display: none;
  }
  .nav-item.open .nav-dropdown {
    display: block;
  }
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .nav-actions .nav-cta,
  .nav-actions .nav-outline-cta {
    display: none !important;
  }
  .menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #F1F6FB;
    border: 1px solid #DFE8F2;
    color: var(--navy);
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
  }
  .menu-toggle:hover,
  .menu-toggle:focus {
    background: #E4EEF8;
    color: var(--blue);
  }
  .menu-toggle svg,
  .menu-toggle i {
    width: 22px;
    height: 22px;
  }
  .mobile-nav-cta-wrap {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    padding: 16px 0 6px;
    margin-top: 10px;
    border-top: 1px solid var(--border-light);
  }
  .mobile-nav-cta-wrap .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    font-size: 0.95rem;
    font-weight: 700;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 40px, 720px);
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
  }
  .hero-copy {
    padding: 66px 0 55px;
  }
  .hero-visual {
    min-height: 480px;
    margin: 0 -20px;
  }
  .hero-visual img {
    object-position: center 42%;
  }
  .photo-caption {
    left: 20px;
    bottom: 24px;
  }
  .section-heading, .how-grid, .cta-inner {
    display: block;
  }
  .section-heading p {
    margin-top: 18px;
  }
  .how-grid {
    gap: 36px;
  }
  .steps {
    margin-top: 32px;
  }
  .cta-inner .btn {
    margin-top: 24px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .roles-row, .events-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px);
  }
  .nav {
    height: 64px;
    gap: 8px;
  }
  .brand img {
    width: 145px;
    height: auto;
    max-height: 46px;
  }
  .nav-links {
    top: 64px;
    max-height: calc(100vh - 70px);
    padding: 16px 20px 24px;
  }
  .menu-toggle {
    width: 42px;
    height: 42px;
  }
  .menu-toggle svg,
  .menu-toggle i {
    width: 20px;
    height: 20px;
  }
  .hero-copy {
    padding: 50px 0 40px;
  }
  h1.hero-title {
    font-size: clamp(2.4rem, 10vw, 3.8rem);
  }
  .hero p.hero-subtitle {
    font-size: 16px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-visual {
    height: 380px;
    min-height: 380px;
    margin: 0 -16px;
  }
  .photo-caption {
    left: 16px;
    bottom: 16px;
    max-width: 250px;
    padding: 14px;
  }
  .section-padding {
    padding: 65px 0;
  }
  .cards {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }
  .card {
    min-height: 0;
  }
  .functions-grid, .networks-grid, .partner-categories-grid, .village-results-grid {
    grid-template-columns: 1fr;
  }
  .how {
    margin-top: 60px;
    padding: 60px 0;
  }
  .step {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 4px 16px;
  }
  .step span:last-child {
    grid-column: 2;
    text-align: left;
    margin: 0;
  }
  .cta-band {
    padding: 60px 0;
  }
  .footer-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-note {
    text-align: center;
    font-size: 11px;
  }
  .footer-credit {
    text-align: center;
  }
  .boost-details-grid {
    grid-template-columns: 1fr;
  }
  .boost-content-panel {
    padding: 24px 18px;
  }
}

/* ==========================================================================
   WIRE FRAME CONTENT EXTENSIONS (From Wireframe.docx)
   ========================================================================== */

/* The Three Interconnected Layers */
.three-layers-box {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  color: #FFFFFF;
  margin: 48px 0;
  box-shadow: 0 15px 40px rgba(8, 45, 88, 0.18);
}

.layers-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 36px;
}

.layer-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.layer-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
  border-color: var(--gold-accent);
}

.layer-badge {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 12px;
}

.layer-card h4 {
  font-size: 20px;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.25;
}

.layer-card p {
  font-size: 14px;
  color: #D3E0EB;
  line-height: 1.6;
  margin-bottom: 16px;
}

.layer-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: #E2ECF5;
  line-height: 1.6;
}

/* Who We Are & Mandate Grid */
.who-we-are-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 36px;
}

.who-box {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--card-shadow);
}

.who-box h3 {
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}

.who-box p {
  font-size: 15px;
  color: #4C5B6B;
  line-height: 1.7;
}

/* 12 Principles of Belief */
.principles-12-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.principle-item {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  transition: var(--transition);
  border-left: 3px solid var(--blue);
}

.principle-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow);
  border-left-color: var(--gold);
}

.principle-item h5 {
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 6px;
  font-weight: 700;
}

.principle-item p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Singapore Mashinani Spotlight Feature */
.mashinani-spotlight {
  background: var(--blue-soft);
  border: 1.5px solid #CFE1F2;
  border-radius: var(--radius-lg);
  padding: 50px;
  margin-top: 50px;
}

.mashinani-inner-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.mashinani-pillars-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0;
}

.mashinani-pillar-item {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Micro Credit Villages Journal (Blog) */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.journal-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.journal-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: #ABC0D2;
}

.journal-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.journal-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.journal-category.policy { background: var(--gold-light); color: var(--gold); }
.journal-category.community { background: var(--green-light); color: var(--green); }
.journal-category.markets { background: #EAE6F8; color: #5B48B5; }

.journal-card h4 {
  font-size: 19px;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--navy);
}

.journal-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

.journal-meta {
  font-size: 12px;
  color: #7A8999;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
}

/* Reports & Resources Library */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.resource-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
  border-color: var(--blue);
}

.resource-type {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 8px;
}

.resource-card h4 {
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 8px;
}

.resource-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.resource-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}

.resource-download-btn:hover {
  color: var(--blue-hover);
  text-decoration: underline;
}

/* 8 Pathways To Join The Network */
.pathways-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.pathway-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.pathway-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue);
  box-shadow: var(--card-shadow-hover);
}

.pathway-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.pathway-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pathway-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 18px;
  flex: 1;
}

.pathway-btn {
  padding: 10px 14px;
  border: 1px solid var(--blue);
  color: var(--blue);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  transition: var(--transition);
}

.pathway-btn:hover {
  background: var(--blue);
  color: #FFFFFF;
}

/* Responsive adjustments for extended sections */
@media (max-width: 1024px) {
  .layers-container, .journal-grid, .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .principles-12-grid, .pathways-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mashinani-inner-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .layers-container, .who-we-are-grid, .journal-grid, .resources-grid, .principles-12-grid, .pathways-grid {
    grid-template-columns: 1fr;
  }
  .mashinani-pillars-list {
    grid-template-columns: 1fr;
  }
  .three-layers-box {
    padding: 30px 20px;
  }
}


/* --------------------------------------------------------------------------
   VILLAGE DIRECTORY SKELETON SCREENS
   -------------------------------------------------------------------------- */
.skeleton-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skeleton-shimmer {
  background: linear-gradient(90deg, #EDF2F7 25%, #FAFCFE 50%, #EDF2F7 75%);
  background-size: 200% 100%;
  animation: shimmerAnimation 1.4s infinite;
  border-radius: 4px;
}

@keyframes shimmerAnimation {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-meta { height: 14px; width: 45%; }
.skeleton-title { height: 22px; width: 80%; }
.skeleton-row { height: 16px; width: 95%; }
.skeleton-row-short { height: 16px; width: 65%; }
.skeleton-badge { height: 24px; width: 40%; margin-top: 6px; }

/* --------------------------------------------------------------------------
   GPU-COMPOSITED SECTION FADE-IN & STAGGER ANIMATIONS
   -------------------------------------------------------------------------- */
.fade-in-section {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-section.visible .card:nth-child(1),
.fade-in-section.visible .pathway-card:nth-child(1),
.fade-in-section.visible .journal-card:nth-child(1) { transition-delay: 0.04s; }
.fade-in-section.visible .card:nth-child(2),
.fade-in-section.visible .pathway-card:nth-child(2),
.fade-in-section.visible .journal-card:nth-child(2) { transition-delay: 0.1s; }
.fade-in-section.visible .card:nth-child(3),
.fade-in-section.visible .pathway-card:nth-child(3),
.fade-in-section.visible .journal-card:nth-child(3) { transition-delay: 0.16s; }
.fade-in-section.visible .card:nth-child(4),
.fade-in-section.visible .pathway-card:nth-child(4),
.fade-in-section.visible .journal-card:nth-child(4) { transition-delay: 0.22s; }

/* ==========================================================================
   CREATIVE BRANDED PAGE PRELOADER & KINETIC LOGO ANIMATION
   ========================================================================== */
.site-preloader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 45%, #0B3564 0%, #072242 55%, #031224 100%);
  overflow: hidden;
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.55s ease,
              visibility 0.55s;
  will-change: opacity, transform, filter;
}

.site-preloader.preloader-hidden {
  opacity: 0;
  transform: scale(1.035);
  filter: blur(5px);
  pointer-events: none;
  visibility: hidden;
}

/* Ambient Glow & Constellation Grid */
.preloader-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.preloader-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.28;
  pointer-events: none;
  animation: preloaderAuraPulse 4s ease-in-out infinite alternate;
}

.preloader-glow-1 {
  width: 320px;
  height: 320px;
  background: #0B8F4D;
  top: 30%;
  left: 35%;
}

.preloader-glow-2 {
  width: 280px;
  height: 280px;
  background: #D7AA42;
  bottom: 25%;
  right: 35%;
  animation-delay: -2s;
}

.preloader-glow-3 {
  width: 240px;
  height: 240px;
  background: #D71920;
  top: 55%;
  left: 45%;
  opacity: 0.16;
  animation-delay: -1s;
}

@keyframes preloaderAuraPulse {
  0% { transform: scale(0.9) translate(-10px, -10px); opacity: 0.22; }
  100% { transform: scale(1.15) translate(10px, 10px); opacity: 0.34; }
}

/* Geometric Network Matrix Grid */
.preloader-grid {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 32px 32px, 64px 64px, 64px 64px;
  opacity: 0.45;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 75%);
}

/* Content Container */
.preloader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
  max-width: 440px;
  width: 90%;
}

/* Emblem Container with Multi-Ring Kinematics */
.preloader-emblem {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Orbit Ring 1: Outer Emerald Orbit with Satellite */
.orbit-ring-outer {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #0B8F4D;
  border-right-color: rgba(11, 143, 77, 0.25);
  animation: preloaderSpin 2.4s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
  box-shadow: 0 0 16px rgba(11, 143, 77, 0.25);
}

.orbit-satellite {
  position: absolute;
  top: 3px;
  right: 12px;
  width: 9px;
  height: 9px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 0 10px #25D366, 0 0 20px #25D366;
}

/* Orbit Ring 2: Middle Savannah Gold Counter-Rotating Dashed Orbit */
.orbit-ring-middle {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px dashed rgba(215, 170, 66, 0.7);
  animation: preloaderSpinReverse 4s linear infinite;
}

/* Orbit Ring 3: Inner Crimson/Blue Gradient Pulse Ring */
.orbit-ring-inner {
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-bottom-color: #D71920;
  border-left-color: #0B4F9C;
  animation: preloaderSpin 1.8s ease-in-out infinite;
}

/* Core Brand Medallion */
.emblem-core {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.35),
    0 0 0 4px rgba(255, 255, 255, 0.15),
    0 0 25px rgba(215, 170, 66, 0.3);
  animation: preloaderCoreBreathe 2.4s ease-in-out infinite;
}

.preloader-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

@keyframes preloaderSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes preloaderSpinReverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@keyframes preloaderCoreBreathe {
  0%, 100% { transform: scale(1); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(255, 255, 255, 0.15), 0 0 25px rgba(215, 170, 66, 0.3); }
  50% { transform: scale(1.04); box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45), 0 0 0 6px rgba(255, 255, 255, 0.22), 0 0 35px rgba(215, 170, 66, 0.55); }
}

/* Typography */
.preloader-brand {
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 6px 0;
  background: linear-gradient(135deg, #FFFFFF 30%, #E6EDF5 70%, #D7AA42 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.preloader-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(235, 243, 252, 0.82);
  margin: 0 0 20px 0;
  letter-spacing: 0.04em;
}

/* Kenyan Tricolor Progress Sweep */
.preloader-progress-wrap {
  width: 220px;
  height: 4px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  margin-bottom: 14px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

.preloader-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #0B8F4D 0%, #D7AA42 35%, #0B4F9C 70%, #D71920 100%);
  background-size: 200% 100%;
  border-radius: 999px;
  animation: preloaderProgressSweep 1.6s ease-in-out infinite, preloaderProgressFill 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes preloaderProgressSweep {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes preloaderProgressFill {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(-20%); }
  100% { transform: translateX(0%); }
}

/* Status Pill */
.preloader-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #EDF4FA;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.preloader-status .pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 0 8px #25D366;
  animation: pulseDot 1.4s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  .site-preloader {
    transition: opacity 0.2s ease;
  }
  .orbit-ring-outer,
  .orbit-ring-middle,
  .orbit-ring-inner,
  .emblem-core,
  .preloader-glow,
  .preloader-progress-fill,
  .pulse-dot {
    animation: none !important;
  }
}

/* Home: Ward Village to Enterprise Boost framework */
.home-programme-framework {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(11, 79, 156, .08), transparent 25%),
    radial-gradient(circle at 4% 88%, rgba(10, 151, 82, .07), transparent 23%),
    #F4F8FB;
}
.home-programme-framework .container { position: relative; z-index: 1; }
.home-programme-head { margin-bottom: 34px; }
.home-programme-head > p { max-width: 760px; }
.home-programme-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  gap: 24px;
  margin-bottom: 34px;
}
.home-programme-statement,
.home-referral-principle {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid #D8E5EF;
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 14px 30px rgba(8, 45, 88, .055);
}
.home-programme-statement { border-top: 3px solid var(--blue); }
.home-programme-label,
.home-programme-pathway-head > span {
  display: block;
  margin-bottom: 9px;
  color: #087F49;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.home-programme-statement h3 {
  max-width: 620px;
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.25;
  letter-spacing: -.025em;
}
.home-programme-statement p {
  max-width: 720px;
  margin: 0 0 12px;
  color: #4B627C;
  font-size: .92rem;
  line-height: 1.72;
}
.home-programme-statement p:last-child { margin-bottom: 0; }
.home-referral-principle {
  border-top: 3px solid var(--gold);
  background: linear-gradient(145deg, #FFFFFF, #FCFAF4);
}
.home-referral-principle-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 21px;
}
.home-referral-principle-head > .lucide {
  width: 40px;
  height: 40px;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 10px;
  background: #FFF2CF;
  color: #A66B00;
}
.home-referral-principle-head span {
  display: block;
  margin: 1px 0 4px;
  color: #9B670A;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.home-referral-principle-head h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.35;
}
.home-referral-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  counter-reset: referral;
}
.home-referral-flow li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border: 1px solid #E1E9F1;
  border-radius: 7px;
  color: #38546E;
  background: #FFFFFF;
  font-size: .7rem;
  font-weight: 800;
}
.home-referral-flow li::before {
  color: #8399AC;
  content: counter(referral, decimal-leading-zero);
  counter-increment: referral;
  font-size: .6rem;
}
.home-referral-principle > p {
  display: flex;
  gap: 8px;
  margin: 0;
  padding-top: 15px;
  border-top: 1px solid #E9E3D3;
  color: #607388;
  font-size: .73rem;
  line-height: 1.55;
}
.home-referral-principle > p .lucide { width: 16px; height: 16px; flex: 0 0 auto; color: var(--blue); }
.home-programme-pathway-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 15px;
}
.home-programme-pathway-head > span { margin: 0; }
.home-programme-pathway-head > p {
  margin: 0;
  color: #667B90;
  font-size: .82rem;
}
.home-programme-pathways {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.home-programme-pathway {
  display: flex;
  min-width: 0;
  min-height: 245px;
  flex-direction: column;
  padding: 18px;
  border: 1px solid #DCE7F0;
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(8, 45, 88, .035);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.home-programme-pathway:hover {
  border-color: #BBD4E9;
  box-shadow: 0 12px 24px rgba(8, 45, 88, .09);
  transform: translateY(-3px);
}
.home-programme-pathway-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}
.home-programme-pathway-top span {
  color: #9AAEC0;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.home-programme-pathway-top .lucide {
  width: 19px;
  height: 19px;
  color: var(--blue);
}
.home-programme-pathway:nth-child(2) .lucide { color: #A66B00; }
.home-programme-pathway:nth-child(3) .lucide { color: #087F49; }
.home-programme-pathway:nth-child(4) .lucide { color: #C44832; }
.home-programme-pathway:nth-child(5) .lucide { color: #6B55B7; }
.home-programme-pathway h3 {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: .91rem;
  line-height: 1.38;
}
.home-programme-pathway p {
  margin: 0 0 10px;
  color: #587087;
  font-size: .77rem;
  line-height: 1.56;
}
.home-programme-pathway small {
  display: block;
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid #E9F0F5;
  color: #38546E;
  font-size: .69rem;
  font-weight: 700;
  line-height: 1.5;
}
.home-programme-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid #D5E3EF;
  border-radius: 12px;
  background: #FFFFFF;
}
.home-programme-footer > div:first-child {
  display: grid;
  gap: 3px;
}
.home-programme-footer strong { color: var(--navy); font-size: .9rem; }
.home-programme-footer span { color: #61768D; font-size: .77rem; }
.home-programme-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.home-programme-actions .btn { white-space: nowrap; }
@media (max-width: 1120px) {
  .home-programme-pathways { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
  .home-programme-intro { grid-template-columns: 1fr; }
  .home-programme-pathways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .home-programme-pathway-head,
  .home-programme-footer { align-items: flex-start; flex-direction: column; }
  .home-programme-pathways { grid-template-columns: 1fr; }
  .home-programme-pathway { min-height: 0; }
  .home-programme-actions,
  .home-programme-actions .btn { width: 100%; }
  .home-programme-actions .btn { justify-content: center; }
}

/* Home: Singapore Mashinani programme gateway */
.mashinani-landing {
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,#FFF 0%,#F6FAFE 100%);
}
.mashinani-landing::before {
  position:absolute;
  z-index:0;
  top:-140px;
  right:-135px;
  width:380px;
  height:380px;
  border:1px solid rgba(11,79,156,.12);
  border-radius:50%;
  box-shadow:0 0 0 34px rgba(11,79,156,.035);
  content:'';
}
.mashinani-landing .container { position:relative; z-index:1; }
.mashinani-landing-grid { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(370px,.92fr); gap:54px; align-items:center; }
.mashinani-landing-copy h2 { max-width:650px; margin:18px 0 15px; color:var(--navy); font-size:clamp(2rem,3.2vw,2.8rem); line-height:1.18; letter-spacing:-.045em; }
.mashinani-landing-copy > p { max-width:690px; margin:0 0 25px; color:#4D627B; font-size:1rem; line-height:1.72; }
.mashinani-pathway-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin:0 0 28px; }
.mashinani-pathway-grid > div { display:flex; align-items:center; gap:9px; min-height:45px; padding:9px 10px; border:1px solid #DFEAF3; border-radius:8px; background:#FFF; color:var(--navy); font-size:.76rem; font-weight:750; line-height:1.35; }
.mashinani-pathway-grid > div:last-child { grid-column:1 / -1; }
.mashinani-pathway-grid .lucide { width:17px; height:17px; flex:0 0 auto; color:#079555; }
.mashinani-referral-map { padding:28px; border:1px solid #D9E7F3; border-radius:16px; background:#FFF; box-shadow:0 22px 42px rgba(8,45,88,.1); }
.mashinani-referral-head { display:flex; align-items:center; gap:12px; margin-bottom:22px; }
.mashinani-referral-icon { display:grid; width:42px; height:42px; place-items:center; border-radius:10px; background:#EAF2FB; color:var(--blue); }
.mashinani-referral-icon .lucide { width:21px; height:21px; }
.mashinani-referral-head span { display:block; margin-bottom:3px; color:#0A9752; font-size:.65rem; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
.mashinani-referral-head h3 { margin:0; color:var(--navy); font-family:'Manrope',sans-serif; font-size:1.15rem; }
.mashinani-referral-steps { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:0; margin:0 0 18px; list-style:none; }
.mashinani-referral-steps li { display:flex; align-items:center; gap:8px; padding:9px 8px; border:1px solid #E0E9F1; border-radius:7px; background:#FAFCFE; color:#304A65; font-size:.74rem; font-weight:800; }
.mashinani-referral-steps li:nth-child(4) { border-color:#D4B061; background:#FDF8EB; color:#76520E; }
.mashinani-referral-steps b { color:#7A91A7; font-size:.62rem; font-variant-numeric:tabular-nums; }
.mashinani-referral-steps i { width:13px; height:13px; margin-left:auto; color:#7A91A7; }
.mashinani-referral-steps li:last-child { grid-column:1 / -1; }
.mashinani-referral-map > p { display:flex; gap:8px; margin:0; padding:11px 12px; border-radius:8px; background:#F2F8FD; color:#52708D; font-size:.72rem; line-height:1.5; }
.mashinani-referral-map > p .lucide { width:16px; height:16px; flex:0 0 auto; color:var(--blue); }
.mashinani-referral-footer { padding-top:16px; margin-top:16px; border-top:1px solid #E4ECF3; }
.mashinani-referral-footer a { display:inline-flex; align-items:center; gap:7px; color:var(--blue); font-size:.78rem; font-weight:800; text-decoration:none; }
.mashinani-referral-footer a:hover { color:var(--navy); }
.mashinani-referral-footer .lucide { width:15px; height:15px; }
@media (max-width:900px) {
  .mashinani-landing-grid { grid-template-columns:1fr; gap:28px; }
  .mashinani-referral-map { max-width:650px; }
}
@media (max-width:520px) {
  .mashinani-pathway-grid,.mashinani-referral-steps { grid-template-columns:1fr; }
  .mashinani-pathway-grid > div:last-child,.mashinani-referral-steps li:last-child { grid-column:auto; }
  .mashinani-referral-map { padding:22px 18px; }
}

/* ==========================================================================
   HOME: NATIONWIDE FINANCIAL & COMMUNITY ECOSYSTEM
   ========================================================================== */
.ecosystem-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 6% 16%, rgba(11,79,156,.075), transparent 24%),
    radial-gradient(circle at 94% 72%, rgba(215,170,66,.09), transparent 21%),
    #F4F7FA;
}
.ecosystem-section::before,
.ecosystem-section::after {
  position:absolute;
  z-index:0;
  border:1px solid rgba(11,79,156,.09);
  border-radius:50%;
  content:'';
  pointer-events:none;
}
.ecosystem-section::before { width:440px; height:440px; top:-270px; left:-180px; }
.ecosystem-section::after { width:340px; height:340px; right:-180px; bottom:-200px; }
.ecosystem-section .container { position:relative; z-index:1; }
.ecosystem-section .section-head { max-width:760px; margin-inline:auto; }
.ecosystem-section .section-head h2 { max-width:650px; margin-inline:auto; }
.ecosystem-stat-strip {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  margin:28px 0;
  overflow:hidden;
  border:1px solid #DDE8F1;
  border-radius:13px;
  background:#DDE8F1;
  box-shadow:0 12px 28px rgba(8,45,88,.055);
}
.ecosystem-stat-strip > div { min-height:91px; padding:18px 20px; background:rgba(255,255,255,.91); }
.ecosystem-stat-strip strong { display:block; margin-bottom:3px; color:var(--blue); font-family:'Manrope',sans-serif; font-size:1.52rem; line-height:1; }
.ecosystem-stat-strip span { color:#58708A; font-size:.72rem; font-weight:700; line-height:1.35; }
.ecosystem-section .home-ecosystem-flow { margin-bottom:30px; border:1px solid rgba(135,185,233,.26); border-radius:14px; }
.ecosystem-section .pillar-grid { gap:20px; }
.ecosystem-section .pillar-card {
  position:relative;
  min-height:480px;
  border:1px solid #DCE7F0;
  border-top-width:4px;
  border-radius:14px;
  background:#FFF;
  box-shadow:0 11px 25px rgba(8,45,88,.055);
}
.ecosystem-section .pillar-card::before {
  position:absolute;
  z-index:2;
  top:14px;
  left:14px;
  display:grid;
  width:31px;
  height:31px;
  place-items:center;
  border:1px solid rgba(255,255,255,.45);
  border-radius:8px;
  background:rgba(5,28,56,.76);
  color:#FFF;
  font-size:.68rem;
  font-weight:800;
  box-shadow:0 4px 12px rgba(0,0,0,.18);
}
.ecosystem-section .pillar-card:nth-child(1)::before { content:'01'; }
.ecosystem-section .pillar-card:nth-child(2)::before { content:'02'; }
.ecosystem-section .pillar-card:nth-child(3)::before { content:'03'; }
.ecosystem-section .pillar-card:hover { transform:translateY(-8px); box-shadow:0 20px 40px rgba(8,45,88,.13); }
.ecosystem-section .pillar-media { height:194px; }
.ecosystem-section .pillar-media::after { position:absolute; inset:0; background:linear-gradient(180deg,transparent 28%,rgba(5,28,56,.62)); content:''; }
.ecosystem-section .pillar-body { padding:22px 22px 18px; }
.ecosystem-section .pillar-category { margin-bottom:10px; }
.ecosystem-section .pillar-body h3 { font-size:1.32rem; letter-spacing:-.025em; }
.ecosystem-section .pillar-body p { min-height:88px; font-size:.88rem; }
.ecosystem-section .pillar-tags { gap:7px; }
.ecosystem-section .pillar-tag { padding:5px 8px; border:1px solid #E2EAF1; border-radius:999px; background:#F8FAFC; font-size:.68rem; }
.ecosystem-section .pillar-footer { margin-top:auto; padding:0 22px 22px; }
.ecosystem-section .pillar-footer .btn { border-color:#C8DAEA; color:var(--navy); background:#FFF; }
.ecosystem-section .pillar-footer .btn:hover { border-color:var(--blue); background:#EBF3FC; }
.ecosystem-connection-panel {
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
  margin-top:24px;
  padding:20px 22px;
  border:1px solid #D5E5F2;
  border-radius:13px;
  background:linear-gradient(100deg,#FFF 0%,#F4F9FF 100%);
}
.ecosystem-connection-icon { display:grid; width:45px; height:45px; place-items:center; border-radius:12px; background:#EAF2FB; color:var(--blue); }
.ecosystem-connection-icon .lucide { width:21px; height:21px; }
.ecosystem-connection-panel span { display:block; margin-bottom:4px; color:var(--blue); font-size:.66rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.ecosystem-connection-panel h3 { margin:0; color:var(--navy); font-family:'Manrope',sans-serif; font-size:1rem; line-height:1.45; }
.ecosystem-connection-panel .btn { white-space:nowrap; }
@media (max-width: 800px) {
  .ecosystem-stat-strip { grid-template-columns:repeat(2,1fr); }
  .ecosystem-section .pillar-grid { grid-template-columns:1fr; }
  .ecosystem-section .pillar-card { min-height:0; }
  .ecosystem-section .pillar-body p { min-height:0; }
  .ecosystem-connection-panel { grid-template-columns:auto minmax(0,1fr); }
  .ecosystem-connection-panel .btn { grid-column:1 / -1; width:100%; justify-content:center; }
}
@media (max-width: 460px) {
  .ecosystem-stat-strip { grid-template-columns:1fr; }
  .ecosystem-section .pillar-media { height:175px; }
  .ecosystem-connection-panel { grid-template-columns:1fr; }
}

/* Mobile responsive scaling */
@media (max-width: 480px) {
  .preloader-emblem {
    width: 120px;
    height: 120px;
    margin-bottom: 18px;
  }
  .emblem-core {
    width: 82px;
    height: 82px;
    padding: 10px;
  }
  .preloader-brand {
    font-size: 1rem;
    letter-spacing: 0.14em;
  }
  .preloader-tagline {
    font-size: 0.76rem;
  }
  .preloader-progress-wrap {
    width: 180px;
  }
}

/* ==========================================================================
   COHESIVE INTENTIONAL BODY DESIGN SYSTEM
   Standardized section bands, typography hierarchy, proof statistics,
   4-step village workflow, interactive boost tiles & ecosystem architecture.
   ========================================================================== */

/* --- Standardized Section Bands --- */
.band {
  width: 100%;
  padding: clamp(54px, 7vw, 92px) 0;
  position: relative;
}
.band--white {
  background-color: #FFFFFF;
}
.band--tint {
  background: #F8FAFC;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.band--gradient {
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--border-light);
}
.band--navy {
  background-color: var(--navy);
  color: #FFFFFF;
}

/* --- Section Headings Hierarchy --- */
.section-head {
  max-width: 820px;
  margin-bottom: 44px;
}
.section-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.eyebrow-pill--blue {
  background: var(--blue-light);
  color: var(--blue);
}
.eyebrow-pill--gold {
  background: var(--gold-light);
  color: var(--gold);
}
.eyebrow-pill--green {
  background: var(--green-light);
  color: var(--green);
}
.eyebrow-pill--navy {
  background: #EBF3FC;
  color: var(--navy);
}
.section-head h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 16px;
}
.band--navy .section-head h2 {
  color: #FFFFFF;
}
.section-head p {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}
.band--navy .section-head p {
  color: rgba(255, 255, 255, 0.85);
}

/* --- Nationwide Proof / Numbers Band --- */
.proof-band {
  background: #F8FAFD;
  border-bottom: 1px solid var(--border-light);
  padding: clamp(26px, 3.5vw, 38px) 0;
  position: relative;
}
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 20px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid #DFE7EE;
  box-shadow: 0 4px 16px rgba(8, 45, 88, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  cursor: pointer;
  user-select: none;
  outline: none;
  overflow: hidden;
}
/* Clean permanent top accent stripe per metric */
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
}
.stat-card[data-accent="gold"]::before { background: linear-gradient(90deg, #D4AF37, #F59E0B); }
.stat-card[data-accent="blue"]::before { background: linear-gradient(90deg, #0B4F9C, #3B82F6); }
.stat-card[data-accent="green"]::before { background: linear-gradient(90deg, #0B8F4D, #22C55E); }
.stat-card[data-accent="navy"]::before { background: linear-gradient(90deg, #082D58, #1E3A8A); }

.stat-card:hover,
.stat-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(8, 45, 88, 0.08);
  border-color: #CBDCEE;
}
.stat-card:active {
  transform: translateY(0);
}

.stat-number {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
  display: block;
  letter-spacing: -0.02em;
}
.stat-number.is-animating {
  color: var(--blue, #0B4F9C);
}

.stat-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 5px;
}
.stat-tag--gold { color: #A6791E; }
.stat-tag--blue { color: #0B4F9C; }
.stat-tag--green { color: #0B8F4D; }
.stat-tag--navy { color: #082D58; }

.stat-desc {
  font-size: 0.83rem;
  color: #5B7288;
  margin: 0;
  line-height: 1.45;
}

@media (prefers-reduced-motion: reduce) {
  .stat-card,
  .stat-number,
  .stat-number.is-finished,
  .stat-tag::before {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* --- 4-Step Process Track (How It Works) --- */
.steps-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.step-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 30px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(8, 45, 88, 0.03);
  transition: var(--transition);
}
.step-card:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 30px rgba(11, 79, 156, 0.08);
  transform: translateY(-4px);
}
.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.step-num {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--navy);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1rem;
}
.step-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 10px;
}
.step-card p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}
.step-badge {
  margin-top: 18px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --- Flagship Boost Pathways Grid --- */
.pathway-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: stretch;
}
.pathway-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border: 2px solid transparent;
  box-shadow: 0 10px 30px rgba(8, 45, 88, 0.06);
  transition: var(--transition);
}
.pathway-card--hustle {
  --accent: var(--blue);
  --accent-soft: var(--blue-soft);
  --accent-light: #EBF3FC;
  border-color: #BFDBFE;
  border-top: 6px solid var(--blue);
}
.pathway-card--chama {
  --accent: var(--gold);
  --accent-soft: #FFFDF5;
  --accent-light: #FEF3C7;
  border-color: #FED7AA;
  border-top: 6px solid var(--gold);
}
.pathway-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(8, 45, 88, 0.1);
}
.pathway-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.pathway-pill {
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--accent-light);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pathway-count {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748B;
}
.pathway-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pathway-desc {
  color: #475569;
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 0 0 24px;
}
.boost-tiles-heading {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.boost-tile-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.boost-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--navy);
  transition: var(--transition);
}
.boost-tile:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(8, 45, 88, 0.05);
}
.boost-tile-content {
  display: flex;
  align-items: center;
  gap: 12px;
}
.boost-tile-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.boost-tile-text {
  display: flex;
  flex-direction: column;
}
.boost-tile-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}
.boost-tile-sub {
  font-size: 0.78rem;
  color: #64748B;
  margin-top: 2px;
}
.boost-tile-arrow {
  color: #94A3B8;
  transition: var(--transition);
  flex-shrink: 0;
}
.boost-tile:hover .boost-tile-arrow {
  color: var(--accent);
  transform: translateX(3px);
}
.pathway-cta-btn {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 10px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- Ecosystem: 3 Pillars Grid --- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pillar-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(8, 45, 88, 0.04);
  transition: var(--transition);
}
.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(8, 45, 88, 0.1);
}
.pillar-card--blue { border-top: 5px solid var(--blue); }
.pillar-card--gold { border-top: 5px solid var(--gold); }
.pillar-card--navy { border-top: 5px solid var(--navy); }
.pillar-media {
  height: 160px;
  overflow: hidden;
  position: relative;
}
.pillar-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.pillar-card:hover .pillar-media img {
  transform: scale(1.05);
}
.pillar-body {
  padding: 24px;
}
.pillar-category {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: block;
}
.pillar-card--blue .pillar-category { color: var(--blue); }
.pillar-card--gold .pillar-category { color: var(--gold); }
.pillar-card--navy .pillar-category { color: var(--navy); }
.pillar-body h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 10px;
}
.pillar-body p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 16px;
}
.pillar-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.pillar-tag {
  background: #F1F5F9;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}
.pillar-footer {
  padding: 0 24px 24px;
}

/* --- Hero Sub-Action Strip --- */
.hero-sub-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  font-size: 0.9rem;
  color: #64748B;
}
.hero-sub-actions a,
.hero-sub-actions button {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.hero-sub-actions a:hover,
.hero-sub-actions button:hover {
  color: var(--navy);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .steps-track {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-band {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pathway-grid {
    grid-template-columns: 1fr;
  }
  .steps-track {
    grid-template-columns: 1fr;
  }
  .stat-band {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .stat-card {
    padding: 16px 14px !important;
    border-radius: 12px !important;
  }
  .stat-number {
    font-size: clamp(1.6rem, 5vw, 2.1rem) !important;
    margin-bottom: 4px !important;
  }
  .stat-tag {
    font-size: 0.68rem !important;
    letter-spacing: 0.05em !important;
  }
  .stat-desc {
    font-size: 0.77rem !important;
    line-height: 1.35 !important;
  }
  .pillar-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   BOOST CATEGORY SELECTOR MODAL & STREAMLINED PATHWAY CARDS
   Allows category options to appear dynamically upon clicking Apply.
   ========================================================================== */
.modal-dialog--boost {
  max-width: 740px !important;
}
.boost-modal-eyebrow {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 4px;
}
.boost-modal-instruction {
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 18px;
}
.modal-boost-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal-boost-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #F8FAFC;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--navy);
  transition: all 0.2s ease;
  gap: 16px;
}
.modal-boost-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(8, 45, 88, 0.08);
}
.modal-boost-card--hustle:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
}
.modal-boost-card--chama:hover {
  border-color: var(--gold);
  background: #FFFDF5;
}
.modal-boost-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.modal-boost-card--hustle .modal-boost-icon {
  color: var(--blue);
}
.modal-boost-card--chama .modal-boost-icon {
  color: var(--gold-dark);
}
.modal-boost-info {
  flex: 1;
}
.modal-boost-info h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 3px;
}
.modal-boost-info p {
  font-size: 0.82rem;
  color: #64748B;
  margin: 0;
  line-height: 1.4;
}
.modal-boost-action {
  font-size: 0.84rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.modal-boost-card--hustle .modal-boost-action {
  color: var(--blue);
}
.modal-boost-card--chama .modal-boost-action {
  color: var(--gold-dark);
}
.modal-boost-card:hover .modal-boost-action {
  transform: translateX(4px);
}
.pathway-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 24px;
}
.pathway-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.5;
}
.pathway-feature-item .lucide {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.pathway-limit-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 20px;
}
.pathway-limit-tag--hustle {
  background: #EBF3FC;
  color: var(--blue);
}
.pathway-limit-tag--chama {
  background: #FEF3C7;
  color: #92400E;
}
.pathway-btn-helper {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
  display: block;
}

/* ==========================================================================
   HERO: FULL-BLEED CINEMATIC (Option A)
   Photo fills the section; a directional navy scrim keeps the left side
   readable while the entrepreneur on the right stays bright.
   ========================================================================== */
.hero--cinematic {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, calc(100vh - 150px), 820px);
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

/* Photo layer */
.hero--cinematic .hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero--cinematic .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 24%;
  transform: scale(1.04);
  transform-origin: 65% top;
  animation: heroKenBurns 9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  will-change: transform;
}
@keyframes heroKenBurns {
  from { transform: scale(1.04); }
  to   { transform: scale(1); }
}

/* Directional scrim: deep navy left → clear right, plus a soft floor shade */
.hero--cinematic .hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg,
      rgba(6, 30, 60, 0.92) 0%,
      rgba(6, 30, 60, 0.82) 28%,
      rgba(6, 30, 60, 0.45) 52%,
      rgba(6, 30, 60, 0.05) 72%,
      rgba(6, 30, 60, 0) 100%),
    linear-gradient(0deg, rgba(6, 30, 60, 0.45) 0%, rgba(6, 30, 60, 0) 30%);
}

/* Content */
.hero--cinematic .hero-inner {
  position: relative;
  width: min(1240px, 100% - 64px);
  padding: 64px 0 80px;
}
.hero--cinematic .hero-copy {
  max-width: 960px;
  padding: 0;
}

.hero--cinematic .eyebrow {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  letter-spacing: 0.16em;
}
.hero--cinematic .eyebrow::before {
  background: var(--gold);
}

.hero--cinematic h1.hero-title {
  color: #FFFFFF;
  font-size: clamp(2.9rem, 5.4vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin: 22px 0 22px;
  max-width: 760px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);
}
.hero--cinematic h1.hero-title em {
  color: #E3B562; /* gold, lifted slightly for contrast on navy */
}

.hero--cinematic p.hero-subtitle {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
  line-height: 1.65;
  max-width: 620px;
  margin-bottom: 34px;
}

.hero--cinematic .hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 6px;
}
@media (min-width: 992px) {
  .hero--cinematic .hero-actions {
    flex-wrap: nowrap;
  }
  .hero--cinematic .hero-actions .btn {
    white-space: nowrap;
    flex: 0 0 auto;
  }
}
/* Hero Action Buttons - Premium Micro-interactions & Visual Polish */
.hero--cinematic .hero-actions .btn {
  position: relative;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  user-select: none;
}
.hero--cinematic .hero-actions .btn i,
.hero--cinematic .hero-actions .btn svg {
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), stroke 0.24s ease;
}

/* 1. Explore Button (Vibrant Blue) */
.hero--cinematic .hero-actions .btn-primary {
  background: linear-gradient(135deg, #0e5dbb 0%, #0a4386 100%);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 6px 18px rgba(10, 67, 134, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.hero--cinematic .hero-actions .btn-primary:hover {
  background: linear-gradient(135deg, #1674e3 0%, #0e54a8 100%);
  color: #FFFFFF !important;
  transform: translateY(-2.5px);
  box-shadow: 0 12px 28px rgba(14, 93, 187, 0.55), 0 0 0 2px rgba(147, 197, 253, 0.45);
}
.hero--cinematic .hero-actions .btn-primary:hover i,
.hero--cinematic .hero-actions .btn-primary:hover svg {
  transform: rotate(25deg);
}
.hero--cinematic .hero-actions .btn-primary:active,
.hero--cinematic .hero-actions .btn-primary:focus-visible {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 3px 10px rgba(10, 67, 134, 0.55), 0 0 0 3px rgba(147, 197, 253, 0.7);
  outline: none;
}

/* 2. Join Village Button (Warm Gold) */
.hero--cinematic .hero-actions .btn-gold {
  background: linear-gradient(135deg, #D49A37 0%, #B67F24 100%);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 6px 18px rgba(182, 127, 36, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.hero--cinematic .hero-actions .btn-gold:hover {
  background: linear-gradient(135deg, #E5A83E 0%, #C48927 100%);
  color: #FFFFFF !important;
  transform: translateY(-2.5px);
  box-shadow: 0 12px 28px rgba(212, 154, 55, 0.6), 0 0 0 2px rgba(253, 224, 71, 0.5);
}
.hero--cinematic .hero-actions .btn-gold:hover i,
.hero--cinematic .hero-actions .btn-gold:hover svg {
  transform: scale(1.18);
}
.hero--cinematic .hero-actions .btn-gold:active,
.hero--cinematic .hero-actions .btn-gold:focus-visible {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 3px 10px rgba(182, 127, 36, 0.55), 0 0 0 3px rgba(253, 224, 71, 0.7);
  outline: none;
}

/* 3. Download Documents Button (Glassmorphic Frosted Pill -> Crisp Contrast) */
.hero--cinematic .hero-actions .btn-outline {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.hero--cinematic .hero-actions .btn-outline:hover {
  background: #FFFFFF;
  color: #061e3c !important;
  border-color: #FFFFFF;
  transform: translateY(-2.5px);
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.35), 0 6px 16px rgba(0, 0, 0, 0.3);
}
.hero--cinematic .hero-actions .btn-outline:hover i,
.hero--cinematic .hero-actions .btn-outline:hover svg {
  transform: translateY(2px);
  stroke: #061e3c !important;
}
.hero--cinematic .hero-actions .btn-outline:active,
.hero--cinematic .hero-actions .btn-outline:focus-visible {
  background: rgba(255, 255, 255, 0.94);
  color: #061e3c !important;
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25), 0 0 0 3px rgba(255, 255, 255, 0.75);
  outline: none;
}
.hero--cinematic .hero-actions .btn-outline:active i,
.hero--cinematic .hero-actions .btn-outline:active svg {
  stroke: #061e3c !important;
}

.hero--cinematic .hero-sub-actions {
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.62);
}
.hero--cinematic .hero-sub-actions button {
  color: #FFFFFF;
  text-decoration-color: rgba(227, 181, 98, 0.75);
  text-decoration-thickness: 2px;
}
.hero--cinematic .hero-sub-actions button:hover {
  color: #E3B562;
}

/* Frosted caption card, anchored bottom-right over the photo */
.hero--cinematic .photo-caption {
  position: absolute;
  left: auto;
  right: max(32px, calc((100vw - 1240px) / 2));
  bottom: 48px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 18px 48px rgba(6, 30, 60, 0.28);
}
.hero--cinematic .caption-icon {
  color: var(--green);
}
.hero--cinematic .caption-icon svg {
  width: 20px;
  height: 20px;
}

/* Staggered entrance (held while the preloader is visible) */
.hero--cinematic .hero-reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--d, 0) * 110ms + 120ms);
}
.hero-pending .hero--cinematic .hero-reveal {
  opacity: 0;
  transform: translateY(22px);
}
/* Keep the photo still until the page is revealed */
.hero-pending .hero--cinematic .hero-media img {
  animation-play-state: paused;
}

/* Tablet */
@media (max-width: 1024px) {
  .hero--cinematic .hero-scrim {
    background:
      linear-gradient(90deg,
        rgba(6, 30, 60, 0.94) 0%,
        rgba(6, 30, 60, 0.8) 40%,
        rgba(6, 30, 60, 0.35) 70%,
        rgba(6, 30, 60, 0.1) 100%),
      linear-gradient(0deg, rgba(6, 30, 60, 0.45) 0%, rgba(6, 30, 60, 0) 30%);
  }
  .hero--cinematic .photo-caption {
    display: none;
  }
}

/* Mobile: subject sits up top, text anchored to the bottom over a rising scrim */
@media (max-width: 768px) {
  .hero--cinematic {
    min-height: 720px;
    align-items: flex-end;
  }
  .hero--cinematic .hero-media img {
    object-position: 66% 0%;
  }
  .hero--cinematic .hero-scrim {
    background: linear-gradient(0deg,
      rgba(6, 30, 60, 0.97) 0%,
      rgba(6, 30, 60, 0.9) 38%,
      rgba(6, 30, 60, 0.55) 60%,
      rgba(6, 30, 60, 0.1) 82%,
      rgba(6, 30, 60, 0) 100%);
  }
  .hero--cinematic .hero-inner {
    width: calc(100% - 40px);
    padding: 0 0 44px;
  }
  .hero--cinematic .eyebrow {
    font-size: 10.5px;
    letter-spacing: 0.12em;
  }
  .hero--cinematic h1.hero-title {
    font-size: clamp(2.5rem, 11vw, 3.3rem);
    margin: 14px 0 14px;
  }
  .hero--cinematic p.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  .hero--cinematic .hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .hero--cinematic .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero--cinematic .hero-sub-actions {
    font-size: 0.85rem;
    margin-top: 18px;
  }
  .hero--cinematic .hero-sub-actions span:first-child {
    flex-basis: 100%;
  }
  .hero--cinematic .hero-sub-actions span[aria-hidden="true"] {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero--cinematic .hero-media img {
    animation: none;
    transform: none;
  }
  .hero--cinematic .hero-reveal,
  .hero-pending .hero--cinematic .hero-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   SINGAPORE MASHINANI HOME STORY & DOWNLOADS / RESOURCES STYLING
   ========================================================================== */

/* Eyebrow & Badges (Removed AI pill styles) */
.sm-badge {
  display: none !important;
}

/* Section Introductions */
.sm-intro-lead {
  font-size: 1.15rem;
  color: #334A62;
  line-height: 1.75;
  max-width: 820px;
  margin: 0 auto 30px;
}

/* Why Singapore Mashinani: Challenge vs Solution Cards */
.sm-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}
@media (max-width: 820px) {
  .sm-why-grid { grid-template-columns: 1fr; }
}
.sm-why-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 28px;
  border: 1px solid #E1EAF2;
  box-shadow: 0 6px 22px rgba(8, 45, 88, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.sm-why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(8, 45, 88, 0.09);
}
.sm-why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
}
.sm-why-card--red::before { background: #D71920; }
.sm-why-card--gold::before { background: #D7AA42; }
.sm-why-card--blue::before { background: #0B4F9C; }
.sm-why-card--green::before { background: #0B8F4D; }

.sm-why-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.sm-why-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.sm-why-card--red .sm-why-icon { background: #FDE8E8; color: #D71920; }
.sm-why-card--gold .sm-why-icon { background: #FBF2DD; color: #B18A45; }
.sm-why-card--blue .sm-why-icon { background: #EBF3FC; color: #0B4F9C; }
.sm-why-card--green .sm-why-icon { background: #E7F4EB; color: #0B8F4D; }

.sm-why-header h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0;
  line-height: 1.35;
}
.sm-why-barrier {
  font-size: 0.92rem;
  color: #63778C;
  line-height: 1.65;
  margin-bottom: 14px;
}
.sm-why-solution {
  background: #F8FAFC;
  border-radius: 8px;
  padding: 12px 16px;
  border-left: 3px solid var(--green);
  font-size: 0.88rem;
  color: #17263A;
  line-height: 1.6;
}
.sm-why-solution strong {
  color: #0B8F4D;
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

/* ==========================================================================
   HOW SINGAPORE MASHINANI WORKS (3-PHASE ROADMAP & 5-PATHWAY INTERACTIVE STAGE)
   ========================================================================== */

/* Part A: 7-Step Referral Architecture */
.sm-framework-wrap {
  background: #F8FAFD;
  border: 1px solid #DFE7F0;
  border-radius: 16px;
  padding: 36px 32px;
  margin: 36px 0 32px;
}
.sm-framework-header {
  border-bottom: 1px solid #E4ECF3;
  padding-bottom: 22px;
  margin-bottom: 28px;
}
.sm-framework-tag {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 6px;
}
.sm-framework-title-group h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 8px;
}
.sm-framework-subtitle {
  font-size: 0.95rem;
  color: #4A5F73;
  line-height: 1.65;
  margin: 0;
  max-width: 860px;
}

.sm-roadmap-grid {
  display: grid;
  grid-template-columns: 3fr 2fr 2fr;
  gap: 20px;
}
@media (max-width: 1080px) {
  .sm-roadmap-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.sm-roadmap-phase {
  background: #FFFFFF;
  border: 1px solid #DCE6F0;
  border-radius: 14px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(8, 45, 88, 0.03);
}
.sm-phase-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #EEF3F8;
  margin-bottom: 16px;
}
.sm-phase-index {
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 6px;
}
.sm-phase-banner--blue .sm-phase-index {
  background: #E8F1FC;
  color: #074B9E;
}
.sm-phase-banner--green .sm-phase-index {
  background: var(--green-light);
  color: var(--green);
}

.sm-phase-title-text h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
}
.sm-phase-title-text span {
  font-size: 0.8rem;
  color: #71879B;
  font-weight: 600;
}

.sm-phase-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.sm-roadmap-card {
  background: #F9FBFC;
  border: 1px solid #E5EDF4;
  border-radius: 10px;
  padding: 16px;
  transition: all 0.2s ease;
}
.sm-roadmap-card:hover {
  background: #FFFFFF;
  border-color: #BBD4E9;
  box-shadow: 0 6px 18px rgba(8, 45, 88, 0.06);
  transform: translateY(-2px);
}
.sm-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.sm-step-badge {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--navy);
  background: #EDF3F8;
  padding: 3px 8px;
  border-radius: 5px;
  letter-spacing: 0.04em;
}
.sm-step-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--blue-light);
  display: grid;
  place-items: center;
  color: var(--blue);
}
.sm-step-icon-wrap .lucide {
  width: 17px;
  height: 17px;
}
.sm-roadmap-card h5 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 8px;
}
.sm-roadmap-card p {
  font-size: 0.94rem;
  color: #4A5F73;
  line-height: 1.6;
  margin: 0;
}

/* Institutional Safeguard Banner */
.sm-safeguard-banner {
  background: #F2F7FB;
  border: 1px solid #DFE8F1;
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 32px 0 54px;
}
.sm-safeguard-main {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
}
.sm-safeguard-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #D5E3EF;
  display: grid;
  place-items: center;
  color: var(--green);
  flex-shrink: 0;
}
.sm-safeguard-icon-box .lucide {
  width: 24px;
  height: 24px;
  color: var(--green);
}
.sm-safeguard-text strong {
  display: block;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 5px;
  font-weight: 800;
}
.sm-safeguard-text p {
  margin: 0;
  font-size: 0.94rem;
  color: #4A5F73;
  line-height: 1.6;
}
.sm-safeguard-btn {
  flex-shrink: 0;
  padding: 11px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
@media (max-width: 860px) {
  .sm-safeguard-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }
  .sm-safeguard-btn {
    align-self: flex-start;
  }
}

/* Part B: Five Integrated Support Pathways (Interactive Split-Stage Explorer) */
.sm-pathways-stage-wrapper {
  margin-top: 10px;
}
.sm-pathways-head {
  margin-bottom: 32px;
}
.sm-stage-container {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 28px;
  background: #FFFFFF;
  border: 1px solid #DFE7EE;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 8px 30px rgba(8, 45, 88, 0.05);
}
@media (max-width: 980px) {
  .sm-stage-container {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }
}

.sm-stage-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sm-nav-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid #E6EEF5;
  background: #FAFCFE;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
}
.sm-nav-tab:hover {
  background: #F1F6FB;
  border-color: #C8DBEC;
  transform: translateX(2px);
}
.sm-tab-num {
  font-size: 0.82rem;
  font-weight: 800;
  color: #71879B;
  background: #EEF4F8;
  padding: 5px 9px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}
.sm-tab-info {
  flex: 1;
  min-width: 0;
}
.sm-tab-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  transition: color 0.2s ease;
}
.sm-tab-kicker {
  font-size: 0.78rem;
  color: #7890A5;
  display: block;
  margin-top: 3px;
  font-weight: 500;
}
.sm-tab-arrow {
  width: 18px;
  height: 18px;
  color: #A0B2C2;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

/* Active Tab State */
.sm-nav-tab.is-active {
  background: #EFF6FC;
  border-color: #B5D4F1;
  box-shadow: 0 4px 14px rgba(11, 79, 156, 0.08);
}
.sm-nav-tab.is-active .sm-tab-num {
  background: var(--blue);
  color: #FFFFFF;
}
.sm-nav-tab.is-active .sm-tab-name {
  color: var(--blue);
  font-weight: 800;
}
.sm-nav-tab.is-active .sm-tab-arrow {
  color: var(--blue);
  transform: translateX(3px);
}

/* Right Stage Display Panels */
.sm-stage-display {
  background: #F8FAFD;
  border: 1px solid #E1EAF2;
  border-radius: 14px;
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
}
@media (max-width: 600px) {
  .sm-stage-display {
    padding: 22px 18px;
  }
}

.sm-stage-panel {
  display: none;
  flex-direction: column;
  height: 100%;
  animation: smFadeIn 0.25s ease-out;
}
.sm-stage-panel.is-active {
  display: flex;
}
@keyframes smFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.sm-panel-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.sm-panel-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--blue-light);
  display: grid;
  place-items: center;
  color: var(--blue);
  flex-shrink: 0;
}
.sm-panel-icon-box .lucide {
  width: 26px;
  height: 26px;
  color: var(--blue);
}
.sm-panel-icon-box--gold {
  background: var(--gold-light);
  color: #A66B00;
}
.sm-panel-icon-box--gold .lucide {
  color: #A66B00;
}
.sm-panel-icon-box--green {
  background: var(--green-light);
  color: var(--green);
}
.sm-panel-icon-box--green .lucide {
  color: var(--green);
}
.sm-panel-icon-box--red {
  background: var(--red-light);
  color: var(--red);
}
.sm-panel-icon-box--red .lucide {
  color: var(--red);
}
.sm-panel-icon-box--purple {
  background: #F3EEFA;
  color: #6B55B7;
}
.sm-panel-icon-box--purple .lucide {
  color: #6B55B7;
}

.sm-panel-category {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  display: block;
}
.sm-panel-header-text h4 {
  margin: 4px 0 0;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}

.sm-panel-desc {
  font-size: 0.96rem;
  color: #38546E;
  line-height: 1.65;
  margin: 0 0 24px;
}

.sm-panel-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.sm-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: #26384A;
  line-height: 1.55;
}
.sm-highlight-item .lucide {
  width: 19px;
  height: 19px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

.sm-panel-beneficiaries {
  background: #FFFFFF;
  border: 1px solid #DDE7F0;
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  font-size: 0.93rem;
  color: #4A5F73;
  line-height: 1.5;
}
.sm-panel-beneficiaries .lucide {
  width: 22px;
  height: 22px;
  color: var(--blue);
  flex-shrink: 0;
}
.sm-panel-beneficiaries strong {
  color: var(--navy);
  font-weight: 800;
  margin-right: 4px;
}

.sm-panel-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 10px;
}
.sm-panel-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 0.92rem;
  font-weight: 700;
}
@media (max-width: 600px) {
  .sm-panel-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .sm-panel-actions .btn {
    justify-content: center;
    width: 100%;
  }
}

/* Membership Tiers Comparison Grid */
.sm-membership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
@media (max-width: 900px) {
  .sm-membership-grid {
    grid-template-columns: 1fr;
  }
}
.sm-member-card {
  background: #FFFFFF;
  border: 1px solid #DCE6F0;
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(8, 45, 88, 0.05);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sm-member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(8, 45, 88, 0.1);
}
.sm-member-card--featured {
  border: 2px solid var(--blue);
  box-shadow: 0 12px 32px rgba(11, 79, 156, 0.12);
}
.sm-member-card-tag {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--blue);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}
.sm-member-tier-title {
  font-size: 1.35rem;
  color: var(--navy);
  margin: 0 0 6px;
  font-weight: 800;
}
.sm-member-tier-sub {
  font-size: 0.85rem;
  color: #62778C;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}
.sm-member-fee {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #EAF0F6;
}
.sm-member-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  font-family: 'Manrope', sans-serif;
}
.sm-member-period {
  font-size: 0.85rem;
  color: #6C8197;
}
.sm-member-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
  color: #374B5E;
}
.sm-member-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.sm-member-features .lucide {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Downloads & Resources Cards */
.sm-downloads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
@media (max-width: 960px) {
  .sm-downloads-grid { grid-template-columns: 1fr; }
}
.sm-download-card {
  background: #FFFFFF;
  border: 1px solid #D6E3EF;
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 20px rgba(8, 45, 88, 0.04);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.sm-download-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 16px 32px rgba(8, 45, 88, 0.09);
}
.sm-download-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.sm-pdf-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #FEECEB;
  color: #D71920;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
}
.sm-download-pages {
  font-size: 0.8rem;
  color: #6C8298;
  font-weight: 600;
}
.sm-download-title {
  font-size: 1.18rem;
  color: var(--navy);
  margin: 0 0 10px;
  font-weight: 800;
  line-height: 1.35;
}
.sm-download-desc {
  font-size: 0.88rem;
  color: #4C627A;
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}
.sm-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  background: #F4F8FC;
  color: var(--blue);
  border: 1.5px solid #CDDEEE;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.sm-download-btn i,
.sm-download-btn svg {
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), stroke 0.24s ease;
}
.sm-download-btn:hover {
  background: linear-gradient(135deg, #0e5dbb 0%, #0a4386 100%);
  color: #FFFFFF !important;
  border-color: #0a4386;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 79, 156, 0.32), 0 0 0 2px rgba(147, 197, 253, 0.35);
}
.sm-download-btn:hover i,
.sm-download-btn:hover svg {
  transform: translateY(2px);
  stroke: #FFFFFF !important;
}
.sm-download-btn:active,
.sm-download-btn:focus-visible {
  transform: translateY(1px) scale(0.985);
  box-shadow: 0 3px 8px rgba(11, 79, 156, 0.4), 0 0 0 3px rgba(147, 197, 253, 0.6);
  outline: none;
}

/* Action Grid (Get Involved) */
.sm-action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
@media (max-width: 920px) {
  .sm-action-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sm-action-grid { grid-template-columns: 1fr; }
}
.sm-action-box {
  background: #FFFFFF;
  border: 1px solid #DDE7F0;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(8, 45, 88, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.sm-action-box:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
}
.sm-action-box h4 {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 8px 0 6px;
}
.sm-action-box p {
  font-size: 0.86rem;
  color: #556B82;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

/* ==========================================================================
   MOBILE & MULTI-DEVICE RESPONSIVE REFINEMENTS
   ========================================================================== */

/* Section 1: Intro Split */
.sm-intro-box {
  background: linear-gradient(145deg, #F9FBFC 0%, #FFFFFF 100%);
  border: 1px solid #DFE7EE;
  border-radius: 16px;
  padding: clamp(20px, 3.5vw, 44px);
  box-shadow: 0 10px 30px rgba(8, 45, 88, 0.05);
  margin-bottom: 32px;
}
.sm-intro-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: 36px;
  align-items: center;
}
@media (max-width: 900px) {
  .sm-intro-split {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
}

/* Section 7: About MCV Split */
.sm-about-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) {
  .sm-about-split {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
}

/* Modal Form Rows */
.modal-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 540px) {
  .modal-form-row {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }
}

.modal-form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) {
  .modal-form-row-3 {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }
}

/* Networks page split */
.networks-split {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 820px) {
  .networks-split {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
}

/* Contact page form row */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 580px) {
  .form-row-2 {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
}

/* Chapa Boosts grids */
.chapa-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
@media (max-width: 800px) {
  .chapa-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
}

.chapa-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
@media (max-width: 900px) {
  .chapa-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
}

/* General Mobile Safety Adjustments */
@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px);
    padding-left: 0;
    padding-right: 0;
  }
  .band {
    padding: clamp(36px, 8vw, 56px) 0;
  }
  .section-head h2,
  .section-heading h2 {
    font-size: clamp(1.4rem, 6.5vw, 1.8rem) !important;
  }
  .sm-intro-lead {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 22px;
  }
  .modal-box {
    width: 94% !important;
    max-width: 94% !important;
    padding: 22px 16px !important;
    max-height: 90vh !important;
    overflow-y: auto;
  }
}
