@use '../../utils' as *;
/*----------------------------------------*/
/*  3.1.12 Banner Style 12
/*----------------------------------------*/

.rs-banner {
    &-twelve {
        position: relative;
        z-index: 1;
        .rs-banner-bg-thumb {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            inset-inline-end: 0;
            background-repeat: no-repeat;
            background-position: center;
            background-size: cover;
            z-index: -1;
        }
        .rs-banner-item-wrapper {
            padding: 225px 0 250px;
            @media #{$laptop}{
                padding: 200px 0 200px;
            }
            @media #{$xl}{
                padding: 150px 0 150px;
            }
            @media #{$lg}{
                padding: 120px 0 120px;
            }
            @media #{$md}{
                padding: 100px 0 120px;
            }
            @media #{$sm}{
                padding: 80px 0 100px;
            }
        }
        .rs-banner-title {
            font-size: 150px;
            letter-spacing: -5px;
            color: var(--rs-white);
            -webkit-text-stroke: 2px rgb(2, 59, 74);
            line-height: .8;
            margin-top: -55px;
            @media #{$laptop}{
                font-size: 120px;
            }
            @media #{$lg}{
                font-size: 100px;
            }
            @media #{$md}{
                font-size: 80px;
                margin-top: -35px;
            }
            @media #{$sm}{
                font-size: 60px;
                margin-top: -25px;
            }
            @media #{$xs}{
                font-size: 50px;
            }
        }
        .rs-banner-descrip {
            max-width: 610px;
            margin: 35px 0 45px;
            @media #{$md}{
                max-width: 550px;
            }
            @media #{$sm}{
                max-width: 100%;
            }
            p {
                font-size: 20px;
                font-weight: 400;
                color: var(--rs-white);

                @media #{$md} {
                    font-size: 18px;
                }
            }
        }
        .rs-banner-btn{
            .rs-btn {
                &.has-theme-light-green {
                    background: var(--rs-theme-green);
                }
            }
        }
        .rs-banner-content{
            position: relative;
            z-index: 1;
        }
        .rs-banner-stroke-text{
            font-size: 150px;
            -webkit-text-stroke: 1px rgba(255, 255, 255, 0.6);
            color: transparent;
            font-weight: 700;
            display: inline-block;
            line-height: .8;
            z-index: 1;
            position: relative;
            @media #{$laptop}{
                font-size: 120px;
            }
            @media #{$lg}{
                font-size: 100px;
            }
            @media #{$md}{
                font-size: 80px;
            }
            @media #{$sm}{
                font-size: 60px;
            }
            @media #{$xs}{
                font-size: 50px;
            }
        }
        .rs-banner-navigation{
            display: flex;
            gap: 10px;
            flex-direction: column;
            position: absolute;
            z-index: 2;
            inset-inline-end: 300px;
            top: 50%;
            transform: translateY(-50%);
            @media #{$xl}{
                inset-inline-end: 200px; 
            }
            @media #{$lg}{
                inset-inline-end: 50px; 
            }
            @media #{$sm}{
                display: none;
            }
            .rs-swiper-btn{
                width: 60px;
                height: 60px;
            }
        }
        .rs-pagination.swiper-pagination {
            position: absolute;
            bottom: 40px;
        }
    }
}


// slider animation
.rs-banner-twelve {
    &.rs-swiper{
       .swiper-slide-active{
           .rs-banner-stroke-text,
           .rs-banner-title,
           .rs-banner-descrip,
           .rs-banner-btn{
            animation-fill-mode: both;
            animation-name: fadeInUp;
         }
       }
   }
    .swiper-slide-active {
       .rs-banner-stroke-text{
           animation-delay: .3s;
           animation-duration: 0.7s;
       }
        .rs-banner-title {
           animation-delay: .5s;
           animation-duration: 0.9s;
       }
        .rs-banner-descrip {
           animation-delay: .7s;
           animation-duration: 1.1s;
       }
        .rs-banner-btn {
           animation-delay: .9s;
           animation-duration: 1.3s;
       }
   }
}