.card {
    min-width: 300px;
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.photo {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border: 2px solid white;
    border-radius: 50%;
    margin: 0 auto 10px;
    transition: transform 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.photo img {
    width: 100%;
    height: auto;
}

.photo:hover {
    transform: scale(1.1);
}

h4,
h5,
p {
    margin: 5px 0;
}

/* Adjust the height as needed */
.card.fix-height {
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card.fix-height .photo {
    flex: 0 0 auto;
}

.card.fix-height .info {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
}