/* =====================================================
   AKSHARASREE CHARITABLE TRUST — STYLE.CSS
   Brand: Education · Health · Welfare
   Primary: #1a3a6b (Navy Blue)  Secondary: #00b4d8 (Teal)
   Accent: #e87722 (Orange)  Green: #2d9a27
   ===================================================== */

/* ===== CSS VARIABLES ===== */
:root {
  /* Brand Colors */
  --color-primary:       #1a3a6b;
  --color-primary-dark:  #122a52;
  --color-primary-light: #2a5298;
  --color-secondary:     #0077b6;
  --color-teal:          #00b4d8;
  --color-teal-light:    #caf0f8;
  --color-green:         #2d9a27;
  --color-green-light:   #d4edda;
  --color-orange:        #e87722;
  --color-orange-light:  #fde8d0;
  --color-yellow:        #f5c518;

  /* Text */
  --text-dark:   #0f1c35;
  --text-body:   #3a4a5c;
  --text-muted:  #6c7a8d;
  --text-light:  #ffffff;

  /* Backgrounds */
  --bg-white:   #ffffff;
  --bg-light:   #f4f7fb;
  --bg-section: #eef2f8;
  --bg-light2:#deecff;

  /* Shadows */
  --shadow-xs:  0 1px 4px rgba(26,58,107,0.08);
  --shadow-sm:  0 4px 12px rgba(26,58,107,0.10);
  --shadow-md:  0 8px 24px rgba(26,58,107,0.13);
  --shadow-lg:  0 16px 40px rgba(26,58,107,0.16);

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  /* Layout */
  --navbar-height: 72px;
  --topbar-height: 40px;
}

/* ===== BASE RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--navbar-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-white);
  overflow-x: hidden;
}
 
 
 @media (min-width: 992px){

    .navbar .dropdown:hover .dropdown-menu{
        display:block;
        margin-top:0;
    }

}
 
 


.bg-light{background:var(--bg-light2) !important}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-secondary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-primary); }
ul { list-style: none; padding: 0; margin: 0; }

/* ===== SKIP LINK (WCAG) ===== */
.skip-link {
  position: absolute;
  top: -60px;
  left: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 20px;
  z-index: 9999;
  font-size: .875rem;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 700; }
h4 { font-size: 1.2rem; font-weight: 600; }

/* ===== COMMON SECTION STYLES ===== */
.section-badge {
  display: inline-block;
  background: var(--color-teal-light);
  color: var(--color-primary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(0,180,216,.25);
}
.section-badge.light {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-color: rgba(255,255,255,.3);
}

.section-title {
  font-family: var(--font-display);
  color: var(--text-dark);
}
.text-accent { color: var(--color-orange); }
.text-accent-light { color: var(--color-yellow); }

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.section-light  { background: var(--bg-light); }
.section-header { margin-inline: auto; }

/* ===== BUTTONS ===== */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .925rem;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  border: 2px solid transparent;
  letter-spacing: .01em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.btn:focus-visible { outline: 3px solid var(--color-teal); outline-offset: 3px; }

.btn-primary {
  background: var(--color-primary);
  color: #fff !important;
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,58,107,.35);
}

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

.btn-outline-light {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,.6);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
}

.btn-donate {
  background: linear-gradient(135deg, var(--color-orange), #c0521a);
  border-color: transparent;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(232,119,34,.4);
}
.btn-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,119,34,.5);
}

.btn-light {
  background: #fff;
  color: var(--color-primary) !important;
  border-color: #fff;
}
.btn-light:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

.btn-filter {
  background: var(--bg-light);
  color: var(--text-body);
  border: 2px solid transparent;
  padding: 7px 20px;
  font-size: .85rem;
  border-radius: var(--radius-full);
}
.btn-filter.active,
.btn-filter:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn-amount {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
  padding: 9px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
}
.btn-amount.active,
.btn-amount:hover {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

/* ===== FORMS ===== */
.form-control, .form-select {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text-dark);
  border: 2px solid #dce5f0;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  background: var(--bg-white);
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26,58,107,.12);
  outline: none;
}
.form-label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 5px;
}
.form-feedback { font-size: .85rem; }
.form-feedback.success { color: var(--color-green); }
.form-feedback.error { color: #dc3545; }

.input-group .form-control { border-radius: var(--radius-sm) 0 0 var(--radius-sm) !important; }
.input-group .btn { border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important; }

/* ===== PROGRESS BARS ===== */
.progress { height: 8px; background: #dce5f0; border-radius: var(--radius-full); overflow: visible; }
.progress-bar {
  background: linear-gradient(90deg, var(--color-primary), var(--color-teal));
  border-radius: var(--radius-full);
  transition: width 1.2s ease;
}
.progress-bar.green { background: linear-gradient(90deg, var(--color-green), #4dd44a); }
.progress-bar.orange { background: linear-gradient(90deg, var(--color-orange), #f5a623); }
.progress-bar.teal { background: linear-gradient(90deg, var(--color-teal), #48cae4); }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,.8);
  font-size: .8rem;
  padding: 6px 0;
}
.topbar a {
  color: rgba(255,255,255,.8);
  font-size: .8rem;
  transition: var(--transition);
}
.topbar a:hover { color: var(--color-teal); }
.topbar .social-icons a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
}
.topbar .social-icons a:hover { background: var(--color-teal); color: #fff; }

/* ===== NAVBAR ===== */
#mainNav {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  min-height: var(--navbar-height);
  transition: var(--transition-slow);
  position: sticky;
  top: 0;
  z-index: 1030;
}
#mainNav.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(26,58,107,.12);
}

.brand-logo {
  border-radius: 50%;
  border: 2px solid var(--color-teal-light);
  object-fit: contain;
  background: #fff;
  transition: var(--transition);
}
.navbar-brand:hover .brand-logo { transform: rotate(5deg) scale(1.05); }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-primary);
  letter-spacing: .01em;
}
.brand-sub {
  font-size: .7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-dark) !important;
  padding: 8px 12px !important;
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-orange);
  transform: translateX(-50%);
  border-radius: var(--radius-full);
  transition: width .3s;
}
.nav-link:hover::after,
.nav-link.active::after { width: 60%; }
.nav-link:hover, .nav-link.active { color: var(--color-primary) !important; }

.dropdown-menu {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  min-width: 220px;
  animation: dropFade .2s ease;
}
@keyframes dropFade { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:none; } }

.dropdown-item {
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
}
.dropdown-item:hover {
  background: var(--bg-light);
  color: var(--color-primary);
  padding-left: 20px;
}

/* Navbar toggler custom */
.navbar-toggler {
  border: none;
  background: none;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.navbar-toggler:focus { box-shadow: none; outline: 2px solid var(--color-primary); border-radius: 4px; }
.toggler-icon {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero-section {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #eef2f8 0%, #dce9f8 60%, #caf0f8 100%);
  min-height: calc(100vh - var(--navbar-height) - var(--topbar-height));
  display: flex;
  align-items: center;
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: .12;
}
.shape-1 { width: 500px; height: 500px; background: var(--color-primary); top: -200px; right: -150px; }
.shape-2 { width: 300px; height: 300px; background: var(--color-teal); bottom: -100px; left: -100px; }
.shape-3 { width: 200px; height: 200px; background: var(--color-orange); top: 40%; left: 40%; animation: floatShape 8s ease-in-out infinite; }

@keyframes floatShape {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(10deg); }
}

.hero-content { position: relative; z-index: 1; }
.min-vh-hero { min-height: calc(100vh - var(--navbar-height) - var(--topbar-height) - 60px); }

.hero-title {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 520px;
  margin-bottom: 28px;
}

/* Animate hero content in */
.hero-content { animation: heroIn 0.8s ease both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}

.hero-stats { border-top: 1.5px solid rgba(26,58,107,.12); padding-top: 24px; }
.stat-item { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}
.stat-item span {
  font-size: .8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}

.hero-img-wrap {
  position: relative;
  display: inline-flex;
}
.hero-img {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-xl);
  object-fit: cover;
  border:5px solid #fff;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.hero-badge-float {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .9rem;
  color: var(--color-primary);
  animation: floatBadge 3s ease-in-out infinite;
}
.hero-badge-float i { color: var(--color-orange); font-size: 1.4rem; }

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

/* Scroll down indicator */
.scroll-down {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-muted);
  font-size: .75rem;
  gap: 4px;
  z-index: 1;
}
.scroll-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: scrollBounce 1.5s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: translateY(0); opacity:.5; }
  50% { transform: translateY(8px); opacity:1; }
}

/* ===== MARQUEE STRIP ===== */
.marquee-strip {
  background: var(--color-primary);
  color: rgba(255,255,255,.9);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-inner {
  display: inline-flex;
  gap: 60px;
  animation: marqueeScroll 30s linear infinite;
  font-size: .85rem;
  font-weight: 500;
}
.marquee-inner span::after { content: '•'; margin-left: 30px; color: var(--color-teal); }
.marquee-inner:hover { animation-play-state: paused; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== IMPACT SECTION ===== */
.impact-section { background: var(--color-orange-light); }
.impact-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  transition: var(--transition);
  border: 2px solid transparent;
}
.impact-card:hover {
  border-color: var(--color-teal-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.impact-icon {
  width: 56px;
  height: 56px;
  background: var(--color-teal-light);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 12px;
}
.impact-icon.green { background: var(--color-green-light); color: var(--color-green); }
.impact-icon.orange { background: var(--color-orange-light); color: var(--color-orange); }
.impact-icon.teal { background: var(--color-teal-light); color: var(--color-teal); }

.impact-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.impact-label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* ===== ABOUT SECTION ===== */
.about-img-grid {
  position: relative;
  height: 420px;
}
.about-img {
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.about-img-main {
  width: 80%;
  height: 320px;
  position: absolute;
  top: 0;
  left: 0;
}
.about-img-secondary {
  width: 55%;
  height: 200px;
  position: absolute;
  bottom: 0;
  right: 0;
  border: 4px solid var(--bg-white);
}
.about-exp-badge {
  position: absolute;
  top: 40px;
  right: -10px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  text-align: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.about-exp-badge strong { display: block; font-size: 1.8rem; font-weight: 800; line-height: 1; }
.about-exp-badge span { font-size: .75rem; font-weight: 600; opacity: .8; }

.feature-point {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 8px 12px;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  border: 1.5px solid #dce5f0;
}
.feature-point i { font-size: .95rem; }

/* ===== PROGRAMS SECTION ===== */
.programs-section
{
	background: var(--color-orange-light);
}

.program-card {
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid #edf2f9;
  overflow: hidden;
  transition: var(--transition);
}
.program-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--color-teal-light);
}

.program-img-wrap { position: relative; overflow: hidden; height: 200px; }
.program-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.program-card:hover .program-img { transform: scale(1.06); }
.program-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--color-primary);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}
.program-tag.green { background: var(--color-green); }
.program-tag.orange { background: var(--color-orange); }
.program-tag.teal { background: var(--color-teal); color: var(--text-dark); }

.program-body { padding: 22px; }
.program-icon {
  width: 44px;
  height: 44px;
  background: var(--color-teal-light);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.program-icon.green { background: var(--color-green-light); color: var(--color-green); }
.program-icon.orange { background: var(--color-orange-light); color: var(--color-orange); }
.program-icon.teal { background: var(--color-teal-light); color: var(--color-teal); }

.program-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.program-body p { font-size: .9rem; color: var(--text-muted); margin-bottom: 14px; }

/* CTA program card */
.program-cta-card {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.program-cta-card .program-icon { background: rgba(255,255,255,.15); color: #fff; }
.program-cta-card .program-title,
.program-cta-card p { color: rgba(255,255,255,.9); }
.program-cta-inner { padding: 40px 28px; }
.program-cta-card .btn { background: #fff; color: var(--color-primary) !important; border-color: #fff; }
.program-cta-card .btn:hover { background: var(--color-teal-light); }

/* ===== HOW IT WORKS ===== */
.how-step {
  padding: 32px 20px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1.5px solid #dce5f0;
  transition: var(--transition);
  position: relative;
}
.how-step:hover { box-shadow: var(--shadow-md); border-color: var(--color-teal-light); transform: translateY(-4px); }
.how-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-teal-light);
  line-height: 1;
  margin-bottom: 8px;
}
.how-icon {
  width: 52px;
  height: 52px;
  background: var(--color-teal-light);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 14px;
}
.how-step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.how-step p { font-size: .875rem; color: var(--text-muted); }

/* ===== GALLERY SECTION ===== */
.gallery-grid {
  columns: 4;
  column-gap: 14px;
  gap: 14px;
}
@media (max-width: 991px) { .gallery-grid { columns: 3; } }
@media (max-width: 576px) { .gallery-grid { columns: 2; } }

.gallery-item {
  position: relative;
  margin-bottom: 14px;
  break-inside: avoid;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}
.gallery-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .45s ease;
}
.gallery-item:hover .gallery-img { transform: scale(1.07); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,58,107,.7) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-open {
  background: rgba(255,255,255,.2);
  border: 2px solid rgba(255,255,255,.6);
  color: #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
  cursor: pointer;
}
.gallery-open:hover { background: var(--color-primary); border-color: var(--color-primary); transform: scale(1.1); }

/* Gallery item hidden by filter */
.gallery-item.hidden {
  display: none;
}

/* ===== LIGHTBOX ===== */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  backdrop-filter: blur(6px);
}
.lightbox-backdrop.active { opacity: 1; pointer-events: all; }

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transform: scale(.95);
  transition: opacity .3s, transform .3s;
}
.gallery-lightbox.active {
  opacity: 1;
  pointer-events: all;
  transform: scale(1);
}

.lightbox-inner {
  background: #111b2e;
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}
.lightbox-img-wrap {
  flex: 1;
  overflow: hidden;
  max-height: 56vh;
  background: #000;
}
.lightbox-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity .25s;
}
.lightbox-info {
  padding: 18px 24px;
  color: #fff;
}
.lightbox-info h4 { font-size: 1.1rem; color: #fff; margin-bottom: 4px; }
.lightbox-info p { font-size: .875rem; color: rgba(255,255,255,.6); }

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 2002;
  transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,.3); transform: rotate(90deg); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 2002;
  transition: var(--transition);
}
.lightbox-nav:hover { background: var(--color-primary); transform: translateY(-50%) scale(1.1); }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

.lightbox-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0 4px;
  scrollbar-width: thin;
}
.lightbox-thumbs::-webkit-scrollbar { height: 4px; }
.lightbox-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 4px; }

.lightbox-thumb {
  flex-shrink: 0;
  width: 60px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  opacity: .6;
}
.lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-thumb.active,
.lightbox-thumb:hover { border-color: var(--color-teal); opacity: 1; }

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid #dce5f0;
  transition: var(--transition);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--color-teal-light);
  position: absolute;
  top: -10px;
  left: 20px;
  line-height: 1;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); border-color: var(--color-teal-light); transform: translateY(-4px); }
.testimonial-stars { color: var(--color-yellow); font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card p {
  font-size: .95rem;
  font-style: italic;
  color: var(--text-body);
  margin-bottom: 18px;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-teal-light);
}
.testimonial-author strong { display: block; font-size: .9rem; color: var(--text-dark); }
.testimonial-author small { color: var(--text-muted); font-size: .75rem; }

/* ===== EVENTS SECTION ===== */
.event-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid #dce5f0;
  display: flex;
  transition: var(--transition);
}
.event-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: var(--color-teal-light); }

.event-date {
  background: var(--color-primary);
  color: #fff;
  width: 72px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
}
.event-date span { font-size: 2rem; font-weight: 800; font-family: var(--font-display); line-height: 1; }
.event-date small { font-size: .7rem; font-weight: 700; text-transform: uppercase; opacity: .8; letter-spacing: .08em; }

.event-body { padding: 18px 20px; flex: 1; }
.event-cat {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-teal);
  display: block;
  margin-bottom: 6px;
}
.event-title { font-size: 1.05rem; margin-bottom: 6px; }
.event-body p { font-size: .875rem; color: var(--text-muted); margin-bottom: 10px; }
.event-meta { display: flex; flex-direction: column; gap: 4px; }
.event-meta span { font-size: .8rem; color: var(--text-muted); }

/* ===== DONATE CTA SECTION ===== */
.donate-cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 60%, var(--color-secondary) 100%);
  position: relative;
  overflow: hidden;
}
.donate-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.donate-cta-inner { position: relative; z-index: 1; max-width: 700px; margin-inline: auto; }
.text-white-70 { color: rgba(255,255,255,.7) !important; }

.btn-donate-cta {
  background: #fff;
  color: var(--color-primary) !important;
  box-shadow: 0 6px 24px rgba(0,0,0,.2);
}
.btn-donate-cta:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,.3); }

/* ===== PARTNERS ===== */
.partners-scroll { overflow: hidden; width: 100%; }
.partners-track {
  display: flex;
  gap: 40px;
  align-items: center;
  animation: partnersScroll 20s linear infinite;
  width: max-content;
}
.partners-track:hover { animation-play-state: paused; }
.partner-logo {
  flex-shrink: 0;
  height: 60px;
  display: flex;
  align-items: center;
  filter: grayscale(1);
  opacity: .6;
  transition: var(--transition);
}
.partner-logo:hover { filter: none; opacity: 1; }
.partner-logo img { height: 50px; width: auto; object-fit: contain; }

@keyframes partnersScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== NEWSLETTER / CONTACT ===== */
.newsletter-section { background: var(--bg-light); }
.contact-quick {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid #dce5f0;
}

/* ===== FOOTER ===== */
.site-footer { background: var(--color-primary-dark); color: rgba(255,255,255,.75); }
.footer-top { border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-heading {
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-family: var(--font-body);
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--color-teal); padding-left: 4px; }
.footer-desc { font-size: .875rem; line-height: 1.75; color: rgba(255,255,255,.6); }
.footer-contact p { font-size: .875rem; color: rgba(255,255,255,.65); margin-bottom: 10px; display: flex; gap: 8px; align-items: flex-start; }
.footer-contact i { flex-shrink: 0; color: var(--color-teal); margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,.65); }
.footer-contact a:hover { color: var(--color-teal); }

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: var(--transition);
}
.social-link:hover { background: var(--color-teal); color: #fff; transform: translateY(-3px); }

.badge-cert {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.8);
  font-size: .72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,.15);
}

.footer-bottom {
  background: rgba(0,0,0,.2);
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}
.footer-bottom nav a { color: rgba(255,255,255,.5); font-size: .8rem; }
.footer-bottom nav a:hover { color: var(--color-teal); }

/* ===== FLOATING CTA (Mobile App Bottom Nav) ===== */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1020;
  background: var(--bg-white);
  border-top: 1px solid #dce5f0;
  box-shadow: 0 -4px 20px rgba(26,58,107,.12);
  display: flex;
  justify-content: space-around;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  backdrop-filter: blur(10px);
}
.float-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: .7rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  min-width: 52px;
}
.float-btn i { font-size: 1.25rem; }
.float-btn.active, .float-btn:hover { color: var(--color-primary); }
.float-btn-donate {
  background: linear-gradient(135deg, var(--color-orange), #c0521a);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 6px 14px;
  margin-top: -16px;
  box-shadow: 0 4px 16px rgba(232,119,34,.4);
}
.float-btn-donate:hover { color: #fff; transform: translateY(-3px); }
.float-btn-donate.active { color: #fff; }

/* Ensure footer doesn't overlap floating CTA on mobile */
@media (max-width: 991px) {
  body { padding-bottom: 70px; }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 42px;
  height: 42px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 1010;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--transition);
}
.back-to-top.visible { opacity: 1; pointer-events: all; transform: none; }
.back-to-top:hover { background: var(--color-orange); transform: translateY(-3px); }

@media (min-width: 992px) { .back-to-top { bottom: 30px; } }

/* ===== AOS-LIKE SCROLL ANIMATIONS ===== */
[data-aos] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-aos="fade-left"] { transform: translateX(28px); }
[data-aos="fade-right"] { transform: translateX(-28px); }
[data-aos="zoom-in"] { transform: scale(.9); }
[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

/* ===== FOCUS STYLES (WCAG) ===== */
:focus-visible {
  outline: 3px solid var(--color-teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .hero-section { padding: 60px 0 40px; min-height: auto; }
  .about-img-grid { height: 300px; }
  .about-img-main { width: 75%; height: 240px; }
  .about-img-secondary { width: 50%; height: 160px; }
  #navMenu {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 16px;
    margin-top: 8px;
    border: 1px solid #dce5f0;
  }
  .nav-link::after { display: none; }
}

@media (max-width: 576px) {
  .hero-title { font-size: 1.9rem; }
  .section-title { font-size: 1.7rem; }
  .gallery-grid { columns: 2; }
  .about-img-grid { height: 240px; }
  .about-img-main { width: 78%; height: 200px; }
  .about-img-secondary { width: 52%; height: 140px; }
  .event-card { flex-direction: column; }
  .event-date { flex-direction: row; gap: 6px; width: 100%; justify-content: flex-start; padding: 10px 16px; }
}

/* ===== UTILITY CLASSES ===== */
.text-primary-brand { color: var(--color-primary) !important; }
.text-secondary-brand { color: var(--color-secondary) !important; }
.text-teal { color: var(--color-teal) !important; }
.text-orange { color: var(--color-orange) !important; }
.text-green { color: var(--color-green) !important; }
.bg-primary-brand { background: var(--color-primary) !important; }
.bg-light-brand { background: var(--bg-light) !important; }
.rounded-brand { border-radius: var(--radius-lg) !important; }
.shadow-brand { box-shadow: var(--shadow-md) !important; }

/* ---- 8. Page Banner (inner pages) ---- */
.page-banner {
	position: relative;
	overflow: hidden;
	padding: 80px 0 50px;
	background: linear-gradient(135deg, var(--color-primary) 0%, #c7591b 100%);
}

.page-banner::after {
	content: '';
	position: absolute;
	inset: 0;
	background: url('../img/template.webp') center/cover no-repeat;
	opacity: .12;
	z-index: 0;
}

.page-banner .container {
	position: relative;
	z-index: 1;
}

.page-banner h1 {
	color: #fff;
}

.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item a,
.page-banner .breadcrumb-item.active {
	color: rgba(255, 255, 255, .75);
}

.page-banner .breadcrumb-item+.breadcrumb-item::before {
	color: rgba(255, 255, 255, .5);
}