.team-item {
    cursor: pointer;
    transition: transform 0.3s;
}

.team-item:hover {
    transform: scale(1.05);
}

.team-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: #e60000;
    opacity: 0;
    transition: opacity 0.3s;
    background-color: rgba(255, 255, 255, 0.2);
}

.position-relative:hover .team-overlay {
    opacity: 1;
}

h1.display-3 {
    margin-top: 20px;
    margin-bottom: 20px;
}

.bg-light h5 {
    font-size: 1.1rem;
}

.bg-light small {
    font-size: 0.85rem;
}