/* Banner Carousel */

/* sección del slider baje */
#carouselN { /* el id de tu carousel */
    margin-top: 80px;
}
.banner-carousel .carousel-item {
    height: 700px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

/* Overlay semi-transparente */
.banner-carousel .carousel-item::before {
    content: "";
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.4);
}

/* Contenido del slider */
.box-slider-content {
    position: absolute;
    top: 30%;
    left: 10%; /* margen a la izquierda más flexible */
    transform: translateY(-50%);
    max-width: 600px;
    color: #fff;
    animation: fadeInUp 1s ease forwards;
    z-index: 2;
}

/* Títulos */
.box-slide-title {
    font-size: 20px;
    font-weight: 300;
    color: #fff;
    margin-bottom: 10px;
    opacity: 0;
    animation: slideInLeft 1s ease forwards;
    animation-delay: 0.3s;
}

.box-slide-sub-title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    opacity: 0;
    animation: slideInLeft 1s ease forwards;
    animation-delay: 0.5s;
}

.box-slide-description {
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.7s;
}

/* Botón */
.slider.btn {
    background-color: #0052a5;
    border-color: #0052a5;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.9s;
}

.slider.btn:hover {
    background-color: #fff;
    color: #000034;
    border-color: #000034;
}

/* Animaciones */
@keyframes fadeIn {
    to { opacity: 1; }
}
@keyframes fadeInUp {
    from { opacity:0; transform: translateY(30px); }
    to { opacity:1; transform: translateY(0); }
}
@keyframes slideInLeft {
    from { opacity:0; transform: translateX(-50px); }
    to { opacity:1; transform: translateX(0); }
}

/* Carousel controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 20px;
}

