.brand-story {
    .brandStorySec_1 {
        .lineHeading {
            &::before {
                width: 320px;
                left: 140px;
                bottom: 70px;
            }

            &::after {
                left: 178px;
            }
        }
    }

    .brandStorySec_2 {
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center top;
        position: relative;
        &:before {
            width: 100%;
            left: 0;
            height: 50%;
            background-image: linear-gradient(0deg, transparent 0 20%, #ffffffd9 70% 100%);
            content: "";
            top: 0;
            position: absolute;
        }

        .innovationTxtWrap {
            padding-left: 20px;
            position: relative;

            &::before {
                left: 10px;
                position: absolute;
                top: 0;
                background-color: #fff;
                height: 50px;
                width: 1px;
                background-color: #fff;
                content: "";
            }
        }

        .yrWrap {
            padding-left: 10px;
            padding-bottom: 20px;
            position: relative;

            h4 {
                color: #fff;
                position: relative;

                &::before {
                    width: 7px;
                    height: 7px;
                    border-radius: 50%;
                    border: 1px solid #fff;
                    background-color: #fff;
                    left: -13px;
                    top: -1px;
                    content: "";
                    position: absolute;
                }
            }

            &::before {
                width: 1px;
                height: 70px;
                left: 0;
                top: 5px;
                width: 1px;
                background-color: #fff;
                content: "";
                position: absolute;
            }

            &::after {
                height: 1px;
                left: 0;
                bottom: -27px;
                width: 10px;
                background-color: #fff;
                content: "";
                position: absolute;
            }
        }

        .innovationTxtWrap {
            height: calc(100% - 50px);

            .innovationTxt {
                height: 100%;
            }
        }
    }
}

.curveBox {
    height: 100%;

    .curveBoxInner {
        height: 100%;

        .curveBoxHeading {
            position: relative;

            &::after {
                width: 100%;
                height: 1px;
                position: absolute;
                top: 50%;
                right: 0;
                background-color: #e31837;
                content: "";
                transform: translateY(-50%);
            }

            h4 {
                display: inline-block;
                padding: 10px 30px;
                background-color: #e31837;
                border-radius: 0 30px 0 30px;
                color: #fff;
                position: relative;
                z-index: 1;
            }
        }

        .curveBoxText {
            padding: 30px;
            border: 3px solid #e31837;
            border-radius: 0 60px 60px 60px;
            position: relative;
            height: calc(100% - 65px);

            &::before {
                width: 34px;
                height: 30px;
                background: url(../images/brand-story/angle_img.png) no-repeat center center;
                background-size: 100%;
                content: "";
                position: absolute;
                top: -20px;
                left: -3px;
            }
        }
    }
}

.col-lg-4 {
    &:not(:last-child) {
        .curveBox {
            .curveBoxInner {
                .curveBoxHeading {
                    &::after {
                        right: -45px;
                    }

                    &::before {
                        width: 25px;
                        height: 25px;
                        border-radius: 50%;
                        background-color: #4d4d4f;
                        content: "\f105";
                        position: absolute;
                        right: -20px;
                        font-family: "FontAwesome";
                        font-size: 12px;
                        color: #fff;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        top: 50%;
                        z-index: 1;
                        transform: translateY(-50%);
                    }
                }
            }
        }
    }
}

.ecosystemBoxInner {
    padding: 20px;
    height: calc(100% - 40px);

    .numBlockBottom {
        & .leftText {
            &::before {
                filter: brightness(0) invert(1);
            }
        }
    }

    &.ecosystemBoxLeft {
        padding-right: 120px;
        border-bottom: 10px solid #e1163a;
    }

    &.ecosystemBoxRight {
        padding-left: 120px;
        border-bottom: 10px solid #4d4d4f;
    }
}

.bg_e54a4e {
    background-color: #e54a4e;
}

.middleTxt {
    border: 7px solid #fff;
    border-radius: 50%;
    width: 220px;
    height: 220px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    padding: 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
}

.systemBoxWrap {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 40px;

    .systemBox {
        width: 100%;
        -ms-flex: 0 0 calc(50% - 20px);
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
        padding: 30px;
        display: flex;
        align-items: center;
        position: relative;

        &.systemBoxRight {
            &::after {
                width: 6px;
                height: 6px;
                border-radius: 50%;
                position: absolute;
                left: 12px;
                top: 51%;
                transform: translateY(-50%);
                background-color: #4d4d4f;
                content: "";
            }

            &::before {
                width: 25px;
                height: 1px;
                position: absolute;
                left: -8px;
                top: 51%;
                transform: translateY(-50%);
                background-color: #4d4d4f;
                content: "";
            }
        }

        &.systemBoxLeft {
            &::after {
                width: 6px;
                height: 6px;
                border-radius: 50%;
                position: absolute;
                right: 12px;
                top: 51%;
                transform: translateY(-50%);
                background-color: #4d4d4f;
                content: "";
            }

            &::before {
                width: 25px;
                height: 1px;
                position: absolute;
                right: -8px;
                top: 51%;
                transform: translateY(-50%);
                background-color: #4d4d4f;
                content: "";
            }
        }
    }

    &::after {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        content: "\2b";
        font-size: 34px;
        color: #4d4d4f;
        height: auto;
        line-height: 0;
    }

    &::before {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 10px;
        height: 50px;
        background: url(../images/brand-story/line.png) no-repeat center top;
        content: "";
        line-height: 0;
    }

}

.redBgWrap {
    padding: 10px 40px;
    border-radius: 100px;
    margin-top: 40px;
    position: relative;

    &::before {
        content: "\3d";
        position: absolute;
        left: 50%;
        top: -30px;
        transform: translateX(-50%);
        font-family: "FontAwesome";
        font-size: 20px;
    }
}

.bg_a7a9ac {
    background-color: #a7a9ac;
}

/* start responsive */

@media(max-width: 1680px) {
    .brandStorySec_1 {
        .row_2 {
            .redBorderText {
                h2.fz_60 {
                    font-size: 48px !important;
                }
            }
        }
    }

    .brandStorySec_2 {
        h2.fz_60 {
            font-size: 48px !important;
        }
    }

    .middleTxt {
        width: 190px;
        height: 190px;

        h4 {
            font-size: 24px !important;
        }
    }
}

@media(max-width: 1440px) {
    .brandStorySec_1 {
        .row_2 {
            .redBorderText {
                h2.fz_60 {
                    font-size: 42px !important;
                }
            }
        }

        .row_2 {
            &.mb_50 {
                margin-bottom: 10px!important;
            }
        }
    }

    .brandStorySec_2 {
        h3.fz_32 {
            font-size: 28px !important;
        }

        h2.fz_60 {
            font-size: 42px !important;
        }
    }

    .curveBox {
        .curveBoxInner {
            .curveBoxHeading {
                h4 {
                    font-size: 22px;
                }
            }
        }
    }

    .redBorderText {
        h3.fz_30 {
            font-size: 28px !important;
        }
    }


}

@media(max-width: 1366px) {
    .middleTxt {
        width: 170px;
        height: 170px;

        h4 {
            font-size: 20px !important;
        }
    }
}

@media(max-width: 1280px) {
    .brandStorySec_1 {
        .row_1 {
            &.mb_100 {
                margin-bottom: 20px !important;
            }
        }

        .row_2 {
            .redBorderText {
                h3.fz_32 {
                    font-size: 28px !important;
                }

                h2.fz_60 {
                    font-size: 40px !important;
                }
            }
        }
    }

    .redBorderText {
        h3.fz_30 {
            font-size: 24px !important;
        }
    }
}

@media(max-width: 1199px) {
    .brandStorySec_2 {
        h3.fz_32 {
            font-size: 26px !important;
        }

        /* h2.fz_60 {
            font-size: 40px !important;
        } */

        .echInnov {
            margin-bottom: 30px;
        }
    }
}

@media(max-width: 991px) {
    .echVision {
        margin-bottom: 20px;

        &.col-lg-4 {
            .curveBox {
                .curveBoxInner {
                    .curveBoxHeading {
                        &::before {
                            right: 0;

                        }

                        &::after {
                            right: 0;
                        }
                    }
                }
            }

            &:last-child {
                .curveBox {
                    .curveBoxInner {
                        & .curveBoxHeading {
                            &::before {
                                width: 25px;
                                height: 25px;
                                border-radius: 50%;
                                background-color: #4d4d4f;
                                content: "\f105";
                                position: absolute;
                                right: 0;
                                font-family: "FontAwesome";
                                font-size: 12px;
                                color: #fff;
                                display: flex;
                                justify-content: center;
                                align-items: center;
                                top: 50%;
                                z-index: 1;
                                transform: translateY(-50%);
                            }
                        }
                    }
                }
            }
        }
    }

    .ecosystemBox {
        p.darkGrayText {
            text-align: left !important;
            margin-top: 20px;
            margin-bottom: 10px;
        }
    }

    .ecosystemBoxInner {
        &.ecosystemBoxLeft {
            padding-right: 0;
            padding-bottom: 64px;
        }

        &.ecosystemBoxRight {
            padding-left: 0;
            padding: 20px;
            padding-top: 100px;
        }
    }

    .middleTxt {
        top: 47%;
    }

    .systemBoxWrap {
        margin-top: 20px;
    }

    .row20_gap_991 {
        row-gap: 20px;
    }
}

@media(max-width: 768px) {
    .brandStorySec_1 {
        /* .row_1 {
            &.mb_100 {
                margin-bottom: 0px !important;
            }
        } */

        .row_2 {
            .redBorderText {
                padding-left: 10px;

                h3.fz_32 {
                    font-size: 26px !important;
                }

                h2.fz_60 {
                    font-size: 34px !important;
                }
            }
        }
    }

    .brandStorySec_2 {
        h3.fz_32 {
            font-size: 22px !important;
        }

        h2.fz_60 {
            font-size: 32px !important;
        }
    }


    .brand-story {
        .brandStorySec_2 {
            .innovationTxtWrap {
                .innovationTxt {
                    padding: 15px;
                }
            }
        }
    }

    .redBorderText {
        padding-left: 8px;

        h3.fz_30 {
            font-size: 20px !important;
        }
    }

    .systemBoxWrap {
        .systemBox {
            padding: 18px;
        }
    }

    .brandStorySec_2 {
        .row_6.mb_40 {
            .col-lg-12.mb_20 {
                margin-bottom: 10px !important;
            }
        }
    }
}

@media(max-width: 575px) {

    .brandStorySec_1 {
        & .row_2 {
            & .redBorderText {
                h2.fz_60 {
                    font-size: 32px !important;
                }
            }
        }
    }

    .brandStorySec_2 {
        h2.fz_60 {
            font-size: 30px !important;
        }
    }

    .middleTxt {
        width: 120px;
        height: 120px;
        padding: 15px;
        top: 47%;

        h4 {
            font-size: 13px !important;
        }
    }

    .ecosystemBoxInner {
        height: auto;

        .numBlockWrap.mb_40 {
            margin-bottom: 26px !important;
        }

        &.ecosystemBoxLeft {
            padding-right: 0;
            padding-bottom: 0;
        }

        &.ecosystemBoxRight {
            padding-top: 20px;
        }
    }

    .ecosystemWrap {
        .col-lg-6:last-child {
            .ecosystemBox {
                margin-top: 150px;
            }
        }
    }



    .systemBoxWrap {
        flex-direction: column;

        &::after {
            top: 45%;
            transform: translate(-45%, -50%);
        }

        .systemBox {
            -ms-flex: 0 0 100%;
            flex: 0 0 100%;
            max-width: 100%;

            &.systemBoxLeft {
                &::before {
                    width: 1px;
                    height: 14px;
                    right: auto;
                    left: 50%;
                    top: auto;
                    bottom: -14px;
                    transform: translate(0, -50%);
                }

                &::after {
                    right: auto;
                    left: 49.7%;
                    top: auto;
                    bottom: 0px;
                    transform: translate(0, -49.7%);
                }
            }

            &.systemBoxRight {
                &::before {
                    width: 1px;
                    height: 14px;
                    left: 50%;
                    top: 0;
                    transform: translate(0, -50%);
                }

                &::after {
                    left: 49.7%;
                    top: 7px;
                    transform: translate(0, -49.7%);
                }
            }
        }
    }

    .redBgWrap {
        &::before {
            top: -36px;
        }
    }
}
@media(max-width: 480px) {
    .systemBoxWrap {
        .systemBox {
            &.systemBoxLeft {
                &::after {
                    right: auto;
                    left: 49.4%;
                    top: auto;
                    bottom: 0px;
                    transform: translate(0, -50%);
                }
            }
            &.systemBoxRight {
                &::after {
                    left: 49.5%;
                    top: 7px;
                    transform: translate(0, -50%);
                }
            }
        }
    }
}