.hero-carousel.slider-container {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    display: flex;
}

.hero-carousel .slider {
    display: flex;
    height: 100%;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-carousel .slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    padding: 0 10%;
    overflow: hidden;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s;
}

    .hero-carousel .slide::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .hero-carousel .slide::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-position: center right;
        background-size: cover;
        z-index: 0;
        animation: zoomIn 20s linear infinite;
    }

.hero-carousel .hero-carousel-overlay {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 1;
}

    .hero-carousel .hero-carousel-overlay.blue {
        background: linear-gradient(68deg, rgb(12, 104, 248) 17%, rgba(255, 255, 255, 0) 100%);
    }

.btn--dark-bg {
    background-color: #fff;
    border: 1px #0a64eb solid;
    border-radius: 4px;
    color: #0a64eb;
    justify-content: center;
    min-width: 140px;
}

    .btn--dark-bg:hover {
        background-color: transparent;
        border: 1px #fff solid;
        box-shadow: 0 6px 25px 0 rgba(0, 0, 0, .2);
        color: #fff;
        text-decoration: none;
    }

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.5);
    }
}

.hero-carousel-content {
    position: relative;
    z-index: 25;
    max-width: 750px;
}

.hero-carousel h1 {
    font-size: 70px;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
    color: white;
}

.hero-carousel p {
    font-size: 30px;
    margin-bottom: 2rem;
    color: white;
}

.hero-carousel .btn {
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 600;
}

.hero-carousel .prev,
.hero-carousel .next {
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    display: none;
}

.hero-carousel button.prev,
.hero-carousel button.next {
    font-size: 22px;
    font-weight: 200;
}

.hero-carousel .prev:hover,
.hero-carousel .next:hover {
    background: rgba(255, 255, 255, 0);
    color: #ffffff;
}

.hero-carousel .prev {
    left: 0px;
}

.hero-carousel .next {
    right: 0px;
}

.hero-carousel .pagination {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    gap: 15px;
    z-index: 3;
    display: none;
}

.hero-carousel .dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .hero-carousel .dot.active {
        background: white;
        transform: scale(1.3);
    }

.hero-carousel .prev,
.hero-carousel .next {
    display: none;
    transition: all 0.5s ease;
}

.hero-carousel.slider-container:hover .show-control.prev,
.hero-carousel.slider-container:hover .show-control.next {
    display: block !important;
}

.hero-carousel .show-control.pagination {
    display: flex !important;
}

.hero-carousel.slider-container:hover .show-control .dot {
    display: block !important;
}

.hero-carousel .container {
    display: flex;
}

    .hero-carousel .container .row {
        align-self: center;
        flex: 1;
    }

.hero-video-bg {
    position: relative;
    padding: 0;
}

    .hero-video-bg .video-section {
        position: absolute;
        width: 100%;
        height: 700px;
        overflow: hidden;
        top: 0;
    }

    .hero-video-bg .video-container {
        position: relative;
        top: 50%;
        bottom: 0;
        left: 50%;
        right: 50%;
        transform: translate(-50%, -50%);
        width: calc(100% + 500px);
        height: calc(100% + 500px);
    }

    .hero-video-bg .video-bg {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

@media (min-width: 1440px) {
}

@media (max-width: 1200px) {
    .hero-video-bg .video-container {
        width: calc(100% + 1000px);
        height: calc(100% + 500px);
    }
}

@media (max-width: 1024px) {
    .hero-carousel.slider-container {
        height: 600px;
    }

    .hero-carousel h1 {
        font-size: 3rem;
    }

    .hero-carousel p {
        font-size: 1.1rem;
    }

    .hero-video-bg .video-section {
        height: 600px;
    }
}

@media (max-width: 768px) {
    .hero-carousel.slider-container {
        height: 500px;
    }

    .hero-carousel h1 {
        font-size: 2.5rem;
    }

    .hero-carousel p {
        font-size: 1rem;
    }

    .hero-carousel .prev,
    .hero-carousel .next {
        width: 40px;
        height: 40px;
    }

    .hero-video-bg .hero-carousel.slider-container {
        height: 600px;
    }
}

@media (max-width: 480px) {
    .hero-carousel.slider-container {
        height: 350px;
    }

    .hero-carousel .slide {
        padding: 0 4%;
    }

    .hero-carousel h1 {
        font-size: 2rem;
    }

    .hero-carousel p {
        font-size: 0.9rem;
    }

    .hero-carousel .prev {
        left: 0px;
    }

    .hero-carousel .next {
        right: 0px;
    }

    .hero-carousel .prev,
    .hero-carousel .next {
        width: 35px;
        height: 35px;
    }

    .hero-video-bg .video-section,
    .hero-video-bg .hero-carousel.slider-container {
        height: 400px;
    }
}
