* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== FOOTER ===== */
footer {
  background: #0f3d2e;
  color: white;
  padding: 60px 50px 40px;
  position: relative;
  overflow: hidden;
}

.footer-section a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  transform: translateY(-2px) scale(1.05);
  text-shadow: 0 0 8px #00ff66;
  color: white;
}

.footer-links a {
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  transform: translateY(-2px) scale(1.05);
  text-shadow: 0 0 8px #00ff66;
  color: white;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto 40px;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #00b44e;
  font-weight: 700;
  position: relative;
}

.footer-section h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 3px;
  background: #00ff66;
  transition: width 0.3s ease;
}

.footer-section h4:hover::after {
  width: 50px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 8px;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.footer-section ul li i {
  color: #00b44e;
  font-size: 16px;
  transition: transform 0.3s ease;
}

.footer-section ul li:hover {
  transform: translateX(5px);
}
.footer-section ul li:hover i {
  transform: scale(1.2);
}

.donate-btn {
  display: inline-block;
  background: #00b44e;
  color: white;
  padding: 10px 25px;
  border-radius: 30px;
  margin: 10px 0;
  font-weight: 700;
  transition: all 0.3s ease;
}

.donate-btn:hover {
  background: #007a2e;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 180, 78, 0.5);
}

.tax-info {
  font-size: 12px;
  color: #a2d5a1;
  margin-top: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #00b44e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00b44e;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  background: rgba(0, 180, 78, 0.1);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #00b44e;
  color: white;
  transform: translateY(-5px) scale(1.2);
  box-shadow: 0 8px 20px rgba(0, 180, 78, 0.5);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 180, 78, 0.3);
  padding-top: 25px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.footer-links a {
  color: #00b44e;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  transform: translateY(-2px);
}

.footer-copyright {
  color: #a2d5a1;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  .footer-section {
    margin-bottom: 30px;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatVideo {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes floatBox {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-fadeIn {
  animation: fadeIn 1.5s ease forwards;
}
.animate-fadeIn.delay-200 {
  animation-delay: 0.2s;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  padding: 8px 0 40px 0 !important;
}

/* ===== FEATURED CAROUSEL ===== */
.featured-carousel-wrapper {
  max-width: 1200px;
  margin: 0;
  padding: 0;
}

.carousel-heading {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  color: #1a5d4d;
  margin-bottom: 16px;
}

.featured-carousel-img {
  height: 500px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.65) !important;
  border-radius: 10px;
  padding: 10px 18px;
  bottom: 20px;
  display: block !important;
}

.carousel-caption h5 {
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  margin-bottom: 4px;
  text-decoration: none !important;
  border: none !important;
  border-bottom: none !important;
  outline: none !important;
}

.carousel-caption * {
  text-decoration: none !important;
  border-bottom: none !important;
}

.carousel-caption .badge {
  font-size: 12px;
}

/* ===== FILTER BUTTONS ===== */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4rem 16px 1.5rem;
  padding: 0 8px;
  animation: slideIn 1s ease forwards;
}

.filter-btn {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.filter-btn.active {
  background: white;
  color: #27ae60;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.filter-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(46, 204, 113, 0.5);
}

.filter-btn::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  background: rgba(255, 255, 255, 0.2);
  transform: scale(0);
  border-radius: 50%;
  transition: transform 0.5s ease;
}

.filter-btn:hover::after {
  transform: scale(1);
}

/* ===== GALLERY CARDS ===== */
.card-img-top {
  height: 200px !important;
  width: 100%;
  object-fit: cover !important;
  border-radius: 1rem !important;
  transition: transform 0.4s ease;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

.gallery-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
}

.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(46, 204, 113, 0.6);
}

.caption {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 5px 10px;
  border-radius: 8px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.photo {
  height: 20rem;
  width: 20rem;
}
.show-img {
  height: 30vh;
  object-fit: cover;
  width: 50%;
}

/* ===== LIGHTBOX ===== */
#lightbox {
  display: none;
}
#lightbox.active {
  display: flex;
}
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  z-index: 50;
}
#lightbox button {
  background: none;
  border: none;
  cursor: pointer;
}
#lightboxImg {
  max-height: 80%;
  max-width: 90%;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s ease;
}
#closeLightbox,
#prev,
#next {
  position: absolute;
  color: white;
  font-size: 2rem;
}
#closeLightbox {
  top: 20px;
  right: 30px;
}
#prev {
  left: 30px;
}
#next {
  right: 30px;
}

/* ===== VIDEO SECTION ===== */
.floating-video {
  animation: floatVideo 6s ease-in-out infinite;
}

.video-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
}

.video-container:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(46, 204, 113, 0.6);
}

.video-element {
  width: 100%;
  height: auto;
  max-height: 400px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 16px;
}

.video-controls {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 12px;
  border-radius: 30px;
}

.video-controls button {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  border: none;
  color: white;
  font-size: 18px;
  padding: 6px 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.video-controls button:hover {
  transform: scale(1.1);
}

.video-controls input[type="range"] {
  -webkit-appearance: none;
  height: 6px;
  border-radius: 5px;
  background: #2ecc71;
  cursor: pointer;
}

.video-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  border: 2px solid #27ae60;
  cursor: pointer;
}

.video-caption-box {
  margin: 1.5rem auto;
  max-width: 700px;
  text-align: center;
  padding: 1.5rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: white;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  animation: floatBox 6s ease-in-out infinite;
}

.caption-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
  opacity: 0;
  animation: fadeSlideDown 1s ease forwards;
}

.caption-subtitle {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeSlideUp 1.2s ease forwards;
}

.support-btn {
  background: white;
  color: #27ae60;
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.support-btn:hover {
  transform: scale(1.1);
  background: #2ecc71;
  color: white;
  box-shadow: 0 8px 25px rgba(46, 204, 113, 0.7);
}

.support-btn::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  background: rgba(255, 255, 255, 0.2);
  transform: scale(0);
  border-radius: 50%;
  transition: transform 0.5s ease;
}
.support-btn:hover::after {
  transform: scale(1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .gallery-section {
    padding: 0 0 40px 0 !important;
  }
  .featured-carousel-img {
    height: 380px;
  }
}

@media (max-width: 768px) {
  .gallery-section {
    padding: 0 !important;
  }
  .featured-carousel-wrapper {
    margin: 70px 0 0 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }
  .featured-carousel-img {
    height: 300px;
  }
  .carousel-heading {
    font-size: 20px;
  }
  .carousel-caption h5 {
    font-size: 14px;
  }
  .video-caption-box {
    padding: 1.2rem;
    margin: 1rem 8px;
  }
  .caption-title {
    font-size: 1.5rem;
  }
  .caption-subtitle {
    font-size: 0.95rem;
  }
  .support-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
  .filter-btn {
    padding: 8px 14px;
    font-size: 13px;
  }
  .card-img-top {
    height: 180px !important;
  }
  .video-controls {
    padding: 6px 8px;
    gap: 6px;
  }
  .video-controls button {
    font-size: 14px;
    padding: 4px 8px;
  }
  #seekBar {
    width: 80px;
  }
  #volumeBar {
    width: 50px;
  }
  #lightboxImg {
    max-width: 95%;
    max-height: 70%;
  }
  #closeLightbox {
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
  }
  #prev {
    left: 10px;
    font-size: 1.5rem;
  }
  #next {
    right: 10px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .gallery-section {
    padding: 0 !important;
  }
  .featured-carousel-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }
  .featured-carousel-img {
    height: 300px;
  }
  .gallery-filters {
    gap: 6px;
    margin: 1rem 8px;
  }
  .filter-btn {
    padding: 7px 12px;
    font-size: 12px;
  }
  .caption-title {
    font-size: 1.3rem;
  }
  .caption-subtitle {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }
  .card-img-top {
    height: 160px !important;
  }
  #volumeBar {
    display: none;
  }
  #seekBar {
    width: 70px;
  }
  .video-controls {
    gap: 4px;
    padding: 4px 6px;
  }
}

@media (max-width: 360px) {
  .filter-btn {
    padding: 6px 10px;
    font-size: 11px;
  }
  .card-img-top {
    height: 140px !important;
  }
  .video-caption-box {
    padding: 1rem;
  }
  .featured-carousel-img {
    height: 170px;
  }
}

.featured-carousel-wrapper .carousel-indicators {
  bottom: 60px !important;
}

.featured-carousel-wrapper .carousel-indicators button {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  border-top: none !important;
  border-bottom: none !important;
  background-color: rgba(255, 255, 255, 0.6) !important;
}

.featured-carousel-wrapper .carousel-indicators button.active {
  background-color: #2ecc71 !important;
}

/* Gallery page navbar gap fix - mobile only */
@media (max-width: 768px) {
  .gallery-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .featured-carousel-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* Remove Tailwind top padding on body wrapper */
  .w-full.me-auto {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  /* Carousel image should touch navbar directly */
  #featuredCarousel {
    margin-top: 0 !important;
  }

  .carousel-inner {
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    /* ===== FOOTER ===== */
    footer {
      background: #0f3d2e;
      color: white;
      padding: 60px 50px 40px;
      position: relative;
      overflow: hidden;
    }

    .footer-section a {
      color: white;
      text-decoration: none;
      font-weight: 500;
      transition: all 0.3s ease;
    }

    .footer-section a:hover {
      transform: translateY(-2px) scale(1.05);
      text-shadow: 0 0 8px #00ff66;
      color: white;
    }

    .footer-links a {
      color: white;
      font-weight: 600;
      transition: all 0.3s ease;
    }

    .footer-links a:hover {
      transform: translateY(-2px) scale(1.05);
      text-shadow: 0 0 8px #00ff66;
      color: white;
    }

    .footer-content {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 40px;
      max-width: 1300px;
      margin: 0 auto 40px;
    }

    .footer-section h4 {
      font-size: 18px;
      margin-bottom: 20px;
      color: #00b44e;
      font-weight: 700;
      position: relative;
    }

    .footer-section h4::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -5px;
      width: 0;
      height: 3px;
      background: #00ff66;
      transition: width 0.3s ease;
    }

    .footer-section h4:hover::after {
      width: 50px;
    }

    .footer-section ul {
      list-style: none;
      padding: 0;
    }

    .footer-section ul li {
      margin-bottom: 12px;
      font-size: 14px;
      line-height: 1.6;
      display: flex;
      align-items: center;
      gap: 8px;
      transition:
        transform 0.3s ease,
        color 0.3s ease;
    }

    .footer-section ul li i {
      color: #00b44e;
      font-size: 16px;
      transition: transform 0.3s ease;
    }

    .footer-section ul li:hover {
      transform: translateX(5px);
    }
    .footer-section ul li:hover i {
      transform: scale(1.2);
    }

    .donate-btn {
      display: inline-block;
      background: #00b44e;
      color: white;
      padding: 10px 25px;
      border-radius: 30px;
      margin: 10px 0;
      font-weight: 700;
      transition: all 0.3s ease;
    }

    .donate-btn:hover {
      background: #007a2e;
      transform: translateY(-5px) scale(1.05);
      box-shadow: 0 8px 20px rgba(0, 180, 78, 0.5);
    }

    .tax-info {
      font-size: 12px;
      color: #a2d5a1;
      margin-top: 5px;
    }

    .social-links {
      display: flex;
      gap: 15px;
      margin-top: 15px;
    }

    .social-links a {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: 2px solid #00b44e;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #00b44e;
      text-decoration: none;
      font-size: 16px;
      font-weight: bold;
      background: rgba(0, 180, 78, 0.1);
      transition: all 0.3s ease;
    }

    .social-links a:hover {
      background: #00b44e;
      color: white;
      transform: translateY(-5px) scale(1.2);
      box-shadow: 0 8px 20px rgba(0, 180, 78, 0.5);
    }

    .footer-bottom {
      border-top: 1px solid rgba(0, 180, 78, 0.3);
      padding-top: 25px;
      text-align: center;
    }

    .footer-links {
      display: flex;
      justify-content: center;
      gap: 25px;
      flex-wrap: wrap;
      margin-bottom: 12px;
    }

    .footer-links a {
      color: #00b44e;
      font-weight: 600;
      transition: all 0.3s ease;
    }

    .footer-links a:hover {
      color: white;
      transform: translateY(-2px);
    }

    .footer-copyright {
      color: #a2d5a1;
      font-size: 13px;
    }

    @media (max-width: 1024px) {
      .footer-content {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .footer-content {
        grid-template-columns: 1fr;
      }
      .footer-section {
        margin-bottom: 30px;
      }
    }

    /* ===== ANIMATIONS ===== */
    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeSlideDown {
      from {
        opacity: 0;
        transform: translateY(-20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeSlideUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes slideIn {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes floatVideo {
      0%,
      100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-10px);
      }
    }

    @keyframes floatBox {
      0%,
      100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-10px);
      }
    }

    .animate-fadeIn {
      animation: fadeIn 1.5s ease forwards;
    }
    .animate-fadeIn.delay-200 {
      animation-delay: 0.2s;
    }

    /* ===== GALLERY SECTION ===== */
    .gallery-section {
      padding: 8px 0 40px 0 !important;
    }

    /* ===== FEATURED CAROUSEL ===== */
    .featured-carousel-wrapper {
      max-width: 1200px;
      margin: 0;
      padding: 0;
    }

    .carousel-heading {
      text-align: center;
      font-size: 28px;
      font-weight: 800;
      color: #1a5d4d;
      margin-bottom: 16px;
    }

    .featured-carousel-img {
      height: 500px;
      object-fit: cover;
      border-radius: 16px 16px 0 0;
    }

    .carousel-caption {
      background: rgba(0, 0, 0, 0.65) !important;
      border-radius: 10px;
      padding: 10px 18px;
      bottom: 20px;
      display: block !important;
    }

    .carousel-caption h5 {
      color: #ffffff !important;
      font-size: 18px;
      font-weight: 700;
      text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
      margin-bottom: 4px;
      text-decoration: none !important;
      border: none !important;
      border-bottom: none !important;
      outline: none !important;
    }

    .carousel-caption * {
      text-decoration: none !important;
      border-bottom: none !important;
    }

    .carousel-caption .badge {
      font-size: 12px;
    }

    /* ===== FILTER BUTTONS ===== */
    .gallery-filters {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 8px;
      margin: 4rem 16px 1.5rem;
      padding: 0 8px;
      animation: slideIn 1s ease forwards;
    }

    .filter-btn {
      background: linear-gradient(135deg, #2ecc71, #27ae60);
      color: white;
      border: none;
      padding: 10px 18px;
      border-radius: 30px;
      font-weight: 600;
      font-size: 14px;
      cursor: pointer;
      transition: all 0.3s ease;
      white-space: nowrap;
      position: relative;
      overflow: hidden;
    }

    .filter-btn.active {
      background: white;
      color: #27ae60;
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    }

    .filter-btn:hover {
      transform: translateY(-3px) scale(1.05);
      box-shadow: 0 8px 20px rgba(46, 204, 113, 0.5);
    }

    .filter-btn::after {
      content: "";
      position: absolute;
      width: 120%;
      height: 120%;
      top: -10%;
      left: -10%;
      background: rgba(255, 255, 255, 0.2);
      transform: scale(0);
      border-radius: 50%;
      transition: transform 0.5s ease;
    }

    .filter-btn:hover::after {
      transform: scale(1);
    }

    /* ===== GALLERY CARDS ===== */
    .card-img-top {
      height: 200px !important;
      width: 100%;
      object-fit: cover !important;
      border-radius: 1rem !important;
      transition: transform 0.4s ease;
    }

    .card:hover .card-img-top {
      transform: scale(1.05);
    }

    .gallery-img {
      width: 100%;
      border-radius: 12px;
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
      transition:
        transform 0.5s ease,
        box-shadow 0.5s ease;
      cursor: pointer;
      opacity: 0;
      transform: translateY(30px);
    }

    .gallery-img:hover {
      transform: scale(1.05);
      box-shadow: 0 0 20px rgba(46, 204, 113, 0.6);
    }

    .caption {
      position: absolute;
      bottom: 10px;
      left: 10px;
      background: rgba(0, 0, 0, 0.6);
      color: white;
      padding: 5px 10px;
      border-radius: 8px;
      opacity: 1;
      transition: opacity 0.3s ease;
    }

    .photo {
      height: 20rem;
      width: 20rem;
    }
    .show-img {
      height: 30vh;
      object-fit: cover;
      width: 50%;
    }

    /* ===== LIGHTBOX ===== */
    #lightbox {
      display: none;
    }
    #lightbox.active {
      display: flex;
    }
    #lightbox {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.9);
      align-items: center;
      justify-content: center;
      z-index: 50;
    }
    #lightbox button {
      background: none;
      border: none;
      cursor: pointer;
    }
    #lightboxImg {
      max-height: 80%;
      max-width: 90%;
      border-radius: 12px;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
      transition: transform 0.3s ease;
    }
    #closeLightbox,
    #prev,
    #next {
      position: absolute;
      color: white;
      font-size: 2rem;
    }
    #closeLightbox {
      top: 20px;
      right: 30px;
    }
    #prev {
      left: 30px;
    }
    #next {
      right: 30px;
    }

    /* ===== VIDEO SECTION ===== */
    .floating-video {
      animation: floatVideo 6s ease-in-out infinite;
    }

    .video-container {
      position: relative;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
      transition:
        transform 0.5s ease,
        box-shadow 0.5s ease;
    }

    .video-container:hover {
      transform: scale(1.02);
      box-shadow: 0 12px 30px rgba(46, 204, 113, 0.6);
    }

    .video-element {
      width: 100%;
      height: auto;
      max-height: 400px;
      aspect-ratio: 16/9;
      object-fit: cover;
      border-radius: 16px;
    }

    .video-controls {
      position: absolute;
      bottom: 10px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      align-items: center;
      gap: 10px;
      background: rgba(0, 0, 0, 0.5);
      padding: 8px 12px;
      border-radius: 30px;
    }

    .video-controls button {
      background: linear-gradient(135deg, #2ecc71, #27ae60);
      border: none;
      color: white;
      font-size: 18px;
      padding: 6px 12px;
      border-radius: 50%;
      cursor: pointer;
      transition: transform 0.3s ease;
    }

    .video-controls button:hover {
      transform: scale(1.1);
    }

    .video-controls input[type="range"] {
      -webkit-appearance: none;
      height: 6px;
      border-radius: 5px;
      background: #2ecc71;
      cursor: pointer;
    }

    .video-controls input[type="range"]::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: white;
      border: 2px solid #27ae60;
      cursor: pointer;
    }

    .video-caption-box {
      margin: 1.5rem auto;
      max-width: 700px;
      text-align: center;
      padding: 1.5rem;
      border-radius: 20px;
      background: linear-gradient(135deg, #2ecc71, #27ae60);
      color: white;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
      animation: floatBox 6s ease-in-out infinite;
    }

    .caption-title {
      font-size: 2.2rem;
      font-weight: bold;
      margin-bottom: 1rem;
      text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
      opacity: 0;
      animation: fadeSlideDown 1s ease forwards;
    }

    .caption-subtitle {
      font-size: 1.2rem;
      margin-bottom: 1.5rem;
      opacity: 0;
      animation: fadeSlideUp 1.2s ease forwards;
    }

    .support-btn {
      background: white;
      color: #27ae60;
      padding: 14px 32px;
      border-radius: 40px;
      font-weight: 700;
      font-size: 1rem;
      text-decoration: none;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .support-btn:hover {
      transform: scale(1.1);
      background: #2ecc71;
      color: white;
      box-shadow: 0 8px 25px rgba(46, 204, 113, 0.7);
    }

    .support-btn::after {
      content: "";
      position: absolute;
      width: 120%;
      height: 120%;
      top: -10%;
      left: -10%;
      background: rgba(255, 255, 255, 0.2);
      transform: scale(0);
      border-radius: 50%;
      transition: transform 0.5s ease;
    }
    .support-btn:hover::after {
      transform: scale(1);
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 1024px) {
      .gallery-section {
        padding: 0 0 40px 0 !important;
      }
      .featured-carousel-img {
        height: 380px;
      }
    }

    @media (max-width: 768px) {
      .gallery-section {
        padding: 0 !important;
      }
      .featured-carousel-wrapper {
        margin: 70px 0 0 0 !important;
        padding: 0 !important;
        width: 100% !important;
      }
      .featured-carousel-img {
        height: 300px;
      }
      .carousel-heading {
        font-size: 20px;
      }
      .carousel-caption h5 {
        font-size: 14px;
      }
      .video-caption-box {
        padding: 1.2rem;
        margin: 1rem 8px;
      }
      .caption-title {
        font-size: 1.5rem;
      }
      .caption-subtitle {
        font-size: 0.95rem;
      }
      .support-btn {
        padding: 10px 24px;
        font-size: 0.9rem;
      }
      .filter-btn {
        padding: 8px 14px;
        font-size: 13px;
      }
      .card-img-top {
        height: 180px !important;
      }
      .video-controls {
        padding: 6px 8px;
        gap: 6px;
      }
      .video-controls button {
        font-size: 14px;
        padding: 4px 8px;
      }
      #seekBar {
        width: 80px;
      }
      #volumeBar {
        width: 50px;
      }
      #lightboxImg {
        max-width: 95%;
        max-height: 70%;
      }
      #closeLightbox {
        top: 10px;
        right: 15px;
        font-size: 1.5rem;
      }
      #prev {
        left: 10px;
        font-size: 1.5rem;
      }
      #next {
        right: 10px;
        font-size: 1.5rem;
      }
    }

    @media (max-width: 480px) {
      .gallery-section {
        padding: 0 !important;
      }
      .featured-carousel-wrapper {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
      }
      .featured-carousel-img {
        height: 300px;
      }
      .gallery-filters {
        gap: 6px;
        margin: 1rem 8px;
      }
      .filter-btn {
        padding: 7px 12px;
        font-size: 12px;
      }
      .caption-title {
        font-size: 1.3rem;
      }
      .caption-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1rem;
      }
      .card-img-top {
        height: 160px !important;
      }
      #volumeBar {
        display: none;
      }
      #seekBar {
        width: 70px;
      }
      .video-controls {
        gap: 4px;
        padding: 4px 6px;
      }
    }

    @media (max-width: 360px) {
      .filter-btn {
        padding: 6px 10px;
        font-size: 11px;
      }
      .card-img-top {
        height: 140px !important;
      }
      .video-caption-box {
        padding: 1rem;
      }
      .featured-carousel-img {
        height: 170px;
      }
    }

    .featured-carousel-wrapper .carousel-indicators {
      bottom: 60px !important;
    }

    .featured-carousel-wrapper .carousel-indicators button {
      width: 10px !important;
      height: 10px !important;
      border-radius: 50% !important;
      border-top: none !important;
      border-bottom: none !important;
      background-color: rgba(255, 255, 255, 0.6) !important;
    }

    .featured-carousel-wrapper .carousel-indicators button.active {
      background-color: #2ecc71 !important;
    }

    /* Gallery page navbar gap fix - mobile only */
    @media (max-width: 768px) {
      .gallery-section {
        margin-top: 0 !important;
        padding-top: 0 !important;
      }

      .featured-carousel-wrapper {
        margin-top: 0 !important;
        padding-top: 0 !important;
      }

      /* Remove Tailwind top padding on body wrapper */
      .w-full.me-auto {
        padding-top: 0 !important;
        margin-top: 0 !important;
      }

      /* Carousel image should touch navbar directly */
      #featuredCarousel {
        margin-top: 0 !important;
      }

      .carousel-inner {
        margin-top: 0 !important;
      }
    }

    /* Override index.css carousel styles for gallery only */
    .featured-carousel-wrapper .carousel {
      height: auto !important;
      perspective: none !important;
      overflow: visible !important;
    }

    .featured-carousel-wrapper .carousel-track {
      animation: none !important;
      transform: none !important;
      position: relative !important;
      width: 100% !important;
      height: auto !important;
    }

    margin-top: 0 !important;
  }
}

/* Override index.css carousel styles for gallery only */
.featured-carousel-wrapper .carousel {
  height: auto !important;
  perspective: none !important;
  overflow: visible !important;
}

.featured-carousel-wrapper .carousel-track {
  animation: none !important;
  transform: none !important;
  position: relative !important;
  width: 100% !important;
  height: auto !important;
}
