.services {
    padding: 240px 0 108px;
    background-image: url('/wp-content/uploads/2025/09/solutions-bg.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    margin-top: -180px;
    z-index: 2;
}
.services::before {
    content: "";
    position: absolute;
    top: -60%;
    left: 0;
    width: 248px;
    height: 1235px;
    background-image: url('/wp-content/uploads/2025/09/polygon-left.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: -1;
}
.services::after {
    content: "";
    position: absolute;
    top: -26%;
    right: 0;
    width: 615px;
    height: 1368px;
    background-image: url('/wp-content/uploads/2025/09/polygon-right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: 2;
}
.services .b2-inner-content {
    position: relative;
    z-index: 3;
}
.services h2 {
    margin-bottom: 70px;
}
.services-slide-wrap {
    position: relative;
    padding: 0 7%;
    margin-bottom: 50px;
    z-index: 3;
}
.service-item {
    display: block;
    background-color: #fff;
    box-shadow: 0 4px 8px 0 #CBD7E2;
    margin: 0 15px;
}
.service-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: bottom;
}
.service-item-txt {
    padding: 30px;
    min-height: 240px;
    border-bottom: 1px solid var(--secondary-color);
}
.service-item-txt h3 {
    margin: 0;
    transition: all .2s ease-in-out;
}
.service-item:hover .service-item-txt h3 {
    color: var(--secondary-color);
}
.service-item-txt p {
    color: #50535A
}
.services-slide-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    pointer-events: none;
}
.services-slide-arrows div {
    position: relative;
    width: 62px;
    height: 62px;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: all .2s ease-in-out;
    pointer-events: auto;
}
.services-slide-arrows div:hover {
    background-color: var(--primary-color);
}
.services-slide-arrows div.prev img {
    position: absolute;
    top: 45%;
    transform: translate(-40%, -40%);
    left: 40%;
}
.services-slide-arrows div.next img {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -55%);
    left: 55%;
}
.services.var2 {
    padding: 100px 0 0;
    background-image: none;
    background-color: #e6f0f1;
    margin-top: 0;
    z-index: initial;
}
.services.var2::before,
.services.var2::after {
    display: none;
}
.services.var2 h2 {
    margin-bottom: 30px;
}
.services.var2 h2 + p {
    max-width: 840px;
    margin: 0 auto 50px;
}
.services.var2 .b2-row {
    justify-content: center;
}
.service-item-var2 {
    display: block;
    padding: 50px 30px;
    background: #fff;
    box-shadow: 0 4px 8px 0 #CBD7E2;
    border-bottom: 1px solid var(--secondary-color);
    margin-bottom: 30px;
}
.service-item-var2 p {
    color: #50535A;
    margin-bottom: 40px;
}
.service-item-var2 span {
    position: relative;
    font-weight: 600;
    color: var(--secondary-color);
    transition: all .2s ease-in-out;
}
.service-item-var2 span::after {
    content: "";
    position: absolute;
    top: 0;
    right: -11px;
    width: 8px;
    height: 8px;
    background-image: url('/wp-content/uploads/2025/09/text-link-arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    transition: all .2s ease-in-out;
}
.service-item-var2:hover span::after {
    width: 11px;
    height: 11px;
    right: -14px;
}
.services.var3 {
    padding: 8px 0 100px;
    background-image: none;
    background-color: #e6f0f1;
    margin-top: 0;
    z-index: initial;
}
.services.var3::before {
    display: none;
}
.services.var3::after {
    top: auto;
    right: -8%;
    bottom: 1%;
    width: 1130px;
    height: 1130px;
    background-image: url('/wp-content/uploads/2025/09/polygon-right-5.svg');
}

@media only screen and (min-width: 2000px) {
    .home .services {
        margin-top: -208px;
    }
}

@media only screen and (max-width: 1800px) {
    .services::before {
        left: -6%;
    }
}

@media only screen and (max-width: 1500px) {
    .services::after {
        top: -33%;
    }
}

@media only screen and (max-width: 1400px) {
    .services::after {
        top: -37%;
    }
}

@media only screen and (max-width: 1280px) {
    .services::after {
        top: -35%;
    }
    .services {
        padding: 80px 0;
        background-image: none;
        background-color: #e6f0f1;
        margin-top: 0;
    }
    .services::before {
        display: none;
    }
    .services::after {
        top: auto;
        bottom: -58%;
        opacity: .3;
        z-index: 0;
    }
    .services h2 {
        margin-bottom: 30px;
    }
    .services.var2 .b2-row .b2-col {
        width: 33.33%;
    }
    .services.var3 {
        padding-bottom: 80px;
    }
}

@media only screen and (max-width: 1024px) {
    .mobile-services-slide-arrows {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .mobile-services-slide-arrows div {
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #fff;
        border-radius: 50%;
        margin: 0 8px;
    }
}

@media only screen and (max-width: 768px) {
    .services.var2 .b2-row .b2-col {
        width: 50%;
    }
    .services-slide-wrap {
        padding: 0;
    }
    .services-slide-arrows {
        position: relative;
        top: 0;
        transform: none;
        max-width: 140px;
        margin: 30px auto 0;
    }
}

@media only screen and (max-width: 767px) {
    .services::after {
        bottom: -50%;
    }
    .services.var2 .b2-row .b2-col {
        width: 100%;
    }
}