.mHeading{
    text-align: center;
    font-size: 50px;
    font-weight: 700;
    position: relative;
    color: #AD2663;
}
.mHeading::before{
    content: "";
    left: 45%;
    bottom: -20px;
    height: 4px;
    width: 150px;
    background-color: #6C78D2;
    position: absolute;
    margin-bottom:20px ;
}
.mContainer{
    display: flex;
    justify-content: center;
    align-items: center;
}
.mCard{
    margin: 30px;
    position: relative;
    min-width: 350px;
    height: 450px;
    overflow: hidden;
}
.decorateImg{
    opacity: 0.3;
}
.mMainCard{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 250px;
    height: 300px;
}
.profileImg{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mInfo{
    position: absolute;
    inset: 0;
    background-color: #282828;
    color: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    opacity: 0;
}
.mMainCard:hover .mInfo{
    opacity: 1;
}
.mInfo h2{
    font-size: 16px;
    margin: 30px 0 20px 0;
    transform: translateY(50px);
}
.mInfo h3{
    margin-bottom: 30px;
    transform: translateY(70px);
}
.Msocial{
    cursor: pointer;
    transform: translateY(90px);
}
.Msocial i{
    padding: 5px;
    font-size: 25px;
}
.card-body{
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}
.card-body h2{
    font-size: 13px;
    color: #282828;
}
.card-body p{
    font-size: 18px;
    color: #282828;
}

@media screen and (max-width :1050px) {
    .mContainer{
        flex-wrap: wrap;
        margin: 10px 40px;
    }
}
@media screen and (max-width :800px) {
    .mHeading::before{
        left: 40%;
    }
    .mCard{
        margin: 10px;
        position: relative;
        min-width: 300px;
        height: 350px;
        overflow: hidden;
    }
    .mMainCard{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: 250px;
        height: 250px;
    }
    .card-body{
        position: absolute;
        bottom: 0px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }
    .card-body h2{
        font-size: 10px;
        color: #282828;
    }
    .card-body p{
        font-size: 18px;
        color: #282828;
    }
}
@media screen and (max-width :500px) {
    .mHeading::before{
        left: 25%;
    }
}