/* ══════════════════════════════════════════════════════════════
   DANKUMBO CHARITY FOUNDATION — Design System
   ══════════════════════════════════════════════════════════════ */

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

:root {
  --primary: #0F5E3D;
  --primary-dark: #0A4730;
  --primary-light: #E8F5EE;
  --primary-50: #F3FAF6;
  --accent: #D4A843;
  --accent-dark: #B8922E;
  --accent-light: #FBF3E0;
  --success: #10B981;
  --info: #3B82F6;
  --warning: #F59E0B;
  --danger: #DC2626;
  --dark: #0F172A;
  --body-bg: #FAFBFC;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.1);
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --nav-height: 76px;
}

/* ── Reset & Base ──────────────────────────────────────── */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }

body {
  font-family: var(--font-sans);
  color: var(--gray-700);
  background: var(--body-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Keep keyboard navigation clear without adding visual noise for mouse users. */
:focus-visible {
  outline: 3px solid rgba(212, 168, 67, 0.85);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2000;
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); color: #fff; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.25;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--gray-500);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

a { color: var(--primary); transition: all 0.25s; text-decoration: none; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

/* ── Gradient Utilities ────────────────────────────────── */
.bg-gradient-green {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary-dark) 100%);
}

.bg-gradient-gold {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
}

.bg-gradient-dark {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark) 100%);
}

.bg-soft-primary { background: var(--primary-light); }
.bg-soft-accent { background: var(--accent-light); }

/* ── Navbar ────────────────────────────────────────────── */
.navbar {
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  height: var(--nav-height);
  transition: all 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.06);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--primary) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand .brand-icon {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  transition: transform 0.3s;
}

.navbar-brand:hover .brand-icon { transform: scale(1.08) rotate(-4deg); }

.navbar .nav-link {
  font-weight: 500;
  font-size: 0.925rem;
  color: var(--gray-600) !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: var(--radius);
  transition: all 0.2s;
  position: relative;
}

.navbar .nav-link:hover { color: var(--primary) !important; background: var(--primary-light); }

.navbar .nav-link.active {
  color: var(--primary) !important;
  background: var(--primary-light);
}

.navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 1.1rem;
  right: 1.1rem;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.btn-nav-donate {
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 600;
  padding: 0.5rem 1.4rem !important;
  border-radius: 50px;
  border: none;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.btn-nav-donate:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.navbar-toggler { border: none; padding: 0.25rem; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230F5E3D' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  border-radius: var(--radius);
  font-weight: 600;
  padding: 0.65rem 1.75rem;
  transition: all 0.3s;
  font-size: 0.95rem;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.btn-outline-accent {
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline-accent:hover {
  background: var(--accent);
  color: #fff;
}

.btn-light:hover {
  background: var(--gray-100);
}

.btn-lg { padding: 0.85rem 2.2rem; border-radius: var(--radius-lg); font-size: 1rem; }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.85rem; }

/* ── Cards ─────────────────────────────────────────────── */
.card {
  border: none;
  border-radius: var(--radius-lg);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.card-img-top {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  height: 200px;
  object-fit: cover;
}

.card-body { padding: 1.5rem; }

.card-shadow {
  box-shadow: var(--shadow-md);
}

.card-hover-accent:hover {
  border-color: var(--accent) !important;
}

/* ── Hero ──────────────────────────────────────────────── */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,94,61,0.03), rgba(212,168,67,0.03));
  pointer-events: none;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  fill: var(--body-bg);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.25rem;
  line-height: 1.2;
}

.hero-title span { color: var(--primary); }

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--gray-500);
  max-width: 540px;
  line-height: 1.8;
}

/* ── Stats ─────────────────────────────────────────────── */
.stats-section {
  position: relative;
}

.stat-item {
  padding: 2rem 1rem;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* ── Progress Bar ──────────────────────────────────────── */
.progress {
  background: var(--gray-100);
  border-radius: 50px;
  height: 10px;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 50px;
  transition: width 1s ease;
}

/* ── Badge ─────────────────────────────────────────────── */
.badge {
  font-weight: 500;
  padding: 0.35em 0.9em;
  border-radius: 50px;
  font-size: 0.8rem;
}

.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-accent { background: var(--accent-light); color: var(--accent-dark); }
.bg-soft-primary { background: var(--primary-light); color: var(--primary); }

/* ── Forms ─────────────────────────────────────────────── */
.form-control, .form-select {
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-200);
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  transition: all 0.2s;
  background: var(--white);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}

/* ── Alerts ────────────────────────────────────────────── */
.alert {
  border: none;
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
}

/* ── Section Spacing ───────────────────────────────────── */
.section-padding { padding: 5rem 0; }
.section-subtitle { color: var(--gray-500); max-width: 560px; margin: 0 auto; font-size: 1.1rem; }
.bg-gradient-green { background: linear-gradient(135deg, var(--primary) 0%, #0a3d27 100%); }

@media (max-width: 768px) {
  .section-padding { padding: 3rem 0; }
  .section-title { font-size: 1.75rem; }
  .hero-title { font-size: 2.25rem; }
  .stat-number { font-size: 2rem; }

  .navbar { height: auto; min-height: var(--nav-height); }
  .navbar-collapse { padding: 0.75rem 0 1rem; }
  .navbar .nav-link { padding: 0.7rem 0.85rem !important; }
  .navbar .nav-link.active::after { display: none; }
  .navbar-collapse > .d-flex { padding: 0.75rem 0.85rem 0; }
  .hero-section { min-height: auto; padding: 5.5rem 0 6rem; }
  .hero-section .lead { font-size: 1rem; }
  .hero-section .card-body { padding: 1.25rem !important; }
}

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

/* ── Dropdown ──────────────────────────────────────────── */
.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  margin-top: 0.5rem;
}

.dropdown-item {
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  transition: all 0.2s;
}

.dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
}

.site-footer h5 {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.site-footer a {
  color: rgba(255,255,255,0.7);
  transition: all 0.2s;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  transition: all 0.3s;
  font-size: 1rem;
}

.footer-social a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

/* ── Animations ────────────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  animation: fadeInUp 0.5s ease forwards;
}

.fade-in-up-delay-1 { animation-delay: 0.1s; }
.fade-in-up-delay-2 { animation-delay: 0.2s; }
.fade-in-up-delay-3 { animation-delay: 0.3s; }

/* ── Auth Pages ────────────────────────────────────────── */
.auth-page {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-50) 0%, #fff 100%);
}

.auth-card {
  border: none;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.auth-card .card-body {
  padding: 2.5rem;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header .auth-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--primary);
  font-size: 1.5rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--gray-400);
  font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

/* ── Team Cards ────────────────────────────────────────── */
.team-card {
  position: relative;
  overflow: hidden;
}

.team-card img {
  transition: transform 0.5s ease;
}

.team-card:hover img {
  transform: scale(1.05);
}

.team-card .team-social {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.team-card:hover .team-social {
  opacity: 1;
  transform: translateY(0);
}

/* ── Focus Area Cards ──────────────────────────────────── */
.focus-card {
  position: relative;
  padding: 2rem;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: all 0.35s;
}

.focus-card:hover {
  border-color: var(--primary);
  background: var(--primary-50);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.focus-card .focus-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--primary);
  font-size: 1.5rem;
  transition: all 0.3s;
}

.focus-card:hover .focus-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
}

/* ── Value Cards ───────────────────────────────────────── */
.value-card {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: all 0.35s;
}

.value-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.value-card .value-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* ── Contact Page ──────────────────────────────────────── */
.contact-info-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}

.contact-info-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.contact-info-card .contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ── Campaign Cards ────────────────────────────────────── */
.campaign-card .campaign-image {
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.campaign-card:hover .campaign-image {
  transform: scale(1.04);
}

.campaign-card .campaign-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

/* ── Commitment / CTA Section ──────────────────────────── */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* ── Dashboard Enhancements ────────────────────────────── */
.stat-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.stat-card .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* ── Timeline / History ────────────────────────────────── */
.timeline-item {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--primary-light);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1.25rem;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.timeline-item:last-child::after { display: none; }

/* ── Public Site Refresh ────────────────────────────────── */
:root {
  --ink: #14251e;
  --paper: #fcfcf8;
  --forest: #123f2d;
  --forest-deep: #0b2d20;
  --sand: #f4efe4;
}

body {
  background: var(--paper);
  color: #435049;
}

.utility-bar {
  background: var(--forest-deep);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  min-height: 34px;
  padding: 0.45rem 0;
}

.utility-bar a { color: #f5ce72; }
.utility-bar a:hover { color: #fff; }

.navbar {
  background: rgba(252, 252, 248, 0.96) !important;
  border-bottom-color: rgba(20, 37, 30, 0.08);
  min-height: var(--nav-height);
}

.navbar-brand img {
  height: 54px !important;
  width: auto;
  object-fit: contain;
}

.navbar .nav-link {
  color: #4a564f !important;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  padding: 0.55rem 0.78rem !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  background: transparent;
  color: var(--forest) !important;
}

.navbar .nav-link.active::after {
  bottom: 0;
  left: 0.78rem;
  right: 0.78rem;
  height: 3px;
  background: var(--accent);
}

.btn {
  border-radius: 4px;
  letter-spacing: 0.01em;
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.btn-primary { background: var(--forest); border-color: var(--forest); }
.btn-primary:hover { background: var(--forest-deep); border-color: var(--forest-deep); }

.section-padding { padding: 6.25rem 0; }
.section-title {
  color: var(--ink);
  font-size: clamp(2.15rem, 4vw, 3.3rem);
  letter-spacing: -0.035em;
}
.section-subtitle { color: #68736c; }

.hero-home {
  min-height: calc(100vh - 110px);
  background: var(--forest-deep);
  isolation: isolate;
}

.hero-logo {
  width: min(300px, 82%);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

.hero-home .hero-image,
.hero-home .hero-overlay,
.hero-home .hero-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-home .hero-image {
  background: url('../img/hero-bg.jpg') center / cover no-repeat;
  filter: saturate(0.72) contrast(1.04);
  z-index: -2;
}

.hero-home .hero-overlay {
  background: linear-gradient(90deg, var(--forest-deep) 0%, var(--forest-deep) 44%, var(--forest-deep) 100%);
  opacity: 0.95;
  z-index: -1;
}

.hero-home .hero-fade {
  top: auto;
  height: 120px;
  background: linear-gradient(transparent, var(--paper));
  z-index: -1;
}

.hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.1vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.hero-heading span { color: var(--accent) !important; }
.hero-eyebrow {
  display: inline-block;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.55rem 0.7rem;
  text-transform: uppercase;
}

.hero-home .lead { max-width: 590px; font-size: 1.1rem; line-height: 1.75; }
.hero-facts > div { border-left: 1px solid rgba(255,255,255,0.27); padding-left: 0.85rem; }
.hero-facts > div:first-child { border-left: 0; padding-left: 0; }

.hero-donation-card {
  border-radius: 2px !important;
  background: rgba(255, 255, 252, 0.97) !important;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.24) !important;
}

.hero-donation-card .card-body { padding: 2rem !important; }
.hero-donation-card h4 { color: var(--forest) !important; font-family: var(--font-serif); font-size: 1.6rem; }

.page-hero {
  background: var(--sand);
  border-bottom: 1px solid #e4dfd2;
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(4rem, 7vw, 6.25rem);
  position: relative;
}

.page-hero::after {
  background: radial-gradient(circle, rgba(198, 147, 44, 0.22) 0 1px, transparent 1.5px);
  background-size: 18px 18px;
  content: '';
  height: 260px;
  opacity: 0.55;
  position: absolute;
  right: max(5%, calc((100% - 1200px) / 2));
  top: 0;
  transform: rotate(14deg);
  width: 260px;
}

.page-hero .container { position: relative; z-index: 1; }
.page-kicker {
  color: var(--accent-dark);
  display: block;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.page-hero h1 {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.2vw, 4.75rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0;
  max-width: 790px;
}

.page-hero p {
  color: #59655e;
  font-size: 1.08rem;
  line-height: 1.8;
  margin: 1.5rem 0 0;
  max-width: 680px;
}

.page-content { background: var(--paper); }
.section-heading { border-bottom: 1px solid #e2e5dc; padding-bottom: 1.5rem; }
.section-heading .page-kicker { margin-bottom: 0.45rem; }
.section-heading .section-subtitle { margin-left: 0; max-width: 430px; }

.focus-card,
.value-card,
.contact-info-card {
  border-radius: 3px;
  border-color: #e4e6dd;
}

.focus-card:hover {
  background: #f4f7f0;
  border-color: var(--forest);
}

.card { border-radius: 3px; }
.campaign-card { border: 1px solid #e5e8df !important; box-shadow: none !important; }
.campaign-card:hover { box-shadow: 0 18px 35px rgba(25, 47, 36, 0.11) !important; }
.campaign-card .card-body { padding: 1.7rem; }
.team-card .card-body { padding: 1.45rem 1.6rem 1.7rem; }
.team-card img { filter: saturate(0.82); }
.news-card .card-body { padding: 1.7rem; }
.contact-page .contact-info-card { background: #fff; min-height: 100%; }
.contact-page .card { border: 1px solid #e5e8df !important; box-shadow: 0 14px 35px rgba(25, 47, 36, 0.06) !important; }
.progress { height: 7px !important; background: var(--gray-200); }
.progress-bar { background: var(--accent); }

.site-footer {
  background: var(--dark);
  border-top: 4px solid var(--accent);
}

@media (max-width: 991.98px) {
  .navbar-collapse { padding: 1rem 0 1.25rem; }
  .navbar .nav-link.active::after { display: none; }
  .section-padding { padding: 4.75rem 0; }
  .hero-home { min-height: auto; padding: 6rem 0 7rem; }
  .page-hero { padding: 4.5rem 0; }
}

@media (max-width: 575.98px) {
  .utility-bar .container { justify-content: center !important; }
  .utility-bar a { display: none; }
  .navbar-brand img { height: 46px !important; }
  .section-padding { padding: 4.25rem 0; }
  .hero-heading { font-size: 2.65rem; }
  .hero-facts { gap: 1rem !important; }
  .hero-facts > div { padding-left: 0.6rem; }
  .hero-donation-card .card-body { padding: 1.4rem !important; }
}

/* ── Homepage polish ─────────────────────────────────────── */
.page-kicker {
  position: relative;
}
.section-heading.text-center .page-kicker::after,
.text-center > .page-kicker::after {
  content: '';
  display: block;
  width: 34px;
  height: 3px;
  background: var(--accent);
  margin: 0.9rem auto 0;
}

.section-title { letter-spacing: -0.02em; }

.focus-card {
  border-top: 3px solid transparent;
}
.focus-card:hover {
  border-top-color: var(--accent);
}

.campaign-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.campaign-card:hover {
  transform: translateY(-6px);
}

/* Keep card media crisp */
.campaign-card img.campaign-image,
.news-card img.campaign-image {
  transform: translateZ(0);
}

.hero-donation-card form .btn { letter-spacing: 0.01em; }

.cta-section h2 { letter-spacing: -0.03em; }
.cta-section .page-kicker { border-bottom: 1px solid rgba(255,255,255,0.35); padding-bottom: 0.4rem; display: inline-block; }

@media (prefers-reduced-motion: reduce) {
  .focus-card, .campaign-card { transition: none; }
}
.statement-card {
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.statement-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12) !important;
}

.rating-stars {
    display: flex;
    gap: 4px;
    color: #f4b400;
    font-size: 1.15rem;
    line-height: 1;
    letter-spacing: 2px;
}

.statement-author {
    color: #0d6efd;
    font-family: var(--font-serif, Georgia, serif);
    font-size: 1.05rem;
}