/* ===================================================
   NATIONAL FORUM PARTY (NFP) — WEBSITE STYLESHEET
   Colors: Dark Green #1a5c2e | Bright Green #3a8c2f
           Red #cc1f1f | Black #111 | White #fff
   =================================================== */
 
:root {
  --dark-green: #1a5c2e;
  --mid-green:  #2d7a3a;
  --bright-green: #3a8c2f;
  --red:        #cc1f1f;
  --black:      #111111;
  --white:      #ffffff;
  --off-white:  #f5f7f5;
  --light-gray: #eaeef0;
  --text-dark:  #1a1a1a;
  --text-mid:   #444444;
  --text-light: #666666; /* Was #888888 — darkened to meet WCAG 4.5:1 contrast on white */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.18);
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --transition: all 0.3s ease;
  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'Inter', 'Segoe UI', Arial, sans-serif;
}
 
/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
 
/* ── Typography ── */
h1,h2,h3,h4,h5 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--dark-green);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p  { color: var(--text-mid); }
 
/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
 
/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 0.3px;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: #a81818;
  border-color: #a81818;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(204,31,31,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--dark-green);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--dark-green);
  border-color: var(--dark-green);
}
.btn-outline:hover {
  background: var(--dark-green);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-green {
  background: var(--dark-green);
  color: var(--white);
  border-color: var(--dark-green);
}
.btn-green:hover {
  background: var(--mid-green);
  border-color: var(--mid-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,92,46,0.35);
}
 
/* ── Section Styles ── */
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-alt { background: var(--off-white); }
.section-dark { background: var(--dark-green); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.82); }
 
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  padding: 4px 16px;
  border-radius: 50px;
  background: rgba(204,31,31,0.08);
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.divider {
  width: 56px; height: 4px;
  background: linear-gradient(90deg, var(--dark-green), var(--red));
  border-radius: 4px;
  margin: 16px auto 0;
}
 
/* ────────────────────────────────────────────────────
   TOPBAR
────────────────────────────────────────────────────── */
.topbar {
  background: var(--dark-green);
  color: rgba(255,255,255,0.88);
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 2px solid var(--red);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,0.88); transition: color 0.2s; }
.topbar a:hover { color: #fff; }
.topbar-left, .topbar-right { display: flex; gap: 20px; align-items: center; }
.topbar-right .social-links { display: flex; gap: 10px; }
.topbar-right .social-links a {
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  transition: var(--transition);
}
.topbar-right .social-links a:hover { background: var(--red); }
 
/* ────────────────────────────────────────────────────
   NAVBAR
────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
.nav-logo-svg {
  width: 60px;
  height: 60px;
}
.nav-logo-text .name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.1;
  display: block;
}
 
/* ── Tri-colour party name — navbar (light bg) ── */
.nav-logo-text .nfp-national { color: var(--dark-green); }
.nav-logo-text .nfp-forum    { color: var(--black); }
.nav-logo-text .nfp-party    { color: var(--red); }
 
/* ── Tri-colour party name — footer (dark bg) ── */
.footer-brand .nfp-national  { color: #7dda5e; }
.footer-brand .nfp-forum     { color: rgba(255,255,255,0.88); }
.footer-brand .nfp-party     { color: #ff9090; }
 
/* ── Tri-colour party name — reg form header (dark bg) ── */
.reg-header .nfp-national    { color: #7dda5e; }
.reg-header .nfp-forum       { color: rgba(255,255,255,0.9); }
.reg-header .nfp-party       { color: #ff9090; }
.nav-logo-text .acronym {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--red);      /* slogan stays red */
  display: block;
}
.nav-logo-text .acronym .nfp-abbr {
  color: var(--dark-green); /* NFP matches logo green */
  font-weight: 700;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 16px; right: 16px;
  height: 2px;
  background: var(--dark-green);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--dark-green); background: var(--off-white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--dark-green); font-weight: 600; }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-cta .btn { padding: 10px 22px; font-size: 0.88rem; }
 
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  /* Mobile tap improvements */
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  border: none;
  background: transparent;
}
.hamburger span {
  display: block;
  width: 26px; height: 3px;
  background: var(--dark-green);
  border-radius: 2px;
  transition: var(--transition);
  pointer-events: none; /* let clicks pass through to button */
}
 
/* ────────────────────────────────────────────────────
   HERO
────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0d3319 0%, #1a5c2e 45%, #2d7a3a 100%);
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(204,31,31,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(58,140,47,0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.03) 0%, transparent 70%);
}
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 60px 24px;
}
.hero-content { color: var(--white); }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(204,31,31,0.2);
  border: 1px solid rgba(204,31,31,0.4);
  color: #ff9090;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: #ff9090;
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}
.hero-content h1 span { color: #7dda5e; }
.hero-content .slogan {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-family: var(--font-head);
  font-style: italic;
  color: rgba(255,255,255,0.78);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.hero-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stats .stat-item { text-align: center; }
.hero-stats .stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: #7dda5e;
  display: block;
}
.hero-stats .stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-container {
  position: relative;
  width: 380px;
  height: 380px;
}
.hero-logo-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.1);
  animation: spin 20s linear infinite;
}
.hero-logo-ring::before {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  transform: translateX(-50%);
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-logo-inner {
  position: absolute;
  inset: 20px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.12);
}
.hero-logo-svg { width: 260px; height: 260px; }
.hero-logo-img { width: 200px; height: 200px; object-fit: contain; border-radius: 50%; }
 
/* ══ NFP Tri-Colour Party Stripes — Adidas style ══ */
.nfp-stripes {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 120px;
  display: flex;
  align-items: stretch;
  gap: 13px;
  padding-right: 22px;
  pointer-events: none;
  z-index: 1;          /* sits above hero bg, below content (z-index:2) */
}
 
.nfp-stripe {
  flex: 1;
  position: relative;
  overflow: hidden;
  transform: skewX(-9deg);
  border-radius: 0 0 8px 8px;
}
 
/* Bright shimmer band that sweeps from top → bottom */
.nfp-stripe::after {
  content: '';
  position: absolute;
  left: -40%;
  width: 180%;
  height: 38%;
  top: -38%;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0)    0%,
    rgba(255,255,255,0.55) 48%,
    rgba(255,255,255,0.55) 52%,
    rgba(255,255,255,0)    100%
  );
  animation: nfpStripeFlash 3.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
 
/* Green stripe */
.nfp-stripe--green {
  background: linear-gradient(
    to bottom,
    rgba(58,140,47,1)    0%,
    rgba(45,122,58,0.75) 55%,
    rgba(26,92,46,0.4)   100%
  );
}
.nfp-stripe--green::after  { animation-delay: 0s; }
 
/* Black stripe */
.nfp-stripe--black {
  background: linear-gradient(
    to bottom,
    rgba(20,20,20,0.96)  0%,
    rgba(10,10,10,0.78)  55%,
    rgba(0,0,0,0.45)     100%
  );
}
.nfp-stripe--black::after  { animation-delay: 0.28s; }
 
/* Red stripe */
.nfp-stripe--red {
  background: linear-gradient(
    to bottom,
    rgba(204,31,31,1)    0%,
    rgba(180,25,25,0.75) 55%,
    rgba(140,18,18,0.4)  100%
  );
}
.nfp-stripe--red::after    { animation-delay: 0.56s; }
 
/* The flash: sweeps from above-top to below-bottom */
@keyframes nfpStripeFlash {
  0%   { top: -38%;  opacity: 0; }
  6%   { opacity: 1; }
  62%  { top: 110%;  opacity: 1; }
  72%  { opacity: 0; }
  100% { top: 110%;  opacity: 0; }
}
 
/* ────────────────────────────────────────────────────
   TICKER / MARQUEE
────────────────────────────────────────────────────── */
.ticker {
  background: var(--red);
  color: var(--white);
  padding: 10px 0;
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.ticker-inner {
  display: flex;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.ticker-item {
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ticker-item::before { content: '◆'; font-size: 0.6rem; opacity: 0.7; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
 
/* ────────────────────────────────────────────────────
   ABOUT STRIP (Home)
────────────────────────────────────────────────────── */
.about-strip .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-strip-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-strip-img .img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--dark-green), var(--mid-green));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
}
.img-placeholder svg { opacity: 0.4; }
.about-strip-img .badge-overlay {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
}
.about-strip-img .badge-overlay .num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-green);
}
.about-strip-img .badge-overlay .text {
  font-size: 0.78rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.about-strip-content .label { color: var(--red); font-weight: 700; font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; display: block; margin-bottom: 12px; }
.about-strip-content h2 { margin-bottom: 20px; }
.about-strip-content p { margin-bottom: 16px; }
.about-strip-content .btn { margin-top: 8px; }
 
/* ────────────────────────────────────────────────────
   PILLARS (Home)
────────────────────────────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.pillar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  border: 1.5px solid var(--light-gray);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--dark-green), var(--bright-green));
}
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.pillar-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--dark-green), var(--mid-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}
.pillar-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
 
/* ────────────────────────────────────────────────────
   MANIFESTO HIGHLIGHTS (Home)
────────────────────────────────────────────────────── */
.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.manifesto-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}
.manifesto-item:hover {
  background: rgba(255,255,255,0.12);
  transform: translateX(4px);
}
.manifesto-num {
  min-width: 44px; height: 44px;
  background: var(--red);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.manifesto-item h4 { font-size: 1rem; margin-bottom: 4px; }
 
/* ────────────────────────────────────────────────────
   LEADERSHIP CARDS
────────────────────────────────────────────────────── */
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
}
.leader-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--light-gray);
  transition: var(--transition);
}
.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--dark-green);
}
.leader-photo {
  width: 100%;
  aspect-ratio: 3/3.5;
  background: linear-gradient(135deg, #c8e6c9, #a5d6a7, #81c784);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.leader-photo-placeholder {
  width: 80px; height: 80px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--dark-green);
}
.leader-info { padding: 20px; }
.leader-info h3 { font-size: 1.05rem; margin-bottom: 4px; }
.leader-role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.leader-info p { font-size: 0.88rem; line-height: 1.6; }
 
/* ────────────────────────────────────────────────────
   NEWS CARDS
────────────────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--light-gray);
  transition: var(--transition);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}
.news-thumb .cat-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.news-body { padding: 24px; }
.news-meta {
  display: flex;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 10px;
}
.news-body h3 { font-size: 1.05rem; margin-bottom: 10px; }
.news-body p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 16px; }
.news-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-green);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.news-link:hover { gap: 8px; }
 
/* ────────────────────────────────────────────────────
   REGISTRATION FORM
────────────────────────────────────────────────────── */
.reg-wrapper {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.reg-header {
  background: linear-gradient(150deg, #0d3319 0%, var(--dark-green) 55%, var(--mid-green) 100%);
  color: var(--white);
  padding: 40px 40px 32px;
  text-align: center;
  border-bottom: 3px solid rgba(255,255,255,0.1);
}
 
/* Logo circle */
.reg-header-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}
.reg-header-logo img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}
 
/* Party name block */
.reg-header-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-bottom: 20px;
}
.reg-header-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}
.reg-header-tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.75);
}
.reg-header-nfp {
  color: #7dda5e;   /* bright green — matches logo green */
  font-weight: 700;
}
 
/* Divider line between brand and form title */
.reg-header-brand::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
  margin-top: 10px;
}
 
.reg-header h2 { color: var(--white); margin-bottom: 8px; font-size: clamp(1.4rem, 3vw, 2rem); }
.reg-header p  { color: rgba(255,255,255,0.8); font-size: 0.95rem; }
 
/* Security badge */
.reg-security-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  padding: 5px 16px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.88);
  margin-top: 12px;
}
.reg-body { padding: 40px; }
.form-section-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--dark-green);
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-gray);
  margin-bottom: 24px;
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-section-title:first-of-type { margin-top: 0; }
.form-section-title .icon {
  width: 28px; height: 28px;
  background: var(--dark-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}
.form-grid { display: grid; gap: 20px; }
.form-grid-2 { grid-template-columns: 1fr 1fr; }
.form-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}
.form-group label .req { color: var(--red); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #d1d9d1;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-control:focus {
  border-color: var(--dark-green);
  box-shadow: 0 0 0 3px rgba(26,92,46,0.12);
}
.form-control::placeholder { color: #a8b8a8; font-size: 0.88rem; }
select.form-control { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
.password-wrap { position: relative; }
.password-wrap .form-control { padding-right: 44px; }
.password-toggle {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  cursor: pointer; color: var(--text-light);
  font-size: 0.9rem;
  padding: 4px;
}
.checkboxes-group { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.checkbox-item { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.checkbox-item input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--dark-green);
  cursor: pointer;
}
.checkbox-item span { font-size: 0.9rem; color: var(--text-mid); }
.form-notice {
  background: rgba(26,92,46,0.06);
  border: 1px solid rgba(26,92,46,0.2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.85rem;
  color: var(--dark-green);
  margin-top: 8px;
}
.agreement-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  cursor: pointer;
}
.agreement-check input { margin-top: 2px; accent-color: var(--dark-green); width: 16px; height: 16px; }
.agreement-check span { font-size: 0.88rem; color: var(--text-mid); }
.agreement-check a { color: var(--dark-green); font-weight: 600; text-decoration: underline; }
.form-submit { text-align: center; margin-top: 32px; }
.form-submit .btn { min-width: 200px; justify-content: center; font-size: 1rem; padding: 16px 40px; }
 
/* ────────────────────────────────────────────────────
   CONTACT
────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 { margin-bottom: 8px; }
.contact-info > p { margin-bottom: 32px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-icon {
  width: 48px; min-width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--dark-green), var(--mid-green));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
}
.contact-item-text label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); font-weight: 600; display: block; margin-bottom: 2px; }
.contact-item-text span { font-weight: 600; color: var(--text-dark); }
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--light-gray);
}
.contact-form-card h3 { margin-bottom: 24px; }
 
/* ────────────────────────────────────────────────────
   FOOTER
────────────────────────────────────────────────────── */
.footer {
  background: #0a2414;
  color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer-brand .logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand .logo-text .name { font-family: var(--font-head); font-size: 1rem; color: var(--white); font-weight: 700; }
.footer-brand .logo-text .slogan { font-size: 0.75rem; color: rgba(255,255,255,0.5); font-style: italic; }
.footer-brand p { font-size: 0.88rem; line-height: 1.8; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 20px; font-family: var(--font-head); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.65); transition: color 0.2s; display: flex; align-items: center; gap: 6px; }
.footer-col ul li a:hover { color: #7dda5e; }
.footer-col ul li a::before { content: '›'; font-size: 1rem; }
.newsletter-form { margin-top: 8px; }
.newsletter-form p { font-size: 0.88rem; margin-bottom: 14px; }
.newsletter-input-wrap { display: flex; gap: 0; }
.newsletter-input-wrap input {
  flex: 1;
  padding: 11px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 0.85rem;
  outline: none;
}
.newsletter-input-wrap input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-input-wrap button {
  background: var(--red);
  border: 1px solid var(--red);
  color: var(--white);
  padding: 11px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
}
.newsletter-input-wrap button:hover { background: #a81818; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom .footer-links { display: flex; gap: 20px; }
.footer-bottom .footer-links a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-bottom .footer-links a:hover { color: rgba(255,255,255,0.8); }
 
/* ────────────────────────────────────────────────────
   CTA BANNER
────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--dark-green) 0%, #0a3518 100%);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(204,31,31,0.2), transparent 60%);
}
.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 64px 24px;
  position: relative;
  z-index: 1;
}
.cta-banner-text h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner-text p { color: rgba(255,255,255,0.75); max-width: 500px; }
.cta-banner-btns { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }
 
/* ────────────────────────────────────────────────────
   PAGE HERO (inner pages)
────────────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--mid-green) 100%);
  color: var(--white);
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.4); }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.78); max-width: 600px; font-size: 1.05rem; }
 
/* ────────────────────────────────────────────────────
   ABOUT PAGE — Mission/Vision/Values
────────────────────────────────────────────────────── */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mvv-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  transition: var(--transition);
}
.mvv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.mvv-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
}
.mvv-mission .mvv-icon { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); }
.mvv-vision  .mvv-icon { background: linear-gradient(135deg, #fce4e4, #f8baba); }
.mvv-values  .mvv-icon { background: linear-gradient(135deg, #e3f2fd, #bbdefb); }
 
.history-timeline { max-width: 720px; margin: 0 auto; position: relative; padding-left: 32px; }
.history-timeline::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--dark-green), var(--red));
  border-radius: 2px;
}
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item::before {
  content: '';
  position: absolute; left: -38px; top: 4px;
  width: 14px; height: 14px;
  background: var(--dark-green);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--dark-green);
}
.timeline-year {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.timeline-item h4 { margin-bottom: 6px; }
.timeline-item p { font-size: 0.9rem; }
 
/* ────────────────────────────────────────────────────
   VALUES GRID
────────────────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.value-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
}
.value-item:hover { background: rgba(255,255,255,0.14); transform: translateY(-3px); }
.value-item .emoji { font-size: 2rem; display: block; margin-bottom: 12px; }
.value-item h4 { font-size: 0.95rem; color: var(--white); margin-bottom: 6px; }
.value-item p { font-size: 0.82rem; color: rgba(255,255,255,0.65); }
 
/* ────────────────────────────────────────────────────
   EVENTS
────────────────────────────────────────────────────── */
.events-list { display: flex; flex-direction: column; gap: 20px; }
.event-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1.5px solid var(--light-gray);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.event-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.event-date-box {
  min-width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--dark-green), var(--mid-green));
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.event-date-box .day { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; line-height: 1; }
.event-date-box .month { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.85; }
.event-info h4 { margin-bottom: 4px; }
.event-info .event-meta { display: flex; gap: 12px; font-size: 0.8rem; color: var(--text-light); margin-bottom: 6px; }
.event-info p { font-size: 0.9rem; }
 
/* ────────────────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────────────────── */
/* ── Tablet ── */
@media (max-width: 1024px) {
  .footer-grid        { grid-template-columns: 1fr 1fr; }
  .pillars-grid       { grid-template-columns: repeat(2, 1fr); }
  .leaders-grid       { grid-template-columns: repeat(2, 1fr); }
  .news-grid          { grid-template-columns: repeat(2, 1fr); }
  .hero .container    { gap: 40px; }
}
 
/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
 
  /* Layout & spacing */
  .container          { padding: 0 16px; }
  .section            { padding: 48px 0; }
  .section-header     { margin-bottom: 32px; }
 
  /* Topbar */
  .topbar             { display: none; }
 
  /* Navbar */
  .navbar .container  { padding: 0 16px; height: 64px; }
  .nav-links, .nav-cta{ display: none; }
  .hamburger          {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    width: 44px; height: 44px;
    min-width: 44px; min-height: 44px;   /* guaranteed tap target */
    align-items: center; justify-content: center;
    cursor: pointer;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    padding: 8px;
    position: relative;
    z-index: 2100;     /* above everything */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
  }
  .hamburger span     { background: var(--dark-green); width: 24px; height: 3px; pointer-events: none; }
  .nav-logo-img       { width: 44px; height: 44px; }
  .nav-logo-text .name{ font-size: 0.95rem; }
  .nav-logo-text .acronym { font-size: 0.65rem; }
 
  /* Hero */
  .hero               { min-height: auto; padding: 0; }
  .hero .container    { grid-template-columns: 1fr; text-align: center; gap: 0; padding: 48px 16px 40px; }
  .hero-visual        { display: none; }
  .hero-content h1    { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .hero-btns          { justify-content: center; flex-wrap: wrap; gap: 12px; }
  .hero-stats         { justify-content: center; gap: 20px; margin-top: 32px; padding-top: 24px; flex-wrap: wrap; }
  .hero-stats .stat-num { font-size: 1.6rem; }
  .nfp-stripes        { display: none; }
 
  /* Page hero (inner pages) */
  .page-hero          { padding: 48px 0 36px; }
  .page-hero h1       { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .page-hero p        { font-size: 0.95rem; }
 
  /* About strip */
  .about-strip .container { grid-template-columns: 1fr; gap: 32px; }
  .about-strip-img    { display: none; }
 
  /* Pillars */
  .pillars-grid       { grid-template-columns: 1fr; gap: 16px; }
  .pillar-card        { padding: 24px 20px; }
 
  /* Manifesto */
  .manifesto-grid     { grid-template-columns: 1fr; gap: 16px; }
 
  /* Leaders */
  .leaders-grid       { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .leader-card        { padding: 20px 16px; }
  .leader-photo       { width: 80px; height: 80px; font-size: 2rem; }
 
  /* News */
  .news-grid          { grid-template-columns: 1fr; gap: 20px; }
 
  /* Mission / Vision / Values */
  .mvv-grid           { grid-template-columns: 1fr; gap: 16px; }
  .mvv-card           { padding: 28px 20px; }
 
  /* Values grid */
  .values-grid        { grid-template-columns: repeat(2, 1fr); gap: 12px; }
 
  /* Events */
  .event-item         { flex-direction: column; gap: 12px; }
  .event-date-box     { width: 100%; flex-direction: row; gap: 8px; height: auto; padding: 12px; border-radius: var(--radius-sm); }
 
  /* Contact */
  .contact-grid       { grid-template-columns: 1fr; gap: 32px; }
  .contact-offices    { grid-template-columns: repeat(2, 1fr); gap: 16px; }
 
  /* Footer */
  .footer-grid        { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand       { max-width: 100%; }
  .footer-bottom .container { flex-direction: column; gap: 12px; text-align: center; }
  .footer-links       { flex-wrap: wrap; justify-content: center; gap: 8px; }
 
  /* CTA Banner */
  .cta-banner .container { flex-direction: column; text-align: center; gap: 20px; }
  .cta-banner .btn    { width: 100%; justify-content: center; }
 
  /* Registration form */
  .reg-page-layout    { display: flex; flex-direction: column; gap: 24px; }
  .reg-sidebar        { order: 2; }
  .reg-wrapper        { order: 1; width: 100%; }
  .reg-header         { padding: 28px 20px 24px; }
  .reg-header h2      { font-size: 1.4rem; }
  .reg-body           { padding: 20px 16px; }
  .reg-stepper        { gap: 6px; overflow-x: auto; padding-bottom: 4px; }
  .step-label         { font-size: 0.65rem; }
 
  /* Forms */
  .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; }
 
  /* Site search bar */
  .site-search-bar .container { flex-direction: column; gap: 12px; align-items: flex-start; }
  .ssb-chips          { flex-wrap: wrap; gap: 6px; }
 
  /* Ticker */
  .ticker-inner       { gap: 32px; }
 
  /* Tables */
  table               { font-size: 0.82rem; }
  th, td              { padding: 10px 12px; }
 
  /* Scroll to top & chatbot */
  .back-top           { bottom: 90px; right: 16px; }
  .nfp-chat-wrapper   { bottom: 20px; right: 16px; }
}
 
/* ── Small phones (≤480px) ── */
@media (max-width: 480px) {
  .container          { padding: 0 14px; }
  .section            { padding: 36px 0; }
 
  .hero .container    { padding: 36px 14px 32px; }
  .hero-content h1    { font-size: 1.7rem; }
  .hero-stats         { gap: 14px; }
  .hero-stats .stat-num { font-size: 1.4rem; }
 
  .page-hero          { padding: 36px 0 28px; }
 
  .leaders-grid       { grid-template-columns: 1fr; }
  .values-grid        { grid-template-columns: 1fr; }
  .contact-offices    { grid-template-columns: 1fr; }
 
  .pillar-card        { padding: 20px 16px; }
  .news-card          { border-radius: var(--radius-sm); }
 
  .reg-header         { padding: 24px 16px 20px; }
  .reg-body           { padding: 16px 12px; }
  .reg-stepper        { gap: 4px; }
  .step-circle        { width: 28px; height: 28px; font-size: 0.75rem; }
  .step-label         { display: none; }
 
  .btn                { padding: 12px 20px; font-size: 0.88rem; }
  .hero-btns .btn     { width: 100%; justify-content: center; }
 
  .nfp-chat-toggle    { width: 52px; height: 52px; }
  .back-top           { width: 38px; height: 38px; bottom: 82px; right: 14px; }
}
 
/* ── Mobile Nav ── */
.mobile-nav {
  display: none;           /* off by default — no invisible overlay */
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--dark-green);
  z-index: 2000;
  flex-direction: column;
  padding: 32px 24px;
  pointer-events: none;    /* extra safety */
}
.mobile-nav.open {
  display: flex;
  pointer-events: all;
  animation: mobileNavIn 0.3s ease forwards;
}
@keyframes mobileNavIn {
  from { transform: translateX(100%); opacity: 0.6; }
  to   { transform: translateX(0);    opacity: 1;   }
}
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.mobile-nav-header .close-btn {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-links a {
  padding: 14px 16px;
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-nav-links a:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.mobile-nav-links a.active { color: #7dda5e; font-weight: 600; }
.mobile-nav-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav-footer .btn { width: 100%; justify-content: center; }
 
/* ── Back to Top ── */
.back-top {
  position: fixed;
  bottom: 100px; right: 28px; /* sits directly above the 60px chatbot button */
  width: 44px; height: 44px;
  background: var(--dark-green);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition);
  z-index: 500;
  opacity: 0;
  transform: translateY(10px);
  border: none;
  font-size: 1rem;
}
.back-top.visible { opacity: 1; transform: translateY(0); }
.back-top:hover { background: var(--red); transform: translateY(-3px); }
 
/* ── Utility ── */
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }
 
/* ====================================================
   ACCESSIBILITY — WCAG 2.1 LEVEL AA
   ==================================================== */
 
/* ── 2.4.1 Skip Navigation Link ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  background: var(--dark-green);
  color: var(--white);
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) 0;
  transition: top 0.2s ease;
  white-space: nowrap;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--white);
  outline-offset: 2px;
}
 
/* ── 2.4.7 Focus Visible — global focus ring ── */
*:focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 3px;
  border-radius: 3px;
}
/* On dark backgrounds use white focus ring */
.section-dark *:focus-visible,
.hero *:focus-visible,
.cta-banner *:focus-visible,
.footer *:focus-visible,
.topbar *:focus-visible,
.mobile-nav *:focus-visible,
.page-hero *:focus-visible {
  outline-color: #ffffff;
}
/* Suppress default browser outline since we handle it above */
*:focus:not(:focus-visible) { outline: none; }
 
/* ── Keyboard-navigable interactive elements ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 3px;
}
.btn:focus-visible { outline-offset: 4px; }
 
/* ── 1.4.3 Colour Contrast — ensure label/badge text passes ── */
/* Label badges on dark sections use #ffd1d1 (L≈0.555) on dark-green (L≈0.081) → ~4.8:1 ✅ */
.section-dark .section-header .label {
  color: #ffd1d1;
  background: rgba(204, 31, 31, 0.25);
}
/* Category tags on news cards — ensure red #cc1f1f on white passes 4.5:1 ✅ (5.58:1) */
/* text-light is now #666666 which gives 5.74:1 on white ✅ */
 
/* ── 1.4.11 Non-text Contrast — form controls ── */
.form-control {
  border-color: #767676; /* 4.5:1 on white ✅ */
}
.form-control:focus {
  border-color: var(--dark-green);
  box-shadow: 0 0 0 3px rgba(0, 95, 204, 0.25);
  outline: none; /* border+box-shadow provides sufficient indicator */
}
 
/* ── 1.4.4 Resize Text — no pixel-locked font sizes ── */
/* Already using clamp() / rem / em throughout. Additional safeguard: */
body { font-size: max(16px, 1rem); }
 
/* ── 2.1.1 Keyboard — interactive card states via keyboard ── */
.pillar-card:focus-within,
.leader-card:focus-within,
.news-card:focus-within,
.mvv-card:focus-within {
  box-shadow: var(--shadow-lg);
  outline: 3px solid #005fcc;
  outline-offset: 2px;
}
 
/* ── 1.3.1 Info & Relationships — visible required field indicator ── */
.form-group label .req {
  color: var(--red);
  font-weight: 700;
  margin-left: 2px;
}
/* Screen-reader-only text ── (for elements needing text only SR sees) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}
 
/* ── Form error states (3.3.1 Error Identification) ── */
.form-control[aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204, 31, 31, 0.15);
}
.field-error {
  color: #b00000; /* darker red for higher contrast: ~7.1:1 on white ✅ */
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.field-error::before { content: '⚠ '; }
 
/* ── 2.4.3 Focus Order — hamburger & mobile nav ── */
.hamburger:focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}
.mobile-nav-links a:focus-visible {
  outline: 3px solid #ffffff;
  background: rgba(255,255,255,0.12);
}
 
/* ────────────────────────────────────────────────────
   COOKIE CONSENT BANNER
   GDPR / Kenya Data Protection Act compliant
────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 10000;
  background: #0a2414;
  border-top: 3px solid var(--dark-green);
  padding: 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.3);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.cookie-text h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 6px;
}
.cookie-text p {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  line-height: 1.6;
}
.cookie-text a { color: #7dda5e; text-decoration: underline; }
.cookie-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 200px;
}
.cookie-controls .btn { justify-content: center; padding: 10px 20px; font-size: 0.88rem; }
.cookie-toggle-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 12px 0 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 14px;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
}
.cookie-toggle input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: #7dda5e;
  cursor: pointer;
}
.cookie-toggle input:disabled { opacity: 0.5; cursor: not-allowed; }
@media (max-width: 768px) {
  .cookie-banner-inner { grid-template-columns: 1fr; }
  .cookie-controls { flex-direction: row; flex-wrap: wrap; }
  .cookie-toggle-row { grid-template-columns: 1fr; }
}
 
/* ────────────────────────────────────────────────────
   PRIVACY POLICY PAGE
────────────────────────────────────────────────────── */
.privacy-content {
  max-width: 820px;
  margin: 0 auto;
}
.privacy-content h2 {
  font-size: 1.4rem;
  margin: 40px 0 12px;
  padding-top: 40px;
  border-top: 1px solid var(--light-gray);
  color: var(--dark-green);
}
.privacy-content h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.privacy-content h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.privacy-content p { margin-bottom: 14px; }
.privacy-content ul { margin: 12px 0 16px 24px; list-style: disc; }
.privacy-content ul li { margin-bottom: 6px; font-size: 0.95rem; color: var(--text-mid); }
.privacy-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.9rem;
}
.privacy-content table th {
  background: var(--dark-green);
  color: white;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
}
.privacy-content table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--light-gray);
  color: var(--text-mid);
}
.privacy-content table tr:nth-child(even) td { background: var(--off-white); }
.privacy-toc {
  background: var(--off-white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 40px;
}
.privacy-toc h3 { margin-bottom: 14px; margin-top: 0; font-size: 1rem; }
.privacy-toc ol { margin-left: 20px; }
.privacy-toc ol li { margin-bottom: 6px; }
.privacy-toc ol li a { color: var(--dark-green); text-decoration: underline; font-size: 0.92rem; }
.privacy-toc ol li a:hover { color: var(--red); }
.last-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,92,46,0.08);
  border: 1px solid rgba(26,92,46,0.2);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.82rem;
  color: var(--dark-green);
  font-weight: 600;
  margin-bottom: 28px;
}
 
/* ── Prefers Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-logo-ring { animation: none; }
  .ticker-inner { animation: none; }
  .hero-badge .dot { animation: none; }
}
 
/* ── High Contrast Mode support ── */
@media (forced-colors: active) {
  .btn { border: 2px solid ButtonText; }
  .form-control { border: 2px solid ButtonText; }
  .skip-link { border: 2px solid ButtonText; }
  *:focus-visible { outline: 3px solid Highlight; }
}
 
/* ══════════════════════════════════════════════════════════════════════
   RECRUITMENT & MEMBER PORTAL — Shared styles
   Applied to: register.html wizard, member-portal.html
══════════════════════════════════════════════════════════════════════ */
 
/* ── "Manage Cookies" footer button (all pages) ── */
.manage-cookies-footer {
  background: none;
  border: none;
  color: var(--dark-green);
  cursor: pointer;
  font-size: 0.82rem;
  text-decoration: underline;
  padding: 0;
  margin-bottom: 8px;
  display: block;
}
.manage-cookies-footer:hover { color: var(--red); }
 
/* ── Demo / info notice ── */
.demo-notice {
  background: #fff8e1;
  border: 1.5px solid #f0c040;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.82rem;
  color: #7a5c00;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
 
/* ── Spinner (shared) ── */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(26,92,46,0.2);
  border-top-color: var(--dark-green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
  vertical-align: middle;
}
@media (prefers-reduced-motion: reduce) {
  .spinner { animation: none; border-top-color: var(--dark-green); }
}
 
/* ── Portal tab active indicator ── */
.portal-tab:focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 2px;
}
 
/* ════════════════════════════════════════════════════════════════
   WCAG 2.1 AA — EXTENDED ACCESSIBILITY ENHANCEMENTS
   ════════════════════════════════════════════════════════════════ */
 
/* ── 2.4.8 Location: aria-current="page" nav indicator ── */
.nav-links a[aria-current="page"],
.mobile-nav-links a[aria-current="page"] {
  color: var(--dark-green);
  font-weight: 700;
  position: relative;
}
.nav-links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 3px;
  background: var(--dark-green);
  border-radius: 2px;
}
.mobile-nav-links a[aria-current="page"] {
  background: rgba(26,92,46,0.15);
  border-left: 4px solid var(--dark-green);
}
 
/* ── 4.1.3 Status Messages: role="alert" / role="status" ── */
[role="alert"] {
  border-radius: var(--radius-sm);
}
[role="alert"]:not(:empty) {
  animation: alertFadeIn 0.25s ease;
}
@keyframes alertFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
 
/* ── 3.3.1 Error Identification — alert boxes ── */
.error-alert {
  color: #8b0000;
  background: rgba(204,31,31,0.07);
  border: 1.5px solid rgba(204,31,31,0.3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  display: block;
  min-height: 0;
}
.success-alert {
  color: #1a5c2e;
  background: rgba(26,92,46,0.08);
  border: 1.5px solid rgba(26,92,46,0.3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 600;
}
 
/* ── 1.3.4 Orientation — no locking ── */
/* No CSS restricts device orientation ✅ */
 
/* ── 2.5.3 Label in Name — visible labels match accessible names ── */
/* All visible label text matches aria-label where used ✅ */
 
/* ── 1.4.10 Reflow — no fixed widths that cause horizontal scroll ── */
/* All containers use max-width + padding, tables are responsive ✅ */
 
/* ── Table accessibility: ensure visible border so focus outline is clear ── */
table[aria-label] th:focus-visible,
table[aria-label] td:focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: -2px;
}
 
/* ── Wizard panel ARIA live region (register.html) ── */
.wizard-live-region {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
 
/* ── Contact form feedback (aria-live) ── */
.form-feedback[aria-live] {
  min-height: 1.5rem;
  padding: 0;
  transition: padding 0.2s;
}
.form-feedback[aria-live]:not(:empty) {
  padding: 12px 16px;
}
 
/* ── Newsletter consent label ── */
.newsletter-consent-label input[type="checkbox"] {
  accent-color: #7dda5e;
  width: 15px; height: 15px;
  cursor: pointer;
}
.newsletter-consent-label input:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
 
/* ── 2.4.4 Link Purpose — "read more" links get sr-only context ── */
.news-card a.read-more .sr-only { display: inline; }
 
/* ── 1.4.13 Content on Hover or Focus ── */
/* Tooltips fade, not instantly appear/disappear ✅ */
 
/* ── Status card colours ── */
.status-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1.5px solid var(--light-gray);
  box-shadow: var(--shadow-sm);
}
.status-card.found    { border-color: var(--mid-green); }
.status-card.not-found{ border-color: var(--red); }
 
/* ── Wizard step progress bar fill ── */
.step-pill.done .step-circle {
  background: var(--mid-green);
  border-color: var(--mid-green);
  color: white;
}
.step-pill.active .step-circle {
  background: var(--dark-green);
  border-color: var(--dark-green);
  color: white;
  box-shadow: 0 0 0 4px rgba(26,92,46,0.15);
}
 
/* ── Agreement checkbox (shared, used on register & portal) ── */
.confirm-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  cursor: pointer;
}
.confirm-check input { margin-top: 3px; flex-shrink: 0; }
.confirm-check span  { font-size: 0.9rem; color: var(--text-mid); }
.confirm-check:hover { background: #e8f5e9; }
 
 
/* ═══════════════════════════════════════════════════════════════
   SITE SEARCH BAR — index.html
   ═══════════════════════════════════════════════════════════════ */
.site-search-bar {
  background: var(--dark-green);
  padding: 22px 0 18px;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.ssb-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border-radius: 50px;
  padding: 6px 6px 6px 20px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  transition: box-shadow 0.2s;
}
.ssb-inner:focus-within {
  box-shadow: 0 4px 28px rgba(26,92,46,0.35);
}
.ssb-label {
  font-size: 1.15rem;
  flex-shrink: 0;
  color: var(--mid-green);
}
.ssb-field-wrap {
  flex: 1;
  position: relative;
}
.ssb-input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: transparent;
  padding: 8px 32px 8px 0;
}
.ssb-input::placeholder { color: #999; }
.ssb-input::-webkit-search-cancel-button { display: none; }
.ssb-clear {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #aaa;
  font-size: 0.9rem;
  padding: 2px 6px;
  line-height: 1;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}
.ssb-clear:hover { color: var(--red); background: #fff0f0; }
.ssb-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  overflow: hidden;
  max-height: 380px;
  overflow-y: auto;
  z-index: 200;
  border: 1px solid var(--light-gray);
}
.ssb-results[hidden] { display: none; }
.ssb-result-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 18px;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-dark);
  border-bottom: 1px solid var(--light-gray);
  transition: background 0.15s;
}
.ssb-result-item:last-child { border-bottom: none; }
.ssb-result-item:hover,
.ssb-result-item[aria-selected="true"] {
  background: #f0f8f2;
}
.ssb-result-item:focus-visible {
  outline: 2px solid var(--dark-green);
  outline-offset: -2px;
}
.ssb-result-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
  width: 28px;
  text-align: center;
}
.ssb-result-body { flex: 1; }
.ssb-result-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark-green);
  margin-bottom: 2px;
}
.ssb-result-desc {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.4;
}
.ssb-result-tag {
  font-size: 0.72rem;
  background: #e8f5e9;
  color: var(--dark-green);
  border-radius: 20px;
  padding: 2px 8px;
  font-weight: 600;
  flex-shrink: 0;
  align-self: center;
}
.ssb-no-results {
  padding: 18px;
  text-align: center;
  color: var(--text-mid);
  font-size: 0.9rem;
}
.ssb-hint {
  text-align: center;
  margin: 12px 0 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.ssb-chip {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
  border-radius: 50px;
  padding: 3px 12px;
  font-size: 0.78rem;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s, color 0.2s;
}
.ssb-chip:hover {
  background: rgba(255,255,255,0.28);
  color: white;
}
@media (max-width: 600px) {
  .ssb-inner { border-radius: var(--radius-md); padding: 8px 8px 8px 14px; }
  .ssb-input { font-size: 0.92rem; }
  .ssb-hint  { font-size: 0.76rem; gap: 6px; }
}
 
/* ═══════════════════════════════════════════════════════════════
   NFP CHATBOT / AI ASSISTANT
   ═══════════════════════════════════════════════════════════════ */
 
/* ── Critical: hidden attribute must win over display:flex ──────────
   The browser's UA stylesheet sets [hidden]{display:none} at very low
   specificity. Any display:flex/grid rule in this file overrides it.
   We restore correct behaviour here with !important for every chatbot
   element that uses the `hidden` attribute to toggle visibility.       */
.nfp-chat-panel[hidden],
.nfp-chat-badge[hidden],
.nfp-toggle-icon[hidden] { display: none !important; }
 
/* ── Wrapper (positions everything) ── */
.nfp-chat-wrapper {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-family: var(--font-body);
}
 
/* ── Toggle Button ── */
.nfp-chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--dark-green);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(26,92,46,0.45);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  color: white;
}
.nfp-chat-toggle:hover {
  transform: scale(1.1);
  background: var(--mid-green);
  box-shadow: 0 8px 32px rgba(26,92,46,0.55);
}
.nfp-chat-toggle:focus-visible {
  outline: 3px solid white;
  outline-offset: 3px;
}
.nfp-toggle-icon { display: flex; align-items: center; justify-content: center; }
 
/* Pulse ring animation on load */
.nfp-chat-toggle::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(45,122,58,0.5);
  animation: nfpPulse 2.5s ease-out infinite;
}
@keyframes nfpPulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  70%  { transform: scale(1.4); opacity: 0; }
  100% { opacity: 0; }
}
 
/* Badge (unread indicator) */
.nfp-chat-badge {
  position: absolute;
  top: 0; right: 0;
  width: 20px; height: 20px;
  background: var(--red);
  color: white;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  animation: nfpBadgePop 0.3s cubic-bezier(0.175,0.885,0.32,1.275);
}
@keyframes nfpBadgePop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}
 
/* ── Chat Panel ── */
.nfp-chat-panel {
  width: 360px;
  max-height: 540px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 16px 60px rgba(0,0,0,0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: nfpSlideUp 0.28s cubic-bezier(0.34,1.56,0.64,1);
  border: 1px solid rgba(26,92,46,0.12);
}
@keyframes nfpSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}
 
/* ── Header ── */
.nfp-chat-header {
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--mid-green) 100%);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nfp-chat-avatar {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nfp-chat-title { flex: 1; }
.nfp-chat-name {
  display: block;
  font-weight: 700;
  color: white;
  font-size: 0.95rem;
  line-height: 1.2;
}
.nfp-chat-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
}
.nfp-online-dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  display: inline-block;
  animation: nfpBlink 2s infinite;
}
@keyframes nfpBlink {
  0%, 100% { opacity: 1; } 50% { opacity: 0.4; }
}
.nfp-chat-header-actions { display: flex; gap: 6px; }
.nfp-chat-clear,
.nfp-chat-close {
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  width: 30px; height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.nfp-chat-clear:hover { background: rgba(255,255,255,0.28); }
.nfp-chat-close:hover { background: rgba(204,31,31,0.6); }
 
/* ── Messages Area ── */
.nfp-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
  background: #f8faf8;
}
.nfp-chat-messages::-webkit-scrollbar { width: 4px; }
.nfp-chat-messages::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
 
/* ── Bubbles ── */
.nfp-bubble {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 92%;
}
.nfp-bubble-in {
  animation: nfpBubblePop 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes nfpBubblePop {
  from { opacity: 0; transform: translateY(8px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}
.nfp-bubble-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.nfp-bubble-avatar {
  flex-shrink: 0;
  margin-top: 2px;
}
.nfp-bubble-body {
  background: white;
  border-radius: 16px 16px 16px 4px;
  padding: 10px 14px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-dark);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  word-break: break-word;
}
.nfp-bubble-body a { color: var(--dark-green); font-weight: 600; }
.nfp-bubble-body ul, .nfp-bubble-body ol { padding-left: 18px; margin: 6px 0; }
.nfp-bubble-body li { margin-bottom: 3px; }
.nfp-bubble-user .nfp-bubble-body {
  background: var(--dark-green);
  color: white;
  border-radius: 16px 16px 4px 16px;
  box-shadow: 0 1px 4px rgba(26,92,46,0.3);
}
.nfp-bubble-user .nfp-bubble-body a { color: #a8f0bb; }
 
/* Typing indicator */
.nfp-typing-dots { display: flex; align-items: center; gap: 4px; padding: 6px 4px; }
.nfp-typing-dots span {
  width: 7px; height: 7px;
  background: #aaa;
  border-radius: 50%;
  animation: nfpDot 1.2s infinite ease-in-out;
}
.nfp-typing-dots span:nth-child(1) { animation-delay: 0s; }
.nfp-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.nfp-typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes nfpDot {
  0%, 80%, 100% { transform: scale(0.7); background: #ccc; }
  40%           { transform: scale(1.1); background: var(--mid-green); }
}
 
/* ── Quick Replies ── */
.nfp-quick-replies {
  padding: 8px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: #f8faf8;
  border-top: 1px solid #eee;
  flex-shrink: 0;
}
.nfp-qr-chip {
  background: white;
  border: 1.5px solid #c8e6c9;
  color: var(--dark-green);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.nfp-qr-chip:hover {
  background: var(--dark-green);
  border-color: var(--dark-green);
  color: white;
}
 
/* ── Input Area ── */
.nfp-chat-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid #e8f0e8;
  background: white;
  flex-shrink: 0;
}
.nfp-chat-input {
  flex: 1;
  border: 1.5px solid #ddd;
  border-radius: 50px;
  padding: 9px 16px;
  font-size: 0.88rem;
  font-family: var(--font-body);
  outline: none;
  color: var(--text-dark);
  transition: border-color 0.2s;
  background: #f8faf8;
}
.nfp-chat-input:focus {
  border-color: var(--dark-green);
  background: white;
}
.nfp-chat-input::placeholder { color: #aaa; }
.nfp-chat-send {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--dark-green);
  border: none;
  color: white;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}
.nfp-chat-send:hover { background: var(--mid-green); transform: scale(1.08); }
.nfp-chat-send:focus-visible { outline: 2px solid var(--dark-green); outline-offset: 2px; }
 
/* ── Footer ── */
.nfp-chat-footer {
  text-align: center;
  font-size: 0.7rem;
  color: #aaa;
  padding: 6px 12px 8px;
  margin: 0;
  background: white;
  border-top: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.nfp-chat-footer a { color: var(--dark-green); }
 
/* ── Mobile adjustments ── */
@media (max-width: 480px) {
  .nfp-chat-wrapper { bottom: 16px; right: 16px; }
  .nfp-chat-panel   { width: calc(100vw - 32px); max-height: 70vh; }
  .nfp-chat-toggle  { width: 54px; height: 54px; }
}
 
/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .nfp-chat-toggle::before,
  .nfp-online-dot,
  .nfp-typing-dots span { animation: none; }
  .nfp-chat-panel        { animation: none; }
  .nfp-bubble-in         { animation: none; }
}
 