.hvac-ser {
    padding-top: 56.01px;
    margin-bottom: 82px;
    position: relative;
    overflow: hidden;
}

.hvac-ser h2 {
    color: var(--white);
    padding-bottom: 150px;
    padding-top: 40px;
}

.hvac-ser h2,
.ser-list,
.ser-cta-list,
.single-ser a {
    z-index: 2;
    position: relative;
}

.ser-wrap {
    padding: 41.86px 0 114.04px 0;
    position: relative;
    margin-bottom: 10px;
}

.ser-wrap::before,
.ser-wrap::after,
.hvac-ser::before,
.hvac-ser::after,
.single-ser::before {
    content: '';
    position: absolute;
    width: 94%;
    height: 100%;
    left: 38px;
    top: 0;
}

.ser-wrap::before {
    background: url('../../../library/images/ser-before-bg.svg') center / contain no-repeat;
    z-index: 0;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25), 0 4px 4px 0 rgba(0, 0, 0, 0.25) inset;
    border-radius: 50px;
}

.ser-wrap::after {
    border-radius: 50px;
    border: 1px solid var(--white);
    background: var(--blue);
    z-index: -1;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25), 0 4px 4px 0 rgba(0, 0, 0, 0.25) inset;
}

.ser-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.single-ser {
    border-radius: 15px;
    border: 4px solid #AFAFAF;
    background: var(--white);
    position: relative;
}

.single-ser,
.single-ser::before,
.single-ser p,
.single-ser h3,
.single-ser .divider {
    transition: all .3s ease-in-out;
}

.single-ser::before {
    width: 100%;
    height: 100%;
    opacity: 0;
    left: 0;
    border-radius: 15px;
    background: var(--red);
}

.single-ser:hover {
    border: 4.244px solid var(--white);
    box-shadow: 1.013px 1.013px 4.05px 6.076px rgba(86, 86, 86, 0.44);
    transform: scale(1.03);
}

.single-ser:hover::before {
    opacity: 1;
}

.single-ser .icon {
    width: 248.41px;
    height: 248.41px;
    text-align: center;
    background: url('../../../library/images/ser-icon-bg.svg') center / cover no-repeat;
    margin: -124px auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-ser h3 {
    font-size: 32px;
    line-height: 32px;
    letter-spacing: -1.28px;
    margin: 0;
    padding: 35.16px 5px 24px 5px;
    color: var(--blue);
}

.single-ser p {
    margin: 0;
    color: var(--black);
    padding: 18.65px 20px 28px 20px;
    font-size: 16px;
    line-height: 21px;
}

.single-ser .divider {
    width: 217.683px;
    height: 1px;
    background: var(--black2);
    margin: 0 auto;
}

.ser-cta-list {
    padding-top: 72.47px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.single-ser:hover p,
.single-ser:hover h3 {
    color: var(--white);
}

.single-ser:hover .divider {
    background: var(--white);
}

.hvac-ser .btn-blue,
.hvac-ser .btn-red {
    min-width: 336.496px;
    padding: 15px 26px 15px 26px;
    border: 2.5px solid var(--white);
    box-shadow: 1.291px 2.581px 5.162px 0 rgba(0, 0, 0, 0.31);
}

@media only screen and (max-width : 1200px) {
    .single-ser .icon {
        width: 200px;
        height: 200px;
    }

    .single-ser .icon img {
        max-width: 130px;
    }

    .ser-wrap::before {
        background-position: top;
    }

    .single-ser h3 {
        font-size: 28px;
        padding: 22.16px 5px 20px 5px;
    }

    .single-ser .divider {
        width: 138px;
    }
}

@media only screen and (max-width : 992px) {

    .ser-wrap::after,
    .ser-wrap::before {
        width: 90%;
        left: 5%;
    }

    .ser-cta-list {
        flex-direction: column;
        margin-top: -70px;
        padding-top: 0;
        align-items: center;
        gap: 18px;
    }


    .hvac-ser .btn-blue,
    .hvac-ser .btn-red {
        padding: 12px 26px 13px 26px;
        min-width: 275px;
    }

    .ser-wrap::after {
        background: var(--black);
    }

    .ser-wrap {
        padding: 140px 0 187px 0;
    }

    .ser-list {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 25px;
    }

    .ser-wrap::before {
        background: url('../../../library/images/ser-before-bg-mobo.svg') center / contain no-repeat;
    }

    .single-ser::before {
        opacity: 1;
        border-radius: 9px;
    }

    .single-ser {
        margin: 0 auto 130px auto;
        box-shadow: 1.013px 1.013px 4.05px 6.076px rgba(86, 86, 86, 0.44);
        border: 4.244px solid var(--white);
        border-radius: 15.916px;
    }

    .hvac-ser h2 {
        max-width: 325px;
        margin: 0 auto;
        padding-top: 0;
        padding-bottom: 170px;
    }

    .single-ser h3 {
        font-size: 32px;
        line-height: 32px;
        padding: 24.16px 5px 23px 5px;
        letter-spacing: -1.28px;
    }

    .single-ser h3,
    .single-ser p {
        color: var(--white);
    }

    .single-ser p {
        padding: 18.65px 50px 33px 50px;
    }

    .hvac-ser .btn-blue {
        background: transparent;
    }

    .single-ser .divider {
        background: var(--white);
        width: 220.429px;
    }

}

@media(max-width:425px) {

    .hvac-ser .btn-blue,
    .hvac-ser .btn-red {
        min-width: 300px;
    }
}