
.faculty-card {
    position: relative;
    width: 200px; /* Ajusta el tamaño según tu diseño */
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.faculty-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    color: white;
    text-align: center;
}

.faculty-card:hover .faculty-overlay {
    opacity: 1;
}

.faculty-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-group a {
    color: white;
    font-size: 1.5rem;
    margin: 0 5px;
    text-decoration: none;
    transition: transform 0.2s ease-in-out;
}

.btn-group a:hover {
    transform: scale(1.2);
}
