/* =============================================
   B.G. Foundation – Shared Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #1a5c3a;
  --primary-light: #236b45;
  --primary-dark: #134430;
  --secondary: #e6a817;
  --secondary-light: #f0bc3d;
  --white: #ffffff;
  --bg: #f8f9f6;
  --card-bg: #ffffff;
  --text: #1c2b22;
  --text-muted: #5a6e62;
  --border: #d6e4da;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(26,92,58,0.08);
  --shadow-md: 0 4px 20px rgba(26,92,58,0.12);
  --shadow-lg: 0 8px 40px rgba(26,92,58,0.16);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --nav-height: 80px;
  --topbar-height: 40px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- TOPBAR ---- */
.topbar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.topbar a { color: rgba(255,255,255,0.85); transition: color .2s; }
.topbar a:hover { color: var(--secondary); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 24px; }
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar-item svg { width: 14px; height: 14px; opacity: .7; }

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 44px; height: 44px;
  background: var(--primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; }
.logo-text strong { font-family: var(--font-heading); font-size: 1.2rem; color: var(--primary); display: block; line-height: 1.2; }
.logo-text span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--primary); background: rgba(26,92,58,0.06); }
.nav-links a.active { color: var(--primary); font-weight: 600; background: rgba(26,92,58,0.08); }

.btn-donate {
  background: var(--secondary);
  color: var(--white);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .15s;
  box-shadow: 0 4px 14px rgba(230,168,23,0.35);
  white-space: nowrap;
}
.btn-donate:hover { background: var(--secondary-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(230,168,23,0.45); }
.btn-donate a { color: #fff; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border-radius: 8px; transition: background .2s; }
.hamburger:hover { background: rgba(26,92,58,0.08); }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: calc(var(--topbar-height) + var(--nav-height));
  left: 0; right: 0;
  background: var(--white);
  padding: 16px 24px 24px;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  z-index: 999;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 500;
  transition: color .2s, background .2s;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--primary); background: rgba(26,92,58,0.06); }
.mobile-menu .btn-donate { display: block; text-align: center; margin-top: 12px; padding: 12px; }

/* ---- CONTAINER ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- HERO ---- */
.hero {
  min-height: 88vh;
  background: linear-gradient(135deg, #0f3d25 0%, #1a5c3a 45%, #236b45 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 500px; height: 500px;
  background: rgba(230,168,23,0.12);
  border-radius: 50%;
  filter: blur(80px);
  animation: float1 6s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  filter: blur(60px);
  animation: float2 8s ease-in-out infinite;
}
@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-30px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(25px)} }

.hero-content { position: relative; z-index: 2; padding: 80px 0; }
.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-title em { color: var(--secondary); font-style: italic; }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.75;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--secondary);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all .25s;
  box-shadow: 0 0 24px rgba(230,168,23,0.4);
}
.btn-primary:hover { background: var(--secondary-light); transform: translateY(-2px); box-shadow: 0 0 36px rgba(230,168,23,0.55); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all .25s;
  backdrop-filter: blur(8px);
}
.btn-outline:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }

/* ---- PAGE HERO ---- */
.page-hero {
  background: linear-gradient(135deg, #0f3d25 0%, #1a5c3a 60%, #236b45 100%);
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-icon {
  width: 72px; height: 72px;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
}
.page-hero-icon svg { width: 36px; height: 36px; stroke: var(--secondary); stroke-width: 1.5; fill: none; }
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  position: relative; z-index: 1;
}
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative; z-index: 1;
}

/* ---- SECTION ---- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--secondary);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
}
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ---- GRID ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---- CARDS ---- */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-img {
  width: 100%; height: 220px; object-fit: cover;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.card-img svg { width: 60px; height: 60px; stroke: rgba(255,255,255,0.3); stroke-width: 1; fill: none; }
.card-body { padding: 24px; }
.card-title { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.card-text { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }

/* Gradient variants */
.grad-1 { background: linear-gradient(135deg, #1a5c3a 0%, #2d8b5e 100%); }
.grad-2 { background: linear-gradient(135deg, #b45309 0%, #e6a817 100%); }
.grad-3 { background: linear-gradient(135deg, #1e3a5f 0%, #2c6fad 100%); }
.grad-4 { background: linear-gradient(135deg, #6b21a8 0%, #a855f7 100%); }

/* ---- STAT COUNTERS ---- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -48px; position: relative; z-index: 10; }
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(26,92,58,0.08);
  transition: transform .3s, box-shadow .3s;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-icon {
  width: 56px; height: 56px;
  background: rgba(26,92,58,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.stat-icon svg { width: 28px; height: 28px; stroke: var(--primary); stroke-width: 1.8; fill: none; }
.stat-number { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 700; color: var(--text); line-height: 1; }
.stat-number span { color: var(--secondary); }
.stat-label { font-size: 0.88rem; color: var(--text-muted); font-weight: 500; margin-top: 6px; }

/* ---- FOCUS AREA CARDS ---- */
.focus-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow .3s, transform .3s;
}
.focus-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.focus-img { height: 200px; position: relative; display: flex; align-items: center; justify-content: center; }
.focus-img svg { width: 80px; height: 80px; stroke: rgba(255,255,255,0.3); stroke-width: 1; fill: none; }
.focus-icon-wrap {
  position: absolute;
  bottom: -28px; left: 24px;
  width: 56px; height: 56px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s;
}
.focus-card:hover .focus-icon-wrap { background: var(--primary); }
.focus-icon-wrap svg { width: 28px; height: 28px; stroke: var(--primary); stroke-width: 1.8; fill: none; transition: stroke .3s; }
.focus-card:hover .focus-icon-wrap svg { stroke: var(--white); }
.focus-body { padding: 44px 24px 28px; }
.focus-title { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.focus-text { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }

/* ---- NEWS PREVIEW CARDS ---- */
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all .3s;
}
.news-card:hover { border-color: rgba(230,168,23,0.5); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.news-img { height: 230px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.news-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}
.news-card:hover .news-img::after { opacity: 1; }
.news-body { padding: 20px 24px 24px; }
.news-title { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: 8px; transition: color .2s; }
.news-card:hover .news-title { color: var(--secondary); }
.news-text { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 0.9rem; font-weight: 600; color: var(--primary); transition: color .2s; }
.news-link:hover { color: var(--secondary); }
.news-link svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; transition: transform .2s; }
.news-link:hover svg { transform: translateX(4px); }

/* ---- CTA BANNER ---- */
.cta-section {
  background: linear-gradient(135deg, #0f3d25 0%, #1a5c3a 100%);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='2' cy='2' r='1'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-section .section-title { color: var(--white); }
.cta-section p { color: rgba(255,255,255,0.78); font-size: 1.1rem; line-height: 1.75; max-width: 600px; margin: 0 auto 40px; }
.cta-icon { width: 80px; height: 80px; stroke: var(--secondary); stroke-width: 1.5; fill: none; margin: 0 auto 28px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- FOOTER ---- */
footer {
  background: #0a2819;
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo strong { font-family: var(--font-heading); font-size: 1.4rem; color: var(--white); display: block; margin-bottom: 4px; }
.footer-logo span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--secondary); }
.footer-desc { color: rgba(255,255,255,0.58); font-size: 0.9rem; line-height: 1.7; margin-top: 16px; margin-bottom: 24px; max-width: 280px; }
.footer h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,0.45); margin-bottom: 20px; font-weight: 600; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.9rem; transition: color .2s; display: flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--secondary); }
.footer-links a::before { content: '›'; color: var(--secondary); font-size: 1.1rem; }
.social-links { display: flex; gap: 12px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
  border: 1px solid rgba(255,255,255,0.1);
}
.social-btn:hover { background: var(--secondary); transform: translateY(-2px); }
.social-btn svg { width: 18px; height: 18px; stroke: rgba(255,255,255,0.8); stroke-width: 2; fill: none; }
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
}
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact-item svg { width: 16px; height: 16px; stroke: var(--secondary); stroke-width: 1.8; fill: none; flex-shrink: 0; margin-top: 3px; }
.footer-contact-item span { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.5; }

/* ---- TEAM CARD ---- */
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: box-shadow .3s, transform .3s;
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.team-banner { height: 100px; position: relative; }
.team-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  border: 4px solid var(--white);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  position: absolute;
  bottom: -44px; left: 50%; transform: translateX(-50%);
  box-shadow: var(--shadow-md);
}
.team-avatar svg { width: 40px; height: 40px; stroke: var(--text-muted); stroke-width: 1.5; fill: none; opacity: .5; }
.team-body { padding: 56px 24px 32px; }
.team-name { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.team-role { font-size: 0.88rem; font-weight: 600; color: var(--secondary); margin-bottom: 12px; }
.team-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ---- PROGRAMS PILLS ---- */
.programs-wrap { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.program-pill {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  background: var(--white);
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  transition: all .25s;
}
.program-pill:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.program-pill-icon {
  width: 32px; height: 32px;
  background: rgba(26,92,58,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.program-pill-icon svg { width: 16px; height: 16px; stroke: var(--primary); stroke-width: 2; fill: none; }

/* ---- VISION/MISSION ---- */
.vm-section {
  background: linear-gradient(135deg, #0f3d25 0%, #1a5c3a 100%);
  padding: 96px 0;
  position: relative; overflow: hidden;
}
.vm-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: rgba(230,168,23,0.08);
  border-radius: 50%;
  filter: blur(80px);
}
.vm-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 40px;
}
.vm-icon { width: 56px; height: 56px; stroke: var(--secondary); stroke-width: 1.5; fill: none; margin-bottom: 24px; }
.vm-card h3 { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.vm-card p { color: rgba(255,255,255,0.78); font-size: 1.05rem; line-height: 1.75; font-style: italic; }

/* ---- HISTORY SECTION ---- */
.history-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.history-visual {
  height: 480px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
}
.history-visual svg { width: 120px; height: 120px; stroke: rgba(255,255,255,0.2); stroke-width: 0.8; fill: none; }
.history-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  background: rgba(26,92,58,0.06);
  border-radius: 12px;
  margin-top: 24px;
  border: 1px solid rgba(26,92,58,0.12);
}
.history-badge svg { width: 22px; height: 22px; stroke: var(--primary); stroke-width: 2; fill: none; }
.history-badge span { font-weight: 600; font-size: 0.92rem; color: var(--primary); }
.history-text p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }

/* ---- GALLERY ---- */
.filter-bar { display: flex; justify-content: center; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }
.filter-btn {
  padding: 10px 28px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: transparent;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .25s;
}
.filter-btn:hover { border-color: var(--secondary); color: var(--secondary); }
.filter-btn.active { background: var(--secondary); border-color: var(--secondary); color: var(--white); box-shadow: 0 4px 14px rgba(230,168,23,0.3); }
.gallery-grid { columns: 3; gap: 20px; column-gap: 20px; }
.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: block;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-visual { transform: scale(1.05); }
.gallery-visual { transition: transform .5s; display: flex; align-items: center; justify-content: center; position: relative; }
.gallery-visual svg { width: 40px; height: 40px; stroke: rgba(255,255,255,0.2); stroke-width: 1; fill: none; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,92,58,0.9) 0%, rgba(26,92,58,0.2) 60%, transparent 100%);
  opacity: 0;
  transition: opacity .3s;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px;
}
.gallery-overlay .cat-badge {
  display: inline-block;
  padding: 3px 12px;
  background: var(--secondary);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  width: fit-content;
  margin-bottom: 6px;
}
.gallery-overlay h4 { color: var(--white); font-weight: 600; font-size: 1rem; }
.h-48 { height: 200px; }
.h-64 { height: 256px; }
.h-80 { height: 320px; }

/* ---- NEWS ARTICLE CARD ---- */
.article-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  transition: box-shadow .3s;
}
.article-card:hover { box-shadow: var(--shadow-md); }
.article-img { width: 38%; flex-shrink: 0; min-height: 220px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.article-img .gallery-visual { width: 100%; height: 100%; }
.article-body { padding: 28px 32px; display: flex; flex-direction: column; justify-content: center; }
.article-date { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--secondary); margin-bottom: 12px; }
.article-date svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; }
.article-title { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; color: var(--text); margin-bottom: 12px; transition: color .2s; }
.article-card:hover .article-title { color: var(--primary); }
.article-text { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; margin-bottom: 20px; }
.read-more { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--primary); transition: color .2s; }
.read-more:hover { color: var(--secondary); }
.read-more svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.5; fill: none; transition: transform .2s; }
.read-more:hover svg { transform: translateX(4px); }

/* ---- TABS ---- */
.tabs-bar { display: flex; justify-content: center; margin-bottom: 48px; }
.tabs-list {
  display: flex;
  background: rgba(26,92,58,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px;
}
.tab-btn {
  padding: 10px 32px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .25s;
}
.tab-btn.active { background: var(--white); color: var(--primary); font-weight: 600; box-shadow: var(--shadow-sm); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ---- EVENT CARD ---- */
.event-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 4px solid var(--secondary);
  box-shadow: var(--shadow-sm);
  display: flex;
  overflow: hidden;
  transition: box-shadow .3s;
}
.event-card:hover { box-shadow: var(--shadow-md); }
.event-date-block {
  background: rgba(26,92,58,0.04);
  width: 130px;
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-right: 1px solid var(--border);
  padding: 20px 16px;
  text-align: center;
}
.event-month { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--secondary); margin-bottom: 4px; }
.event-day { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 700; color: var(--primary); line-height: 1; margin-bottom: 4px; }
.event-year { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.event-body { padding: 24px 28px; flex: 1; }
.event-title { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.event-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.event-meta { display: flex; flex-wrap: wrap; gap: 16px; }
.event-meta-item { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }
.event-meta-item svg { width: 16px; height: 16px; stroke: var(--primary); stroke-width: 2; fill: none; }
.event-action { display: flex; align-items: center; justify-content: center; padding: 20px 24px; border-left: 1px solid var(--border); background: rgba(26,92,58,0.02); }
.btn-register {
  background: var(--primary);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.88rem;
  border: none;
  cursor: pointer;
  transition: all .25s;
  white-space: nowrap;
}
.btn-register:hover { background: var(--primary-light); box-shadow: var(--shadow-sm); }

/* ---- CTA PARTNER BANNER ---- */
.partner-banner {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 32px;
}
.partner-banner h3 { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.partner-banner p { color: rgba(255,255,255,0.78); font-size: 0.95rem; margin-bottom: 24px; max-width: 480px; margin-left: auto; margin-right: auto; }
.btn-outline-white {
  display: inline-block;
  padding: 11px 28px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all .25s;
  background: transparent;
  cursor: pointer;
}
.btn-outline-white:hover { background: var(--white); color: var(--primary); }

/* ---- CONTACT ---- */
.contact-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 64px; align-items: start; }
.contact-info-title { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.contact-info-sub { font-size: 1rem; color: var(--text-muted); margin-bottom: 36px; line-height: 1.7; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 22px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  transition: border-color .25s;
}
.contact-detail:hover { border-color: rgba(230,168,23,0.4); }
.contact-detail-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: rgba(26,92,58,0.08);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s;
}
.contact-detail:hover .contact-detail-icon { background: var(--primary); }
.contact-detail-icon svg { width: 22px; height: 22px; stroke: var(--primary); stroke-width: 1.8; fill: none; transition: stroke .25s; }
.contact-detail:hover .contact-detail-icon svg { stroke: var(--white); }
.contact-detail h4 { font-size: 0.92rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.contact-detail p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; }

/* FORM */
.form-card {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.form-stripe { height: 6px; background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%); }
.form-body { padding: 40px; }
.form-title { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--text); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; }
.form-label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(26,92,58,0.02);
  transition: border-color .25s, box-shadow .25s;
  outline: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,92,58,0.1); }
.form-textarea { min-height: 150px; resize: vertical; }
.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: var(--white);
  border-radius: 12px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 14px rgba(26,92,58,0.3);
}
.btn-submit:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,92,58,0.4); }
.btn-submit svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; transition: transform .25s; }
.btn-submit:hover svg { transform: translateX(4px); }

/* ---- MAP PLACEHOLDER ---- */
.map-section {
  height: 380px;
  background: #e8efe9;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.map-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(26,92,58,0.04) 1px, transparent 1px), linear-gradient(to right, rgba(26,92,58,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-content { text-align: center; position: relative; z-index: 1; }
.map-content svg { width: 56px; height: 56px; stroke: var(--primary); stroke-width: 1.5; fill: none; opacity: .5; margin: 0 auto 16px; }
.map-content p { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.map-content span { font-size: 0.88rem; color: var(--text-muted); opacity: .7; }

/* ---- UTILITIES ---- */
.bg-light { background: rgba(26,92,58,0.03); }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.mb-16 { margin-bottom: 64px; }
.mt-8 { margin-top: 32px; }
.news-cards-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.space-y-6 > * + * { margin-top: 24px; }
.divider { width: 60px; height: 4px; background: var(--secondary); border-radius: var(--radius-full); margin: 0 auto; }
.view-all-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 26px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all .25s;
}
.view-all-btn:hover { background: var(--primary); color: var(--white); }
.view-all-btn svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.5; fill: none; transition: transform .2s; }
.view-all-btn:hover svg { transform: translateX(4px); }
.section-head-flex { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }

/* ---- ANIMATIONS ---- */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: none; }
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .history-grid { grid-template-columns: 1fr; }
  .history-visual { height: 320px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
}
@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .nav-links, .btn-donate { display: none; }
  .hamburger { display: flex; }
  .topbar-right { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .section { padding: 64px 0; }
  .article-card { flex-direction: column; }
  .article-img { width: 100%; height: 200px; }
  .event-card { flex-direction: column; }
  .event-date-block { width: 100%; flex-direction: row; gap: 16px; border-right: none; border-bottom: 1px solid var(--border); padding: 16px 24px; }
  .event-action { border-left: none; border-top: 1px solid var(--border); }
  .gallery-grid { columns: 1; }
  .vm-section .grid-2 { grid-template-columns: 1fr; }
  .partner-banner { padding: 32px 24px; }
  .form-body { padding: 24px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
}
