.whif-2024-container {
  padding: 30px 0;
}

.whif-2024-title {
  font-size: 25px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #3b86c4;
}

.whif-2024-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: #333;
}
/* Gallery Grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 15px;
  padding: 40px;
  margin: auto;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
}

.gallery-item:hover {
  transform: scale(1.05);
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease-in-out;
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease-in-out;
}

/* Close Button */
.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.close:hover {
  color: white;
  transform: scale(1.2);
}

/* Navigation Buttons */
.lightbox .prev, .lightbox .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: white;
  cursor: pointer;
  padding: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: background 0.3s ease-in-out;
}

.lightbox .prev { left: 20px; }
.lightbox .next { right: 20px; }

.lightbox .prev:hover, .lightbox .next:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (max-width: 768px) {
  .whif-2024-container {
    padding: 10px;
  }
  .gallery {
      grid-template-columns: repeat(1, 1fr); /* One image per row on small screens */
  }
}