/* ============================================================
   GNSCF Website — "Unity & Growth" Design System
   Global Nepali Speaking Christian Fellowship
   ============================================================ */

/* ── Google Fonts ───────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Manrope:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

/* ── Design Tokens (CSS Custom Properties) ──────────────────── */
:root {
  /* Primary */
  --primary: #002045;
  --primary-container: #1a365d;
  --primary-light: #2a4a7a;
  --on-primary: #ffffff;
  --on-primary-container: #86a0cd;
  --inverse-primary: #adc7f7;

  /* Secondary */
  --secondary: #0a6c44;
  --secondary-container: #9ff5c1;
  --on-secondary: #ffffff;
  --on-secondary-container: #167249;
  --emerald: #10b981;
  --emerald-dark: #059669;
  --emerald-light: #34d399;

  /* Tertiary */
  --tertiary: #321b00;
  --tertiary-container: #4f2e00;
  --on-tertiary-container: #d4903b;

  /* Neutral / Surfaces */
  --surface: #f7fafc;
  --surface-dim: #d7dadc;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f1f4f6;
  --surface-container: #ebeef0;
  --surface-container-high: #e5e9eb;
  --surface-container-highest: #e0e3e5;
  --on-surface: #181c1e;
  --on-surface-variant: #43474e;
  --inverse-surface: #2d3133;
  --inverse-on-surface: #eef1f3;

  /* Outline */
  --outline: #74777f;
  --outline-variant: #c4c6cf;

  /* Error */
  --error: #ba1a1a;
  --error-container: #ffdad6;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.15);

  /* Radii */
  --radius-sm: 0.25rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-3xl: 2.5rem;
  --radius-full: 9999px;

  /* Spacing */
  --container-max: 1280px;
  --gutter: 1.5rem;
}

/* ── CSS Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: var(--surface);
  color: var(--on-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1.2; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
::selection { background: rgba(0,32,69,0.1); color: var(--primary); }

/* Screen reader only */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Focus visible */
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 2px; }

/* ── Typography ─────────────────────────────────────────────── */
.display-lg  { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 3rem; line-height: 3.5rem; font-weight: 700; letter-spacing: -0.02em; }
.headline-lg { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2rem; line-height: 2.5rem; font-weight: 600; }
.headline-md { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.5rem; line-height: 2rem; font-weight: 600; }
.body-lg     { font-family: 'Manrope', sans-serif; font-size: 1.125rem; line-height: 1.75rem; font-weight: 400; }
.body-md     { font-family: 'Manrope', sans-serif; font-size: 1rem; line-height: 1.5rem; font-weight: 400; }
.label-md    { font-family: 'Manrope', sans-serif; font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; letter-spacing: 0.05em; }

/* ── Layout ─────────────────────────────────────────────────── */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }
.section-padding { padding: 6rem 0; }
.section-padding-sm { padding: 5rem 0; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }

/* Grid */
.grid { display: grid; gap: var(--gutter); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Flex */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Material Symbols */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ============================================================
   COMPONENT: Navigation Header
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: rgba(26, 54, 93, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: box-shadow 0.3s ease;
}
.site-header.header-scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; }

.logo-container { display: flex; align-items: center; gap: 0.75rem; }
.logo-circle {
  width: 48px; height: 48px;
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 4px;
  box-shadow: var(--shadow-md);
}
.logo-circle img { height: 40px; width: auto; object-fit: contain; }
.logo-text { color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; }

.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-links a {
  color: rgba(255,255,255,0.9);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--emerald); }
.nav-link-active { color: var(--emerald) !important; border-bottom: 2px solid var(--emerald); padding-bottom: 4px; }
.nav-btn-gallery {
  background: var(--emerald);
  color: #fff;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 4px 14px rgba(16,185,129,0.2);
  transition: all 0.3s ease;
  border: none;
}
.nav-btn-gallery:hover { background: var(--emerald-dark); transform: translateY(-1px); }

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; color: #fff; padding: 0.5rem;
}
.mobile-menu-btn svg { width: 32px; height: 32px; }

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 55;
  opacity: 0; visibility: hidden;
  transition: all 0.3s ease;
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }

/* Mobile Menu Panel */
.mobile-menu {
  position: fixed; top: 0; right: 0;
  width: 80%; max-width: 360px; height: 100vh;
  background: var(--primary-container);
  z-index: 60;
  display: flex; flex-direction: column;
  padding: 2rem;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-close {
  align-self: flex-end;
  background: none; border: none; color: #fff;
  padding: 0.5rem; margin-bottom: 2rem;
  cursor: pointer;
}
.mobile-menu-close svg { width: 28px; height: 28px; }
.mobile-menu-nav { display: flex; flex-direction: column; }
.mobile-menu-nav a {
  color: #fff; padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-weight: 600; font-size: 1rem;
  transition: color 0.2s;
}
.mobile-menu-nav a:hover { color: var(--emerald); }
.mobile-menu-nav .nav-btn-gallery { margin-top: 1.5rem; text-align: center; }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .mobile-menu-btn { display: none; }
}

/* ============================================================
   COMPONENT: Hero Slider (Homepage)
   ============================================================ */
.hero-slider {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(26, 54, 93, 0.6);
}
.hero-content { position: relative; z-index: 10; padding: 5rem 0; }
.hero-badge {
  display: inline-block;
  padding: 0.25rem 1rem;
  background: rgba(16,185,129,0.2);
  color: var(--emerald-light);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-title .accent { color: var(--emerald); }
.hero-description {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.hero-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 20;
}
.hero-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero-dot:hover { background: rgba(255,255,255,0.5); }
.hero-dot.active { background: var(--emerald); }

@media (min-width: 1024px) {
  .hero-title { font-size: 4.5rem; }
}

/* ── Page Hero Variants ─────────────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(26,54,93,0.7), rgba(26,54,93,0.7));
}
.page-hero-content { position: relative; z-index: 10; text-align: center; padding: 0 1.5rem; }
.page-hero-content h1 {
  color: #fff; font-size: 3rem; font-weight: 800;
  margin-bottom: 1rem; text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.page-hero-divider { width: 6rem; height: 4px; background: var(--emerald); margin: 0 auto 1.5rem; border-radius: 2px; }
.page-hero-content p { color: rgba(236,253,245,1); font-size: 1.25rem; max-width: 42rem; margin: 0 auto; font-weight: 300; line-height: 1.7; }
.page-hero-skew {
  position: absolute; bottom: 0; left: 0; width: 100%;
  height: 4rem; background: var(--surface);
  transform: skewY(1deg); transform-origin: bottom right;
}

/* Dark hero variant */
.page-hero-dark {
  background: var(--primary);
  padding: 5rem 0 8rem;
  text-align: center;
}
.page-hero-dark h1 {
  color: #fff; font-size: 2.5rem; font-weight: 700;
  margin-bottom: 1.5rem;
}
.page-hero-dark h1 .accent { color: var(--emerald); }
.page-hero-dark p { color: #cbd5e1; font-size: 1.125rem; max-width: 42rem; margin: 0 auto; line-height: 1.7; }

/* Simple white hero */
.page-hero-simple {
  background: #fff; padding: 8rem 0 5rem;
  overflow: hidden; position: relative; text-align: center;
}
.page-hero-simple h1 { color: var(--primary); font-size: 2.5rem; font-weight: 800; margin-bottom: 2rem; letter-spacing: -0.02em; }
.page-hero-simple p { color: var(--on-surface-variant); font-size: 1.125rem; max-width: 48rem; margin: 0 auto; line-height: 1.7; font-weight: 500; }
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(60px);
}
.hero-orb-1 { top: 0; right: 0; transform: translate(25%, -50%); width: 24rem; height: 24rem; background: rgba(16,185,129,0.05); }
.hero-orb-2 { bottom: 0; left: 0; transform: translate(-25%, 50%); width: 24rem; height: 24rem; background: rgba(26,54,93,0.05); }

@media (min-width: 768px) {
  .page-hero-content h1 { font-size: 4.5rem; }
  .page-hero-dark h1 { font-size: 3.5rem; }
  .page-hero-simple h1 { font-size: 3.5rem; }
}

/* ============================================================
   COMPONENT: Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; transition: all 0.3s ease;
  cursor: pointer; border: none; font-family: inherit;
  text-decoration: none;
}
.btn-primary {
  background: var(--emerald); color: #fff;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(16,185,129,0.3);
}
.btn-primary:hover { background: var(--emerald-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(16,185,129,0.35); }
.btn-secondary {
  background: var(--primary); color: #fff;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  box-shadow: var(--shadow-lg);
}
.btn-secondary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--outline-variant);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
}
.btn-outline:hover { background: var(--surface-container); }
.btn-white {
  background: #fff; color: var(--primary);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  box-shadow: var(--shadow-lg);
}
.btn-white:hover { background: #f1f5f9; }
.btn-dark-fill {
  background: var(--primary); color: var(--on-primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
}
.btn-dark-fill:hover { background: var(--primary-container); }
.btn-full { width: 100%; }
.btn-icon { display: inline-flex; align-items: center; gap: 0.5rem; }

/* ============================================================
   COMPONENT: Feature Cards (Homepage)
   ============================================================ */
.feature-cards { display: grid; gap: 2rem; }
.feature-card {
  background: var(--surface-container-low);
  border-radius: var(--radius-3xl);
  padding: 2rem;
  border: 1px solid #f1f5f9;
  text-align: center;
  transition: all 0.3s ease;
}
.feature-card:hover { border-color: rgba(16,185,129,0.3); box-shadow: 0 25px 50px rgba(16,185,129,0.05); }
.feature-card-icon {
  width: 80px; height: 80px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 2rem;
  box-shadow: var(--shadow-lg);
  transition: background 0.3s ease;
}
.feature-card:hover .feature-card-icon { background: var(--emerald); }
.feature-card-icon svg { width: 40px; height: 40px; }
.feature-card h3 { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
.feature-card p { color: #64748b; line-height: 1.7; margin-bottom: 2rem; }
.feature-card-link {
  display: inline-flex; align-items: center;
  color: var(--primary); font-weight: 700;
  transition: color 0.2s;
}
.feature-card-link:hover { color: var(--emerald); }
.feature-card-link svg { width: 20px; height: 20px; margin-left: 0.5rem; }

@media (min-width: 768px) { .feature-cards { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }

/* ============================================================
   COMPONENT: Newsletter Section
   ============================================================ */
.newsletter-section {
  padding: 5rem 0;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}
.newsletter-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}
.newsletter-circle-1 { top: 0; left: 0; width: 16rem; height: 16rem; border: 4px solid #fff; transform: translate(-50%, -50%); }
.newsletter-circle-2 { bottom: 0; right: 0; width: 24rem; height: 24rem; border: 4px solid var(--emerald); transform: translate(33%, 33%); }
.newsletter-inner {
  max-width: 48rem; margin: 0 auto;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-3xl);
  padding: 2.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  position: relative; z-index: 10;
}
.newsletter-inner h2 { color: #fff; font-size: 1.875rem; font-weight: 800; margin-bottom: 1rem; }
.newsletter-inner p { color: rgba(255,255,255,0.7); font-size: 1.125rem; margin-bottom: 2.5rem; }
.newsletter-form { display: flex; flex-direction: column; gap: 1rem; max-width: 36rem; margin: 0 auto; }
.newsletter-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-input:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(16,185,129,0.2); }
.newsletter-btn {
  background: var(--emerald);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-xl);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(16,185,129,0.2);
  white-space: nowrap;
}
.newsletter-btn:hover { background: var(--emerald-dark); }

@media (min-width: 640px) { .newsletter-form { flex-direction: row; } }
@media (min-width: 1024px) { .newsletter-inner { padding: 4rem; } }

/* ============================================================
   COMPONENT: Footer
   ============================================================ */
.site-footer { background: #0f172a; color: rgba(255,255,255,0.8); padding: 5rem 0 2.5rem; }
.footer-grid { display: grid; gap: 3rem; margin-bottom: 4rem; }
.footer-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 2rem; }
.footer-logo .logo-circle { width: 40px; height: 40px; padding: 3px; }
.footer-logo .logo-circle img { height: 32px; }
.footer-logo .logo-text { color: #fff; font-weight: 800; font-size: 1.25rem; }
.footer-description { color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 2rem; font-size: 0.9375rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
}
.footer-social a:hover { background: var(--emerald); }
.footer-social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-heading {
  color: #fff; font-weight: 700; font-size: 1.125rem;
  margin-bottom: 2rem; position: relative;
}
.footer-heading::after {
  content: ''; position: absolute;
  bottom: -8px; left: 0;
  width: 2rem; height: 4px;
  background: var(--emerald);
  border-radius: 2px;
}
.footer-heading-bar { border-bottom: 2px solid var(--emerald); width: fit-content; padding-bottom: 4px; margin-bottom: 1.5rem; }
.footer-heading-chevron { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 2rem; }
.footer-heading-chevron span { width: 2rem; height: 4px; background: var(--emerald); border-radius: var(--radius-full); }
.footer-links { display: flex; flex-direction: column; gap: 1rem; }
.footer-links a { color: rgba(255,255,255,0.75); font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--emerald); }
.footer-links-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.footer-contact-item { display: flex; gap: 1rem; }
.footer-contact-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  color: var(--emerald);
  flex-shrink: 0;
}
.footer-contact-icon svg { width: 24px; height: 24px; }
.footer-contact-icon .material-symbols-outlined { color: var(--emerald); }
.footer-contact-label { color: #fff; font-weight: 600; margin-bottom: 0.25rem; font-size: 0.9375rem; }
.footer-contact-value { color: rgba(255,255,255,0.7); font-size: 0.875rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 2fr; }
  .footer-grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .footer-grid-12 { grid-template-columns: 5fr 4fr 3fr; gap: 4rem; }
}

/* ============================================================
   COMPONENT: Section Titles
   ============================================================ */
.section-title { color: var(--primary); font-size: 2rem; font-weight: 700; }
.section-subtitle { color: var(--on-surface-variant); margin-top: 0.5rem; }
.section-label {
  color: var(--emerald);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.875rem;
}

/* ============================================================
   COMPONENT: About Page — Intro Section
   ============================================================ */
.about-intro { display: grid; gap: 4rem; align-items: center; }
.about-intro-image {
  position: relative; min-height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}
.about-intro-image img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 1024px) { .about-intro { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   COMPONENT: Timeline
   ============================================================ */
.timeline { max-width: 48rem; margin: 0 auto; }
.timeline-item {
  display: flex; gap: 2rem; align-items: flex-start;
  position: relative;
  border-left: 2px solid var(--emerald);
  padding-left: 2rem;
  margin-left: 1rem;
  padding-bottom: 3rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -0.75rem; top: 0;
  width: 1.5rem; height: 1.5rem;
  background: var(--emerald);
  border-radius: 50%;
  border: 4px solid #fff;
}
.timeline-item h3 { font-size: 1.25rem; font-weight: 700; color: var(--primary); }
.timeline-item p { color: #64748b; margin-top: 0.5rem; line-height: 1.7; }

/* ============================================================
   COMPONENT: Vision & Mission Section
   ============================================================ */
.vm-section { padding: 6rem 0; background: var(--primary); color: #fff; }
.vm-grid { display: grid; gap: 3rem; }
.vm-card {
  background: rgba(255,255,255,0.05);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
}
.vm-icon {
  width: 64px; height: 64px;
  background: rgba(16,185,129,0.2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.vm-icon svg { width: 32px; height: 32px; color: var(--emerald); stroke: var(--emerald); }
.vm-card h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 1rem; }
.vm-card p, .vm-card li { color: #d1d5db; line-height: 1.7; }
.vm-list { display: flex; flex-direction: column; gap: 1rem; }
.vm-list-item { display: flex; align-items: flex-start; }
.vm-arrow { color: var(--emerald); margin-right: 0.5rem; font-size: 1rem; }

@media (min-width: 768px) { .vm-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   COMPONENT: Purpose Cards
   ============================================================ */
.purpose-grid { display: grid; gap: 2rem; }
.purpose-card {
  padding: 2rem;
  background: #fff;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  border-top: 4px solid var(--emerald);
  transition: box-shadow 0.3s ease;
}
.purpose-card:hover { box-shadow: var(--shadow-xl); }
.purpose-card h3 { font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
.purpose-card p { color: #64748b; font-size: 0.875rem; line-height: 1.7; }

@media (min-width: 768px) { .purpose-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   COMPONENT: Country Coordinator Section
   ============================================================ */
.coordinator-section { padding: 6rem 0; background: #f1f5f9; overflow: hidden; }
.coordinator-card {
  background: #fff;
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.coordinator-sidebar {
  background: var(--primary);
  padding: 3rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.coordinator-sidebar h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 1.5rem; }
.coordinator-sidebar p { color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 2rem; }
.coordinator-stat { display: flex; align-items: center; gap: 1rem; }
.coordinator-stat-number { color: var(--emerald); font-size: 1.5rem; font-weight: 700; }
.coordinator-stat-label { color: #d1d5db; font-size: 0.875rem; }
.coordinator-content { padding: 3rem; }
.coordinator-checklist { display: grid; gap: 1rem; }
.coordinator-check-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.coordinator-check-icon {
  min-width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  background: var(--emerald);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.75rem; flex-shrink: 0;
}
.coordinator-check-item p { color: #64748b; font-size: 0.875rem; }

@media (min-width: 1024px) {
  .coordinator-card { flex-direction: row; }
  .coordinator-sidebar { width: 33.333%; }
  .coordinator-content { width: 66.666%; }
  .coordinator-checklist { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

/* ============================================================
   COMPONENT: CTA Section
   ============================================================ */
.cta-section {
  padding: 5rem 0;
  background: var(--emerald);
  text-align: center;
  color: #fff;
}
.cta-section h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.cta-section p { font-size: 1.25rem; margin-bottom: 2.5rem; max-width: 42rem; margin-left: auto; margin-right: auto; opacity: 0.9; }
.cta-actions { display: flex; flex-direction: column; gap: 1rem; justify-content: center; align-items: center; }

@media (min-width: 640px) { .cta-actions { flex-direction: row; } }

/* ============================================================
   COMPONENT: Event Cards (Programs)
   ============================================================ */
.events-grid { display: grid; gap: var(--gutter); }
.event-card {
  background: var(--surface-container-lowest);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.event-card:hover { box-shadow: var(--shadow-lg); }
.event-card-image { height: 12rem; overflow: hidden; position: relative; }
.event-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.event-card:hover .event-card-image img { transform: scale(1.1); }
.event-card-tag {
  position: absolute; top: 1rem; left: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 600;
  letter-spacing: 0.05em;
}
.event-card-tag-primary { background: var(--primary); color: var(--on-primary); }
.event-card-tag-secondary { background: var(--secondary); color: var(--on-secondary); }
.event-card-tag-tertiary { background: var(--tertiary-container); color: var(--on-tertiary-container); }
.event-card-body { padding: 1.5rem; }
.event-card-body h3 { font-size: 1.5rem; font-weight: 600; color: var(--primary); margin-bottom: 1rem; }
.event-card-info { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.event-card-info-item { display: flex; align-items: center; gap: 0.5rem; color: var(--on-surface-variant); font-size: 0.875rem; font-weight: 600; }
.event-card-info-item .material-symbols-outlined { font-size: 20px; }
.event-card-info-item.highlight { color: var(--secondary); font-weight: 700; }
.event-card-actions { display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1rem; }

@media (min-width: 768px) { .events-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .events-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   COMPONENT: Programs Hero Info Box
   ============================================================ */
.program-hero-info {
  background: var(--surface-container-low);
  border: 1px solid rgba(196,198,207,0.3);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-top: 2rem;
  max-width: 36rem;
  margin-left: auto; margin-right: auto;
}
.program-hero-info-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.program-info-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.program-info-icon { background: rgba(0,32,69,0.05); padding: 0.5rem; border-radius: var(--radius); display: flex; }
.program-info-icon .material-symbols-outlined { color: var(--primary); font-size: 24px; }
.program-info-icon.accent { background: rgba(10,108,68,0.1); }
.program-info-icon.accent .material-symbols-outlined { color: var(--secondary); }
.program-info-label { color: var(--on-surface-variant); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.program-info-value { color: var(--on-surface); font-weight: 700; }
.program-info-value.accent { color: var(--secondary); }

@media (min-width: 640px) { .program-hero-info-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   COMPONENT: Bento Grid (Mission Pillars)
   ============================================================ */
.bento-grid { display: grid; gap: var(--gutter); }
.bento-large {
  background: var(--primary-container);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden;
  color: #fff;
  min-height: 300px;
}
.bento-large-bg { position: absolute; inset: 0; opacity: 0.2; }
.bento-large-bg img { width: 100%; height: 100%; object-fit: cover; }
.bento-large-content { position: relative; z-index: 10; }
.bento-large h3 { font-size: 2rem; font-weight: 600; margin-bottom: 0.5rem; }
.bento-large p { opacity: 0.9; margin-bottom: 1rem; }
.bento-item {
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--outline-variant);
  display: flex; flex-direction: column;
}
.bento-item-row { display: flex; align-items: center; gap: 1.5rem; }
.bento-item .material-symbols-outlined { font-size: 40px; color: var(--primary); }
.bento-item h4 { font-size: 1.5rem; font-weight: 600; color: var(--primary); }

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    min-height: 600px;
  }
  .bento-large { grid-column: span 2; grid-row: span 2; }
  .bento-wide { grid-column: span 2; }
}

/* ============================================================
   COMPONENT: Team Tabs
   ============================================================ */
.tabs-section {
  background: #fff;
  position: sticky; top: 80px;
  z-index: 40;
  border-bottom: 1px solid #f1f5f9;
}
.tabs-container {
  display: flex;
  overflow-x: auto;
  gap: 2rem;
  justify-content: flex-start;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.tabs-container::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 1.25rem 0;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--on-surface-variant);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.tab-btn:hover { color: var(--emerald); }
.tab-btn.active { color: var(--emerald); border-bottom-color: var(--emerald); }

@media (min-width: 768px) {
  .tabs-container { justify-content: center; gap: 3rem; }
}

/* ============================================================
   COMPONENT: Team Cards
   ============================================================ */
.team-grid { display: grid; gap: 2rem; }
.team-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
}
.team-card:hover { box-shadow: var(--shadow-xl); }
.team-card-image {
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
}
.team-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.team-card:hover .team-card-image img { transform: scale(1.1); }
.team-card-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,54,93,0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.team-card:hover .team-card-image-overlay { opacity: 1; }
.team-card-body { padding: 2rem; }
.team-card-body h3 { font-size: 1.25rem; font-weight: 700; color: var(--primary); margin-bottom: 0.25rem; }
.team-card-role { font-size: 0.75rem; font-weight: 700; color: var(--emerald); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 1rem; }
.team-card-body p { font-size: 0.875rem; color: var(--on-surface-variant); line-height: 1.7; }

@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; } }

/* ============================================================
   COMPONENT: Stats Section
   ============================================================ */
.stats-section {
  background: var(--primary);
  padding: 6rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.stats-grid { display: grid; gap: 3rem; text-align: center; color: #fff; }
.stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3.75rem;
  font-weight: 800;
  color: var(--emerald);
  margin-bottom: 1rem;
}
.stat-label {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
}
.stats-pattern {
  position: absolute; inset: 0;
  opacity: 0.05;
  background: radial-gradient(#fff 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}
.stat-divider {
  border-top: 1px solid rgba(255,255,255,0.1);
  border-left: none;
  padding-top: 3rem;
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-divider {
    border-top: none;
    border-left: 1px solid rgba(255,255,255,0.1);
    border-right: 1px solid rgba(255,255,255,0.1);
    padding-top: 0;
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

/* ============================================================
   COMPONENT: Contact Page
   ============================================================ */
.contact-content {
  padding: 4rem 0;
  margin-top: -4rem;
  position: relative; z-index: 10;
}
.contact-grid { display: grid; gap: 2rem; }
.info-card {
  background: #fff; padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid #f1f5f9;
  transition: box-shadow 0.3s ease;
}
.info-card:hover { box-shadow: var(--shadow-md); }
.info-card-icon {
  width: 48px; height: 48px;
  background: rgba(16,185,129,0.1);
  color: var(--emerald);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.info-card-icon svg { width: 24px; height: 24px; }
.info-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; }
.info-card p { color: #64748b; line-height: 1.7; }
.info-card .contact-detail { margin-bottom: 0.5rem; }
.info-card .contact-detail-label { font-weight: 500; color: var(--primary); display: block; }

/* Contact Form */
.contact-form-container {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid #f1f5f9;
}
.contact-form-container h2 { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 2rem; }
.contact-form { display: grid; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label { font-size: 0.875rem; font-weight: 600; color: #334155; }
.form-input, .form-textarea {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  background: #f8fafc;
  color: var(--on-surface);
  font-size: 1rem;
  transition: all 0.3s ease;
}
.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
}
.form-input.error, .form-textarea.error { border-color: var(--error); }
.form-textarea { resize: none; }
.form-error { color: var(--error); font-size: 0.75rem; display: none; }
.form-input.error + .form-error, .form-textarea.error + .form-error { display: block; }

@media (min-width: 768px) {
  .contact-form { grid-template-columns: repeat(2, 1fr); }
  .contact-form .form-full { grid-column: span 2; }
  .contact-form-container { padding: 3rem; }
  .contact-form-container h2 { font-size: 1.875rem; }
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 2fr; }
}

/* Global Presence / Map */
.map-section {
  padding-bottom: 6rem;
}
.map-container {
  background: #e2e8f0;
  border-radius: var(--radius-3xl);
  overflow: hidden;
  position: relative;
  min-height: 400px;
  display: flex; align-items: center; justify-content: center;
  border: 4px solid #fff;
  box-shadow: var(--shadow-2xl);
}
.map-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.8;
}
.map-overlay-card {
  position: relative; z-index: 10;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  padding: 2rem;
  border-radius: var(--radius-md);
  max-width: 28rem;
  margin: 1rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid #fff;
  text-align: center;
}
.map-overlay-card h3 { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; }
.map-overlay-card p { color: #64748b; margin-bottom: 1.5rem; }
.region-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.region-chip {
  padding: 0.25rem 1rem;
  background: rgba(16,185,129,0.1);
  color: var(--emerald);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
}

/* ============================================================
   COMPONENT: Toast Notifications
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 100;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.toast {
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.4s ease-out;
  max-width: 360px;
}
.toast-success { background: var(--emerald); }
.toast-error { background: var(--error); }
.toast-info { background: var(--primary); }
.toast-exit { animation: slideOutRight 0.3s ease-in forwards; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideOutRight {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(100%); }
}

.animate-fade-in { animation: fadeIn 0.6s ease-out forwards; }

/* Scroll-triggered animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.animate-on-scroll[data-delay="1"] { transition-delay: 0.1s; }
.animate-on-scroll[data-delay="2"] { transition-delay: 0.2s; }
.animate-on-scroll[data-delay="3"] { transition-delay: 0.3s; }
.animate-on-scroll[data-delay="4"] { transition-delay: 0.4s; }

/* ── Reduced Motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 767px) {
  .display-lg { font-size: 2rem; line-height: 2.5rem; }
  .headline-lg { font-size: 1.75rem; line-height: 2.25rem; }
  .section-padding { padding: 4rem 0; }
  .hero-slider { min-height: 500px; }
  .hero-title { font-size: 2.5rem; }
  .hero-description { font-size: 1rem; }
}

/* Page top padding for fixed header */
.page-main { padding-top: 80px; }

/* ============================================================
   COMPONENT: Download Resource Cards
   ============================================================ */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.download-card {
  background: var(--surface);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}
.download-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(26, 35, 126, 0.08);
}
.download-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.download-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(26, 35, 126, 0.05);
  color: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.download-card:hover .download-card-icon {
  background: var(--primary);
  color: #fff;
}
.download-card-type {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}
.type-pdf { background: #fee2e2; color: #ef4444; }
.type-doc { background: #e0f2fe; color: #0284c7; }
.type-zip { background: #fef3c7; color: #d97706; }
.type-image { background: #dcfce7; color: #16a34a; }

.download-card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.download-card-body p {
  color: var(--on-surface-variant);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.download-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--outline-variant);
  padding-top: 1.25rem;
  margin-top: auto;
}
.download-card-meta {
  font-size: 0.8rem;
  color: var(--on-surface-variant);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.download-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}
.download-card-btn:hover {
  color: var(--emerald);
}
.download-card-btn .material-symbols-outlined {
  font-size: 20px;
}

