/* ============================================
   VREI — public site design tokens (modern blue/navy theme)
   Color: navy #0A2A66, navy-deep #071C47, blue #1E88E5,
          blue-bright #29ABE2, paper #FFFFFF/#F4F7FB,
          ink #14213D, muted #5B6B85
   Type: display "Poppins" (bold, modern), body "Inter"
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy: #0A2A66;
  --navy-deep: #071C47;
  --blue: #1E88E5;
  --blue-bright: #29ABE2;
  --paper: #FFFFFF;
  --paper-soft: #F4F7FB;
  --ink: #14213D;
  --muted: #5B6B85;
  --line: #E1E7F2;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 4px 14px rgba(10,42,102,0.08);
  --shadow-md: 0 14px 34px rgba(10,42,102,0.14);
  --shadow-lg: 0 24px 60px rgba(7,28,71,0.22);
  --container: 76rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: linear-gradient(180deg, var(--paper-soft) 0%, #fff 45%, var(--paper-soft) 100%);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Soft, modern ambient background — fixed blurred accents behind every page.
   Sections with their own solid/dark background (hero, mandate band, footer, etc.)
   simply paint over it, so this only ever shows through the plain areas. */
.bg-decor { position: fixed; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.bg-decor span { position: absolute; border-radius: 50%; filter: blur(80px); }
.bg-decor .blob-1 { width: 26rem; height: 26rem; background: var(--blue-bright); opacity: 0.14; top: -8rem; right: -6rem; }
.bg-decor .blob-2 { width: 20rem; height: 20rem; background: var(--blue); opacity: 0.09; top: 45%; left: -7rem; }
.bg-decor .blob-3 { width: 18rem; height: 18rem; background: var(--navy); opacity: 0.06; bottom: -6rem; right: 12%; }

h1, h2, h3 { font-family: 'Poppins', sans-serif; margin: 0 0 0.5em; color: var(--navy); line-height: 1.25; }

a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.section-label {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  padding: 0 1.5rem;
  max-width: var(--container);
  margin: 0 auto 0.5rem;
  text-align: center;
}
.section-sub { text-align: center; max-width: 40rem; margin: 0 auto 2.5rem; padding: 0 1.5rem; color: var(--muted); }
.section-head { text-align: center; margin-bottom: 3rem; }

.btn {
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(30,136,229,0.28); }
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(30,136,229,0.36); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.5); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); transform: translateY(-2px); }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-utility {
  background: var(--navy-deep);
  color: #B9C6E4;
  font-size: 0.78rem;
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
  align-items: center;
  padding: 0.4rem 1.5rem;
}
.header-utility a { color: #B9C6E4; display: inline-flex; align-items: center; gap: 0.35rem; }
.header-utility a:hover { color: var(--blue-bright); }
.utility-phones { display: inline-flex; gap: 1rem; }
.utility-social { display: inline-flex; gap: 0.75rem; align-items: center; }
.utility-social a { width: 16px; height: 16px; }
.utility-social svg { width: 100%; height: 100%; }

.site-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand-mark { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.55rem; color: var(--navy); }
.brand-full { display: none; }
.brand-logo { height: 46px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 0.15rem; font-size: 0.94rem; font-weight: 500; }
/* padding-bottom + matching negative margin extends the hoverable box down to meet
   the dropdown panel below, without affecting layout — closes the "dead zone" gap
   that used to make the dropdown vanish before the pointer reached it. */
.site-nav > .nav-item { position: relative; padding-bottom: 0.75rem; margin-bottom: -0.75rem; }
.site-nav > .nav-item > a, .site-nav > a.nav-link { color: var(--ink); padding: 0.65rem 0.9rem; display: inline-flex; align-items: center; gap: 0.3rem; border-radius: 6px; }
.site-nav > .nav-item > a:hover, .site-nav > a.nav-link:hover { color: var(--blue); }
.nav-caret { font-size: 0.65rem; opacity: 0.6; transition: transform 0.15s ease; }
.nav-item.open .nav-caret { transform: rotate(180deg); }
.nav-cta { background: var(--blue); color: #fff !important; padding: 0.65rem 1.35rem !important; border-radius: 7px; font-weight: 600; box-shadow: 0 6px 16px rgba(30,136,229,0.3); }
.nav-cta:hover { background: var(--navy) !important; }

.nav-dropdown {
  display: none;
  position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  min-width: 13rem; padding: 0.5rem; box-shadow: var(--shadow-md);
  z-index: 50;
}
.nav-item:hover .nav-dropdown, .nav-item.open .nav-dropdown { display: block; }
.nav-dropdown a { display: block; padding: 0.6rem 0.8rem; border-radius: 6px; color: var(--ink); font-size: 0.9rem; }
.nav-dropdown a:hover { background: var(--paper-soft); color: var(--blue); }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer; padding: 0.5rem;
  position: relative; z-index: 210; /* stay above the slide-in .site-nav panel so the X stays visible/clickable */
}
.mobile-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; transform-origin: center; }
/* Morphs into an X when the menu is open — JS already toggles aria-expanded, no extra markup needed */
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-backdrop { display: none; }

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  color: #fff;
  min-height: 82vh;
  display: flex;
  align-items: center;
}
/* Dark scrim on its own layer so it always sits over the uploaded photo — the
   photo is set via inline background-image and would otherwise replace a
   background:gradient shorthand outright, leaving the headline unreadable. */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(4,16,42,0.92) 0%, rgba(7,28,71,0.82) 45%, rgba(7,28,71,0.55) 75%, rgba(7,28,71,0.35) 100%);
  z-index: 1;
}
.hero-inner { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; padding: 6rem 1.5rem 8rem; width: 100%; }
.hero .eyebrow { color: var(--blue-bright); }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.14; color: #fff; max-width: 40rem; }
.hero-sub { color: #D7E1F5; font-size: 1.15rem; max-width: 34rem; margin-top: 1rem; }
.hero-actions { display: flex; gap: 1rem; margin-top: 2.25rem; flex-wrap: wrap; }

.btn-outline { border: 1.5px solid var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ============ Impact stats — full section, just above the footer ============ */
.impact-section {
  position: relative; overflow: hidden;
  background-color: var(--navy);
  background-size: cover; background-position: center;
  padding: 6rem 1.5rem;
}
.impact-section::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(170deg, rgba(4,16,42,0.92) 0%, rgba(10,42,102,0.85) 100%);
}
.impact-inner { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; }
.impact-inner .eyebrow { display: block; text-align: center; color: var(--blue-bright); }
.impact-inner .section-label { color: #fff; }
.impact-inner .section-sub { color: #D7E1F5; }

.ledger-rows {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
  margin-top: 3rem;
}
.ledger-row {
  text-align: center; padding: 2.25rem 1.25rem; border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.ledger-row::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 60%);
}
.ledger-row:hover { transform: translateY(-6px); background: rgba(255,255,255,0.2); }
.ledger-icon {
  width: 2.85rem; height: 2.85rem; margin: 0 auto 0.9rem; border-radius: 50%;
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center; color: var(--blue-bright);
  position: relative;
}
.ledger-icon svg { width: 1.4rem; height: 1.4rem; }
.ledger-index { display: none; }
.ledger-value {
  font-family: 'Poppins', sans-serif; font-size: 2.6rem; font-weight: 800; display: block; position: relative;
  background: linear-gradient(135deg, #fff, var(--blue-bright));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ledger-label { color: #D7E1F5; font-size: 0.86rem; font-weight: 600; position: relative; letter-spacing: 0.01em; }

/* ============ Who We Are / split sections ============ */
.split-section { max-width: var(--container); margin: 7rem auto 6rem; padding: 0 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-media { position: relative; }
.split-media::before {
  content: ''; position: absolute; top: -1.25rem; left: -1.25rem; right: 1.25rem; bottom: 1.25rem;
  border: 3px solid var(--blue-bright); border-radius: var(--radius-lg); z-index: 0;
}
.split-media img { position: relative; z-index: 1; width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.split-text h2 { text-align: left; }
.split-text p { color: var(--muted); font-size: 1.02rem; }
.who-we-are-toggle {
  display: inline-block; cursor: pointer; color: var(--blue); font-weight: 800;
  font-size: 1.3rem; line-height: 1; letter-spacing: 0.1em; margin: -0.75rem 0 1rem;
}
.who-we-are-toggle:hover { color: var(--navy); }
.who-we-are-more[hidden] { display: none; }

.mandate-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; padding: 5rem 1.5rem; text-align: center;
}
.mandate-section h2 { color: #fff; }
.mandate-section p { max-width: 42rem; margin: 0 auto; font-size: 1.2rem; color: #D7E1F5; }

/* ============ Image-led card grids (thematic / events) ============ */
.thematic, .events-section, .news-preview, .team-section { max-width: var(--container); margin: 6rem auto; padding: 0 1.5rem; }
.thematic-grid, .events-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
.events-grid { grid-template-columns: repeat(3, 1fr); }

.thematic-card, .event-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.thematic-card:hover, .event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.thematic-card-media, .event-card img { height: 11rem; width: 100%; object-fit: cover; display: block; }
.thematic-card-media { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.thematic-card-body, .event-card-body { padding: 1.5rem; }
.thematic-card h3, .event-card h3 { font-size: 1.08rem; }
.thematic-card p, .event-card p { color: var(--muted); font-size: 0.92rem; margin: 0.3rem 0 0; }

.event-card { position: relative; }
.event-date {
  display: inline-block; background: var(--blue); color: #fff; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.03em; padding: 0.3rem 0.7rem; border-radius: 999px; margin-bottom: 0.6rem;
}

/* ============ Homepage gallery slider ============ */
.home-gallery { max-width: var(--container); margin: 6rem auto; padding: 0 1.5rem; }
.gallery-slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 16/7; background: var(--paper-soft); }
.gallery-slider-track { position: relative; width: 100%; height: 100%; }
.gallery-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; }
.gallery-slide.active { opacity: 1; z-index: 1; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 2rem 1.25rem;
  background: linear-gradient(0deg, rgba(7,28,71,0.88) 0%, rgba(7,28,71,0.35) 70%, transparent 100%);
  color: #fff; font-size: 0.95rem;
}
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; border: none; background: rgba(7,28,71,0.55); color: #fff;
  font-size: 1.5rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.gallery-nav:hover { background: var(--blue); }
.gallery-nav.prev { left: 1rem; }
.gallery-nav.next { right: 1rem; }
.gallery-dots { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; gap: 0.5rem; }
.gallery-dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,0.55); cursor: pointer; padding: 0; }
.gallery-dot.active { background: #fff; width: 22px; border-radius: 5px; transition: width 0.2s ease; }
@media (max-width: 800px) { .gallery-slider { aspect-ratio: 4/5; } .gallery-nav { width: 34px; height: 34px; font-size: 1.2rem; } }

/* ============ Public gallery page ============ */
.album-block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.album-block-head h2 { font-size: 1.2rem; margin-bottom: 0; }
.album-meta { color: var(--muted); font-size: 0.85rem; white-space: nowrap; }
.album-description { color: var(--muted); margin-top: 0.35rem; }
.album-divider { border: none; border-top: 1px solid var(--line); margin: 3rem 0; }
.album-block { margin-top: 1rem; }

/* Masonry via CSS columns — each photo keeps its natural aspect ratio, nothing gets
   cropped, so portrait, landscape and square photos all display in full. */
.gallery-grid { columns: 3 14rem; column-gap: 1rem; margin-top: 1.5rem; }
.gallery-item {
  margin: 0 0 1rem; break-inside: avoid; display: inline-block; width: 100%;
  border-radius: var(--radius); overflow: hidden; background: var(--paper-soft); box-shadow: var(--shadow-sm);
}
.gallery-item img { width: 100%; height: auto; display: block; cursor: zoom-in; }
.gallery-item figcaption { padding: 0.6rem 0.8rem; font-size: 0.82rem; color: var(--muted); }
@media (max-width: 700px) { .gallery-grid { columns: 2 10rem; } }

/* Lightbox — click a gallery photo to see it in full, uncropped */
.lightbox {
  position: fixed; inset: 0; z-index: 500; background: rgba(4,16,42,0.92);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 3rem 1.5rem; gap: 1rem;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(90vw, 70rem); max-height: 78vh; width: auto; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox-caption { color: #D7E1F5; font-size: 0.95rem; max-width: 44rem; text-align: center; margin: 0; }
.lightbox-close {
  position: absolute; top: 1.25rem; right: 1.5rem; background: rgba(255,255,255,0.12); color: #fff; border: none;
  width: 2.5rem; height: 2.5rem; border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }

/* ============ Team ============ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
.team-card { text-align: center; }
.team-photo {
  width: 9.5rem; height: 9.5rem; border-radius: 50%; margin: 0 auto 1.1rem; overflow: hidden;
  border: 4px solid #fff; box-shadow: var(--shadow-sm); background: var(--paper-soft);
  display: flex; align-items: center; justify-content: center;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo .initials { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 2.2rem; color: var(--blue); }
.team-card h3 { font-size: 1.02rem; margin-bottom: 0.15rem; }
.team-card .role { color: var(--blue); font-size: 0.85rem; font-weight: 600; }
.team-card .bio { color: var(--muted); font-size: 0.85rem; margin-top: 0.5rem; }
.team-group-label { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin: 3rem 0 1.5rem; text-align: center; }
.team-group-label:first-child { margin-top: 0; }

/* ============ News ============ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.news-card {
  background: #fff; border: 1px solid var(--line); padding: 1.75rem; border-radius: var(--radius-lg);
  display: block; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.news-card:hover { border-color: transparent; transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card h3 { color: var(--navy); margin-top: 0.5rem; }
.news-card p { color: var(--muted); font-size: 0.92rem; }

/* ============ Testimonies ============ */
.testimonies { background: var(--paper-soft); padding: 6rem 1.5rem; }
.testimony-grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.testimony-card {
  background: #fff; padding: 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--blue); position: relative;
}
.testimony-card::before {
  content: '\201C'; font-family: Georgia, serif; font-size: 3.5rem; color: var(--blue-bright);
  opacity: 0.4; line-height: 1; display: block; margin-bottom: 0.25rem;
}
.testimony-avatar {
  width: 3.25rem; height: 3.25rem; border-radius: 50%; overflow: hidden; margin-bottom: 1rem;
  background: var(--paper-soft); display: flex; align-items: center; justify-content: center;
}
.testimony-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimony-avatar-initials span { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--blue); font-size: 1.1rem; }
.testimony-card p { color: var(--ink); font-size: 0.98rem; }
.testimony-card cite { display: block; margin-top: 1.25rem; font-size: 0.85rem; color: var(--blue); font-weight: 600; font-style: normal; }

/* ============ Become a Volunteer ============ */
.volunteer-section { background: var(--paper-soft); padding: 6rem 1.5rem; }
.volunteer-inner {
  max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
}
.volunteer-text h2 { text-align: left; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.volunteer-text p { color: var(--muted); }
.volunteer-form-wrap { background: #fff; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); }
.volunteer-form { display: flex; flex-direction: column; gap: 1rem; }
.volunteer-form label { font-size: 0.85rem; font-weight: 500; display: flex; flex-direction: column; gap: 0.4rem; }
.volunteer-form input, .volunteer-form textarea {
  padding: 0.75rem; border: 1px solid var(--line); border-radius: 7px; font-family: inherit; font-size: 1rem;
}
.volunteer-form input:focus, .volunteer-form textarea:focus { outline: 2px solid var(--blue-bright); outline-offset: 1px; }
.volunteer-form button {
  background: var(--blue); color: #fff; border: none; padding: 0.9rem; border-radius: 7px;
  font-weight: 600; cursor: pointer; width: fit-content; padding-left: 2rem; padding-right: 2rem;
}
.volunteer-form button:hover { background: var(--navy); }
@media (max-width: 900px) { .volunteer-inner { grid-template-columns: 1fr; } }

/* ============ Inline homepage contact ============ */
.home-contact { max-width: var(--container); margin: 6rem auto; padding: 0 1.5rem; }
.contact-split {
  display: grid; grid-template-columns: 0.85fr 1.15fr; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
}
.contact-info {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; padding: 2.75rem;
  display: flex; flex-direction: column; gap: 1.4rem; justify-content: center;
}
.contact-info h3 { color: #fff; margin-bottom: 0.25rem; }
.contact-info .item { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.92rem; color: #D7E1F5; }
.contact-info .item strong { display: block; color: #fff; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.15rem; }
.home-contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; background: #fff; padding: 2.75rem; }
.home-contact-form .full { grid-column: 1 / -1; }
.home-contact-form label { font-size: 0.85rem; font-weight: 500; display: flex; flex-direction: column; gap: 0.4rem; }
.home-contact-form input, .home-contact-form textarea { padding: 0.75rem; border: 1px solid var(--line); border-radius: 7px; font-family: inherit; font-size: 1rem; }
.home-contact-form input:focus, .home-contact-form textarea:focus { outline: 2px solid var(--blue-bright); outline-offset: 1px; }
.home-contact-form button { grid-column: 1 / -1; background: var(--blue); color: #fff; border: none; padding: 0.9rem; border-radius: 7px; font-weight: 600; cursor: pointer; width: fit-content; padding-left: 2rem; padding-right: 2rem; }
.home-contact-form button:hover { background: var(--navy); }

/* ============ Footer ============ */
.site-footer { background: var(--navy-deep); color: #A9B8DA; margin-top: 0; border-top: 4px solid var(--blue); }
.site-footer-inner {
  max-width: var(--container); margin: 0 auto; padding: 4.5rem 1.5rem 3rem;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem;
}
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 1.1rem; letter-spacing: 0.02em; }
.footer-about .brand-mark { color: #fff; font-size: 1.3rem; }
.footer-about p { font-size: 0.88rem; margin-top: 0.9rem; line-height: 1.7; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover { background: var(--blue); }
.footer-links { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a { color: #A9B8DA; font-size: 0.9rem; }
.footer-links a:hover { color: var(--blue-bright); }
.footer-contact { display: flex; flex-direction: column; gap: 0.9rem; font-size: 0.88rem; }
.footer-contact a { color: #A9B8DA; }
.footer-contact a:hover { color: var(--blue-bright); }
.footer-phones { display: flex; flex-direction: column; gap: 0.3rem; }
.footer-subscribe-row { display: flex; gap: 0.5rem; margin-top: 0.6rem; }
.footer-subscribe input { flex: 1; padding: 0.65rem 0.8rem; border: none; border-radius: 6px; font-family: inherit; }
.footer-subscribe button { background: var(--blue); border: none; color: #fff; padding: 0.65rem 1rem; border-radius: 6px; font-weight: 600; cursor: pointer; }
.footer-subscribe button:hover { background: var(--blue-bright); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-copyright { text-align: center; font-size: 0.8rem; padding: 1.25rem 1.5rem; opacity: 0.7; margin: 0; }

/* ============ Application / Contact forms ============ */
.apply-page { max-width: 40rem; margin: 4.5rem auto 6rem; padding: 0 1.5rem; }
.apply-intro { text-align: center; margin-bottom: 2rem; }
.apply-intro p { color: var(--muted); text-align: left; margin-top: 1rem; }
.apply-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.5rem;
  margin-top: 2rem; background: var(--paper-soft); padding: 2.25rem; border-radius: var(--radius-lg);
}
.apply-form label.full { grid-column: 1 / -1; }
.apply-form label { font-size: 0.9rem; font-weight: 500; display: flex; flex-direction: column; gap: 0.4rem; }
.apply-form input, .apply-form select, .apply-form textarea {
  font-family: inherit; padding: 0.75rem; border: 1px solid var(--line); border-radius: 7px; font-size: 1rem; background: #fff;
}
.apply-form input:focus, .apply-form select:focus, .apply-form textarea:focus { outline: 2px solid var(--blue-bright); outline-offset: 1px; }
.apply-form .required { color: #C0392B; }
.apply-form .radio-row { display: flex; gap: 1.5rem; align-items: center; height: 100%; }
.apply-form .radio-inline { flex-direction: row !important; align-items: center; gap: 0.4rem !important; font-weight: 400; }
.apply-form button {
  grid-column: 1 / -1; background: var(--blue); color: #fff; border: none; padding: 0.95rem; border-radius: 7px;
  font-weight: 600; cursor: pointer; margin-top: 0.5rem; font-size: 1rem; width: fit-content; padding-left: 2.5rem; padding-right: 2.5rem;
}
.apply-form button:hover { background: var(--navy); }
@media (max-width: 700px) { .apply-form { grid-template-columns: 1fr; } }
.apply-success { background: #fff; border: 1px solid var(--line); padding: 2.25rem; border-radius: var(--radius-lg); margin-top: 2rem; text-align: center; box-shadow: var(--shadow-sm); }
.form-error-list { color: #C0392B; background: #FDEEEC; padding: 1rem 1.25rem; border-radius: 8px; }

.google-form-embed { margin-top: 2rem; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.google-form-embed iframe { display: block; }

/* ============ Generic content pages ============ */
.content-page { max-width: 46rem; margin: 3.5rem auto 6rem; padding: 0 1.5rem; }
.content-page.content-page-with-image {
  max-width: 64rem; display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start;
}
.content-page-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); position: sticky; top: 6rem; }
.content-page-main { min-width: 0; }
.content-page.content-page-with-image .google-form-embed { grid-column: 1 / -1; }
@media (max-width: 800px) {
  .content-page.content-page-with-image { grid-template-columns: 1fr; }
  .content-page-media img { position: static; }
}
.content-body { margin-top: 1.5rem; color: var(--ink); }
.content-body p { margin-bottom: 1.15rem; }
.content-body img { max-width: 100%; border-radius: var(--radius); }
.content-body h1, .content-body h2, .content-body h3 { margin-top: 1.75rem; }
.content-body ul, .content-body ol { padding-left: 1.4rem; }
.page-hero { height: 20rem; background-size: cover; background-position: center; position: relative; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,28,71,0.35), rgba(7,28,71,0.55)); }
.post-cover { width: 100%; border-radius: var(--radius-lg); margin: 1.5rem 0; }

/* Icon cards for Vision/Mission/Values/Mandate-type sections inside page content */
.icon-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin: 2rem 0; }
.icon-feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.icon-feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.icon-feature-icon {
  flex: none; width: 2.9rem; height: 2.9rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 6px 14px rgba(30,136,229,0.3);
}
.icon-feature-icon svg { width: 1.4rem; height: 1.4rem; }
.icon-feature-card h3 { font-size: 1.02rem; margin: 0 0 0.3rem; }
.icon-feature-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }
@media (max-width: 640px) { .icon-features { grid-template-columns: 1fr; } }

/* Mandate/Vision/Mission icon cards + What We Do checklist, as their own homepage sections */
.icon-features-section { max-width: var(--container); margin: 5rem auto; padding: 0 1.5rem; }
.icon-features-section .icon-features { margin: 0; grid-template-columns: repeat(3, 1fr); }
.what-we-do { max-width: var(--container); margin: 5rem auto; padding: 0 1.5rem; }
.checklist {
  list-style: none; margin: 0 auto; padding: 0; max-width: 56rem;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2.5rem;
}
.checklist li { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--ink); font-size: 0.98rem; }
.checklist li::before {
  content: '\2713'; flex: none; width: 1.4rem; height: 1.4rem; margin-top: 0.05rem;
  border-radius: 50%; background: var(--blue); color: #fff; font-size: 0.75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 700px) {
  .icon-features-section .icon-features { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
}

/* ============ News listing ============ */
.news-grid-full { grid-template-columns: repeat(3, 1fr); }
.category-filters { display: flex; gap: 1.25rem; margin: 1.5rem 0 2.5rem; flex-wrap: wrap; }
.category-filters a { font-size: 0.92rem; color: var(--muted); padding-bottom: 0.25rem; border-bottom: 2px solid transparent; }
.category-filters a.active { color: var(--navy); border-color: var(--blue); font-weight: 600; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .thematic-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid, .news-grid, .testimony-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .split-section { grid-template-columns: 1fr; gap: 2.5rem; }
  .ledger-rows { grid-template-columns: repeat(2, 1fr); }
  .contact-split { grid-template-columns: 1fr; }
  .home-contact-form { grid-template-columns: 1fr; }
  .footer-social a { width: 32px; height: 32px; }
}
@media (max-width: 800px) {
  .header-utility { display: none; }
  .hero { min-height: auto; }
  .hero-inner { padding: 3.5rem 1.5rem 6rem; }
  .hero h1 { font-size: 2rem; }
  .thematic-grid, .news-grid, .testimony-grid, .events-grid, .team-grid { grid-template-columns: 1fr; }
  .site-footer-inner { grid-template-columns: 1fr 1fr; }

  .mobile-toggle { display: flex; }
  .site-nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(78vw, 320px);
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 5.5rem 1.25rem 2rem; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform 0.25s ease; overflow-y: auto;
  }
  .site-nav.nav-open { transform: translateX(0); }
  .site-nav > a.nav-link, .site-nav > .nav-item > a { width: 100%; padding: 0.85rem 0.5rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-item .nav-dropdown { position: static; box-shadow: none; border: none; margin-top: 0; padding: 0 0 0 1rem; display: none; }
  .nav-item.open .nav-dropdown { display: block; }
  .nav-cta { margin-top: 1rem; text-align: center; justify-content: center; }
  .nav-backdrop {
    display: none; position: fixed; inset: 0; background: rgba(7,28,71,0.45); z-index: 150;
  }
  .nav-backdrop.nav-open { display: block; }
}
@media (max-width: 520px) {
  .site-footer-inner { grid-template-columns: 1fr; }
  .ledger-rows { grid-template-columns: 1fr; }
  .impact-section { padding: 4rem 1.25rem; }
}
