@use '../../utils' as *;
/*----------------------------------------*/
/*  3.1.10 Banner Style 10
/*----------------------------------------*/

.rs-banner{
    &-ten{
        .rs-banner-slider-wrapper{
            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-title{
            color: var(--rs-white);
            font-size: 60px;
            line-height: 1.16;
            @media #{$lg}{
                font-size: 50px;
            }
            @media #{$md}{
                font-size: 40px;
            }
        }
        .rs-banner-info-btn{
            display: flex;
            gap: 30px 35px;
            flex-wrap: wrap;
            align-items: center;
        }
        .rs-banner-item-wrapper{
            padding: 190px 0 270px;
            @media #{$laptop}{
                padding: 190px 0 220px;
            }
            @media #{$lg}{
                padding: 150px 0 180px;
            }
            @media #{$md}{
                padding: 100px 0 120px;
            }
            @media #{$sm}{
                padding: 80px 0 120px;
            }
        }
        .rs-banner-descrip{
            max-width: 680px;
            margin: 25px 0 50px;
            p{
                font-size: 20px;
                font-weight: 500;
                color: var(--rs-white);
                @media #{$md}{
                    font-size: 18px;
                }
            }
        }
        .rs-banner-subtitle{
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 4px 18px;
            color: var(--rs-white);
            background: rgba(31, 31, 31, 0.47);
            font-size: 18px;
            border-radius: 50px;
            margin-bottom: 17px;
            display: inline-block;
        }
        .rs-banner-navigation {
            position: absolute;
            inset-inline-end: 120px;
            bottom: 150px;
            display: flex;
            gap: 15px;
            z-index: 1;
            @media #{$md}{
                inset-inline-end: 50px;
            }
            @media #{$sm}{
                display: none;
            }
            .rs-swiper-btn{
                width: 60px;
                height: 60px;
                border-radius: 10px;
                &:hover{
                    background: rgba(234, 85, 1, 0.4);
                }
                &.swiper-button-disabled{
                    background: rgba(234, 85, 1, 0.4);
                    opacity: 1;
                    &:hover{
                        background: var(--rs-theme-orange);
                    }
                }
            }
        }
        .rs-pagination.swiper-pagination {
            position: absolute;
            bottom: 40px;
        }
    }
}


// slider animation
.rs-banner-ten {
    &.rs-swiper{
       .swiper-slide-active{
           .rs-banner-subtitle,
           .rs-banner-title,
           .rs-banner-descrip,
           .rs-banner-info-btn{
            animation-fill-mode: both;
            animation-name: fadeInUp;
         }
       }
   }
    .swiper-slide-active {
       .rs-banner-subtitle{
           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-info-btn {
           animation-delay: .9s;
           animation-duration: 1.3s;
       }
   }
}