/* Carousel 2 Styles */

.image-carousel {
  position: relative;
  max-width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.image-carousel img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.image-carousel img.active {
  display: block;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 1.5rem;
  padding: 0.6rem 1rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
  transition: background 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: rgba(0,0,0,0.8);
}

.carousel-prev {
  left: 15px;
}

.carousel-next {
  right: 15px;
}

.carousel-pagination {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-dot.active {
  background: #0c4a6e;
}

.carousel-2-container {
  position: relative;
  width: 100%;
  height: 500px; /* o usa min-height: 400px */
  overflow: hidden;
  border-radius: 16px;
  background: var(--white);
}

.carousel-2-item {
  background: rgba(0, 128, 255, 0.05);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-2-img, .carousel-2-video {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}
