.hero-wrap{
    padding:50px 15px;
}

/* Slider */
.hero-slider{
    max-width:1400px;
    margin:auto;
    border-radius:28px;
    overflow:hidden;
    position:relative;
}

/* Slides */
.slides{
    display:flex;
    transition:transform .8s ease;
}

.slide{
    min-width:100%;
    height:520px;
    background-size:cover;
    background-position:center;
    position:relative;
}

.slide:after{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(0,0,0,.65),rgba(0,0,0,.2));
}

/* Content */
.slide-content{
    position:absolute;
    left:60px;
    bottom:90px;
    color:#fff;
    z-index:2;
    max-width:520px;
}

.badge{
    background:#fff;
    color:#000;
    padding:6px 14px;
    border-radius:50px;
    font-size:14px;
    display:inline-block;
}

.slide-content h1{
    font-size:52px;
    margin:12px 0 6px;
    line-height:1.1;
}

.slide-content p{
    font-size:18px;
    opacity:.9;
    margin:0 0 18px;
}

/* Button */
.btn{
    background:#9b1c1c;
    border:none;
    padding:13px 28px;
    color:#fff;
    border-radius:10px;
    font-size:16px;
    display:inline-block;
    text-decoration:none;
    transition:.3s;
}

.btn:hover{
    background:#c82323;
}

/* Navigation */
.nav{
    position:absolute;
    bottom:20px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:12px;
    background:#7b1414;
    padding:12px 20px;
    border-radius:40px;
    z-index:5;
}

.nav button{
    width:42px;
    height:42px;
    border:none;
    border-radius:50%;
    background:#8f1b1b;
    color:#fff;
    font-size:18px;
    cursor:pointer;
}

/* Progress */
.progress{
    height:4px;
    background:#ff3b3b;
    position:absolute;
    bottom:0;
    left:0;
    animation:prog 5s linear infinite;
}

/* Tablet */
@media (max-width: 1024px){
    .slide{
        height:440px;
    }

    .slide-content{
        left:40px;
        bottom:70px;
        max-width:460px;
    }

    .slide-content h1{
        font-size:42px;
    }
}

/* Mobile */
@media (max-width: 768px){
    .hero-wrap{
        padding:30px 12px;
    }

    .hero-slider{
        border-radius:18px;
    }

    .slide{
        height:360px;
    }

    .slide-content{
        left:20px;
        right:20px;
        bottom:80px !important;
        text-align:left;
        max-width:100%;
    }

    .slide-content h1{
        font-size:30px;
    }

    .slide-content p{
        font-size:15px;
    }

    .badge{
        font-size:12px;
        padding:5px 12px;
    }

    .btn{
        font-size:14px;
        padding:10px 22px;
    }

    .nav{
        bottom:12px;
        padding:8px 16px;
    }

    .nav button{
        width:36px;
        height:36px;
        font-size:16px;
    }
}

/* Small Mobile */
@media (max-width: 480px){
    .slide{
        height:300px;
    }

    .slide-content{
        bottom:50px;
    }

    .slide-content h1{
        font-size:24px;
    }

    .slide-content p{
        font-size:14px;
    }

    .btn{
        padding:9px 18px;
        font-size:13px;
    }
}

@keyframes prog{
    from{width:0}
    to{width:100%}
}
