.gallery-section {
  padding: 60px 0;
  background: #0a3d62;
}

.gallery-section h2 {
  text-align: center;
  color: #ffb347;
  margin-bottom: 10px;
  font-family: Comfortaa, serif;
}

.gallery-section .gallery-intro {
  text-align: center;
  color: #ffffff;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(10, 61, 98, 0.92));
  padding: 30px 15px 15px;
  color: #ffffff;
}

.gallery-caption h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #ffb347;
}

.gallery-caption p {
  font-size: 0.85rem;
  margin: 0;
  opacity: 0.9;
}

