* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, sans-serif;
    background: #f6f6f6;
    padding: 0 24px 0px;
    color: #111;
}

.team {
    max-width: 1200px;
    margin: auto;
}

.team-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.tag {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #555;
    margin-bottom: 14px;
    position: relative;
}

.tag span {
    width: 14px;
    height: 14px;
    border-top: 3px solid #0d2456;
    border-left: 3px solid #0d2456;
    border-radius: 2px;
}

.team-title h2 {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -1px;
}

.team-desc {
    max-width: 520px;
    font-size: 18px;
    line-height: 1.7;
    color: #6b7280;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px;
}

.team-card {
    text-align: center;
    transition: .35s;
}

.team-card img {
    width: 100%;
    border-radius: 22px;
    filter: grayscale(100%);
    transition: .4s;
}

.team-card h4 {
    margin-top: 18px;
    font-size: 18px;
    font-weight: 600;
    color: #9ca3af;
    transition: .3s;
}

.team-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.04);
}

.team-card:hover h4 {
    color: #111;
}

.team-card:hover {
    transform: translateY(-6px);
}

@media (max-width:900px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-title h2 {
        font-size: 42px;
    }
}

@media (max-width:500px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-title h2 {
        font-size: 34px;
    }

    .team-header {
        flex-direction: column;
    }
}
