 
.bst-hero {
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
}

#bstHeroCarousel,
#bstHeroCarousel .carousel-inner,
#bstHeroCarousel .carousel-item {
    width: 100%;
    height: 100%;
}

#bstHeroCarousel .carousel-item {
    position: relative;
    overflow: hidden;
}

.bst-hero-img {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center;
}

.bst-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        90deg,
        rgba(0, 160, 180, 0.58) 0%,
        rgba(0, 160, 180, 0.38) 35%,
        rgba(0, 160, 180, 0.12) 70%,
        rgba(0, 160, 180, 0) 100%
    );
}

.bst-hero-container {
    position: relative;
    z-index: 5;
    height: 100%;
    display: flex;
    align-items: center;
}

.bst-hero-content {
    width: 650px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.bst-hero-subtitle {
    display: inline-block;
    margin-bottom: 15px;
    color: #053973;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.bst-hero-content h1 {
    width: 100%;
    margin: 0 0 25px !important;
    color: #065580;
    font-size: 55px;
    line-height: 1.12;
    font-weight: 700;
}

.bst-hero-content p {
    width: 100%;
    margin: 0 0 35px !important;
    color: #ffffff;
    font-size: 18px;
    line-height: 30px;
}

/* Arrows */

.bst-carousel-arrow {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgb(255 255 255);
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    transition: all .3s ease;
}

.carousel-control-prev:hover .bst-carousel-arrow,
.carousel-control-next:hover .bst-carousel-arrow {
    background: #01a0b5;
    border-color: #01a0b5;
}

/* Indicators */

#bstHeroCarousel .carousel-indicators {
    z-index: 10;
    bottom: 20px;
}

#bstHeroCarousel .carousel-indicators button {
    width: 9px;
    height: 7px;
    margin: 0 5px;
    border: 0;
    border-radius: 10px;
    opacity: .5;
}

#bstHeroCarousel .carousel-indicators button.active {
    width: 25px;
    opacity: 1;
}

/* Animation */

#bstHeroCarousel .carousel-item .bst-hero-content > * {
    opacity: 0;
    transform: translateY(30px);
}

#bstHeroCarousel .carousel-item.active .bst-hero-content > * {
    opacity: 1;
    transform: translateY(0);
    transition: all .7s ease;
}

#bstHeroCarousel .carousel-item.active .bst-hero-subtitle {
    transition-delay: .2s;
}

#bstHeroCarousel .carousel-item.active h1 {
    transition-delay: .35s;
}

#bstHeroCarousel .carousel-item.active p {
    transition-delay: .5s;
}

#bstHeroCarousel .carousel-item.active .vs-btn {
    transition-delay: .65s;
}


/* Responsive */

@media (max-width: 1399px) {

    .bst-hero {
        height: 750px;
    }

    .bst-hero-content {
        width: 600px;
    }

    .bst-hero-content h1 {
        font-size: 60px;
    }

}

@media (max-width: 1199px) {

    .bst-hero {
        height: 700px;
    }

    .bst-hero-content {
        width: 550px;
    }

    .bst-hero-content h1 {
        font-size: 52px;
    }

}

@media (max-width: 991px) {

    .bst-hero {
        height: 650px;
    }

    .bst-hero-content {
        width: 500px;
    }

    .bst-hero-content h1 {
        font-size: 46px;
    }

    .bst-carousel-arrow {
        width: 42px;
        height: 42px;
    }

}

@media (max-width: 767px) {

    .bst-hero {
        height: 650px;
    }

    .bst-hero-container {
        padding-left: 35px;
        padding-right: 35px;
    }

    .bst-hero-content {
        width: 100%;
    }

    .bst-hero-subtitle {
        font-size: 13px;
        letter-spacing: 2px;
    }

    .bst-hero-content h1 {
        font-size: 38px;
        line-height: 1.18;
    }

    .bst-hero-content p {
        font-size: 15px;
        line-height: 25px;
    }

    .bst-hero-overlay {
        background: linear-gradient(
            90deg,
            rgba(0,160,180,.72) 0%,
            rgba(0,160,180,.48) 65%,
            rgba(0,160,180,.20) 100%
        );
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

}

@media (max-width: 575px) {

    .bst-hero {
        height: 400px;
    }

    .bst-hero-container {
        padding-left: 25px;
        padding-right: 25px;
    }

    .bst-hero-content h1 {
        font-size: 27px;
    }

    .bst-hero-content p {
        font-size: 16px;
        line-height: 24px;
    }

}
 
 
.vs-btn.style3.hover-white {
    transition: background-color 0.2s ease,
                color 0.2s ease,
                border-color 0.2s ease,
                transform 0.2s ease !important;
}

.vs-btn.style3.hover-white:hover {
    transition: background-color 0.2s ease,
                color 0.2s ease,
                border-color 0.2s ease,
                transform 0.2s ease !important;
}
 

/* RTL: the hero photos put the subject on the right, which is where Arabic text starts, so mirror the photo and the fade to keep the text on the clear side. */
[dir="rtl"] .bst-hero-img {
    transform: scaleX(-1);
}

[dir="rtl"] .bst-hero-overlay {
    transform: scaleX(-1);
}
