.sub_hero {
    background: url('../img/main_slide1.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    height: 200px;
}

#m2 {
    text-align: center;
    padding: 80px 0;
    word-break: keep-all;
}

.swiper-container {
    width: 100%;
    height: 500px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box!important;
}
.swiper-container * {

    box-sizing: border-box!important;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
}
.gallery-top .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    word-break: keep-all;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, .75);
    width: 100%;
    text-align: left;
    z-index: 10;
    padding: 50px 50px 40px 40px;
    margin: 0;
    background: linear-gradient(rgba(0, 0, 0, .0), rgba(0, 0, 0, .85));
}

.gallery-top .caption p {
    color: white;
    font-size: 28px;
}
.gallery-thumbs .caption {
    position: absolute;
    bottom: 0;
    word-break: keep-all;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, .75);
    width: 100%;
    text-align: center;
    z-index: 10;
    padding: 10px 0;
    margin: 0;
    background: linear-gradient(rgba(0, 0, 0, .0), rgba(0, 0, 0, .85));
}
.gallery-thumbs .caption p {
    color: white;
    font-size: 18px;
}

.gallery-top {
    width: 100%;
    height: 600px;
    margin-top: 50px;
}

.gallery-thumbs {
    height: 200px;
    box-sizing: border-box;
    padding: 10px 0;
    margin-top: 10px;
    margin-bottom: 120px;
}

.gallery-thumbs .swiper-slide {
    height: 100%;
    opacity: 0.4;
}

.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

#m2 .col4 {
    margin: 0 auto;
}

#m2 h3 {
    line-height: 1.3;
}

#m2 .flex-5 {
    display: flex;
    width: 100%;
    margin: 0 auto;
    flex-wrap: wrap;
}

#m2 .flex-5>div {
    flex: 0 0 20%;
    max-width: 20%;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    padding: 0 0px;
}

#m2 .service-icon {
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border-radius: 50%;
    border: solid 2px #eeeeee;
    transition: ease 0.2s;
    margin: 50px 0 10px;
}

#m2 .service-icon:hover {
    border: solid 2px #f1eb95;
}

#m2 .service-icon img {
    width: 50%;
    height: 50%;
}

#m2 .feature {
    width: auto;
    text-align: left;
    line-height: 1.8;
    font-size: 17px;
    list-style-position: inside;
    margin: 50px 0;
}

@media(max-width:1080px) {
    #m2 .service-icon {
        width: 135px;
        height: 135px;
    }
    .gallery-top {
        height: 400px;
        margin-top: 50px;
    }
    
    .gallery-thumbs {
        height: 160px;
        box-sizing: border-box;
        padding: 10px 0;
        margin-top: 10px;
    }
}

@media(max-width:800px) {
    #m2 .flex-5 {
        max-width: 400px;
    }

    #m2 .flex-5>div {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .gallery-top {
        height: 350px;
        margin-top: 50px;
    }
    
    .gallery-thumbs {
        height: 100px;
        box-sizing: border-box;
        padding: 10px 0;
        margin-top: 10px;
    }
    .swiper-button-next,
    .swiper-button-prev {
        display: block!important;
    }
    .swiper-button-prev {
        left: 8px!important;
    }
    .swiper-button-next {
        right: 8px!important;
    }
}

@media(max-width:500px) {
    .gallery-top {
        height: 200px;
        margin-top: 50px;
    }
    
    .gallery-thumbs {
        height: 60px;
        box-sizing: border-box;
        padding: 10px 0;
        margin-top: 10px;
    }
    .gallery-top .caption {
        padding: 30px 30px 20px 20px;
    }
    #m2 h3 {
        font-size: 15px;
    }

    #m2 p {
        font-size: 14px;
    }

    #m2 .service-icon {
        width: 100px;
        height: 100px;
    }
    #m2 .gallery-top p {
        font-size: 20px;
    }
    #m2 h1 {
        font-size: 24px;
    }
    #m2 .feature {
        font-size: 16px;
    }
}