/* Ajustes generales */
.gallery-carousel {
    background: white !important;
    position: relative;
}

.carousel-inner {
    padding: 20px 0;
    overflow: hidden;
}

.gallery-card {
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 10px; /* Añadir margen entre las imágenes */
}

.gallery-card img {
    width: 100%;
    height: auto;
    object-fit: contain; /* Asegura que la imagen se ajuste sin ser recortada ni deformada */
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

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

/* Botones del carrusel */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

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

/* Modal de imagen */
.modal-content {
    background: rgba(0, 0, 0, 0.9);
    border-radius: 10px;
}

.modal-image {
    max-height: 80vh;
    width: auto;
    display: block;
    margin: auto;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .carousel-inner {
        padding: 10px 0;
    }

    .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .gallery-card {
        margin: 0 5px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
}






#faqs {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  padding: 100px 0;
  background-color: #1b1f3c;
}

#faqs.active {
  opacity: 1;
  transform: translateY(0);
}

.faqs .col-lg-6 {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.faqs.active .col-lg-6 {
  opacity: 1;
  transform: translateY(0);
}

/* Animación escalonada */
.faqs.active .col-lg-6:nth-child(1) { transition-delay: 0.5s; }
.faqs.active .col-lg-6:nth-child(2) { transition-delay: 0.7s; }
.faqs.active .col-lg-6:nth-child(3) { transition-delay: 0.9s; }
.faqs.active .col-lg-6:nth-child(4) { transition-delay: 1.1s; }

.faq-item {
  margin-bottom: 3rem;
  background: #25294d;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: all 0.5s ease;
  border: 1px solid rgba(255,255,255,0.1);
	margin:1rem;
}

.faq-item:hover {
  box-shadow: 0 6px 24px rgba(49,180,177,0.2);
  transform: translateY(-3px);
}

.collapse-toggle {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1.5rem 2rem;
  border: none;
  background: none;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  gap: 1.5rem;
}

.collapse-toggle:hover {
  color: #31b4b1;
}

.chevron {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  color: #31b4b1;
}

.collapse-toggle[aria-expanded="true"] .chevron {
  transform: rotate(90deg);
}


.card-body {
  padding: 1.5rem 2rem;
  background: #2d3258 !important;
  color: #e0e0e0;
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: slideIn 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  line-height: 1.7;
}


















