.banner {
    z-index: 1;
    position: relative;
    padding: 240px 0 196px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    
    @media (min-width: 1200px) {
        margin-top: 50px;
    }

    @media (max-width: 1299px) {
        padding-top: 200px;
    }

    @media (max-width: 1199px) {
        padding-top: 180px;
    }

    @media (max-width: 991px) {
        padding: 150px 0;
    }

    @media (max-width: 767px) {
        margin-top: 0;
        padding: 130px 0 140px;
    }

    @media (max-width: 575px) {
        background-position: 52% 50%;
    }

    @media (max-width: 480px) {
        padding: 120px 0 130px;
    }

    &:after {
        top: 0;
        left: 0;
        width: 100%;
        content: "";
        height: 100%;
        z-index: -1;
        position: absolute;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 61.17%);
    }
    &.banner__2{
        margin-top: 0;
        position: relative;
        &:after {
            top: 0;
            left: 0;
            width: 100%;
            content: "";
            height: 100%;
            z-index: -1;
            position: absolute;
            background: rgba(64, 105, 255, 0.6) !important;
        }
        .banner__content{
            span,h1,p{
                color: $white;
            }
            a{
                background-color: $white;
                color: $primary;
                font-family: $pop;
            }
        }
    }

    &__content {
        max-width: 563px;

        @media (max-width: 991px) {
            max-width: 485px;
        }

        @media (max-width: 767px) {
            max-width: 400px;
        }
            
        h1 { 
            font-weight: 700;
            
            span {
                font-weight: 300;
            }
            
            @media (max-width: 1199px) {
                font-size: 54px;
                line-height: 68px;
            }
            
            @media (max-width: 991px) {
                font-size: 40px;
                line-height: 54px;
            }

            @media (max-width: 380px) {
                font-size: 35px;
                line-height: 49px;
            }
        }

        .description {
            
            p {
                font-size: 18px;
                color: #002E5B;
                line-height: 26px;
            }
        }

        .theme-btn {

            &:after {
                background: $primary1;
            }

            &:hover, &:focus {
                background: $primary;
            }
        }
    }

    &-slider__wrapper {
        z-index: 1;
        margin-top: 0;
        position: relative;
        &.banner-slider__wrapper_2{
            z-index:1;
            &:after {
               display: none !important;
            }
            .slider-item {
                padding: 160px 0 250px;
                background-position: center;
                z-index: 40;
                overflow-x: hidden !important;
                @media (max-width: 991px) {
                    padding: 140px 0 200px;
                }

                @media (max-width: 767px) {
                    padding: 100px 0 100px;
                }
                
                .shape-element-left{
                    bottom: 0;
                    left: 0;
                    z-index: -1;
                    position: absolute;
                }
                .shape-element-rignt{
                    top: 0;
                    right: 0;
                    z-index:-1;
                    position: absolute;
                }
                .banner__content{
                    h1{
                        span{
                            font-weight: 400 !important;
                        }
                    }
                    // p{
                    //     width: 563px;
                    //     max-width: 100%;
                    // }
                    a{
                        background-color: $white;
                        color: $primary1;
                    }
                }
            }
        }
        &:after {
            z-index: 0;
            width: 526px;
            content: "";
            bottom: -388px;
            height: 526px;
            position: absolute;
            border-radius: 500px;
            left: calc(50% - 263px);
            background: rgba(255, 156, 0, 0.4);

            @media (max-width: 1199px) { 
                width: 400px; 
                height: 400px; 
                bottom: -300px;
                left: calc(50% - 200px);
            }
        }
        
        .slider-item {
            z-index: -1;
            position: relative;
            background-size: cover;
            padding: 355px 0 304px;
            background-position: center;

            @media (max-width: 1399px) {
                padding: 300px 0 260px;
            }

            @media (max-width: 1199px) {
                padding: 200px 180px;
            }

            @media (max-width: 991px) {
                padding: 170px 140px;
            }

            @media (max-width: 767px) {
                padding: 160px 130px;
            }

            @media (max-width: 575px) {
                padding: 140px 115px;
            }
            
            &:after {
                top: 0;
                left: 0;
                width: 100%;
                z-index: -1;
                content: "";
                height: 100%;
                position: absolute;
                background-image: url(assets/img/banner/banner-slider-overly.png);
            }

            .number {
                right: 50px;
                font-size: 160px;
                position: absolute; 
                line-height: 121px;
                font-family: $pa;
                top: calc(50% - 60.5px);
                -webkit-text-stroke: transparent;
                -webkit-text-fill-color: transparent;
                -webkit-text-stroke-width: 1px !important;
                -webkit-text-stroke-color: rgba(255, 255, 255, 0.4);

                @media (max-width: 767px) {
                    right: 25px;
                    font-size: 130px;
                    line-height: 100px;
                }
            }
        }

        .banner {

            &__content {
                max-width: 893px;
                margin-left: auto;
                margin-right: auto;

                .sub-title {
                    
                    span {
                        color: $primary1;
                    }
                }

                .theme-btn {
                    font-weight: 600;
                    padding: 15px 33.5px;
                    background: $primary1;

                    &::after {
                        background: $white;
                    }

                    &:hover, &:focus {
                        color: $primary1;
                        background: $white;
                    }

                    &__wrapper {
                        gap: 20px;
                    }

                    &.btn-white {
                        color: $primary1;
                        background: $white;

                        &::after {
                            background: $primary1;
                        }

                        &:hover, &:focus {
                            color: $white;
                            background: $primary1;
                        }
                    }
                }
            }
        }

        .slider-controls {
            &.slider-controls-2{
                top: calc(50% - 58px);
                right:0px !important;
                .banner-slider-arrows{
                    position: absolute;
                    right: 100px !important;
                    @media (max-width: 1399px) {
                        right: 50px !important;
                    }
        
                    @media (max-width: 1199px) {
                        right: 30px !important;
                    }
        
                    @media (max-width: 767px) {
                        right: 15px !important;
                    }
                    @media (max-width: 600px) {
                       display: none !important;
                    }
        
                }
            }
            z-index: 2;
            left: 100px;
            position: absolute;
            top: calc(50% - 58px);

            @media (max-width: 1399px) {
                left: 50px;
            }

            @media (max-width: 1199px) {
                left: 30px;
            }

            @media (max-width: 767px) {
                left: 15px;
                top: calc(50% - 48px);
            }

            @media (max-width: 650px) {
                top: calc(85% - 45px);
            }

            .banner-slider-arrows {
                gap: 16px;

                @media (max-width: 650px) {
                    gap: 10px;
                }

                .slick-arrow {
                    width: 50px;
                    height: 50px;
                    color: $white;
                    line-height: 55px;
                    text-align: center;
                    border-radius: 500px;
                    border: 1px solid $white;
                    background: transparent;
                    @include transition(.3s);

                    @media (max-width: 767px) {
                        width: 40px;
                        height: 40px;
                        line-height: 45px;
                    }

                    &.slick-prev {
                        color: $primary1;
                        border-color: $primary1;

                        &:hover {
                            color: $white; 
                            background: $primary1;
                        }
                    }

                    i {
                        opacity: 0.9;
                        font-size: 20px;

                        @media (max-width: 767px) {
                            font-size: 18px;
                        }
                    }

                    &:hover {
                        color: $primary1; 
                        background: $white;
                    }
                }
            }
        }

        .slick-dots {
            gap: 22px;
            z-index: 1;
            bottom: 50px;
            display: flex;
            position: absolute;
            left: calc(50% - 40px);

            @media (max-width: 1199px) { 
                bottom: 30px;
            }

            li {
                width: 20px;
                height: 20px;
                cursor: pointer;
                position: relative;
                flex-direction: row;
                border-radius: 500px;
                background: transparent;
                border: 2px solid $white;
                
                @media (max-width: 1199px) { 
                    width: 16px;
                    height: 16px;
                }
                
                &.slick-active {
                    
                    &:after {
                        @include transform(scale(1));
                    }
                }

                &:after {
                    content: "";
                    width: 8px;
                    height: 8px;
                    line-height: 20px;
                    position: absolute;
                    background: $white;
                    left: calc(50% - 4px);
                    border-radius: 500px; 
                    top: calc(50% - 4px);
                    @include transition(.3s); 
                    @include transform(scale(0));
                    
                    @media (max-width: 1199px) { 
                        width: 6px;
                        height: 6px;
                        top: calc(50% - 3px);
                        left: calc(50% - 3px);
                    }
                }

                button {
                    display: none;
                }
            }
        }
    }
}

.banner-home {
    z-index: 1;
    background-color: $primary3;

    &:before {
        left: -28px;
        content: "";
        z-index: -1;
        bottom: -280px; 
        width: 545.24px;
        height: 545.85px;
        position: absolute;
        background-repeat: no-repeat;
        background-image: url(assets/img/banner/pattern.svg);

        @media (max-width: 1199px) {
            bottom: 340px;
        }

        @media (max-width: 767px) {
            bottom: 150px;
        }

    }

    .container {
        z-index: 1;
        position: relative;

        &:after {
            top: 42px;
            content: "";
            z-index: -1;
            width: 841px;
            right: 747px;
            height: 208px;
            position: absolute;
            background-repeat: no-repeat;
            background-image: url(assets/img/banner/banner-overly.svg);
        }
    }

    &__content {

        .sub-title {
            border-radius: 2px;
            padding: 10.5px 19px;
            background-color: #052648;

            span {
                color: $red;
            }
        }
        
        .title {
            
            span {
                font-weight: 300;
            }

            @media (max-width: 1199px) {
                font-size: 56px;
                line-height: 70px;
            }
            
            @media (max-width: 1199px) {
                font-size: 54px;
                line-height: 68px;
            }
            
            @media (max-width: 991px) {
                font-size: 40px;
                line-height: 54px;
            }

            @media (max-width: 380px) {
                font-size: 35px;
                line-height: 49px;
            }
        }

        .description {

            p {
                font-size: 18px;
                line-height: 28px;
            }
        }

        .theme-btn {
            padding: 20px 37.8px;

            @media (max-width: 767px) {
                padding: 18px 35px;
            }

            @media (max-width: 575px) {
                padding: 15px 30px;
            }
            
            &__wrapper {
                gap: 30px;
            }
            
            &.btn-white-border {
                color: $white;
                padding: 18.5px 37.8px;
                background: transparent;
                border: 1.5px solid $white;

                @media (max-width: 767px) {
                    padding: 16.5px 35px;
                }

                @media (max-width: 575px) {
                    padding: 13.5px 30px;
                }

                &:after {
                    background: $primary1;
                }

                &:hover, &:focus { 
                    background: $primary1;
                    border-color: $primary1;
                }
            }

            &:hover, &:focus {
                background: $red;
            }
        }
    }

    &__media {
        z-index: -1;
        max-height: 815px;
        position: relative;
        margin-right: calc(-50vw + 50%) !important;
        
        @media (min-width: 1200px) {
            margin-left: -239px;
        }

        &:after {
            top: 0;
            width: 100%;
            left: -1px;
            content: "";
            z-index: 2;
            height: 100%;
            position: absolute;
            background-size: contain;
            background-repeat: no-repeat;
            background-image: url(assets/img/banner/banner-home-overly.png);
        }

        &:before {
            left: 1074px;
            content: "";
            top: -340px;
            z-index: 2;
            width: 144.86px;
            height: 1194.97px;
            position: absolute;
            background: rgba(239, 5, 72, 0.2);
            @include transform(rotate(-30.99deg));

            @media (max-width: 1199px) {
                top: 0;
                height: 100%;
                left: -9999px;
                width: 9999px;
                @include transform(inherit);
                background-color: $primary3;
            }
        }

        .start {
            z-index: 3;
            left: 301px;
            bottom: 110px;
            position: absolute;

            @media (max-width: 1199px) {
                left: 247px;
                bottom: 96px;
            }

            @media (max-width: 991px) {
                left: 200px;
                bottom: 70px;
            }

            @media (max-width: 767px) {
                left: 100px;
                bottom: 40px;
            }

            @media (max-width: 480px) {
                left: 50px;
                bottom: 30px;
            }
        }
    }
}