.why-us {
    padding-bottom: 9.875rem;
}

.why-us__container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.why-us__title {
    max-width: 660px;
}

.why-us__list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5.625rem;
}

.why-us__item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

.why-us__item::after {
    content: "";
    position: absolute;
    width: 27px;
    height: 27px;
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
    background: url("../img/star.svg") no-repeat center center / cover;
}

.why-us__item:nth-child(3)::after,
.why-us__item:nth-child(6)::after {
    display: none;
}

.why-us__item-text {
    color: #bdbdbd;
    font-family: "Segoe UI Symbol";
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 140%;
}

/* Media queries */
@media (max-width: 1440px) {
    .why-us {
        padding-bottom: 7.5rem;
    }

    .why-us__container {
        gap: 3rem;
    }

    .why-us__list {
        gap: 4rem;
    }

    .why-us__item-text {
        font-size: 1rem;
    }
}

@media (max-width: 1280px) {
    .why-us {
        padding-bottom: 6.25rem;
    }

    .why-us__container {
        gap: 2.5rem;
    }

    .why-us__list {
        gap: 3.25rem;
    }

    .why-us__item {
        gap: 1.25rem;
    }

    .why-us__item::after {
        width: 20px;
        height: 20px;
        right: -32px;
    }
}

@media (max-width: 1023.98px) {
    .why-us {
        padding-bottom: 6.25rem;
    }

    .why-us__container {
        gap: 3.125rem;
    }

    .why-us__title {
        max-width: 100%;
    }

    .why-us__list {
        grid-template-columns: 1fr;
        gap: 5.75rem;
    }

    .why-us__item {
        gap: 0.75rem;
    }

    .why-us__item::after {
        right: auto;
        left: 50%;
        transform: translate(-50%, 0);
        top: auto;
        bottom: -3.75rem;
    }
}

@media (max-width: 767.98px) {
    .why-us {
        padding-bottom: 6rem;
    }

    .why-us__container {
        gap: 1.5rem;
    }

    .why-us__item-text {
        font-size: 0.875rem;
        line-height: 1.5rem;
    }
}
