.banner,
.hero-container {
    position: relative;
    overflow: hidden;
    width: 100%
}

.hero-overlay,
.slider-nav.next {
    display: flex;
    position: absolute
}

.hero-container {
    height: 80vh;
    min-height: 500px;
    display: flex;
    touch-action: pan-y
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s cubic-bezier(.4, 0, .2, 1), transform .8s cubic-bezier(.4, 0, .2, 1);
    transform: scale(1.03);
    z-index: 1
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.hero-overlay {
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .7) 0, rgba(0, 0, 0, .2) 100%);
    align-items: center;
    justify-content: center;
    z-index: 3
}

body.home-page .hero-content h1,
body.home-page .hero-content h2 {
    color: #fff !important;
    font-size: clamp(2rem, 4vw, 3.5rem) !important;
    font-weight: 700 !important;
    margin-bottom: 1.2rem !important;
    line-height: 1.2 !important;
    text-shadow: 0 4px 12px rgba(0, 0, 0, .5)
}

.hero-content p {
    color: rgba(255, 255, 255, .9);
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .4);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto
}

.hero-content {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s .3s, transform .8s .3s
}

.hero-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0)
}

.slider-nav.next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: .3s;
    outline: 0;
    font-size: 1.2rem
}

.slider-nav.next:hover {
    background: rgba(255, 255, 255, .25);
    border-color: rgba(255, 255, 255, .5);
    transform: translateY(-50%) scale(1.05)
}

.mobile-scroll-down {
    display: none
}

@media (max-width:992px) {

    body.home-page .banner,
    body.home-page .hero-container {
        height: 70vh !important;
        min-height: 520px !important;
    }
}

@media (max-width:768px) {

    body.home-page .banner,
    body.home-page .hero-container {
        height: 75vh !important;
        min-height: 500px !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    body.home-page .hero-overlay {
        display: flex !important;
        align-items: flex-end !important;
        justify-content: center !important;
        padding: calc(var(--header-height, 80px) + 20px) 16px 64px !important;
        background: linear-gradient(to top, rgba(0, 20, 45, 0.9) 0%, rgba(0, 20, 45, 0.4) 100%) !important;
    }

    body.home-page .hero-content {
        text-align: center !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    body.home-page .hero-content h1,
    body.home-page .hero-content h2 {
        font-size: clamp(1.6rem, 5.5vw, 2.1rem) !important;
        line-height: 1.25 !important;
        margin-bottom: 0.8rem !important;
    }

    body.home-page .hero-content p {
        font-size: clamp(0.9rem, 2.5vw, 1.02rem) !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.5 !important;
        max-width: 100% !important;
        padding: 0 10px !important;
    }

    body.home-page .hero-content .btn-primary {
        padding: 10px 24px !important;
        font-size: 0.88rem !important;
        margin-bottom: 0px !important;
        margin-top: 10px !important;
        display: inline-block !important;
    }

    body.home-page .slider-nav {
        width: 44px !important;
        height: 44px !important;
        font-size: 1rem !important;
    }

    body.home-page .slider-nav.next {
        right: 15px !important;
    }

    body.home-page .mobile-scroll-down {
        position: absolute;
        left: 50%;
        bottom: 14px;
        z-index: 20;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        border-radius: 50%;
        color: #fff;
        text-decoration: none;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        animation: mobileArrowBounce 1.6s ease-in-out infinite
    }

    body.home-page .mobile-scroll-down i {
        font-size: 1.2rem
    }
}

@media (max-width:480px) {

    body.home-page .banner,
    body.home-page .hero-container {
        height: 80vh !important;
        min-height: 460px !important;
    }

    body.home-page .hero-overlay {
        padding: calc(var(--header-height, 80px) + 10px) 12px 58px !important;
    }

    body.home-page .hero-content h1,
    body.home-page .hero-content h2 {
        font-size: clamp(1.35rem, 6.5vw, 1.6rem) !important;
        margin-bottom: 0.6rem !important;
    }

    body.home-page .hero-content p {
        font-size: 0.85rem !important;
        margin-bottom: 1.2rem !important;
        line-height: 1.45 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 4 !important;
        line-clamp: 4 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    body.home-page .hero-content .btn-primary {
        padding: 8px 20px !important;
        font-size: 0.8rem !important;
        margin-top: 5px !important;
    }

    body.home-page .slider-nav {
        width: 36px !important;
        height: 36px !important;
    }
}

@media (max-width:360px) {

    body.home-page .banner,
    body.home-page .hero-container {
        height: 80vh !important;
        min-height: 420px !important;
    }

    body.home-page .hero-content h1,
    body.home-page .hero-content h2 {
        font-size: 1.25rem !important;
    }

    body.home-page .hero-content p {
        font-size: 0.8rem !important;
        -webkit-line-clamp: 3 !important;
        line-clamp: 3 !important;
    }
}

@keyframes mobileArrowBounce {

    0%,
    100% {
        transform: translate(-50%, 0)
    }

    50% {
        transform: translate(-50%, 9px)
    }
}