/*-----------------------------------------------
# Hero Video Slider
------------------------------------------------*/

.hero-video-slider {
    position: relative;
    background-color: #001427;
}

.hero-video-slider .hero-swiper,
.hero-video-slider .swiper-wrapper,
.hero-video-slider .swiper-slide {
    height: 720px;
}

.hero-video-slider .swiper-slide {
    position: relative;
    overflow: hidden;
}

.hero-video-slider__video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-video-slider__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(2, 12, 26, 0.80) 0%, rgba(2, 12, 26, 0.55) 45%, rgba(2, 12, 26, 0.28) 75%, rgba(2, 12, 26, 0.16) 100%);
}

.hero-video-slider__content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    z-index: 5;
    pointer-events: none;
}

.hero-video-slider__text {
    max-width: 720px;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease;
    transition-delay: 250ms;
}

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

.hero-video-slider__text h1 {
    color: #ffffff;
    font-size: 46px;
    line-height: 1.25em;
    font-weight: 800;
    margin-bottom: 22px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.hero-video-slider__text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    line-height: 1.6em;
    font-weight: 400;
    margin-bottom: 30px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-video-slider__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 30px;
    background-color: #ffffff;
    color: var(--thm-black);
    font-size: 15px;
    font-weight: 700;
    border-radius: 6px;
    transition: all 250ms ease;
}

.hero-video-slider__btn svg {
    transition: transform 250ms ease;
}

.hero-video-slider__btn:hover {
    background-color: var(--thm-base);
    color: #ffffff;
}

.hero-video-slider__btn:hover svg {
    transform: translateX(4px);
}

.hero-video-slider__btn-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-video-slider__btn--outline {
    background-color: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.hero-video-slider__btn--outline:hover {
    background-color: #ffffff;
    color: var(--thm-black);
    border-color: #ffffff;
}

.hero-video-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    cursor: pointer;
    z-index: 20;
    transition: all 250ms ease;
}

.hero-video-slider__nav:hover {
    background-color: var(--thm-base);
    border-color: var(--thm-base);
}

.hero-video-slider__prev {
    left: 24px;
}

.hero-video-slider__next {
    right: 24px;
}

.hero-video-slider__pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 20;
}

.hero-video-slider__pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    opacity: 1;
    cursor: pointer;
    transition: all 250ms ease;
}

.hero-video-slider__pagination .swiper-pagination-bullet-active {
    background-color: var(--thm-base);
    width: 24px;
    border-radius: 5px;
}

@media (max-width: 1199px) {
    .hero-video-slider .hero-swiper,
    .hero-video-slider .swiper-wrapper,
    .hero-video-slider .swiper-slide {
        height: 640px;
    }

    .hero-video-slider__text h1 {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .hero-video-slider .hero-swiper,
    .hero-video-slider .swiper-wrapper,
    .hero-video-slider .swiper-slide {
        height: 560px;
    }

    .hero-video-slider__text h1 {
        font-size: 26px;
        margin-bottom: 14px;
    }

    .hero-video-slider__text p {
        font-size: 15px;
        line-height: 1.5em;
        margin-bottom: 22px;
    }

    .hero-video-slider__btn {
        padding: 13px 24px;
        font-size: 14px;
    }

    .hero-video-slider__nav {
        display: none;
    }
}
