.about-mahindra-accelo {
    .lineHeading {
        &::before {
            content: "";
            position: absolute;
            width: 350px;
            height: 5px;
            background: #e31837;
            top: auto;
            left: 140px;
            bottom: 76px;
            transform: rotate(-23deg) skew(-20deg) translate(-120%, 0);
        }

        &::after {
            left: 27%;
        }
    }

    .mainHead {
        & .rightHead {
            &::before {
                width: 2px;
                height: 100%;
                position: absolute;
                top: 0;
                left: 0;
                content: "";
                background-color: #e31837;
            }
        }
    }

    .tpEthosLeft {
        width: 390px;
        max-width: 390px;
        flex: auto;
    }

    .tpEthosRight {
        width: calc(100% - 390px);
        max-width: calc(100% - 390px);
        flex: auto;
    }

    .ethosHeading {
        display: flex;
        align-items: center;

        .ethosIcon {
            width: 90px;
        }

        h3 {
            width: calc(100% - 90px);
            padding-left: 10px;
        }
    }

    .ethosWrap {
        .ethosItem {
            background-color: #fff;
            box-shadow: 0px 0px 10px 0px #cecece;
            border-radius: 300px;
            overflow: hidden;
            align-items: flex-end;
            padding: 20px;

            .ethosLeft {
                width: 350px;
                text-align: center;
                position: relative;

                .ethosIcon {
                    margin-bottom: 10px;

                    img {
                        width: 90px;
                        filter: brightness(0) saturate(100%) invert(25%) sepia(99%) saturate(3889%) hue-rotate(338deg) brightness(87%) contrast(106%);
                    }
                }
            }

            .ethosRight {
                width: calc(100% - 350px);
                padding-right: 30px;
                padding-left: 20px;
                display: flex;
                align-items: center;

                .textWrap {
                    padding-bottom: 30px;
                    width: 100%;
                    position: relative;

                    &::after {
                        width: 100%;
                        height: 1px;
                        content: "";
                        position: absolute;
                        bottom: 3px;
                        left: -67px;
                        background-color: #4d4d4f;
                    }
                }
            }

            &:nth-child(even) {
                background-image: linear-gradient(to right, #c9ebfb, #fff);

                .ethosLeft {
                    .ethosIcon {
                        img {
                            filter: unset;
                        }
                    }
                }
            }

            &:nth-child(odd) {
                position: relative;
                background-image: linear-gradient(to right, #e2153b26, #fff);

                /* &::before {
                    width: 350px;
                    height: 100%;
                    background-color: #ec8074;
                    content: "";
                    position: absolute;
                    top: 0;
                    left: 0;
                } */
            }

            .lineBorderBox {
                padding-top: 0px;
                padding-bottom: 0px;
                padding-left: 15px;

                &::before {
                    left: 0;
                    background-color: #4d4d4f;
                }

                &:after {
                    display: none;
                }
            }
        }
    }

    .redboxWrap {
        .numBlockBottom {
            & .leftText {
                &::before {
                    filter: brightness(0) invert(1);
                }
            }
        }
    }

    .borderRight {
        border-right: 1px solid #4d4d4f;
    }

    .about_mahindra_1 {
        background-size: 100%;
        background-repeat: no-repeat;
        background-position: center bottom;
        padding-bottom: 350px;
    }
}

/* start responsive */
@media(max-width: 1280px) {
    .about-mahindra-accelo {
        & .lineHeading {
            &::before {
                content: normal;
            }
        }
    }

    .about_mahindra_1 {
        .row_1.mb_100 {
            margin-bottom: 40px !important;
        }
    }
}


@media(max-width: 1024px) {
    .about-mahindra-accelo {
        & .ethosWrap {
            .ethosItem {
                flex-direction: column;
                align-items: flex-start;
                border-radius: 15px;
                padding: 15px;
                margin-bottom: 20px !important;

                &:nth-child(2n+1) {
                    background: linear-gradient(to right, rgba(236, 128, 116, 1), #fff);

                    &::before {
                        content: normal;
                    }
                }

                .ethosLeft {
                    width: 100%;
                    text-align: left;
                    margin-bottom: 20px;

                    .ethosIcon {
                        margin-bottom: 0px;
                    }
                }

                .ethosRight {
                    width: 100%;
                    padding-left: 0;
                    padding-right: 0;

                    .textWrap {
                        padding-bottom: 0px;

                        &::after {
                            content: normal;
                        }

                        span.fz_24 {
                            font-size: 18px !important;
                        }
                    }
                }
            }
        }

        .tpEthosLeft {
            width: 100%;
            max-width: 100%;
            flex: auto;
            margin-bottom: 15px;
        }

        .tpEthosRight {
            width: 100%;
            max-width: 100%;
            flex: auto;
        }
    }

}

@media(max-width: 991px) {
    .fz_24 {
        font-size: 22px !important;
    }

    .about-mahindra-accelo {
        & .ethosHeading {
            .ethosIcon {
                width: 74px;
            }

            h3 {
                font-size: 32px !important;
            }
        }

        .ethosWrap {
            .ethosItem {
                .ethosLeft {
                    .ethosIcon {
                        img {
                            width: 74px;
                        }
                    }

                    h3 {
                        font-size: 32px !important;
                    }
                }

                .ethosRight {
                    .textWrap {
                        ul {
                            column-count: 1;
                        }
                    }
                }

                .lineBorderBox {
                    h3 {
                        font-size: 22px !important;
                    }
                }
            }
        }

        .portfolioItemWrap {
            .borderRight {
                border-right: unset;
            }

            .col-lg-6 {
                &:not(:last-child) {
                    .portfolioBox {
                        margin-bottom: 40px;
                    }
                }
            }
        }

        .row_7 {
            .subRow_1 {
                .eachRedBox {
                    &:not(:last-child) {
                        margin-bottom: 20px;
                    }
                }
            }

            .col_1 {
                h4.fz_36 {

                    font-size: 32px !important;
                }
            }
        }

        .row_8 {
            .col_2 {
                .subRow_1 {
                    .col_4 {
                        .textWrap {
                            &:last-child {
                                margin-bottom: 30px !important;
                            }
                        }
                    }
                }
            }
        }
    }
}

@media(max-width: 767px) {
    .about-mahindra-accelo {
        .about_mahindra_1 {
            padding-bottom: 200px;
        }
    }
}

@media(max-width: 575px) {
    .about-mahindra-accelo {
        & .mainHead {
            & .rightHead {
                padding-top: 15px;
                padding-left: 0;

                &::before {
                    width: 20%;
                    height: 2px;
                }
            }
        }

        .row_2 {
            .redBorderText.mt_30 {
                margin-top: 0 !important;
            }
        }

        .row_7 {
            & .col_1 {
                h4.fz_36 {
                    font-size: 30px !important;
                }
            }

            .subRow_1 {
                & .eachRedBox {
                    h4.fz_24 {
                        font-size: 20px !important;
                    }
                }
            }
        }
    }
}

@media(max-width: 480px) {
    .about-mahindra-accelo {
        & .ethosHeading {
            h3 {
                font-size: 28px !important;
            }
        }

        .row_5 {
            .redboxWrap.p_30 {
                padding: 16px;
            }
        }
    }
}

/* end responsive */