.team-section {
    padding: 80px 0;
}
.team-section .team-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    height: 420px;
    background: #eaeaea;
}
.team-section .team-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.team-section .team-overlay {
    position: absolute;
    inset: 0;
    background: rgba(210, 176, 96, 0.92);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}
.team-section .team-card:hover .team-overlay {  
    opacity: 1;
}
.team-section .team-overlay h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}
.team-section .team-overlay p {
    font-size: 14px;
    margin-bottom: 6px;
}

.team-position{
     color: #fff;
     margin-bottom: 12px !important;
}
.team-section .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
}

.team-section .team-overlay a {
    color: rgb(255, 255, 255);
    text-decoration: none;
}

.team-section .team-overlay p,
.team-section .team-overlay p a
{
    color: #fff !important;
    text-decoration: none !important;
}

@media (max-width: 991px) {
    .team-section .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .team-section .team-grid {
        grid-template-columns: 1fr;
    }
}