/* =========================================================
   Hilltops Ten Toes Down Nonprofit Charity Association
   Design System — High-Energy Vibrant Theme
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  --navy: #0c0f24;
  --navy-soft: #151936;
  --brand-navy: #1b263b;
  --brand-olive: #6b7a58;
  --brand-gold: #c9a86a;
  --coral: #ff5a5f;
  --coral-dark: #e84449;
  --orange: #f97316;
  --indigo: #4f46e5;
  --indigo-soft: #6366f1;
  --paper: #faf8f4;
  --paper-card: #fffdf9;
  --border-warm: #e8e2d7;
  --text: #1a1d2e;
  --text-muted: #5c6178;
  --white: #ffffff;
  --success: #0d9488;
  --shadow-soft: 0 16px 40px rgba(12, 15, 36, 0.08);
  --shadow-hover: 0 22px 50px rgba(12, 15, 36, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--indigo);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--coral);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

/* ---------- Top Legal Bar ---------- */
.legal-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.55rem 0;
  text-align: center;
}

.legal-bar i {
  color: var(--coral);
  margin-right: 0.35rem;
}

/* ---------- Navbar ---------- */
.site-nav {
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-warm);
  padding: 0.65rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.site-nav .navbar-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--navy) !important;
  letter-spacing: -0.02em;
  max-width: 340px;
  line-height: 1.2;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px rgba(27, 38, 59, 0.18);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.brand-text strong {
  font-size: 0.98rem;
  font-weight: 800;
}

.brand-text small {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 0.85rem;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(255, 90, 95, 0.35);
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted) !important;
  padding: 0.45rem 0.85rem !important;
  border-radius: 999px;
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy) !important;
  background: rgba(79, 70, 229, 0.08);
}

.btn-donate-nav {
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: #fff !important;
  border: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.55rem 1.25rem !important;
  box-shadow: 0 8px 22px rgba(255, 90, 95, 0.35);
}

.btn-donate-nav:hover {
  filter: brightness(1.05);
  color: #fff !important;
}

.navbar-toggler {
  border: 1px solid var(--border-warm);
  border-radius: 10px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ---------- Buttons ---------- */
.btn-primary-glow {
  background: linear-gradient(135deg, var(--coral), var(--orange));
  border: none;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  box-shadow: 0 12px 28px rgba(255, 90, 95, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-primary-glow:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(255, 90, 95, 0.45);
}

.btn-outline-navy {
  border: 2px solid rgba(12, 15, 36, 0.15);
  color: var(--navy);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  background: transparent;
  transition: all var(--transition);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.btn-indigo {
  background: var(--indigo);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
}

.btn-indigo:hover {
  background: var(--indigo-soft);
  color: #fff;
}

/* ---------- Paper Cards ---------- */
.paper-card {
  background: var(--paper-card);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.paper-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.paper-card-static:hover {
  transform: none;
}

/* ---------- Image Zoom ---------- */
.img-zoom {
  overflow: hidden;
  border-radius: inherit;
}

.img-zoom img,
.zoom-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.img-zoom:hover img,
.paper-card:hover .zoom-img {
  transform: scale(1.04);
}

/* ---------- Page Hero ---------- */
.page-hero {
  position: relative;
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, var(--navy) 0%, #1a1f45 55%, #2a1860 100%);
  color: #fff;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 90, 95, 0.25), transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(79, 70, 229, 0.35), transparent 40%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-pad {
  padding: 5rem 0;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
}

.section-lead {
  font-size: 1.08rem;
  max-width: 640px;
}

/* ---------- Bento Hero (Index) ---------- */
.bento-hero {
  padding: 2.5rem 0 4rem;
  background:
    linear-gradient(180deg, #0c0f24 0%, #12162f 40%, #faf8f4 40%);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.1rem;
}

.bento-main {
  grid-column: span 7;
  grid-row: span 2;
  min-height: 560px;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.bento-main-bg {
  position: absolute;
  inset: 0;
}

.bento-main-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento-main-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(12, 15, 36, 0.82) 10%, rgba(12, 15, 36, 0.45) 55%, rgba(255, 90, 95, 0.45) 100%);
}

.bento-main-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.25rem;
  color: #fff;
}

.bento-main-content h1 {
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  margin-bottom: 1rem;
}

.bento-main-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  max-width: 520px;
}

.bento-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 3;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
}

.bento-metric {
  grid-column: span 5;
  background: var(--paper-card);
  border: 1px solid var(--border-warm);
  border-radius: 20px;
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.bento-metric .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.bento-metric h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.bento-metric p {
  margin: 0;
  font-size: 0.92rem;
}

.bento-donate {
  grid-column: span 5;
  background: linear-gradient(145deg, var(--navy), #1e2450);
  border-radius: 20px;
  padding: 1.5rem;
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.bento-donate h3 {
  color: #fff;
  font-size: 1.15rem;
}

.bento-donate p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.quick-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.amount-chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition);
}

.amount-chip:hover,
.amount-chip.active {
  background: linear-gradient(135deg, var(--coral), var(--orange));
  border-color: transparent;
}

/* ---------- Programs ---------- */
.program-card .program-img {
  aspect-ratio: 16 / 10;
  height: auto;
  min-height: 0;
}

.program-card .program-img img {
  aspect-ratio: 16 / 10;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.program-card .card-body {
  padding: 1.5rem;
}

.program-tag {
  display: inline-block;
  background: rgba(79, 70, 229, 0.1);
  color: var(--indigo);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

/* ---------- Stats ---------- */
.stats-band {
  background: var(--navy);
  color: #fff;
  border-radius: 28px;
  padding: 2.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 50%, rgba(255, 90, 95, 0.25), transparent 40%),
    radial-gradient(circle at 100% 50%, rgba(79, 70, 229, 0.3), transparent 40%);
}

.stat-item {
  position: relative;
  text-align: center;
  padding: 1rem;
}

.stat-item .stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #fff;
  display: block;
}

.stat-item .stat-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.stat-item i {
  color: var(--coral);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

/* ---------- Gallery ---------- */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 1rem;
}

.gallery-item {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-warm);
  box-shadow: var(--shadow-soft);
  min-height: 0;
  position: relative;
}

.gallery-item::after {
  content: "From our Facebook";
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  background: rgba(12, 15, 36, 0.72);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  pointer-events: none;
}

.gallery-item:nth-child(1) {
  grid-column: span 5;
  aspect-ratio: 5 / 4;
}

.gallery-item:nth-child(2) {
  grid-column: span 7;
  aspect-ratio: 16 / 9;
}

.gallery-item:nth-child(3) {
  grid-column: span 7;
  aspect-ratio: 16 / 9;
}

.gallery-item:nth-child(4) {
  grid-column: span 5;
  aspect-ratio: 5 / 4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* ---------- Transparency ---------- */
.allocation-bar {
  height: 14px;
  border-radius: 999px;
  background: #ebe6dc;
  overflow: hidden;
  display: flex;
}

.allocation-bar span {
  display: block;
  height: 100%;
}

.alloc-programs { width: 88%; background: linear-gradient(90deg, var(--coral), var(--orange)); }
.alloc-admin { width: 8%; background: var(--indigo); }
.alloc-fund { width: 4%; background: #94a3b8; }

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.4rem;
}

/* ---------- Leadership Preview ---------- */
.leader-preview {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.75rem;
  align-items: center;
}

.leader-preview img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 1 / 1;
}

/* ---------- News Cards ---------- */
.news-card .news-img {
  aspect-ratio: 16 / 10;
  height: auto;
}

.news-card .news-img img {
  aspect-ratio: 16 / 10;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.news-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

.news-tag {
  color: var(--coral);
  font-weight: 700;
}

/* ---------- Trust Strip ---------- */
.trust-strip {
  background: #fff;
  border-top: 1px solid var(--border-warm);
  border-bottom: 1px solid var(--border-warm);
  padding: 2rem 0;
}

.trust-badge {
  background: var(--paper);
  border: 1px dashed var(--border-warm);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  text-align: center;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* ---------- Newsletter ---------- */
.newsletter-banner {
  background: linear-gradient(135deg, var(--indigo), #312e81 50%, var(--coral));
  border-radius: 28px;
  padding: 2.75rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.newsletter-banner h2 {
  color: #fff;
}

.newsletter-banner p {
  color: rgba(255, 255, 255, 0.85);
}

.newsletter-banner .form-control {
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
}

/* ---------- Leadership Cards ---------- */
.board-card {
  height: 100%;
}

.board-card .headshot {
  aspect-ratio: 1 / 1;
  height: auto;
}

.board-card .headshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 1 / 1;
}

.board-card .role-pill {
  display: inline-block;
  background: rgba(255, 90, 95, 0.12);
  color: var(--coral-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.function-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.function-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.function-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

/* ---------- Services Detail ---------- */
.program-detail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.program-detail.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.program-detail.reverse .program-copy {
  order: 2;
}

.program-detail .detail-img {
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  height: auto;
  border: 1px solid var(--border-warm);
  box-shadow: var(--shadow-soft);
}

.program-detail .detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.step-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
  height: 100%;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.testimonial-card img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

/* ---------- News Articles ---------- */
.article-block {
  margin-bottom: 3rem;
}

.article-block .feature-img {
  aspect-ratio: 21 / 9;
  height: auto;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-warm);
}

.article-block .feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.article-body p {
  font-size: 1.05rem;
  color: var(--text);
}

.share-btns .btn {
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- Donate ---------- */
.donate-hero {
  background:
    linear-gradient(135deg, rgba(12, 15, 36, 0.85), rgba(79, 70, 229, 0.55)),
    url("https://images.unsplash.com/photo-1559027615-cd4628902d4a?auto=format&fit=crop&w=1600&q=80") center/cover;
  padding: 5.5rem 0 4rem;
  color: #fff;
}

.donate-hero h1 {
  color: #fff;
}

.donate-hero p {
  color: rgba(255, 255, 255, 0.88);
}

.donate-panel {
  margin-top: -3rem;
  position: relative;
  z-index: 2;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.tier-btn {
  border: 2px solid var(--border-warm);
  background: #fff;
  border-radius: 14px;
  padding: 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy);
  cursor: pointer;
  transition: all var(--transition);
}

.tier-btn:hover,
.tier-btn.active {
  border-color: var(--coral);
  background: rgba(255, 90, 95, 0.08);
  color: var(--coral-dark);
}

.freq-toggle {
  display: inline-flex;
  background: #f0ebe3;
  border-radius: 999px;
  padding: 0.3rem;
  gap: 0.25rem;
}

.freq-btn {
  border: none;
  background: transparent;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
}

.freq-btn.active {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 4px 12px rgba(12, 15, 36, 0.08);
}

.security-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.security-badge {
  background: var(--paper);
  border: 1px solid var(--border-warm);
  border-radius: 12px;
  padding: 0.65rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}

/* ---------- Contact ---------- */
.contact-card-urgent {
  background: linear-gradient(145deg, var(--navy), #1e2450);
  color: #fff;
  border-radius: 22px;
  padding: 2rem;
}

.contact-card-urgent h3,
.contact-card-urgent a {
  color: #fff;
}

.contact-card-urgent a:hover {
  color: var(--coral);
}

.map-embed {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-warm);
  min-height: 280px;
  background: #e8e2d7;
}

.map-embed iframe {
  width: 100%;
  height: 280px;
  border: 0;
}

.form-control,
.form-select {
  border-radius: 12px;
  border: 1px solid var(--border-warm);
  padding: 0.8rem 1rem;
  background: #fff;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.15);
}

.form-label {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.92rem;
}

/* ---------- Privacy ---------- */
.privacy-content h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.privacy-content p,
.privacy-content li {
  color: var(--text);
}

.privacy-toc {
  background: var(--paper-card);
  border: 1px solid var(--border-warm);
  border-radius: 16px;
  padding: 1.5rem;
}

.privacy-toc a {
  display: block;
  padding: 0.35rem 0;
  font-weight: 600;
  color: var(--navy);
}

/* ---------- Values Grid ---------- */
.value-card {
  padding: 1.5rem;
  height: 100%;
}

.value-card i {
  font-size: 1.6rem;
  color: var(--coral);
  margin-bottom: 0.85rem;
}

/* ---------- Footer (Advanced) ---------- */
.footer-cta {
  position: relative;
  margin: 0 1rem -3.5rem;
  z-index: 3;
}

.footer-cta-inner {
  background:
    linear-gradient(135deg, rgba(27, 38, 59, 0.92), rgba(79, 70, 229, 0.55)),
    url("https://images.unsplash.com/photo-1559027615-cd4628902d4a?auto=format&fit=crop&w=1600&q=80") center/cover;
  border-radius: 28px;
  padding: 2.5rem;
  color: #fff;
  box-shadow: 0 24px 50px rgba(12, 15, 36, 0.28);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.5rem;
  align-items: center;
}

.footer-cta-inner h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 0.5rem;
}

.footer-cta-inner p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  max-width: 520px;
}

.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.site-footer {
  background:
    radial-gradient(circle at 12% 20%, rgba(201, 168, 106, 0.12), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(107, 122, 88, 0.16), transparent 30%),
    linear-gradient(180deg, #101628 0%, #0c0f24 55%, #090b18 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: 6rem 0 0;
  margin-top: 5rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: auto -10% -20% auto;
  width: 420px;
  height: 420px;
  background: url("assets/logo.png") center/contain no-repeat;
  opacity: 0.06;
  pointer-events: none;
}

.site-footer h5 {
  color: #fff;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer a:hover {
  color: #e8c878;
}

.footer-brand-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.15rem;
}

.footer-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  padding: 4px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.footer-mission {
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: linear-gradient(135deg, #c9a86a, #e8c878);
  color: #0c0f24;
  border-color: transparent;
}

.footer-link-list li {
  margin-bottom: 0.65rem;
}

.footer-link-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.footer-link-list a i {
  font-size: 0.7rem;
  opacity: 0.6;
}

.footer-contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 1.15rem 1.25rem;
}

.footer-contact-card p {
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
}

.footer-contact-card i {
  color: #c9a86a;
  width: 1.1rem;
}

.footer-newsletter {
  margin-top: 1rem;
}

.footer-newsletter .form-control {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}

.footer-newsletter .form-control::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.footer-newsletter .form-control:focus {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #c9a86a;
  box-shadow: 0 0 0 0.2rem rgba(201, 168, 106, 0.2);
}

.footer-trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-trust-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.footer-trust-item i {
  display: block;
  color: #c9a86a;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2rem;
  padding: 1.35rem 0 1.75rem;
  font-size: 0.86rem;
}

.footer-legal-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
  align-items: start;
}

.footer-legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  justify-content: flex-end;
  align-items: center;
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(201, 168, 106, 0.12);
  border: 1px solid rgba(201, 168, 106, 0.28);
  color: #e8c878;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  max-width: 520px;
  background: #fff;
  border: 1px solid var(--border-warm);
  border-radius: 18px;
  box-shadow: var(--shadow-hover);
  padding: 1.25rem 1.4rem;
  z-index: 2000;
  display: none;
}

.cookie-banner.show {
  display: block;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Toast ---------- */
.toast-success {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--navy);
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  box-shadow: var(--shadow-hover);
  z-index: 2100;
  display: none;
  max-width: 360px;
}

.toast-success.show {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  animation: slideUp 0.35s ease;
}

.toast-success i {
  color: #2dd4bf;
  font-size: 1.25rem;
}

/* ---------- Accordion Override ---------- */
.accordion-button {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  background: var(--paper-card);
}

.accordion-button:not(.collapsed) {
  background: rgba(79, 70, 229, 0.08);
  color: var(--indigo);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--border-warm);
}

.accordion-item {
  border: 1px solid var(--border-warm);
  border-radius: 14px !important;
  overflow: hidden;
  margin-bottom: 0.75rem;
  background: var(--paper-card);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .bento-main {
    grid-column: span 12;
    min-height: 440px;
  }

  .bento-metric,
  .bento-donate {
    grid-column: span 12;
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4) {
    grid-column: span 6;
    aspect-ratio: 4 / 3;
  }

  .leader-preview {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .leader-preview img {
    margin: 0 auto;
  }

  .program-detail,
  .program-detail.reverse {
    grid-template-columns: 1fr;
  }

  .program-detail.reverse .program-copy {
    order: 0;
  }

  .tier-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-cta-inner p {
    margin-inline: auto;
  }

  .footer-cta-actions {
    justify-content: center;
  }

  .footer-trust-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-legal-grid {
    grid-template-columns: 1fr;
  }

  .footer-legal-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4) {
    grid-column: span 12;
    aspect-ratio: 16 / 10;
  }

  .site-nav .navbar-brand {
    font-size: 0.9rem;
    max-width: 220px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-text small {
    display: none;
  }

  .newsletter-banner {
    padding: 1.75rem;
  }

  .tier-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-cta {
    margin-inline: 0.5rem;
  }

  .footer-cta-inner {
    padding: 1.5rem;
  }

  .footer-trust-row {
    grid-template-columns: 1fr;
  }

  .article-block .feature-img {
    aspect-ratio: 16 / 10;
  }

  .footer-brand-block {
    flex-direction: column;
    align-items: flex-start;
  }
}
