.our-services {
    padding: 20px 0 200px;
    text-align: center;
    /* background: linear-gradient(180.12deg, #F2F2F2 -11.84%, #E3EDF5 18.36%, #B8D3E9 61.66%, #81B1D9 115.86%, #136EBA 70.04%); */
    position: relative;
}

.home .our-services {
    background: linear-gradient(180deg, #136EBA 13.02%, #136EBA 26.53%, #4A8FC8 35.85%, #C3D6E6 83.96%, #F2F2F2 100.71%);
}

.our-services+.service-areas {
    /* background: linear-gradient(0.12deg, #F2F2F2 -11.84%, #E3EDF5 18.36%, #B8D3E9 61.66%, #81B1D9 115.86%, #136EBA 70.04%); */
}

.our-services .cnt-wrp {
    text-align: center;
    max-width: 1040px;
    margin: 0 auto 40px;
}

.our-services .cnt-wrp h2 {
    font-weight: 400;
    color: var(--primary-red);
    margin: 0 0 20px;
    -webkit-text-stroke: 1px #E4E5E5;
}

.home .our-services .cnt-wrp p {
    color: var(--Color_grey);
}

.our-services .services-wrp {
    display: flex;
    flex-wrap: wrap;
    gap: 60px 10px;
    justify-content: center;
    align-items: start;
    margin-bottom: 30px;
}

.our-services .services-wrp .service {
    width: calc((100% - 20px) / 3);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 0;
    flex-direction: column;
}

.our-services .services-wrp .service a {
    width: 100%;
    aspect-ratio: 310 / 256;
    padding: 0 14% 0 18%;
    background-image: url('/wp-content/themes/lmh-custom/library/images/service-bg-cloud.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    color: var(--primary-blue);
    font-family: 'CCSmash';
    font-weight: 400;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    position: relative;
    z-index: 1;
}

.our-services .services-wrp .service a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: var(--hover-bg, url('/wp-content/themes/lmh-custom/library/images/service-bg-cloud-hover.svg'));
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.our-services .services-wrp .service a:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.our-services .services-wrp .service a:hover {
    background-image: none;
    color: var(--primary-white);
}

.our-services .services-wrp .service a:hover .service-icon {
    background: var(--primary-white);
    color: var(--primary-blue);
}

.our-services .services-wrp .service .service-icon {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-blue, #136EBA);
    color: var(--primary-white, #ffffff);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.our-services .services-wrp .service .service-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.our-services .services-wrp .service .service-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1;
}

.our-services .services-wrp .service .service-title {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.our-services .services-wrp .service .service-subtitle {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    opacity: 0.85;
}

.our-services .services-wrp .service > img {
    max-width: 234px;
    margin-top: -80px;
    margin-left: -90px;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    position: relative;
    z-index: 1;
}

.our-services .services-wrp .service a:hover + img {
    opacity: 1;
}

.our-services::before {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 115%;
    height: 100%;
    background-image: url(../../../library/images/faq-bg.svg);
    background-size: 100%;
    background-position: center bottom;
    background-repeat: no-repeat;
    pointer-events: none;
}

.home .our-services::before {
    background-image: url('/wp-content/uploads/2026/01/Mask-group.svg');
}
@media screen and (min-width:1600px) {
    .our-services {
        padding: 20px 0 230px;
    }
}
@media screen and (max-width:1199px) {
    .our-services .services-wrp {
        gap: 40px 8px;
    }

    .our-services .services-wrp .service {
        width: calc((100% - 16px) / 3);
        padding: 0;
    }

    .our-services .services-wrp .service a {
        padding: 0 10% 0 16%;
        gap: 12px;
    }

    .our-services .services-wrp .service .service-icon {
        width: 52px;
        height: 52px;
    }

    .our-services .services-wrp .service .service-icon svg {
        width: 26px;
        height: 26px;
    }

    .our-services .services-wrp .service .service-title {
        font-size: 20px;
    }

    .our-services .services-wrp .service > img {
        max-width: 180px;
        margin-top: -70px;
        margin-left: -80px;
    }

    .our-services {
        padding: 20px 0 140px;
    }
}

@media screen and (max-width:991px) {
    .our-services .services-wrp .service {
        width: calc((100% - 30px) / 2);
    }

    .our-services {
        padding: 20px 0 120px;
    }
}


@media screen and (max-width:767px) {
    .our-services {
        padding: 20px 0 100px;
    }

    .our-services::before {
        bottom: 0;
    }

    .our-services .services-wrp {
        gap: 70px 0;
    }

    .our-services .services-wrp .service {
        width: 100%;
        padding: 0 30px;
    }

    .our-services .services-wrp .service a {
        padding: 0 14%;
        gap: 14px;
    }

    .our-services .services-wrp .service .service-icon {
        width: 48px;
        height: 48px;
    }

    .our-services .services-wrp .service .service-icon svg {
        width: 24px;
        height: 24px;
    }

    .our-services .services-wrp .service .service-title {
        font-size: 22px;
    }

    .our-services .services-wrp .service > img {
        max-width: 234px;
        margin-top: -60px;
        margin-left: -80px;
        transform: scale(0.9);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease, transform 0.3s ease;
    }

    .our-services .services-wrp .service a:hover + img {
        opacity: 1;
        transform: scale(1);
        max-height: 400px;
    }

    .our-services .services-wrp {
        margin-bottom: 50px;
    }

    .our-services .cnt-wrp h2 {
        margin: 0 0 30px;
    }

    .our-services .cnt-wrp {
        margin: 0 auto 32px;
    }
}

@media screen and (max-width:480px) {
    .our-services {
        padding: 20px 0 70px;
    }
}