.banner-section img, .service-section img {
    width: 100%;
}
.banner-section{
    min-height: 600px;
}
.banner-section .wp-block-cover__inner-container {
    margin-left: 25%;
    margin-right: 25%;
}
.banner-section a.wp-block-button__link{
    text-decoration: none !important;
    color: #fff !important;
    background:#222d35 !important;
}
.banner-section a.wp-block-button__link:hover {
    color: #fff !important;
    background: var(--primary-color) !important;
}
.banner-section p {
    line-height: 30px !important;
}
.service-head {
    position: relative;
    display: inline-block;
    padding: 16px;
    vertical-align: top;
    border: 2px solid #d72222;
    border-radius: 5px;
    left: 65%;
}
.service-head h2 {
    position: relative;
    z-index: 9;
    padding: 0;
}
.service-head::before {
    width: calc(100% - 10px * 2 - 10px);
    height: calc(100% + 2px * 2);
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
}
.service-head::before, .service-head::after {
    content: "";
    position: absolute;
    background-color: #fff;
    transition: 200ms ease-in;
    transform-origin: center center;
}
.service-head::after {
    height: calc(100% - 8px * 2 - 10px);
    width: calc(100% + 2px * 2);
    left: -2px;
    top: 50% ;
    transform: translateY(-50%);
}
.service-box {
    background: #fff;
    position: relative;
}
.service-box h4 {
    background: #fff;
    position: absolute;
    top: 0;
    padding: 8px 12px;
    font-size: 17px;
    display: inline-block;
    border-top: 2px solid #000;
}
.service-box h4:hover {
    border-top: 2px solid #d72222;
    color:#222d35;
}
@media screen and (max-width: 1440px) and (min-width: 1023px) {
    .service-head {
        left: 45% !important;
    }
}
@media screen and (max-width: 1024px) and (min-width: 1000px) {
    .banner-section .wp-block-cover__inner-container {
        margin-left: 10%;
        margin-right: 10%;
    }
}
@media screen and (max-width: 992px) and (min-width: 767px) {
    .service-section .wp-block-columns {
        flex-wrap: nowrap !important;
    }
    .service-head {
        left: 40% !important;
    }
    .banner-section .wp-block-cover__inner-container {
        margin-left: 5%;
        margin-right: 5%;
    }
}
@media screen and (max-width: 376px) and (min-width: 320px) {
    .service-head {
        left: 23% !important;
    }
    .banner-section .wp-block-cover__inner-container {
        margin-left: 0%;
        margin-right: 0%;
    }
}
@media screen and (max-width: 426px) and (min-width: 377px) {
    .service-head {
        left: 26% !important;
    }
    .banner-section .wp-block-cover__inner-container {
        margin-left: 0%;
        margin-right: 0%;
    }
   
}
 @media screen and (max-width: 320px) {
    .service-head {
        left: 18% !important;
    }
}




