/* Banner Section Start */
.home-banner-section {
    position: relative;
    z-index: 1;
    padding: 0;
    position: relative;
    width: 100%;
    height: 100%;
    /* height: 100vh; */
    overflow: visible;
}


.banner-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.banner-text-container {
    width: 100%;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0%;
    width: 100%;
    height: 100%;
    /* height: 100vh; */
    background-size: contain;
    object-fit: cover;
    background-position: right;
    background-repeat: no-repeat;
    z-index: 0;
}

.banner-content {
    position: relative;
    z-index: 1;
    color: var(--white-color);
    padding: 130px 0px;
}

.banner-heading {
    font-size: var(--font-54);
    font-weight: 900;
    margin-bottom: 32px;
    line-height: 120%;
    font-family: var(--primary-font);
    color: var(--white-color);
    letter-spacing: 0.5px;
}

.home-banner-section .banner-content .learn-more-button {
    padding: 15px 25px;
    background-color: var(--white-color);
    border-radius: 54px;
    color: var(--white-color);
    font-weight: 600;
    line-height: 1.4em;
    transition: 0.3s ease all;
}

.home-banner-section .banner-content .learn-more-button:hover {
    background-color: var(--white-color);
    /* border: 1px solid var(--secondary-color); */
    color: var(--secondary-color);
    transition: 0.3s ease all;
}

.home-banner-section .banner-content .learn-more-button .footer-detail-icon {
    transition: 0.3s ease all;
}

.home-banner-section .banner-content .learn-more-button:hover .footer-detail-icon {
    filter: brightness(0) invert(0);
    transition: 0.3s ease all;
}

.home-banner-section .banner-title-weight {
    font-weight: 700;
}

.banner-title-style {
    color: var(--secondary-color);
    font-weight: 700;
}

.background-video-section {
    position: relative;
    /* overflow: hidden; */
}

.background-video-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.background-video-embed {
    width: 100%;
    height: 100%;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
}

.youtube-thumbnail-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    /* height: 100vh; */
    background-size: cover;
    background-position: center;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

.youtube-thumbnail-cover.fade-out {
    opacity: 0;
}

.content-over-video {
    position: relative;
    z-index: 2;
    color: var(--white-color);
    top: 50%;
    transform-style: preserve-3d;
}

/* .home-banner-section .btn.btn-primary:hover{
    color: var(--white-color);
} */

.home-banner-section .btn.btn-primary img {
    filter: brightness(0) invert(1);
    transition: 0.3s ease all;
}

.home-banner-section .btn.btn-primary:hover img {
    filter: brightness(1) invert(0);
    transition: 0.3s ease all;
}

.embed-responsive {
    position: absolute;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    top: 0;
    left: 0;
}

.embed-responsive::before {
    padding-top: 56.25%;
    display: block;
    content: "";
}

.embed-responsive .embed-responsive-item {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.banner-content .banner-description {
    color: var(--white-color);
    font-size: var(--font-26);
    line-height: 1em;
    width: 80%;
    font-family: var(--secondary-font);
    font-weight: 500;
    line-height: 120%;
    letter-spacing: 0.5px;
}

.home-banner-section {
    position: relative;
}
.home-banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #0077B6 50vw, rgba(0, 119, 182, 0) 100%);
    z-index: 1;
}

.main-button {
    color: #402752 !important;
    text-decoration: none;
    font-size: var(--font-20);
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 24px 35px;
    background-color: #E5D7F0;
    border-radius: 4px;
    line-height: 100%;
}

.home-banner-section a.btn-primary{
    background-color: #E5D7F0;
    border-radius: 4px;
    color: #402752;
    font-weight: 700;
    font-size: var(--font-20);
    letter-spacing: 0.5px;
    transition: 0.3s ease all;
    line-height: 0.7em;
    padding: 24px 36px;
}

.home-banner-section a.btn-primary:hover{
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white-color);
    transition: 0.3s ease all;
}

.banner-right-content {
    margin-bottom: -140px;
    background-color: #DAC9E8;
    position: relative;
    /* light purple */
    padding: 36px;
    max-width: 550px;
    /* min-width: 550px; */
    margin-left: auto;
}

.banner-right-content::after {
    content: "";
    position: absolute;
    bottom: -28px;
    left: 0;
    width: 0;
    height: 0;
    border-left: 0px solid transparent;
    border-right: 87px solid transparent;
    border-top: 31px solid #DAC9E8;
}

.banner-right-content .right-title{
    color: var(--dark-purple);
    font-family: var(--mulish-font);
    font-size: var(--font-24);
    font-weight: 800;
    margin-bottom: 16px;
}

.banner-right-content .banner-description{
    color: #2C3641;
    line-height: 140%;
    font-family: var(--secondary-font);
    font-size: var(--font-18);
}

.banner-right-content .banner-description p{
    margin-bottom: 0;
}


/* Arabic Language Style Start */
[lang="ar"] .banner-image{
      /* background-position: left; */
          transform: scaleX(-1);
    transform-origin: center;
      
}

[lang="ar"] .home-banner-section::before{
    background: linear-gradient(268deg, #0077B6 55%, rgba(0, 119, 182, 0) 100%);
}

[lang="ar"] .banner-heading{
    text-align: right !important;
}



@media screen and (max-width: 1440px) {
    .banner-content {
        padding: 130px 0px;
    }

    .content-over-video {
        background-size: 55% !important;
    }
}

@media screen and (max-width: 1280px) {
    .banner-content {
        padding: 180px 0px;
    }
}

@media (max-width: 1024px) {
    .home-banner-section::after {
        height: 80px;
        clip-path: polygon(0 100%, 0% 100%, 70% 25%, 100% 100%, 0 100%);
    }

    .banner-content {
        padding-top: 100px;
        padding-bottom: 100px;
    }

}

@media screen and (max-width: 991px) {
    .content-over-video {
        background-size: 65% !important;
    }

    .banner-content {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .banner-right-content{
        padding: 20px;
    }
}


@media (max-width: 768px) {
    .home-banner-section::after {
        height: 55px;
        clip-path: polygon(0 100%, 0% 100%, 70% 30%, 100% 100%, 0 100%);
    }

    .banner-content {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .banner-right-content{
        max-width: 100%;
            margin-bottom: -70px;
    }

    
}

@media screen and (max-width: 640px) {
    .home-banner-section::before,
    [lang="ar"] .home-banner-section::before{
        background: linear-gradient(90deg, #0077B6 100%, rgba(0, 119, 182, 0) 100%);
    }
    .banner-content .banner-description {
        width: 100%;
    }

}

@media screen and (max-width: 480px) {
    .content-over-video {
        background-size: 60% !important;
    }

    .banner-content .banner-description {
        width: 100%;
    }
}