.custom-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 600px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.custom-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.card-image:hover {
    transform: scale(1.1);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    flex: 1;
    min-width: 200px;
}

.member-name {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.designation {
    color: #00B2FF;
    font-weight: 700;
    margin: 5px 0;
}

.workplace {
    font-style: italic;
    color: #444;
    margin-bottom: 10px;
}

.contact {
    margin: 2px 0;
    color: #555;
}

@media (max-width: 576px) {
    .custom-card {
        flex-direction: column;
        text-align: center;
    }

    .card-image {
        margin-bottom: 1rem;
    }
}