/* ================= OUR TEAM ================= */


.team-section{
    background: var(--white);
    padding: 90px 0;
}

/* header */
.team-header{
    margin-bottom: 55px;
}

.team-kicker{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-text);
}

.team-kicker .line{
    width: 50px;
    height: 2px;
    background: var(--accent);
}

.team-title{
    margin-top: 12px;
    font-size: 52px;
    font-weight: 900;
    line-height: 1.05;
    color: var(--dark-text);
}

.team-title span{
    color: var(--primary);
}

/* grid */
.team-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

/* card */
.team-card{
    background: var(--white);
    border: 1px solid rgba(0,0,0,.08);
}

/* image */
.team-img{
    width: 100%;
    height: 340px;
    overflow: hidden;
}

.team-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform .45s ease;
}


.team-card:hover .team-img img{
    transform: scale(1.08);
}


/* info */
.team-info{
    padding: 18px 16px 22px;
    text-align: center;
}

.team-role{
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    margin-bottom: 10px;
}

.team-info h3{
    margin: 0;
    font-size: 18px;
    font-weight: 900;
    color: var(--dark-text);
}


/* responsive */
@media (max-width: 1000px){
    .team-grid{
        grid-template-columns: repeat(2, 1fr);
    }

    .team-title{
        font-size: 44px;
    }
}

@media (max-width: 520px){
    .team-grid{
        grid-template-columns: 1fr;
    }

    .team-img{
        height: 300px;
    }

    .team-title{
        font-size: 36px;
    }
}
