/* CSS Reset */
* {
  padding: 0;
  margin: 0;
  
}

html {
  scroll-behavior: smooth;
}
body {
  background: #f5efe0;
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica,
    sans-serif;
}
/* Navigation Bar */
#navbar {
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
}
#navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  background-color: black;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.4;
}
/* Navigation Bar : Logo and image */
#logo {
  margin: 10px 34px;
}
#logo img {
  height: 45px;
  margin: 3px 6px;
  width: 50px;
  border-radius: 35px;
  /* filter: invert(100%); */
}

/* Navigation Bar : List Styling */
#navbar ul {
  display: flex;
  font-family: 'Baloo Bhai', cursive;
  font-weight: bold;
  /* padding: 3px 22px; */
}
#navbar ul li {
  list-style: none;
  font-size: 1.3rem;
}
#navbar ul li a {
  display: block;
  padding: 7px 30px;
  text-decoration: none;
  color: white;
  border-radius: 15px;
  /* box-shadow: ; */
}
#navbar li a:hover {
  background-color: white;
  color: black;
}
/* Home Section */
#home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 578px;
  flex-direction: column;
  padding: 3px 200px;
}
#home::before {
  content: '';
  position: absolute;
  background: url(bg2.jpg) no-repeat center center/cover;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0.89;
}
#home h1 {
  color: white;
  text-align: center;
  font-family: 'Baloo Bhai', cursive;
  font-weight: bold;
}
#home p {
  color: white;
  text-align: center;
  font-size: 1.35rem;
  font-family: 'Baloo Bhai', cursive;
  font-weight: bold;
}
/* Services Section */
#services {
  margin: 34px;
  display: flex;
}
#services .box {
  border: 2px solid brown;
  padding: 30px;
  margin: 3px 10px;
  border-radius: 28px;
  background-color: #f2f2f2;
}
#services .box img {
  height: 160px;
  display: block;
  margin: auto;
  border-radius: 20px;
}
#services .box p {
  font-family: 'Baloo Bhai', cursive;
  font-weight: bold;
  text-align: justify;
}
/* Clients Section */
#client-section {
  height: 54vh;
}
#client-section::before {
  content: '';
  position: absolute;
  background: url(bg.jpg) no-repeat center center/cover;
  width: 100%;
  height: 54%;
  z-index: -1;
  opacity: 0.3;
}
#clients {
  display: flex;
  justify-content: center;
  align-items: center;
}
#clients img {
  height: 124px;
  border-radius: 20px;
}
.client-item {
  padding: 34px;
}
/* Contact-Section */
#contact {
  position: relative;
}
#contact::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  background: url(contact.jpg) no-repeat center center/cover;
  height: 100%;
  width: 100%;
  opacity: 0.7;
  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: 0.5rem;
  font-size: 1.1rem;
  border-radius: 9px;
  border: 0px solid white;
}
#contact-box input:focus-visible,
#contact-box textarea:focus-visible{
  outline: 0px solid white;

}
#contact-box form {
  width: 40%;
}
#contact-box label {
  font-size: 1.3rem;
  font-family: cursive;
  font-weight: bold;
}
footer {
  background-color: black;
  color: white;
  padding: 20px 20px;
}
/* Utility Classes */
.h-primary {
  font-size: 3.8rem;
  padding: 12px;
  font-family: 'Baloo Bhai', cursive;
  font-weight: bold;
}
.h-secondary {
  font-size: 2.8rem;
  padding: 12px;
  font-family: 'Baloo Bhai', cursive;
  font-weight: bold;
}
.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;
}

/* Form Validation */
.error {
  border: 2px solid #e74c3c;
  box-shadow: 0px 0px 11px #e74c3c;
}
.success {
  border: 2px solid #2ecc71;
  box-shadow: 0px 0px 11px #2ecc71;
}
