/* ========= Hero Slider ========= */
.hero-slider-sec {
    position: relative;
    overflow: hidden;
    margin: 0;
}

.hero-slider-sec .hero-slide {
    position: relative;
    min-height: 600px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.hero-slider-sec .hero-slide:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
}

.hero-slider-sec .hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.hero-slider-sec .hero-content * {
    color: #fff;
}

.hero-slider-sec .hero-content span {
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.hero-slider-sec .hero-content h1 {
    margin: 0 0 25px;
}

.hero-slider-sec .hero-content .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border-color: #fff;
    border-radius: 30px;
}

.hero-slider-sec .hero-content .btn:hover {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
}

/* ---- Keyframe Animations ---- */
@keyframes heroSlideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heroSlideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Default hidden */
.hero-slider-sec .hero-content span,
.hero-slider-sec .hero-content h1,
.hero-slider-sec .hero-content .btn {
    opacity: 0;
    animation: none;
}

/* Animate-in from right (next) */
.hero-slider .animate-next .hero-content span {
    animation: heroSlideInRight 0.7s ease forwards;
    animation-delay: 0s;
}

.hero-slider .animate-next .hero-content h1 {
    animation: heroSlideInRight 0.6s ease forwards;
    animation-delay: 0.12s;
}

.hero-slider .animate-next .hero-content .btn {
    animation: heroSlideInRight 0.7s ease forwards;
    animation-delay: 0.24s;
}

/* Animate-in from left (prev) */
.hero-slider .animate-prev .hero-content span {
    animation: heroSlideInLeft 0.7s ease forwards;
    animation-delay: 0s;
}

.hero-slider .animate-prev .hero-content h1 {
    animation: heroSlideInLeft 0.6s ease forwards;
    animation-delay: 0.12s;
}

.hero-slider .animate-prev .hero-content .btn {
    animation: heroSlideInLeft 0.7s ease forwards;
    animation-delay: 0.24s;
}

.hero-slider-sec .slick-arrow {
    right: 160px !important;
    top: auto;
    bottom: 60px;
}

.hero-slider-sec .slick-arrow.slick-prev {
    right: 225px !important;
    left: auto;
}

.hero-slider-sec .slick-arrow.slick-next:hover {
    right: 130px !important;
}

@media (max-width: 1199px) {
    .hero-slider-sec .hero-slide {
        min-height: 400px;
        padding: 90px 0;
    }
}

/* Responsive */
@media (max-width: 1399px) {
    .hero-slider-sec .slick-arrow {
        right: 80px !important;
        bottom: 40px;
    }

    .hero-slider-sec .slick-arrow.slick-prev {
        right: 140px !important;
    }

    .hero-slider-sec .slick-arrow.slick-next:hover {
        right: 50px !important;
    }
}

@media (max-width: 767px) {

    .hero-slider-sec .hero-content h1 br {
        display: none;
    }

    .hero-slider-sec .hero-content span {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .hero-slider-sec .slick-arrow {
        right: 40px !important;
        bottom: 0;
    }

    .hero-slider-sec .slick-arrow.slick-prev {
        right: 85px !important;
    }

    .hero-slider-sec .slick-arrow.slick-next:hover {
        right: 20px !important;
    }
}