/* Departmental Members Styles */
.profile-img-wrap {
    width: 100%;
    max-width: 210px;
    height: 260px;
    aspect-ratio: 3 / 4;
    border-radius: 6px;
    overflow: hidden;
    display: block;
    position: relative;
    margin: 0 auto;
    border: 3px solid #6091ba;
    box-shadow: 0 4px 14px rgba(39, 67, 90, 0.16);
    background-color: #f4f7f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-img-wrap:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(39, 67, 90, 0.24);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.4s ease;
}

.profile-img-wrap:hover .profile-img {
    transform: scale(1.05);
}

.profile-zoom-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(39, 67, 90, 0.85);
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-img-wrap:hover .profile-zoom-badge {
    opacity: 1;
}

.team-member-box {
    background: #ffffff;
    border: 1px solid #e9f0f5;
    border-radius: 8px;
    padding: 1.5rem 1.25rem;
    height: 100%;
    transition: box-shadow 0.3s ease;
}

.team-member-box:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

@media (max-width: 575px) {
    .thumb {
        text-align: center;
        margin-bottom: 1.2rem;
    }
    .profile-img-wrap {
        max-width: 200px;
        height: 250px;
    }
}
