/* ==========================================================================
   DESIGN SYSTEM & CORE CONFIGURATIONS
   ========================================================================== */
:root {
  /* Colors - Logo Based Combination */
  --primary: #0b2d54;
  --primary-rgb: 11, 45, 84;
  --secondary: #2b8a3e;
  --secondary-rgb: 43, 138, 62;
  --secondary-light: #37a94f;
  --accent: #f39c12;
  --accent-hover: #d35400;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --text-dark: #1a2530;
  --text-muted: #606f7b;

  /* Glassmorphism Accents */
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-bg-hover: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.35);
  --glass-blur: blur(12px);

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(13, 59, 102, 0.05);
  --shadow-md: 0 8px 24px rgba(13, 59, 102, 0.08);
  --shadow-lg: 0 16px 40px rgba(13, 59, 102, 0.12);
  --shadow-hover: 0 20px 48px rgba(13, 59, 102, 0.18);

  /* Borders & Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --border-thin: 1px solid rgba(13, 59, 102, 0.08);

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Base resets & document configuration */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

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

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

/* ==========================================================================
   GLOBAL UTILITIES
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 12px;
  text-transform: capitalize;
  position: relative;
  display: block;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(244, 162, 97, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: var(--bg-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(231, 111, 81, 0.4);
}

.btn-secondary {
  background-color: var(--primary);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(13, 59, 102, 0.2);
}

.btn-secondary:hover {
  background-color: var(--secondary-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(5, 102, 141, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  transform: translateY(-3px);
}

/* Glassmorphism Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary); /* Deep Blue for high contrast on light backgrounds */
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.badge-accent {
  color: var(--accent) !important; /* Orange highlight from the logo tree */
  border-color: rgba(243, 156, 18, 0.35) !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.badge-light {
  color: var(--bg-white) !important; /* Pure White */
  border-color: rgba(255, 255, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

/* ==========================================================================
   BENTO GRID LAYOUT SYSTEM
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

/* Bento Card styling */
.bento-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: var(--border-thin);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

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

/* Glassmorphic Bento Variant */
.bento-card.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

.bento-card.glass:hover {
  background: var(--glass-bg-hover);
  box-shadow: var(--shadow-lg);
}

/* Asymmetric Column / Row Span Helper Classes */
.span-12 {
  grid-column: span 12;
}
.span-8 {
  grid-column: span 8;
}
.span-7 {
  grid-column: span 7;
}
.span-6 {
  grid-column: span 6;
}
.span-5 {
  grid-column: span 5;
}
.span-4 {
  grid-column: span 4;
}
.span-3 {
  grid-column: span 3;
}

.row-2 {
  grid-row: span 2;
}
.row-3 {
  grid-row: span 3;
}

/* Bento Interior Layouts */
.bento-card.flex-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card.center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Bento Card Decorative Blobs */
.bento-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(244, 162, 97, 0.05) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  pointer-events: none;
  transition: var(--transition-smooth);
}

.bento-card:hover::before {
  transform: scale(1.2);
}

/* Page Banner (Bento Style) */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #082542 100%);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  border: var(--border-thin);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}

.page-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 80%;
  height: 150%;
  background: radial-gradient(
    circle,
    rgba(43, 138, 62, 0.15) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  pointer-events: none;
}

.page-banner::after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -50%;
  width: 80%;
  height: 150%;
  background: radial-gradient(
    circle,
    rgba(243, 156, 18, 0.1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  pointer-events: none;
}

.banner-title {
  font-size: 2.8rem;
  color: var(--bg-white);
  margin-top: 8px;
  margin-bottom: 12px;
}

.banner-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.page-header-section {
  margin-top: 130px;
  padding-bottom: 20px;
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  /* border-radius: var(--radius-lg); */
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.logo-wrapper:hover .logo-img {
  transform: scale(1.05);
}

.logo-icon {
  font-size: 1.8rem;
  color: var(--primary);
  background: var(--accent);
  padding: 6px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.logo-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.logo-title {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.logo-subtitle {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  padding: 8px 12px;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 3px;
  background-color: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-hover);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.active {
  color: var(--accent);
}

.nav-cta {
  margin-left: 12px;
}

/* Hamburger mobile menu button */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Animated toggle state */
.menu-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================================================
   PAGE: INDEX (HOME)
   ========================================================================== */
.hero-wrapper {
  margin-top: 35px;
}

/* Custom Bento adjustments for Hero */
.hero-intro {
  background: linear-gradient(135deg, var(--primary) 0%, #082542 100%);
  color: var(--bg-white);
  position: relative;
  z-index: 1;
}

.hero-intro h1 {
  color: var(--bg-white);
  font-size: 3.2rem;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-intro h1 span {
  color: var(--accent);
}

.hero-intro p {
  font-size: 1.15rem;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
}

.hero-intro::after {
  content: "";
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(244, 162, 97, 0.15) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  z-index: -1;
  pointer-events: none;
}

/* Full Hero Carousel styles */
.hero-carousel-card {
  height: 520px;
  position: relative;
  padding: 0 !important;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 60px 80px;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-content {
  max-width: 650px;
  color: var(--bg-white);
  transform: translateY(20px);
  opacity: 0;
  transition:
    transform 0.8s ease,
    opacity 0.8s ease;
  transition-delay: 0.4s;
  z-index: 3;
}

.carousel-slide.active .carousel-content {
  transform: translateY(0);
  opacity: 1;
}

.carousel-content h1 {
  color: var(--bg-white);
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
}

.carousel-content h1 span {
  color: var(--accent);
}

.carousel-content p {
  font-size: 1.15rem;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--bg-white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.carousel-control:hover {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

.carousel-control.prev {
  left: 24px;
}

.carousel-control.next {
  right: 24px;
}

.carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* Bento Stats Grid */
.stat-card {
  text-align: center;
}

.stat-icon {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 16px;
  background: rgba(244, 162, 97, 0.1);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stat-card.green-accent .stat-icon {
  color: var(--secondary-light);
  background: rgba(5, 102, 141, 0.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Latest highlights / Callouts */
.highlight-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(13, 59, 102, 0.06);
  padding-bottom: 16px;
}

.highlight-tag {
  background: rgba(243, 156, 18, 0.1);
  color: var(--accent-hover);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(243, 156, 18, 0.25);
  letter-spacing: 0.5px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.pulse-dot::after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: var(--accent);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  animation: pulse-ring 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 1;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.highlight-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  flex-grow: 1;
  position: relative;
  padding-left: 24px; /* Space on the left for the timeline line */
}

/* Vertical Timeline Track Line */
.highlight-list::before {
  content: "";
  position: absolute;
  left: 6px; /* Center of the 10px timeline dot */
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, rgba(13, 59, 102, 0.15) 0%, rgba(13, 59, 102, 0.04) 100%);
  z-index: 1;
}

.highlight-item {
  display: flex;
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

/* Timeline Node Dot */
.highlight-item::before {
  content: "";
  position: absolute;
  left: -24px; /* Align with the vertical line */
  top: 8px; /* Align with the text header line */
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid var(--accent);
  z-index: 3;
  transition: var(--transition-smooth);
  box-shadow: 0 0 0 3px var(--bg-white); /* Mask the track line around the dot */
}

.highlight-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.highlight-content h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--primary);
  transition: var(--transition-fast);
  line-height: 1.3;
}

.highlight-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Hover effects for item interaction */
.highlight-item:hover::before {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.3);
  box-shadow: 0 0 0 3px var(--bg-white), 0 4px 10px rgba(11, 45, 84, 0.25);
}

.highlight-item:hover .highlight-content h4 {
  color: var(--secondary-light);
}

/* ==========================================================================
   PAGE: ABOUT US
   ========================================================================== */
.about-bento-grid {
  margin-top: 40px;
}

.about-intro-text {
  font-size: 1.1rem;
  color: var(--text-dark);
}

.story-footer {
  margin-top: auto; /* Push to bottom in flex layout */
  padding-top: 24px;
  border-top: 1px dashed rgba(13, 59, 102, 0.12);
}

.story-quote {
  display: flex;
  gap: 12px;
  background: rgba(13, 59, 102, 0.03);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent);
}

.story-quote i {
  color: var(--accent);
  font-size: 1.2rem;
  margin-top: 2px;
}

.story-quote p {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--primary);
  line-height: 1.45;
  margin-bottom: 0 !important;
}

.values-title {
  font-size: 1.8rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.value-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: 1px solid rgba(13, 59, 102, 0.06);
  border-left: 4px solid var(--secondary);
  box-shadow: 0 4px 12px rgba(13, 59, 102, 0.02);
  transition: var(--transition-smooth);
}

.value-item:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 8px 24px rgba(13, 59, 102, 0.08);
}

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.value-info {
  flex: 1;
}

.value-info h4 {
  margin-bottom: 4px;
  font-size: 1.1rem;
  color: var(--primary);
  display: flex;
  align-items: center;
}

.value-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.margin-top {
  margin-top: 18px;
}

.trustee-section {
  background: linear-gradient(
    180deg,
    var(--bg-light) 0%,
    rgba(13, 59, 102, 0.03) 100%
  );
  padding: 80px 0;
}

.trustee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.trustee-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: var(--border-thin);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

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

.trustee-img-box {
  position: relative;
  overflow: hidden;
  height: 320px;
}

.trustee-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.trustee-card:hover .trustee-img {
  transform: scale(1.05);
}

.trustee-info {
  padding: 24px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.trustee-name {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.trustee-role {
  font-size: 0.85rem;
  color: var(--accent-hover);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.trustee-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.trustee-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.trustee-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(13, 59, 102, 0.05);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.trustee-social-link:hover {
  background: var(--primary);
  color: var(--bg-white);
}

/* ==========================================================================
   PAGE: GALLERY (EVENT SHOWCASE)
   ========================================================================== */
.gallery-filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  background: var(--bg-white);
  border: var(--border-thin);
  border-radius: 50px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--bg-white);
  border-color: var(--primary);
}

/* Gallery Bento Masonry Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.gallery-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
  cursor: pointer;
  background: var(--bg-white);
}

.gallery-img-box {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(13, 59, 102, 0) 40%,
    rgba(13, 59, 102, 0.95) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition-smooth);
}

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

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

.gallery-tag {
  align-self: flex-start;
  padding: 4px 10px;
  background: var(--accent);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 8px;
}

.gallery-title {
  color: var(--bg-white);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.gallery-date {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Gallery row height variants */
.height-1 {
  height: 260px;
}
.height-2 {
  height: 420px;
}
.height-3 {
  height: 540px;
}

/* Lightbox Styling */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 59, 102, 0.95);
  backdrop-filter: blur(15px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.lightbox-caption {
  color: var(--bg-white);
  margin-top: 20px;
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: var(--bg-white);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--accent);
}

/* ==========================================================================
   PAGE: DONATION PORTAL
   ========================================================================== */
.donation-grid {
  margin-top: 40px;
}

.donation-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.benefit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.04);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-smooth);
}

.benefit-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
  font-size: 1.3rem;
  color: var(--secondary-light);
  background: rgba(5, 102, 141, 0.1);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px; /* Align icon with h4 first line */
}

.benefit-text {
  flex: 1;
}

.benefit-text h4 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.benefit-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.donation-form-wrapper {
  background: var(--bg-white);
}

.amount-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.amount-btn {
  padding: 14px 10px;
  background: var(--bg-light);
  border: var(--border-thin);
  border-radius: var(--radius-md);
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
}

.amount-btn:hover {
  background: rgba(13, 59, 102, 0.05);
}

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

.custom-amount-wrapper {
  position: relative;
  margin-bottom: 24px;
}

.currency-symbol {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
}

.custom-amount-input {
  width: 100%;
  padding: 16px 20px 16px 40px;
  border: var(--border-thin);
  border-radius: var(--radius-md);
  background: var(--bg-light);
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  outline: none;
  transition: var(--transition-fast);
}

.custom-amount-input:focus {
  border-color: var(--accent);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.15);
}

/* Checkout inputs & selection */
.donor-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.col-span-2 {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: var(--border-thin);
  border-radius: var(--radius-md);
  background: var(--bg-light);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(13, 59, 102, 0.1);
}

.donation-summary {
  background: rgba(18, 78, 63, 0.05);
  border: 1px dashed var(--secondary);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-title {
  font-weight: 600;
  color: var(--secondary);
}

.summary-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
  font-family: "Poppins", sans-serif;
}

/* ==========================================================================
   PAGE: CONTACT US
   ========================================================================== */
.contact-grid {
  margin-top: 40px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto; /* Push to bottom in flex layout to align heights */
  padding-top: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--bg-white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(13, 59, 102, 0.05);
  box-shadow: 0 4px 12px rgba(13, 59, 102, 0.01);
  transition: var(--transition-smooth);
}

.contact-info-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 59, 102, 0.1);
}

.contact-icon {
  font-size: 1.25rem;
  color: var(--primary);
  background: rgba(11, 45, 84, 0.08);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.contact-info-item:hover .contact-icon {
  background: var(--primary);
  color: var(--bg-white);
  transform: scale(1.05);
}

.contact-info-item.accent-icon .contact-icon {
  background: rgba(43, 138, 62, 0.08);
  color: var(--secondary);
}

.contact-info-item.accent-icon:hover .contact-icon {
  background: var(--secondary);
  color: var(--bg-white);
}

.contact-info-item.orange-icon .contact-icon {
  background: rgba(243, 156, 18, 0.08);
  color: var(--accent-hover);
}

.contact-info-item.orange-icon:hover .contact-icon {
  background: var(--accent);
  color: var(--primary);
}

.contact-details {
  flex: 1;
}

.contact-details h4 {
  font-size: 1rem;
  margin-bottom: 2px;
  color: var(--primary);
}

.contact-details p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.contact-details a:hover {
  color: var(--accent-hover);
}

.contact-form-card {
  background: var(--bg-white);
  padding: 35px;
}

/* Form input improvements */
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.btn-secondary i {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-secondary:hover i {
  transform: translate(4px, -4px);
}

/* Feedback messages styling */
.alert {
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.alert-success {
  background-color: rgba(18, 78, 63, 0.1);
  color: var(--secondary);
  border: 1px solid rgba(18, 78, 63, 0.2);
}

.alert-error {
  background-color: rgba(231, 111, 81, 0.1);
  color: var(--accent-hover);
  border: 1px solid rgba(231, 111, 81, 0.2);
}

/* Map area styling */
.map-container {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--border-thin);
  box-shadow: var(--shadow-md);
  height: 400px;
}

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

/* ==========================================================================
   GLOBAL FOOTER
   ========================================================================== */
.footer {
  background: linear-gradient(135deg, var(--primary) 0%, #061e35 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col-about {
  grid-column: span 5;
}

.footer-col-links {
  grid-column: span 3;
  padding-left: 20px;
}

.footer-col-contact {
  grid-column: span 4;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo .logo-title {
  color: var(--bg-white);
}

.footer-logo .logo-icon {
  background: var(--accent);
}

.footer-motto {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 500;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-social-btn:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-col-title {
  color: var(--bg-white);
  font-size: 1.15rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent);
  border-radius: 2px;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-menu-link {
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-menu-link::before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--accent);
  transition: var(--transition-fast);
}

.footer-menu-link:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--accent);
  margin-top: 4px;
}

.footer-contact-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-contact-link:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  text-align: center;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
}

.footer-copyright a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none !important;
  transition: var(--transition-fast);
}

.footer-copyright a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-link {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-link:hover {
  color: var(--accent);
}

.footer-bottom-link:focus,
.footer-copyright a:focus {
  outline: none;
}

/* ==========================================================================
   FLOATING WHATSAPP CHAT WIDGET
   ========================================================================== */
.whatsapp-chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  font-family: "Poppins", sans-serif;
}

/* Floating Toggle Button */
.whatsapp-toggle-btn {
  background-color: #25d366;
  color: var(--bg-white);
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  position: relative;
  transition:
    transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    background-color 0.3s ease;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-toggle-btn:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
}

.whatsapp-toggle-btn:active {
  transform: scale(0.9);
}
.avatar-details h4 {
  color: var(--bg-light);
}

.btn-tooltip {
  position: absolute;
  right: 75px;
  background: var(--primary);
  color: var(--bg-white);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  transform: translateX(10px);
  box-shadow: var(--shadow-sm);
  font-weight: 500;
}

.whatsapp-toggle-btn:hover .btn-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Chat Popup Card */
.whatsapp-popup {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: var(--border-thin);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition:
    opacity 0.3s cubic-bezier(0.165, 0.84, 0.44, 1),
    transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 9998;
}

.whatsapp-popup.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Popup Header */
.popup-header {
  background-color: #075e54;
  padding: 20px;
  color: var(--bg-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-avatar-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-container {
  position: relative;
  width: 40px;
  height: 40px;
}

.avatar-container img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: white;
  padding: 2px;
}

.online-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  background-color: #4ad964;
  border: 2px solid #075e54;
  border-radius: 50%;
}

.avatar-details h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.avatar-details p {
  font-size: 0.75rem;
  margin: 0;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 4px;
}

.avatar-details p i {
  font-size: 0.45rem;
  color: #4ad964;
}

.popup-close-btn {
  background: none;
  border: none;
  color: var(--bg-white);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s ease;
  padding: 0;
  line-height: 1;
}

.popup-close-btn:hover {
  opacity: 1;
}

/* Popup Body */
.popup-body {
  background: #e5ddd5
    url("https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png")
    repeat;
  padding: 20px;
  max-height: 250px;
  overflow-y: auto;
}

.chat-bubble {
  background-color: var(--bg-white);
  padding: 12px 16px;
  border-radius: 0 12px 12px 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  max-width: 90%;
  position: relative;
}

.chat-time {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin: 0 0 4px 0;
  text-align: right;
}

.chat-msg {
  font-size: 0.85rem;
  line-height: 1.45;
  color: #333;
  margin: 0;
}

/* Popup Footer */
.popup-footer {
  background: var(--bg-white);
  padding: 16px 20px;
  text-align: center;
  border-top: var(--border-thin);
}

.whatsapp-chat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #25d366;
  color: var(--bg-white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 50px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.whatsapp-chat-btn:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
}

.whatsapp-chat-btn:active {
  transform: translateY(0);
}

/* Floating WhatsApp Pulse Animation */
@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Mobile responsive widget tweaks */
@media (max-width: 480px) {
  .whatsapp-chat-widget {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-popup {
    width: 300px;
    bottom: 75px;
  }
}

/* ==========================================================================
   CLEAN UTILITY HELPER CLASSES
   ========================================================================== */
.pb-80 {
  padding-bottom: 80px;
}

.pb-40 {
  padding-bottom: 40px !important;
}

.pt-40 {
  padding-top: 40px !important;
}

.bg-light-gradient {
  background: linear-gradient(180deg, var(--bg-light) 0%, rgba(13, 59, 102, 0.04) 100%) !important;
}

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

.mt-40 {
  margin-top: 40px;
}

.mb-12 {
  margin-bottom: 12px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-24 {
  margin-bottom: 24px;
}

.mb-30 {
  margin-bottom: 30px;
}

.text-uppercase {
  text-transform: uppercase;
}

.w-100 {
  width: 100%;
}

.fs-13 {
  font-size: 1.3rem;
}

/* Bento Header Sizes & Color helpers */
.bento-heading-lg {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.bento-heading-md {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--primary);
}

/* Vision & Mission Statement Section (Solid Dark Background Bar) */
.vision-mission-section {
  background-color: var(--primary);
  padding: 80px 0;
  color: var(--bg-white);
  position: relative;
  overflow: hidden;
  border-top: var(--border-thin);
  border-bottom: var(--border-thin);
}

.vision-mission-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(243, 156, 18, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.vision-mission-card {
  display: flex;
  gap: 24px;
  background: rgba(255, 255, 255, 0.04);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-smooth);
}

.vision-mission-card:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.vision-mission-card.vision-theme:hover {
  border-color: rgba(243, 156, 18, 0.3);
}

.vision-mission-card.mission-theme:hover {
  border-color: rgba(55, 169, 79, 0.3);
}

.vision-mission-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

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

.vision-mission-card.vision-theme .card-icon {
  background: var(--accent);
  color: var(--primary);
}

.vision-mission-card.mission-theme .card-icon {
  background: var(--secondary-light);
  color: var(--bg-white);
}

.vision-mission-card .card-content {
  flex: 1;
}

.vision-mission-card .card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}

.vision-mission-card.vision-theme .card-tag {
  color: var(--accent);
}

.vision-mission-card.mission-theme .card-tag {
  color: var(--secondary-light);
}

.vision-mission-card .card-content h3 {
  font-size: 1.5rem;
  color: var(--bg-white);
  margin-bottom: 12px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

.vision-mission-card .card-content p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
}

.bento-heading-sm {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.bento-text-desc {
  color: var(--text-dark);
}

/* Mission Spotlight custom layout class */
.mission-spotlight {
  flex-direction: row !important;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.mission-spotlight-text {
  flex: 1 1 300px;
}

.mission-spotlight-action {
  flex: 0 0 auto;
}

/* About Us Pillars / Values Grid List */
.pillars-card {
  background: linear-gradient(
    135deg,
    rgba(18, 78, 63, 0.02) 0%,
    rgba(13, 59, 102, 0.05) 100%
  );
}

.values-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.value-item.val-primary {
  border-left-color: var(--primary);
}
.value-item.val-primary .value-icon {
  background: rgba(11, 45, 84, 0.08);
  color: var(--primary);
}

.value-item.val-secondary-light {
  border-left-color: var(--secondary-light);
}
.value-item.val-secondary-light .value-icon {
  background: rgba(55, 169, 79, 0.08);
  color: var(--secondary-light);
}

.value-item.val-accent {
  border-left-color: var(--accent);
}
.value-item.val-accent .value-icon {
  background: rgba(243, 156, 18, 0.08);
  color: var(--accent-hover);
}

.value-item.val-secondary {
  border-left-color: var(--secondary);
}
.value-item.val-secondary .value-icon {
  background: rgba(43, 138, 62, 0.08);
  color: var(--secondary);
}

/* Section specific styling classes */
.section-core-work {
  padding: 80px 0;
  background: var(--bg-white);
  border-top: var(--border-thin);
}

/* Initiatives Tint Backgrounds */
.initiative-card {
  border-radius: var(--radius-lg);
  padding: 30px;
}

.initiative-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.initiative-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.green-tint-bg {
  background: rgba(43, 138, 62, 0.03);
}

.blue-tint-bg {
  background: rgba(11, 45, 84, 0.03);
}

.orange-tint-bg {
  background: rgba(243, 156, 18, 0.03);
}

.dual-gradient-bg {
  background: linear-gradient(
    135deg,
    rgba(11, 45, 84, 0.05) 0%,
    rgba(43, 138, 62, 0.05) 100%
  );
}

/* Donation Page custom styles */
.donation-impact-card {
  background: linear-gradient(135deg, var(--secondary) 0%, #0a3026 100%);
  color: var(--bg-white);
}

.donation-impact-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--accent);
}

.donation-impact-card p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  line-height: 1.65;
}

.donation-impact-card .benefit-icon-box {
  background: rgba(255, 255, 255, 0.12) !important;
  color: var(--accent) !important;
  transition: var(--transition-smooth);
}

.donation-impact-card .benefit-item:hover .benefit-icon-box {
  background: var(--accent) !important;
  color: var(--primary) !important;
  transform: scale(1.05);
}

.donation-impact-card .benefit-text h4 {
  color: #ffd166 !important;
  margin-bottom: 4px;
}

.donation-impact-card .benefit-text p {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.85rem;
  line-height: 1.45;
}

.donation-footer-note {
  margin-top: auto; /* Push to bottom in flex column layout */
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent);
  transition: var(--transition-smooth);
}

.donation-footer-note:hover {
  background: rgba(255, 255, 255, 0.08);
}

.donation-footer-note i {
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 2px;
}

.donation-footer-note p {
  font-style: italic;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.45;
  margin-bottom: 0 !important;
}

/* Textarea vertical resize */
textarea.form-control {
  resize: vertical;
}

.text-sm-muted {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-outline-light {
  color: var(--bg-white) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  background: transparent !important;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--bg-white) !important;
}

.carousel-actions .btn + .btn {
  margin-left: 12px;
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: radial-gradient(circle at center, #0c335e 0%, #051629 100%);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.6s;
  opacity: 1;
  visibility: visible;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.preloader-spinner-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preloader-spinner {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top-color: var(--accent);
  border-bottom-color: var(--accent);
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
  box-shadow: 0 0 15px rgba(243, 156, 18, 0.2);
}

.preloader-spinner::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 3px solid transparent;
  border-left-color: var(--secondary-light);
  border-right-color: var(--secondary-light);
  border-radius: 50%;
  animation: spin-reverse 2s linear infinite;
  opacity: 0.8;
}

.preloader-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  animation: pulse-glow 2s ease-in-out infinite;
  z-index: 2;
}

.preloader-text {
  opacity: 0;
  transform: translateY(10px);
  animation: fade-up-text 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
}

.preloader-title {
  font-family: "Poppins", sans-serif;
  color: var(--bg-white);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.preloader-subtitle {
  font-family: "Poppins", sans-serif;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Animations */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes spin-reverse {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.4));
  }
  50% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
  }
}

@keyframes fade-up-text {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   PAGE: SERVICES
   ========================================================================== */
.services-filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.service-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  background: linear-gradient(145deg, #ffffff 0%, #f9fafb 100%);
  border: 1px solid rgba(11, 45, 84, 0.08);
  transition: var(--transition-smooth);
}

/* Category-specific normal and hover states for shadows, scaling and borders */
.service-card.healthcare {
  box-shadow: 0 10px 30px rgba(43, 138, 62, 0.04);
}
.service-card.healthcare:hover {
  transform: translateY(-8px);
  border-color: var(--secondary-light);
  box-shadow: 0 20px 40px rgba(43, 138, 62, 0.15);
}

.service-card.education {
  box-shadow: 0 10px 30px rgba(243, 156, 18, 0.04);
}
.service-card.education:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(243, 156, 18, 0.15);
}

.service-card.empowerment {
  box-shadow: 0 10px 30px rgba(11, 45, 84, 0.04);
}
.service-card.empowerment:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(11, 45, 84, 0.15);
}

.service-card.community {
  box-shadow: 0 10px 30px rgba(108, 117, 125, 0.04);
}
.service-card.community:hover {
  transform: translateY(-8px);
  border-color: var(--text-muted);
  box-shadow: 0 20px 40px rgba(108, 117, 125, 0.15);
}

/* Icon Box Design & Color Tiers */
/* Service Card Index Outline Numbers */
.service-index-number {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 3.8rem;
  font-weight: 800;
  color: rgba(13, 59, 102, 0.03); /* Faint fill color */
  -webkit-text-stroke: 1.5px rgba(13, 59, 102, 0.15); /* More visible stroke */
  user-select: none;
  font-family: "Outfit", "Poppins", sans-serif;
  transition: var(--transition-smooth);
}

.service-card:hover .service-index-number {
  transform: scale(1.05);
  color: rgba(13, 59, 102, 0.05);
  -webkit-text-stroke: 1.5px rgba(13, 59, 102, 0.25);
}

.service-card.healthcare:hover .service-index-number {
  color: rgba(43, 138, 62, 0.06);
  -webkit-text-stroke: 1.5px rgba(43, 138, 62, 0.35);
}

.service-card.education:hover .service-index-number {
  color: rgba(243, 156, 18, 0.06);
  -webkit-text-stroke: 1.5px rgba(243, 156, 18, 0.4);
}

.service-card.empowerment:hover .service-index-number {
  color: rgba(11, 45, 84, 0.06);
  -webkit-text-stroke: 1.5px rgba(11, 45, 84, 0.35);
}

.service-card.community:hover .service-index-number {
  color: rgba(108, 117, 125, 0.06);
  -webkit-text-stroke: 1.5px rgba(108, 117, 125, 0.35);
}

/* Badges styling */
.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
  transition: var(--transition-fast);
}

.service-card.healthcare .service-badge {
  background: rgba(43, 138, 62, 0.08);
  color: var(--secondary);
}
.service-card.education .service-badge {
  background: rgba(243, 156, 18, 0.08);
  color: var(--accent-hover);
}
.service-card.empowerment .service-badge {
  background: rgba(11, 45, 84, 0.08);
  color: var(--primary);
}
.service-card.community .service-badge {
  background: rgba(108, 117, 125, 0.08);
  color: var(--text-muted);
}

/* Title & Description */
.service-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
  letter-spacing: -0.2px;
}

.service-card .text-muted {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Stats Pill box container */
.service-stat-box {
  background: rgba(11, 45, 84, 0.03);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  border: 1px solid rgba(11, 45, 84, 0.04);
  transition: var(--transition-smooth);
}

.service-card:hover .service-stat-box {
  background: var(--bg-white);
  border-color: rgba(11, 45, 84, 0.08);
  box-shadow: var(--shadow-sm);
}

.service-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-top: 0;
}

.service-stat-value {
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 2px;
}

/* Card footer details action */
.service-card-footer {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(11, 45, 84, 0.08);
  padding-top: 18px;
}

.service-card-learn {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.service-card-learn i {
  transition: var(--transition-fast);
}

.service-card:hover .service-card-learn {
  color: var(--secondary-light);
}

.service-card:hover .service-card-learn i {
  transform: translateX(5px);
}

/* Service Detail Modal Styles */
.services-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  background: rgba(11, 45, 84, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.services-modal-content {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 650px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-hover);
  border: var(--border-thin);
  padding: 40px;
  position: relative;
  transform: scale(0.9);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-modal.active .services-modal-content {
  transform: scale(1);
}

.services-modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  line-height: 1;
}

.services-modal-close:hover {
  color: var(--text-dark);
  transform: scale(1.1);
}

.modal-service-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  background: rgba(11, 45, 84, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.modal-service-icon i {
  font-size: 2.2rem;
  color: var(--primary);
}

.modal-badge-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.modal-service-title {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.modal-service-desc {
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 24px;
}

.modal-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  background: var(--bg-light);
  padding: 24px;
  border-radius: var(--radius-md);
  border: var(--border-thin);
  margin-bottom: 30px;
}

.modal-detail-item h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.modal-detail-item p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}

.modal-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.modal-actions .btn {
  flex: 1;
  min-width: 180px;
  justify-content: center;
}
