/* ==========================================================================
   AL-NISHA FOUNDATION — Custom Stylesheet
   Built on top of Bootstrap 5.3.3
   Fonts: Poppins (headings) + Source Sans 3 (body)
   ========================================================================== */

/* ==========================================================================
   1. CSS Custom Properties
   ========================================================================== */

:root {
  --primary: #1B4965;
  --primary-dark: #122D3F;
  --primary-light: #2A6A8F;
  --secondary: #D4A853;
  --secondary-dark: #B8903F;
  --accent: #E86F51;
  --accent-dark: #C95A3D;
  --success: #2E7D32;
  --body-bg: #FFFFFF;
  --section-bg: #F8F9FA;
  --text-dark: #212529;
  --text-muted: #6C757D;
  --border-color: #DEE2E6;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
}

/* ==========================================================================
   2. Base & Reset Supplements
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--body-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-light);
}

::selection {
  background-color: var(--primary);
  color: #fff;
}

/* ==========================================================================
   3. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.lead {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Section Title with Decorative Underline */
.section-title {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border-radius: 3px;
}

.section-title span {
  color: var(--accent);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* ==========================================================================
   4. Page Loader
   ========================================================================== */

.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader .spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--secondary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.page-loader .loader-text {
  position: absolute;
  margin-top: 80px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   5. Buttons
   ========================================================================== */

.btn {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.5;
}

.btn:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

/* Primary Custom */
.btn-primary-custom {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary-custom:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Secondary Custom (Gold) */
.btn-secondary-custom {
  background-color: var(--secondary);
  color: var(--primary-dark);
  border-color: var(--secondary);
}

.btn-secondary-custom:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Accent (Coral / Donate) */
.btn-accent {
  background-color: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 111, 81, 0.4);
}

/* Outline Custom */
.btn-outline-custom {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-custom:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-secondary-custom {
  background-color: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}

.btn-outline-secondary-custom:hover {
  background-color: var(--secondary);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* White Outline */
.btn-outline-white {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline-white:hover {
  background-color: #fff;
  color: var(--primary);
  transform: translateY(-2px);
}

/* Button Sizes */
.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* ==========================================================================
   6. Header & Navbar
   ========================================================================== */

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  padding: 18px 0;
  transition: all 0.4s ease;
  background-color: #ffffff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.main-header.scrolled {
  background-color: #ffffff;
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

.main-header .navbar {
  padding: 0;
}

/* Logo */
.main-header .logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.main-header .logo img {
  height: 48px;
  width: auto;
  transition: var(--transition);
}

.main-header.scrolled .logo img {
  height: 40px;
}

.main-header .logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  transition: var(--transition);
}

.main-header .logo-text small {
  display: block;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
}

.main-header.scrolled .logo-text {
  color: var(--primary);
}

/* Nav Links */
.main-header .nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.main-header .nav-link:hover {
  background-color: rgba(27, 73, 101, 0.06);
}

.main-header .nav-link.active {
  font-weight: 600;
  border-bottom: 2px solid var(--primary);
  border-radius: 0;
  padding-bottom: 6px;
}

.main-header .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.main-header .nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Dropdown Menus
   ─────────────────────────────────────────────────────────────
   NOTE: Dropdown styling + behaviour now live in a single,
   authoritative block under "40b. Navbar & Dropdown — Final"
   later in this file. Keeping this older block would set
   opacity/visibility/transform/transition/margin-top that
   conflicts with the final design and breaks interactivity, so
   it is intentionally removed. */


/* Navbar CTA Button */
.main-header .nav-cta {
  margin-left: 8px;
}

.main-header.scrolled .nav-cta .btn {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
  padding: 8px 24px;
  font-size: 0.85rem;
}

.main-header.scrolled .nav-cta .btn:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
}

/* Hamburger Toggle */
.main-header .navbar-toggler {
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 6px 10px;
  width: 44px;
  height: 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.main-header .navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.main-header .navbar-toggler span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

.main-header.scrolled .navbar-toggler {
  border-color: var(--primary);
}

.main-header.scrolled .navbar-toggler span {
  background-color: var(--primary);
}

.main-header .navbar-toggler.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.main-header .navbar-toggler.active span:nth-child(2) {
  opacity: 0;
}

.main-header .navbar-toggler.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
@media (max-width: 991.98px) {
  .main-header .navbar-collapse {
    background-color: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    margin-top: 16px;
    border: 1px solid var(--border-color);
  }

  .main-header .nav-link {
    color: var(--text-dark) !important;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
  }

  .main-header .nav-link:hover {
    background-color: var(--section-bg) !important;
  }

  .main-header .nav-link.active {
    font-weight: 600 !important;
    border-bottom: 2px solid var(--primary) !important;
    border-radius: 0 !important;
    padding-bottom: 6px !important;
  }

  .main-header .dropdown-menu {
    position: static !important;
    box-shadow: none;
    border: none;
    padding-left: 20px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    margin-top: 0;
    border-radius: 0;
  }

  .main-header .dropdown-menu.show {
    display: block;
  }

  .main-header .nav-cta {
    margin-left: 0;
    margin-top: 12px;
  }

  .main-header .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   7. Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(18, 45, 63, 0.88) 0%,
    rgba(27, 73, 101, 0.75) 50%,
    rgba(42, 106, 143, 0.65) 100%
  );
  z-index: 1;
}

.hero-section .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 850px;
  padding: 0 20px;
}

.hero-section .hero-content h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-section .hero-content h1 span {
  color: var(--secondary);
  position: relative;
}

.hero-section .hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-section .hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Animated text elements */
.hero-section .hero-content h1 {
  animation: fadeInUp 0.8s ease forwards;
}

.hero-section .hero-content p {
  animation: fadeInUp 0.8s 0.2s ease forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}

.hero-section .hero-buttons {
  animation: fadeInUp 0.8s 0.4s ease forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}

/* Floating decorative shapes */
.hero-section .hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  z-index: 0;
}

.hero-section .hero-shape-1 {
  width: 400px;
  height: 400px;
  background: var(--secondary);
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-section .hero-shape-2 {
  width: 250px;
  height: 250px;
  background: var(--accent);
  bottom: -50px;
  left: -50px;
  animation: float 6s ease-in-out infinite reverse;
}

.hero-section .hero-shape-3 {
  width: 150px;
  height: 150px;
  background: #fff;
  top: 30%;
  left: 10%;
  animation: float 10s ease-in-out infinite;
}

/* 24/7/365 Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 8px 20px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-badge i {
  color: var(--accent);
  font-size: 1rem;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

.scroll-indicator .mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 13px;
  margin: 8px auto 0;
  position: relative;
}

.scroll-indicator .mouse::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  animation: scrollAnim 1.5s ease-in-out infinite;
}

@keyframes scrollAnim {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

/* ==========================================================================
   7b. Hero Component (reusable partial) styles
   ========================================================================== */

.hero-section.hero-sm { min-height: 50vh; }
.hero-section.hero-md { min-height: 70vh; }
.hero-section.hero-lg { min-height: 100vh; }

.hero-section .hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-section .hero-content {
  color: #fff;
  max-width: 850px;
  text-align: center;
}

.hero-section .hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--secondary) !important;
  margin-bottom: 0.75rem;
  opacity: 1;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-section .hero-title {
  color: #fff;
  font-family: var(--font-heading);
  animation: fadeInUp 0.8s ease forwards;
}

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

.hero-section .hero-text {
  color: rgba(255, 255, 255, 0.85);
  animation: fadeInUp 0.8s 0.2s ease forwards;
}

.hero-section .hero-buttons {
  animation: fadeInUp 0.8s 0.4s ease forwards;
}

.hero-section .hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
}

.hero-section .hero-scroll-indicator a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  transition: var(--transition);
}

.hero-section .hero-scroll-indicator a:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}

/* ==========================================================================
   8. Section Base Styling
   ========================================================================== */

.section-padding {
  padding: 80px 0;
}

.section-padding-lg {
  padding: 100px 0;
}

.section-bg {
  background-color: var(--section-bg);
}

.section-bg-alt {
  background-color: var(--body-bg);
}

.section-dark {
  background-color: var(--primary-dark);
  color: #fff;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.75);
}

.section-dark .section-title::after {
  background: linear-gradient(90deg, var(--secondary), var(--accent));
}

/* ==========================================================================
   9. Card Components
   ========================================================================== */

/* Standard Custom Card */
.card-custom {
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.card-custom:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-custom .card-body {
  padding: 24px;
}

.card-custom .card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.card-custom .card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* Card with Icon (Circular) */
.card-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.card-icon.primary {
  background-color: rgba(27, 73, 101, 0.1);
  color: var(--primary);
}

.card-icon.secondary {
  background-color: rgba(212, 168, 83, 0.15);
  color: var(--secondary-dark);
}

.card-icon.accent {
  background-color: rgba(232, 111, 81, 0.12);
  color: var(--accent);
}

.card-icon.success {
  background-color: rgba(46, 125, 50, 0.1);
  color: var(--success);
}

.card-custom:hover .card-icon {
  transform: scale(1.1);
}

/* Card Image Hover Effect */
.card-image-hover {
  position: relative;
  overflow: hidden;
}

.card-image-hover img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-image-hover:hover img {
  transform: scale(1.08);
}

.card-image-hover .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 45, 63, 0.7), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.card-image-hover:hover .card-overlay {
  opacity: 1;
}

/* ==========================================================================
   10. About Section
   ========================================================================== */

.about-section .about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-section .about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-section .about-image-wrapper .experience-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: var(--secondary);
  color: var(--primary-dark);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
  font-family: var(--font-heading);
}

.about-section .experience-badge .number {
  font-size: 2rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.about-section .experience-badge .label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-section .about-content .about-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.about-section .about-content .about-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-dark);
}

.about-section .about-content .about-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--success);
  font-size: 0.85rem;
}

/* ==========================================================================
   11. Three Pillars Cards
   ========================================================================== */

.pillar-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: var(--transition);
}

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

.pillar-card .pillar-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.pillar-card:hover .pillar-bg {
  transform: scale(1.08);
}

.pillar-card .pillar-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18, 45, 63, 0.92) 0%,
    rgba(18, 45, 63, 0.4) 50%,
    transparent 100%
  );
  z-index: 1;
}

.pillar-card .pillar-content {
  position: relative;
  z-index: 2;
  padding: 32px;
  width: 100%;
}

.pillar-card .pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--secondary);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  transition: var(--transition);
}

.pillar-card:hover .pillar-icon {
  transform: scale(1.1);
}

.pillar-card h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.pillar-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.pillar-card .pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--secondary);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.pillar-card:hover .pillar-link {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   12. Feature Blocks (Education & Health)
   ========================================================================== */

.feature-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px;
  border-radius: var(--radius-lg);
  background-color: #fff;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.feature-block:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateY(-4px);
}

.feature-block .feature-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(27, 73, 101, 0.1), rgba(42, 106, 143, 0.05));
  color: var(--primary);
  transition: var(--transition);
}

.feature-block:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}

.feature-block h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.feature-block > p {
  margin-bottom: 20px;
}

/* List items (d-flex with check icons in current markup) */
.feature-block ul {
  margin-bottom: 0;
}

.feature-block ul li span {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.6;
}

.feature-block ul li i {
  color: var(--primary);
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 767.98px) {
  .feature-block {
    padding: 28px 24px;
  }

  .feature-block ul li span {
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   13. Impact / Stats Section
   ========================================================================== */

.impact-section {
  background-color: var(--primary-dark);
  background-image: linear-gradient(135deg, var(--primary-dark), var(--primary));
  position: relative;
  overflow: hidden;
}

.impact-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(212, 168, 83, 0.05);
}

.impact-section .stat-box {
  text-align: center;
  padding: 40px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.impact-section .stat-box:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.impact-section .stat-icon {
  font-size: 2.2rem;
  color: var(--secondary);
  margin-bottom: 16px;
}

.impact-section .stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.impact-section .stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ==========================================================================
   14. Why Cards (5 equal cards)
   ========================================================================== */

.why-card {
  background-color: #fff;
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  height: 100%;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.why-card .why-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 20px;
  background-color: rgba(27, 73, 101, 0.08);
  color: var(--primary);
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background-color: var(--primary);
  color: #fff;
  transform: rotateY(180deg);
}

.why-card h5 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ==========================================================================
   15. Activities Section
   ========================================================================== */

.activity-card {
  background-color: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.activity-card .activity-image {
  position: relative;
  overflow: hidden;
}

.activity-card .activity-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.activity-card:hover .activity-image img {
  transform: scale(1.06);
}

.activity-card .activity-image .badge-category {
  position: absolute;
  top: 16px;
  left: 16px;
}

.activity-card .activity-image .activity-date {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: var(--primary);
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

.activity-card .activity-image .activity-date .day {
  display: block;
  font-size: 1.1rem;
}

.activity-card .activity-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.activity-card .activity-body h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.activity-card .activity-body h4 a {
  color: var(--text-dark);
}

.activity-card .activity-body h4 a:hover {
  color: var(--primary);
}

.activity-card .activity-body p {
  font-size: 0.92rem;
  flex: 1;
}

.activity-card .activity-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.activity-card .activity-meta i {
  margin-right: 4px;
  color: var(--primary-light);
}

/* ==========================================================================
   16. Badge Component
   ========================================================================== */

.badge-category {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-category.education {
  background-color: rgba(27, 73, 101, 0.12);
  color: var(--primary);
}

.badge-category.health {
  background-color: rgba(46, 125, 50, 0.12);
  color: var(--success);
}

.badge-category.community {
  background-color: rgba(212, 168, 83, 0.2);
  color: var(--secondary-dark);
}

.badge-category.welfare {
  background-color: rgba(232, 111, 81, 0.12);
  color: var(--accent);
}

.badge-category.default {
  background-color: var(--section-bg);
  color: var(--text-muted);
}

/* ==========================================================================
   17. Gallery — Masonry Grid
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.gallery-grid .gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.gallery-grid .gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-grid .gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-grid .gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 45, 63, 0.85), rgba(18, 45, 63, 0.2));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-grid .gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-grid .gallery-item .gallery-overlay .zoom-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  transform: scale(0.5);
  opacity: 0;
  transition: var(--transition);
  margin-bottom: 12px;
}

.gallery-grid .gallery-item:hover .gallery-overlay .zoom-icon {
  transform: scale(1);
  opacity: 1;
}

.gallery-grid .gallery-item .gallery-overlay .gallery-title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition) 0.1s;
}

.gallery-grid .gallery-item:hover .gallery-overlay .gallery-title {
  transform: translateY(0);
  opacity: 1;
}

/* Masonry Variation */
.gallery-masonry {
  columns: 3;
  column-gap: 16px;
}

.gallery-masonry .gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
}

.gallery-masonry .gallery-item img {
  height: auto;
}

@media (max-width: 991.98px) {
  .gallery-masonry {
    columns: 2;
  }
}

@media (max-width: 575.98px) {
  .gallery-masonry {
    columns: 1;
  }
}

/* Category Filter Buttons */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 2rem;
}

.gallery-filters .filter-btn {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 20px;
  border: 2px solid var(--border-color);
  border-radius: 50px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-filters .filter-btn:hover,
.gallery-filters .filter-btn.active {
  border-color: var(--primary);
  background-color: var(--primary);
  color: #fff;
}

/* ==========================================================================
   18. Video Gallery
   ========================================================================== */

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.video-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.video-card .video-thumbnail {
  position: relative;
}

.video-card .video-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.06);
}

.video-card .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.video-card:hover .play-btn {
  background-color: var(--accent);
  color: #fff;
  transform: translate(-50%, -50%) scale(1.1);
}

.video-card .video-info {
  padding: 16px 4px;
}

.video-card .video-info h5 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.video-card .video-info p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* ==========================================================================
   19. Donation CTA Section
   ========================================================================== */

.donation-cta {
  position: relative;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.donation-cta .cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(232, 111, 81, 0.9),
    rgba(201, 90, 61, 0.85)
  );
  z-index: 1;
}

.donation-cta .cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.donation-cta .cta-content h2 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.donation-cta .cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.donation-cta .donation-icons {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
}

.donation-cta .donation-icons .donate-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  transition: var(--transition);
}

.donation-cta .donation-icons .donate-icon:hover {
  background-color: #fff;
  color: var(--accent);
  transform: translateY(-3px);
}

/* ==========================================================================
   20. Get Involved CTA
   ========================================================================== */

.involved-cta {
  position: relative;
  padding: 80px 0;
  background-color: var(--primary);
  overflow: hidden;
}

.involved-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(212, 168, 83, 0.08);
}

.involved-cta::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.involved-cta .cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.involved-cta .cta-content h2 {
  color: #fff;
  margin-bottom: 12px;
}

.involved-cta .cta-content p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 550px;
  margin: 0 auto 2rem;
}

/* ==========================================================================
   21. Contact Section
   ========================================================================== */

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background-color: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  height: 100%;
}

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

.contact-info-card .contact-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: rgba(27, 73, 101, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-info-card h5 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.contact-info-card p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.contact-info-card a {
  color: var(--primary);
  font-weight: 500;
}

.contact-info-card a:hover {
  color: var(--primary-light);
}

/* Map Container */
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   22. Footer
   ========================================================================== */

.main-footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 60px;
}

.main-footer h5 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.main-footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--secondary);
}

.main-footer .footer-about .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.main-footer .footer-about .logo img {
  height: 40px;
}

.main-footer .footer-about .logo span {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.main-footer .footer-about p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

/* Footer Links */
.main-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-footer .footer-links li {
  margin-bottom: 10px;
}

.main-footer .footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-footer .footer-links a::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--secondary);
  opacity: 0;
  transform: translateX(-8px);
  transition: var(--transition);
}

.main-footer .footer-links a:hover {
  color: var(--secondary);
  padding-left: 4px;
}

.main-footer .footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

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

.footer-social a:hover {
  background-color: var(--secondary);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

/* Footer Newsletter */
.footer-newsletter .input-group {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.footer-newsletter .form-control {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 12px 16px;
  font-size: 0.9rem;
}

.footer-newsletter .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter .form-control:focus {
  border-color: var(--secondary);
  box-shadow: none;
  background-color: rgba(255, 255, 255, 0.12);
}

.footer-newsletter .btn {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--primary-dark);
  padding: 12px 20px;
  font-weight: 600;
}

.footer-newsletter .btn:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
}

/* Footer Bottom / Copyright */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  margin-top: 40px;
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  color: var(--secondary);
}

/* Mini Donation CTA in Footer */
.footer-donate-mini {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin-top: 24px;
}

.footer-donate-mini h6 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-donate-mini .btn {
  background-color: #fff;
  color: var(--accent);
  border-color: #fff;
  padding: 8px 24px;
  font-size: 0.85rem;
}

.footer-donate-mini .btn:hover {
  background-color: var(--primary-dark);
  color: #fff;
  border-color: var(--primary-dark);
}

/* ==========================================================================
   23. Forms
   ========================================================================== */

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  display: block;
}

.form-group label .required {
  color: var(--accent);
}

.form-control-custom {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: #fff;
  transition: var(--transition);
  outline: none;
}

.form-control-custom:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(27, 73, 101, 0.1);
}

.form-control-custom::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

textarea.form-control-custom {
  min-height: 120px;
  resize: vertical;
}

select.form-control-custom {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236C757D' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Error State */
.form-group.error .form-control-custom {
  border-color: var(--accent);
}

.form-group.error .form-control-custom:focus {
  box-shadow: 0 0 0 3px rgba(232, 111, 81, 0.15);
}

.form-group .error-message {
  color: var(--accent);
  font-size: 0.8rem;
  margin-top: 6px;
  display: none;
}

.form-group.error .error-message {
  display: block;
}

/* Success State */
.form-group.success .form-control-custom {
  border-color: var(--success);
}

.form-group.success .form-control-custom:focus {
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

/* Checkbox & Radio Custom */
.form-check-custom {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.92rem;
}

.form-check-custom input[type="checkbox"],
.form-check-custom input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* ==========================================================================
   24. Team / Profile Cards
   ========================================================================== */

.team-card {
  text-align: center;
  background-color: #fff;
  border-radius: var(--radius-md);
  padding: 32px 24px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  height: 100%;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.team-card .team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 4px solid var(--section-bg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.team-card:hover .team-photo {
  border-color: var(--secondary);
}

.team-card .team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card .team-photo.rounded {
  border-radius: var(--radius-md);
}

.team-card h5 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-card .team-position {
  font-size: 0.85rem;
  color: var(--primary-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.team-card .team-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.team-card .team-social {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.team-card .team-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: var(--transition);
}

.team-card .team-social a:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ==========================================================================
   25. Timeline
   ========================================================================== */

.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: var(--border-color);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px 40px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
  padding-right: 40px;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
  padding-left: 40px;
}

.timeline-item .timeline-dot {
  position: absolute;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--primary);
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
  z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-item .timeline-content {
  background-color: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.timeline-item .timeline-content:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.timeline-item .timeline-date {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary-dark);
  margin-bottom: 8px;
}

.timeline-item h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 50px !important;
    padding-right: 15px !important;
    text-align: left !important;
  }

  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 12px;
    right: auto;
  }
}

/* ==========================================================================
   26. Breadcrumbs
   ========================================================================== */

.breadcrumbs {
  background-color: var(--primary-dark);
  padding: 24px 0;
}

.breadcrumbs .breadcrumb {
  margin-bottom: 0;
  padding: 0;
  background: transparent;
  font-size: 0.9rem;
}

.breadcrumbs .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.breadcrumbs .breadcrumb-item a:hover {
  color: var(--secondary);
}

.breadcrumbs .breadcrumb-item.active {
  color: #fff;
  font-weight: 500;
}

.breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.3);
}

/* Breadcrumbs section (reusable partial) */
.breadcrumbs-section {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary) 50%,
    var(--primary-light) 100%
  );
  padding: 48px 0 24px 0;
  margin-top: 82px;
}

.breadcrumbs-section .breadcrumbs-title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.breadcrumbs-section .breadcrumb {
  margin-bottom: 0;
  padding: 12px 0 0 0;
  background: transparent;
  font-size: 0.9rem;
}

.breadcrumbs-section .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumbs-section .breadcrumb-item a:hover {
  color: var(--secondary);
}

.breadcrumbs-section .breadcrumb-item.active {
  color: #fff;
  font-weight: 500;
}

.breadcrumbs-section .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   27. Modal Custom
   ========================================================================== */

.modal-content {
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  border-bottom: 1px solid var(--border-color);
  padding: 16px 24px;
}

.modal-header .modal-title {
  font-family: var(--font-heading);
  font-weight: 600;
}

.modal-header .btn-close {
  padding: 8px;
  margin: 0;
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  border-top: 1px solid var(--border-color);
  padding: 16px 24px;
}

/* Lightbox Modal */
.modal-lightbox .modal-dialog {
  max-width: 900px;
}

.modal-lightbox .modal-body {
  padding: 0;
}

.modal-lightbox .modal-body img {
  width: 100%;
  display: block;
}

/* Video Modal */
.modal-video .modal-dialog {
  max-width: 800px;
}

.modal-video .modal-body {
  padding: 0;
  aspect-ratio: 16 / 9;
}

.modal-video .modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Custom Modal Backdrop */
.modal-backdrop.show {
  background-color: rgba(18, 45, 63, 0.85);
}

/* ==========================================================================
   28. Document Cards (Legal Pages)
   ========================================================================== */

.doc-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background-color: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.doc-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.doc-card .doc-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background-color: rgba(27, 73, 101, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.doc-card .doc-info {
  flex: 1;
}

.doc-card .doc-info h6 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.doc-card .doc-info p {
  font-size: 0.8rem;
  margin-bottom: 0;
}

.doc-card .doc-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.doc-card .doc-actions .btn {
  padding: 6px 16px;
  font-size: 0.8rem;
}

/* ==========================================================================
   29. Donation Page
   ========================================================================== */

/* Multi-Step Indicator */
.donation-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 3rem;
  position: relative;
}

.donation-steps .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  max-width: 180px;
}

.donation-steps .step::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  width: 100%;
  height: 2px;
  background-color: var(--border-color);
  z-index: 0;
}

.donation-steps .step:last-child::after {
  display: none;
}

.donation-steps .step .step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--section-bg);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.donation-steps .step.active .step-number {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.donation-steps .step.completed .step-number {
  background-color: var(--success);
  border-color: var(--success);
  color: #fff;
}

.donation-steps .step .step-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.donation-steps .step.active .step-label {
  color: var(--primary);
  font-weight: 600;
}

/* Donation Amount Selection */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.amount-option {
  padding: 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
}

.amount-option:hover {
  border-color: var(--primary);
}

.amount-option.selected {
  border-color: var(--primary);
  background-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.amount-option .currency {
  font-size: 0.85rem;
  font-weight: 400;
}

.amount-option .amount-value {
  font-size: 1.4rem;
  display: block;
  margin-top: 4px;
}

.amount-option.custom-amount {
  border-style: dashed;
}

.amount-option.custom-amount input {
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  width: 100%;
  color: inherit;
}

.amount-option.custom-amount input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.9rem;
}

/* Payment Area */
.payment-methods {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.payment-method {
  flex: 1;
  padding: 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.payment-method:hover {
  border-color: var(--primary-light);
}

.payment-method.selected {
  border-color: var(--primary);
  background-color: rgba(27, 73, 101, 0.05);
}

.payment-method i {
  font-size: 1.8rem;
  margin-bottom: 6px;
  display: block;
  color: var(--primary);
}

.payment-method span {
  font-size: 0.85rem;
  font-weight: 500;
}

/* Donation Summary Box */
.donation-summary {
  background-color: var(--section-bg);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-color);
}

.donation-summary .summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.95rem;
}

.donation-summary .summary-row.total {
  border-top: 2px solid var(--border-color);
  margin-top: 10px;
  padding-top: 14px;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

/* Donation Success Screen */
.donation-success {
  text-align: center;
  padding: 40px 20px;
}

.donation-success .success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(46, 125, 50, 0.1);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  animation: pulse 1.5s ease infinite;
}

.donation-success h3 {
  margin-bottom: 12px;
}

.donation-success .receipt-number {
  font-family: monospace;
  font-size: 1.1rem;
  background-color: var(--section-bg);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin: 12px 0;
}

/* Donation Failure Screen */
.donation-failure {
  text-align: center;
  padding: 40px 20px;
}

.donation-failure .failure-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(232, 111, 81, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

/* ==========================================================================
   30. Privacy / Terms Content Pages
   ========================================================================== */

.content-page {
  max-width: 800px;
  margin: 0 auto;
}

.content-page h2 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
}

.content-page h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.content-page p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.content-page ul,
.content-page ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-page li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.content-page a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content-page a:hover {
  color: var(--primary-light);
}

.content-page strong {
  color: var(--text-dark);
}

.content-page .last-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 2rem;
}

/* ==========================================================================
   31. 404 Page
   ========================================================================== */

.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.error-page .error-code {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  opacity: 0.12;
  margin-bottom: 0;
}

.error-page h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.error-page p {
  font-size: 1.05rem;
  max-width: 450px;
  margin: 0 auto 2rem;
}

.error-page .error-illustration {
  max-width: 280px;
  margin: 0 auto 2rem;
}

.error-page .error-illustration img {
  width: 100%;
}

/* ==========================================================================
   32. Utilities
   ========================================================================== */

.text-primary-custom { color: var(--primary) !important; }
.text-secondary-custom { color: var(--secondary) !important; }
.text-accent { color: var(--accent) !important; }
.text-success-custom { color: var(--success) !important; }
.text-dark-custom { color: var(--text-dark) !important; }
.text-muted-custom { color: var(--text-muted) !important; }

.bg-primary-custom { background-color: var(--primary) !important; color: #fff !important; }
.bg-primary-dark { background-color: var(--primary-dark) !important; color: #fff !important; }
.bg-primary-light { background-color: var(--primary-light) !important; color: #fff !important; }
.bg-secondary-custom { background-color: var(--secondary) !important; color: var(--primary-dark) !important; }
.bg-accent { background-color: var(--accent) !important; color: #fff !important; }
.bg-section { background-color: var(--section-bg) !important; }

.border-primary-custom { border-color: var(--primary) !important; }
.border-secondary-custom { border-color: var(--secondary) !important; }
.border-accent { border-color: var(--accent) !important; }

.font-heading { font-family: var(--font-heading) !important; }
.font-body { font-family: var(--font-body) !important; }

.shadow-custom { box-shadow: var(--shadow-sm) !important; }
.shadow-custom-md { box-shadow: var(--shadow-md) !important; }
.shadow-custom-lg { box-shadow: var(--shadow-lg) !important; }

.rounded-custom { border-radius: var(--radius-sm) !important; }
.rounded-custom-md { border-radius: var(--radius-md) !important; }
.rounded-custom-lg { border-radius: var(--radius-lg) !important; }

.gap-sm { gap: 8px !important; }
.gap-md { gap: 16px !important; }
.gap-lg { gap: 32px !important; }

/* ==========================================================================
   33. Animations & Keyframes
   ========================================================================== */

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Scroll Reveal Animations */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1;
  transform: translate(0, 0);
}

/* Fade In Up */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Delays for Child Elements */
.stagger-children > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(7) { transition-delay: 0.35s; }
.stagger-children > *:nth-child(8) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(9) { transition-delay: 0.45s; }
.stagger-children > *:nth-child(10) { transition-delay: 0.5s; }

/* ==========================================================================
   34. Reduced Motion
   ========================================================================== */

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

  .reveal,
  .reveal-left,
  .reveal-right,
  .fade-in-up {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .page-loader {
    display: none !important;
  }

  .hero-section .hero-content h1,
  .hero-section .hero-content p,
  .hero-section .hero-buttons {
    opacity: 1;
    animation: none;
  }
}

/* ==========================================================================
   35. Scroll-to-Top Button
   ========================================================================== */

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background-color: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   36. Accessibility
   ========================================================================== */

/* Skip to Content Link */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 16px;
  background-color: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 99999;
  transition: top 0.3s ease;
  text-decoration: none;
}

.skip-to-content:focus {
  top: 0;
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
}

/* Focus Visible Outlines */
*:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
}

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

/* High Contrast Mode Support */
@media (forced-colors: active) {
  .btn-primary-custom,
  .btn-accent,
  .btn-secondary-custom {
    border: 2px solid ButtonText;
  }

  .card-custom {
    border: 2px solid ButtonText;
  }
}

/* ==========================================================================
   36B. Page Header Component
   ========================================================================== */

.page-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 90px 0 50px;
  position: relative;
  overflow: hidden;
}

.page-header .page-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.page-header .page-description {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.page-header .page-header-content {
  padding: 20px 0;
}

.page-header .breadcrumb {
  justify-content: center;
  background: transparent;
  margin-bottom: 0;
}

.page-header .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb-item.active {
  color: #fff;
}

.page-header-impact,
.page-header-gallery,
.page-header-about {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

/* ==========================================================================
   36C. Button & Hover Utilities
   ========================================================================== */

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.bg-primary-soft {
  background-color: rgba(27, 73, 101, 0.08) !important;
  color: var(--primary) !important;
}

/* ==========================================================================
   36D. Focus Areas / Involve Cards (Home)
   ========================================================================== */

.focus-card,
.involve-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid var(--border-color);
}

.focus-card:hover,
.involve-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.focus-icon,
.involve-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  transition: var(--transition);
}

.focus-card:hover .focus-icon,
.involve-card:hover .involve-icon {
  transform: scale(1.08) rotate(-6deg);
}

/* ==========================================================================
   36E. Impact Boxes (Home stats)
   ========================================================================== */

.impact-box .impact-icon {
  color: var(--secondary);
  font-size: 2.2rem;
}

.counter-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--secondary);
  line-height: 1.2;
}

.text-accent-soft {
  color: var(--accent);
  opacity: 0.85;
}

/* ==========================================================================
   36F. Video Items (Home + Videos page)
   ========================================================================== */

.video-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.video-item .video-thumbnail img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.video-item:hover .video-thumbnail img {
  transform: scale(1.06);
}

.video-item .video-overlay {
  background: rgba(22, 33, 62, 0.4);
  transition: var(--transition);
}

.video-item:hover .video-overlay {
  background: rgba(22, 33, 62, 0.6);
}

.play-video-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.95);
  border: none;
  color: var(--primary);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.video-item:hover .play-video-btn {
  background-color: var(--accent);
  color: #fff;
  transform: scale(1.1);
}

.video-item .video-info {
  padding: 16px 4px;
}

.video-item .video-info h5 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.video-item .video-info .badge {
  background-color: rgba(27, 73, 101, 0.1);
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
}

.video-item .video-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   36G. Contact Info (Home)
   ========================================================================== */

.contact-info-list .contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

/* ==========================================================================
   36H. Timeline aliases (about page)
   ========================================================================== */

.timeline-item .timeline-badge {
  position: absolute;
  top: 0;
  left: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--primary);
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  color: var(--primary);
  font-size: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-item:nth-child(odd) .timeline-badge {
  right: -8px;
  left: auto;
}

.timeline-item .timeline-panel {
  background-color: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.timeline-item .timeline-panel:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.timeline-item .timeline-heading h5 {
  margin-bottom: 4px;
}

.timeline-item .timeline-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   36I. Team & Advisory Cards (about page)
   ========================================================================== */

.team-overlay {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  transition: opacity 0.3s ease;
}

.team-card .team-overlay h6 {
  font-size: 0.95rem;
}

.advisory-card .card-body h6 {
  font-size: 0.85rem;
}

/* ==========================================================================
   36J. Impact Page
   ========================================================================== */

.impact-stats-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 80px 0;
  color: #fff;
}

.impact-stat-card {
  padding: 28px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

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

.impact-stat-icon {
  color: var(--secondary);
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.impact-stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 8px;
}

.impact-stat-number .counter {
  color: var(--secondary);
}

.impact-stat-number .placeholder-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.impact-stat-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.impact-stat-description {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  margin-bottom: 0;
}

.impact-areas-section .why-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
  transition: var(--transition);
}

.impact-areas-section .why-card:hover .why-card-icon {
  transform: scale(1.08) rotate(-6deg);
}

/* Approach Section */
.approach-section .approach-intro h3 {
  margin-bottom: 16px;
}

.approach-section .approach-intro p {
  color: var(--text-muted);
}

.approach-point {
  padding: 24px;
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.approach-point:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.approach-point-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.approach-point h5 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.approach-point p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}

.cta-section .cta-content h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta-section .cta-content p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto 28px;
}

/* Section Header */
.section-header .section-title {
  margin-bottom: 12px;
}

.section-dark {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
}

.section-dark .section-title {
  color: #fff;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   36K. Gallery Filter Section
   ========================================================================== */

.gallery-filter-section {
  padding: 40px 0 0;
}

/* ==========================================================================
   36L. Donation Page
   ========================================================================== */

.donation-progress {
  margin-bottom: 2rem;
}

.donation-progress .progress-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}

.donation-progress .progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 160px;
  text-align: center;
}

.donation-progress .progress-step .step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--section-bg);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
  z-index: 2;
  background-color: #fff;
}

.donation-progress .progress-step.active .step-number {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.donation-progress .progress-step .step-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.donation-progress .progress-step.active .step-label {
  color: var(--primary);
  font-weight: 600;
}

.donation-progress .progress-bar-line {
  height: 3px;
  background-color: var(--border-color);
  border-radius: 3px;
  position: relative;
  margin-top: -20px;
  z-index: 1;
}

.donation-progress .progress-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
  transition: width 0.4s ease;
}

.donation-step {
  display: none;
}

.donation-step.active {
  display: block;
}

.donation-amounts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.amount-btn {
  padding: 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-dark);
}

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

.amount-btn.active {
  border-color: var(--primary);
  background-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.donation-success-card {
  background-color: var(--section-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
}

.donation-success-card .success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(46, 125, 50, 0.1);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.payment-notice {
  background-color: var(--section-bg);
}

.payment-notice h5 {
  color: var(--primary);
}

/* ==========================================================================
   36M. Document Cards (Legal)
   ========================================================================== */

.document-card {
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.document-card .document-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin: 0 auto;
  background: rgba(232, 111, 81, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
}

.document-card .document-actions .btn {
  padding: 6px 16px;
  font-size: 0.85rem;
}

.document-card .document-pending {
  font-size: 0.85rem;
}

/* ==========================================================================
   36N. Policy Pages
   ========================================================================== */

.policy-content {
  max-width: 820px;
  margin: 0 auto;
}

.policy-list {
  padding-left: 1.5rem;
}

.policy-list li {
  margin-bottom: 0.6rem;
  line-height: 1.7;
}

/* ==========================================================================
   36O. 404 Error Page
   ========================================================================== */

.error-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.error-section .error-content .error-code {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 15vw, 9rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  opacity: 0.12;
  margin-bottom: 0;
}

/* ==========================================================================
   36P. Misc Missing Components
   ========================================================================== */

/* Honeypot spam-trap field */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* Contact info wrapper (contact.php) */
.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Video caption overlay (home index.php) */
.video-caption {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 16px;
}

/* Video placeholder when URL not available (videos.php) */
.video-placeholder-notice {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(22, 33, 62, 0.5);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 0.85rem;
}

/* Gallery section wrapper (videos.php) */
.gallery-section {
  padding: 60px 0;
}

/* Gallery overlay content (gallery.php) */
.gallery-overlay-content {
  text-align: center;
}

.gallery-overlay-content .gallery-item-title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.gallery-overlay-content .gallery-item-category {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 500;
}

.gallery-overlay-content .zoom-icon {
  display: block;
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.gallery-item:hover .zoom-icon {
  transform: scale(1.15);
}

/* ==========================================================================
   37. Responsive Breakpoints Utility
   ========================================================================== */

@media (max-width: 1199.98px) {
  .section-padding {
    padding: 60px 0;
  }
}

@media (max-width: 991.98px) {
  .section-padding {
    padding: 50px 0;
  }

  .hero-section {
    min-height: 80vh;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 40px 0;
  }

  .hero-section {
    min-height: 75vh;
  }

  .hero-section .hero-content h1 {
    font-size: 2rem;
  }

  .hero-section .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-section .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .impact-section .stat-box {
    margin-bottom: 16px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .donation-steps {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .donation-steps .step::after {
    display: none;
  }

  .payment-methods {
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .hero-section .hero-content h1 {
    font-size: 1.6rem;
  }

  .amount-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .doc-card {
    flex-direction: column;
    text-align: center;
  }

  .doc-card .doc-actions {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   38. Gallery Lightbox
   ========================================================================== */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.is-active {
  display: flex;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.lightbox-caption {
  text-align: center;
  color: #fff;
  margin-top: 1rem;
}

.lightbox-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.lightbox-category {
  font-size: 0.85rem;
  opacity: 0.7;
  display: block;
  margin-bottom: 0.5rem;
}

.lightbox-counter {
  font-size: 0.8rem;
  opacity: 0.5;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   39. Filter Buttons (Gallery & Video Pages)
   ========================================================================== */

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  border-radius: 50rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

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

.filter-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(27, 73, 101, 0.3);
}

/* ==========================================================================
   40. Header Navigation Bridge (aligns HTML classes with design)
   ========================================================================== */

.main-header .nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.main-header .nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.main-header .nav-logo img {
  height: 52px;
  width: auto;
  transition: var(--transition);
}

.main-header.scrolled .nav-logo img {
  height: 44px;
}

.main-header .logo-text,
.main-header .nav-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  transition: var(--transition);
}

.main-header.scrolled .logo-text,
.main-header.scrolled .nav-logo .logo-text {
  color: var(--primary);
}

.main-header .nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-heading);
}

.main-header .nav-item {
  position: relative;
}

.main-header .nav-item .nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
}

.main-header .nav-link:hover {
  background-color: rgba(27, 73, 101, 0.06);
}

.main-header .nav-link.active {
  font-weight: 600;
  border-bottom: 2px solid var(--primary);
  border-radius: 0;
  padding-bottom: 6px;
}

.main-header .dropdown-menu {
  top: 100%;
  left: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 8px;
  min-width: 220px;
}

.main-header .dropdown-menu .dropdown-item {
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.9rem;
  font-family: var(--font-body);
}

.main-header .dropdown-menu .dropdown-item:hover {
  background-color: var(--section-bg);
  color: var(--primary);
}

.main-header .btn-accent {
  margin-left: 8px;
  white-space: nowrap;
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.main-header .btn-accent:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

/* ── Mobile Toggle (hamburger) ── */
.main-header .mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  z-index: 1100;
}

.main-header .mobile-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.main-header.scrolled .mobile-toggle span {
  background-color: var(--primary);
}

.main-header .mobile-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.main-header .mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.main-header .mobile-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu state */
@media (max-width: 991.98px) {
  .main-header .mobile-toggle {
    display: flex;
  }

  .main-header .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background-color: #fff;
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 90px 20px 30px 20px;
    overflow-y: auto;
    transition: right 0.4s ease;
    z-index: 1050;
  }

  .main-header.nav-active .nav-menu,
  .main-header .nav-menu.nav-active {
    right: 0;
  }

  .main-header .nav-item {
    width: 100%;
  }

  .main-header .nav-item .nav-link {
    color: var(--text-dark) !important;
    display: block;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
  }

  .main-header .nav-item .nav-link.active {
    color: var(--text-dark) !important;
    font-weight: 600;
    border-bottom: 2px solid var(--primary);
    background-color: var(--section-bg);
  }

  .main-header .dropdown-menu {
    position: static !important;
    box-shadow: none;
    border: none;
    padding-left: 16px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .main-header .dropdown-menu.show {
    display: block;
  }

  .main-header .btn-accent {
    width: 100%;
    margin: 16px 0 0 0;
    text-align: center;
  }
}

/* ==========================================================================
   40b. Navbar & Dropdown — Final (authoritative fix)
   Single clean source of truth for desktop dropdown behaviour.
   Replaces the conflicting rules in Section 6 / Section 40 above.
   ========================================================================== */

@keyframes navFadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Dropdown parent is the positioning context */
.main-header .nav-item.dropdown {
  position: relative;
}

/* Top-level link: underline-only hover (no rounded pill background) */
.main-header .nav-item .nav-link,
.main-header .nav-link {
  position: relative;
  padding: 8px 14px;
  border-radius: 0;
  background: transparent;
}

/* Underline — full width, animated on hover; persistent for active item */
.main-header .nav-menu .nav-link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s ease;
}

.main-header .nav-menu .nav-link.active::after {
  transform: scaleX(1);
}

@media (min-width: 992px) {
  .main-header .nav-menu .nav-link:hover::after,
  .main-header .nav-menu .nav-item.dropdown:hover > .nav-link::after {
    transform: scaleX(1);
  }
}

/* Remove old hover pill tint entirely */
.main-header .nav-link:hover {
  background-color: transparent;
  color: var(--text-dark);
}

/* Active item: bold + persistent underline, no background, no border-bottom shift */
.main-header .nav-link.active {
  font-weight: 600;
  background-color: transparent;
  border-bottom: 0;
  padding-bottom: 8px;
}

/* Disable Bootstrap's default caret (we render our own .caret span) */
.main-header .nav-menu .dropdown-toggle::after {
  display: none;
  border: 0;
}

/* Dropdown caret indicator */
.main-header .dropdown-toggle .caret::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s ease;
}

@media (min-width: 992px) {
  .main-header .nav-item.dropdown:hover > .dropdown-toggle .caret::before {
    transform: rotate(225deg) translateY(2px);
  }
}

/* ── Dropdown panel: clean white card, absolutely positioned under parent ── */
.main-header .nav-menu .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 2000;
  width: max-content;
  min-width: 200px;
  max-width: min(300px, 90vw);
  margin: 0;                 /* no gap — cursor can travel into the menu */
  padding: 8px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;       /* rounded container only, items stay square */
  box-shadow: 0 14px 30px rgba(20, 40, 60, 0.16);
  list-style: none;
  display: none;             /* shown via :hover / .open below */
}

/* Open triggers: desktop hover on parent, or programmatic .open class */
.main-header .nav-item.dropdown.open > .dropdown-menu {
  display: block;
  animation: navFadeDown 0.22s ease;
}

@media (min-width: 992px) {
  .main-header .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    animation: navFadeDown 0.22s ease;
  }
}

/* Dropdown items — clean rows, no per-item rounding, no wrap */
.main-header .nav-menu .dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-dark);
  white-space: nowrap;
  border-radius: 0;
  border-left: 3px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease,
              border-left-color 0.18s ease, padding-left 0.18s ease;
}

.main-header .nav-menu .dropdown-menu .dropdown-item:hover {
  background-color: var(--section-bg);
  color: var(--primary);
  border-left-color: var(--secondary);
  padding-left: 20px;
}

.main-header .nav-menu .dropdown-menu .dropdown-item.active {
  color: var(--primary);
  border-left-color: var(--primary);
  font-weight: 600;
}

/* ==========================================================================
   41. Section Tag & Icon Box (home page helpers)
   ========================================================================== */

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary-dark);
  background: rgba(212, 168, 83, 0.12);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-tag.text-light {
  color: var(--secondary);
  background: rgba(255, 255, 255, 0.1);
}

.icon-box {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(27, 73, 101, 0.08);
  color: var(--primary);
  font-size: 1.15rem;
  transition: var(--transition);
}

.icon-box:hover {
  background: var(--primary);
  color: #fff;
}

/* ==========================================================================
   42. Home — Donation CTA Banner
   ========================================================================== */
.donate-cta-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1a3a52 100%);
}

.donate-cta-bg {
  position: absolute;
  inset: 0;
  background: url('../images/donate-bg.svg') center/cover no-repeat;
  opacity: 0.10;
}

.donate-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fff;
  margin-bottom: 24px;
}

.donate-cta-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.donate-cta-title span {
  color: var(--secondary);
}

.donate-cta-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.donate-amount-highlight {
  margin-bottom: 32px;
}

.donate-amount-highlight .amount-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  background: rgba(255, 255, 255, 0.10);
  border: 2px solid var(--secondary);
  border-radius: 16px;
  padding: 14px 36px;
  margin-bottom: 12px;
}

.donate-amount-highlight .currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--secondary);
}

.donate-amount-highlight .amount {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.donate-amount-highlight .amount-desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  margin: 0;
}

.donate-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.btn-donate-now {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 60px;
  border: none;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(232, 111, 81, 0.4);
}

.btn-donate-now:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232, 111, 81, 0.55);
}

.btn-donate-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 60px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: var(--transition);
}

.btn-donate-custom:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.donate-trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.donate-trust-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  font-weight: 500;
}

.donate-trust-badges span i {
  color: var(--secondary);
  font-size: 0.9rem;
}

@media (max-width: 767.98px) {
  .donate-cta-section {
    padding: 50px 0;
  }

  .donate-cta-title {
    font-size: 1.9rem;
  }

  .donate-amount-highlight .amount-badge {
    padding: 10px 26px;
  }

  .donate-amount-highlight .amount {
    font-size: 2.2rem;
  }

  .btn-donate-now {
    font-size: 1rem;
    padding: 14px 32px;
  }

  .btn-donate-custom {
    font-size: 0.9rem;
    padding: 12px 24px;
  }

  .donate-trust-badges {
    gap: 16px;
  }
}

/* ==========================================================================
   43. Print Styles
   ========================================================================== */
@media print {
  .main-header,
  .scroll-to-top,
  .page-loader,
  .hero-section .hero-buttons,
  .donation-cta,
  .involved-cta,
  .main-footer {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .section-padding {
    padding: 20px 0;
  }

  .card-custom {
    border: 1px solid #ccc;
    box-shadow: none;
    break-inside: avoid;
  }
}
