.tm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0px;
}

.tm-card {
    border: 0px solid #ddd;
    margin-top: 100px;
    padding: 0px 15px 20px 15px ;
    text-align: center;
    border-radius: 10px;
    background: #EFF2EC;
    border-radius: 20px;
}

.tm-image {
    width: 200px;
    height: 200px;
    border-radius: 100%;
    margin: 0 auto; 
    margin-top: -100px;
}


.tm-image img {
    width: 100%;
    height:  100%;
    border-radius: 100%;
    object-fit: cover;
}

button.tm-view-member
{
        font-size: 14px;
    font-weight: 500;
    border-radius: 50px 50px 50px 50px;
    padding: 8px 15px 8px 15px;
    color: #5E5E5E;
    border: 1px solid #5E5E5e !important
}


.tm-image-placeholder {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tm-image-placeholder::before {
    content: "";
    width: 64px;
    height: 64px;
    background: #ccc;
    border-radius: 50%;
    display: block;
}

.tm-name {
    margin: 16px 0 8px;
    font-size: 22px;
    font-weight: 700;
}

.tm-designation {
    margin: 0 0 16px;
    color: #0284C7;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

.tm-view-member {
    cursor: pointer;
}

.tm-profile-panel {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    text-align: left;
}

.tm-description {
    margin: 0 0 12px;
    color: #333;
    line-height: 1.6;
}

.tm-instagram-link {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
}

.tm-instagram-link:hover {
    text-decoration: underline;
}





@media (max-width:1200px) {
    .tm-name {
        font-size: 20px;
    }
}

@media (max-width:991px) {

    .tm-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

      .tm-name {
        font-size: 18px;
    }
    
}

@media (max-width:575px) {

    .tm-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
    
}




/* 
.tm-modal{
    position:fixed;
    inset:0;
    z-index:9999;
}

.tm-modal-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.7);
}

.tm-modal-content{
    position:relative;
    background:#fff;
    max-width:700px;
    margin:60px auto;
    padding:30px;
    z-index:2;
    max-height:80vh;
    overflow:auto;
}

.tm-modal-close{
    position:absolute;
    top:10px;
    right:15px;
    border:none;
    background:none;
    font-size:30px;
    cursor:pointer;
} */

body.tm-modal-open {
    overflow: hidden;
}

.tm-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .35s ease,
        visibility .35s ease;
}

.tm-modal.active {
    opacity: 1;
    visibility: visible;
}

.tm-modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, .65);

    backdrop-filter: blur(5px);

    opacity: 0;

    transition: opacity .35s ease;
}

.tm-modal.active .tm-modal-overlay {
    opacity: 1;
}

.tm-modal-content {
    position: relative;
    max-width: 800px;
    width: calc(100% - 20px);
    margin: 80px auto;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(80px) rotateX(-10deg) scale(.9);
    transform: translateY(0) rotateX(0) scale(1);
    opacity: 0;
    transition: transform .4s ease,
        opacity .4s ease;
}



.tm-modal.active .tm-modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.tm-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;

    background: none;
    border: none;

    font-size: 32px;
    cursor: pointer;
}

.tm-modal-content::-webkit-scrollbar
{
    width: 0;
    display: none;
}


div#tm-modal-body {
    display: flex;
    gap: 20px;
}

div#tm-modal-body img {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    border: 3px solid #0284C7;
}

.team-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.team-content .desgination {
    font-size: 14px !important;
    text-transform: uppercase;
    color: #0284C7 !important;
    margin-top: 0 ;
}

.team-content p {
    font-size: 16px !important;
    color: #3A3A3A;
}


.socials
{
    display: flex;
    align-items: center;
    gap: 10px;
}

.socials p {
    margin: 0;
}

.socials a {
    display: block;
}

button.tm-modal-close {
    position: absolute;
    top: -4px;
    right: -15px;
}


@media (max-width:767px) {
    div#tm-modal-body {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
div#tm-modal-body img {
    width: 150px;
    height: 150px;
    border-radius: 20px;
    border: 3px solid #0284C7;
}
.team-content h2 {
    font-size: 24px;
}
.team-content .desgination ,
.team-content p
{
    margin-bottom: 10px;
}

}