.teams {
    width: 100%;
    height: auto;
}

.teams .container {
    width: 100%;
    height: auto;
    margin-bottom: 100px;
    margin-top: 100px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}


.teams .heading-wrap {
    width: 100%;
    height: auto;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 70px;
}

.teams .heading-wrap .title {
    font-size: 48px;
    font-weight: bolder;
    color: var(--primary);
    margin: 0;
    text-align: center;
    line-height: 1.2;
    font-family: var(--font-semibold);
    margin-bottom: 20px;
}

.teams .heading-wrap .paragraph {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: #ebebeb;
    font-family: var(--font-light);
    text-align: center;
    margin-top: 15px;
    margin-bottom: 0;
}

.team-card-wrap {
    width: 100%;
    height: auto;
    margin-bottom: 100px;
}

.team-card-wrap:last-child {
    margin-bottom: 0;
}

.team-card-wrap .heading {
    font-size: 36px;
    font-weight: bolder;
    color: white;
    margin: 0;
    text-align: left;
    line-height: 1.2;
    font-family: var(--font-semibold);
    margin-bottom: 30px;
}

.team-card-list {
    display: grid;
    grid-gap: 40px;
    grid-template-columns: repeat(4, 1fr);
}

.team-card {
    width: 100%;
    height: auto;
    padding: 30px;
    border-bottom: 1px solid var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.team-card .media {
    width: 120px;
    height: 120px;
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: 15px;
}

.team-card .media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    user-select: none;
    appearance: none;
}

.team-card .content {
    width: fit-content;
    height: auto;
}

.team-card .content .name {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: rgb(207, 207, 207);
    font-family: var(--font-regular);
    text-align: center;
    margin-bottom: 5px;
}

.team-card .content .title {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: white;
    font-family: var(--font-regular);
    text-align: center;
    margin: 0;
}

.team-card .content .social-list {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    margin-top: 20px;
}

.team-card .social-list .icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--primary);
    margin-right: 10px;
    transition: all 0.2s ease;
}

.team-card .social-list .icon:hover {
    transform: translate3d(0, -4px, 0);
}

.team-card .social-list .icon:last-child {
    margin-right: 0;
}

.team-card .social-list .icon svg {
    color: white;
}


@media only screen and (max-width:600px) {
    .team-card-list {
        grid-template-columns: 1fr;
    }

    .teams .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .teams .heading-wrap .title {
        font-size: 40px;
    }

    .team-card .media {
        width: 100px;
        height: 100px;
    }

    .team-card .content .name {
        font-size: 17px;
    }

    .team-card .content .title {
        font-size: 17px;
    }

}

@media (min-width:481px) and (max-width:767px) {
    .team-card-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .teams .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .teams .heading-wrap .title {
        font-size: 40px;
    }

}

@media (min-width:768px) and (max-width:1024px) {
    .team-card-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .teams .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (min-width:768px) and (max-width:1024px) and (orientation:landscape) {
    .team-card-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .teams .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}