/* ── Our Teams ── */
.teams-section {
    padding: 70px 20px;
    background-color: #ffffff;
}

.teams-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 40px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.team-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 260px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.team-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 12px;
    transition: background 0.3s ease;
}

.team-card:hover .team-card-overlay {
    background: rgba(0, 0, 0, 0.68);
}

.team-icon {
    width: 60px;
    height: 60px;
    border: 2px solid #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    flex-shrink: 0;
}

.team-icon svg {
    width: 100%;
    height: 100%;
}

.team-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin: 0;
    font-family: Georgia, 'Times New Roman', Times, serif;
    line-height: 1.35;
}

.team-btn {
    display: inline-block;
    background-color: #ffffff;
    color: #1e88e5;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 20px;
    border-radius: 4px;
    border: none;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.team-btn:hover {
    background-color: #1e88e5;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Teams – Mobile */
@media (max-width: 768px) {
    .teams-section {
        padding: 40px 16px;
    }

    .teams-title {
        font-size: 1.5rem;
    }

    .team-card {
        height: 220px;
    }
}
