body {
    font-family: 'Poppins-Regular';
    font-weight: 400;
    height: 100%;
    min-height: 100vh;
    font-size: 0.9rem;
}

a,
a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
    outline: 0;
}

.banner {
    height: 400px;
    padding-top: 110px;
    position: relative;
    background-image: url("../images/services-banner.jpg");
    background-position: top center;
    background-size: 100%;
    background-repeat: no-repeat;
    color: #fff;
}

.banner h1 {
    font-family: Lato, sans-serif;
    font-size: 60px;
    font-weight: 900;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.2
}

.banner p {
    font-size: 24px;
    animation: fadeInDown 1s both 0.2s;
    margin-bottom: 5px;
}

.type {
    padding: 60px 0px;
    position: relative;
    font-family: 'Poppins-Regular';
    background: #e1f0e6;
}

.type h2 {
    font-family: 'Poppins-Bold';
    color: #111;
    font-size: 36px;
    margin-bottom: 20px;
    text-align: center;
}

.type p {
    font-family: 'Poppins-Regular';
    font-size: 18px;
    margin: 0 auto 50px auto;
    width: 100%;
    text-align: center;
    color: #565559;
}

.type section {
    text-align: center;
    padding: 40px 30px;
    background-color: #fff;
    -webkit-box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.0509803922);
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.0509803922);
    position: relative;
    z-index: 1;
    border-radius: 16px;
}

.type section::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    content: "";
    background-color: #08372d;
    z-index: -1;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
    border-radius: 16px;
    overflow-x: hidden;
}

.type section h4 {
    line-height: 31px;
    text-transform: capitalize;
    margin: 0;
    font-family: 'Poppins-Semibold';
    background: linear-gradient(to right, #0e2511, #514b14);
    color: transparent;
    background-clip: text;
    display: inline-block;
}

.type section .icon-box {
    margin: 30px 0;
    -webkit-transition: all 900ms ease;
    transition: all 900ms ease;
    font-size: 60px;
    color: #14100c;
}

.type section:hover::after {
    width: 100%;
    left: 0;
    right: unset;
    border-radius: 16px;
}

.type section:hover .icon-box {
    -webkit-transform: rotateY(360deg);
    transform: rotateY(360deg);
}

.type section a {
    color: #000;
    font-size: 16px;
    border-radius: 16px;
    transition: all .3s ease-in-out;
}

.type section a i {
    font-size: 13px;
}

.type section a:hover {
    background: #251b14;
    border-radius: 16px;
    padding: 5px 30px;
}

.type section:hover a {
    padding: 5px 30px;
    background: #251b14;
    color: #fff;
}

.type section:hover h4 {
    color: #fff;
}

.type section:hover .icon-box {
    color: #fff;
}

.type section .shape {
    background: #08372d;
    color: #fff;
    border-radius: 16px 0px 30px 0px;
    font-size: 36px;
    position: absolute;
    left: 0;
    top: 18px;
    transform: translateY(-50%);
    padding: 18px;
}

@media only screen and (min-width: 320px)and (max-width: 479px) {
    .banner {
        height: 200px;
        background-size: cover;
        padding-top: 70px;
    }
    .banner h1 {
        font-size: 32px;
    }
    .type {
        padding: 30px 0px;
    }
    .type h2 {
        font-size: 22px;
    }
    .type h3 {
        font-size: 18px;
    }
    .type p {
        font-size: 14px;
        padding: 0% 5% 0% 5%;
        margin-bottom: 30px;
    }
    /* .type .type section {
        height: 310px;
    } */
    .type .type section h5 {
        font-size: 20px;
    }
    .type .type section p {
        font-size: 14px;
        padding: 0px;
        margin-bottom: 0px;
    }
    .type .type section img {
        margin: 0px auto 20px auto;
    }
    .type .type section h6 {
        margin-top: 10px;
    }
}

@media only screen and (min-width:480px)and (max-width:767px) {
    .banner {
        padding-top: 20px;
        height: 200px;
        background-size: cover;
        padding-top: 70px;
    }
    .banner h1 {
        font-size: 35px
    }
    .type {
        padding: 30px 0px;
    }
    .type h2 {
        font-size: 22px;
    }
    .type h3 {
        font-size: 18px;
    }
    .type p {
        font-size: 14px;
        padding: 0% 5% 0% 5%;
        margin-bottom: 30px;
    }
    .type .type section {
        height: 310px;
    }
    .type .type section h5 {
        font-size: 20px;
    }
    .type .type section p {
        font-size: 14px;
        padding: 0px;
        margin-bottom: 0px;
    }
    .type .type section img {
        margin: 0px auto 20px auto;
    }
    .type .type section h6 {
        margin-top: 10px;
    }
}

@media only screen and (min-width:768px)and (max-width:1024px) {
    .banner {
        padding-top: 70px;
        height: 200px;
    }
    .banner h1 {
        font-size: 35px
    }
    .type {
        padding: 30px 0px;
    }
    .type h2 {
        font-size: 22px;
    }
    .type h3 {
        font-size: 18px;
    }
    .type p {
        font-size: 14px;
        padding: 0% 5% 0% 5%;
        margin-bottom: 30px;
    }
    /* .type .type section {
        height: 330px;
    } */
    .type .type section h5 {
        font-size: 20px;
    }
    .type .type section p {
        font-size: 14px;
        padding: 0px;
        margin-bottom: 0px;
    }
    .type .type section img {
        margin: 0px auto 20px auto;
    }
    .type .type section h6 {
        margin-top: 10px;
    }
}

@media only screen and (min-width:1024px) and (max-width:1320px) {}

@media only screen and (min-width: 1200px) and (max-width: 1440px) {
    .banner {
        height: 400px;
    }
    .banner h1 {
        font-size: 50px;
    }
}

@media (min-width: 1080px) {
    .banner {
        height: 318px;
    }
    .banner h1 {
        font-size: 60px;
    }
}

@media (min-width:1920px) {
    .banner {
        height: 400px;
        padding-top: 150px;
    }
    .banner h1 {
        font-size: 60px;
    }
}