/* CSS Reset */
*{
    margin: 0;
    padding: 0;
}
html{
    scroll-behavior: smooth;
}

/* CSS Variables */
:root{
    --nabbar-height:59px;
}

/* Navigation Bar */
#navbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0px;
}
#navbar::before{
    content: "";
    background-color:rgb(31, 9, 9);
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width:100%;
    z-index: -1;
    opacity: 0.6;
}
/* Navigation Bar: Logo and Image  */
#logo{
    margin: 3px 34px;
}
#logo img{
    height: 50px;
    margin: 3px 6px;
}

/* Navigation Bar: List Styling */
#navbar ul{
    display: flex;
    font-family: 'Baloo Bhai', cursive;
}
#navbar ul li{
    list-style: none;
    font-size: 1.1rem;
}
#navbar ul li a{
    color: white;
    display: block;
    padding: 3px 22px;
    border-radius: 20px;
    text-decoration: none;
}
#navbar ul li a:hover{
    color: brown;
    background-color: white;
}

/* Home Section  */
#home{
    display: flex;
    flex-direction: column;
    padding: 3px 200px;
    height: 547px;
    justify-content: center;
    align-items: center;
}
#home::before{
    content: "";
    position: absolute;
    background: url('../img/background/bg2.jpg')no-repeat center center/cover;
    top: 0px;
    left: 0px;
    height: 621px;
    width:100%;
    z-index: -1;
    opacity: 0.89;
}
#home h1{
    color: white;
    text-align: center;
    font-family: 'Bree Serif', serif;
}
#home h1:hover{
    color: greenyellow;
}
#home h1 span:hover{
    color: orange;
}
#home p{
    color: white;
    text-align: center;
    font-size: 1.8rem;
    font-family: 'Bree Serif', serif;
}
#home p:hover{
    color: greenyellow  ;
}
#home small{
    font-size: 1.1rem;
    font-family: 'Bree Serif', serif;
    color: white;
    text-align: center;
}
#home small:hover{
    color:greenyellow;
}
#services{
    margin: 34px;
    display: flex;
}
#services .box{
    border: 2px solid brown;
    padding: 34px;
    margin: 2px 20px;
    border-radius: 28px;
    background: rgb(235, 211, 211);
    margin-bottom: 20px;
}
#services .box img{
    height: 160px;
    margin: auto;
    display: block;
}
#services .box p{
    font-family: 'Bree Serif', serif;
    text-align: justify;
    color:rgb(34, 22, 22);
}

/* Client Section  */
#client-section{
    height: 300px;
}
#client-section::before{
    content: "";
    position: absolute;
    background: url('../img/background/bg.jpg');
    width: 100%;
    height: 300px;
    z-index: -1;
    opacity: 0.4;
}
#clients{
    display: flex;
    justify-content: center;
    align-items: center;
}
.client-item img{
    padding: 36px;
}
#clients img{
    height: 124px;
}

/* Contact Section  */
#contact{
    height: 600px;
}
#contact::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 600px;
    z-index: -1;
    opacity: 0.7;
    background: url('../img/contact.jpg') no-repeat center center/cover;
}
#contact-box{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 34px;
}
#contact-box input,
#contact-box textarea{
    width: 100%;
    padding: 0.5rem;
    border-radius: 9px;
    font-size: 1.1rem;
} 
#contact-box input::placeholder{
    font-family: 'Bree Serif', serif;
}
#contact-box form{
    width: 40%;
}
#contact-box label{
    font-size: 1.3rem;
    font-family: 'Bree Serif', serif;
}
#contact-box textarea{
    resize: none;
}
 
/* Footer Section */
footer{
    background: grey;
    color: black;
    padding: 10px 20px;
}

/* Utility Classes */
.h-primary{
    font-family: 'Bree Serif', serif;
    font-size: 3.8rem;
    padding: 12px;
}
.h-secondary{
    font-family: 'Bree Serif', serif;
    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;
}