
/* Gallery Section */
.image-gallery {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.section-title {
  text-align: center;
  color: #1a3e72;
  font-size: 2.2rem;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #e74c3c;
}

.gallery-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.gallery-slide.active {
  opacity: 1;
  position: relative;
}

.gallery-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 62, 114, 0.8);
  color: white;
  padding: 15px;
  text-align: center;
  font-size: 1.1rem;
}

/* Navigation buttons */
.gallery-prev, .gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(231, 76, 60, 0.7);
  color: white;
  border: none;
  padding: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  z-index: 10;
  transition: all 0.3s ease;
}

.gallery-prev:hover, .gallery-next:hover {
  background-color: #e74c3c;
}

.gallery-prev {
  left: 20px;
}

.gallery-next {
  right: 20px;
}

/* Dots navigation */
.gallery-dots {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.gallery-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-dots .dot.active {
  background-color: #e74c3c;
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .gallery-slide img {
    height: 400px;
  }
  
  .gallery-prev, .gallery-next {
    width: 40px;
    height: 40px;
    padding: 10px;
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .image-gallery {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .gallery-slide img {
    height: 300px;
  }
  
  .image-caption {
    font-size: 1rem;
    padding: 10px;
  }
}