/* CSS reset */

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}


/* CSS Variable */

:root {
    --navbar-height: 59px;
}


/* navigation bar */

#navbar {
    display: flex;
    position: sticky;
    top: 0px;
}

#navbar::before {
    content: '';
    position: absolute;
    background-color: black;
    opacity: 0.5;
    height: 100%;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: -1;
}


/* navigation bar: Logo and image */

#logo {
    margin: 4px 10px;
}

#logo img {
    height: 50px;
    margin: 0px 10px;
    filter: invert(100%);
    border-radius: 8px;
}


/* navigation bar: list styling */

#navbar ul {
    display: flex;
    margin: 15px;
    font-family: 'Baloo Bhai 2', cursive;
}

#navbar ul li {
    list-style: none;
    font-size: 1.1rem;
}

#navbar ul li a {
    color: white;
    display: block;
    text-decoration: none;
    padding: 2px 22px;
    border-radius: 20px;
}

#navbar ul li a:hover {
    color: white;
    background-color: black;
}


/* Home section */

#home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 520px;
    align-items: center;
    padding: 3px 200px;
}

#home::before {
    content: '';
    position: absolute;
    background: url('../img/bg1.jpg') no-repeat center center/cover;
    opacity: 0.79;
    height: 90%;
    width: 100%;
    top: 0px;
    left: 0px;
    z-index: -1;
}

#home h1 {
    color: black;
    text-align: center;
    font-family: 'Bree Serif', serif;
}

#home p {
    color: black;
    text-align: center;
    font-size: 1.2rem;
    font-family: 'Bree Serif', serif;
}


/* services section */

#services {
    margin: 12px;
    display: flex;
}

#services .box {
    border: 2px solid rgb(158, 113, 113);
    padding: 12px;
    margin: 3px 6px;
    background-color: rgb(245, 230, 230);
    border-radius: 23px;
}

#services .box img {
    height: 150px;
    display: block;
    margin: auto;
}

#services .box p {
    font-family: 'Bree Serif', serif;
}


/*  Clients-section */

#client-section {
    position: relative;
}

#client-section::before {
    content: "";
    position: absolute;
    background: url('../img/bg.jpg');
    opacity: 0.6;
    z-index: -1;
    width: 100%;
    height: 281px;
}

.clients {
    display: flex;
    justify-content: center;
    align-items: center;
}

.clients img {
    height: 124px;
}

.client-item {
    padding: 34px;
}


/* contact section */

#contact {
    position: relative;
}

#contact::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background: url('../img/contact.jpg') no-repeat center center/cover;
    opacity: 0.5;
    z-index: -1;
}

.contact-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 34px;
}

.contact-box input,
.contact-box textarea {
    width: 100%;
    padding: 5px;
    border-radius: 7px;
    font-size: 1rem;
}

.contact-box form {
    width: 40%;
}

.contact-box label {
    font-size: 1.3rem;
    font-family: 'Bree Serif', serif;
}


/* footer */

footer {
    background-color: black;
    color: white;
    padding: 7px 20px;
}


/* Utility classes */

.h-primary {
    padding: 12px;
    font-size: 2.8rem;
    font-family: 'Bree Serif', serif;
}

.h-secondary {
    padding: 12px;
    font-size: 1.7rem;
    font-family: 'Bree Serif', serif;
}

.btn {
    padding: 5px 20px;
    border: 2px solid black;
    background-color: rgb(207, 149, 127);
    color: black;
    margin: 17px;
    font-size: 1rem;
    border-radius: 10px;
    cursor: pointer;
}

.center {
    text-align: center;
}