/* ===================================================================
 * HOME PAGE REDESIGN CSS
 * Mata Dhanpati Devi Charitable Trust
 * Palette: Maroon (#7B2C2C / #A52A2A) + Saffron (#F28C28 / #FFD700)
 * =================================================================== */

:root {
  --maroon: #7b2c2c;
  --maroon-deep: #a52a2a;
  --maroon-dark: #8b1e1e;
  --maroon-deeper: #3a0d0d;
  --saffron: #f28c28;
  --saffron-dark: #e67e22;
  --gold: #ffd700;
  --cream-light: #fff9e6;
  --cream: #fff0d1;
  --cream2: #fff5e1;
  --cream3: #ffead2;
  --text-body: #333333;
  --text-secondary: #555555;
  --text-muted: #666666;
  --white: #ffffff;
}

/* ===== 1. HERO SLIDER — Override existing for fresh look ===== */
.hero-slider {
  border-bottom: 4px solid var(--saffron) !important;
}
.slide-eyebrow {
  background: var(--maroon-deep) !important;
}
.slide-actions .btn-warning {
  background: linear-gradient(135deg, var(--saffron), var(--gold)) !important;
  color: var(--maroon-deeper) !important;
}
.slide-actions .btn-warning:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(242, 140, 40, 0.5);
}
.slide-actions .btn-light {
  border: 2px solid var(--white);
  background: transparent;
  color: var(--white);
}
.slide-actions .btn-light:hover {
  background: var(--white);
  color: var(--maroon-deep);
  transform: translateY(-3px);
}

/* ===== 2. TRUST STATS BAR ===== */
.trust-stats-bar {
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon-deeper));
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}
.trust-stats-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 10% 50%,
      rgba(255, 215, 0, 0.06) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 90% 50%,
      rgba(242, 140, 40, 0.06) 0%,
      transparent 50%
    );
  pointer-events: none;
}
.trust-stats-bar .stat-item {
  text-align: center;
  padding: 15px 20px;
  position: relative;
}
.trust-stats-bar .stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}
.trust-stats-bar .stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
  display: block;
  font-family: "Playfair Display", serif;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.trust-stats-bar .stat-label {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
  display: block;
}
.stats-suffix {
  font-size: 1.8rem;
  color: var(--saffron);
}
@media (max-width: 768px) {
  .trust-stats-bar .stat-number {
    font-size: 2.2rem;
  }
  .trust-stats-bar .stat-label {
    font-size: 0.85rem;
  }
  .trust-stats-bar .stat-item:not(:last-child)::after {
    display: none;
  }
  .trust-stats-bar {
    padding: 25px 0;
  }
}

/* ===== 3. ABOUT SECTION — Override with split view ===== */
.about-trust {
  background: var(--cream-light) !important;
}
.about-trust .section-heading {
  color: var(--maroon-deep);
  font-weight: 700;
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 15px;
}
.about-trust .section-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  border-radius: 2px;
}
.about-trust .mission-vision-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px;
  height: 100%;
  border-left: 4px solid var(--saffron);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}
.about-trust .mission-vision-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.about-trust .mission-vision-card .card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 15px;
}
.about-trust .mission-vision-card h5 {
  color: var(--maroon-deep);
  font-weight: 700;
  margin-bottom: 10px;
}
.about-trust .mission-vision-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
}
.about-trust .highlight-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.about-trust .highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.about-trust .highlight-list li:last-child {
  border-bottom: none;
}
.about-trust .highlight-list li i {
  color: var(--saffron);
  margin-top: 3px;
  font-size: 1rem;
}
.about-trust .about-image-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}
.about-trust .about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.about-trust .about-image-frame:hover img {
  transform: scale(1.05);
}
.about-trust .about-image-frame .exp-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--maroon-deep);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(165, 42, 42, 0.3);
}
.about-trust .about-image-frame .exp-badge span {
  font-size: 1.8rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}
.about-trust .about-image-frame .exp-badge small {
  font-size: 0.75rem;
  opacity: 0.9;
}
@media (max-width: 768px) {
  .about-trust .section-heading {
    font-size: 2rem;
  }
  .about-trust .mission-vision-card {
    padding: 20px;
  }
}

/* ===== 4. OUR IMPACT — Dark theme counter strip ===== */
.our-impact {
  background: linear-gradient(
    135deg,
    var(--cream),
    var(--cream-light)
  ) !important;
}
.our-impact .impact-card {
  background: var(--white);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(242, 140, 40, 0.1);
  position: relative;
  overflow: hidden;
}
.our-impact .impact-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
}
.our-impact .impact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.our-impact .impact-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--cream3), var(--cream2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.5rem;
  color: var(--maroon-deep);
  transition: all 0.3s ease;
}
.our-impact .impact-card:hover .impact-icon {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}
.our-impact .counter {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--saffron);
  margin: 10px 0;
  font-family: "Playfair Display", serif;
}
.our-impact .impact-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-body);
  margin: 0;
}

/* ===== 5. PROGRAMS SECTION ===== */
.programs-initiatives {
  background: var(--cream2) !important;
}
.program-card {
  background: var(--white);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(242, 140, 40, 0.1);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.program-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(242, 140, 40, 0.03),
    rgba(165, 42, 42, 0.03)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}
.program-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.program-card:hover::before {
  opacity: 1;
}
.program-card .program-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--cream3), var(--cream-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--saffron);
  transition: all 0.4s ease;
}
.program-card:hover .program-icon {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--white);
  transform: scale(1.1) rotateY(10deg);
}
.program-card .program-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--maroon-deep);
  margin-bottom: 10px;
}
.program-card .program-subtitle {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--saffron);
  font-style: italic;
  margin-bottom: 10px;
}
.program-card .program-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ===== HOME PROGRAM CARDS (DB-driven) ===== */
.home-program-card {
  background: var(--white);
  border-radius: 18px;
  padding: 2rem 1.5rem 1.5rem;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.home-program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.home-program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -8px rgba(165, 42, 42, 0.18);
}

.home-program-card:hover::before {
  opacity: 1;
}

.home-program-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(165, 42, 42, 0.08), rgba(242, 140, 40, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.35s ease;
  flex-shrink: 0;
}

.home-program-card:hover .home-program-icon {
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon-dark));
  transform: scale(1.05) rotate(-3deg);
}

.home-program-icon i {
  font-size: 1.4rem;
  color: var(--maroon-deep);
  transition: color 0.35s ease;
}

.home-program-card:hover .home-program-icon i {
  color: white;
}

.home-program-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--cream2);
  color: var(--maroon-dark);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  align-self: flex-start;
  border: 1px solid rgba(242, 140, 40, 0.15);
}

.home-program-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--maroon-deep);
  margin-bottom: 0.6rem;
  line-height: 1.3;
  font-family: 'Hind', sans-serif;
}

.home-program-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0 0 1.2rem 0;
  flex: 1;
}

.home-program-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--saffron);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  margin-top: auto;
}

.home-program-link:hover {
  color: var(--maroon-deep);
  gap: 10px;
}

/* ===== 6. WHY CHOOSE US ===== */
.why-choose-us {
  background: linear-gradient(135deg, var(--cream-light), var(--white));
  padding: 80px 0;
  position: relative;
}
.why-choose-us .section-heading {
  color: var(--maroon-deep);
  font-weight: 700;
  font-size: 2.3rem;
  position: relative;
  padding-bottom: 15px;
  display: inline-block;
}
.why-choose-us .section-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  border-radius: 2px;
}
.why-choose-us .feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 30px 25px;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(242, 140, 40, 0.08);
  position: relative;
  overflow: hidden;
}
.why-choose-us .feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(242, 140, 40, 0.2);
}
.why-choose-us .feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon-dark));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  color: var(--gold);
  transition: all 0.3s ease;
}
.why-choose-us .feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--maroon-deeper);
  transform: scale(1.05);
}
.why-choose-us .feature-card h5 {
  font-weight: 700;
  color: var(--maroon-deep);
  margin-bottom: 10px;
}
.why-choose-us .feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 768px) {
  .why-choose-us {
    padding: 50px 0;
  }
}

/* ===== 7. OUR TRUSTEES — Highlight cards ===== */
.home-trustees {
  background: linear-gradient(135deg, var(--cream-light), var(--cream2));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.home-trustees::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(242, 140, 40, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ===== TRUSTEE CAROUSEL ===== */
.trustee-carousel {
  position: relative;
  overflow: hidden;
}

.trustee-carousel-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.trustee-carousel-slide {
  flex: 0 0 calc(25% - 1rem);
  min-width: 0;
}

.trustee-card-carousel {
  background: var(--white);
  border-radius: 18px;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.trustee-card-carousel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--maroon-deep), var(--saffron));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.trustee-card-carousel:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -8px rgba(165, 42, 42, 0.18);
}

.trustee-card-carousel:hover::before {
  opacity: 1;
}

.trustee-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trustee-img-wrap {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 3px solid rgba(242, 140, 40, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: all 0.35s ease;
}

.trustee-card-carousel:hover .trustee-img-wrap {
  border-color: var(--saffron);
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(242, 140, 40, 0.25);
}

.trustee-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.trustee-card-carousel:hover .trustee-img-wrap img {
  transform: scale(1.1);
}

.trustee-img-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.4) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.trustee-card-carousel:hover .trustee-img-shine {
  transform: translateX(100%);
}

.trustee-card-inner h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--maroon-deep);
  margin-bottom: 4px;
  line-height: 1.3;
}

.trustee-card-inner .trustee-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin: 0;
  padding: 4px 12px;
  background: var(--cream2);
  border-radius: 50px;
  display: inline-block;
  border: 1px solid rgba(242, 140, 40, 0.1);
}

.trustee-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.trustee-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid rgba(165, 42, 42, 0.15);
  color: var(--maroon-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.trustee-nav-btn:hover {
  background: var(--maroon-deep);
  border-color: var(--maroon-deep);
  color: white;
  transform: scale(1.08);
}

.trustee-dots {
  display: flex;
  gap: 8px;
}

.trustee-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0c8b8;
  cursor: pointer;
  transition: all 0.35s ease;
}

.trustee-dot.active {
  background: var(--maroon-deep);
  width: 26px;
  border-radius: 5px;
  box-shadow: 0 0 0 3px rgba(165, 42, 42, 0.15);
}

.trustee-dot:hover {
  background: var(--saffron);
}

@media (max-width: 991.98px) {
  .trustee-carousel-slide {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

@media (max-width: 767.98px) {
  .trustee-carousel-slide {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (max-width: 479.98px) {
  .trustee-carousel-slide {
    flex: 0 0 100%;
  }
}

@media (max-width: 768px) {
  .home-trustees {
    padding: 50px 0;
  }
}

/* ===== 8. LATEST NEWS ===== */
.news-section {
  background: var(--cream-light);
  padding: 80px 0;
}
.news-section .section-heading {
  color: var(--maroon-deep);
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
  display: inline-block;
}
.news-section .section-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  border-radius: 2px;
}
.news-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(242, 140, 40, 0.08);
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.news-card .news-img {
  height: 200px;
  overflow: hidden;
}
.news-card .news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-img img {
  transform: scale(1.08);
}
.news-card .news-body {
  padding: 20px;
}
.news-card .news-date {
  font-size: 0.8rem;
  color: var(--saffron);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}
.news-card .news-date i {
  margin-right: 5px;
}
.news-card .news-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--maroon-deep);
  margin-bottom: 10px;
  line-height: 1.4;
}
.news-card .news-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 15px;
}
.news-card .news-link {
  color: var(--saffron);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.news-card .news-link:hover {
  color: var(--maroon-deep);
  text-decoration: underline;
}

/* ===== 9. HOME EVENTS — Compact styling ===== */
.home-events {
  background: linear-gradient(135deg, var(--cream), var(--cream2));
  padding: 80px 0;
}
.home-event-item {
  background: var(--white);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  margin-bottom: 16px;
  border-left: 4px solid var(--saffron);
}
.home-event-item:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.home-event-item .event-date-badge-sm {
  min-width: 50px;
  text-align: center;
  padding: 10px;
  background: var(--maroon-deep);
  color: var(--white);
  border-radius: 10px;
}
.home-event-item .event-date-badge-sm .day {
  font-size: 1.5rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}
.home-event-item .event-date-badge-sm .mon {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 600;
}
.home-event-item .event-info {
  padding: 15px 0;
}
.home-event-item .event-info h6 {
  font-weight: 700;
  color: var(--maroon-deep);
  margin-bottom: 5px;
}
.home-event-item .event-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}
.home-event-item .event-info p i {
  color: var(--saffron);
  margin-right: 5px;
}
@media (max-width: 768px) {
  .home-events {
    padding: 50px 0;
  }
}

/* ===== 10. GALLERY GRID ===== */
.home-gallery-section {
  background: var(--cream2) !important;
}

/* ===== 11. TESTIMONIALS ===== */
.home-testimonials {
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon-dark));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.home-testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 15% 20%,
      rgba(255, 215, 0, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(242, 140, 40, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}
.home-testimonials .section-heading {
  color: var(--white);
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
  display: inline-block;
}
.home-testimonials .section-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  border-radius: 2px;
}
.home-testimonials .section-intro {
  color: rgba(255, 255, 255, 0.8);
}

/* Swiper layout customization */
.home-testimonial-swiper {
  padding: 30px 15px 60px !important;
  position: relative;
}

/* Glassmorphic card design */
.home-testimonial-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.home-testimonial-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.home-testimonial-card .card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}

/* Quote watermark background */
.home-testimonial-card .quote-bg-icon {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 5rem;
  color: rgba(255, 215, 0, 0.1);
  pointer-events: none;
  line-height: 1;
}

/* Rating Stars */
.home-testimonial-card .rating-stars {
  font-size: 0.95rem;
}
.home-testimonial-card .text-gold {
  color: #ffd700 !important;
}

/* Testimonial text */
.home-testimonial-card .testimonial-content-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.7;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Profile avatars */
.home-testimonial-card .author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.home-testimonial-card .author-avatar-initials {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

/* Profile texts */
.home-testimonial-card .author-name {
  color: #ffd700;
  font-size: 1.15rem;
  font-weight: 600;
}

.home-testimonial-card .author-role {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  font-weight: 500;
}

/* Swiper custom arrows styling */
.testimonial-swiper-next,
.testimonial-swiper-prev {
  color: rgba(255, 255, 255, 0.8) !important;
  background: rgba(255, 255, 255, 0.1);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.testimonial-swiper-next:after,
.testimonial-swiper-prev:after {
  font-size: 18px !important;
  font-weight: bold;
}

.testimonial-swiper-next:hover,
.testimonial-swiper-prev:hover {
  background: #f28c28;
  border-color: #f28c28;
  color: #fff !important;
}

.testimonial-swiper-next {
  right: -5px !important;
}

.testimonial-swiper-prev {
  left: -5px !important;
}

/* Responsive arrows for mobile */
@media (max-width: 768px) {
  .testimonial-swiper-next,
  .testimonial-swiper-prev {
    display: none !important;
  }
}

/* Swiper Bullet Pagination */
.testimonial-swiper-pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.4) !important;
  opacity: 1 !important;
  width: 10px;
  height: 10px;
  transition: all 0.3s ease;
}

.testimonial-swiper-pagination .swiper-pagination-bullet-active {
  background: #ffd700 !important;
  width: 28px !important;
  border-radius: 5px !important;
}

/* ===== 12. HOW YOU CAN HELP ===== */
.how-you-can-help {
  background: var(--cream-light) !important;
}

/* ===== 13. DONATE CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(
    135deg,
    var(--maroon-deeper),
    var(--maroon-deep),
    var(--maroon-dark)
  );
  padding: 70px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(255, 215, 0, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(242, 140, 40, 0.08) 0%,
      transparent 40%
    );
  pointer-events: none;
}
.cta-banner h2 {
  color: var(--gold);
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-family: "Playfair Display", serif;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.6;
}
.cta-banner .cta-btn {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--maroon-deeper);
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(242, 140, 40, 0.3);
  border: none;
}
.cta-banner .cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(242, 140, 40, 0.5);
}
.cta-banner .cta-btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  margin-left: 15px;
}
.cta-banner .cta-btn-outline:hover {
  background: var(--white);
  color: var(--maroon-deep);
  border-color: var(--white);
  transform: translateY(-3px);
}
@media (max-width: 768px) {
  .cta-banner h2 {
    font-size: 1.8rem;
  }
  .cta-banner p {
    font-size: 1rem;
  }
  .cta-banner .cta-btn {
    padding: 14px 30px;
    font-size: 1rem;
  }
  .cta-banner .cta-btn-outline {
    margin-left: 0;
    margin-top: 10px;
  }
}

/* ===== 14. FAQ SECTION ===== */
.faq-section {
  background: var(--cream-light);
  padding: 80px 0;
}
.faq-section .accordion-item {
  border: 1px solid rgba(242, 140, 40, 0.12);
  border-radius: 12px !important;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.faq-section .accordion-button {
  padding: 18px 22px;
  font-weight: 700;
  color: var(--maroon-deep);
  background: var(--white);
  font-size: 1rem;
  border-radius: 12px !important;
}
.faq-section .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--cream3), var(--cream));
  color: var(--maroon-dark);
  box-shadow: none;
}
.faq-section .accordion-button:focus {
  box-shadow: none;
  border-color: var(--saffron);
}
.faq-section .accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23A52A2A'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
}
.faq-section .accordion-button:not(.collapsed)::after {
  filter: brightness(0.8);
}
.faq-section .accordion-body {
  padding: 0 22px 18px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .faq-section {
    padding: 50px 0;
  }
}

/* ===== 15. CONTACT ===== */
.home-contact {
  background: linear-gradient(135deg, var(--cream), var(--cream2));
  padding: 80px 0;
}
.home-contact .contact-card-item {
  background: var(--white);
  border-radius: 14px;
  padding: 24px;
  height: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(242, 140, 40, 0.08);
  display: flex;
  align-items: center;
  gap: 18px;
}
.home-contact .contact-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.home-contact .contact-card-item .icon-wrap {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
  flex-shrink: 0;
}
.home-contact .contact-card-item h6 {
  font-weight: 700;
  color: var(--maroon-deep);
  margin-bottom: 2px;
}
.home-contact .contact-card-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}
.home-contact .contact-card-item a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}
.home-contact .contact-card-item a:hover {
  color: var(--saffron);
}
.home-contact .map-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  height: 280px;
}
.home-contact .map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 768px) {
  .home-contact {
    padding: 50px 0;
  }
}

/* ===== 16. NEWSLETTER SIGNUP ===== */
.newsletter-section {
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon-deeper));
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 30% 50%,
    rgba(255, 215, 0, 0.05) 0%,
    transparent 50%
  );
  pointer-events: none;
}
.newsletter-section h3 {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.newsletter-section p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}
.newsletter-section .newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}
.newsletter-section .newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 50px;
  border: none;
  font-size: 1rem;
  outline: none;
}
.newsletter-section .newsletter-form button {
  padding: 14px 28px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--maroon-deeper);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.newsletter-section .newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(242, 140, 40, 0.4);
}
@media (max-width: 576px) {
  .newsletter-section {
    padding: 40px 0;
  }
  .newsletter-section .newsletter-form {
    flex-direction: column;
  }
  .newsletter-section .newsletter-form input {
    text-align: center;
  }
}

/* ===== COMMON MISC ===== */
.section-title-sep {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  border-radius: 2px;
  margin: 15px auto 0;
}
.section-title-sep.left {
  margin: 15px 0 0;
}
.text-saffron {
  color: var(--saffron);
}
.text-gold {
  color: var(--gold);
}
.text-maroon {
  color: var(--maroon-deep);
}
/* Read More Link Style */
.read-more {
  color: var(--saffron);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.read-more:hover {
  color: var(--maroon-deep);
  text-decoration: underline;
}
.read-more i {
  font-size: 0.75rem;
  transition: transform 0.3s;
}
.read-more:hover i {
  transform: translateX(3px);
}

/* ===== View All Button Override ===== */
.view-all-btn {
  background: var(--maroon-deep) !important;
  border-color: var(--maroon-deep) !important;
  color: var(--white) !important;
}
.view-all-btn:hover {
  background: var(--maroon-dark) !important;
  transform: scale(1.05);
}

/* ===================================================================
 * GLOBAL UX ENHANCEMENTS
 * =================================================================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

/* Generic AOS entrance default — keep AOS library working */
[data-aos] {
  transition: none;
}
[data-aos].aos-animate {
  transition-property: transform, opacity;
  transition-duration: 0.8s;
}

/* Section eyebrow badge - shared across many sections */
.section-eyebrow {
  display: inline-block;
  background: var(--cream3);
  color: var(--maroon-deep);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-eyebrow.on-dark {
  background: rgba(255, 255, 255, 0.15);
  color: var(--gold);
}
.section-heading {
  color: var(--maroon-deep);
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
  display: inline-block;
  font-family: "Playfair Display", serif;
}
.section-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  transform: translateX(-50%);
  left: 50%;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  border-radius: 2px;
}
.section-heading.left::after {
  left: 0;
  transform: none;
}
.section-heading.on-dark {
  color: var(--white);
}

/* ===================================================================
 * SECTION 4: AWARDS & RECOGNITION STRIP
 * =================================================================== */
.awards-strip {
  background: linear-gradient(135deg, var(--cream-light), var(--white));
  padding: 60px 0;
  border-top: 1px solid rgba(242, 140, 40, 0.15);
  border-bottom: 1px solid rgba(242, 140, 40, 0.15);
}
.awards-strip .award-badge {
  background: var(--white);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(242, 140, 40, 0.12);
  height: 100%;
  transition: all 0.3s ease;
}
.awards-strip .award-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--saffron);
}
.awards-strip .award-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--white);
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(242, 140, 40, 0.3);
}
.awards-strip .award-badge h6 {
  color: var(--maroon-deep);
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 0.95rem;
}
.awards-strip .award-badge p {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0;
  font-family: "Poppins", sans-serif;
}
@media (max-width: 768px) {
  .awards-strip {
    padding: 40px 0;
  }
}

/* ===================================================================
 * SECTION 8: ORGANIZATION TIMELINE
 * =================================================================== */
.org-timeline {
  background: var(--white);
  padding: 80px 0;
  position: relative;
}
.org-timeline .timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}
.org-timeline .timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    180deg,
    var(--saffron),
    var(--maroon-deep),
    var(--saffron)
  );
  transform: translateX(-50%);
  border-radius: 2px;
}
.org-timeline .tl-item {
  position: relative;
  width: 50%;
  padding: 18px 40px;
  margin-bottom: 8px;
}
.org-timeline .tl-item.left {
  left: 0;
  text-align: right;
}
.org-timeline .tl-item.right {
  left: 50%;
}
.org-timeline .tl-item::before {
  content: "";
  position: absolute;
  top: 30px;
  width: 16px;
  height: 16px;
  background: var(--saffron);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--maroon-deep);
  z-index: 2;
}
.org-timeline .tl-item.left::before {
  right: -8px;
}
.org-timeline .tl-item.right::before {
  left: -8px;
}
.org-timeline .tl-content {
  background: var(--cream-light);
  border-radius: 12px;
  padding: 18px 20px;
  border-left: 4px solid var(--saffron);
  display: inline-block;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.org-timeline .tl-item:hover .tl-content {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.org-timeline .tl-year {
  display: inline-block;
  background: var(--maroon-deep);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
}
.org-timeline .tl-title {
  font-weight: 700;
  color: var(--maroon-deep);
  margin-bottom: 4px;
  font-size: 1.05rem;
}
.org-timeline .tl-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 768px) {
  .org-timeline {
    padding: 50px 0;
  }
  .org-timeline .timeline::before {
    left: 20px;
  }
  .org-timeline .tl-item {
    width: 100%;
    padding: 12px 0 12px 50px;
  }
  .org-timeline .tl-item.left,
  .org-timeline .tl-item.right {
    left: 0;
    text-align: left;
  }
  .org-timeline .tl-item.left::before,
  .org-timeline .tl-item.right::before {
    left: 12px;
    right: auto;
  }
  .org-timeline .tl-content {
    display: block;
  }
}

/* ===================================================================
 * SECTION 12: ACHIEVEMENTS TICKER BAND
 * =================================================================== */
.achievements-band {
  background: linear-gradient(135deg, var(--cream3), var(--cream2));
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}
.achievements-band::before,
.achievements-band::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 215, 0, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.achievements-band::before {
  top: -100px;
  left: -50px;
}
.achievements-band::after {
  bottom: -100px;
  right: -50px;
}
.achievements-band .achv-item {
  text-align: center;
  padding: 15px;
  position: relative;
  z-index: 1;
}
.achievements-band .achv-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: var(--gold);
  font-size: 1.2rem;
}
.achievements-band .achv-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--maroon-deep);
  display: block;
  font-family: "Playfair Display", serif;
  line-height: 1.1;
}
.achievements-band .achv-number small {
  font-size: 1.2rem;
  color: var(--saffron);
}
.achievements-band .achv-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 500;
}
@media (max-width: 768px) {
  .achievements-band .achv-number {
    font-size: 1.6rem;
  }
  .achievements-band .achv-label {
    font-size: 0.8rem;
  }
}

/* ===================================================================
 * SECTION 13: REDESIGNED GALLERY (filter chips + masonry)
 * =================================================================== */
.gallery-filter-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.gallery-filter-chips .chip {
  padding: 8px 18px;
  border-radius: 50px;
  background: var(--white);
  border: 2px solid rgba(165, 42, 42, 0.2);
  color: var(--maroon-deep);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.gallery-filter-chips .chip:hover,
.gallery-filter-chips .chip.active {
  background: var(--maroon-deep);
  color: var(--white);
  border-color: var(--maroon-deep);
  transform: scale(1.05);
}
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
  grid-auto-flow: dense;
}
.gallery-masonry .gm-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--cream3);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}
.gallery-masonry .gm-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.gallery-masonry .gm-item.tall {
  grid-row: span 2;
}
.gallery-masonry .gm-item.wide {
  grid-column: span 2;
}
.gallery-masonry .gm-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-masonry .gm-item:hover img {
  transform: scale(1.1);
}
.gallery-masonry .gm-item .gm-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(58, 13, 13, 0.95) 0%,
    rgba(58, 13, 13, 0.4) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-masonry .gm-item:hover .gm-overlay {
  opacity: 1;
}
.gallery-masonry .gm-item .gm-overlay h6 {
  font-weight: 700;
  margin: 0 0 4px;
  font-size: 0.95rem;
}
.gallery-masonry .gm-item .gm-overlay small {
  color: var(--gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.gallery-masonry .gm-item .gm-overlay .gm-view {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: var(--saffron);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
}
@media (max-width: 992px) {
  .gallery-masonry {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
  }
  .gallery-masonry .gm-item.wide {
    grid-column: span 1;
  }
}

/* ===================================================================
 * SECTION 14: SUCCESS STORIES (DB-driven testimonials carousel)
 * =================================================================== */
.success-stories {
  background: linear-gradient(135deg, var(--cream), var(--cream-light));
  padding: 80px 0;
  position: relative;
}
.success-card {
  background: var(--white);
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
  height: 100%;
  transition: all 0.4s ease;
  border: 1px solid rgba(242, 140, 40, 0.1);
  display: flex;
  flex-direction: column;
}
.success-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}
.success-card .sc-photo {
  height: 220px;
  background: linear-gradient(135deg, var(--maroon-deep), var(--saffron));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-card .sc-photo .sc-initial {
  font-size: 4.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  font-family: "Playfair Display", serif;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}
.success-card .sc-photo .sc-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--maroon-deeper);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.success-card .sc-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.success-card .sc-quote {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 18px;
  position: relative;
  padding-left: 18px;
  flex: 1;
}
.success-card .sc-quote::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -8px;
  font-size: 2rem;
  color: var(--saffron);
  font-family: serif;
  line-height: 1;
}
.success-card .sc-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--maroon-deep);
  margin-bottom: 2px;
}
.success-card .sc-role {
  color: var(--saffron);
  font-size: 0.88rem;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 8px;
}
.success-card .sc-stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: auto;
}
@media (max-width: 768px) {
  .success-stories {
    padding: 50px 0;
  }
  .success-card .sc-photo {
    height: 180px;
  }
}

/* ===================================================================
 * SECTION 16: PROGRESS REPORTS DOWNLOAD
 * =================================================================== */
.progress-reports-grid {
  background: linear-gradient(135deg, var(--cream-light), var(--cream2));
  padding: 80px 0;
}
.report-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  border: 1px solid rgba(242, 140, 40, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.report-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--maroon-deep), var(--saffron));
}
.report-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}
.report-card .report-year {
  display: inline-block;
  background: var(--maroon-deep);
  color: var(--gold);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  align-self: flex-start;
}
.report-card .report-title {
  color: var(--maroon-deep);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.report-card .report-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 15px;
}
.report-card .report-btn {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--maroon-deeper);
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-block;
  text-align: center;
  border: none;
  transition: all 0.3s ease;
}
.report-card .report-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(242, 140, 40, 0.4);
}
.report-card .report-btn.disabled {
  background: linear-gradient(135deg, #ddd, #ccc);
  color: #777;
  cursor: not-allowed;
}
.report-card .report-btn.disabled:hover {
  transform: none;
  box-shadow: none;
}
@media (max-width: 768px) {
  .progress-reports-grid {
    padding: 50px 0;
  }
}

/* ===================================================================
 * SECTION 17: FEATURED PRAYER
 * =================================================================== */
.featured-prayer {
  background: linear-gradient(135deg, var(--maroon-deeper), var(--maroon-deep));
  padding: 80px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.featured-prayer::before {
  content: "|| हरि ओउम् ||";
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 4px;
}
.featured-prayer .prayer-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 20px;
  padding: 50px 40px 35px;
  backdrop-filter: blur(8px);
  text-align: center;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.featured-prayer .prayer-quote {
  color: var(--gold);
  font-size: 2rem;
  font-family: serif;
  margin-bottom: 20px;
  opacity: 0.7;
}
.featured-prayer .prayer-title {
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: "Playfair Display", serif;
}
.featured-prayer .prayer-text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.9;
  font-style: italic;
  max-height: 250px;
  overflow-y: auto;
  padding: 0 20px;
  text-align: left;
}
.featured-prayer .prayer-text::-webkit-scrollbar {
  width: 6px;
}
.featured-prayer .prayer-text::-webkit-scrollbar-thumb {
  background: var(--saffron);
  border-radius: 3px;
}
@media (max-width: 768px) {
  .featured-prayer {
    padding: 70px 0 50px;
  }
  .featured-prayer .prayer-card {
    padding: 40px 20px 25px;
  }
  .featured-prayer .prayer-title {
    font-size: 1.3rem;
  }
  .featured-prayer .prayer-text {
    font-size: 0.95rem;
  }
}

/* ===================================================================
 * SECTION 18: VIDEO SHOWCASE
 * =================================================================== */
.video-showcase {
  background: var(--white);
  padding: 80px 0;
}
.video-showcase .video-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  aspect-ratio: 16/9;
  background: var(--maroon-deeper);
}
.video-showcase .video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-showcase .video-card {
  background: var(--cream-light);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 16px;
  border-left: 4px solid var(--saffron);
  transition: all 0.3s ease;
}
.video-showcase .video-card:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.video-showcase .video-card h6 {
  font-weight: 700;
  color: var(--maroon-deep);
  margin-bottom: 4px;
}
.video-showcase .video-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}
.video-showcase .video-card .play-icon {
  display: inline-block;
  color: var(--saffron);
  margin-right: 6px;
}
@media (max-width: 768px) {
  .video-showcase {
    padding: 50px 0;
  }
}

/* ===================================================================
 * SECTION 19: PARTNERS & SUPPORTERS LOGO STRIP
 * =================================================================== */
.partners-strip {
  background: var(--cream-light);
  padding: 70px 0;
  position: relative;
}
.partners-strip .partner-card {
  background: var(--white);
  border: 1px solid rgba(242, 140, 40, 0.12);
  border-radius: 14px;
  padding: 22px 15px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 130px;
}
.partners-strip .partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-color: var(--saffron);
}
.partners-strip .partner-card .partner-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--cream3), var(--cream));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--maroon-deep);
  margin-bottom: 10px;
}
.partners-strip .partner-card h6 {
  font-weight: 700;
  color: var(--maroon-deep);
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.partners-strip .partner-card p {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin: 0;
  line-height: 1.3;
}
@media (max-width: 768px) {
  .partners-strip {
    padding: 50px 0;
  }
}

/* ===================================================================
 * SECONDARY CTA BANNER (smaller, between sections)
 * =================================================================== */
.cta-banner-sm {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  padding: 50px 0;
  text-align: center;
}
.cta-banner-sm h3 {
  color: var(--maroon-deeper);
  font-weight: 800;
  font-size: 1.6rem;
  margin-bottom: 10px;
  font-family: "Playfair Display", serif;
}
.cta-banner-sm p {
  color: var(--maroon-deeper);
  font-size: 1rem;
  margin: 0 0 20px;
  opacity: 0.85;
}
.cta-banner-sm .cta-btn-dark {
  background: var(--maroon-deep);
  color: var(--white);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}
.cta-banner-sm .cta-btn-dark:hover {
  background: var(--maroon-deeper);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ===================================================================
 * NEWSLETTER ENHANCEMENTS
 * =================================================================== */
.newsletter-section .newsletter-form button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.newsletter-section .newsletter-form button .spinner {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.newsletter-section .newsletter-form button:disabled {
  opacity: 0.7;
  cursor: wait;
}
.newsletter-msg {
  margin-top: 10px;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  display: inline-block;
  font-weight: 600;
}
.newsletter-msg.success {
  background: rgba(40, 167, 69, 0.2);
  color: #5fff5f;
  border: 1px solid rgba(40, 167, 69, 0.4);
}
.newsletter-msg.error {
  background: rgba(220, 53, 69, 0.2);
  color: #ff8888;
  border: 1px solid rgba(220, 53, 69, 0.4);
}

/* ===================================================================
 * HERO SLIDER — Enhanced 2.0
 * =================================================================== */
.hero-slider {
  border-bottom: 4px solid var(--saffron) !important;
}
.slide-overlay {
  background: linear-gradient(
    135deg,
    rgba(58, 13, 13, 0.85) 0%,
    rgba(58, 13, 13, 0.55) 50%,
    rgba(58, 13, 13, 0.7) 100%
  ) !important;
}
.slide-eyebrow {
  background: linear-gradient(
    135deg,
    var(--maroon-deep),
    var(--maroon-dark)
  ) !important;
  border: 1px solid rgba(255, 215, 0, 0.3);
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}
.slide-title {
  font-size: 3.8rem !important;
  line-height: 1.1 !important;
  margin-bottom: 18px !important;
}
.slide-title .accent {
  display: block;
  color: var(--gold);
  font-size: 2.8rem;
  font-weight: 600;
  margin-top: 6px;
}
@media (max-width: 991px) {
  .slide-title {
    font-size: 2.6rem !important;
  }
  .slide-title .accent {
    font-size: 1.8rem;
  }
}
@media (max-width: 575px) {
  .slide-title {
    font-size: 2rem !important;
  }
  .slide-title .accent {
    font-size: 1.4rem;
  }
}

/* ===================================================================
 * ABOUT SECTION — Enhanced 2006 story
 * =================================================================== */
.about-trust .about-quote {
  background: var(--cream3);
  border-left: 4px solid var(--saffron);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  font-style: italic;
  color: var(--maroon-deep);
  font-weight: 500;
  margin-top: 22px;
  position: relative;
}
.about-trust .about-quote::before {
  content: "\201C";
  position: absolute;
  top: -5px;
  left: 8px;
  font-size: 2.5rem;
  color: var(--saffron);
  font-family: serif;
  line-height: 1;
}
.about-trust .values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.about-trust .value-pill {
  background: var(--white);
  border: 1px solid rgba(242, 140, 40, 0.15);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  transition: all 0.3s ease;
}
.about-trust .value-pill:hover {
  background: var(--cream3);
  transform: translateY(-2px);
  border-color: var(--saffron);
}
.about-trust .value-pill i {
  color: var(--saffron);
  font-size: 1.3rem;
  display: block;
  margin-bottom: 6px;
}
.about-trust .value-pill span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--maroon-deep);
}
@media (max-width: 576px) {
  .about-trust .values-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================================
 * UTILITIES
 * =================================================================== */
.object-fit-cover {
  object-fit: cover;
}
.hover-lift {
  transition: transform 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-3px);
}

/* Print styles override */
@media print {
  .hero-slider,
  .trust-stats-bar,
  .cta-banner,
  .cta-banner-sm,
  .newsletter-section,
  .whatsapp-float,
  .scroll-to-top,
  .navbar,
  footer {
    display: none !important;
  }
}

/* ===== 7.5. ACTIVITIES SECTION ===== */
.home-activities {
  background: var(--cream-light);
  position: relative;
  padding: 80px 0;
}

.home-activities .eyebrow-text {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--saffron);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

/* ===== ACTIVITY CARDS — ADVANCED DESIGN ===== */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.activity-card {
  background: var(--white);
  border-radius: 18px;
  padding: 1.6rem 1.5rem 1.4rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.activity-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 2;
}

.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -8px rgba(165, 42, 42, 0.18);
}

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

/* Animated pattern background on hover */
.activity-card-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.activity-card:hover .activity-card-bg {
  opacity: 0.5;
}

.activity-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(242, 140, 40, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(165, 42, 42, 0.06) 0%, transparent 40%);
}

.activity-card > * {
  position: relative;
  z-index: 1;
}

/* Status pill */
.activity-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  background: var(--cream2);
  color: var(--maroon-dark);
  border: 1px solid rgba(242, 140, 40, 0.15);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-fortnightly { background: #10B981; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2); }
.dot-annual     { background: #F59E0B; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2); }
.dot-ongoing    { background: #3B82F6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); animation: pulse 2s infinite; }
.dot-special    { background: #8B5CF6; box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2); }

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

/* Icon with ring */
.activity-icon-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activity-icon-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon-deep), var(--saffron));
  opacity: 0.1;
  transition: all 0.35s ease;
}

.activity-icon-wrap::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px dashed var(--saffron);
  opacity: 0;
  transition: all 0.4s ease;
  transform: rotate(0deg);
}

.activity-icon-wrap i {
  font-size: 1.7rem;
  color: var(--maroon-deep);
  z-index: 1;
  transition: all 0.35s ease;
}

.activity-card:hover .activity-icon-ring {
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon-dark));
  opacity: 1;
  transform: scale(1.05);
}

.activity-card:hover .activity-icon-wrap::after {
  opacity: 0.6;
  transform: rotate(180deg);
}

.activity-card:hover .activity-icon-wrap i {
  color: white;
  transform: scale(1.1);
}

/* Title */
.activity-title {
  color: var(--maroon-deep);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

/* Description */
.activity-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 1rem;
}

/* Divider */
.activity-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(242, 140, 40, 0.3), transparent);
  margin: 0 0 0.85rem 0;
}

/* Footer */
.activity-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.activity-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-light);
  padding: 4px 10px;
  border-radius: 50px;
}

.activity-meta i {
  color: var(--saffron);
  font-size: 0.75rem;
}

@media (max-width: 991.98px) {
  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .activity-grid {
    grid-template-columns: 1fr;
  }
}
