.activity_h1 {
  font-family: 'Poppins', sans-serif;
  color: white;
}

/* Container setup */
.activity_gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 30px;
  max-width: 1400px;
  margin: auto;
}

/* Activity item container */
.activity_item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.activity_item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Image style */
.activity_gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.activity_item:hover img {
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .activity_gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 25px;
  }
  
  .activity_gallery img {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .activity_gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 20px;
  }
  
  .activity_gallery img {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .activity_gallery {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px;
  }
  
  .activity_gallery img {
    height: 200px;
  }
}

/* Header style */
.activity_header {
  background-color: #0a3c7d;
  color: white;
  text-align: center;
  padding: 25px 0;
  font-family: Arial, sans-serif;
  margin-bottom: 10px;
}

/* Image Popup Styles */
#imagePopup {
  backdrop-filter: blur(5px);
}

#imagePopup img {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#imagePopup .prev-arrow,
#imagePopup .next-arrow {
  transition: all 0.3s ease;
  opacity: 0.7;
}

#imagePopup .prev-arrow:hover,
#imagePopup .next-arrow:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

#imagePopup .close-btn {
  transition: all 0.3s ease;
  opacity: 0.7;
}

#imagePopup .close-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Mobile responsiveness for popup */
@media (max-width: 768px) {
  #imagePopup .prev-arrow {
    left: 10px;
    font-size: 40px;
  }
  
  #imagePopup .next-arrow {
    right: 10px;
    font-size: 40px;
  }
  
  #imagePopup .close-btn {
    top: 10px;
    right: 10px;
    font-size: 30px;
  }
}