.member-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid transparent;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1.5rem 3rem rgba(255, 193, 7, 0.3) !important;
    border-top-color: #ffc107;
}

.card-img-wrapper {
    position: relative;
    border-bottom: 2px solid rgba(255, 193, 7, 0.2);
}

.card-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, transparent, #ffc107, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-card:hover .card-img-wrapper::after {
    opacity: 1;
}

.member-card .card-body {
    transition: background-color 0.3s ease;
}

.member-card:hover .card-body {
    background-color: rgba(255, 193, 7, 0.05);
}

.member-card h5 {
    transition: color 0.3s ease;
}

.member-card:hover h5 {
    color: #ffd54f !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-img-wrapper {
        height: 280px !important;
    }
}