@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@300&display=swap');

*{
    margin: 0;
    padding: 0;
}

html{
    scroll-behavior: smooth;
}
.navbar{
    height: 11vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position:fixed;
    top:0;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    z-index: 1;
    transition: all 0.3s ease-in-out;
    
}

.logo{
    display: flex;
    padding: 0px 5px 0px 30px;
    /* padding: 20px; */
}
.logo img{
    width: 50px;
    margin-bottom: -6px;
    /* padding: 15px 5px 15px 20px; */
}
.logo span{
    font-size: 25px;
    padding-left: 4px;
    font-weight: 650;
}

.rightNav{
    padding-right: 50px;
}
.navlist{
    display: flex;
    font-size: 14.5px;
    font-family: 'Sarabun', sans-serif;
}
.navlist li{
    list-style: none;
    padding: 0 25px 0 25px;
}
a{
    text-decoration: none;
    color: rgb(255, 249, 240);
    /* color: black; */
}

/* applying style after scroll */
.scrolling-active{
    height: 7vh;
    background-color: #333;
    box-shadow: 0 3px 2px 0 rgba(0,0,0,0.4);
    
}

.rightNav{
    /* text-align: right; */
}

.background{
    background-image: url('images/banner.jpg');
    background-size: cover;
    background-position: center;
}
.home{
    /* background-color: black; */
    height: 75vh;
}

.container{
    /* width: 80%;
    margin: auto; */
    height: 40vh;
    text-align: center;
}
.welcome{
    width: 60%;
    margin: auto;
    padding: 25px 75px 65px;
    margin-top: -105px;
    background-color: white;
    box-shadow: 0 0 20px 7px rgba(0, 0, 0, 0.3);
    font-family: 'Montserrat', sans-serif;
}

.welcome h1{
    font-size: 40px;
    color: #333;
    /* margin-top: 10px; */
    margin-bottom: 30px;
}
.welcome p{
    /* margin-bottom: 25px; */
}

.container2{
    max-width: 85%;
    margin: auto;
    margin-top: 35px;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
/* .thumbnail{
    height: 233px;
    box-shadow: 8px 8px 10px 0px rgba(0,0,0,0.3)
} */
.imgFluid{
    width: 350px;
    height: auto;
    box-shadow: 8px 8px 10px 0px rgba(0,0,0,0.3);
}
.paras{
    font-family: 'Ubuntu', sans-serif;
    margin: 0 0 0 65px;
}
.paras h2{
    font-size: 30px;
    margin-bottom: 25px;
    color: #333;
}

.reverse{
    flex-direction: row-reverse;
}
.rev-p{
    margin: 0 65px 0 0px;
}


#services{
    background-color: #efefef;
}
.container3{
    display: flex;
    width: 85%;
    margin: auto;
    justify-content: space-between;
}
.s1, .s2, .s3{
    line-height: 90%;
    font-family: 'Sarabun', sans-serif;
    padding: 50px 60px;
    text-align: center;
}
.s1 h4, .s2 h4, .s3 h4{
    color: #333;
    font-size: 25px;
    margin: 8px 0 20px 0 ;
}
.mapic, .mapic2{
    width: 65px;
}
.mapic2{
    margin-bottom: 8px;
}
.mapic3{
    /* margin-top: 10px; */
    margin-bottom: 5px;
    width: 75px;
}

#features{
    background: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),url(images/fbg2.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
}

.container4{
    width: 80%;
    margin: auto;
    display: flex;
    padding: 65px 0;
    justify-content: space-between;
    align-items: center;
}
.feature-thumb img{
    width: 350px;
}
.feature-box{
    font-family: 'Sarabun', sans-serif;
    display: flex;
    margin-left: 65px;
    margin-bottom: 20px;
}
.feature-left{
    font-size: 40px;
    padding: 5px;
}
.feature-right{
    margin: 5px 0 0 30px;
    line-height: 95%;
}
.feature-right h3{
    margin-bottom: 8px;
}



#testimonials{
    padding: 50px 0 80px 0;
    /* text-align: center; */
}
.centertext{
    max-width: 400px;
    margin: auto;
    text-align: center;
    
    font-family: 'Sarabun', sans-serif;
}
.centertext h1{
    margin-bottom: 6px;
    color: #013f7eef;
    font-size: 35px;
}

.container5{
    max-width: 70%;
    display: flex;
    margin: auto;
    margin-top: 40px;
    justify-content: space-between;
}
.container5 img{
    width: 50px;
    border-radius: 50%;
    margin-left: -30px;
    margin-top: -40px;
    border: 5px solid #fff;
    /* margin-bottom: 30px; */
}

.review{
    width: 180px;
    margin-bottom: 10px;
    font-family: 'Sarabun', sans-serif;
    font-size: 16px;
    padding: 10px 10px 10px 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px 1px rgba(0,0,0,0.2);
}
.review .fa-twitter{
    color: #013f7e;
}
#testimonials span{
    color: #013f7e;
    font-weight: 600;
    font-size: 16px;
}



#subscribe{
    /* padding-bottom: 80px; */
}
.container6{
    padding: 40px 0 38px 0;
    max-width: 60%;
    margin: auto;
    background-color: #013f7e;
    position: relative;
    box-shadow: 0 0 20px 7px rgba(0,0,0,0.3);
    margin-bottom: -100px;
}
.subscribe h2, .subscribe p{
   color: white;
   margin-bottom: 6px;
}
.subscribe p{
    margin-bottom: 0px;
 }
.inputgroup{
   max-width: 80%; 
   margin: auto;
   margin-top: 30px;
   display: flex;
   position: relative;
   background: transparent;
}
.inputgroup input{
    width: 100%;
    height: 25px;
    padding: 5px;
    padding-left: 12px;
    border-radius: 30px;
    font-size: 17px;
    border: none;
    outline: none;
}

.inputgroup button{
    position: absolute;
    right: 0px;
    width: 18%;
    border: none;
    outline: none;
    padding: 5px;
    margin-right: 3px;
    top: 3px; 
    height: 29px; 
    cursor: pointer; 
    color: white; 
    background-color:#013f7e;
    border-radius: 30px;
    font-size: 12px;
}
.inputgroup button:hover{
    background-color: #1e90ff ;
}



#footer{
    background-color: #efefef;
    color:#013f7e;
    text-align: center;
    font-family: 'Sarabun', sans-serif;
}
.footer{
    max-width: 80%;
    margin: auto;
    padding: 180px 0 25px 0;
    display: flex;
    justify-content: space-between;
}
.footercontent{
    width: 250px;
    font-family: 'Sarabun', sans-serif;
    font-weight: 600;
    text-align: center;
}
.fc2, .fc3, .fc4{
    width: 150px;
}
.footercontent img{
    width: 150px;
    margin-bottom: 5px;
}
.footercontent h2{
    margin-bottom: 26px;
}
.footercontent p{
    margin-bottom: 12px;
    font-size: 14px;   
}
.footercontent i{
    padding-right: 3px;
}
.fc2, .fc3, .fc4{
    text-align: left;
}

.copyright{
    padding: 10px;
    color: #333;
    font-weight: 600;
}
.fa-heart{
    color: rgb(252, 67, 54);
}


.burger{
    display: none;
    position: absolute;
    cursor: pointer;
    right: 3%;
    top: 12.5px;
}
.line{
    width: 22px;
    background-color: white;
    height: 3px;
    margin: 4px 3px;
}


/* for mobile */

@media only screen and (max-width: 920px){
    .rightNav{
        padding: 20px 0 0 0;
        display: none;
    }
    .burger{
        display: block;
    }
    .navlist{
        flex-direction: column;
        text-align: center;
    }
    .navlist li{
        padding-bottom: 25px;
    }
    .logo{
        padding: 10px;
    }
    .navbar{
        height: fit-content;
        flex-direction: column;
        justify-content: center;
        transition: all 0.4s ease-in-out;
    }
    .v-class-resp{
        display: block;
        transition: all 0.4s ease-in-out;
    }
    .clr-class-resp{
        background-color: #333;
        
    }
    .home{
        height: 60vh;
    }
    .welcome{
        width: 70%;
        padding: 25px 10px 25px;
        margin-top: -140px;
    }
    .welcome h1{
        color: rgb(225, 76, 65);
        font-size: 25px;
        margin-bottom: 25px;
    }
    .welcome p{
        font-size: 14px;
        font-weight: 600;
    }
    .container2{
        flex-direction: column;
        max-width: 90%;
        text-align: center;
        margin-top: 50px;
    }
    .thumbnail{
        width: 95%;
    }
    .imgFluid{
        width: 100%;
        box-shadow: 8px 8px 10px 0px rgba(0,0,0,0.3);
    }
    .paras{
        margin: 30px 0 0 0;
    }
    .container3{
        flex-direction: column;
        width: 100%;
        padding: 20px 0 30px 0;
    }
    .s1, .s2, .s3{
        padding: 20px 20px;
    }
    .container4{
        flex-direction: column;
        width: 90%;
    }
    .feature-thumb img{
        width: 100%;
    }
    .features{
        margin: 30px 0 0 0;
    }
    .feature-box{
        margin: 0 0 25px 0;
    }
    .feature-left{
        padding: 0;
        font-size: 30px;
    }
    .feature-right{
        margin: 0 0 0 20px;
    }
    #testimonials{
        padding: 40px 0 40px 0;
    }
    .container5{
        flex-direction: column;
    }
    .user{
        margin-bottom: 30px;
    }
    .review{
        width: 80%;
        margin: auto;
    }
    .container6{
        max-width: 80%;
        padding: 30px 0 35px;
    }
    .subscribe{
        padding: 0 20px;
    }
    .inputgroup{
        max-width: 100%;
    }
    .footer{
        flex-direction: column;
        padding: 160px 0 0 0;
    }
    .flogo{
        width: 90%;
        margin: auto;
        /* margin-bottom: 20px; */
    }
    .footercontent{
        margin-bottom: 25px;
    }
    .footercontent h2{
        margin-bottom: 12px;
    }
    .footercontent p{
        margin-bottom: 5px;
    }
}