.tm-page-header-img-services img{
    object-fit: contain;
}
.services-card-wrap {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(3, 1fr);
}

.services-card-wrap_one {
    grid-template-columns: repeat(1, 1fr);
}

.services-card-wrap_two {
    grid-template-columns: repeat(2, 1fr);
}

.service-card,
.domain {
    box-shadow: 0px 0px 40px rgba(36, 74, 152, 0.2);
    border-radius: 20px;
    padding: 25px 25px 14px 25px;
    background: #fff;
    border: 3px solid transparent;
    transition: all 0.3s ease-out;
}

.service-card_link {
    padding-bottom: 40px;
    padding-right: 80px;
    position: relative;
}

.service-card_link>.tm-lvivity {
    position: absolute;
    right: 25px;
    bottom: 25px;
    width: 40px;
    height: 40px;
    box-shadow: 0px 0px 20px rgba(38, 50, 56, 0.1);
    border-radius: 50%;
    color: #12B2C6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    text-decoration: none;
    transition: all 0.3s ease-out;
}

.service-card_link:hover {
    border: 3px solid #12B2C6;
}

.service-card_link:hover>.tm-lvivity {
    background: #12B2C6;
    color: #fff;
    text-decoration: none;
}

.service-card_link:hover>.tm-lvivity::before {
    content: "\e902";
}

.numbered-list-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 90px;
    padding-top: 60px;
    counter-reset: num;
}

.numbered-list {
    position: relative;
}

.numbered-list ul {
    padding-left: 20px;
}

.numbered-list ul li::before {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #000;
    top: 12px;
    left: -16px;
}

.numbered-list ul li:not(:last-child) {
    margin-bottom: 16px;
}

.numbered-list::after {
    content: counter(num);
    counter-increment: num;
    position: absolute;
    z-index: 0;
    left: -90px;
    top: 30px;
    font-size: 288px;
    font-weight: 900;
    color: #12B2C6;
    opacity: 0.1;
}

.numbered-list__inner {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 25px 25px 14px 25px;
}

.numbered-list__inner_bg {
    box-shadow: 0px 0px 40px rgba(36, 74, 152, 0.2);
    border-radius: 20px;
    background: #fff;
}

.gallery-wrap {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: center;
    gap: 10px;
}

.accordion-wrapper_flex {
    display: flex;
    gap: 48px;
}

.accordion-list-wrapp {
    margin: 0 auto;
}

.bg-img {
    position: relative;
    width: fit-content;
    height: fit-content;
}

.bg-img img {
    z-index: 1;
    position: relative;
}

.bg-img::after {
    position: absolute;
    z-index: 0;
    left: 15px;
    top: 10px;
    background: #244A98;
    width: 100%;
    height: 100%;
    content: '';
}

.domain-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.steps-wrap {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    padding-top: 60px;
    margin-bottom: 150px;
    counter-reset: num;
    gap: 40px;
}

.step {
    position: relative;
}

.step::after {
    content: counter(num);
    counter-increment: num;
    position: absolute;
    z-index: 0;
    left: 0;
    top: 0;
    font-size: 200px;
    font-weight: 800;
    color: #12B2C6;
    opacity: 0.1;
}

.step::before {
    content: '';
    background: url('../images/arrow-left.svg') no-repeat;
    width: 165px;
    height: 24px;
    display: block;
    background-size: 52%;
    position: absolute;
    left: 128px;
}

.step:last-of-type::before {
    display: none;
}

.step__inner {
    position: relative;
    z-index: 2;
    bottom: -65px;
    left: -40px;
}

.timeline-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    counter-reset: num;
    gap: 15rem;
}

.timeline-left,
.timeline-right {
    display: flex;
    flex-direction: column;
    gap: 10rem;
}

.timeline {
    position: relative;
    z-index: 2;
}

.timeline__inner {
    position: relative;
}

.timeline__inner::before {
    content: '';
    display: block;
    width: 3px;
    height: 115px;
    background: #12B2C6;
    position: absolute;
    bottom: -135px;
}

.timeline-left>.timeline:last-of-type .timeline__inner::before,
.timeline-right>.timeline:last-of-type .timeline__inner::before {
    display: none;
}

.timeline__inner::after {
    content: counter(num);
    counter-increment: num;
    position: absolute;
    z-index: 0;
    left: -90px;
    top: 30px;
    font-size: 200px;
    font-weight: 800;
    color: #12B2C6;
    opacity: 0.1;

}

.list-image {
    display: flex;
    gap: 48px;
}

.list-image_order-1>.bg-img {
    order: 1;

}

.text-image-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.text-image-columns__inner img {
    border-radius: 20px;
    height: 600px;
    object-fit: cover;
    margin-bottom: 32px;
    width: 100%;
}

.technology-links {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 23px;
}

.services-wrap {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.services-wrap>.service-card_link {
    padding: 25px 25px 14px 25px;
}

.technology-links>.service-card {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
    height: 112px;

}

.technology-links>.service-card.service-card_link {
    padding: 32px;
}

.technology-links>.service-card img {
    max-width: 64px;
}

.media-block {
    padding: 90px 0;
    margin: 90px 0;
}

.media-block p>.alignnone {
    margin: 0;
}
.tm-boxed-columns_center > .tm-boxed-columns > .wp-block-columns{
    justify-content: center;
}
@media screen and (max-width: 1600px) {
    .steps-wrap {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 10rem;
        column-gap: 40px;
    }

    .step::before {
        background-size: 100%;
        left: 160px;
    }

    .technology-links,
    .services-wrap {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 1280px) {
    .services-card-wrap {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .numbered-list-wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-wrap {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }

    .text-image-columns {
        gap: 30px;
    }

    .domain-wrap {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .step::before {
        background-size: 75%;
        left: 140px;
    }

    .timeline-wrap {
        gap: 10rem;
    }
}

@media (max-width: 980px) {

    .services-card-wrap_two,
    .services-card-wrap,
    .numbered-list-wrap,
    .timeline-wrap,
    .text-image-columns {
        grid-template-columns: repeat(1, 1fr);
    }

    .domain-wrap {
        grid-template-columns: repeat(1, 1fr);
    }

    .step__inner {
        left: -10px;
    }

    .step::before {
        background-size: 60%;
    }

    .timeline-left>.timeline:last-of-type .timeline__inner::before {
        display: block;
    }


    .timeline__inner::before {
        height: 100px;
    }

    .text-image-columns__inner img {
        height: auto;
        margin-bottom: 10px;
    }

    .technology-links,
    .services-wrap {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .tm-page-header-img-services img {
        max-width: 300px;
    }

    .numbered-list::after {
        font-size: 165px;
        top: -30px;
        left: -30px;
    }

    .gallery-wrap {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .accordion-wrapper_flex,
    .list-image {
        flex-direction: column;
    }

    .bg-img {
        margin: 0 auto;
    }

    .list-image_order-1>.bg-img {
        order: 0;
    }

    .steps-wrap {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }

    .step::before {
        background-size: 100%;
        left: 75%;
    }

    .step:nth-child(2)::before,
    .step:nth-child(4)::before {
        display: none;
    }

    .technology-links,
    .services-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 695px) {
    .step::before {
        background-size: 80%;
    }
}

@media (max-width: 620px) {
    .steps-wrap {
        grid-template-columns: repeat(1, 1fr);
        justify-items: center;
        row-gap: 14rem;
    }

    .step:nth-child(2)::before,
    .step:nth-child(4)::before {
        display: block;
    }

    .step::before {
        transform: rotate(90deg);
        background-size: 48%;
        bottom: -11rem;
        left: -30px;
    }

    .step {
        max-width: 48%;
    }

    .step::after {
        font-size: 160px;
    }

    .step__inner {
        left: 0;
    }
}

@media (max-width: 500px) {
    .step {
        max-width: 55%;
    }

    .technology-links,
    .services-wrap {
        grid-template-columns: repeat(1, 1fr);
    }

    .media-block {
        padding: 60px 0;
    }
}

@media (max-width: 450px) {

    .timeline-left,
    .timeline-right,
    .timeline-wrap {
        gap: 8rem;
    }

    .timeline__inner::before {
        bottom: -115px;
    }
}

@media (max-width: 360px) {
    .step {
        max-width: 84%;
    }
}