.team {
    font-family: 'Ubuntu', Arial, sans-serif;
    color: #fff;
}

.team .team__heading {
    display: block;
    width: 100%;
    font-weight: 500;
    font-size: 36px;
    line-height: 1.55;
    text-align: center;
    margin-bottom: 45px;
}

.team .team__container {
    display: flex;
    flex-wrap: wrap;
    gap: 48px 24px;
    padding: 0 23px;
}

.team .team__employee {
    width: calc(50% - 12px);
}

.team .team__image-box {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1/1;
    margin-bottom: 10px;
}

.team .team__image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.25s linear;
    filter: grayscale(1);
}

.team .team__name {
    width: 75%;
    font-weight: 500;
    font-size: 21px;
    line-height: 1.4;
    margin-bottom: 12px;
}

.team .team__position {
    font-size: 15px;
    line-height: 1.4;
}

.cases .cases__container {
    display: flex;
    flex-wrap: wrap;
    gap: 46px 0;
    padding: 0 23px;
}

.cases .cases__item {
    display: block;
    width: 100%;
    color: #fff !important;
}

.cases .cases__item strong {
    display: block;
    font-size: 21px;
    line-height: 30px;
    margin-bottom: 11px;
}

.cases .cases__item span {
    display: block;
    font-size: 14px;
    line-height: 22px;
}

.cases .cases__image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 15px;
    transition: transform 0.25s linear;
}

@media (min-width: 768px) {
    .team .team__heading {
        font-size: 43px;
    }

    .cases .cases__item {
        width: calc(50% - 12px);
    }

    .cases .cases__container {
        gap: 26px 24px;
    }

    .cases .cases__item span {
        font-size: 17px;
    }
}

@media (min-width: 1024px) {
    .team .team__heading {
        font-size: 38px;
    }

    .cases .cases__item {
        width: calc(25% - 15px);
    }

    .cases .cases__container {
        gap: 40px 20px;
    }

    .cases .cases__item strong {
        font-size: 19px;
        line-height: 25px;
    }

    .cases .cases__item span {
        font-size: 15px;
    }
}

@media (min-width: 1280px) {
    .team .team__container {
        gap: 60px 45px;
    }

    .team .team__employee {
        width: calc(25% - 34px);
    }

    .team .team__heading {
        margin-bottom: 65px;
    }

    .team .team__name {
        width: 100%;
        font-size: 19px;
        margin-bottom: 4px;
    }

    .team .team__image-box {
        margin-bottom: 18px;
    }

    .team .team__image-box:hover img {
        filter: grayscale(0);
    }

    .cases .cases__item {
        width: calc(33.33% - 15px);
    }

    .cases .cases__image:hover {
        transform: scale(1.02);
    }
}

@media (min-width: 1440px) {
    .team .team__heading {
        font-size: 43px;
    }

    .team .team__name {
        font-size: 22px;
    }

    .team .team__position {
        font-size: 17px;
    }

    .cases .cases__container {
        gap: 50px 20px;
    }

    .cases .cases__item strong {
        font-size: 22px;
        line-height: 28px;
    }

    .cases .cases__item span {
        font-size: 17px;
        line-height: 24px;
    }
}

@media (min-width: 1880px) {
    .team .team__heading {
        font-size: 56px;
        margin-bottom: 95px;
    }

    .team .team__container {
        padding: 0 32px;
        gap: 92px 64px;
    }

    .team .team__employee {
        width: calc(25% - 48px);
    }

    .team .team__image-box {
        margin-bottom: 28px;
    }

    .team .team__name {
        font-size: 28px;
    }

    .team .team__position {
        font-size: 22px;
    }

    .cases .cases__container {
        padding: 0 32px;
        gap: 63px 30px;
    }

    .cases .cases__item {
        width: calc(33.33% - 20px);
        gap: 50px 30px;
    }

    .cases .cases__image {
        margin-bottom: 23px;
    }

    .cases .cases__item strong {
        font-size: 28px;
        line-height: 35px;
    }

    .cases .cases__item span {
        font-size: 22px;
        line-height: 1.5;
    }
}

.pt-10 {
    padding-top: 10px;
}

.t-popup .form-accept-checkbox.form-accept-checkbox--error + .t-checkbox__indicator {
    border-color: red !important;
}

.t-popup .form-input-error {
    border: 1px solid red;
}

.t-popup form a {
    color: rgb(0, 212, 123);
}
