:root {
  --navy: #123b78;
  --royal: #2563c7;
  --sky: #eaf3ff;
  --line: #cfe0f7;
  --ink: #26364c;
  --accent: #1d4ed8;
  --accent-dark: #123b78;
  --gold: #93c5fd;
  --teal: #2563c7;
  --heading: "Playfair Display", serif;
  --body: "Source Sans Pro", sans-serif;
}
* { box-sizing: border-box; }
html {
  font-size: 19.5px;
  scroll-behavior: smooth;
}
body, .site-body-gradient {
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background-image: url('images/backgrounds/main-bg.jpg');
  background-size: cover;
  background-position: center bottom;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
}
.heading-font { font-family: var(--heading); }
.page-section, .activity-detail { display: none; }
.page-section.active, .activity-detail.active { display: block; animation: fadeIn .45s ease; }
.nav-link {
  color: #323334;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav-link.active,
.nav-link:hover { color: var(--accent); border-bottom-color: var(--accent); }
.mobile-menu { transform: translateX(-100%); transition: transform .28s ease; }
.mobile-menu.open { transform: translateX(0); }
.gallery-item { display: block; animation: fadeUp .4s ease; }
.soft-card {
  border: 1px solid rgba(191, 219, 254, 0.85);
  box-shadow: 0 10px 25px -3px rgba(18, 59, 120, 0.08), 0 4px 10px -2px rgba(18, 59, 120, 0.04);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.soft-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 199, 0.45);
  box-shadow: 0 18px 36px -4px rgba(18, 59, 120, 0.15), 0 8px 16px -3px rgba(18, 59, 120, 0.08);
}
.media-placeholder {
  background: linear-gradient(135deg, #eaf3ff, #f8fbff);
  border: 1px dashed #8fb7e9;
}
.blue-btn, .main-btn {
  background: var(--accent);
  color: #fff;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.blue-btn:hover, .main-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(18, 59, 120, 0.28);
}
.outline-btn {
  border: 1px solid var(--accent);
  color: var(--accent);
  transition: .2s;
}
.outline-btn:hover { background: var(--sky); }
.notice { display: none !important; }
.notice.show {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  padding: 8px 22px;
  background-color: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  animation: fadeIn 0.25s ease;
}
.timeline-line { border-left: 2px solid #8fb7e9; }
.timeline-dot {
  width: 13px;
  height: 13px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  left: -8px;
  top: 7px;
}
.focus-ring:focus-visible, button:focus-visible, a:focus-visible {
  outline: 3px solid #78aeea;
  outline-offset: 3px;
}

.site-header {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(191, 219, 254, 0.7);
  box-shadow: 0 4px 20px -2px rgba(18, 59, 120, 0.08);
}
.donate-header-btn {
  background: var(--accent);
  color: #fff;
  min-width: 110px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: transform .2s ease, background .2s ease;
}
.donate-header-btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.lang-chip {
  border: 1px solid #cfe0f7;
  color: #323334;
  background: #fff;
}
.lang-chip:hover { border-color: var(--accent); color: var(--accent); }

.home-banner-carousel {
  position: relative;
  overflow: hidden;
  background: transparent !important;
  min-height: 480px;
  height: auto;
  display: flex;
  align-items: center;
}
.carousel-track {
  display: none !important;
}
.carousel-slide {
  display: none !important;
}
.carousel-nav,
#carousel-prev,
#carousel-next,
.carousel-dots,
#carousel-dots {
  display: none !important;
}
.carousel-caption {
  position: relative;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 4.5rem 0 3.5rem;
  background: transparent !important;
  backdrop-filter: none !important;
  pointer-events: auto;
  width: 100%;
}
.carousel-caption h2,
.carousel-caption p {
  text-shadow: none !important;
}
.carousel-caption > div { pointer-events: auto; }
.caption-kicker,
#hero-kicker {
  color: #c2410c !important;
  font-weight: 800 !important;
  letter-spacing: 0.18em !important;
  text-shadow: none !important;
}
#hero-title {
  color: #0c234b !important;
  font-weight: 800 !important;
  text-shadow: none !important;
}
#hero-marathi {
  color: #1e3a8a !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}
#hero-motto {
  color: #1d4ed8 !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}
#hero-focus {
  color: #334155 !important;
  font-weight: 600 !important;
  text-shadow: none !important;
}
.caption-cta {
  background: #1d4ed8 !important;
  color: #fff !important;
  border: 2px solid #1d4ed8 !important;
  border-radius: 10px !important;
  padding: 10px 28px !important;
  font-weight: 700 !important;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.3) !important;
  transition: transform .2s ease, background .2s ease;
}
.caption-cta:hover {
  background: #1e40af !important;
  border-color: #1e40af !important;
  transform: translateY(-2px);
}
.caption-cta-ghost {
  border: 2px solid #1d4ed8 !important;
  color: #1d4ed8 !important;
  background: #ffffff !important;
  border-radius: 10px !important;
  padding: 10px 28px !important;
  font-weight: 700 !important;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.caption-cta-ghost:hover {
  background: #1d4ed8 !important;
  color: #ffffff !important;
}
.carousel-dots {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: .7rem;
  display: flex;
  justify-content: center;
  gap: .45rem;
}
.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  border: 0;
  transition: transform .2s ease, background .2s ease;
}
.carousel-dots button.active { background: var(--accent); transform: scale(1.25); }
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(18, 59, 120, 0.92);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
  transition: background .2s ease, transform .2s ease;
}
.carousel-nav:hover { background: var(--accent-dark); transform: translateY(-50%) scale(1.06); }
.carousel-nav.prev { left: 14px; }
.carousel-nav.next { right: 14px; }

.welcome-panel { background: #fff; }
.welcome-mark {
  width: 5.5rem;
  height: 5.5rem;
  margin: -2.8rem auto 1.2rem;
  background: var(--accent);
  color: #fff;
  border-radius: 67%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(18, 59, 120, 0.35);
  animation: heartPulse 2.4s ease-in-out infinite;
}
.section-kicker {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .75rem;
}
.credentials-band {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(234, 244, 255, 0.95) 100%);
  border: 1px solid rgba(191, 219, 254, 0.85);
  box-shadow: 0 10px 28px rgba(18, 59, 120, 0.08);
  backdrop-filter: blur(8px);
}
.cred-item {
  border-left: 3px solid var(--accent);
  padding: .7rem .85rem;
  background: #fff;
  border-radius: 0 10px 10px 0;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cred-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(18, 59, 120, 0.12);
}
.work-card {
  text-align: center;
  padding: 1.75rem 1.2rem;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.work-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 16px 32px rgba(18, 59, 120, 0.16);
}
.work-icon {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--sky);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.work-card:hover .work-icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.08);
}
.quote-panel {
  background: linear-gradient(120deg, #123b78, #1e4fa3);
  color: #fff;
}
.mission-grid article {
  position: relative;
  padding: 2rem;
  background: var(--sky);
  transition: transform .28s ease, box-shadow .28s ease,
              background-color .28s ease;
}

.mission-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(18, 59, 120, 0.12);
}

.mission-grid article + article {
  background: #dcfce7;
  border: 1px solid var(--line);
}

.mission-grid article + article:hover {
  background: #dcfce7;
}
.project-tile {
  position: relative;
  min-height: 18rem;
  overflow: hidden;
  color: #fff;
}
.project-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform .6s ease;
}
.project-tile:hover img { transform: scale(1.08); }
.project-tile .tile-copy {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 18rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(transparent 20%, rgba(0, 0, 0, .68));
}
.project-tile h4 { font-family: var(--heading); }
.read-more {
  color: var(--gold);
  font-weight: 700;
}
.read-more:hover { color: #fff; }

.site-footer {
  background: #1b1b1b;
  color: #fff;
}
.footer-donate-band {
  background: linear-gradient(90deg, var(--accent), #3b82f6);
  color: #fff;
}
.footer-donate-band a {
  background: #fff;
  color: var(--accent);
  font-weight: 800;
  border-radius: 4px;
  padding: .7rem 1.6rem;
  transition: transform .2s ease;
}
.footer-donate-band a:hover { transform: scale(1.04); }
.lang-btn.active { background: var(--accent); }

.floating-quick-contact {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 55;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.floating-quick-contact a {
  width: 54px;
  height: 54px;
  border-radius: 9999px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(18, 59, 120, 0.35);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  position: relative;
  animation: fabPulse 2.8s ease-in-out infinite;
}
.floating-quick-contact a:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  animation: none;
}
.floating-quick-contact .floating-label {
  position: absolute;
  right: calc(100% + .65rem);
  white-space: nowrap;
  border-radius: 9999px;
  background: var(--navy);
  color: #fff;
  padding: .4rem .7rem;
  font-size: .78rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateX(.35rem);
  transition: opacity .2s ease, transform .2s ease;
}
.floating-quick-contact a:hover .floating-label,
.floating-quick-contact a:focus-visible .floating-label {
  opacity: 1;
  transform: translateX(0);
}

/* .real-photo, .activity-photo, .gallery-photo, .detail-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
} */

.real-photo,
.activity-photo,
.detail-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #eaf3ff;
}
@media (max-width: 768px) {
  .detail-photo {
    height: 20rem;
  }
}
.activity-photo { min-height: 0; background: var(--sky); }
.activity-card-media { height: 15.5rem; overflow: hidden; }
.soft-card:hover .activity-photo { transform: scale(1.07); }
.activity-photo { transition: transform .5s ease; }
#image-lightbox img { max-width: 96vw; max-height: 90vh; object-fit: contain; }

.impact-num { color: var(--accent) !important; font-size: 1.35rem; }

.text-blue-950, .text-blue-900, .text-blue-800 { color: #2a2a2a !important; }
.text-blue-700 { color: var(--accent) !important; }
.text-blue-200, .text-blue-100 { color: #c7d7f5 !important; }
.bg-blue-50 { background: var(--sky) !important; }
.border-blue-100, .border-blue-200, .border-blue-300 { border-color: var(--line) !important; }
.bg-\[\#123b78\] { background: #1b1b1b !important; }
.text-\[\#123b78\] { color: #2a2a2a !important; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes kenBurns { from { transform: scale(1.04); } to { transform: scale(1.14); } }
@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(18, 59, 120), .35); }
  50% { box-shadow: 0 8px 26px rgba(18, 59, 120), .55); }
}

@media (max-width: 1024px) {
  .home-banner-carousel { height: min(64vh, 560px); }
  .nav-link { font-size: .8rem; }
}
@media (max-width: 768px) {
  .home-banner-carousel { height: min(58vh, 460px); }
  .carousel-caption .text-xl { font-size: 1.05rem; }
  .carousel-nav { width: 38px; height: 38px; font-size: 1.4rem; }
  .carousel-nav.prev { left: 8px; }
  .carousel-nav.next { right: 8px; }
  .activity-card-media { height: 13rem; }
  .detail-photo { height: 16rem; }
  .project-tile, .project-tile .tile-copy { min-height: 16rem; }
  .floating-quick-contact { right: .75rem; bottom: .75rem; }
  .welcome-mark { margin-top: 0; }
}
@media (max-width: 480px) {
  .home-banner-carousel { height: 52vh; min-height: 280px; }
  .caption-cta, .caption-cta-ghost { padding: 8px 14px; font-size: .8rem; border-width: 2px; }
  .carousel-caption { padding-bottom: 1.6rem; }
  .donate-header-btn { min-width: 0; padding-left: .7rem; padding-right: .7rem; }
  .floating-quick-contact a { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .carousel-slide.active img { transform: none; }
}
.committee-photo-wrap {
  border: 2px solid var(--line);
  background: var(--sky);
}

.committee-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ═════════════════════════════════════════════════════════════════ */
/* SCROLL ANIMATIONS & FADE-IN EFFECTS */
/* ═════════════════════════════════════════════════════════════════ */

.scroll-fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: scrollFadeIn 0.7s ease forwards;
}

.scroll-fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  animation: scrollFadeInLeft 0.7s ease forwards;
}

.scroll-fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  animation: scrollFadeInRight 0.7s ease forwards;
}

.scroll-scale-in {
  opacity: 0;
  transform: scale(0.9);
  animation: scrollScaleIn 0.7s ease forwards;
}

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

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

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

@keyframes scrollScaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ═════════════════════════════════════════════════════════════════ */
/* HOVER LIFT EFFECTS */
/* ═════════════════════════════════════════════════════════════════ */

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

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(18, 59, 120, 0.2);
}

.hover-glow {
  transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 20px rgba(29, 78, 216, 0.3);
}

/* ═════════════════════════════════════════════════════════════════ */
/* ENHANCED ABOUT SECTION STYLING */
/* ═════════════════════════════════════════════════════════════════ */

.about-hero {
  background: linear-gradient(135deg, var(--sky) 0%, #f0f7ff 100%);
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatBg 15s ease-in-out infinite;
}

.about-hero-content {
  position: relative;
  z-index: 1;
}

@keyframes floatBg {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.about-intro-card {
  background: white;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.about-intro-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent) 0%, var(--teal) 100%);
}

.about-section-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2.5rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.about-section-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(18, 59, 120, 0.15);
}

.about-section-card .section-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--sky) 0%, #e8f2ff 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
  font-size: 1.5rem;
}

.about-section-card:hover .section-icon {
  background: linear-gradient(135deg, var(--accent) 0%, var(--teal) 100%);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

/* ═════════════════════════════════════════════════════════════════ */
/* PRESIDENT SECTION ENHANCEMENT */
/* ═════════════════════════════════════════════════════════════════ */

.president-card {
  background: linear-gradient(135deg, var(--accent) 0%, #1e40af 100%);
  border-radius: 16px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(18, 59, 120, 0.25);
}

.president-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.president-card::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.president-photo-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.president-photo-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  animation: photoFloat 3s ease-in-out infinite;
}

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

.president-photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.president-content {
  position: relative;
  z-index: 2;
}

.president-content h3 {
  font-family: var(--heading);
  font-size: 2rem;
  color: white;
  margin-bottom: 1rem;
}

.president-content > p:first-of-type {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

.president-quote {
  color: #93c5fd;
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
}

/* ═════════════════════════════════════════════════════════════════ */
/* ENHANCED TIMELINE / OUR JOURNEY SECTION */
/* ═════════════════════════════════════════════════════════════════ */

.journey-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 4rem 0;
  position: relative;
}

.timeline-enhanced {
  position: relative;
  padding: 2rem 0;
}

.timeline-enhanced::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #3b82f6 0%, #10b981 50%, #f59e0b 100%);
  transform: translateX(-50%);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.timeline-item-enhanced {
  position: relative;
  margin-bottom: 4rem;
  opacity: 0;
  animation: timelineItemAppear 0.8s ease-out forwards;
}

.timeline-item-enhanced:nth-child(1) { animation-delay: 0.1s; }
.timeline-item-enhanced:nth-child(2) { animation-delay: 0.2s; }
.timeline-item-enhanced:nth-child(3) { animation-delay: 0.3s; }
.timeline-item-enhanced:nth-child(4) { animation-delay: 0.4s; }
.timeline-item-enhanced:nth-child(5) { animation-delay: 0.5s; }
.timeline-item-enhanced:nth-child(6) { animation-delay: 0.6s; }
.timeline-item-enhanced:nth-child(7) { animation-delay: 0.7s; }
.timeline-item-enhanced:nth-child(8) { animation-delay: 0.8s; }

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

.timeline-item-left {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 3rem);
}

.timeline-item-right {
  display: flex;
  justify-content: flex-start;
  padding-left: calc(50% + 3rem);
}

.timeline-content {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  max-width: 450px;
  width: 100%;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background: white;
  border: 2px solid #3b82f6;
  transform: translateY(-50%) rotate(45deg);
  box-shadow: 0 0 0 4px white;
}

.timeline-item-left .timeline-content::before {
  right: -10px;
}

.timeline-item-right .timeline-content::before {
  left: -10px;
}

.timeline-content:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.2);
  border-color: #3b82f6;
}

.timeline-content:hover::before {
  background: #3b82f6;
  box-shadow: 0 0 0 4px white, 0 0 20px rgba(59, 130, 246, 0.5);
  animation: pulseTimeline 1s ease-in-out infinite;
}

@keyframes pulseTimeline {
  0%, 100% { transform: translateY(-50%) rotate(45deg) scale(1); }
  50% { transform: translateY(-50%) rotate(45deg) scale(1.2); }
}

.timeline-dot-enhanced {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 24px;
  background: white;
  border: 4px solid #3b82f6;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  box-shadow: 0 0 0 8px rgba(59, 130, 246, 0.1), 0 4px 12px rgba(59, 130, 246, 0.3);
  transition: all 0.4s ease;
}

.timeline-item-enhanced:hover .timeline-dot-enhanced {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  transform: translate(-50%, -50%) scale(1.3);
  box-shadow: 0 0 0 12px rgba(59, 130, 246, 0.2), 0 8px 20px rgba(59, 130, 246, 0.5);
  animation: rotateDot 2s linear infinite;
}

@keyframes rotateDot {
  from { transform: translate(-50%, -50%) scale(1.3) rotate(0deg); }
  to { transform: translate(-50%, -50%) scale(1.3) rotate(360deg); }
}

.timeline-milestone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1e40af;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.timeline-milestone i {
  width: 16px;
  height: 16px;
}

.timeline-text {
  color: #475569;
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
}

.timeline-item-enhanced:nth-child(odd) .timeline-content {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

.timeline-item-enhanced:nth-child(even) .timeline-content {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.timeline-item-enhanced:nth-child(even) .timeline-dot-enhanced {
  border-color: #10b981;
  box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.1), 0 4px 12px rgba(16, 185, 129, 0.3);
}

.timeline-item-enhanced:nth-child(even):hover .timeline-dot-enhanced {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 0 0 12px rgba(16, 185, 129, 0.2), 0 8px 20px rgba(16, 185, 129, 0.5);
}

.timeline-item-enhanced:nth-child(even) .timeline-milestone {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
}

.timeline-item-enhanced:nth-child(even) .timeline-content:hover {
  border-color: #10b981;
  box-shadow: 0 12px 40px rgba(16, 185, 129, 0.2);
}

.timeline-item-enhanced:nth-child(even) .timeline-content::before {
  border-color: #10b981;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .timeline-enhanced::before {
    left: 20px;
  }

  .timeline-item-left,
  .timeline-item-right {
    padding-left: 3.5rem;
    padding-right: 0;
    justify-content: flex-start;
  }

  .timeline-content {
    max-width: 100%;
  }

  .timeline-item-left .timeline-content::before,
  .timeline-item-right .timeline-content::before {
    left: -10px;
    right: auto;
  }

  .timeline-dot-enhanced {
    left: 20px;
  }

  .timeline-item-enhanced:hover .timeline-dot-enhanced {
    transform: translate(-50%, -50%) scale(1.2);
  }
}

/* ═════════════════════════════════════════════════════════════════ */
/* STATS COUNTER ANIMATION */
/* ═════════════════════════════════════════════════════════════════ */

/* ═════════════════════════════════════════════════════════════════ */
/* PREMIUM COMMUNITY IMPACT SECTION */
/* ═════════════════════════════════════════════════════════════════ */

/* .impact-num {
  color: var(--accent) !important;
  font-size: 2.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
} */
.impact-num {
  color: var(--accent) !important;
  font-size: clamp(1.8rem, 2.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;

  background: linear-gradient(135deg, #3b82f6, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}
.stats-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: white;
  border-radius: 16px;
  border: 2px solid rgba(59, 130, 246, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: statsCardAppear 0.6s ease-out forwards;
}

.stats-card:nth-child(1) { animation-delay: 0.1s; }
.stats-card:nth-child(2) { animation-delay: 0.2s; }
.stats-card:nth-child(3) { animation-delay: 0.3s; }
.stats-card:nth-child(4) { animation-delay: 0.4s; }
.stats-card:nth-child(5) { animation-delay: 0.5s; }

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

.stats-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.5s ease;
}

.stats-card:hover::before {
  left: 100%;
}

.stats-card:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.25);
  border-color: #3b82f6;
}

.stats-card:hover .impact-num {
  animation: numberPulse 0.6s ease;
}

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

.stats-label {
  color: var(--ink);
  font-size: 0.95rem;
  margin-top: 0.75rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

/* ═════════════════════════════════════════════════════════════════ */
/* PREMIUM ACTIVITIES SECTION */
/* ═════════════════════════════════════════════════════════════════ */

.activity-card-media {
  height: 16rem;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  position: relative;
}

.activity-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.soft-card:hover .activity-card-media::after {
  opacity: 1;
}

.soft-card {
  border: 2px solid rgba(59, 130, 246, 0.1);
  box-shadow: 0 4px 20px rgba(18, 59, 120, 0.08);
  background: #fff;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.soft-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #10b981, #f59e0b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.soft-card:hover::before {
  transform: scaleX(1);
}

.soft-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.2);
  border-color: #3b82f6;
}

.soft-card:hover .activity-photo {
  transform: scale(1.15) rotate(2deg);
}

.activity-photo {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═════════════════════════════════════════════════════════════════ */
/* ULTRA-PREMIUM GALLERY SECTION */
/* ═════════════════════════════════════════════════════════════════ */

#sec-gallery {
  position: relative;
  background: transparent !important;
}

#sec-gallery::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.25), transparent);
}

.gallery-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -2px rgba(15, 23, 42, 0.03);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
  will-change: transform, box-shadow;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 35px -8px rgba(30, 58, 138, 0.16), 0 10px 14px -6px rgba(30, 58, 138, 0.08);
  border-color: rgba(59, 130, 246, 0.4);
}

.gallery-photo-btn {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f1f5f9;
  cursor: zoom-in;
  border: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.gallery-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  display: block;
}

.gallery-card:hover .gallery-photo {
  transform: scale(1.08);
  filter: brightness(0.97) saturate(1.05);
}

/* Elegant frosted glass hover overlay */
.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.3) 55%, rgba(15, 23, 42, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

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

.gallery-zoom-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #1e3a8a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28);
  transform: scale(0.75);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, color 0.2s ease;
}

.gallery-card:hover .gallery-zoom-badge {
  transform: scale(1);
}

.gallery-card:hover .gallery-zoom-badge:hover {
  background: #ffffff;
  color: #2563eb;
}

.gallery-caption-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  transform: translateY(6px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-caption-bar {
  transform: translateY(0);
}

#gallery-grid .gallery-card {
  opacity: 0;
  animation: cardReveal 0.5s ease-out forwards;
}

/* ═════════════════════════════════════════════════════════════════ */
/* PREMIUM COMMITTEE SECTION */
/* ═════════════════════════════════════════════════════════════════ */

.committee-photo-wrap {
  border: 3px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, #3b82f6, #10b981) border-box;
  transition: all 0.4s ease;
  position: relative;
}

.committee-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #10b981);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.soft-card:hover .committee-photo-wrap {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.3);
}

.soft-card:hover .committee-photo-wrap::before {
  opacity: 0.2;
  animation: rotateBorder 3s linear infinite;
}

@keyframes rotateBorder {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ═════════════════════════════════════════════════════════════════ */
/* PREMIUM DONATIONS SECTION */
/* ═════════════════════════════════════════════════════════════════ */

.donation-card {
  background: white;
  border: 2px solid rgba(59, 130, 246, 0.15);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.donation-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.donation-card:hover::before {
  opacity: 1;
  animation: rotateGradient 10s linear infinite;
}

@keyframes rotateGradient {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.donation-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.2);
  border-color: #3b82f6;
}

/* ═════════════════════════════════════════════════════════════════ */
/* PREMIUM CONTACT SECTION */
/* ═════════════════════════════════════════════════════════════════ */

.contact-icon-box {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  transition: all 0.4s ease;
}

.contact-icon-box:hover {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.3);
}

/* ═════════════════════════════════════════════════════════════════ */
/* PREMIUM FOOTER */
/* ═════════════════════════════════════════════════════════════════ */

.site-footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #e2e8f0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.footer-donate-band {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1e40af 100%);
  position: relative;
  overflow: hidden;
}

.footer-donate-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.footer-donate-band a {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

/* ═════════════════════════════════════════════════════════════════ */
/* PREMIUM HERO CAROUSEL ENHANCEMENTS */
/* ═════════════════════════════════════════════════════════════════ */

.home-banner-carousel {
  position: relative;
  overflow: hidden;
  background: transparent !important;
  min-height: 480px;
  height: auto;
  display: flex;
  align-items: center;
  box-shadow: none !important;
}

.carousel-caption {
  background: transparent !important;
  backdrop-filter: none !important;
}

.carousel-caption h2 {
  text-shadow: none !important;
  animation: heroTitleFade 1.2s ease-out;
}

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

.caption-cta {
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.4);
}

.caption-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.caption-cta:hover::before {
  width: 300px;
  height: 300px;
}

.caption-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(29, 78, 216, 0.6);
}

.carousel-nav {
  background: rgba(59, 130, 246, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.carousel-nav:hover {
  background: rgba(37, 99, 235, 1);
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.5);
}

.carousel-dots button {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.carousel-dots button:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.3);
}

.carousel-dots button.active {
  background: #3b82f6;
  width: 32px;
  border-radius: 8px;
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.6);
}

/* ═════════════════════════════════════════════════════════════════ */
/* PREMIUM SECTION HEADERS */
/* ═════════════════════════════════════════════════════════════════ */

.section-kicker {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  position: relative;
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.1));
  border-radius: 20px;
  margin-bottom: 1rem;
  animation: kickerFade 0.8s ease-out;
}

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

.heading-font {
  position: relative;
  animation: headingFade 1s ease-out;
}

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

/* ═════════════════════════════════════════════════════════════════ */
/* PREMIUM BUTTON STYLES */
/* ═════════════════════════════════════════════════════════════════ */

.blue-btn, .main-btn {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.blue-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.blue-btn:hover::before {
  width: 200%;
  height: 200%;
}

.blue-btn:hover, .main-btn:hover {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.5);
}

.outline-btn {
  border: 2px solid var(--accent);
  color: var(--accent);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.outline-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  transition: left 0.4s ease;
  z-index: -1;
}

.outline-btn:hover::before {
  left: 0;
}

.outline-btn:hover {
  color: white;
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* ═════════════════════════════════════════════════════════════════ */
/* PREMIUM SCROLL ANIMATIONS */
/* ═════════════════════════════════════════════════════════════════ */

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

.fade-in-scale {
  animation: fadeInScale 0.8s ease-out forwards;
}

/* ═════════════════════════════════════════════════════════════════ */
/* PREMIUM CARD STAGGER ANIMATIONS */
/* ═════════════════════════════════════════════════════════════════ */

#activity-cards article,
#gallery-grid article,
#committee-grid article {
  opacity: 0;
  animation: cardReveal 0.6s ease-out forwards;
}

#activity-cards article:nth-child(1),
#gallery-grid article:nth-child(1),
#committee-grid article:nth-child(1) { animation-delay: 0.1s; }

#activity-cards article:nth-child(2),
#gallery-grid article:nth-child(2),
#committee-grid article:nth-child(2) { animation-delay: 0.2s; }

#activity-cards article:nth-child(3),
#gallery-grid article:nth-child(3),
#committee-grid article:nth-child(3) { animation-delay: 0.3s; }

#activity-cards article:nth-child(4),
#gallery-grid article:nth-child(4),
#committee-grid article:nth-child(4) { animation-delay: 0.4s; }

#activity-cards article:nth-child(5),
#gallery-grid article:nth-child(5),
#committee-grid article:nth-child(5) { animation-delay: 0.5s; }

#activity-cards article:nth-child(6),
#gallery-grid article:nth-child(6),
#committee-grid article:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* ═════════════════════════════════════════════════════════════════ */
/* CARD STAGGER ANIMATIONS */
/* ═════════════════════════════════════════════════════════════════ */

.card-stagger {
  animation: cardStagger 0.6s ease backwards;
}

.card-stagger:nth-child(1) { animation-delay: 0.1s; }
.card-stagger:nth-child(2) { animation-delay: 0.2s; }
.card-stagger:nth-child(3) { animation-delay: 0.3s; }
.card-stagger:nth-child(4) { animation-delay: 0.4s; }
.card-stagger:nth-child(5) { animation-delay: 0.5s; }

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

/* ═════════════════════════════════════════════════════════════════ */
/* SMOOTH TRANSITIONS */
/* ═════════════════════════════════════════════════════════════════ */

* {
  scroll-behavior: smooth;
}

article, section, .card {
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

/* ═════════════════════════════════════════════════════════════════ */
/* SECTION ENTRANCE ANIMATIONS */
/* ═════════════════════════════════════════════════════════════════ */

.section-entrance {
  animation: sectionEntrance 0.8s ease forwards;
}

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

/* ═════════════════════════════════════════════════════════════════ */
/* ENHANCED BENEFICIARY / WHO WE SERVE SECTION */
/* ═════════════════════════════════════════════════════════════════ */

.beneficiary-section {
  position: relative;
  background: transparent !important;
  padding-bottom: 4rem !important;
  overflow: hidden;
}

@media (max-width: 768px) {
  .beneficiary-section {
    background: transparent !important;
    padding-bottom: 4rem !important;
  }
}

.beneficiary-grid-enhanced {
  position: relative;
  z-index: 1;
}

/* WHO WE SERVE — PREMIUM LUXURY CARDS */

#beneficiary-grid .beneficiary-card {
  --accent-color: #b28a45;
  --accent-soft: #f5ead5;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(145deg, #ffffff 0%, #fbfaf7 100%);
  border: 1px solid #e4dac6;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(25, 39, 65, 0.07);
  transition:
    background 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.4s ease;
}

#beneficiary-grid .beneficiary-card:nth-child(4n + 2) {
  --accent-color: #36766b;
  --accent-soft: #dcefe9;
}

#beneficiary-grid .beneficiary-card:nth-child(4n + 3) {
  --accent-color: #7260a4;
  --accent-soft: #e9e3f7;
}

#beneficiary-grid .beneficiary-card:nth-child(4n + 4) {
  --accent-color: #b65f4a;
  --accent-soft: #f7e4dc;
}

/* Elegant accent strip */
#beneficiary-grid .beneficiary-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 5px;
  background: var(--accent-color);
  transition: height 0.35s ease;
}

/* Subtle decorative glow */
#beneficiary-grid .beneficiary-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 150px;
  height: 150px;
  top: -75px;
  right: -65px;
  border-radius: 50%;
  background: var(--accent-soft);
  opacity: 0.55;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

#beneficiary-grid .beneficiary-card:hover {
  background: linear-gradient(145deg, var(--accent-soft), #ffffff);
  border-color: var(--accent-color);
  box-shadow: 0 18px 38px rgba(25, 39, 65, 0.14);
  transform: translateY(-5px);
}

#beneficiary-grid .beneficiary-card:hover::before {
  height: 7px;
}

#beneficiary-grid .beneficiary-card:hover::after {
  transform: scale(1.35);
  opacity: 0.8;
}

/* Icon */
#beneficiary-grid .beneficiary-icon-wrapper {
  position: relative;
  z-index: 1;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  background: var(--accent-soft);
  border: 1px solid transparent;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease;
}

#beneficiary-grid .beneficiary-icon-wrapper i,
#beneficiary-grid .beneficiary-icon-wrapper svg {
  display: block;
  width: 40px;
  height: 40px;
  color: inherit;
  stroke: currentColor;
}

#beneficiary-grid .beneficiary-card:hover .beneficiary-icon-wrapper {
  color: #ffffff;
  background: var(--accent-color);
  border-color: var(--accent-color);
}

#beneficiary-grid .beneficiary-card:hover .beneficiary-icon-wrapper i,
#beneficiary-grid .beneficiary-card:hover .beneficiary-icon-wrapper svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* Number badge */
#beneficiary-grid .beneficiary-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 1;
  color: var(--accent-color);
  background: #ffffff;
  border: 1px solid var(--accent-color);
  transition:
    color 0.35s ease,
    background 0.35s ease;
}

#beneficiary-grid .beneficiary-card:hover .beneficiary-badge {
  color: #ffffff;
  background: var(--accent-color);
}

/* Typography */
#beneficiary-grid .beneficiary-title {
  position: relative;
  z-index: 1;
  font-size: 1.25rem;
  font-weight: 700;
  color: #172b4d;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  transition: color 0.35s ease;
}

#beneficiary-grid .beneficiary-description {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  color: #596579;
  line-height: 1.6;
  margin: 0;
  transition: color 0.35s ease;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  #beneficiary-grid .beneficiary-card,
  #beneficiary-grid .beneficiary-card *,
  #beneficiary-grid .beneficiary-card::before,
  #beneficiary-grid .beneficiary-card::after {
    transition: none !important;
    transform: none !important;
  }
}

/* ═════════════════════════════════════════════════════════════════ */
/* ENHANCED VISION & MISSION SECTION - Modern NGO Design */
/* ═════════════════════════════════════════════════════════════════ */

.vision-mission-section {
  position: relative;
  background: transparent !important;
  overflow: hidden;
}

.vision-mission-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
  animation: floatBubble1 20s ease-in-out infinite;
}

.vision-mission-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
  animation: floatBubble2 18s ease-in-out infinite;
}

@keyframes floatBubble1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -50px) scale(1.1); }
}

@keyframes floatBubble2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 40px) scale(1.08); }
}

.vision-mission-grid {
  position: relative;
  z-index: 1;
}

.vision-card, .mission-card {
  position: relative;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px);
}

.vision-card {
  animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.mission-card {
  animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

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

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

/* Vision Card Styling */
.vision-card {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 50%, #93c5fd 100%);
  border: 2px solid rgba(59, 130, 246, 0.2);
  position: relative;
}

.vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.vision-card:hover::before {
  left: 100%;
}

.vision-card::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  transition: width 0.5s ease;
}

.vision-card:hover::after {
  width: 100%;
}

.vision-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.25);
  border-color: #3b82f6;
}

.vision-icon-box {
  width: 64px;
  height: 64px;
  background: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.vision-icon-box::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.vision-card:hover .vision-icon-box {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.35);
}

.vision-card:hover .vision-icon-box::before {
  opacity: 1;
}

.vision-card:hover .vision-icon-box {
  color: white;
  animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
  0%, 100% { transform: scale(1.15) rotate(5deg); }
  50% { transform: scale(1.25) rotate(5deg); }
}

.vision-title {
  color: #1e3a8a;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.2rem;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.vision-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, transparent);
  transition: width 0.4s ease;
}

.vision-card:hover .vision-title::after {
  width: 100%;
}

.vision-text {
  color: #1e40af;
  line-height: 1.8;
  transition: all 0.3s ease;
}

.vision-card:hover .vision-text {
  color: #1e3a8a;
  transform: translateX(5px);
}

.vision-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transition: all 0.6s ease;
}

.vision-card:hover .vision-accent {
  transform: scale(1.3);
  opacity: 0.5;
}

/* Mission Card Styling */
.mission-card {
  background: white;
  border: 2px solid rgba(16, 185, 129, 0.15);
  position: relative;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
  transition: left 0.6s ease;
}

.mission-card:hover::before {
  left: 100%;
}

.mission-card::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981, #059669);
  transition: width 0.5s ease;
}

.mission-card:hover::after {
  width: 100%;
}

.mission-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.mission-icon-box {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #059669;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.mission-icon-box::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  background: linear-gradient(135deg, #10b981, #059669);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.mission-card:hover .mission-icon-box {
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.3);
}

.mission-card:hover .mission-icon-box::before {
  opacity: 1;
}

.mission-card:hover .mission-icon-box {
  color: white;
  animation: iconBounce 0.6s ease;
}

.mission-title {
  color: #065f46;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.2rem;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.mission-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #10b981, transparent);
  transition: width 0.4s ease;
}

.mission-card:hover .mission-title::after {
  width: 100%;
}

.mission-text {
  color: #047857;
  line-height: 1.8;
  transition: all 0.3s ease;
}

.mission-card:hover .mission-text {
  color: #065f46;
  transform: translateX(5px);
}

.mission-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transition: all 0.6s ease;
}

.mission-card:hover .mission-accent {
  transform: scale(1.3);
  opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .vision-card, .mission-card {
    padding: 2rem 1.5rem;
  }

  .vision-card {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
  }

  .mission-card {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
  }

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

  .vision-title, .mission-title {
    font-size: 1.75rem;
  }

  .vision-text, .mission-text {
    font-size: 0.95rem;
  }

  .vision-icon-box, .mission-icon-box {
    width: 56px;
    height: 56px;
  }
}


.mission-card {
  background-color: #dcfce7 !important;
}

.mission-card,
.mission-card:hover {
  background-color: #dcfce7 !important;
  transition: background-color 0.3s ease;
}

/* =========================================================
   ACTIVITY DETAIL - FULL IMAGE FIX
   ========================================================= */

.detail-media {
  width: 100%;
  background: #eaf3ff;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.detail-photo {
  display: block;
  width: 100%;
  height: auto !important;
  max-width: 100%;
  object-fit: contain !important;
  object-position: center;
  margin: 0;
}

/* Desktop */
@media (min-width: 769px) {
  .detail-photo {
    max-height: none;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .detail-media {
    width: 100%;
  }

  .detail-photo {
    width: 100%;
    height: auto !important;
    max-width: 100%;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .detail-media {
    width: 100%;
  }

  .detail-photo {
    width: 100%;
    height: auto !important;
  }
}
/* =========================================
   ACTIVITY PHOTOS MODAL
   ========================================= */

.activity-photos-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.activity-photos-modal.hidden {
  display: none;
}

.activity-photos-box {
  width: min(1100px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

.activity-photos-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.activity-photos-header h3 {
  margin: 0;
  color: #172554;
  font-size: 26px;
  font-weight: 700;
}

.activity-photos-header p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 14px;
}

.activity-photos-close {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activity-photos-close:hover {
  background: #dbeafe;
}

.activity-photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.activity-photos-grid img {
  width: 100%;
  height: 240px;
  display: block;
  object-fit: cover;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.activity-photos-grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(30, 64, 175, 0.18);
}


/* =========================================
   MOBILE RESPONSIVE
   ========================================= */

@media (max-width: 768px) {

  .activity-photos-modal {
    padding: 12px;
    align-items: center;
  }

  .activity-photos-box {
    max-height: 92vh;
    padding: 16px;
    border-radius: 16px;
  }

  .activity-photos-header h3 {
    font-size: 21px;
  }

  .activity-photos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .activity-photos-grid img {
    height: 170px;
    border-radius: 10px;
  }

  .activity-photos-close {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }
}


@media (max-width: 480px) {

  .activity-photos-box {
    padding: 12px;
  }

  .activity-photos-grid {
    grid-template-columns: 1fr;
  }

  .activity-photos-grid img {
    height: auto;
    max-height: 300px;
    object-fit: contain;
    background: #f8fafc;
  }

  .activity-photos-header {
    margin-bottom: 14px;
  }

  .activity-photos-header h3 {
    font-size: 19px;
  }
}
/* =========================================================
   FULL SCREEN ACTIVITY PHOTO VIEWER
   ========================================================= */

.activity-photo-viewer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.94);

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 30px;
}

.activity-photo-viewer.hidden {
  display: none;
}

.photo-viewer-content {
  position: relative;

  width: min(90vw, 1200px);
  height: min(90vh, 850px);

  display: flex;
  align-items: center;
  justify-content: center;
}

#photo-viewer-image {
  max-width: 100%;
  max-height: 100%;

  width: auto;
  height: auto;

  object-fit: contain;

  border-radius: 10px;

  user-select: none;
  -webkit-user-drag: none;
}

/* Close button */

.photo-viewer-close {
  position: absolute;

  top: 20px;
  right: 25px;

  z-index: 10001;

  width: 48px;
  height: 48px;

  border: none;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.15);
  color: white;

  font-size: 34px;
  line-height: 1;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: 0.2s ease;
}

.photo-viewer-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Previous / Next */

.photo-viewer-nav {
  position: absolute;

  top: 50%;
  transform: translateY(-50%);

  z-index: 10001;

  width: 55px;
  height: 55px;

  border: none;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.15);
  color: white;

  font-size: 45px;
  line-height: 1;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: 0.2s ease;
}

.photo-viewer-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.photo-viewer-prev {
  left: 25px;
}

.photo-viewer-next {
  right: 25px;
}

/* Photo counter */

.photo-viewer-counter {
  position: absolute;

  bottom: -35px;
  left: 50%;

  transform: translateX(-50%);

  color: white;

  font-size: 15px;
  font-weight: 600;

  background: rgba(0, 0, 0, 0.5);

  padding: 6px 12px;

  border-radius: 20px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .activity-photo-viewer {
    padding: 15px;
  }

  .photo-viewer-content {
    width: 100%;
    height: 82vh;
  }

  .photo-viewer-close {
    top: 12px;
    right: 12px;

    width: 42px;
    height: 42px;

    font-size: 30px;
  }

  .photo-viewer-nav {
    width: 44px;
    height: 44px;

    font-size: 36px;
  }

  .photo-viewer-prev {
    left: 8px;
  }

  .photo-viewer-next {
    right: 8px;
  }

  .photo-viewer-counter {
    bottom: -30px;
    font-size: 13px;
  }
}

/* Only the first philosophy section */

/* Philosophy section only */
section.philosophy-image-panel {
  position: relative;
  margin-top: 36px;
  margin-bottom: 36px;
  padding: 90px 24px;
  text-align: center;
  color: #fff;

  background:
  linear-gradient(
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.25)
  ),
  url("images/philosophy-bg.jpeg") center center / cover no-repeat;

  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.philosophy-image-text {
  white-space: pre-line;
  text-align: center;
  line-height: 1.6;
}
section.philosophy-image-panel .philosophy-image-text,
#philosophy-one {
  color: skyblue !important;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.45;
  max-width: 1000px;
  margin: 0 auto;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.95);
}


section.philosophy-image-panel i {
  display: block;
  margin: 0 auto 24px;
  color: #bfdbfe;
}

@media (max-width: 640px) {
  section.philosophy-image-panel {
    margin-top: 24px;
    margin-bottom: 24px;
    padding: 56px 20px;
    border-radius: 0;
  }

  section.philosophy-image-panel .philosophy-image-text {
    white-space: pre-line;
    text-align: center;
    line-height: 1.8;
    font-size: 24px;
  }
}


section.philosophy-image-panel .philosophy-image-text {
  color: skyblue !important;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.25;
  max-width: 1000px;
  margin: 0 auto;
}

section.philosophy-image-panel i {
  color: #bfdbfe;
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  section.philosophy-image-panel {
    padding: 60px 20px;
  }

  section.philosophy-image-panel .philosophy-image-text {
    font-size: 25px;
    line-height: 1.4;
  }
}


/* Committee cards - refined layout */

/* #committee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 70px 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

#committee-grid .committee-card {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 0 0 34px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
  isolation: isolate;
}

/* Navy panel begins behind the lower part of the photo */
#committee-grid .committee-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 240px;
  right: 0;
  bottom: 0;
  left: 0;
  background: #14213f;
}

#committee-grid .committee-photo-wrap {
  position: relative;
  width: 100%;
  height: 425px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: #e5e7eb;
  
}

#committee-grid .committee-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.08);
  border: 0;
  border-radius: 20px;
}

/* White role label over the bottom edge of the photo */
#committee-grid .committee-role {
  position: relative;
  z-index: 2;
  width: 64%;
  min-height: 35px;
  margin: -24px auto 0;
  padding: 6px 5px;
  background: #fff;
  color: #000;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;

}

#committee-grid .committee-name {
  margin: 29px 8px 0;
  padding: 0;
  color: #fff !important;
  font-family: Arial, sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  overflow-wrap: anywhere;
}

#committee-grid .committee-description {
  display: none;
}

@media (max-width: 900px) {
  #committee-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 65px 30px;
  }

  #committee-grid .committee-card::before {
    top: 210px;
  }

  #committee-grid .committee-photo-wrap {
    height: 370px;
  }

  #committee-grid .committee-role {
    width: 76%;
    font-size: 15px;
  }

  #committee-grid .committee-name {
    font-size: 19px;
  }
}

@media (max-width: 600px) {
  #committee-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 110px;
    max-width: 340px;
  }

  #committee-grid .committee-card::before {
    top: 195px;
  }

  #committee-grid .committee-photo-wrap {
    height: 350px;
  }

  #committee-grid .committee-role {
    width: 70%;
    font-size: 15px;
  }

  #committee-grid .committee-name {
    margin-top: 25px;
    font-size: 20px;
  }
} */


/* Committee cards — Yugaan trustees style: portrait photo, white role bar, name on photo */

#committee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 28px;
  max-width: 980px;
  margin: 0 auto;
  align-items: stretch;
}

#committee-grid .committee-card {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  text-align: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  filter: none !important;
}

#committee-grid .committee-photo-wrap {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #0b1d3a;
}

#committee-grid .committee-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: none;
  border-radius: 0;
}

#committee-grid .committee-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 4rem 0.75rem 1.35rem;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 18, 40, 0.55) 48%, rgba(8, 18, 40, 0.94) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

#committee-grid .committee-role {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 90%;
  margin: 0 0 0.7rem;
  padding: 6px 14px;
  background: #fff;
  color: #0d131a;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

#committee-grid .committee-name {
  margin: 0;
  padding: 0 6px;
  color: #fff !important;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

#committee-grid .committee-description {
  display: none;
}

@media (max-width: 900px) {
  #committee-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  #committee-grid .committee-role {
    font-size: 12px;
  }

  #committee-grid .committee-name {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  #committee-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 320px;
  }

  #committee-grid .committee-card {
    margin-top: 0;
    padding-bottom: 0;
  }

  #committee-grid .committee-photo-wrap {
    margin-top: 0;
  }

  #committee-grid .committee-role {
    font-size: 13px;
  }

  #committee-grid .committee-name {
    font-size: 16px;
  }
}

/* =========================================================
   FOOTER LEGAL LINKS (Privacy Policy & Terms)
   ========================================================= */
.footer-legal-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 10px;
  font-size: 14px;
}

.footer-legal-links a {
  color: #bfdbfe;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
  font-weight: 500;
}

.footer-legal-links a:hover {
  text-decoration: underline;
  color: #ffffff;
}

.footer-legal-links span {
  color: rgba(191, 219, 254, 0.5);
}


/* =========================================================
   GLOBAL FONT SIZE ENHANCEMENT
   ========================================================= */
html {
  font-size: 19.5px;
}

body {
  font-size: 1rem;
  line-height: 1.65;
}

button,
input,
select,
textarea {
  font-size: inherit;
  font-family: inherit;
}

/* ═════════════════════════════════════════════════════════════════ */
/* YUGAAN FOUNDATION STYLE - ACTIVITIES / PROJECTS SECTION          */
/* ═════════════════════════════════════════════════════════════════ */

#sec-activities.yugaan-activities-section {
  position: relative;
  background: transparent !important;
  color: #1e293b;
  padding-top: 2rem;
  padding-bottom: 5rem;
}

#sec-activities #activities-title,
#sec-activities #additional-title,
#sec-activities #projects-title {
  color: #0c234b !important;
  text-shadow: none !important;
}

#sec-activities #activities-intro,
#sec-activities #projects-intro {
  color: #334155 !important;
}

/* Major Projects High Visibility Card Styling */
#major-projects {
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(191, 219, 254, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 14px 35px -5px rgba(18, 59, 120, 0.10), 0 4px 12px -2px rgba(18, 59, 120, 0.05) !important;
  border-radius: 24px !important;
  color: #1e293b !important;
}

#major-projects #projects-title {
  color: #0c234b !important;
  font-weight: 800 !important;
  text-shadow: none !important;
}

#major-projects #projects-intro {
  color: #334155 !important;
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
}

#projects-grid article {
  background: #ffffff !important;
  border: 1px solid #cfe0f7 !important;
  border-radius: 18px !important;
  padding: 1.75rem !important;
  box-shadow: 0 6px 18px rgba(18, 59, 120, 0.06) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

#projects-grid article:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 30px rgba(18, 59, 120, 0.12) !important;
  border-color: #3b82f6 !important;
}

#projects-grid article i,
#projects-grid article svg {
  color: #1d4ed8 !important;
  width: 2rem !important;
  height: 2rem !important;
  display: block !important;
  margin-bottom: 0.75rem !important;
}

#projects-grid article h4 {
  color: #0c234b !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  margin-top: 0.5rem !important;
}

#projects-grid article p {
  color: #334155 !important;
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
  margin-top: 0.75rem !important;
}

@media (max-width: 768px) {
  #sec-activities.yugaan-activities-section {
    background: transparent !important;
  }
}

#sec-activities .yugaan-accent-bar {
  width: 140px;
  height: 4px;
  background-color: #ffa12f;
  border-radius: 9999px;
  margin: 18px auto 0;
}

.yugaan-activity-cards-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 36px !important;
  max-width: 1140px;
  margin: 0 auto;
}

.yugaan-activity-card {
  position: relative;
  background: #ffffff !important;
  border-radius: 20px !important;
  padding: 36px !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.28), 0 4px 10px -2px rgba(0, 0, 0, 0.1) !important;
  display: grid !important;
  grid-template-columns: 1.05fr 1fr !important;
  gap: 40px !important;
  align-items: center !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
  opacity: 1 !important;
  animation: none !important;
  filter: none !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  overflow: hidden;
}

.yugaan-activity-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.35), 0 10px 15px -3px rgba(0, 0, 0, 0.15) !important;
}

/* Default (Odd): Text Left, Image Right */
.yugaan-activity-card .yugaan-card-info {
  order: 1 !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.yugaan-activity-card .yugaan-card-media {
  order: 2 !important;
  position: relative;
  width: 100%;
  height: 290px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  background: #f1f5f9;
}

/* Reversed (Even): Image Left, Text Right */
.yugaan-activity-card.is-reversed .yugaan-card-media {
  order: 1 !important;
}

.yugaan-activity-card.is-reversed .yugaan-card-info {
  order: 2 !important;
}

.yugaan-activity-card .yugaan-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.yugaan-activity-card:hover .yugaan-card-media img {
  transform: scale(1.04);
}

.yugaan-card-title {
  color: #14213d !important;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  margin: 0 0 8px 0 !important;
  font-family: inherit;
}

.yugaan-card-subtitle {
  color: #1e293b !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  margin: 0 0 12px 0 !important;
}

.yugaan-card-desc {
  color: #4b5563 !important;
  font-size: 14.5px !important;
  line-height: 1.65 !important;
  margin: 0 0 16px 0 !important;
}

.yugaan-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 22px;
}

.yugaan-card-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 500;
}

.yugaan-read-more-btn {
  background: #ea9228 !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 11px 28px !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  cursor: pointer;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 12px rgba(234, 146, 40, 0.3) !important;
  text-decoration: none !important;
}

.yugaan-read-more-btn:hover {
  background: #d97d16 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(234, 146, 40, 0.45) !important;
}

.yugaan-read-more-btn:active {
  transform: translateY(0) !important;
}

.yugaan-read-more-btn:focus-visible {
  outline: 3px solid #ffcd35;
  outline-offset: 2px;
}

/* Mobile responsive */
@media (max-width: 767px) {
  .yugaan-activity-cards-list {
    gap: 22px !important;
  }

  .yugaan-activity-card {
    display: flex !important;
    flex-direction: column !important;
    padding: 20px !important;
    border-radius: 16px !important;
    gap: 16px !important;
  }

  .yugaan-activity-card .yugaan-card-media,
  .yugaan-activity-card.is-reversed .yugaan-card-media {
    order: 1 !important;
    height: 220px !important;
    border-radius: 12px !important;
  }

  .yugaan-activity-card .yugaan-card-info,
  .yugaan-activity-card.is-reversed .yugaan-card-info {
    order: 2 !important;
    align-items: flex-start !important;
  }

  .yugaan-card-title {
    font-size: 1.35rem !important;
  }

  .yugaan-read-more-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 24px !important;
  }
}

/* =========================================================
   YUGAAN STYLE PROJECT DETAIL VIEW & BOTTOM PHOTO GALLERY
   ========================================================= */

.yugaan-detail-card {
  background: #ffffff !important;
  color: #1e293b !important;
  border-radius: 28px !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.45) !important;
}

.yugaan-detail-featured-media {
  width: 100%;
  max-height: 480px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12);
  background: #0f172a;
}

.yugaan-detail-featured-media img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.yugaan-detail-section {
  margin-bottom: 28px;
}

.yugaan-detail-section h4 {
  color: #14213d !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  margin-bottom: 10px !important;
  line-height: 1.35 !important;
}

.yugaan-detail-section p {
  color: #374151 !important;
  font-size: 1.05rem !important;
  line-height: 1.75 !important;
  margin-bottom: 12px !important;
}

.yugaan-helpline-box {
  text-align: center;
  padding: 24px 16px;
  margin: 36px 0 28px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 16px;
}

.yugaan-helpline-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #14213d;
  margin-bottom: 6px;
}

.yugaan-helpline-number {
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  font-weight: 800;
  color: #0f172a;
  display: inline-block;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
  text-decoration: none;
}

.yugaan-helpline-number:hover {
  color: #ea9228;
}

.yugaan-detail-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.yugaan-gallery-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
}

.yugaan-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.yugaan-gallery-thumb:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.yugaan-gallery-thumb:hover img {
  transform: scale(1.06);
}

@media (max-width: 900px) {
  .yugaan-detail-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .yugaan-detail-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .yugaan-detail-card {
    padding: 24px 18px !important;
    border-radius: 20px !important;
  }
  .yugaan-detail-featured-media {
    max-height: 250px;
    border-radius: 12px;
    margin-bottom: 22px !important;
  }
  .yugaan-detail-section h4 {
    font-size: 1.2rem !important;
  }
  .yugaan-detail-section p {
    font-size: 0.98rem !important;
  }
}

/* ═════════════════════════════════════════════════════════════════ */
/* DWARKAMAI NGO ARTISTIC WATERCOLOR & COMMUNITY BACKGROUND SYSTEM   */
/* Uses authentic user-provided watercolor & social welfare motifs   */
/* ═════════════════════════════════════════════════════════════════ */

/* Home Impact Section */
#sec-home > section.w-full:nth-of-type(2) {
  background: 
    linear-gradient(135deg, rgba(219, 238, 254, 0.92) 0%, rgba(244, 250, 255, 0.96) 50%, rgba(214, 234, 254, 0.92) 100%) !important;
  position: relative;
}

/* Cheerful NGO Rainbow Underline Accents (Inspired by user sample images 1 & 4) */
#sec-home .w-20.h-1,
#sec-home .w-16.h-1,
#sec-about .w-20.h-1 {
  background: linear-gradient(90deg, #f59e0b, #ef4444, #ec4899, #8b5cf6, #3b82f6, #10b981) !important;
  height: 4px !important;
  border-radius: 9999px !important;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.35) !important;
}

/* About Page Section */
#sec-about {
  position: relative;
  background: transparent !important;
  overflow: hidden;
}

/* Committee Page Section */
#sec-committee {
  position: relative;
  background: transparent !important;
  overflow: hidden;
}

/* Donations Page Section */
#sec-donations {
  position: relative;
  background: transparent !important;
  padding-bottom: 5rem !important;
  overflow: hidden;
}

/* Contact Page Section */
#sec-contact {
  position: relative;
  background: transparent !important;
  overflow: hidden;
}

/* Volunteer Card inside Contact */
#sec-contact section.bg-\[\#123b78\] {
  position: relative;
  background: 
    linear-gradient(135deg, rgba(16, 50, 100, 0.94) 0%, rgba(18, 59, 120, 0.90) 100%) !important;
  overflow: hidden;
  border: 1px solid rgba(147, 197, 253, 0.4) !important;
  box-shadow: 0 16px 36px -6px rgba(18, 59, 120, 0.28) !important;
}

/* Soft Cards & Elevated Glass Containers */
.soft-card,
article.soft-card {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(191, 219, 254, 0.85) !important;
  box-shadow: 0 10px 25px -4px rgba(18, 59, 120, 0.08), 0 4px 10px -2px rgba(18, 59, 120, 0.04) !important;
}

.soft-card:hover,
article.soft-card:hover {
  border-color: rgba(37, 99, 199, 0.45) !important;
  box-shadow: 0 18px 36px -4px rgba(18, 59, 120, 0.15), 0 8px 16px -3px rgba(18, 59, 120, 0.08) !important;
}

/* Light blue styled panels inside sections */
.bg-blue-50 {
  background: rgba(239, 246, 255, 0.92) !important;
  border-color: rgba(191, 219, 254, 0.85) !important;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px -3px rgba(18, 59, 120, 0.05);
}

/* President Banner Navy Block */
#sec-about section.bg-\[\#123b78\] {
  background: linear-gradient(135deg, #103264 0%, #123b78 60%, #174892 100%) !important;
  box-shadow: 0 16px 36px -6px rgba(18, 59, 120, 0.28) !important;
  border: 1px solid rgba(147, 197, 253, 0.3) !important;
}

/* Floating Quick Contact */
.floating-quick-contact a {
  box-shadow: 0 8px 22px rgba(18, 59, 120, 0.28) !important;
}

