/*=========================================================
    HERO SLIDER PREMIUM
=========================================================*/

:root{

    --bv-primary:#002A6C;
    --bv-secondary:#0A4FB5;
    --bv-accent:#19A7CE;

    --bv-dark:#0E1A2B;
    --bv-light:#ffffff;

    --bv-text:#324255;

    --bv-radius:28px;

    --bv-shadow:
        0 20px 60px rgba(0,0,0,.18);

}

/************************************************/

.bv-slider{

    position:relative;

    width:100%;

    min-height:750px;

    overflow:hidden;

    border-radius:var(--bv-radius);

    background:linear-gradient(
        135deg,
        #F6F8FC 0%,
        #E8F0FB 100%
    );

    box-shadow:var(--bv-shadow);

}

/************************************************/

.bv-background{

    position:absolute;

    inset:0;

    background:

    radial-gradient(circle at 15% 20%,
    rgba(0,42,108,.10),
    transparent 35%),

    radial-gradient(circle at 90% 20%,
    rgba(25,167,206,.12),
    transparent 35%),

    radial-gradient(circle at 80% 90%,
    rgba(10,79,181,.08),
    transparent 35%);

    z-index:1;

}

/************************************************/

.bv-slides{

    position:relative;

    z-index:5;

    min-height:650px;

}

/************************************************/

.bv-slide{

    position:absolute;

    inset:0;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:60px;

    padding:80px;

    opacity:0;

    visibility:hidden;

    transform:translateX(40px);

    transition:

        opacity .8s ease,

        transform .8s ease,

        visibility .8s;

}

/************************************************/

.bv-slide.active{

    opacity:1;

    visibility:visible;

    transform:translateX(0);

}

/************************************************/

.bv-content{

    width:48%;

    z-index:5;

}

/************************************************/

.bv-subtitle{

    display:inline-block;

    padding:10px 18px;

    background:white;

    border-radius:30px;

    color:var(--bv-primary);

    font-weight:700;

    letter-spacing:.5px;

    margin-bottom:24px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

/************************************************/

.bv-title{

    font-size:56px;

    line-height:1.1;

    color:var(--bv-primary);

    margin-bottom:25px;

    font-weight:800;

}

/************************************************/

.bv-description{

    font-size:18px;

    line-height:1.9;

    color:var(--bv-text);

    margin-bottom:35px;

}

/************************************************/

.bv-buttons{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

}

/************************************************/

.bv-btn{

    padding:16px 34px;

    border-radius:50px;

    text-decoration:none;

    transition:.35s;

    font-weight:700;

}

/************************************************/

.bv-primary{

    background:var(--bv-primary);

    color:white;

}

.bv-primary:hover{

    background:#00398f;

    transform:translateY(-3px);

    box-shadow:

        0 12px 30px rgba(0,42,108,.35);

}

/************************************************/

.bv-secondary{

    border:2px solid var(--bv-primary);

    color:var(--bv-primary);

    background:white;

}

.bv-secondary:hover{

    background:var(--bv-primary);

    color:white;

}

/************************************************/

.bv-image{

    width:45%;

    display:flex;

    justify-content:center;

    align-items:center;

}

/************************************************/

.bv-image img{

    width:100%;

    max-width:560px;

    animation:bvKenBurns 10s linear infinite;

    user-select:none;

}

/************************************************/

@keyframes bvKenBurns{

    from{

        transform:scale(1);

    }

    to{

        transform:scale(1.05);

    }

}

/************************************************/
/* ENTRADAS ANIMADAS */
/************************************************/

.bv-slide.active .bv-subtitle{

    animation:bvFadeUp .6s;

}

.bv-slide.active .bv-title{

    animation:bvFadeUp .8s;

}

.bv-slide.active .bv-description{

    animation:bvFadeUp 1s;

}

.bv-slide.active .bv-buttons{

    animation:bvFadeUp 1.2s;

}

.bv-slide.active .bv-image{

    animation:bvImage 1s;

}

@keyframes bvFadeUp{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes bvImage{

    from{

        opacity:0;

        transform:translateX(80px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

/************************************************/
/* FLECHAS */
/************************************************/

.bv-arrow{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:58px;

    height:58px;

    border:none;

    border-radius:50%;

    cursor:pointer;

    z-index:50;

    background:rgba(255,255,255,.35);

    backdrop-filter:blur(12px);

    transition:.3s;

}

.bv-arrow:hover{

    transform:translateY(-50%) scale(1.08);

    background:white;

}

.bv-prev{

    left:25px;

}

.bv-next{

    right:25px;

}

.bv-arrow svg{

    width:26px;

    height:26px;

}

.bv-arrow path{

    fill:none;

    stroke:#002A6C;

    stroke-width:2.8;

    stroke-linecap:round;

    stroke-linejoin:round;

}

/************************************************/
/* PIE */
/************************************************/

.bv-bottom{

    position:absolute;

    left:80px;

    right:80px;

    bottom:45px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    z-index:100;

}

/************************************************/

.bv-dots{

    display:flex;

    gap:12px;

}

.bv-dot{

    width:14px;

    height:14px;

    border:none;

    cursor:pointer;

    border-radius:50%;

    background:#B7C4D8;

    transition:.35s;

}

.bv-dot.active{

    background:var(--bv-primary);

    transform:scale(1.3);

}

/************************************************/

.bv-counter{

    font-size:18px;

    color:var(--bv-primary);

    font-weight:1000;

}

.separator{

    margin:0 8px;

}

/************************************************/
/* BARRA */
/************************************************/

.bv-progress{

    position:absolute;

    left:0;

    bottom:0;

    width:100%;

    height:5px;

    background:#dfe6f3;

    z-index:100;

}

.bv-progress-bar{

    width:0;

    height:100%;

    background:linear-gradient(
        90deg,
        var(--bv-primary),
        var(--bv-accent)
    );

}

/************************************************/
/* RESPONSIVE */
/************************************************/

@media(max-width:1100px){

    .bv-slide{

        padding:60px;

    }

    .bv-title{

        font-size:46px;

    }

}

@media(max-width:900px){

    .bv-slide{

        flex-direction:column-reverse;

        justify-content:center;

        text-align:center;

        padding:50px 35px;

        gap:25px;

    }

    .bv-content{

        width:100%;

    }

    .bv-image{

        width:100%;

    }

    .bv-image img{

        max-width:380px;

    }

    .bv-buttons{

        justify-content:center;

    }

    .bv-bottom{

        left:30px;

        right:30px;

    }

}

@media(max-width:600px){

    .bv-slider{

        min-height:760px;

    }

    .bv-title{

        font-size:34px;

    }

    .bv-description{

        font-size:16px;

    }

    .bv-arrow{

        width:46px;

        height:46px;

    }

    .bv-bottom{

        flex-direction:column;

        gap:15px;

    }

    .bv-slide{

        padding:35px 20px;

    }

}
