.gallery-container {
  width: 100%;
  margin: 0 auto;
}

.gallery-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0; /* No spacing between images, can add gap: 10px; if needed */
}

.gallery-item {
  flex: 1 1 20%; /* 5 images per row */
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

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

/* Responsive layout */
@media (max-width: 992px) {
  .gallery-item {
    flex: 1 1 33.33%; /* 3 per row on tablets */
  }
}

@media (max-width: 600px) {
  .gallery-item {
    flex: 1 1 50%; /* 2 per row on mobile */
  }
}
