/* Reset */
*{
    margin: 0;
    padding: 0;
    font-family: 'New Tegomin', serif
}

html{
    scroll-behavior: smooth;
}

/* Variables */
:root{
    --nav-height: 59px;
}

/* Navigation Bar */
#navbar{
    display: flex;
    align-items: center;
    position: sticky; 
    z-index: 2;
    height: 5rem;
    top: 0;
}

/*  Navigation Bar: Logo and image */

#logo img{
    height: 91px;
}

/*  Navigation Bar: List items */
#navbar ul{
    display: flex;
}

#navbar::before{
    content: "";
    background-color: black;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    z-index: -1;
    opacity: 0.4;
}

#navbar ul li{
    /* color: white; */
    list-style: none;
    font-size: 1.3rem;
}

#navbar ul li a{
    color: white;
    display: block;
    padding: 2px 22px;
    border-radius: 20px;
    text-decoration: none;
}

#navbar ul li a:hover{
    color: black;
    background-color: white;

}

/* Home Section */
#home{
    display: flex;
    flex-direction: column;
    padding: 3px 200px;
    align-items: center;
    justify-content: center;
    height: 637px;
}

#home::before{
    content: "";
    background:url('bg1.jpeg')  ;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 642px;
    width: 100%;
    z-index: -1;
    opacity: 0.89;
}
#home h1{
    color:white;
    text-align: center;
    font-size: 2.8rem;
}

#home p{
    color:white;
    text-align: center;
    font-size: 1.5rem;
}

/* Services Section */
#services{
    display: flex;
    flex-direction: row;
    margin: 34px;
    
}
#services .box{
    border: 2px solid brown;
    padding: 34px;
    margin: 2px 50px;
    border-radius: 23px;
    background-color: #f2f2f2;
    margin-bottom: 20px;
}
#services .box img{
    height: 150px;
    margin: auto;
    display: block;
}

#services .box p{
    font-size: 1.3rem;
} 

/* Clients Section */
#client-section{
    position: relative;
}

#client-section::before{
    content: "";
    position: absolute;
    background: url('/bg.jpeg');
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

#clients{
    display: flex;
    justify-content: center;
    align-items: center;
}

.client-item{
    padding: 34px;
}

#clients img{
    height: 124px;
}

/* Contact Section */
#contact{
    position: relative;
}

#contact::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.7;
    background: url('/contact.jpg') no-repeat center center/cover;
}

#contact-box{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 34px;
}

#contact-box input{
    width: 100%;
    padding: 0.5rem;
    border-radius: 10px;
    font-size: 1.1rem;
}

#contact-box textarea{
    width: 100%;
    padding: 0.5rem;
    border-radius: 10px;
    font-size: 1.1rem;
    }

#contact-box form{
    width: 40%;
}

#contact-box label{
    font-size: 1.3rem;
}

footer{
    background-color: black;
    color: white;
    padding: 10px 20px;
}

/* Utility Classes */
.h-primary{
    font-size: 3.8rem;
    padding: 12px;
}
.h-secondary{
    font-size: 2.3rem;
    padding: 12px;
}

.btn{
    padding: 6px 20px;
    border: 2px solid white;
    background-color: brown;
    color: white;
    margin: 17px;
    font-size: 1.5rem;
    border-radius: 10px;
    cursor:pointer;
}

.center{
    text-align: center;
}
