@media (max-width: 1200px) {
    .mainBdInner .imgSec {
        width: 300px;
    }

    .mainBdInner>div {
        width: 60%;
    }

    .secBd,
    .otherBd {
        justify-content: flex-start;
    }

    .imgsecbd {
        height: 380px;
    }

    .secBd .teamCardsecBd {
        padding: 20px;
        width: 32% !important;
        margin-right: 2%;
        margin-bottom: 20px;
    }

    .teamCardsecBd:nth-child(3n) {
        margin-right: 0;
    }

    .teamCardotherBd {
        width: 32%;
        margin-right: 2%;
        margin-bottom: 20px;
    }

    .teamCardotherBd:nth-child(3n) {
        margin-right: 0;
    }

    .teamCardotherBd:nth-child(4n) {
        margin-right: 2%;
    }


}

@media screen and (max-width: 992px) {
    .mainBdInner .imgSec {
        width: 250px;
    }

    .mainBdInner>div {
        width: 50%;
    }

}

@media screen and (max-width: 768px) {
    .secBd .teamCardsecBd {
        padding: 20px;
        width: 49% !important;
        margin-right: 2%;
    }

    .teamCardsecBd:nth-child(3n) {
        margin-right: 2%;
    }

    .teamCardsecBd:nth-child(2n) {
        margin-right: 0;
    }

    .teamCardotherBd {
        width: 49%;
        margin-right: 2%;
    }

    .teamCardotherBd:nth-child(3n) {
        margin-right: 2%;
    }

    .teamCardotherBd:nth-child(2n) {
        margin-right: 0;
    }

}

@media screen and (max-width: 600px) {
    .mainBdInner {
        flex-direction: column;
    }

    .mainBdInner .imgSec {
        width: 100%;
    }

    .mainBdInner>div {
        width: 100%;
        margin-top: 35px;
    }

    .teamCardsecBd {
        width: 100%;
        margin-bottom: 30px
    }
    .teamCardsecBd:nth-child(3n) {
        margin-bottom: 0;
    }

    .teamCardotherBd {
        margin-right: 0 !important;
        width: 100%;
        margin-bottom: 20px;
    }

    .tm_pd {
        padding: 10px 0;
    }

    .imgsecbd {
        height: 380px;
    }

    .secBd .teamCardsecBd {
        padding: 20px;
        width: 100% !important;
        margin-right: 0% !important;
    }
    .mainBd.tm_pd {
        margin-bottom: 20px;
    }
}