:root {
    --primary: #2E7D32;
    --secondary: #0056b3;
    --accent: #FFD700;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --color-primary: #2E7D32;
    --color-primary-light: #4caf50;
    --color-text: var(--dark);
    --color-muted: #555;
    --color-bg: var(--light);
    --font-sans: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-sans); color: var(--color-text); background: var(--color-bg); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

/* Smart Header – white, logo left, nav right */
.site-header { background: #ffffff; box-shadow: 0 2px 12px rgba(0,0,0,.08); position: sticky; top: 0; z-index: 1000; }
.site-header .header-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.site-header .logo-link { display: flex; align-items: center; }
.site-header .logo-link img { height: 60px; width: auto; display: block; }
.nav-main { display: flex; align-items: center; gap: 0.25rem; }
.nav-main a { color: #333; text-decoration: none; font-weight: 500; padding: 0.5rem 0.75rem; border-radius: 6px; transition: color .2s, background .2s; }
.nav-main a:hover { color: var(--primary); }
.nav-main a.nav-cta { background: var(--secondary); color: #fff; margin-left: 0.5rem; }
.nav-main a.nav-cta:hover { background: #004494; color: #fff; }
/* Hamburger */
.nav-toggle { display: none; background: none; border: none; padding: 0.5rem; cursor: pointer; color: var(--dark); }
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; border-radius: 1px; transition: transform .2s, opacity .2s; }

/* Middle header – Bugingo Tech Innovations: professional smart design, link to umuhuza (blue from logo) */
.middle-header {
    background: linear-gradient(135deg, #004494 0%, var(--secondary) 45%, #1565c0 100%);
    color: #fff;
    padding: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.12);
}
.middle-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.06) 0%, transparent 50%);
    pointer-events: none;
}
.middle-header-inner { max-width: 1200px; margin: 0 auto; padding: 0; position: relative; z-index: 1; }
.middle-header-two-cols {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
    flex-wrap: wrap;
    min-height: 52px;
}
/* Vertical columns: left and right on big screens */
.middle-header-col {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    min-height: 52px;
}
.middle-header-col-bugingo {
    justify-content: flex-start;
    padding-left: 1.25rem;
    padding-right: 1rem;
}
.middle-header-col-partner {
    justify-content: flex-end;
    padding-left: 1rem;
    padding-right: 1.25rem;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
}
.middle-header-partner-wrap {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}
.middle-header-partner-logo {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    display: block;
    transition: opacity .25s ease;
    border-radius: 6px;
}
.middle-header-col-partner:hover .middle-header-partner-logo { opacity: 0.9; }
.middle-header-link {
    display: flex;
    align-items: center;
    gap: 0.75rem 1.25rem;
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 0;
    transition: background .25s ease, color .2s ease;
    border-radius: 0;
    min-height: 52px;
    box-sizing: border-box;
    width: 100%;
}
.middle-header-col-bugingo.middle-header-link { justify-content: flex-start; }
.middle-header-col-partner.middle-header-link { justify-content: flex-end; padding: 0.5rem 0; }
.middle-header-link:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
}
.middle-header-link:focus-visible { outline: 2px solid rgba(255,255,255,.8); outline-offset: 2px; }
.middle-header-icon {
    flex-shrink: 0;
    opacity: .92;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s ease;
}
.middle-header-link:hover .middle-header-icon { transform: translateY(-1px); opacity: 1; }
.middle-header-text { display: flex; flex-direction: column; align-items: flex-start; gap: 0.15rem; text-align: left; }
.middle-header-label {
    font-size: clamp(1rem, 2vw + 0.65rem, 1.35rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.middle-header-tagline {
    font-size: clamp(0.7rem, 1.2vw + 0.45rem, 0.8rem);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: .9;
    text-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.middle-header-arrow {
    flex-shrink: 0;
    opacity: .9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s ease;
}
.middle-header-link:hover .middle-header-arrow { transform: translateX(4px); opacity: 1; }
@media (max-width: 768px) {
    .middle-header-two-cols { flex-direction: column; justify-content: center; gap: 0; align-items: stretch; min-height: auto; }
    .middle-header-col { border-left: none !important; padding: 0.5rem 1.25rem !important; min-height: auto; }
    .middle-header-col-bugingo .middle-header-link { justify-content: center; }
    .middle-header-col-bugingo .middle-header-text { align-items: center; text-align: center; }
    .middle-header-col-partner { justify-content: center; border-top: 1px solid rgba(255, 255, 255, 0.2); }
    .middle-header-col-partner.middle-header-link { justify-content: center; }
    .middle-header-partner-wrap { padding: 5px 10px; }
    .middle-header-partner-logo { height: 36px; max-width: 140px; border-radius: 6px; }
}
@media (max-width: 640px) {
    .middle-header-link { flex-wrap: wrap; justify-content: center; gap: 0.5rem; padding: 0.65rem 0.75rem; min-height: auto; }
    .middle-header-icon { order: 0; }
    .middle-header-text { order: 1; width: 100%; align-items: center; text-align: center; }
    .middle-header-arrow { order: 2; width: 100%; justify-content: center; }
    .middle-header-tagline { font-size: clamp(0.65rem, 3vw, 0.75rem); }
    .middle-header-col { flex: none; width: 100%; }
    .middle-header-partner-wrap { padding: 4px 8px; }
    .middle-header-partner-logo { height: 32px; max-width: 120px; border-radius: 6px; }
}
@media (max-width: 480px) {
    .middle-header-inner { padding: 0 0.75rem; }
    .middle-header-label { font-size: clamp(0.9rem, 4vw, 1.05rem); letter-spacing: 0.02em; }
}

.site-main { min-height: 50vh; }

/* Hero – Green/Blue gradient overlay */
.hero { position: relative; min-height: 70vh; display: flex; align-items: center; background: #111; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
/* Hero slider: cross-fade */
.hero-slider .hero-slider-track { position: absolute; inset: 0; }
.hero-slider .hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease-in-out; pointer-events: none; }
.hero-slider .hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slider .hero-slide.is-active { opacity: 1; z-index: 0; pointer-events: auto; }
.hero-slider-dots { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 0.5rem; }
.hero-slider-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.8); background: transparent; cursor: pointer; padding: 0; transition: background 0.2s, border-color 0.2s; }
.hero-slider-dot:hover { background: rgba(255,255,255,0.4); }
.hero-slider-dot.is-active { background: #fff; border-color: #fff; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(46,125,50,0.88) 0%, rgba(46,125,50,0.7) 35%, rgba(0,86,179,0.06) 70%, transparent 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 3rem 1.5rem 4rem; text-align: left; }
.hero-title { margin: 0 0 0.75rem; font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 700; line-height: 1.1; text-shadow: 0 2px 12px rgba(0,0,0,.25); color: #fff; }
.hero-subtitle { margin: 0 0 0.5rem; font-size: 1.35rem; font-weight: 600; opacity: .98; letter-spacing: 0.02em; color: #fff; }
.hero-mission { margin: 0 0 1.5rem; font-size: 1.1rem; font-weight: 400; opacity: .92; line-height: 1.5; max-width: 36em; color: #fff; }
.hero-cta { display: inline-block; padding: 0.85rem 1.75rem; background: var(--secondary); color: #fff; font-weight: 600; text-decoration: none; border-radius: 8px; box-shadow: 0 4px 14px rgba(0,86,179,.35); transition: transform .15s, box-shadow .15s, background .15s; }
.hero-cta:hover { background: #004494; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,86,179,.4); color: #fff; }

/* Hero text entrance animation */
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-animate .hero-title { opacity: 0; animation: heroReveal 0.7s ease-out 0.15s forwards; }
.hero-animate .hero-subtitle { opacity: 0; animation: heroReveal 0.7s ease-out 0.4s forwards; }
.hero-animate .hero-mission { opacity: 0; animation: heroReveal 0.7s ease-out 0.65s forwards; }
.hero-animate .hero-cta { opacity: 0; animation: heroReveal 0.6s ease-out 0.9s forwards; }

@media (max-width: 768px) { .hero-content { padding: 2rem 1rem 3rem; } .hero { min-height: 60vh; } }

/* Sections – breathing spacing */
.section { padding: 4rem 0; }
.section + .section { margin-top: 0; }
.section h2 { margin: 0 0 1rem; color: var(--secondary); font-size: 1.5rem; }
.section p { margin: 0 0 1rem; color: var(--color-muted); line-height: 1.6; }
.section-title { color: var(--secondary); font-size: 2rem; margin-bottom: 1.5rem; font-weight: 700; }
.section-title-center { text-align: center; margin-bottom: 2.5rem; }
.about-text { font-size: 1.1rem; line-height: 1.7; color: var(--color-muted); }
.section-img { width: 100%; max-width: 600px; height: auto; border-radius: 8px; display: block; margin: 1rem 0; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }
.card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.06); text-decoration: none; color: inherit; display: block; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.card img { width: 100%; height: 180px; object-fit: cover; }
.card-body { padding: 1.5rem; }
.card h3 { margin: 0 0 .5rem; font-size: 1.15rem; color: var(--secondary); font-weight: 600; }
.card p { margin: 0; font-size: .95rem; color: var(--color-muted); line-height: 1.5; }
.btn { display: inline-block; background: var(--secondary); color: #fff; padding: 0.6rem 1.25rem; border-radius: 8px; font-weight: 600; text-decoration: none; transition: background .2s, transform .15s; border: none; cursor: pointer; }
.btn:hover { background: #004494; color: #fff; transform: translateY(-1px); }
.site-footer { background: var(--primary); color: #fff; padding: 2rem 0; margin-top: 6rem; text-align: center; }
.site-footer p { margin: 0; font-size: .9rem; opacity: .9; }
.page-hero { background: var(--primary); color: #fff; padding: 2.5rem 0; margin-bottom: 2rem; }
.page-hero h1 { margin: 0; font-size: 1.75rem; font-weight: 700; }

/* Impact Stats – white section, 3 columns, --secondary numbers */
.section-stats { background: #fff; padding: 5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 900px; margin: 0 auto; text-align: center; }
.stat-item { padding: 1rem; }
.stat-icon { font-size: 2rem; color: var(--primary); margin-bottom: 0.75rem; display: block; }
.stat-number { display: block; font-size: 2.5rem; font-weight: 700; color: var(--secondary); line-height: 1.2; margin-bottom: 0.35rem; }
.stat-label { font-size: 1rem; color: var(--color-muted); font-weight: 500; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: 1fr; gap: 2.5rem; } .section-stats { padding: 4rem 0; } }

/* Our Key Initiatives – 2x2 grid, minimal card style */
.section-initiatives { padding: 5rem 0; background: #fff; }
.section-initiatives .section-title-center { color: var(--dark); font-weight: 700; letter-spacing: -0.02em; }
.initiatives-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; max-width: 1000px; margin: 0 auto; }
.initiative-card {
  background: var(--color-bg);
  border-radius: 10px;
  padding: 1.75rem 2rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: border-color .2s, box-shadow .2s;
}
.initiative-card:hover {
  border-color: rgba(46, 125, 50, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.initiative-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}
.initiative-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  padding-left: 0.75rem;
  border-left: 2px solid var(--primary);
}
.initiative-excerpt {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-muted);
}
.initiative-link {
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.initiative-link:hover { color: var(--secondary); }
.initiative-link::after { content: "→"; }
@media (max-width: 768px) {
  .initiatives-grid { grid-template-columns: 1fr; gap: 1.25rem; max-width: none; }
  .section-initiatives { padding: 4rem 0; }
}

/* CTA Banner – full width primary gradient, white text and button */
.section-cta { background: linear-gradient(135deg, var(--primary) 0%, #1a5f4a 50%, #0d3d2e 100%); padding: 5rem 0; text-align: center; }
.cta-inner { max-width: 700px; margin: 0 auto; }
.cta-text { font-size: 1.35rem; line-height: 1.6; color: #fff; margin: 0 0 1.5rem; font-weight: 500; }
.cta-button { display: inline-block; background: #fff; color: var(--primary); padding: 0.85rem 2rem; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 1.05rem; transition: transform .15s, box-shadow .15s; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.25); color: var(--primary); }
@media (max-width: 768px) { .section-cta { padding: 4rem 1.25rem; } .cta-text { font-size: 1.15rem; } }

/* Transparency / Trust section – light gray */
.section-trust { background: #e9ecef; padding: 4rem 0; }
.trust-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.trust-title { margin: 0 0 1rem; font-size: 1.5rem; font-weight: 700; color: var(--secondary); }
.trust-text { margin: 0 0 1rem; font-size: 1.05rem; line-height: 1.7; color: var(--color-muted); }
.trust-link { font-weight: 600; color: var(--primary); text-decoration: none; }
.trust-link:hover { text-decoration: underline; }
@media (max-width: 768px) { .section-trust { padding: 3rem 1.25rem; } }

/* Home about + focus – spacing between major blocks */
.home-about { padding: 5rem 0; }
.home-focus { padding: 5rem 0 4rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card-content { padding: 1.5rem; }
.card .card-img { height: 200px; background-size: cover; background-position: center; }
/* Programs page */
.program-national-reach { font-size: 1.05rem; color: var(--color-muted); margin: 0 0 1.5rem; line-height: 1.5; }
.program-intro { margin-bottom: 3rem; }
.programs-hero-img { width: 100%; height: auto; max-height: 350px; object-fit: cover; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,.08); }
.program-intro-text { font-size: 1.15rem; line-height: 1.7; margin-top: 1.5rem; color: var(--color-muted); }
.programs-list { margin-top: 3rem; }
.programs-empty { color: var(--color-muted, #6c757d); font-size: 1.05rem; margin-top: 1.5rem; }

/* Zig-zag program rows: odd = image left, even = image right; mobile = stack (image top) */
.program-row {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.program-row:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.program-row.even { flex-direction: row-reverse; }
.program-row-img {
  flex: 0 0 42%;
  min-width: 0;
}
.program-row-image {
  width: 100%;
  height: auto;
  min-height: 280px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  display: block;
}
.program-img-placeholder {
  width: 100%;
  min-height: 280px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(46, 125, 50, 0.15) 0%, rgba(0, 86, 179, 0.12) 100%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.program-row-content { flex: 1; min-width: 0; }
.program-card-title { color: var(--secondary); margin: 0 0 0.5rem; font-size: 1.5rem; font-weight: 700; }
.program-card-focus { font-weight: 600; color: var(--color-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 0.75rem; }
.program-card-desc { font-size: 1.05rem; line-height: 1.7; margin-bottom: 1.25rem; color: var(--color-text); }
.program-card-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.program-detail {
  background: #f8f9fa;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border-left: 3px solid var(--primary);
}
.program-detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 0.25rem;
}
.program-detail-value {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-muted);
}

@media (max-width: 768px) {
  .program-row,
  .program-row.even {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
  }
  .program-row-img { flex: none; width: 100%; }
  .program-row-image { min-height: 220px; }
  .program-img-placeholder { min-height: 220px; }
}

/* Governance & Partners – clean content container */
.page-content-box { background: #fff; padding: 2rem; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.06); margin-bottom: 3rem; }
.content-text-box { padding: 0; }
.content-body { font-size: 1.1rem; line-height: 1.8; color: var(--color-text); }
.content-img { width: 100%; height: auto; min-height: 260px; object-fit: cover; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,.08); }

/* Mobile header – hamburger */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-main { position: fixed; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 1rem; box-shadow: 0 8px 20px rgba(0,0,0,.1); gap: 0; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .3s, opacity .2s; z-index: 999; }
    .nav-main.is-open { max-height: 80vh; opacity: 1; }
    .nav-main a { padding: 0.75rem 1rem; width: 100%; text-align: left; border-bottom: 1px solid var(--light); color: #333; }
    .nav-main a.nav-cta { margin-left: 0; margin-top: 0.5rem; text-align: center; }
    .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
    .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 640px) {
    .site-header .container { flex-direction: column; padding: 1rem 0; gap: .75rem; }
}

/* ========== Governance (Transparency & Accountability) ========== */
.gov-page { padding-bottom: 4rem; }
.gov-header { padding: 2rem 0 3rem; border-bottom: 1px solid rgba(0,0,0,.08); }
.gov-header-banner { margin-bottom: 1.5rem; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.gov-banner-img { width: 100%; height: auto; max-height: 320px; object-fit: cover; display: block; }
.gov-title { margin: 0 0 1rem; font-size: 2rem; font-weight: 700; color: var(--dark); letter-spacing: -0.02em; }
.gov-intro { margin: 0; font-size: 1.1rem; line-height: 1.75; color: var(--color-muted); max-width: 720px; }

.gov-section { padding: 3.5rem 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.gov-section:last-of-type { border-bottom: 0; }
.gov-section-title { margin: 0 0 1.75rem; font-size: 1.5rem; font-weight: 700; color: var(--secondary); }

.gov-board-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.gov-member-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow .2s;
}
.gov-member-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.gov-member-photo-wrap { margin-bottom: 1rem; }
.gov-member-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.gov-member-photo-placeholder {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(46,125,50,0.12), rgba(0,86,179,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 2.5rem;
}
.gov-member-name { margin: 0 0 0.25rem; font-size: 1.1rem; font-weight: 700; color: var(--dark); }
.gov-member-role { margin: 0 0 0.75rem; font-size: 0.9rem; color: var(--color-muted); }
.gov-member-bio-toggle {
  background: none;
  border: none;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.gov-member-bio-toggle:hover { color: var(--primary); }
.gov-member-bio {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0,0,0,.06);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-muted);
  text-align: left;
}

.gov-policies-box { padding: 1.5rem; background: #fafbfc; border-radius: 12px; border: 1px solid rgba(0,0,0,.06); }
.gov-policy-block { margin-bottom: 1.5rem; }
.gov-policy-block:last-child { margin-bottom: 0; }
.gov-policy-heading { margin: 0 0 0.5rem; font-size: 1rem; font-weight: 700; color: var(--primary); }
.gov-policy-text { margin: 0; font-size: 0.95rem; line-height: 1.7; color: var(--color-muted); }
.gov-empty { margin: 0; font-size: 0.95rem; color: var(--color-muted); }

@media (max-width: 992px) {
  .board-grid,
  .gov-board-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (max-width: 768px) {
  .board-grid,
  .gov-board-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .gov-two-cols { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2rem; }
  .gov-section { padding: 2.5rem 0; }
}

/* ========== About (Who We Are) page ========== */
.about-page { padding: 2rem 0 4rem; }
.about-header { margin-bottom: 2rem; }
.about-title { margin-bottom: 0.5rem; }
.about-lead { padding-top: 0; }
.about-lead-text { font-size: 1.2rem; line-height: 1.75; color: var(--color-text); margin: 0 0 2rem; }
.about-section { padding: 3rem 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.about-section:last-of-type { border-bottom: 0; }
.about-section-title { color: var(--secondary); font-size: 1.5rem; margin: 0 0 1rem; font-weight: 700; }
.about-body { font-size: 1.05rem; line-height: 1.75; color: var(--color-muted); margin: 0 0 1rem; }
.about-img { width: 100%; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,.08); }
@media (max-width: 768px) { .about-section .split-section { flex-direction: column; } .about-section.about-umuhuza .split-section { flex-direction: column; } }

/* ========== Blog (Newsroom grid + single post) ========== */
.blog-newsroom { padding: 2rem 0 4rem; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.blog-empty-message {
  font-size: 1.1rem; color: var(--color-muted); text-align: center;
  padding: 3rem 1rem; margin: 0;
}
.blog-card-img-placeholder {
  height: 200px; background: linear-gradient(145deg, rgba(0,86,179,0.08), rgba(46,125,50,0.08));
  background-size: cover; background-position: center;
}
.blog-card-date {
  display: block; font-size: 0.85rem; color: var(--color-muted); margin-bottom: 0.35rem;
}
.blog-card-title { color: var(--secondary); font-size: 1.15rem; font-weight: 600; margin: 0 0 0.5rem; }
.blog-card-btn {
  display: inline-block; margin-top: 0.75rem;
  background: var(--primary); color: #fff;
  padding: 0.6rem 1.25rem; border-radius: 8px; font-weight: 600;
  transition: background .2s, transform .15s;
}
.blog-card-btn:hover { background: var(--color-primary-light); color: #fff; transform: translateY(-1px); }
@media (max-width: 768px) { .blog-grid { grid-template-columns: 1fr; } }

.post-single { padding: 2rem 0 4rem; max-width: 720px; }
.post-article { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.post-header { padding: 0 0 1.5rem; }
.post-featured-img-wrap { margin: 0 0 1.5rem; border-radius: 12px 12px 0 0; overflow: hidden; }
.post-featured-img { width: 100%; height: auto; max-height: 400px; object-fit: cover; display: block; }
.post-title { margin: 0 0 0.5rem; font-size: 2rem; font-weight: 700; color: var(--dark); padding: 0 1.5rem; }
.post-meta { padding: 0 1.5rem; font-size: 0.9rem; color: var(--color-muted); }
.post-body { padding: 0 1.5rem 2rem; }
.post-body-text { margin-bottom: 1.25rem; line-height: 1.75; color: var(--color-text); }
.post-body-figure { margin: 1.5rem 0; }
.post-body-img {
  width: 100%; height: auto; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,.08);
  display: block;
}
.post-back { margin-top: 2rem; }

/* ========== Tech section (Bugingo Tech Innovations) – Tech Blue ========== */
:root {
  --tech-blue: #003d82;
  --tech-blue-light: #0052b3;
}
.section-tech { background: linear-gradient(135deg, #f0f6fc 0%, #e8f0f8 100%); padding: 4rem 0; }
.tech-title { color: var(--tech-blue) !important; font-weight: 700; }
.tech-split { display: flex; gap: 3rem; align-items: center; }
.tech-content { flex: 1; min-width: 0; }
.tech-text { font-size: 1.1rem; line-height: 1.7; color: var(--color-muted); margin: 0 0 1.5rem; }
.tech-cta { background: var(--tech-blue); color: #fff !important; padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 600; text-decoration: none; display: inline-block; transition: background .2s, transform .15s; }
.tech-cta:hover { background: var(--tech-blue-light); color: #fff !important; transform: translateY(-2px); }
.tech-visual { flex: 0 0 280px; text-align: center; }
.tech-img { max-width: 100%; height: auto; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,61,130,.15); }
.tech-icon-wrap { width: 160px; height: 160px; margin: 0 auto; border-radius: 16px; background: linear-gradient(145deg, rgba(0,61,130,.12), rgba(0,86,179,.08)); display: flex; align-items: center; justify-content: center; }
.tech-icon { font-size: 4rem; color: var(--tech-blue); }
@media (max-width: 768px) {
  .section-tech { padding: 3rem 0; }
  .tech-split { flex-direction: column; gap: 2rem; }
  .tech-visual { flex: none; }
}

/* ========== UMUHUZA page ========== */
.umuhuza-page { padding: 2rem 0 4rem; max-width: 1000px; }
.umuhuza-header { text-align: center; margin-bottom: 3rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(0,61,130,.12); }
.umuhuza-title { margin: 0 0 0.5rem; font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 700; color: var(--tech-blue); }
.umuhuza-subtitle { margin: 0; font-size: 1.1rem; color: var(--color-muted); line-height: 1.6; }
.umuhuza-architecture { margin-bottom: 3rem; }
.umuhuza-architecture .tech-title { margin-bottom: 1.5rem; }
.umuhuza-arch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.umuhuza-arch-card {
  background: #fff; border: 1px solid rgba(0,61,130,.1); border-radius: 12px; padding: 1.5rem; text-align: center;
  transition: box-shadow .2s, border-color .2s;
}
.umuhuza-arch-card:hover { border-color: rgba(0,61,130,.25); box-shadow: 0 6px 20px rgba(0,61,130,.08); }
.umuhuza-arch-icon { width: 48px; height: 48px; margin: 0 auto 1rem; border-radius: 10px; background: linear-gradient(145deg, rgba(0,61,130,.1), rgba(0,61,130,.06)); display: flex; align-items: center; justify-content: center; }
.umuhuza-arch-icon i { font-size: 1.4rem; color: var(--tech-blue); }
.umuhuza-arch-title { margin: 0 0 0.5rem; font-size: 1.05rem; font-weight: 700; color: var(--tech-blue); }
.umuhuza-arch-desc { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--color-muted); }
.umuhuza-features { margin-bottom: 2rem; }
.umuhuza-features .tech-title { margin-bottom: 1.5rem; }
.umuhuza-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.umuhuza-feature-card {
  background: #fff; border: 1px solid rgba(0,61,130,.1); border-radius: 12px; padding: 1.75rem; border-left: 4px solid var(--tech-blue);
  transition: box-shadow .2s;
}
.umuhuza-feature-card:hover { box-shadow: 0 6px 20px rgba(0,61,130,.1); }
.umuhuza-feature-icon { margin-bottom: 1rem; }
.umuhuza-feature-icon i { font-size: 1.75rem; color: var(--tech-blue); }
.umuhuza-feature-title { margin: 0 0 0.5rem; font-size: 1.05rem; font-weight: 700; color: var(--dark); }
.umuhuza-feature-desc { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--color-muted); }
.umuhuza-back { margin-top: 2rem; }
@media (max-width: 992px) {
  .umuhuza-arch-grid { grid-template-columns: repeat(2, 1fr); }
  .umuhuza-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .umuhuza-arch-grid { grid-template-columns: 1fr; gap: 1rem; }
  .umuhuza-features-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .umuhuza-arch-card, .umuhuza-feature-card { padding: 1.25rem; }
  .umuhuza-title { font-size: 1.5rem; }
}
