.our-services__wrapper {
    background: #202029;
    border-radius: 40px;
    padding: 80px;
}

.our-services__top {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    align-items: center;
    margin-bottom: 40px;
}

.our-services__heading {
    flex-basis: 550px;
    ]fle
}

.our-services__top:has(:not(.our-services__text)) .our-services__heading {
    flex-grow: 1;
}

.our-services__text {
    flex-basis: 600px;
    margin-bottom: 0;
}

.our-services__loop {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.our-services__item {
    flex-basis: calc((100% - 60px) / 4);
    border-radius: 24px 24px 42px 24px;
    border: 1px solid #999A9A;
    padding: 25px 25px 45px 25px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.our-services__item-bg {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(255, 90, 70, 0.5) 0%, rgba(255, 90, 70, 0.1) 100%);
    transition: all 0.3s ease;
}

.our-services__item:hover .our-services__item-bg {
    opacity: 1;
}

.our-services__item-text {
    margin-bottom: 0;
    color: #FFF;
    position: relative;
    z-index: 2;
}

.our-services__item-heading {
    color: #FFF;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.our-services__item-top {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.our-services__item-icon {
    width: 26px;
    height: 26px;
}

@media screen and (max-width: 1199.98px) {
    .our-services__item {
        flex-basis: calc((100% - 40px ) / 3);
    }

    .our-services__wrapper {
        padding: 60px;
    }
}

@media screen and (max-width: 1023.98px) {
    .our-services__item {
        flex-basis: calc((100% - 20px ) / 2);
        min-height: fit-content;
        padding: 20px;
        border-radius: 15px 15px 30px 15px;
    }

    .our-services__wrapper {
        padding: 40px;
        border-radius: 20px;
    }

    .our-services__item-icon {
        width: 36px;
        height: 36px;
    }

    .our-services__counter {
        font-size: 16px;
    }

    .our-services__item-heading {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 767.98px) {
    .our-services__wrapper {
        padding: 40px 25px;
    }

    .our-services__item,
    .our-services__heading,
    .our-services__text {
        flex-basis: 100%;
    }

    .our-services__top {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 25px;
        align-items: flex-start;
    }
}