.bj-teammainblock{
    width: 100%;
    height: 100%;
    background-color: #050F3F;
    padding-top: 150px;
    padding-bottom: 150px;
}

.bj-teammainlevel{
    width: 100%;
    text-align: center;
}

.bj-teammainlevel h6{
    font-size: 16px;
    line-height: 26px;
    color: #FF954A;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.bj-teammainlevel h4{
    font-size: 24px;
    line-height: 34px;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.bj-teammainlevel h2{
    font-size: 30px;
    line-height: 40px;
    color: #EA1758;
    text-transform: capitalize;
}

.bj-multimediablock{
    height: auto;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 40px;
    gap: 15px;
}

.bj-multimediabox {
    width: 19%;
    height: auto;
    margin-bottom: 10px;
    perspective: 1000px;
    cursor: pointer;
}

.bj-multimetaflopbox {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s; /* Flip animation duration */
}

.bj-multimediaboxblock {
    width: 100%;
    height: 100%;
}

.bj-multimediaboximg {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.card-faces{
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Hides the back face when flipped */
}

.card-face {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Hides the back face when flipped */
}

.front{
    backface-visibility: hidden; /* Hides the back face when flipped */
}

.back {
    transform: rotateY(180deg); /* Rotate the back face */
    backface-visibility: hidden; /* Hides the back face when flipped */
}

/* Optional: hover effect for the flip */
.bj-multimediabox:hover .bj-multimetaflopbox {
    transform: rotateY(180deg);
    backface-visibility: hidden;
}


/* .card-faces{
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.card-face {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    backface-visibility: hidden;
}  

.back {
    transform: rotateY(180deg);
}
  
.bj-multimediabox:hover {
    transform: rotateY(180deg);
} */

.back p{
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    font-family: "Poppins-Regular";
    font-weight: 500;
    margin: 0;
    padding: 15px
}

.bj-multimediabox:nth-child(3), .bj-multimediabox:nth-child(6), .bj-multimediabox:nth-child(9){
    padding-right: 0px;
}

.bj-multimediaboxblock{
    width: 100%;
    height:270px;
}

.bj-multimediaboximg{
    width: 100%;
    height: 100%;
}

.bj-multimediaboximg img{
    object-fit: cover;
}

.bj-multimediaboxtext{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 15px;
}

.bj-multimediaboxlefttext, h3,p{
    color: #fff;
    text-align: left;
    margin-bottom: 5px;
}

.bj-multimediaboxlefttext h3{
    color: #FF954A;
    font-size: 12px;
    line-height: 22px;
    text-align: center;
}

.bj-multimediaboxlefttext p{
    font-family: "Poppins-Regular";
    text-align: center;
    font-size: 10px;
}

.bj-multimediaboxrighttext{
    display: flex;
}

.bj-multimediaboxrightmedia{
    margin-right: 10px;
    width: 30px;
}

.bj-multimediaboxrightmedia:last-child{
    margin-right: 0;
}

@media screen and (max-width:1660px) {
    .bj-teammainblock{
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .bj-teammainlevel h6{
        margin-bottom: 10px;
    }

    .bj-teammainlevel h4 {
        font-size: 24px;
        line-height: 34px;
        margin-bottom: 10px;
    }

    .bj-teammainlevel h2 {
        font-size: 24px;
        line-height: 34px;
    }

    .bj-multimediaboxrightmedia{
        width: 20px;
    }
}

@media screen and (max-width:1440px) {

    .bj-multimediaboxlefttext p{
        font-size: 14px;
        line-height: 24px;
    }

    .bj-multimediaboxblock{
        height: 250px;
    }

    .back p{
        font-size: 10px;
        line-height: 16px;
    }
}

@media screen and (max-width:1366px) {

    .bj-multimediaboxlefttext p{
        font-size: 12px;
        line-height: 24px;
    }

    .bj-teammainlevel h6 {
        font-size: 14px;
        line-height: 20px;
    }

    .bj-multimediablock{
        margin-top: 30px;
        gap: 12px;
    }
    
    .bj-multimediaboxtext{
        padding-top: 10px;
    }

    /* .bj-multimediaboxblock {
        height: 320px;
    } */

    .bj-teammainlevel h4 {
        font-size: 22px;
        line-height: 32px;
    }

    .bj-teammainlevel h2 {
        font-size: 20px;
        line-height: 30px;
    }
}

@media screen and (max-width:1200px) {

    .bj-teammainlevel h6 {
        /* font-size: 16px;
        line-height: 26px; */
        margin-bottom: 5px;
    }

    .bj-multimediablock{
        margin-top: 30px;
    }

    /* .bj-multimediabox{
        width: 31.5%;
    } */

    .bj-multimediaboxblock{
        height: 220px;
    }

    .bj-multimediaboxlefttext h3 {
        font-size: 12px;
        line-height: 24px;
    }

    .bj-multimediaboxlefttext p{
        font-size: 10px;
        line-height: 14px;
    }
    
    .bj-multimediaboxtext{
        padding-top: 15px;
    }

    /* .bj-multimediaboxblock {
        height: 285px;
    } */

    .bj-multimediablock{
        justify-content: center;
    }

    .bj-multimediabox{
        width: 23%;
    }

    .back p{
        padding: 12px;
    }
    
}

@media screen and (max-width:990px) {

    .bj-teammainblock{
        padding-top: 80px;
        padding-bottom: 80px;
    }

    /* .bj-multimediabox{
        padding-right: 20px;
        padding-bottom: 30px;
    } */

    .bj-multimediaboxrightmedia{
        margin-right: 5px;
    }

    /* .bj-teammainlevel h6{
        font-size: 14px;
        line-height: 20px;
    } */

    /* .bj-multimediaboxblock {
        height: 250px;
    } */

    .bj-multimediablock{
        gap: 15px;
    }

    .bj-multimediabox{
        width: 32%;
    }
}

@media screen and (max-width:900px){
    .bj-multimediabox {
        height: 300px;
    }

    .back p{
        padding: 12px;
    }
}

@media screen and (max-width:820px) {

    .bj-multimediablock{
        justify-content: center;
    }

    /* .bj-multimediaboxblock {
        height: 190px;
    } */

    .bj-multimediabox:nth-child(2), .bj-multimediabox:nth-child(4), .bj-multimediabox:nth-child(6),.bj-multimediabox:nth-child(8){
        padding-right: 0;
    }

    /* .bj-multimediabox:nth-child(3), .bj-multimediabox:nth-child(5), .bj-multimediabox:nth-child(7){
        padding-right: 20px;
    } */

    .bj-multimediabox{
        width: 31%;
    }

}

@media screen and (max-width:768px) {
    .bj-multimediabox {
        height: 320px;
    }

    .back p {
        line-height: 14px;
        padding: 10px;
    }
}

@media screen and (max-width:680px) {
    .bj-multimediabox {
        width: 45%;
        height: auto;
    }
    
}

@media screen and (max-width:600px) {
    

    .bj-multimediabox {
        height: 300px;
    }
}

@media screen and (max-width:480px) {
    .bj-teammainblock{
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .bj-teammainlevel h4 {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 5px;
    }

    .bj-teammainlevel h2 {
        font-size: 20px;
        line-height: 30px;
    }

    .bj-multimediabox {
        height: 320px;
    }
}

@media screen and (max-width:420px) {
    .bj-teammainlevel h4 {
        font-size: 18px;
        line-height: 30px;
    }

    .bj-teammainlevel h2 {
        font-size: 18px;
        line-height: 28px;
    }

    .bj-multimediabox{
        width: 100%;
        padding-right: 0;
    }

    .back p{
        line-height: 18px;
    }

}

@media screen and (max-width:380px) {
    .bj-teammainlevel h4 {
        font-size: 16px;
        line-height: 26px;
    }

    .bj-teammainlevel h2 {
        font-size: 16px;
        line-height: 26px;
    }

    

    .bj-multimediaboxblock {
        height: 250px;
    }
    

}

@media screen and (max-width:350px) {

    .bj-teammainlevel h6 {
        font-size: 12px;
        line-height: 18px;
        /* margin-bottom: 8px; */
    }

    .bj-teammainlevel h4 {
        margin-bottom: 8px;
    }

    .bj-teammainlevel h2 {
        font-size: 14px;
        line-height: 24px;
    }
}