/* General del slider */
.home {
    height: 100vh;
    position: relative;
    /* margin-top: 100px; */
    overflow: hidden;
    background-color: #060b61;
}
.Top-banner {
    height: 3vh;
    position: relative;
    margin-top: 108px;
    margin-bottom: 1rem;
}

.heroSwiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
    transition: transform 6s ease;
}

.swiper-slide-active img {
    transform: scale(1);
}

/* Contenedor del texto */
.swiper-caption {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    text-align: left;
    color: #fff;
    z-index: 2;
    width: 50%;
    max-width: 800px;
    padding: 2.5rem;
    background: transparent;
    /* background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border-left: 4px solid var(--secondary-color); */
}

.swiper-caption h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease;
}

.swiper-caption h1 span {
    color: var(--secondary-color);
    display: block;
    font-size: 2.5rem;
    margin-top: 0.5rem;
}

.swiper-caption p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease 0.3s;
    color: rgba(255, 255, 255, 0.9);
}

.swiper-caption .btn_one {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease 0.6s;
    padding: 1rem 3rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Estilos para los dots de navegación */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--secondary-color)!important;
    opacity: 1;
    transform: scale(1.2);
}

@media (max-width: 992px) {
    .home {
        height: 90vh;
        margin-top: 90px;
    }

    .swiper-caption .btn_one {
        padding: 0.9rem 2.5rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .home {
        height: 70vh;
        margin-top: 80px;
    }

    .swiper-caption {
        width: 85%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        padding: 1.8rem;
    }

    .swiper-caption h1 {
        font-size: 2.4rem;
    }

    .swiper-caption h1 span {
        font-size: 2rem;
    }

    .swiper-caption p {
        font-size: 1rem;
    }

    .swiper-caption .btn_one {
        padding: 0.8rem 2rem;
        font-size: 1rem;
        margin: 0 auto;
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .home {
        height: 25vh;
        margin-top: 158px;
    }

    .swiper-caption {
        width: 70%;
        padding: 1rem;
    }

    .swiper-caption h1 {
        font-size: 1.2rem;
        line-height: 1;
    }

    .swiper-caption h1 span {
        font-size: 1.2rem;
    }

    .swiper-caption p {
        font-size: 0.95rem;
    }

    .swiper-caption .btn_one {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
        margin-top: 1rem;
        line-height: 1;
    }
}

.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    color: #ffffff !important;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 1;
    transform: scale(1.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.swiper-slide-active .swiper-caption h1 {
    opacity: 1;
    transform: translateX(0);
}

.swiper-slide-active .swiper-caption p {
    opacity: 1;
    transform: translateX(0);
}

.swiper-slide-active .swiper-caption .btn_one {
    opacity: 1;
    transform: translateX(0);
}

.swiper-pagination {
    bottom: 20px !important;
}

@media (max-width: 768px) {
    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }

    .swiper-pagination {
        bottom: 15px !important;
    }
}

@media (max-width: 480px) {
    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    .swiper-pagination {
        bottom: 10px !important;
    }
}

