/* ============================================================
   Estilos del carrusel SCI — estructura basada en banner ANFECA
   ============================================================ */

/* ========== CONTENEDOR PRINCIPAL ========== */
.banner-sci {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.banner-sci .desktop-banner,
.banner-sci .mobile-banner {
    margin: 0;
    padding: 0;
    line-height: 0;
}

/* ========== CARRUSEL ========== */
.banner-sci .carousel {
    margin: 0;
    padding: 0;
}

/* ========== IMÁGENES ========== */
.banner-sci .carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}

/* ========== FLECHAS DE NAVEGACIÓN ========== */
.banner-sci .carousel-control-prev,
.banner-sci .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    margin: 0 15px;
}

.banner-sci .carousel-control-prev:hover,
.banner-sci .carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 1;
}

.banner-sci .carousel-control-prev-icon,
.banner-sci .carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

/* ========== INDICADORES (BOLITAS) ========== */
.banner-sci .carousel-indicators {
    margin-bottom: 20px;
}

.banner-sci .carousel-indicators button {
    width: 14px !important;
    height: 14px !important;
    border-radius: 50% !important;
    background-color: #ffffff !important;
    border: 2px solid rgba(0, 0, 0, 0.3) !important;
    margin: 0 8px !important;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
    opacity: 0.85 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.banner-sci .carousel-indicators button:hover {
    background-color: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.6) !important;
    opacity: 1 !important;
    transform: scale(1.3);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3) !important;
}

.banner-sci .carousel-indicators button.active {
    background-color: #0056a3 !important;
    border-color: #ffffff !important;
    opacity: 1 !important;
    transform: scale(1.4);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4) !important;
}

/* ========== TRANSICIÓN FADE SUAVE ========== */
.banner-sci .carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.7s ease-in-out !important;
}

.banner-sci .carousel-fade .carousel-item.active {
    opacity: 1;
}

/* ========== RESPONSIVE — MÓVIL ========== */
@media (max-width: 991.98px) {

    .banner-sci .carousel-control-prev,
    .banner-sci .carousel-control-next {
        width: 40px;
        height: 40px;
        margin: 0 8px;
    }

    .banner-sci .carousel-control-prev-icon,
    .banner-sci .carousel-control-next-icon {
        width: 20px;
        height: 20px;
    }

    .banner-sci .carousel-indicators {
        margin-bottom: 12px;
    }

    .banner-sci .carousel-indicators button {
        width: 10px !important;
        height: 10px !important;
        margin: 0 5px !important;
    }

    .banner-sci .carousel-indicators button.active {
        transform: scale(1.3);
    }
}