@media screen and (max-width: 991px) {
    .flex-feature-wrapper.reverse-on-tab {
        flex-flow: column-reverse;
    }
    .reverse-on-tab {
        flex-flow: column-reverse;
    }
}

@media screen and (max-width: 479px) {
    .flex-feature-wrapper {
        grid-column-gap: 2rem;
        grid-row-gap: 2rem;
    }
    .features-image-wrapper {
        min-height: 16rem;
        max-height: 16rem;
        margin-left: auto;
        margin-right: auto;
    }
    .fluid-section {
        display: block;
    }
    .index-about::before{
        position: relative;
        width: 100%;
        background-image:url(../images/index-about.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        height: 100%;
        min-height: 320px;
    }
    .hero-section::before {
        display: none;
      }
}

@media screen and (max-width: 767px) {
    .reverse-on-tab {
        flex-flow: column-reverse;
    }
    .flex-feature-wrapper {
        grid-column-gap: 3rem;
        grid-row-gap: 3rem;
    }
    .features-image-wrapper {
        min-width: 100%;
        max-width: 100%;
        min-height: 32rem;
        max-height: 32rem;
        margin-left: 0;
        margin-right: 0;
    }
    .fluid-section {
        display: block;
    }
    .content-section {
        width: 100%;
        margin-bottom: 20px;
        top: 20px;
        /* transform: translateY(-60%); */
        padding: 24px;
      }
      .content-section .features-image-wrapper {
        z-index: 1;
        min-width: 100%;
        max-width: 100%;
        min-height: 100%;
        max-height: 100%;
        position: relative;
        overflow: hidden;
    }
    
    .section-count span {
        background-color: rgba(40, 204, 81, 0.9);
        font-size: 38px;
        font-weight: 300;
        display: flex;
        width: 62px;
        height: 62px;
        align-items: center;
        text-align: center;
        justify-content: center;
    }
    
      .content-section {
        height: fit-content;
        margin-bottom: 30px;
      }
      .hero-section::before {
        display: none;
      }
      
    .footer-links ul {
        margin: 0;
        padding: 0;
        text-align: center;
        display: block;
        align-items: center;
        justify-content: center;
    }
    .footer-links ul li a {
        color: #fff;
        text-decoration: none;
        font-size: 18px;
        font-weight: normal;
        padding: 12px 12px;
    }
    .ft-social-wrap {
        display: block;
    }
    .ft-social {
        justify-content: center;
    }
    .benefit-section ul li {
        list-style: none;
        flex: 0 1 100% !important;
        overflow: hidden;
        border-radius: 24px;
        display: flex;
        flex-wrap: wrap;
        transition: all .5s ease;
    }
    .benefit-section ul li:nth-child(1), .benefit-section ul li:nth-child(2) {
      row-gap: 0;
    }
    .index-service::after {
        position: relative;
        width: 100%;
    }
    .index-service::after {
        display: none;
    }
    .service-pop {
        position: relative;
        background-image: url(../images/index-service.jpg);
        left:0;
        background-size: cover;
        height: 100%;
        padding: 60px 20px;
    }
    .item-1 {
        left: 10px;
        top: 0;
    }
    .item-2 {
        left: 10px;
        position: relative;
        top: 0;
    }
    .item-3 {
        left: 10px;
        position: relative;
        top: 0;
    }
    .item-4 {
        left: 10px;
        position: relative;
        top: 0;
    }
    .item-5 {
        left: 10px;
        position: relative;
        top: 0;
    }
    .service-item {
        display: block;
        margin-bottom: 12px;
    }
    .service-item:last-child {
        margin-bottom: 0;
    }
    .service-block::before {
        display: none;
    }
    .list-wrap {
        margin-bottom: 24px;
    }
    .four-col-grid {
        grid-column-gap: 10px;
        grid-row-gap: 10px;
        border-left: 1px none;
        grid-template-rows: auto;
        grid-template-columns: 1fr !important;
    }
    .res-image {
        display: block;
        width:auto;
        height: 100%;
        max-height: 380px;
    }
    .res-image img {
        height: auto;
        width: 100%;
    }
    .about-section-one::before, .about-section-two::before, .about-section-three::before {
        display: none;
    }
    .enquiry-form-block {
        padding:40px 0;
    }
}

@media screen and (max-width: 991px) {
    .benefit-section ul li {
        list-style: none;
        flex: 0 1 49%;
        overflow: hidden;
        border-radius: 0;
        display: flex;
        flex-wrap: wrap;
        transition: all .5s ease;
    }
    .four-col-grid {
        grid-column-gap: 10px;
        grid-row-gap: 10px;
        border-left: 1px none;
        grid-template-rows: auto;
        grid-template-columns: 1fr 1fr;
    }
    .flex-feature-wrapper {
        grid-column-gap: 4rem;
        grid-row-gap: 4rem;
        flex-flow: column;
    }
    .features-image-wrapper {
        min-width: 100%;
        max-width: 40rem;
        min-height: 100%;
        max-height: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .fluid-section {
        display: block;
    }
}

@media (min-width: 1200px) {
.container {
    max-width: 1170px !important;
}
}

@media (max-width: 767px) { 
    .search-box {
        display: none;
    }
    .sec-padding {
        padding:30px 0;
        position: relative;
    }
    .ml-10 {
        margin-left: 0;
    }
    .background-absolute {
        width: 100% !important;
    }
    .slideshow {
        min-height:300px !important;
    }
    .slideshow__slide-caption-text {
        padding-top: 15% !important;
    }
    .block-image {
        width: 100% !important;
        position: relative !important;
        height: 300px;
    }
    .intro-product-content {
        padding: 60px 0;
    }
    .faux-bg {
        position: relative;
    }
    .grid-line-item {
        position: relative;
    }
    .section-title {
        margin-top: 50px;
    }
    .swiper-slide__block .swiper-slide__block__text {
        width: 85%;
        height: auto;
        margin: 0 auto;
        margin-top: 50px;
        position: absolute !important;
        top: 28%;
    }
}