/* ============================================================
   IRDC – Integrated Rural Development Center
   Main Stylesheet | Static Site v1.0
   Fonts: Syne (headings) + DM Mono (labels/mono) + Inter (body)
   ============================================================ */

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

/* ── CSS Variables ───────────────────────────────────────── */
:root {
  --green:        #127e3f;
  --green-dark:   #0a5c2e;
  --green-deeper: #073d1e;
  --green-light:  #e6f4ec;
  --green-mid:    #86efac;
  --red:          #ed1c24;
  --blue:         #2e3192;
  --sky:          #00aeef;
  --logo-bg:      #dcefe6;

  --text:         #0f1a14;
  --text-muted:   #4a6052;
  --text-faint:   #8aaa94;
  --bg:           #f7faf8;
  --surface:      #ffffff;
  --border:       #d4e8db;
  --border-light: #eaf4ee;

  --font-head: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'DM Mono', monospace;

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-sm: 0 1px 4px rgba(10,92,46,.06);
  --shadow-md: 0 4px 20px rgba(10,92,46,.10);
  --shadow-lg: 0 12px 40px rgba(10,92,46,.14);

  --transition: .2s ease;
  --max-w: 1160px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; }

/* ── Layout helpers ──────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }

/* ── Typography ──────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--green);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(28px, 4.5vw, 48px); font-weight: 700; }
h2 { font-size: clamp(22px, 3vw, 34px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }
h4 { font-size: 16px; font-weight: 600; }
p { color: var(--text-muted); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  letter-spacing: .02em;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: #fff;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
}
.btn-outline:hover { background: var(--green-light); }
.btn-white {
  background: #fff;
  color: var(--green);
}
.btn-white:hover { background: var(--logo-bg); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-lg { padding: 14px 28px; font-size: 14px; }
.btn svg, .btn .icon { width: 16px; height: 16px; }

/* ── Navigation ──────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
}
.nav-logo svg { width: 32px; height: auto; flex-shrink: 0; }
.logo-wordmark { display: flex; flex-direction: column; min-width: 0; }
.logo-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  white-space: nowrap;
}
.logo-tagline {
  font-family: var(--font-mono);
  font-size: 7.5px;
  color: var(--text-muted);
  letter-spacing: .06em;
  margin-top: 2px;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--green); background: var(--green-light); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu a {
  display: block;
  padding: 10px 12px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--green); background: var(--green-light); }
.mobile-menu.open { display: flex; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(145deg, var(--green-deeper) 0%, var(--green) 55%, #1a9a50 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.hero-orb-1 {
  position: absolute;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
  top: -120px; right: -80px;
  border-radius: 50%;
  pointer-events: none;
}
.hero-orb-2 {
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,.04) 0%, transparent 70%);
  bottom: -80px; left: 10%;
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 20px;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .7; transform: scale(1.2); }
}
.hero-badge span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,.8);
  letter-spacing: .08em;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 em { color: var(--green-mid); font-style: normal; }
.hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,.72);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero stats card */
.hero-stats-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-xl);
  padding: 32px;
  backdrop-filter: blur(8px);
}
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  display: block;
}
.stat-number sup {
  font-size: 22px;
  font-weight: 600;
  vertical-align: super;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(255,255,255,.55);
  letter-spacing: .1em;
  display: block;
  margin-top: 5px;
}
.stats-divider {
  height: 1px;
  background: rgba(255,255,255,.1);
  margin: 24px 0;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.trust-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.06);
  white-space: nowrap;
}

/* ── Section Headers ─────────────────────────────────────── */
.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { max-width: 560px; font-size: 15px; }
.section-header.centered p { margin: 0 auto; }

/* ── Program Cards ───────────────────────────────────────── */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.prog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.prog-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform .3s ease;
  transform-origin: left;
}
.prog-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.prog-card:hover::after { transform: scaleX(1); }
.prog-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
}
.icon-green  { background: #e6f4ec; }
.icon-blue   { background: #e8eaf6; }
.icon-sky    { background: #e0f5fd; }
.icon-red    { background: #fde8e9; }
.icon-amber  { background: #fff3e0; }
.icon-teal   { background: #d6f5ee; }
.icon-purple { background: #ede7f6; }
.prog-card h4 { margin-bottom: 8px; font-size: 15px; }
.prog-card p { font-size: 13px; line-height: 1.6; }
.prog-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  margin-top: 14px;
  font-family: var(--font-head);
}

/* ── Impact Band ─────────────────────────────────────────── */
.impact-band {
  background: var(--blue);
  padding: 56px 0;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.impact-item {
  background: var(--blue);
  padding: 32px 24px;
  text-align: center;
  transition: background var(--transition);
}
.impact-item:hover { background: rgba(255,255,255,.06); }
.impact-num {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  display: block;
}
.impact-num sup { font-size: 22px; }
.impact-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(255,255,255,.55);
  letter-spacing: .1em;
  display: block;
  margin-top: 6px;
}

/* ── About strip ─────────────────────────────────────────── */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text h2 { margin-bottom: 16px; }
.about-text p { margin-bottom: 16px; font-size: 15px; }
.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.highlight-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
}
.highlight-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 4px;
}
.highlight-item span { font-size: 12px; color: var(--text-muted); }
.about-visual {
  position: relative;
}
.about-map-placeholder {
  background: var(--green-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  border: 2px dashed var(--border);
}
.about-map-placeholder p {
  font-size: 13px;
  color: var(--text-faint);
  margin-top: 12px;
}

/* ── Working Areas ───────────────────────────────────────── */
.districts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.district-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}
.district-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
}
.district-pin {
  width: 32px; height: 32px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}
.district-card h4 { font-size: 14px; margin-bottom: 2px; }
.district-card p { font-size: 11px; font-family: var(--font-mono); color: var(--text-faint); }

/* ── Conference Timeline ─────────────────────────────────── */
.conf-timeline { position: relative; padding-left: 28px; }
.conf-timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--green), var(--sky));
  border-radius: 2px;
}
.conf-item {
  position: relative;
  margin-bottom: 20px;
}
.conf-item::before {
  content: '';
  position: absolute;
  left: -32px; top: 14px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--green);
}
.conf-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition);
}
.conf-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
}
.conf-flag { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.conf-body { flex: 1; }
.conf-event { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.conf-meta { font-size: 11px; color: var(--text-faint); font-family: var(--font-mono); }
.conf-year {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--green);
  background: var(--green-light);
  padding: 3px 9px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Memberships ─────────────────────────────────────────── */
.membership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.member-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: var(--transition);
}
.member-card:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.member-icon {
  width: 36px; height: 36px;
  background: var(--green-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.member-name { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.member-loc { font-size: 11px; color: var(--text-faint); font-family: var(--font-mono); }

/* ── News Cards ──────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.news-img {
  height: 180px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--green);
}
.news-body { padding: 20px; }
.news-cat {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .1em;
  color: var(--green);
  background: var(--green-light);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}
.news-title { font-size: 14px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.news-date { font-size: 11px; color: var(--text-faint); font-family: var(--font-mono); }

/* ── CTA Section ─────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--green-deeper), var(--green-dark));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E') repeat;
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.7); max-width: 500px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: #071510;
  color: #b8d4c0;
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo-name { color: #86efac; }
.footer-brand .logo-tagline { color: rgba(255,255,255,.4); }
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin-top: 16px;
  line-height: 1.7;
  max-width: 300px;
}
.footer-col h5 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: #e8f5ec;
  margin-bottom: 16px;
  letter-spacing: .02em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: #86efac; }
.footer-contact-list { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  font-family: var(--font-mono);
  line-height: 1.5;
}
.footer-contact-list li .icon { flex-shrink: 0; margin-top: 1px; }
.footer-contact-list a { color: #4dd98a; }
.footer-contact-list a:hover { color: #86efac; }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 11px;
  color: rgba(255,255,255,.3);
  font-family: var(--font-mono);
}
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badge {
  font-size: 9px;
  font-family: var(--font-mono);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.04);
  white-space: nowrap;
}

/* WhatsApp float button handled via inline styles in components.js */

/* ── Page Hero (inner pages) ─────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--green-deeper) 0%, var(--green) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E') repeat;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: rgba(255,255,255,.6); }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.7); max-width: 560px; font-size: 15px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  font-family: var(--font-mono);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,.3); }

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in {
  opacity: 0;
  animation: fadeInUp .6s ease forwards;
}
.fade-in-1 { animation-delay: .1s; }
.fade-in-2 { animation-delay: .2s; }
.fade-in-3 { animation-delay: .3s; }
.fade-in-4 { animation-delay: .4s; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Complete mobile-first overhaul
   Breakpoints: 1024px (tablet) · 768px (mobile) · 480px (small)
   ══════════════════════════════════════════════════════════ */

/* ── Tablet 1024px ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .programs-grid      { grid-template-columns: repeat(2, 1fr); }
  .impact-grid        { grid-template-columns: repeat(2, 1fr); }
  .about-strip        { grid-template-columns: 1fr; gap: 40px; }
  .districts-grid     { grid-template-columns: repeat(3, 1fr); }
  .membership-grid    { grid-template-columns: repeat(2, 1fr); }
  .news-grid          { grid-template-columns: repeat(2, 1fr); }
  /* About page grids */
  .rg-2col            { grid-template-columns: 1fr !important; gap: 32px !important; }
  .rg-3col            { grid-template-columns: repeat(2, 1fr) !important; }
  /* Programs page */
  .rg-prog            { grid-template-columns: 1fr !important; gap: 28px !important; }
}

/* ── Mobile 768px ────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Nav — !important beats component specificity */
  .nav-links               { display: none !important; }
  .nav-cta                 { display: none !important; }
  .nav-actions .btn        { display: none !important; }
  .nav-toggle              { display: flex !important; }
  .navbar                  { height: 56px; }

  /* Typography */
  h1  { font-size: 28px; }
  h2  { font-size: 22px; }
  h3  { font-size: 18px; }
  .section    { padding: 48px 0; }
  .section-sm { padding: 36px 0; }
  .container  { padding: 0 16px; }

  /* Hero — overflow:hidden stops stats card bleeding right */
  .hero                  { padding: 48px 0 36px; overflow: hidden !important; }
  .hero-inner            { grid-template-columns: 1fr !important; gap: 0 !important; }
  .hero-stats-card       { display: none !important; }
  .hero-sub              { font-size: 14px; max-width: 100%; }
  .hero-actions          { flex-direction: column !important; gap: 10px !important; }
  .hero-actions .btn     { width: 100% !important; justify-content: center !important; text-align: center !important; box-sizing: border-box; }
  .hero-badge            { max-width: 100%; white-space: normal; }

  /* Grids → collapse */
  .programs-grid   { grid-template-columns: 1fr !important; }
  .news-grid       { grid-template-columns: 1fr !important; }
  .districts-grid  { grid-template-columns: repeat(2, 1fr) !important; }
  .impact-grid     { grid-template-columns: repeat(2, 1fr) !important; }
  .membership-grid { grid-template-columns: 1fr !important; }

  /* Utility responsive grid classes */
  .rg-2col         { grid-template-columns: 1fr !important; gap: 24px !important; }
  .rg-3col         { grid-template-columns: 1fr !important; gap: 20px !important; }
  .rg-4col         { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .rg-4col-stats   { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .rg-prog         { grid-template-columns: 1fr !important; gap: 24px !important; }
  .rg-prog-cards   { grid-template-columns: 1fr !important; gap: 14px !important; }
  .rg-contact      { grid-template-columns: 1fr !important; gap: 16px !important; }

  /* Footer inline grid — targets hardcoded style="" grid */
  footer > div > div:first-child {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* Page hero */
  .page-hero        { padding: 40px 0; }
  .page-hero h1     { font-size: 26px; }

  /* Impact band */
  .impact-band      { padding: 36px 0; }

  /* About */
  .about-highlights              { grid-template-columns: 1fr 1fr !important; }
  .about-visual .districts-grid  { grid-template-columns: 1fr 1fr !important; }

  /* CTA */
  .cta-section       { padding: 52px 0; }
  .cta-actions       { flex-direction: column !important; gap: 10px !important; align-items: center !important; }
  .cta-actions .btn  { width: 100% !important; max-width: 320px !important; justify-content: center !important; }

  /* Conferences */
  .conf-timeline     { padding-left: 20px; }
  .conf-card         { flex-wrap: wrap; gap: 10px; padding: 12px 14px; }
  .conf-event        { font-size: 12px; }
  .conf-year         { font-size: 9px; }

  /* Programs tab bar — scrollable */
  .prog-tab-bar { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
}

/* ── Small mobile 480px ──────────────────────────────────── */
@media (max-width: 480px) {
  h1  { font-size: 24px; }
  h2  { font-size: 20px; }
  .container  { padding: 0 14px; }

  .hero-inner            { grid-template-columns: 1fr !important; }
  .hero-stats-card       { display: none !important; }
  .hero-actions          { flex-direction: column !important; }
  .hero-actions .btn     { width: 100% !important; justify-content: center !important; }

  .programs-grid   { grid-template-columns: 1fr !important; }
  .districts-grid  { grid-template-columns: 1fr 1fr !important; }
  .impact-grid     { grid-template-columns: repeat(2, 1fr) !important; }
  .about-highlights { grid-template-columns: 1fr 1fr !important; }
  .rg-2col         { grid-template-columns: 1fr !important; }
  .rg-3col         { grid-template-columns: 1fr !important; }
  .rg-4col         { grid-template-columns: 1fr 1fr !important; }
  .rg-4col-stats   { grid-template-columns: 1fr 1fr !important; }
  .rg-contact      { grid-template-columns: 1fr !important; }

  .cta-actions .btn  { max-width: 100% !important; }
  .trust-badge       { font-size: 8px; padding: 3px 8px; }
  .whatsapp-float    { bottom: 16px; right: 16px; width: 46px; height: 46px; }
}

  /* Hero badge */
  .hero-badge span  { font-size: 9px; }

  /* Trust badges wrap */
  .hero-trust       { gap: 6px; }
  .trust-badge      { font-size: 8px; padding: 3px 8px; }

  /* Program tab bar */
  .prog-tab-bar     { gap: 4px; }
  .prog-tab-bar a   { font-size: 11px; padding: 5px 10px; }

  /* Footer bottom */
  .footer-bottom-inner { flex-direction: column; gap: 10px; align-items: flex-start; }

  /* WhatsApp button */
  .whatsapp-float   { bottom: 16px; right: 16px; width: 46px; height: 46px; }

  /* Conf card */
  .conf-year        { font-size: 9px; }

  /* Buttons full width in CTA */
  .cta-actions .btn { max-width: 100%; }
}
