.member-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.member-card {
    width: 250px;
    height: 300px;
    padding: 0px;
    color: rgb(21, 63, 50);
    overflow: hidden;
    position: relative;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.member-img-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.member-card img {
    width: 100%;
    transition: all ease-in-out 0.2s;
}

.member-card:hover img {
    transform: scale(1.05);
}

.chevron-container {
    text-align: center;
    padding-top: 5px;
}

.contact-container {
    margin-top: 0px;
}

.card-contact {
    font-size: 12pt;
    text-decoration: none;
    margin: 10px;
    height: 50px;
    padding: 5px;
    border: 15px solid rgb(21, 63, 50);
    border-radius: 0px;
    background-color: rgb(21, 63, 50);
    box-shadow: 0px 0px 15px rgba(21, 63, 50, 0.5);
    color: white;
    box-sizing: border-box;
    transition: all ease-in-out 0.2s;
}

.card-contact:hover {
    padding: 15px;
    border: 5px solid rgb(21, 63, 50);
    background-color: white;
    box-shadow: 0px 0px 15px rgba(21, 63, 50, 0.9);
    color: rgb(21, 63, 50);
}

.members-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

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

.member-info {
    padding: 10px;
    text-align: center;
}

.contact-info {
    position: absolute;
    bottom: -50%; /* Hidden by default */
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    color: rgb(21, 63, 50);
    text-align: center;
    padding-bottom: 10px;
    transition: bottom 0.3s ease; /* Animation for sliding in */
}

.titula {
    font-size: 12pt;
    font-weight: 300;
}

.member-card:hover .contact-info {
    bottom: 0; /* Slide up when hovered */
}
