@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&family=Poppins:wght@300;400;500;600;700&display=swap");

/* ===================== CSS VARIABLES ===================== */
:root {
  /* Brand Colors */
  --navy: #0b2341;
  --navy-800: #0f2d52;
  --navy-700: #123465;
  --navy-light: #1a4080;
  --gold: #d4af37;
  --gold-light: #e8c84a;
  --gold-dark: #b89428;
  --gold-pale: #f5e9a5;

  /* Accent Palette (from logo tree — used sparingly) */
  --tree-green: #4caf50;
  --tree-teal: #26c6da;
  --tree-amber: #ff9800;
  --tree-red: #ef5350;
  --tree-purple: #7e57c2;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #fafaf8;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Typography */
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", -apple-system, sans-serif;

  /* Spacing */
  --section-py: 120px;
  --section-py-sm: 70px;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs:
    0 1px 3px rgba(11, 35, 65, 0.06), 0 1px 2px rgba(11, 35, 65, 0.04);
  --shadow-sm: 0 4px 12px rgba(11, 35, 65, 0.08);
  --shadow-md: 0 8px 30px rgba(11, 35, 65, 0.12);
  --shadow-lg: 0 20px 60px rgba(11, 35, 65, 0.15);
  --shadow-xl: 0 40px 100px rgba(11, 35, 65, 0.2);
  --shadow-gold: 0 10px 40px rgba(212, 175, 55, 0.3);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --t-fast: 0.2s var(--ease);
  --t-base: 0.35s var(--ease);
  --t-slow: 0.6s var(--ease-out);

  /* Gradients */
  --grad-navy: linear-gradient(135deg, #0b2341 0%, #1a4080 100%);
  --grad-gold: linear-gradient(135deg, #d4af37 0%, #e8c84a 100%);
  --grad-hero: linear-gradient(
    160deg,
    rgba(11, 35, 65, 0.95) 0%,
    rgba(18, 52, 101, 0.9) 50%,
    rgba(11, 35, 65, 0.85) 100%
  );
}

/* ===================== UID ONE LINE UTILITY ===================== */
.uid-single-line,
.uid-one-line,
.uid-text {
  white-space: nowrap !important;
  display: inline-block;
  max-width: 100%;
}

/* ===================== PROMINENT SUBMIT BUTTON BOX ===================== */
.btn-submit-prominent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0b2341 0%, #123465 100%) !important;
  color: #ffffff !important;
  border: 2px solid #d4af37 !important;
  border-radius: var(--radius-md, 12px) !important;
  padding: 16px 36px !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  letter-spacing: 0.03em !important;
  box-shadow:
    0 8px 24px rgba(11, 35, 65, 0.25),
    0 0 0 1px rgba(212, 175, 55, 0.3) !important;
  transition: all 0.3s ease !important;
  cursor: pointer;
  width: 100%;
}

.btn-submit-prominent:hover,
.btn-submit-prominent:focus {
  background: linear-gradient(135deg, #d4af37 0%, #e8c84a 100%) !important;
  color: #0b2341 !important;
  border-color: #0b2341 !important;
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4) !important;
  transform: translateY(-2px);
}

/* Form field visual enhancement */
.form-control:focus,
.form-select:focus {
  border-color: var(--navy) !important;
  box-shadow: 0 0 0 0.25rem rgba(11, 35, 65, 0.15) !important;
}

input[type="file"].form-control {
  padding: 10px 14px;
  background-color: var(--off-white);
  border: 2px dashed var(--gray-400);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
input[type="file"].form-control:hover {
  border-color: var(--gold);
}

/* ===================== RESET & BASE ===================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  font-family: var(--font-body);
  color: var(--gray-600);
  background-color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--gray-900);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover {
  color: var(--gold);
}

img {
  max-width: 100%;
  display: block;
}

/* Selection */
::selection {
  background: var(--gold);
  color: var(--navy);
}

/* ===================== PRELOADER ===================== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  pointer-events: auto;
  transition:
    opacity 0.3s ease,
    visibility 0.3s;
}
#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
}

.preloader-inner {
  text-align: center;
}
.preloader-logo-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.4);
  background: rgba(255, 255, 255, 0.06);
  padding: 6px;
  margin: 0 auto 20px;
  display: block;
  box-sizing: border-box;
  animation: preloaderPulse 1.5s ease-in-out infinite;
}
@keyframes preloaderPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.85;
  }
}
.preloader-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 12px;
  font-family: var(--font-body);
}
.preloader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto;
}
.preloader-bar-fill {
  height: 100%;
  background: var(--grad-gold);
  border-radius: var(--radius-full);
  animation: preload 1.5s var(--ease-out) forwards;
}
@keyframes preload {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* ===================== SCROLL PROGRESS ===================== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--grad-gold);
  z-index: 9999;
  width: 0%;
  transition: width 0.05s linear;
}

/* ===================== NAVBAR ===================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  transition: all 0.4s ease;
}

.site-navbar {
  padding: 12px 0;
  background: rgba(11, 35, 65, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  box-shadow: 0 4px 25px rgba(11, 35, 65, 0.25);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled .site-navbar,
.site-navbar.scrolled {
  padding: 8px 0;
  background: rgba(11, 35, 65, 0.98);
  border-bottom-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

/* Brand Logo & Title */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  padding: 4px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
  flex-shrink: 0;
  box-sizing: border-box;
}

.nav-brand:hover .nav-logo-img {
  transform: scale(1.05);
  border-color: var(--gold);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-brand-main {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav-brand-main em {
  color: white;
  font-style: normal;
}

.nav-brand-sub {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-body);
  font-weight: 500;
}

/* Desktop Links */
.nav-desktop-menu {
  display: flex;
  align-items: center;
}

.nav-links-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links-list .nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 8px 14px !important;
  position: relative;
  transition: color 0.25s ease;
  border-radius: var(--radius-sm);
}

.nav-links-list .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
  transition:
    width 0.3s ease,
    left 0.3s ease;
}

.nav-links-list .nav-link:hover,
.nav-links-list .nav-link.active {
  color: var(--white) !important;
}

.nav-links-list .nav-link:hover::after,
.nav-links-list .nav-link.active::after {
  width: 60%;
  left: 20%;
}

/* Desktop CTAs */
.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 20px;
}

.nav-join-btn {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
  text-decoration: none;
}

.nav-join-btn i {
  color: var(--gold);
  font-size: 12px;
}

.nav-join-btn:hover {
  color: var(--white);
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.18);
  transform: translateY(-1px);
}

.btn-donate-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--grad-gold);
  color: var(--navy) !important;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
  white-space: nowrap;
  text-decoration: none;
}

.btn-donate-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
  color: var(--navy) !important;
}

/* Mobile Toggler Button */
.nav-toggler {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1045;
}

.nav-toggler:hover,
.nav-toggler:focus {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.15);
  outline: none;
}

.nav-toggler .toggler-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--gold);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    background-color 0.3s ease;
  transform-origin: center;
}

/* Morph 3 lines to X icon when drawer is open */
.nav-toggler.is-active .toggler-bar.bar-1 {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggler.is-active .toggler-bar.bar-2 {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggler.is-active .toggler-bar.bar-3 {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hide Mobile Navigation & Backdrop Overlay on Desktop Screens (>= 992px) */
.mobile-nav-drawer,
.mobile-nav-overlay,
.mobile-nav {
  display: none !important;
}

/* ===================== BUTTONS ===================== */
.btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 16px 40px;
  border-radius: var(--radius-full);
  border: 2px solid var(--navy);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
}
.btn-navy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-gold);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease);
}
.btn-navy:hover {
  color: var(--navy);
  border-color: var(--gold);
}
.btn-navy:hover::before {
  transform: translateX(0);
}
.btn-navy span,
.btn-navy i {
  position: relative;
  z-index: 1;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--grad-gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 16px 40px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: all var(--t-base);
  box-shadow: var(--shadow-gold);
  cursor: pointer;
  white-space: nowrap;
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(212, 175, 55, 0.45);
  color: var(--navy);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 38px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: all var(--t-base);
  cursor: pointer;
  white-space: nowrap;
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 38px;
  border-radius: var(--radius-full);
  border: 2px solid var(--navy);
  transition: all var(--t-base);
  cursor: pointer;
  white-space: nowrap;
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* Ripple Effect */
.btn-ripple {
  position: relative;
  overflow: hidden;
}
.btn-ripple .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-anim 0.6s linear;
  pointer-events: none;
}
@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ===================== SECTION UTILITY ===================== */
.section-py {
  padding: var(--section-py) 0;
}
.section-py-sm {
  padding: var(--section-py-sm) 0;
}
.bg-navy {
  background-color: var(--navy);
}
.bg-navy-light {
  background-color: var(--navy-light);
}
.bg-off-white {
  background-color: var(--off-white);
}
.bg-gray-50 {
  background-color: var(--gray-50);
}
.text-navy {
  color: var(--navy);
}
.text-gold {
  color: var(--gold);
}

/* Section Label */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 16px;
  padding-left: 0;
  position: relative;
}
.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.1;
  margin-bottom: 20px;
}
.section-title.text-white {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 600px;
  line-height: 1.75;
}
.section-subtitle.text-white {
  color: rgba(255, 255, 255, 0.7);
}

/* Divider */
.gold-divider {
  width: 60px;
  height: 3px;
  background: var(--grad-gold);
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

/* ===================== PAGE HEADER (INNER PAGES) ===================== */
.page-hero {
  position: relative;
  padding: 200px 0 100px;
  background: var(--grad-navy);
  overflow: hidden;
  margin-top: 0;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1593113646773-028c64a8f1b8?auto=format&fit=crop&q=80")
    center/cover;
  opacity: 0.12;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}
.page-hero .breadcrumb {
  background: transparent;
  justify-content: center;
  margin: 0;
  padding: 0;
}
.page-hero .breadcrumb-item a {
  color: var(--gold);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.page-hero .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.page-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}
/* Decorative Wave */
.page-hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 3;
}

/* ===================== FLOATING CARDS ===================== */
.card-float {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--t-slow),
    box-shadow var(--t-slow);
  overflow: hidden;
  height: 100%;
}
.card-float:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
}

/* Glass Card */
.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
}
.glass-card-dark {
  background: rgba(11, 35, 65, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}

/* Card image zoom */
.card-img-zoom {
  overflow: hidden;
}
.card-img-zoom img {
  transition: transform 0.7s var(--ease);
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-float:hover .card-img-zoom img,
.card-img-zoom:hover img {
  transform: scale(1.08);
}

/* ===================== ICON BOX ===================== */
.icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  transition: transform var(--t-base);
}
.icon-box-navy {
  background: rgba(11, 35, 65, 0.08);
  color: var(--navy);
}
.icon-box-gold {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-dark);
}
.card-float:hover .icon-box {
  transform: scale(1.1) rotate(-5deg);
}

/* ===================== PROGRESS BAR ===================== */
.progress-gold {
  height: 8px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.progress-gold-bar {
  height: 100%;
  background: var(--grad-gold);
  border-radius: var(--radius-full);
  transition: width 1.5s var(--ease-out);
}

/* ===================== MOBILE FULL-PAGE SIDEBAR ===================== */
body.mobile-menu-open {
  overflow: hidden !important;
  touch-action: none;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  visibility: hidden;
  pointer-events: none;
}

.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  height: 100dvh;
  background:
    radial-gradient(
      circle at top right,
      rgba(212, 175, 55, 0.12),
      transparent 42%
    ),
    linear-gradient(180deg, #0f2d52 0%, #0b2341 45%, #08182d 100%);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.mobile-nav.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav.is-open .mobile-nav-panel {
  transform: translateX(0);
}

@media (max-width: 991.98px) {
  .navbar {
    padding: 10px 0 !important;
  }
  .navbar.scrolled {
    padding: 8px 0 !important;
  }
  .navbar > .container {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .navbar-brand {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .nav-brand-main {
    font-size: 1.05rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .nav-logo-img {
    height: 44px !important;
    max-width: 48px !important;
    padding: 2px !important;
    flex-shrink: 0 !important;
  }
  .navbar.scrolled .nav-logo-img {
    height: 38px !important;
    max-width: 40px !important;
  }
  .navbar-toggler {
    display: flex !important;
    margin-left: auto !important;
  }
  .navbar-collapse {
    display: none !important;
  }

  .mobile-nav {
    display: block;
  }

  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    padding-top: max(16px, env(safe-area-inset-top));
    border-bottom: 1px solid rgba(212, 175, 55, 0.22);
    background: rgba(8, 24, 45, 0.35);
    flex-shrink: 0;
  }

  .mobile-nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 0;
  }
  .mobile-logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 3px;
    background: rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
    box-sizing: border-box;
  }
  .mobile-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
  }
  .mobile-brand-main {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--white);
  }
  .mobile-brand-main em {
    color: var(--gold);
    font-style: normal;
  }
  .mobile-brand-sub {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.5);
  }

  .mobile-nav-close {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
  }
  .mobile-nav-close:active {
    background: rgba(212, 175, 55, 0.22);
    color: var(--white);
  }

  .mobile-nav-body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 18px max(28px, env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
  }

  .mobile-nav-list {
    list-style: none;
    margin: 8px 0 24px;
    padding: 0;
  }

  .mobile-nav-link {
    display: block;
    padding: 16px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .mobile-nav-link.active {
    color: var(--gold-light);
  }

  .mobile-nav-cta {
    margin-top: auto;
    padding-top: 16px;
  }
  .mobile-nav-cta .btn-donate-nav {
    width: 100%;
    padding: 16px 24px;
  }
}

@media (max-width: 480px) {
  .nav-brand-main {
    font-size: 0.96rem !important;
  }
  .nav-logo-img {
    height: 38px !important;
    max-width: 42px !important;
  }
}

@media (max-width: 360px) {
  .nav-brand-main {
    font-size: 0.88rem !important;
  }
  .nav-logo-img {
    height: 36px !important;
    max-width: 40px !important;
  }
}

@media (max-width: 330px) {
  .nav-brand-main {
    font-size: 0.82rem !important;
  }
}

/* ===================== HERO SECTION ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.2;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 140px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-title .highlight {
  color: var(--gold);
  font-style: italic;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 48px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 80px;
}
.hero-watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  transition: var(--t-base);
}
.hero-watch-btn .play-circle {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--t-base);
}
.hero-watch-btn:hover {
  color: var(--white);
}
.hero-watch-btn:hover .play-circle {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
}
.hero-stat-item {
  flex: 1;
  min-width: 120px;
  padding: 0 30px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-stat-item:last-child {
  border-right: none;
}
.hero-stat-item:first-child {
  padding-left: 0;
}
.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Hero floating card */
.hero-floating-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 28px;
  animation: floatY 4s ease-in-out infinite alternate;
}
@keyframes floatY {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-16px);
  }
}

/* ===================== HERO / SLIDER SOCIAL MEDIA OVERLAY ===================== */
.hero-social-bar-wrapper {
  position: relative;
  z-index: 10;
  margin-bottom: 25px;
}
.hero-social-bar {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(11, 35, 65, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transition: all var(--t-base);
}
.hero-social-bar:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 35px rgba(212, 175, 55, 0.25);
}
.hero-social-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.hero-social-items {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.social-chip i {
  font-size: 1.05rem;
  transition: transform 0.3s ease;
}
.social-chip.instagram:hover {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  border-color: transparent;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 39, 67, 0.45);
}
.social-chip.youtube:hover {
  background: #ff0000;
  border-color: transparent;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.45);
}
.social-chip.facebook:hover {
  background: #1877f2;
  border-color: transparent;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.45);
}
.social-chip:hover i {
  transform: scale(1.18);
}

@media (max-width: 768px) {
  .hero-social-bar-wrapper {
    margin-bottom: 20px;
  }
  .hero-social-bar {
    padding: 6px 12px;
    gap: 8px;
    width: 100%;
    justify-content: center;
  }
  .hero-social-label {
    display: none;
  }
  .hero-social-items {
    gap: 8px;
    width: 100%;
    justify-content: center;
  }
  .social-chip {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}
.hero-floating-card-inner {
  position: relative;
}
.hero-floating-card .fc-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.hero-floating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.hero-floating-stat {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}
.hero-floating-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* Particles */
.particles-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.3);
  animation: particleFloat 8s ease-in-out infinite;
}
@keyframes particleFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-40px) rotate(180deg);
    opacity: 0.7;
  }
}

/* ===================== IMPACT NUMBERS ===================== */
.impact-strip {
  background: var(--navy);
  padding: 60px 0;
  position: relative;
}
.impact-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://www.transparenttextures.com/patterns/diagmonds.png");
  opacity: 0.03;
}
.impact-num-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--t-base);
}
.impact-num-item:last-child {
  border-right: none;
}
.impact-num-item:hover {
  transform: translateY(-5px);
}
.impact-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.impact-count {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.impact-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}

/* ===================== CAUSES CARDS ===================== */
.cause-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-xs);
  transition: all var(--t-slow);
  position: relative;
  overflow: hidden;
  height: 100%;
  cursor: pointer;
}
.cause-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}
.cause-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}
.cause-card:hover::before {
  transform: scaleX(1);
}
.cause-card .cause-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  transition: var(--t-base);
}
.cause-card:hover .cause-icon {
  transform: scale(1.1) rotate(-5deg);
}
.cause-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.cause-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
}
.cause-link {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition:
    gap var(--t-fast),
    color var(--t-fast);
}
.cause-card:hover .cause-link {
  color: var(--gold);
  gap: 14px;
}

/* ===================== CAMPAIGN CARDS ===================== */
.campaign-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--t-slow);
  height: 100%;
}
.campaign-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.campaign-card-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}
.campaign-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.campaign-card:hover .campaign-card-img img {
  transform: scale(1.08);
}
.campaign-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}
.campaign-days {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(11, 35, 65, 0.85);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}
.campaign-card-body {
  padding: 28px;
}
.campaign-card-body h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 14px;
  line-height: 1.4;
}
.campaign-amounts {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.campaign-raised {
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
}
.campaign-goal {
  color: var(--gray-400);
  font-size: 13px;
}
.campaign-progress {
  height: 8px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 20px;
}
.campaign-progress-bar {
  height: 100%;
  background: var(--grad-gold);
  border-radius: var(--radius-full);
}

/* ===================== TESTIMONIAL SLIDER ===================== */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  height: 100%;
}
.testimonial-stars {
  color: var(--gold);
  margin-bottom: 16px;
  gap: 4px;
  display: flex;
}
.testimonial-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gray-800);
  line-height: 1.8;
  margin-bottom: 28px;
}
.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
}
.testimonial-author h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}
.testimonial-author span {
  font-size: 13px;
  color: var(--gold-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===================== EVENT ITEMS ===================== */
.event-card {
  display: flex;
  gap: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--gray-100);
  transition: all var(--t-base);
  align-items: flex-start;
}
.event-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(8px);
  border-color: var(--gold);
}
.event-date-box {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  min-width: 72px;
  flex-shrink: 0;
}
.event-date-box .day {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}
.event-date-box .month {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 600;
}
.event-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}
.event-meta span {
  font-size: 13px;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 6px;
}
.event-meta i {
  color: var(--gold);
}

/* ===================== GALLERY ===================== */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
  display: block;
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 35, 65, 0.9) 0%,
    rgba(11, 35, 65, 0.3) 100%
  );
  opacity: 0;
  transition: opacity var(--t-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 24px;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay-title {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-align: center;
}
.gallery-zoom-btn {
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: transform var(--t-fast);
}
.gallery-zoom-btn:hover {
  transform: scale(1.15);
}

/* Gallery Filter */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 50px;
}
.gallery-filter-btn {
  background: var(--white);
  color: var(--gray-800);
  border: 1.5px solid var(--gray-200);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--t-fast);
}
.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ===================== FORMS ===================== */
.form-field {
  margin-bottom: 20px;
}
.form-label-custom {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-600);
  margin-bottom: 8px;
}
.form-input-custom {
  width: 100%;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--gray-800);
  transition:
    border-color var(--t-fast),
    box-shadow var(--t-fast);
  outline: none;
}
.form-input-custom:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(11, 35, 65, 0.08);
  background: var(--white);
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  padding: 8px 8px 8px 24px;
  max-width: 520px;
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  min-width: 0;
}
.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* ===================== ACCORDION / FAQ ===================== */
.faq-item {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--t-fast);
}
.faq-item.active {
  border-color: var(--gold);
}
.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  cursor: pointer;
  background: var(--white);
  gap: 16px;
}
.faq-question {
  font-weight: 700;
  color: var(--gray-900);
  font-size: 1rem;
  font-family: var(--font-heading);
}
.faq-icon {
  width: 36px;
  height: 36px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--gray-600);
  flex-shrink: 0;
  transition: all var(--t-base);
}
.faq-item.active .faq-icon {
  background: var(--gold);
  color: var(--navy);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.faq-answer-inner {
  padding: 0 28px 22px;
  color: var(--gray-600);
  font-size: 15px;
  line-height: 1.75;
}

/* ===================== PARTNERS MARQUEE ===================== */
.marquee-wrap {
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee-scroll 30s linear infinite;
  width: max-content;
}
.marquee-track:hover {
  animation-play-state: paused;
}
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.45;
  transition: opacity var(--t-base);
  white-space: nowrap;
  flex-shrink: 0;
}
.partner-item:hover {
  opacity: 1;
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://www.transparenttextures.com/patterns/diagmonds.png");
  opacity: 0.03;
}
.footer-wave {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -1px;
}
.footer-inner {
  padding: 80px 0 40px;
  position: relative;
  z-index: 1;
}
.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.footer-brand-name span {
  color: var(--gold);
}
.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  max-width: 280px;
  margin-bottom: 28px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-social-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  transition: all var(--t-fast);
}
.footer-social-btn:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.footer-heading {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--t-fast);
}
.footer-links a:hover {
  color: var(--gold);
  transform: translateX(5px);
}
.footer-links a::before {
  content: "→";
  color: var(--gold);
  font-size: 12px;
  opacity: 0.7;
}
.footer-contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}
.footer-contact-icon {
  width: 36px;
  height: 36px;
  background: rgba(212, 175, 55, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-info {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--t-fast);
}
.footer-bottom a:hover {
  color: var(--gold);
}

/* ===================== BACK TO TOP ===================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 50px;
  height: 50px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--t-base);
  z-index: 990;
  border: 2px solid rgba(212, 175, 55, 0.3);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-4px);
}

/* ===================== MOUSE FOLLOWER ===================== */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.1s var(--ease);
  transform: translate(-50%, -50%);
}
.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(212, 175, 55, 0.5);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99998;
  transition:
    transform 0.4s var(--ease),
    width 0.3s,
    height 0.3s,
    border-color 0.3s;
  transform: translate(-50%, -50%);
}
body:has(a:hover) .cursor-outline,
body:has(button:hover) .cursor-outline {
  width: 60px;
  height: 60px;
  border-color: var(--gold);
}
@media (max-width: 768px) {
  .cursor-dot,
  .cursor-outline {
    display: none;
  }
}

/* ===================== SWIPER CUSTOM ===================== */
.swiper-pagination-bullet {
  background: rgba(11, 35, 65, 0.3);
  opacity: 1;
  width: 8px;
  height: 8px;
  transition: all var(--t-base);
}
.swiper-pagination-bullet-active {
  background: var(--gold);
  width: 24px;
  border-radius: var(--radius-full);
}
.swiper-button-next,
.swiper-button-prev {
  width: 50px;
  height: 50px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  color: var(--navy) !important;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 14px !important;
  font-weight: 900;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--gold);
  color: var(--navy) !important;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1200px) {
  :root {
    --section-py: 90px;
  }
}
@media (max-width: 768px) {
  :root {
    --section-py: 60px;
    --section-py-sm: 50px;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-stats {
    gap: 20px;
  }
  .hero-stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 0;
  }
  .hero-stat-item:last-child {
    border-bottom: none;
  }
  .event-card {
    flex-direction: column;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .newsletter-form {
    flex-direction: column;
    border-radius: var(--radius-md);
    padding: 12px;
  }
  .newsletter-form input {
    padding: 12px;
  }
}
@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
  }
  .btn-gold,
  .btn-navy,
  .btn-outline-white {
    width: 100%;
    justify-content: center;
  }
}

/* ===================== UTILITY ===================== */
.object-cover {
  object-fit: cover;
}
.transition {
  transition: all var(--t-base);
}
.z-1 {
  z-index: 1;
}
.z-2 {
  z-index: 2;
}
.shadow-navy {
  box-shadow: 0 20px 60px rgba(11, 35, 65, 0.2);
}
.shadow-gold {
  box-shadow: var(--shadow-gold);
}
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* AOS override */
[data-aos] {
  pointer-events: auto !important;
}

/* Bootstrap overrides */
.btn:focus,
.btn:focus-visible {
  box-shadow: none;
  outline: none;
}
.form-control:focus,
.form-select:focus {
  box-shadow: none;
}

/* Page transitions */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 99998;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out);
}
.page-transition-overlay.active {
  transform: translateY(0);
}

/* ===================== FOOTER LOGO ===================== */
.footer-logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.4);
  background: rgba(255, 255, 255, 0.06);
  padding: 6px;
  margin-bottom: 16px;
  box-sizing: border-box;
  display: inline-block;
}
.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.footer-brand-name span {
  color: var(--gold);
}
.footer-brand-tagline {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

/* ===================== BACKWARD COMPAT: page-header ===================== */
/* Kept for any old pages not yet migrated */
.page-header {
  position: relative;
  padding: 180px 0 90px;
  background: var(--grad-navy);
  overflow: hidden;
  text-align: center;
}
.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  font-family: var(--font-heading);
  margin-bottom: 16px;
}
.page-header .breadcrumb {
  justify-content: center;
  background: transparent;
}
.page-header .breadcrumb-item a {
  color: var(--gold);
  font-size: 13px;
}
.page-header .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}
.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

/* ===================== BADGE STYLES ===================== */
.badge-gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
}
.badge-navy {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}

/* ===================== RESPONSIVE FIXES ===================== */
@media (max-width: 576px) {
  .nav-brand-sub {
    display: none;
  }
  .nav-brand-main {
    font-size: 1.1rem;
  }
  .nav-logo-img {
    height: 44px;
    width: auto;
    max-width: 48px;
  }
  .hero-floating-card {
    display: none !important;
  }
  .footer-brand-name {
    font-size: 1.3rem;
  }
}

/* ===================== BLOG CARD ===================== */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: all var(--t-slow);
  height: 100%;
}
.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.blog-card-img {
  height: 220px;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.08);
}
.blog-card-body {
  padding: 24px;
}
.blog-category-tag {
  display: inline-block;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card-title a {
  color: inherit;
}
.blog-card-title a:hover {
  color: var(--navy);
}
.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: 14px;
}
.blog-meta i {
  color: var(--gold);
  margin-right: 4px;
}

/* ===================== DONATION AMOUNT BTNS ===================== */
.donation-amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.amt-btn {
  background: var(--off-white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 18px 10px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: all var(--t-fast);
  text-align: center;
}
.amt-btn:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.06);
}
.amt-btn.selected {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

/* ===================== MEMBERSHIP / VOLUNTEER ===================== */
.vol-benefit-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1.5px solid var(--gray-100);
  transition: all var(--t-base);
  height: 100%;
}
.vol-benefit-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

/* ===================== TIMELINE ===================== */
.timeline {
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--navy));
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  margin-bottom: 48px;
}
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--gold);
  z-index: 1;
}
.timeline-content {
  width: 45%;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  position: relative;
}
.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 0;
}
.timeline-item:nth-child(even) .timeline-content {
  margin-left: 55%;
}
.timeline-year {
  display: inline-block;
  background: var(--navy);
  color: var(--gold);
  font-weight: 800;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
}
@media (max-width: 768px) {
  .timeline::before {
    left: 16px;
  }
  .timeline-dot {
    left: 16px;
  }
  .timeline-content {
    width: calc(100% - 48px);
    margin-left: 48px !important;
  }
}

/* =================================================================
   MOBILE RESPONSIVE OPTIMIZATIONS (Max-Width 991.98px & below)
   Preserves 100% of Desktop layout while compressing mobile height,
   padding, hero, cards, typography, forms, footer, and grid layout.
   ================================================================= */

@media (max-width: 991.98px) {
  :root {
    --section-py: 48px;
    --section-py-sm: 32px;
  }

  /* Hide standard Bootstrap navbar collapse on mobile */
  .navbar-expand-lg .navbar-collapse {
    display: none !important;
  }

  /* Show mobile hamburger toggler button */
  .nav-toggler {
    display: flex !important;
  }

  /* Body scroll locking when mobile menu is open */
  body.mobile-menu-open {
    overflow: hidden !important;
    touch-action: none;
  }

  /* Transparent Dark Backdrop Overlay */
  .mobile-nav-overlay {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(11, 35, 65, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.35s ease,
      visibility 0.35s ease;
  }

  .mobile-nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }

  /* Mobile Navigation Drawer Panel */
  .mobile-nav-drawer {
    display: block !important;
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    z-index: 1050;
    pointer-events: none;
  }

  .mobile-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0b2341 0%, #0e3059 50%, #0b2341 100%);
    border-left: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: -10px 0 45px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
    will-change: transform;
  }

  .mobile-nav-drawer.is-open .mobile-drawer-panel {
    transform: translateX(0);
  }

  /* Drawer Header */
  .mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(11, 35, 65, 0.95);
  }

  .mobile-drawer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
  }

  .mobile-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 2px;
  }

  .mobile-drawer-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
  }

  .mobile-drawer-close:hover {
    background: var(--gold);
    color: var(--navy);
    transform: rotate(90deg);
  }

  /* Drawer Body */
  .mobile-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .mobile-drawer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .mobile-drawer-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: var(--radius-sm);
    border-left: 3px solid transparent;
    transition: all 0.25s ease;
    text-decoration: none;
  }

  .mobile-drawer-link i {
    width: 20px;
    color: var(--gold);
    font-size: 15px;
    text-align: center;
    transition: transform 0.2s ease;
  }

  .mobile-drawer-link:hover,
  .mobile-drawer-link.active {
    color: var(--white);
    background: rgba(212, 175, 55, 0.12);
    border-left-color: var(--gold);
    padding-left: 20px;
  }

  .mobile-drawer-link:hover i,
  .mobile-drawer-link.active i {
    transform: scale(1.15);
    color: var(--gold-light);
  }

  /* Drawer Footer */
  .mobile-drawer-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.18);
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mobile-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.25s ease;
  }

  .mobile-btn-secondary:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
    color: var(--gold);
  }

  .mobile-drawer-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    text-align: center;
  }

  .mobile-drawer-info a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .mobile-drawer-info a:hover {
    color: var(--gold);
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 36px;
    --section-py-sm: 26px;
  }

  /* HTML/Body overflow fix to guarantee zero horizontal scroll */
  html,
  body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  /* Container & Layout tightness */
  .container,
  .container-fluid {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Typography Adjustments */
  h1,
  .h1 {
    font-size: 1.85rem !important;
    line-height: 1.2 !important;
  }
  h2,
  .h2 {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
  }
  h3,
  .h3 {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
  }
  h4,
  .h4 {
    font-size: 1.1rem !important;
    line-height: 1.35 !important;
  }

  .section-eyebrow {
    font-size: 11px !important;
    margin-bottom: 8px !important;
    letter-spacing: 0.15em !important;
  }
  .section-eyebrow::before {
    width: 20px !important;
    margin-right: 8px !important;
  }
  .section-title {
    font-size: 1.55rem !important;
    margin-bottom: 12px !important;
    line-height: 1.2 !important;
  }
  .section-subtitle {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    margin-bottom: 16px !important;
  }
  .gold-divider {
    width: 40px !important;
    height: 3px !important;
    margin-bottom: 14px !important;
  }

  /* Hero Section Optimization */
  .hero {
    min-height: auto !important;
    padding-top: 80px !important;
    padding-bottom: 24px !important;
  }
  .hero-content {
    padding-top: 10px !important;
  }
  .hero .row.min-vh-100 {
    min-height: auto !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
  .hero-eyebrow {
    font-size: 11px !important;
    padding: 5px 14px !important;
    margin-bottom: 14px !important;
  }
  .hero-title {
    font-size: 1.85rem !important;
    line-height: 1.18 !important;
    margin-bottom: 14px !important;
    letter-spacing: -0.01em !important;
  }
  .hero-subtitle {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    margin-bottom: 20px !important;
  }
  .hero-ctas {
    gap: 10px !important;
    margin-bottom: 24px !important;
  }
  .hero-watch-btn {
    font-size: 13px !important;
    gap: 8px !important;
  }
  .hero-watch-btn .play-circle {
    width: 36px !important;
    height: 36px !important;
    font-size: 12px !important;
  }
  .hero-stats {
    padding-top: 16px !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .hero-stat-item {
    border-right: none !important;
    border-bottom: none !important;
    padding: 8px 10px !important;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    text-align: center;
  }
  .hero-stat-num {
    font-size: 1.5rem !important;
    margin-bottom: 2px !important;
  }
  .hero-stat-label {
    font-size: 11px !important;
    letter-spacing: 0.05em !important;
  }

  /* Inner Pages Hero */
  .page-hero,
  .page-header {
    padding: 90px 0 32px !important;
  }
  .page-hero h1,
  .page-header h1 {
    font-size: 1.65rem !important;
    margin-bottom: 6px !important;
  }
  .page-hero .breadcrumb,
  .page-header .breadcrumb {
    margin-top: 4px !important;
  }
  .page-hero .breadcrumb-item a,
  .page-hero .breadcrumb-item.active {
    font-size: 12px !important;
  }

  /* Buttons Optimization */
  .btn-gold,
  .btn-navy,
  .btn-outline-white,
  .btn-outline-navy {
    padding: 10px 22px !important;
    font-size: 13px !important;
    letter-spacing: 0.05em !important;
  }

  /* Impact Numbers / Statistics Counters */
  .impact-strip {
    padding: 24px 0 !important;
  }
  .impact-num-item {
    padding: 10px 6px !important;
    border-right: none !important;
  }
  .impact-icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 16px !important;
    margin-bottom: 6px !important;
  }
  .impact-count {
    font-size: 1.65rem !important;
    margin-bottom: 2px !important;
  }
  .impact-label {
    font-size: 10.5px !important;
    letter-spacing: 0.05em !important;
  }

  /* Compact Cards (General, Causes, Campaigns, Blog, Events) */
  .card-float.p-5 {
    padding: 20px 16px !important;
  }
  .card-float.p-4 {
    padding: 16px 14px !important;
  }
  .cause-card {
    padding: 18px 16px !important;
    border-radius: var(--radius-md) !important;
  }
  .cause-card .cause-icon {
    width: 48px !important;
    height: 48px !important;
    font-size: 20px !important;
    margin-bottom: 12px !important;
  }
  .cause-card h4 {
    font-size: 1.05rem !important;
    margin-bottom: 8px !important;
  }
  .cause-card p {
    font-size: 13px !important;
    line-height: 1.55 !important;
    margin-bottom: 12px !important;
  }
  .cause-link {
    font-size: 12px !important;
  }

  .campaign-card {
    border-radius: var(--radius-md) !important;
  }
  .campaign-card-img {
    height: 160px !important;
  }
  .campaign-card-body {
    padding: 16px !important;
  }
  .campaign-card-body h4 {
    font-size: 1.05rem !important;
    margin-bottom: 10px !important;
  }
  .campaign-raised {
    font-size: 13px !important;
  }
  .campaign-goal {
    font-size: 12px !important;
  }
  .campaign-progress {
    margin-bottom: 12px !important;
    height: 6px !important;
  }

  .blog-card {
    border-radius: var(--radius-md) !important;
  }
  .blog-card-img {
    height: 150px !important;
  }
  .blog-card-body {
    padding: 14px 16px !important;
  }
  .blog-category-tag {
    font-size: 10px !important;
    padding: 3px 10px !important;
    margin-bottom: 8px !important;
  }
  .blog-card-title {
    font-size: 1rem !important;
    margin-bottom: 8px !important;
    line-height: 1.35 !important;
  }
  .blog-meta {
    gap: 10px !important;
    font-size: 11px !important;
    margin-bottom: 8px !important;
  }

  .event-card {
    padding: 14px 16px !important;
    gap: 12px !important;
    border-radius: var(--radius-md) !important;
  }
  .event-date-box {
    padding: 8px 12px !important;
    min-width: 60px !important;
    border-radius: var(--radius-sm) !important;
  }
  .event-date-box .day {
    font-size: 1.4rem !important;
  }
  .event-date-box .month {
    font-size: 10px !important;
  }
  .event-info h4 {
    font-size: 1rem !important;
    margin-bottom: 4px !important;
  }
  .event-meta {
    gap: 10px !important;
    margin-bottom: 6px !important;
  }
  .event-meta span {
    font-size: 12px !important;
  }

  .vol-benefit-card {
    padding: 16px !important;
    border-radius: var(--radius-md) !important;
  }

  /* Testimonials Optimization */
  .testimonial-card {
    padding: 18px 16px !important;
    border-radius: var(--radius-md) !important;
  }
  .testimonial-stars {
    margin-bottom: 8px !important;
    font-size: 13px !important;
  }
  .testimonial-text {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    margin-bottom: 14px !important;
  }
  .testimonial-author img {
    width: 42px !important;
    height: 42px !important;
  }
  .testimonial-author h5 {
    font-size: 0.92rem !important;
    margin-bottom: 2px !important;
  }
  .testimonial-author span {
    font-size: 11px !important;
  }

  /* Gallery & Responsive Grid */
  .gallery-filters {
    gap: 6px !important;
    margin-bottom: 20px !important;
  }
  .gallery-filter-btn {
    padding: 6px 14px !important;
    font-size: 11px !important;
  }
  .gallery-item {
    border-radius: var(--radius-sm) !important;
  }
  .gallery-overlay {
    padding: 12px !important;
  }
  .gallery-overlay-title {
    font-size: 0.88rem !important;
    margin-bottom: 6px !important;
  }
  .gallery-zoom-btn {
    width: 34px !important;
    height: 34px !important;
    font-size: 12px !important;
  }

  /* Image heights & Absolutes fix */
  #about img[style*="height:500px"],
  #about img,
  .about-img {
    height: 240px !important;
  }
  div[style*="position:absolute;bottom:-24px;right:-24px"],
  div[style*="position:absolute;bottom:-30px;right:-30px"] {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    margin: 16px auto 0 !important;
    max-width: 100% !important;
  }

  /* Forms & Accordion FAQ */
  .form-field {
    margin-bottom: 12px !important;
  }
  .form-input-custom {
    padding: 10px 14px !important;
    font-size: 14px !important;
  }
  .donation-amount-grid {
    gap: 8px !important;
    margin-bottom: 16px !important;
  }
  .amt-btn {
    padding: 10px 4px !important;
    font-size: 0.95rem !important;
  }
  .faq-header {
    padding: 14px 16px !important;
  }
  .faq-question {
    font-size: 0.92rem !important;
  }
  .faq-icon {
    width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
  }
  .faq-answer-inner {
    padding: 0 16px 14px !important;
    font-size: 13px !important;
  }

  /* Footer Optimization */
  .footer-inner {
    padding: 32px 0 20px !important;
  }
  .footer-logo-img {
    width: 54px !important;
    height: 54px !important;
    margin-bottom: 10px !important;
  }
  .footer-brand-name {
    font-size: 1.25rem !important;
    margin-bottom: 4px !important;
  }
  .footer-brand-tagline {
    font-size: 10px !important;
    margin-bottom: 10px !important;
  }
  .footer-desc {
    font-size: 13px !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
    max-width: 100% !important;
  }
  .footer-heading {
    font-size: 13px !important;
    margin-bottom: 12px !important;
    margin-top: 14px !important;
  }
  .footer-links li {
    margin-bottom: 6px !important;
  }
  .footer-links a {
    font-size: 13px !important;
  }
  .footer-contact-item {
    gap: 10px !important;
    margin-bottom: 10px !important;
  }
  .footer-contact-icon {
    width: 30px !important;
    height: 30px !important;
    font-size: 12px !important;
  }
  .footer-contact-info {
    font-size: 13px !important;
  }
  .footer-bottom {
    padding: 14px 0 !important;
    font-size: 12px !important;
    flex-direction: column !important;
    text-align: center !important;
  }
  .back-to-top {
    bottom: 16px !important;
    right: 16px !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 14px !important;
  }
}

/* Device screen size fine-tuning: 430px, 414px, 390px, 375px, 360px, 320px */
@media (max-width: 430px) {
  .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .hero-title {
    font-size: 1.7rem !important;
  }
  .section-title {
    font-size: 1.45rem !important;
  }
  .hero-ctas {
    flex-direction: column !important;
    width: 100%;
  }
  .hero-ctas .btn-gold,
  .hero-ctas .btn-navy,
  .hero-ctas .btn-outline-white,
  .hero-ctas .btn-outline-navy {
    width: 100% !important;
    justify-content: center !important;
  }
}

@media (max-width: 390px) {
  .hero-title {
    font-size: 1.6rem !important;
  }
  .section-title {
    font-size: 1.38rem !important;
  }
  .hero-subtitle {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 375px) {
  .hero-title {
    font-size: 1.5rem !important;
  }
  .section-title {
    font-size: 1.32rem !important;
  }
  .btn-gold,
  .btn-navy,
  .btn-outline-white,
  .btn-outline-navy {
    padding: 8px 16px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 320px) {
  .hero-title {
    font-size: 1.35rem !important;
  }
  .section-title {
    font-size: 1.22rem !important;
  }
  .impact-count {
    font-size: 1.45rem !important;
  }
  .hero-stat-num {
    font-size: 1.35rem !important;
  }
}

/* ===================== MODAL RESPONSIVE FIXES ===================== */
.modal-header .btn-close {
  margin: 0 !important;
  flex-shrink: 0 !important;
  opacity: 0.9;
  z-index: 10;
}
.modal-header .btn-close:hover {
  opacity: 1;
}

#hpUpcomingModal .hp-modal-close {
  margin: 0 !important;
  flex-shrink: 0 !important;
  opacity: 0.95;
  padding: 6px !important;
  background-size: 14px;
}

@media (max-width: 576px) {
  .modal-dialog {
    max-width: 90% !important;
    width: 90% !important;
    margin: 1rem auto !important;
  }
  #hpUpcomingModal .modal-header {
    padding: 10px 12px !important;
  }
  #hpUpcomingModal .modal-header-badge {
    font-size: 11px !important;
    padding: 4px 8px !important;
  }
  #hpUpcomingModal .modal-body .col-md-7 {
    padding: 1.25rem 1rem !important;
  }
  #hpUpcomingModal .modal-body h3 {
    font-size: 1.15rem !important;
  }
  #hpUpcomingModal .modal-body p {
    font-size: 13px !important;
    margin-bottom: 0.75rem !important;
  }
  #hpUpcomingModal .modal-body img {
    min-height: 180px !important;
    max-height: 220px !important;
  }

  .uid-single-line {
    font-size: clamp(0.7rem, 3.2vw, 0.95rem) !important;
    white-space: nowrap !important;
    display: inline-block !important;
  }

  .btn-submit-prominent {
    padding: 14px 20px !important;
    font-size: 1rem !important;
    width: 100% !important;
  }
}
