/*MENU */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}
.logo {
    font-size: 25px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
    text-decoration: none; /* Quita el subrayado */
}
body{
    font-family: 'poppins', sans-serif;
    min-height: 100vh;
    box-sizing: border-box;
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.618);
    padding: 0px 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    height: 70px;
}

.logo{
    font-size: 25px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
}

.navigation ul{
    list-style: none;
}

.header .navigation ul li{
    float: left;
    position: relative;
}

.header .navigation ul li a{
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    padding: 13px;
    display: block;
    transition: all 300ms ease;
}

.header .navigation ul li a:hover{
    background-color: #f6ee03a6;
    color: #000;
}

.header .navigation ul li ul{
    position: absolute;
    right: 0;
    width: 300px;
    background-color: rgb(98, 97, 97);
    display: none;
}

.header .navigation ul li ul li a{
    font: 15px;
    text-transform: capitalize;
}

.header .navigation ul li ul li ul{
    position: absolute;    
    top: 0;
    left: 100%;
}

.header .navigation ul li ul li{
    width: 100%;
}

.header .navigation ul li:hover>ul {
    display: block;
}

#toogle,
.header label{
    display: none;
    cursor: pointer;
}

.menu{
    width: 45px;
    height: 35px;
}

@media(max-width: 950px){
    .header label{
        display: initial;
    }
    .header{
        padding: 20px 10%;
    }
    .header .navigation{
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(1, 1, 1, 0.7);
        display: none;
    }
    .header .navigation ul li{
        width: 100%;
    }
    .header .navigation ul li a{
        padding: 8px 30px, 8px 10%;
    }
    .header .navigation ul li ul{
        position: relative;
        width: 100%;
        left: 0;
    }
    .header .navigation ul li ul li{
        background-color: rgb(139, 138, 138);
        padding-left: 40px;
    }
    .header .navigation ul li ul li ul{
        position: relative;
        width: 100%;
        left:  0;
    }    
    #toogle:checked ~.navigation{
        display: block;
    }

}

/* TARJETAS */
.wrapper{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-around;
}

.card{
    width: 280px;
    height: 360px;
    padding: 2rem 1rem;
    background: #fff;
    position: relative;
    display: flex;
    align-items: flex-end;
    box-shadow: 0px 7px 10px rgba(0,0,0,0.5);
    transition: 0.5s ease-in-out;
}

.card:hover{
    transform: translateY(20px); 
    cursor: pointer;
}

.card::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5),  rgba(0, 136, 255, 0.582));
    z-index: 2;
    transition: 0.5s all;
    opacity: 0;
}

.card:hover::before{
    opacity: 1;
}

.card img{
    
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.card .info{
    position: relative;
    z-index: 3;
    color: #000;
    opacity: 0;
    transform: translateY(30px);
    transition: 0.5s all;
}

.card:hover .info{
    opacity: 1;
    transform: translateY(30px);
}

.card .info p{
    letter-spacing: 1px;
    text-align: justify;
    font-size: 15px;
    margin-top: 8px;
    margin-bottom: 20px;
}



/*CAROUSEL*/
.carousel{
    width: 100vw;
    height: 100vh;
    margin-top: -50px;
    overflow: hidden;
    position: relative;
}

.carousel .list .item{
    width: 180px;
    height: 250px;
    position:absolute;
    top: 80%;
    transform: translateY(-70%);
    left: 70%;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    background-position: 50% 50%;
    background-size: cover;
    z-index: 100;
    transition: 1s;
}

.carousel .list .item:nth-child(1),
.carousel .list .item:nth-child(2){
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
}

.carousel .list .item:nth-child(3){
    left: 100%;
}

.carousel .list .item:nth-child(4){
    left: calc(100% + 200px);
}

.carousel .list .item:nth-child(5){
    left: calc(100% + 400px);
}

.carousel .list .item:nth-child(6){
    left: calc(100% + 600px);
}

.carousel .list .item:nth-child(n+7){
    left: calc(100% + 800px);
    opacity: 0;
}

.item .content{
    position: absolute;
    top: 50%;
    left: 100px;
    transform: translateY(-50%);
    width: 400px;
    text-align: left;
    color: #ffd800;
    display: none;
    background-color: #0077ff8c;
    padding: 10px 10px;
    border-radius: 15px;
}

.list .item:nth-child(2) .content{
    display: block;
}

@keyframes animate {
    from{
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }    
    to{
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}

/*PREV NEXT BOTONES*/
.arrows{
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}

.arrows button{
    width: 60px;
    height: 60px;
    border-radius:50%;
    color: #fff;
    background-color: #266bff;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: bold;
    transition: .5s;
    cursor: pointer;
}

.arrows button:hover{
    background: #fff;
    color: #266bff;
}
/*TIEMPOOO*/

.carousel .timeRunning{
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 4px;
    background-color:#080fec;
    left: 0;
    top: 0;
    animation: runningTime 7s linear 1 forwards;
}
@keyframes runningTime {
    from{width: 0%;}
    to{width: 100%;}
}

/*RESPONSIVO*/
@media screen and (max-width: 786px) {
    header{
        padding-left: 50px;
    }    
    .list .item .content{
        left: 50px;
    }

    /*footer*/
    .footer{
        padding: 60px 0;
    }
    .footer__items{
        flex-direction: column;
        align-items: center;
    }
    .footer__item{
        padding-bottom: 40px;
    }
    .footer__item:last-child{
        padding-bottom: 0;
    }

}

/*------FOOTER------*/
.footer{
    padding: 30px 40px;
    background-color: #414144;
}

.footer__link,
.footer__menu-link,
.footer__contact-title,
.footer__contact-menu{
    font-size: 18px;
    color: #fff;
}

.footer__item-title{
    color: #266bff;
    font-size: 20px;
    text-transform: uppercase;
}

.footer__items{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.footer__logo{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
}

.footer__menu-item{
    padding-top: 10px;
}

.footer__menu-link,
.footer__contact-link{
    color: #fff;
    font-size: 20px;
    padding-right: 20px;
    transition: color 0.4s linear;
}

.footer__menu-link:hover,
.footer__contact-link:hover{
    color: #266bff;
}

.footer__contact-title{
    padding-bottom: 5px;
}

 /* ----------------------- GLOBAL ----------------------- */
    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    body {
        font-family: 'Helvetica Neue', sans-serif;
        color: #000;
        overflow-x: hidden;
    }

    h1,
    h2,
    h3 {
        font-weight: 600;
        text-align: center;
    }

    section {
        padding: 100px 0;
        position: relative;
    }

    /* ----------------------- HERO ----------------------- */
    .hero {
        position: relative;
        height: 100vh;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: #fff;
    }

    .hero video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1;
        filter: brightness(70%);
    }

    .hero-content {
        z-index: 2;
        animation: fadeInUp 2s ease-out;
    }

    @keyframes fadeInUp {
        0% {
            opacity: 0;
            transform: translateY(50px);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* ----------------------- PARALLAX SECTION ----------------------- */
    .parallax {
        background-attachment: fixed;
        background-size: cover;
        background-position: center;
        min-height: 90vh;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: #fff;
    }

    .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 26, 51, 0.5);
    }

    /* ----------------------- GALERÍA ----------------------- */
    .gallery img {
        width: 100%;
        border-radius: 15px;
        transition: transform 0.5s ease;
    }

    .gallery img:hover {
        transform: scale(1.05);
    }

    /* ----------------------- REVEAL EFFECT ----------------------- */
    .reveal {
        opacity: 0;
        transform: translateY(100px);
        transition: all 1.2s ease;
    }

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

    footer {
        background: #002b66;
        padding: 40px 0;
        text-align: center;
        color: #b0c4de;
    }

    /* trabaja con nosotros*/
    .multistep-container {
    width: 60%;
    margin: 50px auto;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 15px #0002;
    color: #000;
}

h2, h3 {
    text-align: center;
    margin-bottom: 20px;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0 20px;
    border: 1px solid #bbb;
    border-radius: 8px;
}




.step {
    display: none;
}

.step.active {
    display: block;
    animation: fade 0.5s ease-in-out;
}

@keyframes fade {
    from {opacity: 0; transform: translateY(20px);}
    to {opacity: 1; transform: translateY(0);}
}

/* PROGRESS BAR */
.progressbar {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 30px;
}

.progressbar::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: #ccc;
    transform: translateY(-50%);
}

.progress {
    position: absolute;
    top: 50%;
    left: 0;
    height: 4px;
    background: #0066ff;
    width: 0%;
    transform: translateY(-50%);
    transition: 0.4s;
}

.progress-step {
    width: 20px;
    height: 20px;
    background: #ccc;
    border-radius: 50%;
    z-index: 2;
}

.progress-step.active {
    background: #0066ff;
}

