/*
Theme Name:        1805 NGO Theme
Theme URI:         https://1805loaded.com
Description:       Premium humanitarian NGO WordPress theme by 1805loaded. Built for NGOs, charities, and humanitarian organizations. Features high-conversion donation flows, mobile-first design, Paystack/Flutterwave integration, and a modern premium UI.
Version:           1.5.9
Requires at least: 6.0
Tested up to:      6.5
Requires PHP:      7.4
Author:            1805LOADED
Author URI:        https://1805loaded.com
License:           GNU General Public License v2 or later
License URI:       http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       1805-ngo-theme
Tags:              ngo, charity, donations, humanitarian, modern, responsive, custom-colors, custom-logo

== Author ==
Developer:  1805loaded
Contact:    +2347033920473
Email:      1805loaded@gmail.com
Telegram:   https://t.me/i1805loaded
*/
/* ==========================================================================
   DESIGN SYSTEM — HEARTS BEYOND BARS
   ========================================================================== */

:root {
  /* Brand Colors */
  --hbb-blue:         #0A2540;
  --hbb-blue-mid:     #0D3060;
  --hbb-blue-light:   #1A4A7A;
  --hbb-gold:         #F59E0B;
  --hbb-gold-light:   #FCD34D;
  --hbb-gold-dark:    #D97706;
  --hbb-white:        #FFFFFF;
  --hbb-off-white:    #F8FAFC;
  --hbb-gray-100:     #F1F5F9;
  --hbb-gray-200:     #E2E8F0;
  --hbb-gray-400:     #94A3B8;
  --hbb-gray-600:     #475569;
  --hbb-gray-800:     #1E293B;
  --hbb-text:         #1E293B;
  --hbb-text-light:   #64748B;

  /* Typography */
  --font-display:     'Playfair Display', Georgia, serif;
  --font-body:        'DM Sans', system-ui, sans-serif;
  --font-mono:        'JetBrains Mono', monospace;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(10,37,64,0.08), 0 1px 2px rgba(10,37,64,0.06);
  --shadow-md:  0 4px 16px rgba(10,37,64,0.10), 0 2px 4px rgba(10,37,64,0.06);
  --shadow-lg:  0 10px 40px rgba(10,37,64,0.14), 0 4px 6px rgba(10,37,64,0.05);
  --shadow-xl:  0 25px 60px rgba(10,37,64,0.18);
  --shadow-gold: 0 4px 20px rgba(245,158,11,0.30);

  /* Transitions */
  --transition-fast:   0.15s ease;
  --transition-base:   0.25s ease;
  --transition-slow:   0.40s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Layout */
  --container-max:  1280px;
  --container-md:   960px;
  --container-sm:   720px;
  --header-height:  72px;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--hbb-text);
  background: var(--hbb-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ==========================================================================
   TYPOGRAPHY SCALE
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--hbb-blue);
  line-height: 1.2;
  font-weight: 700;
}

.display-1 { font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -0.02em; }
.display-2 { font-size: clamp(2rem, 4.5vw, 3.75rem); letter-spacing: -0.02em; }
h1 { font-size: clamp(1.875rem, 3.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.25rem; }

.lead { font-size: 1.125rem; line-height: 1.7; color: var(--hbb-text-light); }
.body-sm { font-size: 0.875rem; }
.overline {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--hbb-gold);
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */

.container {
  width: 100%; max-width: var(--container-max);
  margin-inline: auto; padding-inline: var(--space-xl);
}
.container--sm { max-width: var(--container-sm); }
.container--md { max-width: var(--container-md); }

.section { padding-block: var(--space-4xl); }
.section--sm { padding-block: var(--space-3xl); }
.section--lg { padding-block: calc(var(--space-4xl) * 1.5); }

.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-sm); padding: 0.875rem 2rem;
  font-size: 0.9375rem; font-weight: 600; font-family: var(--font-body);
  border-radius: var(--radius-full); line-height: 1;
  transition: all var(--transition-base);
  white-space: nowrap; cursor: pointer;
  position: relative; overflow: hidden;
}

.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.12);
  transform: translateX(-100%); transition: transform 0.3s ease;
}
.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: var(--hbb-gold);
  color: var(--hbb-blue);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--hbb-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,158,11,0.40);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--hbb-blue);
  color: var(--hbb-white);
  box-shadow: var(--shadow-md);
}
.btn-secondary:hover {
  background: var(--hbb-blue-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--hbb-white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--hbb-white);
}

.btn-ghost {
  background: transparent; color: var(--hbb-blue);
  border: 2px solid var(--hbb-gray-200);
}
.btn-ghost:hover { border-color: var(--hbb-blue); background: var(--hbb-gray-100); }

.btn-lg { padding: 1.125rem 2.5rem; font-size: 1.0625rem; }
.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.8125rem; }
.btn-icon { padding: 0.875rem; border-radius: var(--radius-full); }

/* ==========================================================================
   CARDS
   ========================================================================== */

.card {
  background: var(--hbb-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.card__body { padding: var(--space-xl); }
.card__image { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card__tag {
  display: inline-block; padding: 0.25rem 0.75rem;
  background: rgba(245,158,11,0.12); color: var(--hbb-gold-dark);
  border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-md);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-height);
  background: rgba(10,37,64,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: all var(--transition-base);
}
.site-header.scrolled {
  background: rgba(10,37,64,0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
}

.site-header .container { height: 100%; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.site-logo {
  display: flex; align-items: center; gap: var(--space-sm);
  font-family: var(--font-display); font-size: 1.375rem;
  font-weight: 700; color: var(--hbb-white);
}
.site-logo span { color: var(--hbb-gold); }
.site-logo img { height: 40px; width: auto; }

.main-nav { display: flex; align-items: center; gap: var(--space-xs); }
.main-nav a {
  padding: 0.5rem 1rem; color: rgba(255,255,255,0.8);
  font-size: 0.9375rem; font-weight: 500; border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.main-nav a:hover, .main-nav a.active { color: var(--hbb-white); background: rgba(255,255,255,0.1); }

/* Header donate button — properly sized for all screens */
.header-donate-btn {
  padding: 0.625rem 1.375rem;
  font-size: 0.875rem;
  line-height: 1;
}
/* Desktop: show full text, hide short */
.header-donate-btn .btn-text-full  { display: inline; }
.header-donate-btn .btn-text-short { display: none; }

@media (max-width: 900px) {
  .header-donate-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
  }
}
@media (max-width: 600px) {
  /* Mobile: show short text only, keep button compact */
  .header-donate-btn {
    padding: 0.4375rem 0.875rem;
    font-size: 0.75rem;
  }
  .header-donate-btn .btn-text-full  { display: none; }
  .header-donate-btn .btn-text-short { display: inline; }
}
@media (max-width: 400px) {
  .header-donate-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.6875rem;
  }
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; cursor: pointer;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--hbb-white); border-radius: 2px;
  transition: all var(--transition-base);
}

/* Mobile Nav */
.mobile-nav {
  display: none; position: fixed;
  inset: 0; z-index: 999;
  background: var(--hbb-blue);
  padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
  flex-direction: column; gap: var(--space-sm);
  transform: translateX(100%); transition: transform var(--transition-slow);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  display: block; padding: var(--space-md) var(--space-lg);
  color: rgba(255,255,255,0.85); font-size: 1.125rem; font-weight: 500;
  border-radius: var(--radius-md); transition: all var(--transition-fast);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav a:hover { color: var(--hbb-white); background: rgba(255,255,255,0.08); }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--hbb-blue);
  overflow: hidden;
}

.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(245,158,11,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(13,48,96,0.8) 0%, transparent 60%),
    linear-gradient(135deg, #0A2540 0%, #0D3060 50%, #0A2540 100%);
}

.hero__image {
  position: absolute; inset: 0; z-index: 1;
  object-fit: cover; width: 100%; height: 100%;
  opacity: 0.25;
  mix-blend-mode: luminosity;
}

.hero__overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to right,
    rgba(10,37,64,0.90) 0%,
    rgba(10,37,64,0.60) 50%,
    rgba(10,37,64,0.20) 100%
  );
}

.hero__content {
  position: relative; z-index: 3;
  max-width: 700px;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: var(--space-sm);
  padding: 0.5rem 1.25rem;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.35);
  border-radius: var(--radius-full);
  color: var(--hbb-gold-light); font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: var(--space-xl);
}
.hero__badge::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--hbb-gold); animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
  color: var(--hbb-white);
  margin-bottom: var(--space-lg);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  letter-spacing: -0.02em; line-height: 1.1;
}
.hero__title em { color: var(--hbb-gold); font-style: normal; }

.hero__subtitle {
  color: rgba(255,255,255,0.75); font-size: 1.125rem;
  line-height: 1.75; margin-bottom: var(--space-2xl);
  max-width: 560px;
}

.hero__actions { display: flex; gap: var(--space-md); flex-wrap: wrap; margin-bottom: var(--space-3xl); }

.hero__stats {
  display: flex; gap: var(--space-xl); flex-wrap: wrap;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero__stat-value {
  display: block; font-family: var(--font-display);
  font-size: 1.875rem; font-weight: 700; color: var(--hbb-gold);
  line-height: 1;
}
.hero__stat-label {
  display: block; font-size: 0.8125rem;
  color: rgba(255,255,255,0.6); margin-top: 0.25rem;
}

/* Hero scroll indicator */
.hero__scroll {
  position: absolute; bottom: var(--space-xl); left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center;
  gap: var(--space-sm); color: rgba(255,255,255,0.5);
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  animation: bounce-slow 2s infinite;
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}
@keyframes bounce-slow {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ==========================================================================
   IMPACT STATS BAR
   ========================================================================== */

.impact-bar {
  background: var(--hbb-gold);
  padding: var(--space-lg) 0;
  overflow: hidden;
}
.impact-bar__inner {
  display: flex; align-items: center; gap: var(--space-2xl);
  justify-content: center; flex-wrap: wrap;
}
.impact-stat {
  display: flex; align-items: center; gap: var(--space-md);
  padding: var(--space-sm) var(--space-xl);
}
.impact-stat + .impact-stat {
  border-left: 1px solid rgba(10,37,64,0.15);
}
.impact-stat__num {
  font-family: var(--font-display);
  font-size: 2.25rem; font-weight: 800;
  color: var(--hbb-blue); line-height: 1;
}
.impact-stat__label {
  font-size: 0.875rem; font-weight: 600;
  color: rgba(10,37,64,0.7); text-transform: uppercase; letter-spacing: 0.06em;
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */

.section-header { text-align: center; max-width: 680px; margin: 0 auto var(--space-3xl); }
.section-header .overline { display: block; margin-bottom: var(--space-sm); }
.section-header h2 { margin-bottom: var(--space-md); }
.section-header p { color: var(--hbb-text-light); font-size: 1.0625rem; line-height: 1.7; }

.section-header--left { text-align: left; margin-left: 0; }

/* ==========================================================================
   PROGRAMS SECTION
   ========================================================================== */

.programs-section { background: var(--hbb-off-white); }

.program-card {
  background: var(--hbb-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
  border: 1px solid var(--hbb-gray-200);
}
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.program-card__image {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
}
.program-card__image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.program-card:hover .program-card__image img { transform: scale(1.06); }
.program-card__icon {
  position: absolute; bottom: -20px; right: var(--space-xl);
  width: 48px; height: 48px; border-radius: var(--radius-full);
  background: var(--hbb-gold); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-gold); font-size: 1.25rem;
}
.program-card__body { padding: var(--space-xl); padding-top: calc(var(--space-xl) + 10px); }
.program-card__title { font-size: 1.25rem; margin-bottom: var(--space-sm); }
.program-card__desc { color: var(--hbb-text-light); font-size: 0.9375rem; line-height: 1.65; margin-bottom: var(--space-lg); }
.program-card__link {
  display: inline-flex; align-items: center; gap: var(--space-xs);
  color: var(--hbb-gold-dark); font-weight: 600; font-size: 0.9375rem;
  transition: gap var(--transition-fast);
}
.program-card:hover .program-card__link { gap: var(--space-sm); }

/* ==========================================================================
   LIVE DONATION COUNTER
   ========================================================================== */

.donation-section {
  background: linear-gradient(135deg, var(--hbb-blue) 0%, var(--hbb-blue-mid) 100%);
  position: relative; overflow: hidden;
}
.donation-section::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.donation-counter {
  text-align: center; color: var(--hbb-white);
}
.donation-counter__amount {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800; color: var(--hbb-gold);
  line-height: 1; letter-spacing: -0.03em;
  text-shadow: 0 4px 30px rgba(245,158,11,0.3);
}
.donation-counter__label {
  font-size: 1rem; color: rgba(255,255,255,0.65);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-top: var(--space-sm);
}

.progress-track {
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  height: 12px; overflow: hidden;
  margin-block: var(--space-xl);
}
.progress-fill {
  height: 100%; border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--hbb-gold), var(--hbb-gold-light));
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 0 16px rgba(245,158,11,0.5);
}

.donation-amounts { display: flex; gap: var(--space-md); flex-wrap: wrap; justify-content: center; margin-bottom: var(--space-xl); }
.donation-amount-pill {
  padding: 0.75rem 1.5rem; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: var(--hbb-white); font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: all var(--transition-base);
}
.donation-amount-pill:hover,
.donation-amount-pill.active {
  background: var(--hbb-gold); border-color: var(--hbb-gold);
  color: var(--hbb-blue); transform: scale(1.05);
  box-shadow: var(--shadow-gold);
}

.donation-form { max-width: 480px; margin: 0 auto; }
.donation-input-wrap {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full); overflow: hidden;
  margin-bottom: var(--space-md);
  transition: border-color var(--transition-fast);
}
.donation-input-wrap:focus-within { border-color: var(--hbb-gold); }
.donation-input-wrap .currency {
  padding: 0 var(--space-lg); color: rgba(255,255,255,0.6);
  font-weight: 600; white-space: nowrap;
}
.donation-input-wrap input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--hbb-white); font-size: 1.25rem; font-weight: 600;
  padding: 1rem 0; caret-color: var(--hbb-gold);
}
.donation-input-wrap input::placeholder { color: rgba(255,255,255,0.3); }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonials-section { background: var(--hbb-white); }
.testimonial-card {
  padding: var(--space-xl);
  background: var(--hbb-off-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--hbb-gray-200);
  position: relative;
  transition: all var(--transition-slow);
}
.testimonial-card:hover {
  background: var(--hbb-white);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-4px);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute; top: var(--space-lg); right: var(--space-xl);
  font-size: 5rem; color: var(--hbb-gold); opacity: 0.2;
  font-family: var(--font-display); line-height: 1;
}
.testimonial-text {
  font-size: 1rem; line-height: 1.75; color: var(--hbb-gray-600);
  margin-bottom: var(--space-lg); font-style: italic;
}
.testimonial-author {
  display: flex; align-items: center; gap: var(--space-md);
}
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover; border: 3px solid var(--hbb-gold);
}
.testimonial-name { font-weight: 700; font-size: 0.9375rem; }
.testimonial-role { font-size: 0.8125rem; color: var(--hbb-text-light); }

/* ==========================================================================
   GALLERY
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}
.gallery-item {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  cursor: pointer; aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item__overlay {
  position: absolute; inset: 0; background: rgba(10,37,64,0.7);
  opacity: 0; transition: opacity var(--transition-base);
  display: flex; align-items: center; justify-content: center;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__icon { color: var(--hbb-white); font-size: 2rem; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity var(--transition-base);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox__img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-md); }
.lightbox__close {
  position: absolute; top: var(--space-lg); right: var(--space-lg);
  color: white; font-size: 2rem; cursor: pointer; opacity: 0.7;
  transition: opacity var(--transition-fast);
}
.lightbox__close:hover { opacity: 1; }

/* ==========================================================================
   GET INVOLVED / VOLUNTEER
   ========================================================================== */

.involve-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.involve-card {
  padding: var(--space-2xl); border-radius: var(--radius-xl);
  text-align: center; border: 2px solid var(--hbb-gray-200);
  transition: all var(--transition-slow);
}
.involve-card:hover {
  border-color: var(--hbb-gold); background: var(--hbb-blue);
  transform: translateY(-8px); box-shadow: var(--shadow-xl);
}
.involve-card:hover h3, .involve-card:hover p { color: var(--hbb-white); }
.involve-icon {
  width: 72px; height: 72px; border-radius: var(--radius-xl);
  background: rgba(245,158,11,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin: 0 auto var(--space-lg);
  transition: background var(--transition-base);
}
.involve-card:hover .involve-icon { background: rgba(245,158,11,0.2); }

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */

.contact-form { max-width: 640px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.form-group { margin-bottom: var(--space-lg); }
.form-group label {
  display: block; font-weight: 600; font-size: 0.875rem;
  color: var(--hbb-text); margin-bottom: var(--space-xs);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 0.875rem 1.125rem;
  border: 2px solid var(--hbb-gray-200); border-radius: var(--radius-md);
  font-size: 0.9375rem; background: var(--hbb-white); color: var(--hbb-text);
  transition: border-color var(--transition-fast);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--hbb-blue); }
.form-group textarea { resize: vertical; min-height: 130px; }

/* ==========================================================================
   BLOG
   ========================================================================== */

.blog-card {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--hbb-white); box-shadow: var(--shadow-sm);
  border: 1px solid var(--hbb-gray-200);
  transition: all var(--transition-slow);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: transparent; }
.blog-card__image { aspect-ratio: 16/9; overflow: hidden; }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-card__image img { transform: scale(1.05); }
.blog-card__body { padding: var(--space-xl); }
.blog-card__meta {
  display: flex; align-items: center; gap: var(--space-md);
  color: var(--hbb-text-light); font-size: 0.8125rem; margin-bottom: var(--space-md);
}
.blog-card__title { font-size: 1.1875rem; margin-bottom: var(--space-sm); }
.blog-card__title a { color: var(--hbb-blue); }
.blog-card__title a:hover { color: var(--hbb-gold-dark); }
.blog-card__excerpt { color: var(--hbb-text-light); font-size: 0.9375rem; line-height: 1.65; margin-bottom: var(--space-lg); }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer { background: var(--hbb-blue); color: rgba(255,255,255,0.8); }

.footer-main { padding: var(--space-4xl) 0 var(--space-3xl); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
}

.footer-brand__logo { margin-bottom: var(--space-lg); }
.footer-brand__tagline { font-size: 0.9375rem; line-height: 1.7; max-width: 300px; margin-bottom: var(--space-xl); }
.footer-brand__social { display: flex; gap: var(--space-sm); }
.social-link {
  width: 40px; height: 40px; border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 1rem;
  transition: all var(--transition-base);
}
.social-link:hover { background: var(--hbb-gold); border-color: var(--hbb-gold); color: var(--hbb-blue); }

.footer-col h4 {
  color: var(--hbb-white); font-size: 0.9375rem;
  font-family: var(--font-body); font-weight: 700;
  margin-bottom: var(--space-lg); letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-links { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-links a {
  color: rgba(255,255,255,0.65); font-size: 0.9375rem;
  transition: color var(--transition-fast);
  display: inline-flex; align-items: center; gap: var(--space-xs);
}
.footer-links a:hover { color: var(--hbb-gold); }

.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.10); margin: 0; }

.footer-bottom {
  padding: var(--space-lg) 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--space-md);
}
.footer-bottom__copy { font-size: 0.875rem; color: rgba(255,255,255,0.5); }
.footer-credits {
  font-size: 0.8125rem; color: rgba(255,255,255,0.45);
  display: flex; align-items: center; gap: 0.3em;
}
.footer-credits a {
  color: var(--hbb-gold-light); font-weight: 600;
  text-decoration: underline; text-decoration-style: dotted;
  text-underline-offset: 3px; transition: color var(--transition-fast);
}
.footer-credits a:hover { color: var(--hbb-gold); }

/* ==========================================================================
   FLOATING DONATE BAR
   ========================================================================== */

.donate-float {
  position: fixed; bottom: var(--space-xl); right: var(--space-xl); z-index: 999;
  display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-sm);
}
.donate-float__btn {
  background: var(--hbb-gold); color: var(--hbb-blue);
  padding: 1rem 1.75rem; border-radius: var(--radius-full);
  font-weight: 700; font-size: 0.9375rem; font-family: var(--font-body);
  box-shadow: 0 8px 32px rgba(245,158,11,0.5);
  animation: float-pulse 3s ease-in-out infinite;
  border: none; cursor: pointer; display: flex; align-items: center; gap: var(--space-sm);
  transition: transform var(--transition-base);
}
.donate-float__btn:hover { transform: scale(1.05); }
@keyframes float-pulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(245,158,11,0.5); }
  50%       { box-shadow: 0 8px 48px rgba(245,158,11,0.7); }
}

/* ==========================================================================
   PAGE TEMPLATES
   ========================================================================== */

/* About Page */
.about-hero { padding-top: calc(var(--header-height) + var(--space-4xl)); padding-bottom: var(--space-4xl); }
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3xl); align-items: center; }
.about-image-wrap { position: relative; }
.about-image-wrap img { border-radius: var(--radius-xl); }
.about-image-accent {
  position: absolute; bottom: -20px; left: -20px;
  width: 160px; height: 160px; border-radius: var(--radius-xl);
  background: var(--hbb-gold);
  z-index: -1;
}

/* Team */
.team-card { text-align: center; }
.team-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  object-fit: cover; margin: 0 auto var(--space-md);
  border: 4px solid var(--hbb-gray-200);
  transition: border-color var(--transition-base);
}
.team-card:hover .team-avatar { border-color: var(--hbb-gold); }
.team-name { font-size: 1.0625rem; font-weight: 700; }
.team-role { font-size: 0.875rem; color: var(--hbb-gold-dark); font-weight: 600; }

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* Shimmer skeleton */
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--hbb-gray-200) 25%, var(--hbb-gray-100) 50%, var(--hbb-gray-200) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

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

:focus-visible {
  outline: 3px solid var(--hbb-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }
  .container { padding-inline: var(--space-lg); }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-story { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .involve-cards { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .impact-bar__inner { flex-direction: column; gap: 0; }
  .impact-stat + .impact-stat { border-left: none; border-top: 1px solid rgba(10,37,64,0.15); }
  .donate-float { bottom: var(--space-lg); right: var(--space-lg); }
}

@media (max-width: 480px) {
  .section { padding-block: var(--space-3xl); }
  .donation-counter__amount { font-size: 3rem; }
  .hero__stats { gap: var(--space-lg); }
}

/* ==========================================================================
   PRINT
   ========================================================================== */

@media print {
  .site-header, .donate-float, .mobile-nav { display: none; }
  body { color: #000; background: #fff; }
}

/* ==========================================================================
   MOBILE RESPONSIVE FIXES — All inline grid/display:grid overrides
   These target every inline style grid in page templates
   ========================================================================== */

/* Force ALL inline-style grids to stack on mobile */
@media (max-width: 768px) {

  /* --- Generic inline grid override --- */
  [style*="grid-template-columns"]:not(.hbb-stats-block):not(.adm-stat-row) {
    display: block !important;
  }

  /* --- About Us: story + milestone grid --- */
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1.4fr"],
  [style*="grid-template-columns:1fr 1.4fr"],
  [style*="grid-template-columns: 1.4fr 1fr"],
  [style*="grid-template-columns:1.4fr 1fr"],
  [style*="grid-template-columns: 1.2fr 1fr"],
  [style*="grid-template-columns:1.2fr 1fr"],
  [style*="grid-template-columns: 2fr 1fr"],
  [style*="grid-template-columns:2fr 1fr"],
  [style*="grid-template-columns: 1fr 2fr"],
  [style*="grid-template-columns:1fr 2fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  /* --- Sponsor packages: 3-col grid --- */
  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns:repeat(3"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  /* --- Partners grid: 4-col --- */
  [style*="grid-template-columns: repeat(4"],
  [style*="grid-template-columns:repeat(4"] {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
  }

  /* --- Contact cards row: 4-col --- */
  [style*="grid-template-columns: repeat(4, 1fr)"],
  [style*="grid-template-columns:repeat(4,1fr)"] {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
  }

  /* --- Donation impacts / settings grids --- */
  [style*="grid-template-columns: 1fr 1fr; gap"],
  [style*="grid-template-columns:1fr 1fr;gap"] {
    display: flex !important;
    flex-direction: column !important;
  }

  /* --- Form rows inside page templates --- */
  [style*="grid-template-columns: 1fr 1fr"]:has(input),
  [style*="grid-template-columns:1fr 1fr"]:has(input) {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  /* --- Ensure no horizontal overflow --- */
  .container { overflow-x: hidden; max-width: 100vw; }
  body { overflow-x: hidden; }

  /* --- Page section padding on mobile --- */
  .section { padding-block: 40px; }
  .section--sm { padding-block: 32px; }

  /* --- Hero mobile --- */
  .hero { min-height: auto; padding: calc(var(--header-height) + 40px) 0 48px; }
  .hero__title { font-size: clamp(1.875rem, 8vw, 2.5rem); }

  /* --- Get Involved page: form column fix --- */
  .hbb-vol-form-wrap { padding: 0 4px; }
  .hbb-type-toggle { flex-direction: column; }

  /* --- Sponsor cards: highlight card fix --- */
  [style*="grid-column:1/-1"],
  [style*="grid-column: 1 / -1"] {
    grid-column: auto !important;
  }

  /* --- Impact bar --- */
  .impact-bar__inner { flex-direction: column; gap: 0; }
  .impact-stat + .impact-stat { border-left: none; border-top: 1px solid rgba(10,37,64,.15); }
  .impact-stat { padding: 12px; width: 100%; text-align: center; }

  /* --- Footer bottom row --- */
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  /* --- Float button position fix --- */
  .donate-float { bottom: 16px; right: 16px; }
  .donate-float__btn { padding: 12px 18px; font-size: 0.875rem; }
}

@media (max-width: 480px) {
  /* --- Partners grid: full single column on very small screens --- */
  [style*="grid-template-columns: repeat(4"],
  [style*="grid-template-columns:repeat(4"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* --- Contact cards: also go single col on tiny screens --- */
  [style*="grid-template-columns: repeat(4, 1fr)"],
  [style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Team members grid */
  .grid-4 { grid-template-columns: 1fr 1fr !important; }

  /* Font size helpers */
  .hero__title { font-size: 1.875rem; }
  h1 { font-size: 1.625rem; }
  h2 { font-size: 1.375rem; }
}

/* ==========================================================================
   FLOATING DONATE BUTTON — ON/OFF CONTROL
   Controlled by body class set in footer.php from theme option
   ========================================================================== */

body.hide-donate-float .donate-float { display: none !important; }

/* Header CTA area */
.header-cta { display: flex; align-items: center; gap: var(--space-md); }


/* ==========================================================================
   1805 NGO DESIGN REFINEMENT — 1.4.0
   Calm typography, restrained palette, consistent surfaces and focus states.
   ========================================================================== */
:root {
  --hbb-gold: #D6A64F;
  --hbb-gold-light: #E8C77D;
  --hbb-gold-dark: #B8862D;
  --hbb-blue: #142B43;
  --hbb-blue-mid: #203E5B;
  --hbb-blue-light: #34536D;
  --font-display: "Georgia", "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 5px;
  --radius-md: 9px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, .12);
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1,h2,h3,h4,h5,h6 { text-wrap: balance; letter-spacing: -.025em; }
p, li { text-wrap: pretty; }
button, input, select, textarea { font: inherit; }
button, .button, .btn, a.button { transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease; }
:focus-visible { outline: 3px solid rgba(214,166,79,.65); outline-offset: 3px; }
.card, .program-card, .team-card, .testimonial-card, .event-card {
  box-shadow: var(--shadow-sm);
  border-color: #E5E9EF;
}
.card:hover, .program-card:hover, .team-card:hover, .event-card:hover {
  box-shadow: var(--shadow-md);
}
.hero__title { letter-spacing: -.04em; line-height: 1.06; }
.hero p { max-width: 62ch; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* 1805 NGO Theme 1.4.1 — restrained, accessible settings UI */
:root { --ngo-admin-ink:#182b3a; --ngo-admin-muted:#667482; --ngo-admin-border:#dce3e8; --ngo-admin-surface:#fff; }
.ngo-wrap { background:#f5f7f8!important; color:var(--ngo-admin-ink); padding:24px 28px 48px!important; }
.ngo-title { font-size:24px!important; line-height:1.25!important; font-weight:650!important; letter-spacing:-.025em; color:#182b3a!important; }
.ngo-subtitle { color:#667482!important; font-size:14px!important; line-height:1.5; }
.ngo-card { border:1px solid #dce3e8!important; border-radius:8px!important; box-shadow:0 1px 2px rgba(20,38,52,.035)!important; }
.ngo-card-head { background:#fff!important; padding:18px 22px!important; border-bottom:1px solid #e7ecef!important; }
.ngo-card-head h3 { font-size:15px!important; font-weight:650!important; color:#182b3a!important; }
.ngo-card-head span { color:#667482!important; font-size:12px!important; }
.ngo-card-body { padding:22px!important; }
.ngo-form-group label { color:#273b4a!important; font-size:13px!important; letter-spacing:0!important; }
.ngo-form-group input[type=text],.ngo-form-group input[type=email],.ngo-form-group input[type=url],.ngo-form-group input[type=tel],.ngo-form-group textarea,.ngo-form-group select { border:1px solid #cbd5dc!important; border-radius:5px!important; min-height:40px; font-size:14px!important; box-shadow:none; }
.ngo-form-group input:focus,.ngo-form-group textarea:focus,.ngo-form-group select:focus { border-color:#385a72!important; box-shadow:0 0 0 2px rgba(56,90,114,.14)!important; outline:0; }
.ngo-btn,.ngo-btn-primary,.ngo-btn-gold,.ngo-btn-ghost { border-radius:5px!important; transition:background-color .15s ease,border-color .15s ease!important; box-shadow:none!important; }
.ngo-btn-primary { background:#18384e!important; color:#fff!important; }
.ngo-btn-primary:hover { background:#254b64!important; color:#fff!important; }
.ngo-btn-gold { background:#e8b64d!important; color:#172c3a!important; }
.ngo-tab-nav { background:#edf1f3!important; border-radius:6px!important; padding:3px!important; }
.ngo-tab { border-radius:4px!important; }
.ngo-tab.active { background:#fff!important; color:#18384e!important; box-shadow:0 1px 2px rgba(20,38,52,.08)!important; }
.ngo-form-group input[type=range] { width:100%; accent-color:#385a72; }
.ngo-media-field { display:flex; gap:8px; align-items:stretch; }
.ngo-media-field input { flex:1; min-width:0; }
.ngo1805-choose-hero-image { border-radius:5px!important; min-height:40px!important; }
@media(max-width:782px){.ngo-wrap{padding:16px 12px 36px!important}.ngo-grid-2,.ngo-grid-3,.ngo-counter-setup{grid-template-columns:1fr!important}.ngo-media-field{flex-direction:column}.ngo-card-body{padding:16px!important}.ngo-header{align-items:flex-start!important}}
@media(prefers-reduced-motion:reduce){.ngo-wrap *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}


/* 1805 NGO Theme 1.4.2 — restrained visual system and responsive hero media */
:root { --hbb-ink:#172b3d; --hbb-muted:#5c6874; --hbb-line:#e1e6eb; --hbb-surface:#fff; }
body { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; text-rendering: optimizeLegibility; }
h1,h2,h3,h4,h5,h6 { text-wrap: balance; }
p { text-wrap: pretty; }
button, .button, .btn, a.button { box-shadow:none; }
.card, .program-card, .team-card, .testimonial-card, .event-card, .blog-card { border:1px solid var(--hbb-line); border-radius:10px; box-shadow:0 1px 3px rgba(23,43,61,.06); }
.card:hover, .program-card:hover, .team-card:hover, .event-card:hover, .blog-card:hover { transform:translateY(-2px); box-shadow:0 5px 16px rgba(23,43,61,.09); }
.ngo1805-hero__image, .ngo1805-hero__video { display:block; }
.ngo1805-hero__overlay { pointer-events:none; }
@media(max-width:767px) {
  .ngo1805-hero { padding-top:calc(var(--header-height,70px) + 30px)!important; padding-bottom:40px!important; }
  .ngo1805-hero h1 { font-size:clamp(30px,8.4vw,48px)!important; line-height:1.12!important; letter-spacing:-.025em!important; }
  .ngo1805-hero p { font-size:16px!important; line-height:1.65!important; }
  .ngo1805-hero .hero-inner-grid { grid-template-columns:minmax(0,1fr)!important; gap:28px!important; }
}
@media(prefers-reduced-motion:reduce) { .card:hover,.program-card:hover,.team-card:hover,.event-card:hover,.blog-card:hover { transform:none; } }


/* ==========================================================================
   1.4.4 PROFESSIONAL UI REFINEMENT
   Restrained surfaces, consistent typography and accessible interaction states.
   ========================================================================== */
:root {
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md: 0 3px 10px rgba(15, 23, 42, .08);
  --shadow-lg: 0 8px 24px rgba(15, 23, 42, .10);
  --shadow-xl: 0 12px 32px rgba(15, 23, 42, .12);
  --shadow-gold: 0 2px 8px rgba(180, 120, 20, .14);
  --transition-fast: .15s ease;
  --transition-base: .18s ease;
  --transition-slow: .22s ease;
}
html { scroll-behavior: auto; }
body { font-family: var(--font-body); }
h1,h2,h3,h4,h5,h6 { letter-spacing: -.015em; }
.btn { border-radius: 6px; box-shadow: none; overflow: visible; }
.btn::before { display: none; }
.btn-primary:hover,.btn-secondary:hover { transform: none; box-shadow: var(--shadow-md); }
.btn-primary { box-shadow: none; }
.btn-secondary { box-shadow: none; }
.card,.program-card,.team-card,.event-card,.blog-card,.testimonial-card,
.donation-card,.stat-card,.feature-card { box-shadow: var(--shadow-sm); border-radius: 10px; }
.card:hover,.program-card:hover,.team-card:hover,.event-card:hover,.blog-card:hover,
.testimonial-card:hover,.donation-card:hover,.feature-card:hover { transform: none; box-shadow: var(--shadow-md); }
input,textarea,select,button { font: inherit; }
:focus-visible { outline: 3px solid #B7791F; outline-offset: 2px; }
.ngo1805-hero .hero-widget-col > div { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: 0 8px 24px rgba(0,0,0,.16) !important; border-radius: 12px !important; }
.ngo1805-hero [style*="animation:pulse-dot"] { animation: none !important; }
.ngo1805-hero .hero-raised-bar { background: #D9A441 !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (max-width: 600px) {
  .container { padding-inline: 18px; }
  .section { padding-block: 48px; }
  .btn { white-space: normal; }
}


/* 1.4.4 — public-page consistency and responsive polish */
:root { --hbb-content-width: 1200px; --hbb-focus: #8a5a12; }
body { color: #263442; line-height: 1.68; }
main { min-width: 0; }
main > section, .site-main > section { scroll-margin-top: 88px; }
.container, .hero-container, .section-container { width: min(calc(100% - 40px), var(--hbb-content-width)); margin-inline: auto; }
.site-header, header.site-header { box-shadow: 0 1px 0 rgba(22,38,52,.08); }
.site-header a, .main-navigation a, nav a { text-underline-offset: 4px; }
.main-navigation a:focus-visible, nav a:focus-visible { border-radius: 3px; }
section:not(.ngo1805-hero) h2 { line-height: 1.18; }
section:not(.ngo1805-hero) p { max-width: 72ch; }
.program-card, .team-card, .event-card, .blog-card, .testimonial-card, .donation-card, .feature-card { overflow-wrap: anywhere; }
input, select, textarea { max-width: 100%; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="search"], select, textarea { min-height: 42px; border: 1px solid #cbd5df; border-radius: 5px; padding: 10px 12px; color: #263442; background: #fff; }
textarea { min-height: 120px; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid rgba(138,90,18,.72); outline-offset: 2px; }
button, .button, .btn, a.button { min-height: 40px; }
button:hover, .button:hover, .btn:hover, a.button:hover { filter: brightness(.97); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 14px; border-bottom: 1px solid #e5e9ee; text-align: left; }
th { color: #263b4d; background: #f6f8fa; font-size: .82rem; font-weight: 700; }
img, video, iframe { max-width: 100%; }
.ngo1805-hero { isolation: isolate; overflow: hidden; }
.ngo1805-hero__image, .ngo1805-hero__video { pointer-events: none; }
.ngo1805-hero__video { object-fit: cover; }
.ngo1805-hero h1 { max-width: 15ch; text-wrap: balance; }
.ngo1805-hero p { text-wrap: pretty; }
@media (max-width: 782px) {
  .container, .hero-container, .section-container { width: min(calc(100% - 32px), var(--hbb-content-width)); }
  section { padding-inline: 0; }
  .site-header .container, header.site-header .container { width: calc(100% - 28px); }
  table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  .ngo1805-hero .hero-inner-grid { grid-template-columns: minmax(0,1fr) !important; }
  .ngo1805-hero .hero-widget-col { width: 100%; max-width: 100%; }
  .ngo1805-hero .hero-widget-col > div { width: 100%; max-width: 100%; }
}
@media (max-width: 480px) {
  .container, .hero-container, .section-container { width: calc(100% - 28px); }
  .btn, .button, a.button { min-height: 42px; }
  .ngo1805-hero h1 { font-size: clamp(29px, 9vw, 42px) !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* 1805 NGO PRO 1.4.5 — editorial polish and visual consistency */
:root{--hbb-ink:#142b43;--hbb-muted:#667487;--hbb-line:#e3e8ee;--hbb-surface:#fff;--hbb-pattern:rgba(255,255,255,.065)}
html{scroll-behavior:smooth}body{font-kerning:normal;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
/* Transparent header over the homepage hero; solid surface after the hero scrolls away. */
.hbb-front-page .site-header{position:absolute;inset:0 0 auto;z-index:1000;background:rgba(10,37,64,.18);border-bottom:1px solid rgba(255,255,255,.14);box-shadow:none;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);transition:background .22s ease,border-color .22s ease,box-shadow .22s ease}
.hbb-front-page .site-header .site-logo a,.hbb-front-page .site-header .main-nav a{color:#fff}
.hbb-front-page .site-header .main-nav a:hover,.hbb-front-page .site-header .main-nav a:focus-visible{color:var(--hbb-gold-light)}
.hbb-front-page .site-header.is-scrolled{position:fixed;background:rgba(10,37,64,.97);border-bottom-color:rgba(255,255,255,.08);box-shadow:0 8px 28px rgba(8,25,43,.16)}
.hbb-front-page .ngo1805-hero{padding-top:calc(var(--header-height,70px) + 64px)!important}
/* Delicate, non-repeating brand pattern: no emoji or stock icon decoration. */
.ngo1805-hero:after,.hbb-front-page .site-footer:before,
.page-template-page-about .section:first-of-type:before,
.page-template-page-contact .section:first-of-type:before,
.page-template-page-get-involved .section:first-of-type:before,
.page-template-page-donate .section:first-of-type:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.65;background-image:radial-gradient(circle at 1px 1px,rgba(255,255,255,.13) 1px,transparent 1.7px);background-size:24px 24px;mask-image:linear-gradient(115deg,#000,transparent 72%)}
.ngo1805-hero:after{z-index:-1;opacity:.35}
/* Improve image placeholders and cards: keep colour purposeful and consistent. */
.program-card,.team-card,.post-card,.involved-card,.programs-grid>article{border:1px solid var(--hbb-line);box-shadow:0 2px 8px rgba(16,35,55,.045);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.program-card:hover,.team-card:hover,.post-card:hover,.involved-card:hover,.programs-grid>article:hover{transform:translateY(-3px);border-color:#c9d4df;box-shadow:0 12px 28px rgba(16,35,55,.09)}
button,.btn,a.btn{transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease}
:where(button,a,input,select,textarea):focus-visible{outline:3px solid rgba(245,158,11,.65);outline-offset:3px}
/* Section headers use the same editorial hierarchy across templates. */
.section-header h2,.section-heading h2{letter-spacing:-.025em;text-wrap:balance}
.section-header p,.section-heading p{max-width:68ch;margin-inline:auto;line-height:1.75}
.site-footer{position:relative;isolation:isolate;overflow:hidden}.site-footer:before{z-index:-1;opacity:.25}
@media(max-width:767px){.hbb-front-page .site-header{background:rgba(10,37,64,.94);backdrop-filter:blur(10px)}.hbb-front-page .ngo1805-hero{padding-top:calc(var(--header-height,64px) + 34px)!important}.ngo1805-hero:after{background-size:19px 19px}.section{padding-block:clamp(42px,9vw,68px)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}


/* 1.4.6 — cohesive section patterns, transparent hero header, restrained UI */
:root{--ngo-ink:#102a43;--ngo-navy:#102a43;--ngo-gold:#d8aa4e;--ngo-paper:#f7f8fa;--ngo-line:#dce3e9;--ngo-muted:#667788}
/* Header overlays the home hero; JS adds .is-scrolled once the page moves. */
.home .site-header{position:absolute;inset:0 0 auto;z-index:100;background:transparent!important;border-bottom:1px solid rgba(255,255,255,.14);box-shadow:none!important;transition:background-color .22s ease,box-shadow .22s ease,backdrop-filter .22s ease}
.home .site-header .site-logo a,.home .site-header .main-nav a{color:#fff}
.home .site-header .hamburger span{background:#fff}
.home .site-header.is-scrolled{position:fixed;background:rgba(16,42,67,.97)!important;box-shadow:0 8px 24px rgba(8,25,42,.14)!important;backdrop-filter:blur(12px)}
.home .hero{padding-top:calc(var(--header-height,78px) + 42px)}
/* Quiet, reusable brand texture for hero and page mastheads. */
.hero,.about-hero,.page-template-page-contact .section:first-of-type,.page-template-page-get-involved .section:first-of-type,.page-template-page-donate .section:first-of-type,.site-footer,.donation-counter{position:relative;isolation:isolate}
.hero:before,.about-hero:before,.page-template-page-contact .section:first-of-type:before,.page-template-page-get-involved .section:first-of-type:before,.page-template-page-donate .section:first-of-type:before,.site-footer:before,.donation-counter:before{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;opacity:.22;background-image:radial-gradient(circle,rgba(216,170,78,.52) 1px,transparent 1.4px);background-size:22px 22px;mask-image:linear-gradient(125deg,#000,transparent 72%)}
/* Keep programme cards within the brand palette; no candy-coloured panels. */
.program-card__image,.program-card__visual,.program-card .card-image{background:linear-gradient(135deg,#102a43,#244c6b)!important}
.program-card,.team-card,.event-card,.blog-card,.testimonial-card,.donation-card,.feature-card{border:1px solid var(--ngo-line);box-shadow:0 2px 8px rgba(16,42,67,.045);border-radius:12px}
.program-card:hover,.team-card:hover,.event-card:hover,.blog-card:hover,.testimonial-card:hover,.donation-card:hover,.feature-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(16,42,67,.09)}
/* Popup: compact, legible, responsive and consistent with the brand. */
.hbb-donation-modal,.donation-modal,.hbb-modal,.donation-popup{box-sizing:border-box}
.hbb-donation-modal .modal-content,.donation-modal .modal-content,.hbb-modal__content,.donation-popup__content{width:min(92vw,520px);max-height:min(88dvh,760px);overflow:auto;padding:clamp(20px,4vw,32px);border:1px solid rgba(16,42,67,.1);border-radius:18px;background:#fff;box-shadow:0 24px 80px rgba(6,23,40,.24)}
.hbb-donation-modal input,.donation-modal input,.hbb-modal input,.donation-popup input,.hbb-donation-modal select,.donation-modal select{width:100%;min-height:46px;border:1px solid #d5dee6;border-radius:8px;padding:11px 13px;font:inherit;color:#102a43;background:#fff}
.hbb-donation-modal button,.donation-modal button,.hbb-modal button,.donation-popup button{min-height:44px;border-radius:8px;font-weight:600}
.hbb-donation-modal .amount-options,.donation-modal .amount-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
@media(max-width:600px){.home .hero{padding-top:calc(var(--header-height,70px) + 30px)}.hbb-donation-modal .modal-content,.donation-modal .modal-content,.hbb-modal__content,.donation-popup__content{width:calc(100vw - 24px);max-height:84dvh;padding:20px;border-radius:14px}.hbb-donation-modal .amount-options,.donation-modal .amount-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.home .site-header{transition:none}.program-card:hover,.team-card:hover,.event-card:hover,.blog-card:hover,.testimonial-card:hover,.donation-card:hover,.feature-card:hover{transform:none}}


/* 1.4.7 — refined visual rhythm, patterns, popup form and mobile navigation */
:root{--ngo-radius-sm:8px;--ngo-radius-md:12px;--ngo-radius-lg:18px;--ngo-shadow-card:0 3px 14px rgba(16,42,67,.055)}
/* One restrained visual language for all section mastheads. */
.hero:before,.about-hero:before,.page-template-page-about .page-hero:before,.page-template-page-contact .page-hero:before,.page-template-page-get-involved .page-hero:before,.page-template-page-donate .page-hero:before,.site-footer:before,.donation-counter:before{background-image:radial-gradient(circle,rgba(216,170,78,.34) .8px,transparent 1.25px);background-size:24px 24px;opacity:.2;mask-image:linear-gradient(135deg,#000 0%,transparent 76%)}
/* Keep section heading hierarchy predictable on narrow screens. */
.section-header,.section-heading{text-align:center}
.section-header h2,.section-heading h2{font-size:clamp(1.65rem,3vw,2.45rem);line-height:1.18;margin-block:.35em .55em}
.section-header p,.section-heading p{font-size:clamp(.94rem,1.5vw,1.05rem);color:#667788}
/* Consistent neutral cards; imagery remains visible without candy-coloured placeholder panels. */
.program-card,.team-card,.event-card,.blog-card,.testimonial-card,.donation-card,.feature-card{overflow:hidden;border-color:#e0e6eb;border-radius:12px;box-shadow:var(--ngo-shadow-card)}
.program-card__image,.program-card__visual,.program-card .card-image{background-color:#173b5b!important}
/* Donation modal: prevent overflow and give form controls a reliable grid. */
.hbb-donation-modal .modal-content,.donation-modal .modal-content,.hbb-modal__content,.donation-popup__content{box-sizing:border-box}
.hbb-donation-modal form,.donation-modal form,.hbb-modal form,.donation-popup form{display:grid;gap:12px}
.hbb-donation-modal input,.donation-modal input,.hbb-modal input,.donation-popup input,.hbb-donation-modal select,.donation-modal select{box-sizing:border-box;max-width:100%;font-size:16px}
.hbb-donation-modal .amount-options button,.donation-modal .amount-options button{width:100%;min-width:0}
.hbb-donation-modal button:focus-visible,.donation-modal button:focus-visible,.hbb-modal button:focus-visible,.donation-popup button:focus-visible{outline:3px solid rgba(216,170,78,.65);outline-offset:2px}
/* Use simple, legible payment gateway labels; avoid decorative emoji embellishments. */
.hbb-donation-modal .payment-method,.donation-modal .payment-method,.hbb-modal .payment-method{letter-spacing:0;font-weight:600}
@media(max-width:767px){.site-header .container{padding-inline:16px}.header-inner{gap:12px}.site-logo{font-size:1.15rem}.section{padding-block:clamp(40px,8vw,60px)}.program-card,.team-card,.event-card,.blog-card{min-width:0}.hbb-donation-modal .modal-content,.donation-modal .modal-content,.hbb-modal__content,.donation-popup__content{width:calc(100vw - 28px);max-height:calc(100dvh - 36px);padding:18px}.hbb-donation-modal form,.donation-modal form,.hbb-modal form,.donation-popup form{gap:10px}}
@media(prefers-reduced-motion:reduce){.site-header,.program-card,.team-card,.event-card,.blog-card{transition:none!important}}


/* 1.4.8 — explicit visual corrections requested from mobile screenshots */
/* The hero itself is the header backdrop: absolutely no glass, blur, tint or border. */
.home .site-header,.hbb-front-page .site-header{
  position:absolute!important;top:0;left:0;right:0;z-index:1000;
  background:transparent!important;border:0!important;box-shadow:none!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
.home .site-header.is-scrolled,.home .site-header.scrolled,
.hbb-front-page .site-header.is-scrolled,.hbb-front-page .site-header.scrolled{
  position:fixed!important;background:#102a43!important;border:0!important;
  box-shadow:0 3px 12px rgba(0,0,0,.12)!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
.home .site-header .site-logo a,.home .site-header .main-nav a,
.hbb-front-page .site-header .site-logo a,.hbb-front-page .site-header .main-nav a{color:#fff!important}
.home .hero,.hbb-front-page .ngo1805-hero{position:relative;isolation:isolate;overflow:hidden}
.home .hero:before,.hbb-front-page .ngo1805-hero:before{
 content:"";position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.32;
 background-image:radial-gradient(circle at 1px 1px,rgba(216,170,78,.42) 1px,transparent 1.6px),
   linear-gradient(135deg,transparent 0 47%,rgba(216,170,78,.08) 47.1% 47.3%,transparent 47.4% 100%);
 background-size:23px 23px,100% 100%;
 mask-image:linear-gradient(120deg,#000 0%,rgba(0,0,0,.7) 42%,transparent 82%);
}
.home .hero>* ,.hbb-front-page .ngo1805-hero>*{position:relative;z-index:1}
.hbb-trust-icon{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;flex:0 0 30px;color:#d8aa4e}
.hbb-trust-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
/* Charity-led section texture: restrained fine-line arcs and dotwork, not generic UI decoration. */
.site-footer,.donation-counter,.page-template-page-about .page-hero,
.page-template-page-contact .page-hero,.page-template-page-get-involved .page-hero,
.page-template-page-donate .page-hero{position:relative;isolation:isolate;overflow:hidden}
.site-footer:before,.donation-counter:before,.page-template-page-about .page-hero:before,
.page-template-page-contact .page-hero:before,.page-template-page-get-involved .page-hero:before,
.page-template-page-donate .page-hero:before{
 content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.22;
 background-image:radial-gradient(circle,rgba(216,170,78,.6) .8px,transparent 1.25px),
   radial-gradient(ellipse at 100% 0%,transparent 0 44%,rgba(216,170,78,.16) 44.2% 44.5%,transparent 44.7% 52%,rgba(216,170,78,.1) 52.2% 52.5%,transparent 52.7%);
 background-size:20px 20px,100% 100%;
}
/* Keep the home hero as the visual background; no glassmorphism on the header at any width. */
@media(max-width:767px){.home .site-header,.hbb-front-page .site-header{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.home .site-header.is-scrolled,.home .site-header.scrolled,.hbb-front-page .site-header.is-scrolled,.hbb-front-page .site-header.scrolled{background:#102a43!important}}

/* 1.4.9: meaningful humanitarian line-art motifs; intentionally not generic dot patterns. */
.hero:before,.about-hero:before,.page-template-page-about .page-hero:before,.page-template-page-contact .page-hero:before,.page-template-page-get-involved .page-hero:before,.page-template-page-donate .page-hero:before,.site-footer:before,.donation-counter:before{
  content:"";position:absolute;z-index:0;inset:0;pointer-events:none;opacity:.14;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 220' fill='none' stroke='%23D8AA4E' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M38 139c22-13 41-18 59-13l35 10c7 2 11 8 8 14-2 5-7 7-13 5l-24-6'/%3E%3Cpath d='M282 139c-22-13-41-18-59-13l-35 10c-7 2-11 8-8 14 2 5 7 7 13 5l24-6'/%3E%3Cpath d='M100 163c17 9 37 14 60 14s43-5 60-14'/%3E%3Cpath d='M160 91c-12-17-38-10-38 10 0 17 38 41 38 41s38-24 38-41c0-20-26-27-38-10Z'/%3E%3Cpath d='M70 66c20-17 43-25 68-27M250 66c-20-17-43-25-68-27' stroke-dasharray='3 7'/%3E%3C/svg%3E");
  background-size:320px 220px;background-repeat:repeat;mask-image:linear-gradient(125deg,#000 0%,transparent 82%);
}
.hbb-live-donation-section{isolation:isolate}
.hbb-live-donation-section>.container{z-index:2}
.hbb-live-donation-section .hbb-counter-charity-motif{position:absolute;inset:0;z-index:1;pointer-events:none;opacity:.15;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 200' fill='none' stroke='%23F4D18B' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M25 132c20-12 38-16 54-11l25 8c8 3 8 13-1 15l-21-4M215 132c-20-12-38-16-54-11l-25 8c-8 3-8 13 1 15l21-4'/%3E%3Cpath d='M120 67c-11-15-32-9-32 8 0 15 32 35 32 35s32-20 32-35c0-17-21-23-32-8Z'/%3E%3Cpath d='M69 158c17 9 34 13 51 13s34-4 51-13'/%3E%3C/svg%3E");background-size:240px 200px;background-repeat:repeat;mask-image:linear-gradient(120deg,#000,transparent 88%)}
.hbb-live-label{display:inline-block;font-size:.625rem;color:#FCD34D;font-weight:700;text-transform:uppercase;letter-spacing:.1em;line-height:1.4}
@media(prefers-reduced-motion:reduce){.hbb-live-donation-section *{animation:none!important;transition:none!important}}


/* 1.5.0 — replace generic decorative patterns with a restrained, meaningful charity illustration. */
.hero:before,.about-hero:before,.page-template-page-about .page-hero:before,.page-template-page-contact .page-hero:before,.page-template-page-get-involved .page-hero:before,.page-template-page-donate .page-hero:before,.site-footer:before,.donation-counter:before{
  content:"";position:absolute;inset:auto 3% 0 auto;width:min(42vw,420px);height:min(34vw,260px);z-index:0;pointer-events:none;opacity:.20;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 240' fill='none' stroke='%23D8AA4E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M46 176c28-22 55-30 83-23l35 10c12 4 14 17 3 23-5 3-12 3-19 1l-25-7'/%3E%3Cpath d='M314 176c-28-22-55-30-83-23l-35 10c-12 4-14 17-3 23 5 3 12 3 19 1l25-7'/%3E%3Cpath d='M104 199c22 12 48 18 76 18s54-6 76-18'/%3E%3Cpath d='M180 82c-16-22-49-13-49 13 0 22 49 53 49 53s49-31 49-53c0-26-33-35-49-13Z'/%3E%3Cpath d='M95 53c19-15 39-23 62-26M265 53c-19-15-39-23-62-26' stroke-dasharray='4 8'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right bottom;background-size:contain;mask-image:linear-gradient(135deg,transparent 0%,#000 55%);
}
/* Remove older repeated dot/geometry layers: the motif above is the sole decorative pattern. */
.hero:before,.about-hero:before,.page-template-page-about .page-hero:before,.page-template-page-contact .page-hero:before,.page-template-page-get-involved .page-hero:before,.page-template-page-donate .page-hero:before,.site-footer:before,.donation-counter:before{background-color:transparent}
.hbb-live-label:before,.hbb-live-label:after{content:none!important;display:none!important;animation:none!important}
/* The header overlays the hero directly: no blur, tint, border, or glass treatment. */
.home .site-header,.hbb-front-page .site-header{background:transparent!important;background-color:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;border-color:transparent!important}
.home .site-header.is-scrolled,.home .site-header.scrolled,.hbb-front-page .site-header.is-scrolled,.hbb-front-page .site-header.scrolled{background:#102a43!important;background-color:#102a43!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important}
.hbb-live-donation-section .hbb-counter-charity-motif{background-repeat:no-repeat!important;background-position:right bottom!important;background-size:min(34vw,320px) auto!important;opacity:.11!important}
@media(max-width:767px){.hero:before,.about-hero:before,.page-template-page-about .page-hero:before,.page-template-page-contact .page-hero:before,.page-template-page-get-involved .page-hero:before,.page-template-page-donate .page-hero:before,.site-footer:before,.donation-counter:before{width:72vw;height:52vw;opacity:.12}}

/* 1.5.1: plain-text Live Giving label; no badge, pseudo-icon, dot, or animation. */
.hbb-live-label{display:inline-block!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;color:#FCD34D!important;font-size:.68rem!important;font-weight:700!important;letter-spacing:.08em!important;text-transform:uppercase!important}
.hbb-live-label:before,.hbb-live-label:after{content:none!important;display:none!important;animation:none!important;background:none!important}


/* 1.5.5: understated fundraising heading; remove the artificial LIVE pill/dot. */
.hbb-live-counter__pulse, .hbb-live-counter__dot { display:none !important; animation:none !important; }
.hbb-live-counter__eyebrow { display:block; margin:0 0 18px; padding:0; background:none; border:0; border-radius:0; box-shadow:none; color:rgba(255,255,255,.72); font-size:.6875rem; font-weight:600; letter-spacing:.12em; line-height:1.5; text-transform:uppercase; }


/* 1.5.6 — polished footer layout and readable responsive hierarchy */
.site-footer{position:relative;isolation:isolate;background:var(--hbb-blue);color:rgba(255,255,255,.88);overflow:hidden}
.site-footer:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 12% 0%,rgba(245,158,11,.09),transparent 42%),linear-gradient(135deg,rgba(255,255,255,.025),transparent 55%)}
.site-footer .footer-main{padding:clamp(44px,6vw,76px) 0 34px}
.site-footer .footer-grid{gap:clamp(28px,4vw,56px);align-items:start}
.site-footer .footer-brand__logo{margin-bottom:18px}
.site-footer .footer-brand__logo img{display:block;width:auto;max-width:min(100%,240px);height:auto;max-height:76px;object-fit:contain;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important}
.site-footer .footer-brand__tagline{color:#fff;font-weight:600;letter-spacing:.01em}
.site-footer .footer-grid h3,.site-footer .footer-grid h4{color:#fff;letter-spacing:.04em;text-transform:uppercase;font-size:.8rem;margin-bottom:18px}
.site-footer .footer-grid a:not(.custom-logo-link){color:rgba(255,255,255,.72);text-decoration:none;transition:color .18s ease}
.site-footer .footer-grid a:not(.custom-logo-link):hover{color:var(--hbb-gold-light)}
.site-footer .footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.12);padding:20px 0}
.site-footer .footer-bottom img,.site-footer .footer-credit img,.site-footer .ngo-footer-credit img{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;max-width:180px;height:auto;object-fit:contain}
.site-footer .footer-bottom a,.site-footer .footer-credit a{display:inline-flex;align-items:center;max-width:100%;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
@media(max-width:700px){.site-footer .footer-main{padding:42px 0 24px}.site-footer .footer-grid{grid-template-columns:1fr!important;gap:26px}.site-footer .footer-bottom{align-items:flex-start;flex-direction:column}.site-footer .footer-brand__logo img{max-width:200px;max-height:64px}}


/* 1.5.7 — complete homepage section workflow and footer refinement */
.ngo-home-about,.ngo-home-contact,.ngo-home-partners{scroll-margin-top:88px}
.ngo-home-about h2,.ngo-home-contact h2,.ngo-home-partners h2{max-width:18ch;line-height:1.14;letter-spacing:-.025em}
.ngo-home-contact__cards .ngo-contact-card{box-shadow:0 4px 18px rgba(16,42,67,.045);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.ngo-home-contact__cards .ngo-contact-card:hover{transform:translateY(-2px);border-color:var(--hbb-gold);box-shadow:0 10px 26px rgba(16,42,67,.09)}
.ngo-home-partners .partner-grid,.ngo-home-partners .partners-grid{align-items:center}
.site-footer .footer-main{position:relative}
.site-footer .footer-grid{display:grid;grid-template-columns:minmax(220px,1.35fr) repeat(3,minmax(140px,1fr));}
.site-footer .footer-links{display:flex;flex-direction:column;gap:11px}
.site-footer .footer-links a,.site-footer .footer-links span{line-height:1.55;overflow-wrap:anywhere}
.site-footer .footer-divider{border:0;border-top:1px solid rgba(255,255,255,.13);margin:0}
.site-footer .footer-bottom__copy{font-size:.78rem;line-height:1.7;margin:0;color:rgba(255,255,255,.66)}
.site-footer .footer-bottom__copy a{text-decoration:none}
.site-footer .footer-bottom__copy a:hover{color:var(--hbb-gold-light)!important}
.site-footer .footer-bottom .footer-credit,.site-footer .footer-bottom .footer-credits{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;max-width:100%}
.site-footer .footer-bottom .footer-credit img,.site-footer .footer-bottom .footer-credits img{width:auto;max-width:180px;max-height:38px;object-fit:contain;display:block}
.site-footer .footer-bottom .footer-credit a,.site-footer .footer-bottom .footer-credits a{background:transparent!important;padding:0!important;border:0!important;box-shadow:none!important}
@media(max-width:900px){.site-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-footer .footer-brand{grid-column:1/-1}}
@media(max-width:600px){.site-footer .footer-grid{grid-template-columns:minmax(0,1fr)}.site-footer .footer-brand{grid-column:auto}.site-footer .footer-bottom .footer-credit,.site-footer .footer-bottom .footer-credits{margin-left:0;justify-content:flex-start}.ngo-home-about,.ngo-home-contact,.ngo-home-partners{padding-top:48px!important;padding-bottom:48px!important}}
@media(prefers-reduced-motion:reduce){.ngo-home-contact__cards .ngo-contact-card{transition:none}}

/* 1805 NGO 1.5.8 — restrained editorial polish */
:root{--hbb-gold:#D7AD59;--hbb-gold-light:#E8CB8A;--hbb-gold-dark:#B78B36;--radius-sm:5px;--radius-md:9px;--radius-lg:14px;--radius-xl:18px;--shadow-gold:0 3px 12px rgba(215,173,89,.16)}
body{letter-spacing:0;line-height:1.68}
h1,h2,h3,h4{letter-spacing:-.025em}
.btn,.button,button,input[type=submit]{transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}
.btn:hover,.button:hover,button:hover,input[type=submit]:hover{transform:translateY(-1px)}
/* Avoid decorative, artificial-looking live-status pills and glowing treatments. */
.hbb-live-counter__eyebrow{display:block;font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--hbb-gold-light);margin:0 0 .65rem}
.hbb-live-counter .live-badge,.hbb-live-counter .live-indicator,.hbb-live-counter [class*="live-dot"]{display:none!important}
/* Hero: subtle, purposeful linework rather than random blobs or emoji decoration. */
.hero{isolation:isolate;position:relative;overflow:hidden}
.hero:after{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;opacity:.13;background-image:linear-gradient(135deg,transparent 0 48%,rgba(255,255,255,.22) 48.15%,transparent 48.4%),linear-gradient(45deg,transparent 0 72%,rgba(215,173,89,.22) 72.15%,transparent 72.4%);background-size:74px 74px,110px 110px;mask-image:linear-gradient(90deg,transparent,black 65%)}
/* Footer author credit: show the original transparent logo without a black badge/container. */
.footer-credit,.ngo-footer-credit,.site-footer .designed-by,.site-footer .footer-author-credit{background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;padding:0!important}
.footer-credit img,.ngo-footer-credit img,.site-footer .designed-by img,.site-footer .footer-author-credit img{display:inline-block;max-width:min(190px,42vw);height:auto;object-fit:contain;background:transparent!important;mix-blend-mode:normal}
/* Consistent calm surfaces and accessible controls across pages. */
.program-card,.team-card,.blog-card,.involved-card,.testimonial-card{box-shadow:0 1px 3px rgba(16,24,40,.06);border-color:#E4E7EC}
input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible,button:focus-visible{outline:3px solid rgba(215,173,89,.55);outline-offset:2px}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}


/* 1805 NGO 1.5.9 — palette-aware About, Contact and Partners homepage sections.
   Uses the active theme palette variables instead of fixed white/off-white panels. */
.ngo-palette-section{position:relative;isolation:isolate;overflow:hidden;background:#fff;background:color-mix(in srgb,var(--hbb-blue) 5%,#fff);border-block:1px solid color-mix(in srgb,var(--hbb-blue) 12%,#fff)}
.ngo-palette-section:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.52;background-image:linear-gradient(135deg,transparent 0 49.5%,color-mix(in srgb,var(--hbb-blue) 10%,transparent) 49.7% 50.1%,transparent 50.3%),linear-gradient(45deg,transparent 0 74%,color-mix(in srgb,var(--hbb-gold) 14%,transparent) 74.2% 74.6%,transparent 74.8%);background-size:76px 76px,118px 118px;mask-image:linear-gradient(90deg,transparent,#000 18%,#000 82%,transparent)}
.ngo-home-about .container,.ngo-home-contact .container,.ngo-home-partners .container{position:relative;z-index:1}
.ngo-home-about .overline,.ngo-home-contact .overline,.ngo-home-partners .overline{display:inline-flex;align-items:center;gap:10px;color:var(--hbb-gold-dark);font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;margin-bottom:12px}
.ngo-home-about .overline:before,.ngo-home-contact .overline:before,.ngo-home-partners .overline:before{content:"";display:inline-block;width:28px;height:2px;background:var(--hbb-gold);border-radius:2px}
.ngo-home-about h2,.ngo-home-contact h2,.ngo-home-partners h2{color:var(--hbb-blue);font-size:clamp(1.9rem,3.2vw,2.8rem);margin:0 0 16px;line-height:1.12;letter-spacing:-.035em}
.ngo-home-about__grid>div:first-child{padding:clamp(24px,4vw,46px);background:color-mix(in srgb,var(--hbb-blue) 4%,#fff);border:1px solid color-mix(in srgb,var(--hbb-blue) 13%,#fff);border-left:4px solid var(--hbb-gold);border-radius:var(--radius-lg,14px);box-shadow:0 12px 34px rgba(16,42,67,.055)}
.ngo-home-about__grid>div img{box-shadow:0 18px 42px rgba(16,42,67,.14);border:1px solid color-mix(in srgb,var(--hbb-blue) 16%,#fff)}
.ngo-home-about__grid p,.ngo-home-contact p,.ngo-home-partners p{max-width:68ch}
.ngo-home-about .btn{margin-top:8px}
.ngo-home-contact{background:#fff;background:color-mix(in srgb,var(--hbb-gold) 9%,#fff);border-block-color:color-mix(in srgb,var(--hbb-gold) 24%,#fff)}
.ngo-home-contact:before{opacity:.35;background-size:88px 88px,136px 136px}
.ngo-home-contact__cards{max-width:1000px!important;gap:18px!important}
.ngo-home-contact__cards .ngo-contact-card{min-height:132px;justify-content:center;padding:24px;background:rgba(255,255,255,.92);border:1px solid color-mix(in srgb,var(--hbb-blue) 14%,#fff);border-radius:var(--radius-lg,14px);box-shadow:0 8px 22px rgba(16,42,67,.055);position:relative}
.ngo-home-contact__cards .ngo-contact-card:before{content:"";display:block;width:34px;height:3px;background:var(--hbb-gold);border-radius:3px;margin-bottom:5px}
.ngo-home-contact__cards .ngo-contact-card strong{font-size:1rem;color:var(--hbb-blue);font-weight:800}
.ngo-home-contact__cards .ngo-contact-card span{font-size:.9rem}
.ngo-home-contact__cards .ngo-contact-card:hover{transform:translateY(-3px);border-color:var(--hbb-gold);box-shadow:0 14px 30px rgba(16,42,67,.1)}
.ngo-home-partners{background:#fff;background:color-mix(in srgb,var(--hbb-blue) 3%,#fff);border-top:1px solid color-mix(in srgb,var(--hbb-blue) 14%,#fff);border-bottom:0}
.ngo-home-partners:before{opacity:.28;background-size:92px 92px,148px 148px}
.ngo-home-partners .ngo-partners-grid{grid-template-columns:repeat(auto-fit,minmax(155px,1fr))!important;gap:18px!important}
.ngo-home-partners .ngo-partners-grid>div{min-height:116px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:22px!important;background:rgba(255,255,255,.94);border:1px solid color-mix(in srgb,var(--hbb-blue) 13%,#fff)!important;border-radius:var(--radius-lg,14px)!important;box-shadow:0 5px 18px rgba(16,42,67,.045);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.ngo-home-partners .ngo-partners-grid>div:hover{transform:translateY(-3px);border-color:var(--hbb-gold)!important;box-shadow:0 12px 25px rgba(16,42,67,.08)}
.ngo-home-partners .ngo-partners-grid img{max-width:100%;max-height:64px;filter:none}
.ngo-home-partners .ngo-partners-grid strong{color:var(--hbb-blue);font-size:.95rem;line-height:1.45}
.ngo-home-partners .ngo-partners-grid+.ngo-partners-empty,.ngo-home-partners .ngo-partners-empty{background:rgba(255,255,255,.8);border:1px dashed color-mix(in srgb,var(--hbb-blue) 24%,#fff);border-radius:var(--radius-lg,14px);padding:24px;color:var(--hbb-muted)}
@media(max-width:700px){.ngo-home-about__grid>div:first-child{padding:24px}.ngo-home-contact__cards .ngo-contact-card{min-height:110px;padding:19px}.ngo-home-partners .ngo-partners-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ngo-home-about h2,.ngo-home-contact h2,.ngo-home-partners h2{font-size:clamp(1.65rem,7vw,2.2rem)}}
@media(prefers-reduced-motion:reduce){.ngo-home-contact__cards .ngo-contact-card,.ngo-home-partners .ngo-partners-grid>div{transition:none}}
