.services {
    position: relative;
    padding: 51px 0 80px;
}
.services .bg-wrp img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
    object-position: center;
}
.services .heading-wrp {
    text-align: center;
    margin-bottom: 59px;
}
.services .heading-wrp h4 {
    color: var(--yellow);
    line-height: 60px;
    margin-bottom: 0;
}
.services .heading-wrp h2 {
    color: var(--white2);
    margin-bottom: 0;
}
.services .services-wrp {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}
.services .services-wrp .services-in {
    width: calc((100% - (16px * 3))/4);
    background-color: var(--white2);
    border-radius: 8.41px;
    padding: 20px 15px 14px;
    transition: all 0.3s linear;
    display: flex;
    flex-direction: column;
}
.services .services-wrp .services-in .image-wrp {
    margin-bottom: 14px;
    border-radius: 8.41px;
    overflow: hidden;
}
.services .services-wrp .services-in .image-wrp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.services .services-wrp .services-in h4 {
    font-weight: 400;
    margin: 0;
}
.services .services-wrp .services-in p , .services .services-wrp .services-in li {
    margin: 0;
    font-size: 9.81px;
    line-height: 21.02px;
    color: var(--blue);
}
.services .services-wrp .services-in ul{
    list-style: none;
    padding: 0;
    margin: 10px 0 15.5px;
}
.services .services-wrp .services-in li{
    position: relative;
    padding-left: 24px;
}
.services .services-wrp .services-in li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 16px;
    height: 16px;
    background: url('../../../library/images/tick-right.svg') no-repeat;
    background-size: contain;
    transform: translateY(-50%);
}
.services .services-wrp .services-in .border-btn {
    border: 1px solid var(--red);
    border-radius: 60px;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    color: var(--blue);
    padding: 11px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s linear;
    background-color: var(--white2);
    margin-top: auto;
}
.services .services-wrp .services-in:hover{
    background-color: var(--yellow);
}
.services .services-wrp .services-in:hover .border-btn{
    background-color: var(--red);
    color: var(--yellow);
}
.services .services-wrp .services-in:hover li::before{
    filter: brightness(0) saturate(100%) invert(10%) sepia(18%) saturate(2125%) hue-rotate(154deg) brightness(94%) contrast(97%);
}

@media (max-width: 992px) {
    .services .services-wrp .services-in {
        width: calc((100% - (16px * 1))/2);
    }
    .services .heading-wrp {
        margin-bottom: 35px;
    }
}

@media (max-width: 767px) {
    .services {
        padding: 50px 0;
    }
    .services .heading-wrp {
        margin-bottom: 29px;
    }
    .services .services-wrp {
        gap: 40px;
    }
    .services .services-wrp .services-in {
        width: 100%;
        padding: 20px 15px 22px;
    }   
    .services .services-wrp .services-in .image-wrp {
        margin-bottom: 15px;
    } 
    .services .services-wrp .services-in h4 {
        margin-bottom: 5px;
    }
    .services .services-wrp .services-in ul {
        margin: 20px 0;
    }

}