/* :root {
    --font-nunito: "Nunito", sans-serif;
    --font-numans: "Numans", sans-serif;
    --font-montserrat: "Montserrat", sans-serif;
    --text-body: #333;
    --primary-color: #831B24;
    --white: #fff;
    --light-gray: #F8F8F8;
    --light-yellow: rgba(227, 196, 131, 0.20);
    --black-alternate: #1C1C1C;
    --black: #000;
    --transition: all 400ms ease-in-out;
} */

.our-services-sec{
    position: relative;
    /* overflow: hidden; */
}
.our-services-sec .container{
    max-width: 1350px;
}
.our-services-sec .section_header:not(:last-child){
    margin-bottom: 50px;
}
.our-services-sec .section_header{
    text-align: center;
    max-width: 582px;
    margin-left: auto;
    margin-right: auto;
}
.our-services-sec .section_header .heading_label{
    margin-left: auto;
    margin-right: auto;
}

.services_boxes_wrap{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: -25px;
    margin-left: -6px;
    margin-right: -6px;
    justify-content: center;
}
.services_boxes_wrap .services_items{
    max-width: calc(25% - 12px);
    margin: 0px 6px 25px;
}
.services_boxes_wrap .services_items a{
    justify-content: space-between;
    border-radius: 15px;
    padding: 24px 0 24px 24px;
    height: 100%;    
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border-radius: 15px;
    border: 1px solid rgba(28, 28, 28, 0.10);
    background: #F8F8F8;
}
.services_boxes_wrap .services_items a:hover{
    border: 1.3px solid var(--primary-color);
    background: #FBF8F8;
}
.services_boxes_wrap .services_items a .top_content{
    margin-bottom: 24px;
}
.services_boxes_wrap .services_items a .top_content h5{
    justify-content: space-between;
    display: flex;
    margin-bottom: 0;
    padding-right: 14px;
    align-items: center;
    font-family: var(--font-nunito);
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 22px; /* 122.222% */
}
.services_boxes_wrap .services_items a .top_content h5::after{
    content: "";
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    background-image: url(../images/icon_arrow_diagonal_brown.svg);
    background-repeat: no-repeat;
    background-size: 12px;
    background-position: center;
    transition: var(--transition);
}
.services_boxes_wrap .services_items a:hover .top_content h5::after{
    background-image: url(../images/icon_arrow_diagonal.svg);
    background-color: var(--primary-color);
    filter: unset;
}
.services_boxes_wrap .services_items a .img_wrap{
    position: relative;
    height: 269px;
    /* overflow: hidden; */
}
.services_boxes_wrap .services_items a .img_wrap img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px 0 0 15px;
}
.services_boxes_wrap .services_items a .img_wrap .description_text{
    position: absolute;
    left: -24px;
    background-color: var(--white);
    padding: 14px 13px 15px 24px;
    border-radius: 0 15px 15px 0;
    bottom: 24px;
    right: 31px;
}

.services_boxes_wrap .services_items a .img_wrap .description_text p{
    color: var(--text-body);
    font-family: var(--font-numans);
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 153.846% */
}



.services_boxes_wrap .services_items .top_head{
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.services_boxes_wrap .services_items .top_head .icon_wrap{
    width: 87px;
    height: 87px;
    flex-shrink: 0;
    margin-right: 16px;
}
.services_boxes_wrap .services_items .top_head .text_content{
    flex-grow: 1;
    padding-right: 16px;
}
.services_boxes_wrap .services_items .top_head .text_content h5:last-child{
    margin-bottom: 0;
}
.services_boxes_wrap .services_items p{
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px; /* 171.429% */
}
.services_boxes_wrap .services_items .content_middle{
    flex-grow: 1;
}
.services_boxes_wrap .services_items .cta_wrap{
    margin: 55px 12px 0;
    text-align: center;
    padding: 17px 0 0;
    border-top: 1px solid #E8E8E8;
    transition: var(--transition);
}

.services_boxes_wrap .services_items:hover .cta_wrap{
    border-top: 1px solid var(--primary-color);
}

@media only screen and (max-width: 1199px) {
    .services_boxes_wrap .services_items {
        max-width: calc(50% - 12px);
        width: 100%;
    }

}

@media only screen and (max-width: 767px) {
    .services_boxes_wrap .services_items {
        max-width: 100%;
        width: 100%;
    }
    .services_boxes_wrap .services_items .cta_wrap {
        margin: 30px 0 0;
    }
    .services_boxes_wrap .services_items a .img_wrap {
        height: 300px;
    }
    .services_boxes_wrap .services_items a {
        padding: 24px 0 24px 15px;
    }
    .services_boxes_wrap .services_items a .img_wrap .description_text {
        left: -15px;
        right: 15px;
    }
}