/* Green Being Foundation — public site styles (Bootstrap 5.3 overrides + components) */

:root {
  --gbf-primary: #174C36;
  --gbf-primary-rgb: 23, 76, 54;
  --gbf-primary-600: #286747;
  --gbf-accent: #C5DF85;
  --gbf-cta: #DC8B54;
  --gbf-cta-dark: #c4723c;
  --gbf-ink: #17251D;
  --gbf-muted: #647268;
  --gbf-cream: #F8F7EF;
  --gbf-paper: #FFFEF9;
  --gbf-line: #E4E9DF;
  --gbf-shadow: 0 6px 24px rgba(23, 76, 54, .08);
  --gbf-shadow-lg: 0 14px 40px rgba(23, 76, 54, .14);
  --gbf-radius: 16px;

  --bs-primary: var(--gbf-primary);
  --bs-primary-rgb: var(--gbf-primary-rgb);
  --bs-body-color: var(--gbf-ink);
  --bs-body-bg: var(--gbf-paper);
  --bs-body-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bs-body-font-size: 1rem;
  --bs-body-line-height: 1.7;
  --bs-link-color: var(--gbf-primary-600);
  --bs-link-color-rgb: 40, 103, 71;
  --bs-link-hover-color: var(--gbf-primary);
  --bs-border-color: var(--gbf-line);
  --bs-secondary-color: var(--gbf-muted);
}

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { background: var(--gbf-paper); color: var(--gbf-ink); }
@media (min-width: 992px) { body { font-size: 1.0625rem; } }

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  color: var(--gbf-ink);
  line-height: 1.25;
}
.display-hero { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 700; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 700; margin-bottom: .75rem; }
.lead-muted { color: var(--gbf-muted); font-size: 1.075rem; max-width: 62ch; }
.text-muted { color: var(--gbf-muted) !important; }
.text-primary { color: var(--gbf-primary) !important; }
.bg-primary { background-color: var(--gbf-primary) !important; }
.bg-cream { background: var(--gbf-cream); }
.prose { max-width: 70ch; }
.prose p, .prose li { color: #2b3a31; }
.prose h3 { font-size: 1.25rem; margin-top: 2rem; }
.prose h4 { font-size: 1.1rem; margin-top: 1.5rem; }
.prose img { max-width: 100%; height: auto; border-radius: 12px; }
.prose table { width: 100%; margin-bottom: 1rem; border-collapse: collapse; }
.prose th, .prose td { border: 1px solid var(--gbf-line); padding: .5rem .75rem; }
.prose iframe { max-width: 100%; }

:focus-visible { outline: 3px solid var(--gbf-cta); outline-offset: 2px; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 2000; background: var(--gbf-primary); color: #fff; padding: .75rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; color: #fff; }

.section { padding: 48px 0; }
@media (min-width: 992px) { .section { padding: 80px 0; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600;
  color: var(--gbf-primary-600); margin-bottom: .6rem;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--gbf-accent); }
.section-dark .eyebrow { color: var(--gbf-accent); }

/* Buttons */
.btn { border-radius: 999px; font-weight: 600; padding: .7rem 1.4rem; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; }
.btn-sm { min-height: 36px; padding: .4rem .9rem; }
.btn-primary { --bs-btn-bg: var(--gbf-primary); --bs-btn-border-color: var(--gbf-primary); --bs-btn-hover-bg: var(--gbf-primary-600); --bs-btn-hover-border-color: var(--gbf-primary-600); --bs-btn-active-bg: var(--gbf-primary-600); --bs-btn-disabled-bg: var(--gbf-primary); --bs-btn-disabled-border-color: var(--gbf-primary); }
.btn-outline-primary { --bs-btn-color: var(--gbf-primary); --bs-btn-border-color: var(--gbf-primary); --bs-btn-hover-bg: var(--gbf-primary); --bs-btn-hover-border-color: var(--gbf-primary); --bs-btn-active-bg: var(--gbf-primary); }
.btn-donate { --bs-btn-bg: var(--gbf-cta); --bs-btn-border-color: var(--gbf-cta); --bs-btn-color: #fff; --bs-btn-hover-bg: var(--gbf-cta-dark); --bs-btn-hover-border-color: var(--gbf-cta-dark); --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--gbf-cta-dark); --bs-btn-active-color: #fff; --bs-btn-disabled-bg: var(--gbf-cta); --bs-btn-disabled-color: #fff; }
.btn-light-outline { --bs-btn-color: #fff; --bs-btn-border-color: rgba(255,255,255,.7); --bs-btn-hover-bg: #fff; --bs-btn-hover-color: var(--gbf-primary); --bs-btn-hover-border-color: #fff; }
.btn-accent { --bs-btn-bg: var(--gbf-accent); --bs-btn-border-color: var(--gbf-accent); --bs-btn-color: var(--gbf-primary); --bs-btn-hover-bg: #b4d26a; --bs-btn-hover-border-color: #b4d26a; --bs-btn-hover-color: var(--gbf-primary); }

/* Top bar */
.topbar { background: var(--gbf-primary); color: rgba(255,255,255,.88); font-size: .85rem; }
.topbar a { color: rgba(255,255,255,.88); text-decoration: none; }
.topbar a:hover { color: var(--gbf-accent); }
.topbar .social a { width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: 50%; }
.topbar .social a:hover { background: rgba(255,255,255,.12); }

/* Header / navbar */
.site-header { position: sticky; top: 0; z-index: 1030; background: var(--gbf-paper); border-bottom: 1px solid var(--gbf-line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 4px 18px rgba(23,76,54,.08); }
.site-header .navbar { padding: .55rem 0; }
.brand-logo { height: 52px; width: auto; }
@media (min-width: 992px) { .brand-logo { height: 60px; } }
.brand-text { line-height: 1.1; }
.brand-text strong { font-family: 'Poppins', sans-serif; color: var(--gbf-primary); font-size: 1.05rem; display: block; }
.brand-text small { color: var(--gbf-muted); font-size: .72rem; letter-spacing: .04em; }
.site-header .nav-link { color: var(--gbf-ink); font-weight: 500; padding: .5rem .85rem !important; border-radius: 8px; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--gbf-primary); }
.site-header .nav-link.active { position: relative; }
@media (min-width: 992px) {
  .site-header .nav-link.active::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: 2px; height: 3px; border-radius: 3px; background: var(--gbf-accent); }
  .site-header .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
}
.dropdown-menu { border: 1px solid var(--gbf-line); border-radius: 12px; box-shadow: var(--gbf-shadow); padding: .5rem; }
.dropdown-item { border-radius: 8px; padding: .5rem .85rem; }
.dropdown-item:hover, .dropdown-item.active, .dropdown-item:active { background: var(--gbf-cream); color: var(--gbf-primary); }
.navbar-toggler { border: 0; padding: .5rem; }
.navbar-toggler:focus { box-shadow: none; }
@media (max-width: 991.98px) {
  .offcanvas-nav .nav-link { padding: .75rem 0 !important; border-bottom: 1px solid var(--gbf-line); border-radius: 0; }
  .offcanvas-nav .dropdown-menu { border: 0; box-shadow: none; padding-left: 1rem; position: static !important; transform: none !important; }
}
@media (min-width: 992px) {
  .site-header .nav-link { white-space: nowrap; }
}
@media (min-width: 992px) and (max-width: 1399.98px) {
  .site-header .nav-link { padding: .5rem .6rem !important; }
  .brand-text small { display: none; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-header .nav-link { padding: .5rem .45rem !important; font-size: .92rem; }
  .brand-text { display: none !important; }
}

/* Hero */
/* Hero (home): split layout on theme gradient; photos framed at natural ratio, never cropped */
.hero2 {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  padding: 40px 0 96px;
  background:
    radial-gradient(ellipse 55% 80% at 80% 30%, rgba(197,223,133,.20), transparent 62%),
    radial-gradient(ellipse 45% 60% at 0% 100%, rgba(220,139,84,.20), transparent 60%),
    linear-gradient(125deg, #0f3424 0%, var(--gbf-primary) 48%, var(--gbf-primary-600) 100%);
}
@media (min-width: 992px) { .hero2 { padding: 56px 0 120px; } }
.hero2 > span { position: absolute; pointer-events: none; z-index: 0; }
.hero2 .container { z-index: 2; }
.hero2 .pb-dots { width: 55%; }
.hero2-ring-2 { width: 300px; height: 300px; left: -120px; bottom: -120px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.14); }
.hero2-leaf-1 { width: 64px; height: 64px; left: 46%; top: 12%; transform: rotate(20deg); }
.hero2-leaf-2 { width: 34px; height: 34px; left: 6%; top: 8%; transform: rotate(-35deg); animation-delay: -3s; }
.hero2-leaf-3 { width: 26px; height: 26px; left: 44%; bottom: 22%; transform: rotate(70deg); animation-delay: -5s; background: linear-gradient(135deg, rgba(220,139,84,.85), rgba(220,139,84,.25)); }

.hero2-row { min-height: clamp(420px, 62vh, 600px); }
.hero2-eyebrow { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .9rem; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gbf-accent); background: rgba(255,255,255,.08); border: 1px solid rgba(197,223,133,.3); }
.hero2-title { color: #fff; font-size: clamp(2rem, 4.3vw, 3.5rem); font-weight: 700; line-height: 1.12; letter-spacing: -.015em; margin: 1.1rem 0 1rem; max-width: 16ch; }
.hero2-text { color: rgba(255,255,255,.86); font-size: clamp(1rem, 1.35vw, 1.15rem); max-width: 50ch; margin: 0; }
.hero2-trust { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .88rem; color: rgba(255,255,255,.8); }
.hero2-trust i { color: var(--gbf-accent); margin-right: .3rem; }

/* Photo composition */
.hero2-visual { position: relative; display: flex; justify-content: center; align-items: center; padding: 26px 34px; }
.hero2-blob { position: absolute; z-index: 0; width: 78%; aspect-ratio: 1; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; background: linear-gradient(140deg, var(--gbf-accent), rgba(197,223,133,.25)); opacity: .9; animation: heroBlob 12s ease-in-out infinite; }
.hero2-frame { position: relative; z-index: 1; margin: 0; padding: 10px; background: #fff; border-radius: 26px; box-shadow: 0 30px 60px rgba(0,0,0,.35); transform: rotate(-2.5deg); transition: transform .4s ease; }
.hero2-frame:hover { transform: rotate(0); }
.hero2-frame img { display: block; width: auto; height: auto; max-width: 100%; max-height: min(500px, 60vh); border-radius: 18px; }
.hero2-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: .65rem; padding: .7rem .95rem; border-radius: 16px; background: #fff; color: var(--gbf-ink); box-shadow: 0 14px 34px rgba(0,0,0,.22); animation: pbFloat 6s ease-in-out infinite; }
.hero2-card strong { display: block; font-family: 'Poppins', sans-serif; font-size: .95rem; line-height: 1.2; color: var(--gbf-primary); }
.hero2-card small { color: var(--gbf-muted); font-size: .76rem; }
.hero2-card .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--gbf-accent); color: var(--gbf-primary); }
.hero2-card .ic-cta { background: #fde6d6; color: var(--gbf-cta); }
.hero2-card-a { left: 0; top: 14%; }
.hero2-card-b { right: 0; bottom: 12%; animation-delay: -3s; }
@keyframes heroBlob { 0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; } 50% { border-radius: 58% 42% 38% 62% / 55% 38% 62% 45%; } }

/* Controls */
.hero2-controls { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 992px) { .hero2-controls { position: absolute; left: 0; bottom: -64px; margin: 0; } }
.hero2-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); color: #fff; display: grid; place-items: center; transition: all .2s; }
.hero2-btn:hover { background: var(--gbf-accent); border-color: var(--gbf-accent); color: var(--gbf-primary); }
.hero2 .hero2-dots { position: static; margin: 0; display: flex; gap: .5rem; }
.hero2 .hero2-dots [data-bs-target] { width: 10px; height: 10px; border-radius: 999px; border: 0; margin: 0; background: rgba(255,255,255,.4); opacity: 1; text-indent: 0; transition: all .3s; }
.hero2 .hero2-dots .active { width: 34px; background: var(--gbf-accent); }

/* Slide-in of text and photo on each slide */
.hero2 .carousel-item.active .hero2-title, .hero2 .carousel-item.active .hero2-text { animation: heroUp .7s ease both; }
.hero2 .carousel-item.active .hero2-text { animation-delay: .1s; }
.hero2 .carousel-item.active .hero2-frame { animation: heroIn .8s ease both; }
@keyframes heroUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes heroIn { from { opacity: 0; transform: rotate(-6deg) scale(.94); } to { opacity: 1; transform: rotate(-2.5deg); } }

@media (max-width: 991.98px) {
  .hero2-row { min-height: 0; }
  .hero2-title { max-width: none; }
  .hero2-visual { padding: 18px 26px 6px; }
  .hero2-frame img { max-height: 340px; }
  .hero2-blob { width: 70%; }
  .hero2-controls { justify-content: center; }
}
@media (max-width: 575.98px) {
  .hero2 { padding: 20px 0 64px; }
  .hero2-title { margin: .8rem 0 .7rem; }
  .hero2-frame { padding: 7px; border-radius: 20px; }
  .hero2-frame img { max-height: 240px; border-radius: 14px; }
  .hero2-card { padding: .5rem .7rem; gap: .5rem; }
  .hero2-card .ic { width: 30px; height: 30px; border-radius: 9px; font-size: .85rem; }
  .hero2-card strong { font-size: .82rem; }
  .hero2-card small { font-size: .68rem; }
  .hero2-card-a { top: 6%; }
  .hero2-card-b { bottom: 4%; }
  .hero2 .btn-lg { padding: .6rem 1.1rem; font-size: 1rem; }
  .hero2-trust { font-size: .8rem; }
}

/* Page banner */
/* Inner-page banner: theme gradient + CSS graphics (no photo) */
.page-banner {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  padding: 34px 0 58px;
  background:
    radial-gradient(ellipse 60% 90% at 85% 10%, rgba(197,223,133,.22), transparent 60%),
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(220,139,84,.18), transparent 60%),
    linear-gradient(125deg, #0f3424 0%, var(--gbf-primary) 45%, var(--gbf-primary-600) 100%);
}
@media (min-width: 992px) { .page-banner { padding: 48px 0 76px; } }
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; margin: .7rem 0 .35rem; max-width: 22ch; letter-spacing: -.01em; }
.page-banner p { color: rgba(255,255,255,.85); margin: 0; max-width: 58ch; font-size: 1.05rem; }
.page-banner h1.pb-title-long { font-size: clamp(1.45rem, 2.8vw, 2.1rem); max-width: 30ch; }
.pb-underline { display: block; width: 72px; height: 4px; border-radius: 4px; margin-top: .8rem; background: linear-gradient(90deg, var(--gbf-accent), var(--gbf-cta)); }

.pb-crumbs .breadcrumb {
  display: inline-flex; margin: 0; padding: .4rem 1rem; border-radius: 999px; font-size: .85rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(4px);
  --bs-breadcrumb-divider-color: rgba(255,255,255,.55); --bs-breadcrumb-item-active-color: var(--gbf-accent);
}
.pb-crumbs .breadcrumb a { color: #fff; text-decoration: none; }
.pb-crumbs .breadcrumb a:hover { color: var(--gbf-accent); }

/* Decorations */
.page-banner > span, .pb-icon { position: absolute; pointer-events: none; z-index: 1; }
.pb-dots {
  top: 0; right: 0; width: 48%; height: 100%;
  background-image: radial-gradient(rgba(197,223,133,.35) 1.5px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to left, #000 10%, transparent 90%); mask-image: linear-gradient(to left, #000 10%, transparent 90%);
}
.pb-ring { border-radius: 50%; border: 2px solid rgba(197,223,133,.28); }
.pb-ring-1 { width: 340px; height: 340px; right: -110px; top: -150px; }
.pb-ring-2 { width: 240px; height: 240px; right: 140px; bottom: -150px; border-style: dashed; border-color: rgba(255,255,255,.18); }
.pb-leaf { border-radius: 0 100% 0 100%; background: linear-gradient(135deg, rgba(197,223,133,.55), rgba(197,223,133,.12)); animation: pbFloat 7s ease-in-out infinite; }
.pb-leaf-1 { width: 70px; height: 70px; right: 13%; top: 18%; transform: rotate(18deg); }
.pb-leaf-2 { width: 46px; height: 46px; right: 26%; top: 60%; transform: rotate(-30deg); animation-delay: -2s; opacity: .8; }
.pb-leaf-3 { width: 28px; height: 28px; right: 6%; top: 68%; transform: rotate(60deg); animation-delay: -4s; background: linear-gradient(135deg, rgba(220,139,84,.8), rgba(220,139,84,.25)); }
.pb-sun { width: 14px; height: 14px; border-radius: 50%; background: var(--gbf-cta); right: 33%; top: 24%; box-shadow: 0 0 0 8px rgba(220,139,84,.18); }
.pb-icon { right: 4%; bottom: 14%; font-size: 7rem; line-height: 1; color: rgba(255,255,255,.06); transform: rotate(-8deg); }
.pb-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 40px; z-index: 1; display: block; }
.pb-wave path { fill: var(--gbf-paper); }
@keyframes pbFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

@media (max-width: 767.98px) {
  .pb-ring-1 { width: 260px; height: 260px; right: -110px; top: -110px; }
  .pb-ring-2, .pb-leaf-2, .pb-sun { display: none; }
  .pb-leaf-1 { width: 56px; height: 56px; right: 8%; top: 14%; }
  .pb-icon { font-size: 6rem; }
  .pb-dots { width: 70%; }
  .pb-wave { height: 32px; }
}

/* Cards */
.card-gbf { background: #fff; border: 1px solid var(--gbf-line); border-radius: var(--gbf-radius); box-shadow: var(--gbf-shadow); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
/* Equal-height cards only when the card is the direct child of a grid column. */
.row > [class*="col"] > .card-gbf, .cause-option > .card-gbf { height: 100%; }
.card-gbf.hover-lift:hover { transform: translateY(-5px); box-shadow: var(--gbf-shadow-lg); }
.card-gbf .card-img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; border-radius: 0; background: var(--gbf-cream); }
.card-gbf .card-body { padding: 1.35rem; }
.card-gbf .card-title { font-size: 1.12rem; margin-bottom: .5rem; }
.card-gbf .card-title a { color: var(--gbf-ink); text-decoration: none; }
.card-gbf .card-title a:hover { color: var(--gbf-primary-600); }
.card-gbf .meta { font-size: .85rem; color: var(--gbf-muted); display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-bottom: .6rem; }
.card-gbf .meta i { color: var(--gbf-primary-600); }
.badge-cat { background: var(--gbf-accent); color: var(--gbf-primary); font-weight: 600; font-size: .72rem; border-radius: 999px; padding: .35rem .7rem; text-decoration: none; }
.card-gbf .img-wrap { position: relative; }
.card-gbf .img-wrap .badge-cat { position: absolute; top: 1rem; left: 1rem; }
.link-more { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.link-more i { transition: transform .2s; }
.link-more:hover i { transform: translateX(3px); }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* About + mission */
.about-img { border-radius: 20px; box-shadow: var(--gbf-shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-badge { position: absolute; bottom: -18px; right: 18px; background: var(--gbf-cta); color: #fff; padding: .9rem 1.2rem; border-radius: 14px; box-shadow: var(--gbf-shadow-lg); font-family: 'Poppins', sans-serif; }
.about-badge strong { font-size: 1.6rem; display: block; line-height: 1; }
.mv-card { padding: 2rem; border-radius: var(--gbf-radius); height: 100%; }
.mv-card.mission { background: var(--gbf-primary); color: #fff; }
.mv-card.mission h3 { color: #fff; }
.mv-card.vision { background: #fff; border: 1px solid var(--gbf-line); box-shadow: var(--gbf-shadow); }
.mv-card .icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1rem; background: var(--gbf-accent); color: var(--gbf-primary); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .7rem; }
.check-list li::before { content: "\F26E"; font-family: bootstrap-icons; position: absolute; left: 0; top: 0; color: var(--gbf-primary-600); font-size: 1.2rem; line-height: 1.5; }

/* Focus areas */
.focus-card { padding: 1.6rem; text-align: left; }
.focus-icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--gbf-accent); color: var(--gbf-primary); font-size: 1.6rem; margin-bottom: 1rem; transition: transform .25s; }
.focus-card:hover .focus-icon { transform: scale(1.08) rotate(-6deg); }
.focus-card h3 { font-size: 1.08rem; }
.focus-card p { color: var(--gbf-muted); margin: 0; font-size: .95rem; }

/* Counters */
.counters { background: var(--gbf-primary); color: #fff; position: relative; overflow: hidden; }
.counters::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(197,223,133,.08); }
.counter-item { text-align: center; padding: 1rem; }
.counter-item i { font-size: 1.8rem; color: var(--gbf-accent); }
.counter-item .num { font-family: 'Poppins', sans-serif; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: #fff; line-height: 1.2; }
.counter-item .label { color: rgba(255,255,255,.82); font-size: .95rem; }
.section-dark { background: var(--gbf-primary); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }

/* Team */
.team-card { text-align: center; padding: 1.75rem 1.25rem; }
.team-photo { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; object-position: top; border: 5px solid var(--gbf-cream); box-shadow: 0 0 0 2px var(--gbf-accent); margin: 0 auto 1rem; display: block; background: var(--gbf-cream); }
.team-card h3 { font-size: 1.12rem; margin-bottom: .2rem; }
.team-card .designation { color: var(--gbf-primary-600); font-weight: 600; font-size: .92rem; }
.team-card .qualification { color: var(--gbf-muted); font-size: .85rem; margin: .4rem 0 .9rem; min-height: 2.6em; }
.team-modal .modal-content { border-radius: 20px; border: 0; }
.team-modal .team-photo { width: 120px; height: 120px; }

/* Gallery */
/* Uniform tiles: every photo cropped to the same 4:3 frame, whatever its orientation. */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .gallery-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid a { display: block; border-radius: 12px; overflow: hidden; position: relative; aspect-ratio: 4 / 3; background: var(--gbf-cream); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.gallery-grid a:hover img { transform: scale(1.05); }
.gallery-grid a::after { content: "\F52A"; font-family: bootstrap-icons; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.8rem; color: #fff; background: rgba(23,76,54,.45); opacity: 0; transition: opacity .25s; }
.gallery-grid a:hover::after { opacity: 1; }
.gallery-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 768px) { .gallery-strip { grid-template-columns: repeat(4, 1fr); } }
.gallery-strip a { border-radius: 12px; overflow: hidden; aspect-ratio: 1; display: block; }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-strip a:hover img { transform: scale(1.06); }
.album-card .count { position: absolute; right: 1rem; bottom: 1rem; background: rgba(0,0,0,.6); color: #fff; padding: .25rem .65rem; border-radius: 999px; font-size: .8rem; }
.ratio-video { border-radius: 14px; overflow: hidden; }

/* CTA bands */
.cta-band { position: relative; border-radius: 24px; overflow: hidden; background: var(--gbf-primary) center/cover no-repeat; color: #fff; padding: 3rem 1.5rem; }
@media (min-width: 992px) { .cta-band { padding: 4.5rem 4rem; } }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14,48,34,.95) 30%, rgba(14,48,34,.55)); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); }
.volunteer-cta { background: var(--gbf-accent); border-radius: 24px; padding: 2.5rem 1.5rem; }
@media (min-width: 992px) { .volunteer-cta { padding: 3.5rem 4rem; } }
.volunteer-cta h2 { color: var(--gbf-primary); }

/* Partners / testimonials */
.partner-logo { height: 70px; display: flex; align-items: center; justify-content: center; padding: .75rem; background: #fff; border-radius: 12px; border: 1px solid var(--gbf-line); }
.partner-logo img { max-height: 100%; max-width: 100%; filter: grayscale(1); opacity: .75; transition: all .25s; }
.partner-logo:hover img { filter: none; opacity: 1; }
.testimonial { padding: 2rem; }
.testimonial .quote-icon { font-size: 2rem; color: var(--gbf-accent); }

/* Forms */
.form-control, .form-select { border-radius: 10px; border-color: #d6ddd1; padding: .7rem .95rem; min-height: 46px; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: var(--gbf-primary-600); box-shadow: 0 0 0 .2rem rgba(40,103,71,.15); }
.form-check-input:checked { background-color: var(--gbf-primary); border-color: var(--gbf-primary); }
.form-label { font-weight: 500; font-size: .93rem; margin-bottom: .35rem; }
.form-card { background: #fff; border: 1px solid var(--gbf-line); border-radius: 20px; box-shadow: var(--gbf-shadow); padding: 1.5rem; }
@media (min-width: 768px) { .form-card { padding: 2.25rem; } }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.interest-check { display: block; }
.interest-check input { position: absolute; opacity: 0; }
.interest-check span { display: block; border: 1px solid #d6ddd1; border-radius: 10px; padding: .6rem .85rem; cursor: pointer; font-size: .92rem; transition: all .15s; }
.interest-check input:checked + span { background: var(--gbf-cream); border-color: var(--gbf-primary-600); color: var(--gbf-primary); font-weight: 600; }
.interest-check input:focus-visible + span { outline: 3px solid var(--gbf-cta); outline-offset: 2px; }

/* Donate */
@media (min-width: 992px) { .donate-card { position: sticky; top: 100px; } }
.donate-intro { background: var(--gbf-cream); border-radius: 20px; padding: 1.5rem; }
.impact-tile { background: #fff; border: 1px solid var(--gbf-line); border-radius: 16px; padding: 1.1rem 1.25rem; height: 100%; display: flex; gap: 1rem; align-items: flex-start; }
.impact-tile .focus-icon { margin: 0; flex: 0 0 48px; width: 48px; height: 48px; font-size: 1.25rem; }
.impact-tile strong { display: block; font-family: 'Poppins', sans-serif; color: var(--gbf-primary); }
.impact-tile span { font-size: .88rem; color: var(--gbf-muted); }
.give-card { background: #fff; border: 1px solid var(--gbf-line); border-radius: 16px; box-shadow: var(--gbf-shadow); padding: 1.5rem; height: 100%; }
.give-card h3 { font-size: 1.1rem; display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.give-card h3 i { width: 40px; height: 40px; border-radius: 12px; display: inline-grid; place-items: center; background: var(--gbf-accent); color: var(--gbf-primary); font-size: 1.1rem; }
.tax-note { border-left: 4px solid var(--gbf-accent); background: #fff; border-radius: 12px; padding: 1rem 1.25rem; }
.amount-chips { grid-template-columns: repeat(3, 1fr); }
.amount-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.amount-chip input { position: absolute; opacity: 0; }
.amount-chip span { display: block; text-align: center; border: 1.5px solid #d6ddd1; border-radius: 12px; padding: .65rem .25rem; font-weight: 600; cursor: pointer; transition: all .15s; }
.amount-chip input:checked + span { background: var(--gbf-primary); border-color: var(--gbf-primary); color: #fff; }
.amount-chip input:focus-visible + span { outline: 3px solid var(--gbf-cta); outline-offset: 2px; }
.cause-option input { position: absolute; opacity: 0; }
.cause-option .card-gbf { cursor: pointer; border-width: 2px; }
.cause-option input:checked + .card-gbf { border-color: var(--gbf-primary-600); box-shadow: 0 0 0 3px rgba(197,223,133,.7); }
.trust-badges { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .85rem; color: var(--gbf-muted); }
.trust-badges i { color: var(--gbf-primary-600); }
.bank-table th { width: 42%; color: var(--gbf-muted); font-weight: 500; }
.bank-table td { font-weight: 600; word-break: break-word; }
.copy-btn { border: 0; background: none; color: var(--gbf-primary-600); padding: 0 .25rem; }

/* Info boxes */
.info-box { display: flex; gap: 1rem; align-items: flex-start; }
.info-box .ic { flex: 0 0 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--gbf-accent); color: var(--gbf-primary); font-size: 1.2rem; }
.map-embed { border: 0; width: 100%; height: 360px; border-radius: 16px; }

/* Registrations */
.reg-card { padding: 1.25rem; display: flex; gap: 1rem; align-items: center; }
.reg-card .ic { flex: 0 0 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--gbf-cream); color: var(--gbf-primary); font-size: 1.4rem; }
.reg-badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.reg-badges span { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: .3rem .8rem; font-size: .78rem; color: rgba(255,255,255,.9); }

/* Footer */
.site-footer { background: var(--gbf-primary); color: rgba(255,255,255,.82); padding-top: 64px; font-size: .95rem; }
.site-footer h5 { color: #fff; font-size: 1.05rem; margin-bottom: 1.1rem; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: var(--gbf-accent); }
.site-footer .footer-logo { max-height: 80px; background: #fff; border-radius: 12px; padding: 6px 10px; }
.site-footer .links li { margin-bottom: .5rem; }
.site-footer .social a { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255,255,255,.1); margin-right: .35rem; }
.site-footer .social a:hover { background: var(--gbf-accent); color: var(--gbf-primary); }
.site-footer .newsletter .form-control { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.site-footer .newsletter .form-control::placeholder { color: rgba(255,255,255,.55); }
.footer-policies { border-top: 1px solid rgba(255,255,255,.12); padding: 1rem 0; font-size: .82rem; }
.footer-policies a { margin-right: 1rem; display: inline-block; margin-bottom: .25rem; }
.footer-bottom { background: rgba(0,0,0,.18); padding: 1rem 0; font-size: .85rem; }

/* Floating buttons */
.float-btn { position: fixed; right: 18px; z-index: 1040; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.2); font-size: 1.5rem; border: 0; transition: transform .2s, opacity .2s; }
.float-btn:hover { transform: translateY(-3px); }
.whatsapp-btn { bottom: 18px; background: #25D366; color: #fff; }
.whatsapp-btn:hover { color: #fff; }
.top-btn { bottom: 82px; background: var(--gbf-primary); color: #fff; font-size: 1.2rem; opacity: 0; pointer-events: none; }
.top-btn.show { opacity: 1; pointer-events: auto; }
.mobile-donate-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035; background: #fff; border-top: 1px solid var(--gbf-line); padding: .6rem 1rem; box-shadow: 0 -4px 16px rgba(0,0,0,.06); }
@media (max-width: 575.98px) {
  body.has-mobile-bar { padding-bottom: 68px; }
  body.has-mobile-bar .whatsapp-btn { bottom: 80px; }
  body.has-mobile-bar .top-btn { bottom: 144px; }
}

/* Cookie consent */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1060; max-width: 560px; background: #fff; border-radius: 16px; box-shadow: var(--gbf-shadow-lg); border: 1px solid var(--gbf-line); padding: 1.25rem; display: none; }
.cookie-banner.show { display: block; }
@media (max-width: 575.98px) { .cookie-banner { bottom: 76px; } }

/* Toasts */
.toast-container { z-index: 1090; }
.toast { border-radius: 12px; border: 0; box-shadow: var(--gbf-shadow-lg); }

/* Project detail */
.row > [class*="col"] > .card-gbf.project-sidebar { height: auto; align-self: flex-start; }
@media (min-width: 992px) { .project-sidebar { position: sticky; top: 100px; } }
.project-cover { border-radius: 20px; width: 100%; max-height: 520px; object-fit: cover; box-shadow: var(--gbf-shadow); }
.project-facts { list-style: none; padding: 0; margin: 0; }
.project-facts li { display: flex; gap: .75rem; padding: .75rem 0; border-bottom: 1px dashed var(--gbf-line); }
.project-facts li:last-child { border: 0; }
.project-facts i { color: var(--gbf-primary-600); font-size: 1.1rem; }
.project-facts small { display: block; color: var(--gbf-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.share-btns a { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--gbf-cream); color: var(--gbf-primary); text-decoration: none; margin-right: .3rem; }
.share-btns a:hover { background: var(--gbf-primary); color: #fff; }
.filter-pills .btn { border-radius: 999px; }

/* Grievance timeline */
.timeline { list-style: none; padding-left: 1.5rem; border-left: 2px solid var(--gbf-line); }
.timeline li { position: relative; margin-bottom: 1.25rem; }
.timeline li::before { content: ""; position: absolute; left: calc(-1.5rem - 7px); top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--gbf-accent); border: 2px solid var(--gbf-primary); }

/* Pagination */
.pagination { --bs-pagination-color: var(--gbf-primary); --bs-pagination-active-bg: var(--gbf-primary); --bs-pagination-active-border-color: var(--gbf-primary); --bs-pagination-border-radius: 10px; gap: .3rem; }
.pagination .page-link { border-radius: 10px !important; }

@media print {
  .topbar, .site-header, .site-footer, .float-btn, .cookie-banner, .page-banner, .no-print, .mobile-donate-bar { display: none !important; }
  body { background: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Mobile off-canvas menu */
@media (max-width: 991.98px) {
  .offcanvas-nav { width: min(340px, 88vw) !important; background: var(--gbf-paper); }
  .offcanvas-nav .offcanvas-header { padding: .9rem 1.25rem; }
  .offcanvas-nav .offcanvas-body { display: flex; flex-direction: column; padding: .5rem 1.25rem 1.5rem; }
  .offcanvas-nav .nav-link { font-size: 1.02rem; font-weight: 500; }
  .offcanvas-nav .nav-link.active { color: var(--gbf-primary); font-weight: 600; }
  .offcanvas-nav .dropdown-item { padding: .55rem .5rem; }
  .offcanvas-contact { margin-top: auto; padding-top: 1.25rem; display: grid; gap: .5rem; font-size: .9rem; }
  .offcanvas-contact a { color: var(--gbf-muted); text-decoration: none; }
  .offcanvas-contact i { color: var(--gbf-primary-600); margin-right: .35rem; }
}
@media (max-width: 991.98px) {
  .offcanvas-nav .navbar-nav { margin-left: 0 !important; margin-right: 0 !important; }
}
/* While the menu is open, lift the header above floating buttons and hide them. */
.site-header:has(.offcanvas.show), .site-header:has(.offcanvas.showing) { z-index: 1060; }
body:has(.offcanvas.show) .float-btn, body:has(.offcanvas.show) .mobile-donate-bar,
body:has(.offcanvas.showing) .float-btn, body:has(.offcanvas.showing) .mobile-donate-bar { display: none !important; }
