/* Slider Container */
.elementor-background-slider {
    position: relative;
    width: 100%;
    height: 838px;
    min-height: 838px;
    overflow: hidden;
}

.elementor-background-slider .swiper-container {
    width: 100%;
    height: 100%;
}

.elementor-background-slider .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.elementor-background-slider .slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.elementor-background-slider .slide-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    opacity: 0.5; /* todo: remove */
    background: linear-gradient(317deg, rgba(43, 53, 64, 0.00) 23.19%, #2B3540 81.73%);
    background-blend-mode: hard-light;
}

/* Image backgrounds */
.elementor-background-slider .swiper-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* Video backgrounds - Self hosted */
.elementor-background-slider .swiper-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* YouTube video backgrounds */
.elementor-background-slider .youtube-player-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.78vh; /* 16:9 aspect ratio */
    border: none;
    pointer-events: none;
}

@media (max-aspect-ratio: 16/9) {
    .elementor-background-slider .youtube-player-iframe {
        width: 177.78vh;
        height: 100vh;
    }
}

@media (min-aspect-ratio: 16/9) {
    .elementor-background-slider .youtube-player-iframe {
        width: 100vw;
        height: 56.25vw;
    }
}

.elementor-background-slider .title-box {
    position: absolute;
    top: 0;
    left: 0;
    /*width: 100%;*/
    padding: 40px 105px;
    z-index: 1;
}

.elementor-background-slider .swiper-title {
    color: #FFF;
    font-family: Vastine;
    font-size: 50px;
    font-style: normal;
    font-weight: 400;
    line-height: 54px; /* 108% */
}

/* Content Box */
.elementor-background-slider .content-box {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 774px;
    max-width: 100%;
    background-color: #F6F6F7;
    z-index: 1;
    padding: 40px 105px;
}

.elementor-background-slider .swiper-header {
    color: #2A343F;
    font-family: Vastine, sans-serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    margin-bottom: 20px;
}

.elementor-background-slider .swiper-description {
    color: #424242;
    font-family: "Proxima Nova", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;
}

/* Navigation Buttons */
.elementor-background-slider .swiper-nav-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: end;
}

.elementor-background-slider .swiper-button-prev,
.elementor-background-slider .swiper-button-next {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    background: none;
    color: #2A343F;
    cursor: pointer;
    transition: all 0.3s ease;
}

.elementor-background-slider .swiper-button-prev:after,
.elementor-background-slider .swiper-button-next:after {
    content: none;
}

.elementor-background-slider .swiper-button-next::after {
    content: '';
    display: inline-block;
    width: 11px;
    height: 19px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='11' height='19' viewBox='0 0 11 19' fill='none'%3e%3cpath d='M1.79681 0.360459L10.7759 9.33953L1.79681 18.3186L0.599149 17.1209L8.38056 9.33953L0.59915 1.55812L1.79681 0.360459Z' fill='%232A343F'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: 8px;
    vertical-align: middle;
}

.elementor-background-slider .swiper-button-prev::after {
    content: '';
    display: inline-block;
    width: 11px;
    height: 19px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='11' height='19' viewBox='0 0 11 19' fill='none'%3e%3cpath d='M9.20319 18.6395L0.224121 9.66047L9.20319 0.681396L10.4009 1.87906L2.61944 9.66047L10.4009 17.4419L9.20319 18.6395Z' fill='%232A343F'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 8px;
    vertical-align: middle;
}

/* Side Navigation */
.elementor-background-slider .slide-navigator {
    position: absolute;
    right: 78px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.elementor-background-slider .slide-list {
    display: flex;
    width: 250px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.elementor-background-slider .slide-list-item {
    display: flex;
    padding: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 5px;
    flex: 1 0 0;
    align-self: stretch;
    background: linear-gradient(257deg, rgba(43, 53, 64, 0.00) 2.85%, rgba(28, 34, 40, 0.80) 82.62%), rgba(71, 79, 87, 0.80);
    background-blend-mode: darken, normal;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    color: white;
    font-family: "Proxima Nova", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 119%;
    text-transform: capitalize;
}

.elementor-background-slider .slide-list-item.active,
.elementor-background-slider .slide-list-item:hover {
    border-left: 6px solid #FF9F1E;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .elementor-background-slider .title-box {
        top: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        padding: 30px 20px;
    }

    .elementor-background-slider .content-box {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        width: 774px;
        max-width: 100%;
        padding: 30px 20px;
    }

    .elementor-background-slider .slide-navigator {
        display: none;
    }

    .elementor-background-slider .swiper-title {
        font-size: 40px;
    }

    .elementor-background-slider .swiper-header {
        font-size: 24px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .elementor-background-slider {
        height: auto;
        position: relative;
    }

    .elementor-background-slider .content-box {
        position: relative;
        width: 100%;
        max-width: 100%;
        padding: 30px 20px;
    }

    .elementor-background-slider .swiper-container,
    .elementor-background-slider .swiper-slide {
        min-height: 520px;
    }
}
