﻿.profile-card {
    padding: 15px;
    transition: 0.3s;
    /* background-color:#fff3cd*/
    background-color: #ffdbcc
}

.profile-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* NAME */
.profile-card h6 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
}

/* DESIGNATION */
.profile-card p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

/* HOVER EFFECT */
.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

/*---------------------------*/
/* ROW FIX */
.cards .row {
    display: flex;
    flex-wrap: wrap;
}

/* COLUMN FIX */
.cards .col-md-2 {
    display: flex;
}

/* CARD SAME HEIGHT */
.profile-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%; /* 👈 important */
    padding: 15px;
}

    /* IMAGE FIX */
    /*.profile-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}*/

    /* NAME */
    /*.profile-card h6 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}*/

    /* DESIGNATION FIX (equal space) */
    /*.profile-card p {
    font-size: 12px;
    color: #666;
    margin: 0;
    flex-grow: 1;*/ /* 👈 fills space */
    /*}*/
    .profile-card h6 {
        min-height: 35px;
    }

    .profile-card p {
        min-height: 60px;
    }

.profile-img {
    aspect-ratio: 1/1;
    object-fit: cover;
}
