body {
  font-family: "Poppins", sans-serif;
  background-color: #f1edea;
  color: #131213;
  padding-top: 70px;
}

.navbar {
  background-color: #2c5e74 !important;
}

.navbar-nav .nav-link {
  color: #fefefe !important;
  margin-left: 25px;
}

ul li a:hover:not(.active) {
  background-color: #231a06;
}

.navbar-nav .nav-link:hover {
  color: #ffd56b !important;
  border-radius: 15%;
}

.navbar-nav a.active {
  color: #1d1605 !important;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  padding: 1rem;
  border-radius: 10px;
}

section h2,
section h3 {
  color: #3e2c5c;
}
/* === 5. GALLERY (SERVICES/GALLERY) SECTION === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 0 10px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(5, 173, 152, 0.85); /* Primary Accent w/ opacity */
  color: #fefefe;
  padding: 10px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-info {
  transform: translateY(0);
}

/* Lightbox Styling */
.lightbox {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  margin: 10% auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fefefe;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
  color: #d6794d;
  text-decoration: none;
}

footer {
  background-color: #131213;
}

/* Media Queries */
@media (max-width: 768px) {
  .navbar-nav {
    background-color: #015a84;
    padding: 1rem;
  }

  .carousel-caption h2 {
    font-size: 1.5rem;
  }

  .carousel-caption p {
    font-size: 1rem;
  }

  .container {
    padding: 1rem;
  }

  .btn {
    width: 100%;
    margin-top: 1rem;
  }
}
.services {
  padding: 2rem;
}

.services ul {
  list-style: none;
  padding: 0;
}

.services li {
  margin-bottom: 1rem;
  background-color: #d6794d;
  padding: 1rem;
  border-radius: 8px;
  color: #fff;
}

/* Lightbox Core */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.90);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
}

.lightbox-image {
  max-width: 90%;
  max-height: 75%;
  border-radius: 10px;
  animation: zoomIn 0.35s ease;
}

/* Zoom animation */
@keyframes zoomIn {
  from { transform: scale(0.6); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* Caption */
.lightbox-caption {
  color: white;
  margin-top: 15px;
  font-size: 1.2rem;
  text-align: center;
}

/* Close button */
.close-lightbox {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 60px;
  color: white;
  cursor: pointer;
  z-index: 10000;
}

/* Arrows */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  font-size: 60px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  padding: 20px;
  transform: translateY(-50%);
  user-select: none;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  color: #ffc107;
}

/* Hover zoom on gallery thumbnails */
.gallery-img {
  cursor: zoom-in;
  transition: transform .3s;
}

.gallery-img:hover {
  transform: scale(1.08);
}

/* ------------------------------
   Stories & Impact Section
--------------------------------*/
.stories-section {
  background-color: #f9f9f9;
}

.story-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.story-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.story-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.story-content {
  padding: 20px;
}

.story-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #05432c; /* dark green */
}

.story-content p {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: #333;
}

.story-content .btn {
  font-weight: bold;
  border-radius: 25px;
  padding: 6px 20px;
  transition: background-color 0.3s;
}

.story-content .btn:hover {
  background-color: #05b084;
  color: #fff;
}

/* -----------------------------
   Video Section Styling
--------------------------------*/
.video-wrapper {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(205, 17, 17, 0.1);
}

.custom-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s;
}

.custom-video:hover {
  transform: scale(1.02);
}

.video-wrapper video::-webkit-media-controls-panel {
  background-color: rgba(229, 239, 236, 0.9); /* Optional: Custom control bar color */
}

.video-wrapper video::-webkit-media-controls-play-button,
.video-wrapper video::-webkit-media-controls-volume-slider {
  filter: invert(1); /* Optional: White controls */
}

/* ============================
   SPONSORS SECTION
============================ */
.sponsors-section {
  padding: 60px 0;
  background: #f9fafb;
  text-align: center;
}

.sponsors-section .section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #0d0d0d;
}

.sponsor-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
}

.sponsor-card {
  background: #ffffff;
  padding: 20px 25px;
  border-radius: 18px;
  width: 200px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sponsor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

.sponsor-card img {
  width: 90px;
  height: auto;
  margin-bottom: 10px;
}

.sponsor-card p {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

/* ---------------------------
   Infinite Sponsor Slider
--------------------------- */
.sponsor-section {
  background: #ffffff;
  border-top: 3px solid var(--green-1);
}

.sponsor-slider {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 10px 0;
}

.sponsor-track {
  display: flex;
  width: calc(200%); /* double width because we duplicated images */
  animation: scrollLeft 25s linear infinite;
}

.sponsor-track img {
  height: 60px;
  margin: 0 40px;
  object-fit: contain;
  filter: drop-shadow(0px 2px 3px rgba(0,0,0,0.15));
  transition: transform 0.3s ease;
}

.sponsor-track img:hover {
  transform: scale(1.1);
}

/* Smooth nonstop scroll */
@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Reverse scroll (if you want right-to-left instead) */
/*
@keyframes scrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
*/

@media (max-width: 600px) {
  .sponsor-track img {
    height: 45px;
    margin: 0 25px;
  }
}

/* ------------------------------
   Contact Page Social Icons
------------------------------ */
.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  box-shadow: 0px 3px 6px rgba(0,0,0,0.25);
}

/* Individual platform colors */
.facebook { background: #1877f2; }
.instagram { background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #4f5bd5); }
.twitter { background: #000; }
.tiktok {
  background: linear-gradient(135deg, #000000, #ff0050, #00f2ea);
}

/* Hover animation */
.social-icon:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* === 8. DONATE SECTION STYLES (Replacement) === */

/* Donate Hero Header */
.donate-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/hero-bg.jpg'); /* Use a relevant background image and add an overlay */
  background-size: cover;
  background-position: center;
  color: white;
  padding: 80px 0 !important;
  margin-top: 70px !important; /* Push down past fixed navbar */
}

.donate-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  margin-bottom: 15px;
}

/* Impact Pitch Section - A highlighted block */
.impact-pitch-section {
    border-left: 5px solid #05ad98; /* Accent color border */
}

/* Gift Card Section Styling */
.gift-card-section {
    border: 1px solid #ddd;
}

.preferred-card {
    border: 3px solid #05ad98; /* Your accent color */
    background-color: #e6fffb; /* Light tint for preferred cards */
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: default;
}

.preferred-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.preferred-card h5 {
    color: #2c5e74;
    font-weight: 600;
}

/* Gift Card Upload Form Styling */
.gift-card-upload {
  /* Use your custom dashed border style for uniqueness */
  border: 2px dashed #05ad98; 
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.gift-card-upload h3 {
    color: #d6794d; /* Use your secondary accent color */
    font-family: 'Montserrat', sans-serif;
}

.custom-submit-btn {
    background-color: #05ad98; /* Primary accent color */
    border-color: #05ad98;
    font-weight: bold;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.custom-submit-btn:hover {
    background-color: #049685; /* Slightly darker hover */
    border-color: #049685;
}

/* Other Ways to Give Section */
.other-ways-section .icon-box {
    border-color: #c4c4c4 !important;
    transition: background-color 0.3s;
}

.other-ways-section .icon-box:hover {
    background-color: #f9f9f9;
}

.other-ways-section h4 {
    color: #2c5e74;
    font-weight: 600;
}

/* Media Query Adjustments for Donate Page */
@media (max-width: 768px) {
    .donate-hero h1 {
        font-size: 2.5rem;
    }
    .preferred-card {
        margin-bottom: 15px;
    }
}
/* TikTok Video Card */
.tiktok-video-card {
  background: #fff;
  border-radius: 16px;
  padding: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

