section {
    &.banner-second-section {
        padding: 74px 0;
        .banner-section-wrap {
            background: #EAEEEF;
            border-radius: 20px;
            /*padding: 15px 80px 43px;*/
            padding: 53px 80px 50px;
            height: 100%;
            display: flex;
            align-items: center;
            @media only screen and (max-width: 998px) {
                flex-direction: column;
                padding: 25px 25px 25px;
            }
            .main-first-banner-section-wrap {
                display: flex;
                gap: 50px;
                width: 61%;
                align-items: center;
                @media only screen and (max-width:1440px) {
                    /*gap: 20px;*/
                    /*gap: 38px;*/
                }
                @media only screen and (max-width: 1162px) {
                    flex-direction: column;
                    align-items: flex-start;
                    width: 50%;
                }
                @media only screen and (max-width: 998px) {
                    align-items: center;
                    gap: 15px;
                    width: 100%;
                }
                .first-banner-section-wrap {
                    /*padding: 9px 30px;*/
                    /*padding: 20px 15px;*/
                    padding: 20px 15px 49px;
                    @media only screen and (max-width: 1162px) {
                        padding: 20px 0 0;
                    }
                    h2 {
                        font-family: "Manrope", Montserrat, sans-serif;
                        font-weight: 800;
                        font-size: 78px;
                        line-height: 80px;
                        text-transform: uppercase;
                        color: #1F3832;
                        font-style: normal;
                        margin-bottom: 7px;
                        letter-spacing: -1.7px;
                        @media only screen and (max-width:1440px) {
                            /*font-size: 72px;*/
                        }
                        @media only screen and (max-width: 768px) {
                            font-size: 55px;
                            line-height: 57px;
                            text-align: center;
                        }
                    }
                    p {
                        font-family: "Manrope", Montserrat, sans-serif;
                        font-style: normal;
                        font-weight: 600;
                        font-size: 30.1645px;
                        line-height: 28px;
                        text-transform: uppercase;
                        color: #1F3832;
                        letter-spacing: -0.4px;
                        @media only screen and (max-width:1440px) {
                            /*font-size: 25.5px;*/
                        }
                        @media only screen and (max-width: 480px) {
                            text-align: center;
                            font-size: 24.1645px;
                            line-height: 22px;
                        }
                        @media only screen and (max-width: 360px) {
                            font-size: 22.1645px;
                            line-height: 20px;
                        }
                    }
                }
                .second-banner-section-wrap {
                    @media only screen and (max-width: 998px) {
                        margin: 15px auto;
                    }
                    a {
                        font-family: "Manrope", Montserrat, sans-serif;
                        font-style: normal;
                        font-weight: 800;
                        font-size: 14px;
                        line-height: 22px;
                        text-transform: uppercase;
                        color: #FFFFFF;
                        padding: 9px 30px;
                        background: #F3571C;
                        border-radius: 5px;
                        text-align: center;
                    }
                }
            }
            .third-banner-section-wrap {
                position: relative;
                width: 39%;
                height: 100%;
                @media only screen and (max-width: 1162px) {
                    width: 49%;
                }
                @media only screen and (max-width: 998px) {
                    margin: 30px 0;
                    width: 100%;
                }
                .third-banner-section-image {
                    position: absolute;
                    width: 110%;
                    top: -19px;
                    left: 47px;
                    @media only screen and (max-width: 998px) {
                        position: relative;
                        width: 100%;
                        top: 0;
                        left: 0;
                        text-align: center;
                    }
                    img {
                        /*filter: drop-shadow(-18px 89px 36px rgba(0, 0, 0, 0.01)) drop-shadow(-10px 50px 31px rgba(0, 0, 0, 0.05)) drop-shadow(-5px 22px 23px rgba(0, 0, 0, 0.09)) drop-shadow(-1px 6px 12px rgba(0, 0, 0, 0.1));*/
                        @media only screen and (max-width: 998px) {
                            margin: 0 auto;
                        }
                    }
                }
            }

        }
        &.banner-second-section-type-second {
            .banner-section-wrap {
                padding: 32px 75px 16px;
                @media only screen and (max-width: 998px) {
                    flex-direction: column;
                    padding: 25px 25px 25px;
                }
                .main-first-banner-section-wrap {
                    flex-direction: column;
                    align-items: flex-start;
                    gap: 30px;
                    width: 50%;
                    @media only screen and (max-width: 998px) {
                        align-items: center;
                        gap: 15px;
                        width: 100%;
                    }
                    .first-banner-section-wrap {
                        padding: 0 0 10px;
                    }
                }
                .third-banner-section-wrap {
                    width: 50%;
                    @media only screen and (max-width: 998px) {
                        margin: 30px 0;
                        width: 100%;
                    }
                    .third-banner-section-image {
                        position: relative;
                        left: 0;
                        top: 0;
                        @media only screen and (max-width: 998px) {
                            position: relative;
                            width: 100%;
                            top: 0;
                            left: 0;
                            text-align: center;
                        }
                    }
                }
            }
        }
    }
}


.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    inset: 0;
    display: none;              /* hidden by default */
    z-index: 9999;
    justify-content: center;
    align-items: center;
    &.is-open { display: flex; }
    .custom-modal__overlay {
        position: fixed;
        display: flex;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
        background: rgba(0, 0, 0, 0.8);
        /*display: none;*/

        /*z-index: 999;*/
    }

    .custom-modal__box {
        background: #fff;
        border-radius: 20px;
        max-width: 908px;
        width: 90%;
        padding: 20px 20px;
        text-align: center;

        h2 {
            font-family: "Manrope", Montserrat, sans-serif;
            font-style: normal;
            font-weight: 600;
            font-size: 32px;
            line-height: 22px;
            text-align: center;
            color: #21373A;
            margin-bottom: 20px;
        }

        p {
            font-family: "Manrope", Montserrat, sans-serif;
            font-style: normal;
            font-weight: 600;
            font-size: 14px;
            line-height: 22px;
            text-align: center;
            color: #576567;
            br {
                @media only screen and (max-width: 768px) {
                    display: none;
                }
            }
        }
    }

    .custom-modal__buttons {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 40px;
        @media only screen and (max-width: 450px) {
            flex-direction: column;
            margin-top: 20px;
        }
    }

    .custom-modal__btn {
        padding: 12px 17px;
        font-family: "Manrope", Montserrat, sans-serif;
        font-style: normal;
        font-weight: 800;
        font-size: 14px;
        line-height: 22px;
        text-transform: uppercase;
        cursor: pointer;
        transition: 0.2s;
        min-width: 175px;
        border-radius: 5px;
    }
    .custom-modal__btn--back {
        border: 2px solid #21373A;
        color: #21373A;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 9px 30px;
    }

    .custom-modal__btn--next {
        background: #F3571C;
        color: #FFFFFF;
    }
}
