@use '../../root' as *;
@use '../../utilities' as *;


.hero2 {
    position: relative;
    padding: 220px 0 148px;
    margin-top: 170px;
    background: #464E3D;
    @include breakpoint (max-xl){
        margin-top: 104px;
        padding: 120px 0 148px;
    }
    @include breakpoint (max-lg){
        padding: 60px 0 82px;
    }
    &__shape1 {
        position: absolute;
        right: 0;
        top: 0;
        z-index: 7;

        border-radius: 674px;
        background: #5B931C;
        filter: blur(250px);
        width: 674px;
        height: 674px;
        flex-shrink: 0;

        @include breakpoint (max-xxl){
            display: none;
        }
    }
    &__shape2 {
        position: absolute;
        left: -24%;
        bottom: -60%;
        z-index: 7;

        border-radius: 1022.124px;
        background: #5B931C;
        filter: blur(285px);
        width: 1022.124px;
        height: 1022.124px;
        transform: rotate(30deg);
        flex-shrink: 0;
        aspect-ratio: 1022.12/1022.12;

        @include breakpoint (max-xl){
            display: none;
        }
    }
    &__shape3 {
        position: absolute;
        left: 0%;
        top: 0;
        z-index: 7;

        @include breakpoint (max-xl){
            display: none;
        }
    }
    &__shape4 {
        position: absolute;
        right: 2%;
        bottom: 0;
        z-index: 7;

        @include breakpoint (max-xxl){
            display: none;
        }
    }
    &__shape5 {
        position: absolute;
        right: 45%;
        bottom: 48%;
        z-index: 7;

        @include breakpoint (max-xxxl){
            right: 50%;
        }
        @include breakpoint (max-xxl){
            display: none;
        }
    }
    &-notice {
        position: absolute;
        right: 30%;
        top: 41%;
        z-index: 9;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 20px 25px;
        border-radius: 6px;
        background: $white;
        box-shadow: 0px 10px 40px 0px rgba(31, 31, 31, 0.20);
        backdrop-filter: blur(45px);    
        max-width: 250px;
        &__text {
            h5 {
                color: $theme-color;
                font-family: $body-font;
                font-size: 18px;
                font-style: normal;
                font-weight: 700;
                line-height: normal;
                padding-bottom: 7px;
            }
            p {
                color: rgba(77, 123, 107, 0.70);
                font-family: $body-font;
                font-size: 14px;
                font-style: normal;
                font-weight: 500;
                line-height: normal;
            }
        }
        @include breakpoint (max-xxl){
            top: 37%;
        }
        @include breakpoint (max-xl){
            display: none;
        }
    }
    &__thumb {
        position: absolute;
        right: 10%;
        bottom: 0;
        z-index: 8;
        @include breakpoint (max-xxl){
            right: 0;
        }
        @include breakpoint (max-xl){
            width: 60%;
        }
        @include breakpoint (max-sm){
            display: none;
        }
    }    
    &-content {
        position: relative;
        z-index: 9;
        &__subtitle {
            display: inline-flex;
            padding: 10px 26px;
            justify-content: center;
            align-items: center;
            gap: 12px;
            border-radius: 100px;
            border: 1px solid rgba(197, 237, 130, 0.12);
            color: $white;
            font-family: $body-font;
            font-size: 16px;
            font-style: normal;
            font-weight: 500;
            line-height: normal;
            margin-bottom: 22px;
            @include breakpoint (max-xxsmall){
                padding: 0 10px;
                font-size: 14px;
            }
            
        }
        &__title { 
            padding-bottom: 30px;
            color: $white;
            font-family: $body-font;
            font-size: 90px;
            font-style: normal;
            font-weight: 700;
            line-height: 94px;
            @include breakpoint (max-xxl) {
                font-size: 75px;
                line-height: 70px;
            }
            @include breakpoint (max-lg) {
                font-size: 58px;
                line-height: 70px;
            }
            @include breakpoint (max-md) {
                font-size: 45px;
                line-height: 50px;
            }
            @include breakpoint (max-sm) {
                font-size: 42px;
                line-height: 50px;
            }
            span {
                color: $title-color2;
                font-family: $body-font;
                font-size: 90px;
                font-style: normal;
                font-weight: 700;
                line-height: 94px;
                @include breakpoint (max-xxl) {
                    font-size: 75px;
                    line-height: 70px;
                }
                @include breakpoint (max-lg) {
                    font-size: 58px;
                    line-height: 70px;
                }
                @include breakpoint (max-md) {
                    font-size: 45px;
                    line-height: 50px;
                }
                @include breakpoint (max-sm) {
                    font-size: 42px;
                    line-height: 50px;
                }
            }
        } 
        &__desc {
            max-width: 639px;
            padding-right: 0px;
            color: $white;
            font-family: $body-font;
            font-size: 18px;
            font-style: normal;
            font-weight: 500;
            line-height: 30px;
            opacity: 0.8;
        }
        &-cta {
            display: flex;
            align-items: center;
            gap: 20px;
            @include breakpoint (max-lg){
                flex-direction: column;
                align-items: self-start;
                gap: 25px;
            }
            @include breakpoint (max-sm){
                padding-top: 0px;
            }
            &__link {
                color: $title-color2;
                font-family: $body-font;
                font-size: 16px;
                font-style: normal;
                font-weight: 500;
                line-height: normal;
                text-decoration-line: underline;
                text-decoration-style: solid;
                text-decoration-skip-ink: none;
                text-decoration-thickness: 6%; /* 0.96px */
                text-underline-offset: 16%; /* 2.56px */
                text-underline-position: from-font;
                &:hover {
                    color: $white;
                }
            }
            .theme-btn {
                &.style2 {
                    border-radius: 6px;
                     background: $title-color2;
                    height: 46px;
                }
            }
        }   
    }   
}

