@import url('https://fonts.googleapis.com/css2?family=Caveat&family=Rajdhani&family=Roboto:wght@300&display=swap');

*{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body{
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f4;
}


/*====UTILITY====*/
.container{
    max-width: 1180px;
    text-align: center;
    margin: 0 auto;
    padding: 0 3rem;
}

.section{
    padding: 2rem;
}

.section-head{
    font-size: 3rem;
    margin-bottom: 1rem;
}

.subsection-head{
    font-size: 2rem;
}

.grid2{
    display: grid; display: -ms-grid;
    grid-template-columns: 1fr 1fr;    
}

.grid3{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.lead{
    font-size: 1.3rem;
    text-align: justify;
}

.bg-dark{
    background-color: #333;
    color: #f4f4f4;
}

.bg-light{
    background-color: #f4f4f4;
    color: #333;
}

.btn{
    display: block;
    width: 100px;
    padding: 0.8rem;
    color: #f4f4f4;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: 0.4s;
}

.btn-primary{
    border: 2px solid #00853E;
    background-color: #00853E;
}

.btn-primary:hover{
    background-color: #333;
    color: #00853E;
}

.btn-secondary{
    border: 2px solid #00853E;
    background-color: #f4f4f4;
    color: #00853E;
}

.btn-secondary:hover{
    background-color: #00853E;
    color: #f4f4f4;
    border-color: #00853E;
}

.img-wide{
    max-width: 100vw;
    width: 100vw;
    height: 70vh;
}

/*====NAVIGATION====*/
nav{
    overflow-y: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    width: 100%;
    height: 8vh;
    z-index: 1;
    transition: all 0.5s ease-in-out;
}

nav h1{
    font-family: 'Caveat', cursive;
    font-size: 2.2rem;
    color: #f4f4f4;
    letter-spacing: 2px;
    padding-left: 10px;
}

nav ul{
    width: 60%;
    display: flex;
    justify-content: space-around;
    list-style: none;
}

nav a{
    font-size: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f4f4f4;
    font-weight: bold;

}

/*----Mobile----*/
.mobile-menu{
    position: fixed;
    right: 0;
    top: 8vh;
    height: 92vh;
    max-height: 92vh;
    width: 50%;
    background-color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
    z-index: 1000;
}

.mobile-menu li{
    transform: translateX(100%);
}

.mobile-menu a{
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    color: #f4f4f4;
}

.menu-burger{
    display: none;
    cursor: pointer;
}

.menu-burger div{
    width: 25px;
    height: 3px;
    margin: 5px;
    background-color: #f4f4f4;
    transition: all 0.3s ease;
}

.menu-active{
    transform: translateX(0%);
}

nav.active{
    background-color: #333!important;
}

@keyframes menu-animation{
    from{
        transform: translateX(100%);
    }
    to{
        transform: translateX(0%);
    }
}

.active .line1{
    transform: rotate(-45deg) translate(-5px,6px);    
}

.active .line2{
    opacity: 0;    
}

.active .line3{
    transform: rotate(45deg) translate(-5px,-6px);    
}

/*====LANDING====*/
#landing{
    background: url("../img/landing.jpg") no-repeat center/cover;
    width: 100%;
    height: 100vh;
    position: relative;
    overflow-y: hidden;
}

#landing-shade{
    width: 100%;
    height: 100vh;
    position: relative;
    overflow-y: hidden;
    background-color: rgba(53, 53, 53, 0.7)
}

.landing-text{    
    margin-top: 35vh;
    color: #f4f4f4;
}

.landing-text h1{
    font-family: 'Caveat', cursive;
    overflow-y: hidden;
    font-size: 6rem;
    font-weight: 500;
}

.landing-text h2{
    font-size: 3rem;
}

/*====ABOUT AND SERVICES SHORT====*/
.info-short i{
    font-size: 2.5rem;
    color: #00853E;
}

.info-short h2{
    font-size: 2.5rem;
}

.info-short hr{
    display: none;
    width: 95%;
    border-color: #00853E;
    margin: 2rem auto;
}

.about-short, .services-short{
    display: flex;
    flex-direction: column;
}

.service{
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 3rem;
}

.service i{
    font-size: 1.5rem;
    color: #00853E;
    margin-right: 10px; 
}

.info-short .btn-primary{
    margin: 1rem auto 0 auto;
     
}

.info-short .btn-secondary{
    margin: 1rem 0 0 0;
     
}

/*====REQUEST ESTIMATE====*/
.estimate-home{
    max-width: 100vw;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.estimate-img{
    background: url("../img/estimate-cover.jpg") no-repeat center/cover;
    color: #f4f4f4;
}

.estimate-img h2{
    font-size: 5rem;
    margin-top: 23vh
}

.estimate-img h3{
    font-size: 3rem;
}

.estimate-home .section-head{
    margin-top: 2rem;
}

.estimate-info, .estimate-details{
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.estimate-home hr{
    width: 80%;
    margin-left: 10%;
    margin-bottom: 1rem;
}

.estimate-home form{
    width: 80%;
}

.form-item{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 3rem;
    width: 75%;
    margin-left: 11%;
    margin-bottom: 1rem;
    border: 1px solid rgb(148, 148, 148);
    border-radius: 10px;
    padding: 0.8rem;
}

.form-item span{
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.form-item label{
    text-transform: uppercase;
    font-size: 1rem;
    overflow: hidden;
}

.form-item .error{
    color: red;
    font-size: 1rem;
}

.form-item input, .form-item textarea{
    font-family: 'Poppins', 'PT Sans Narrow', sans-serif;
    font-size: 1rem;
    width: 100%;
    border: 0;
    background-color: #f4f4f4;
}

.textarea{
    height: 8rem;
    word-break: break-all;
}

.textarea textarea{
    resize: none;
}

.form-submit{
    width: 80%;
    margin-left: 11%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-submit input[type=checkbox]{
    cursor: pointer;
}

.form-submit label{
    margin-right: 5px;
}

.form-submit .btn{
    margin-right: 3%;
}

.form-submit .btn-primary:hover{
    cursor: pointer;
    background-color: #f4f4f4;
}


/*====FOOTER====*/
footer{
    max-width: 100%!important;
    width: 100%;
    padding: 2rem 0!important;
}

footer ul{
    overflow-y: hidden;
    list-style: none;
}

footer h3{
    font-size: 2rem;
}

footer a{
    font-size: 1.5rem;
    color: #f4f4f4;
    text-decoration: none;
    text-align: left;
    transition: 0.3s ease-in-out;
}

footer a:hover{
    text-decoration: underline;
}

footer p{
    font-size: 1.5rem;
}

footer hr{
    width: 50%;
    margin: 0.5rem 0 0.5rem 25%;
}


/*====RESPONSIVE====*/
@media screen and (max-height:650px){
    nav{
        height: 15vh;
    }

    footer{
        height: 40vh!important;
    }

}

@media screen and (max-height:480px){
    nav{
        height: 15vh!important;
    }

    footer{
        height: 50vh!important;
    }

}

@media screen and (max-width:1430px){
    footer a, footer p{
        font-size: 1.2rem;
    }
}

@media screen and (max-width:1280px){
    .estimate-img h2{
        font-size: 3rem;
    }

    .estimate-img h3{
        font-size: 1.5rem;
    }

    footer a, footer p{
        font-size: 1rem;
    }

    footer h3{
        font-size: 2rem;
    }

    nav ul{
        width: 65%;
    }

    nav h1{
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    nav a{
        font-size: 0.8rem;
    }
}

@media screen and (max-width:960px){  
    

    .landing-text h1{
        font-size: 4rem;
    }

    .landing-text h2{
        font-size: 2rem;
    }      

    .info-short{
        grid-template-columns: 1fr;
    }  

    .info-short hr{
        display: block;
    }

    .estimate-home .estimate-img{
        padding: 2rem;
    }

    .estimate-home form{
        width: 100%;
    }

    .estimate-home .estimate-details{
        margin-top: 1rem;
    }

    footer a, footer p{
        font-size: 0.8rem;
    }

    footer h3{
        font-size: 1.4rem;
    }
}

@media screen and (max-width:790px){
    .section{
        padding: 2rem 0!important;
    }

    .img-wide{
        height: 60vh;
    }

    nav{
        height: 10vh;
    }

    nav h1{
        font-size: 2rem;
    }

    nav ul{
        display: none;
    }

    .mobile-menu{
        top: 10vh;
        height: 90vh;
        max-height: 90vh;
    }

    .menu-burger{
        display: block;
        margin-right: 10px;
    }

    .landing-text h1{
        font-size: 3.5rem;
        line-height: 3.5rem;
    }

    .landing-text h2{
        margin-top: 1rem;
        font-size: 1.8rem;
    }

    .about-short{
        margin-bottom: 2rem;
    }
    
    .services-short h3{
        font-size: 1.5rem;
    }

    .estimate-img{
        padding: 0 2rem;
        box-sizing: border-box;
    }

    .estimate-img h2{
        font-size: 2rem;
    }

    .estimate-img h3{
        font-size: 1.3rem;
    }

    form.grid2{
        grid-template-columns: 1fr;
    }

    .footer-general{
        display: none;
    }

    footer{
        grid-template-columns: 1fr 1fr!important;
    }
}

@media screen and (max-width:480px){
    .section-head{
        font-size: 2.5rem;
    }

    .lead{
        font-size: 1.1rem; 
    }

    .services-short h3{
        font-size: 1.3rem;
    }

    .estimate-img h2{
        font-size: 1.7rem;
        margin-top: 20vh
    }

    .estimate-img h3{
        font-size: 1.2rem;
    }

    .form-submit .btn{
        margin-right: 0;
    }

    footer{
        grid-template-columns: 1fr!important;
    }

    @media screen and (max-height:740px){
        footer{
            height: 50vh!important;
        }
        
        footer ul{
            padding-bottom: 1rem;
        }
    }

    @media screen and (max-height:450px){
        footer{
            height: 60vh!important;
        }
    }
}

@media screen and (max-width:380px){
    .section-head{
        font-size: 2.3rem;
    }

    .lead{
        font-size: 1.1rem; 
    }

    .subsection-head{
        font-size: 1.7rem;
    }

    .landing-text h1{
        font-size: 2.5rem;
    }

    .landing-text h2{
        font-size: 1.3rem;
    }

    .services-short h3{
        font-size: 1.2rem;
    }

    .form-item{
        width: 73%;
    }

    .form-item label, .form-item .error, .form-item input, .form-item textarea{
        font-size: 0.9rem;
    }
}

@media screen and (max-width:340px){
    .form-item label, .form-item .error, .form-item input, .form-item textarea{
        font-size: 0.85rem;
    }
}

@media screen and (max-width:320px){
    .section-head{
        font-size: 2.2rem;
    }

    .lead{
        font-size: 1rem; 
    }

    .services-short h3{
        font-size: 1.1rem;
    }

    .form-item label, .form-item .error, .form-item input, .form-item textarea{
        font-size: 0.8rem;
    }
}