@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Ubuntu&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
}

h1 {
    /* font-size: 3.2rem; */
    font-size: 55px;
    line-height: 64px;
    color: #222;
}

h2 {
    font-size: 45px;
    /* font-size: 2.5rem; */
    line-height: 54px;
    color: #222;
}

h4 {
    font-size: 20px;
    /* line-height: 64px; */
    color: #222;
}

h6 {
    font-weight: 700;
    line-height: 12px;
    color: #222;
}

p {
    font-size: 16px;
    color: #465b52;
    margin: 15px 0 20px 0;
}

.section-p1 {
    padding: 40px 80px;
}

.section-m1 {
    margin: 40px 0;
}

button.normal {
    font-size: 14px;
    font-weight: 600;
    padding: 15px 30px;
    color: #000;
    background-color: #fff;
    border-radius: 4px;
    cursor: pointer;
    outline: none;
    border: none;
    transition: 0.2s;
}

button.white {
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    color: #fff;
    background-color: transparent;
    cursor: pointer;
    outline: none;
    border: 1px solid #fff;
    transition: 0.2s;
}

body {
    width: 100%;
}

/* Header start  */
#header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 80px;
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    left: 0;
    z-index: 9;
    /* As products were overlapping */
}

#logo {
    width: 130px;
    padding: 0 5px;
}

#navbar {
    display: flex;
    align-items: center;
    justify-content: center;
}

#navbar li {
    list-style: none;
    padding: 0 15px;
    position: relative;
    /*using for underline for abs position*/
}


#navbar li a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    transition: .3s ease;
}

#navbar li a:hover,
#navbar li a.active {
    color: #088178;
}

#navbar li a.active::after,
#navbar li a:hover::after {
    content: "";
    width: 30%;
    height: 2px;
    background: #088178;
    position: absolute;
    bottom: -4px;
    left: 17px;
}

#mobile {
    display: none;
    align-items: center;
}

#close {
    display: none;
}

/* HOMEPAGE */
#hero {
    background-image: url('media/hero.jpg');
    height: 90vh;
    width: 100%;
    background-position: top 0% right 0px;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    padding: 0 80px;
}

#hero h4 {
    padding-bottom: 15px;
}

#hero h1 {
    color: #088178;
}

#hero button {
    padding: 9px 15px;
    border: none;
    background-color: #088178;
    border-radius: 2px;
    cursor: pointer;
    color: white;
    /* font-weight: 500; */
}

#hero button:hover {
    background-color: #05a79c;
}

#feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

#feature .f-box {
    width: 180px;
    text-align: center;
    padding: 25px 15px;
    box-shadow: 8px 15px 35px rgb(0, 0, 0, 25%);
    border-radius: 3px;
    margin: 15px 0;
    /* border: 2px solid rgba(128, 128, 128, 0.575); */
}

#feature .f-box h6 {
    color: #088178;
    font-size: 1rem;
}

#feature .f-box:hover {
    box-shadow: 7px 10px 50px rgba(0, 0, 0, 0.2);
}

#feature .f-box img {
    width: 100%;
    margin-bottom: 10px;
}

#product1 .pro-container {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    flex-wrap: wrap;
}

#product1 {
    text-align: center;
}

#product1 .pro {
    width: 23%;
    min-width: 250px;
    padding: 10px 12px;
    border: 1px solid #cce7d0;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 8px 15px 35px rgb(0, 0, 0, 25%);
    margin: 15px 0;
    transition: .2s ease;
    position: relative;
    /*used for cart button*/
}

#product1 .pro:hover {
    box-shadow: 7px 10px 50px rgba(0, 0, 0, 0.2);
}

#product1 .pro img {
    width: 100%;
    border-radius: 20px;
}

#product1 .pro .des {
    text-align: start;
}

#product1 .pro .des span {
    color: #606063;
    font-size: 12px;
}

#product1 .pro .des h5 {
    padding-top: 7px;
    color: #1a1a1a;
    font-size: 14px;
}

#product1 .pro .des i {
    color: rgb(243, 181, 25);
    font-size: 12px;
}

#product1 .pro .des h4 {
    font-size: 15px;
    font-weight: 700;
    color: #088178;
    padding: 7px 0px;

}

#product1 .pro .cart {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50px;
    background-color: #e8f6ea;
    font-weight: 500;
    color: #088178;
    position: absolute;
    /* parent is .pro */
    bottom: 15px;
    right: 15px;
}

#banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url('media/banner/b2.jpg') center center/cover;
    /* background-size: cover;
    background-position: center; */
    width: 100%;
    height: 45vh;
}

#banner h4 {
    color: #fff;
    font-size: 16px;
}

#banner h2 {
    color: #fff;
    font-size: 30px;
    padding: 10px 0;
}

#banner h2 span {
    color: #ef3636;
}

#banner button:hover {
    background-color: #088178;
    color: white;
}

#sm-banner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#sm-banner .banner-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: url('media/banner/b17.jpg') center center/cover;
    /* background-size: cover;
    background-position: center; */
    /* width: 100%; */
    min-width: 580px;
    height: 50vh;
    padding: 30px;
}

#sm-banner .banner-box2 {
    background: url('media/banner/b10.jpg') center center/cover;

}

#sm-banner h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 400;
}

#sm-banner h2 {
    color: #fff;
    font-size: 30px;
    font-weight: 800;
}

#sm-banner span {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding-bottom: 15px;
}

#sm-banner .banner-box:hover button {
    background-color: #088178;
    border: 1px solid #088178;
}

#banner3 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 80px;
}

#banner3 .banner-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: url('media/banner/b7.jpg') center center/cover;
    /* background-size: cover;
    background-position: center; */
    /* width: 100%; */
    min-width: 30%;
    height: 30vh;
    padding: 20px;
    margin-bottom: 20px;
}

#banner3 .banner-box2 {
    background: url('media/banner/b4.jpg') center center/cover;
}

#banner3 .banner-box3 {
    background: url('media/banner/b18.jpg') center center/cover;
}

#banner3 h2 {
    color: #fff;
    font-weight: 900;
    font-size: 22px;
}

#banner3 h3 {
    color: #ec544e;
    font-weight: 800;
    font-size: 15px;
}

#newsletter {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    background: url('media/banner/b14.png') center center;
    /* background-repeat: no-repeat; */
    background-color: #041e42;
}

#newsletter h4 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

#newsletter p {
    font-size: 14px;
    font-weight: 600;
    color: #818ea0;
}

#newsletter span {
    color: #ffbd27;
}

#newsletter .form {
    display: flex;
    width: 40%;
}

#newsletter input {
    height: 3.13rem;
    padding: 0 1.25rem;
    font-size: 14px;
    width: 100%;
    border: 1px solid transparent;
    border-radius: 4px;
    outline: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#newsletter button {
    background-color: #088178;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    color: white;
    white-space: nowrap;
}

footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

footer .col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

footer .logo {
    width: 120px;
    margin-bottom: 2rem;
}

footer h4 {
    font-size: 14px;
    padding-bottom: 20px;
}

footer p {
    font-size: 13px;
    margin: 0 0 8px 0;
    color: #222;
}

footer a {
    text-decoration: none;
    font-size: 13px;
    color: #222;
    margin: 0 0 10px 0;
}

footer .follow {
    margin-top: 20px;
}

footer .follow i {
    padding-right: 4px;
    cursor: pointer;
}

footer .install .row img {
    border: 1px solid #088178;
    border-radius: 6px;
}

footer .install img {
    margin: 10px 0 15px 0;
}

footer .follow i:hover,
footer a:hover {
    color: #088178;
}

.copyright {
    width: 100%;
    text-align: center;
}

.copyright p {
    color: #222;
}

/* Media query */
@media (max-width:950px) {
    .section-p1 {
        padding: 20px;
    }

    h1 {
        font-size: 35px;
        line-height: normal;
    }

    h2 {
        font-size: 30px;
        line-height: normal;
    }

    h4 {
        font-size: 20px;
        padding-bottom: 5px;
        line-height: normal;
    }

    #navbar {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        right: -300px;
        height: 100vh;
        width: 230px;
        background-color: #fff;
        box-shadow: 0 40px 60px rgba(0, 0, 0, 0.2);
        padding: 80px 0 0 10px;
        transition: .3s;
    }

    /* LOGO  */
    #logo,
    footer .logo {
        width: 90px;
        padding: 0;
    }

    #navbar.nvactive {
        right: 0px;
        /* using js to slide navbar */
    }

    #navbar li {
        margin-bottom: 25px;
    }

    #mobile {
        display: flex;
        align-items: center;
    }

    #mobile span {
        color: #1a1a1a;
        font-size: 24px;
        padding-left: 8px;
    }

    #close {
        position: absolute;
        top: 30px;
        left: 20px;
        display: initial;
    }

    #lg-bag {
        display: none;
    }

    #hero {
        height: 70vh;
        padding: 0 25px;
    }

    #feature {
        justify-content: center;
        /* box-shadow: ; */
    }

    #feature .f-box {
        margin: 15px;
    }

    #product1 .pro-container {
        justify-content: center;
    }

    #product1 .pro {
        margin: 15px;
    }

    /* #banner {
        height: 25vh;
    } */
    #banner {
        text-align: center;
    }

    #sm-banner .banner-box {
        min-width: 100%;
        height: 40vh;
        margin-bottom: 10px;
    }

    #banner3 {
        padding: 0 20px;
    }

    #banner3 .banner-box {
        width: 30%;
    }

    #newsletter {
        justify-content: center;
        text-align: center;
        padding: 10px;
    }

    #newsletter .form {
        width: 100%;
    }

}

@media (max-width:590px) {
    #header {
        padding: 10px 30px;

    }

    /* h1{
        font-size:38px;
    }
    h2{
        font-size:32px;
    } */
    #hero {
        background-position: 80%;
    }

    #feature .f-box {
        width: 40%;
        margin: 0 0 15px 0;
    }

    #feature {
        justify-content: space-evenly;

    }

    #product1 .pro {
        width: 100%;
    }

    #banner3 .banner-box {
        width: 100%;
    }

    footer .install img {
        width: 100%;
    }
}