/* CSS Reset */
* {
  margin: 0;
  padding: 0;
}
h1{
  text-align: center;
}

html {
  scroll-behavior: smooth;
}

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

/* Navigation Bar */
#navbar {
  display: flex;
  align-items: center;
  position: sticky;
  top: 0px;
}

#navbar::before {
  content: "";
  background-color:rgb(29, 1, 29);
  position: fixed;
  top: 0px;
  left: 0px;
  height: 17%;
  width: 100%;
  z-index: -2;
  opacity: 0.8;
}

/* Navigation Bar: Logo and Image */
#logo {
  margin: 10px 34px;
}

#logo img {
  height: 85px;
  margin: -5px -15px;
}

/* Navigation Bar: List Styling */

#navbar ul {
  display: flex;
  font-family: "Baloo Bhai", cursive;
  float: right;
}

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

#navbar ul li a {
  color: rgb(240, 239, 239);
  display: block;
  padding: 3px 22px;
  border-radius: 20px;
  text-decoration: none;
}

header {
  --text: #f4f4f4;
  --text-inverse: #333;
   position: fixed; 
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 250ms ease-in;
  background: var(--background);
  color: var(--text);
}

#navbar ul li a:hover{
  color: rgb(236, 214, 214);
  background-color: rgb(59, 54, 54);
}

/* Home Section */
.home {
  display: flex;
  flex-direction: column;
  padding: 3px 200px;
  height: 539px;
  justify-content: center;
  align-items: center;
}

.home::before {
  content: "";
  position: absolute;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../bg1.jpg") no-repeat center center/cover;
  height: 642px;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: -1;
  opacity: 0.89;
}

.home h1 {
  color: white;
  text-align: center;
  font-family: "Bree Serif", serif;
}

.home p {
  color: white;
  text-align: center;
  font-size: 1.5rem;
  font-family: "Bree Serif", serif;
}
.home{
  padding: 51px;
}

/* Services Section */
#services {
  margin: 34px;
  display: flex;
}
#services .box {
  border: 2px solid brown;
  padding: 34px;
  margin: 2px 55px;
  border-radius: 28px;
  background: #f2f2f2;
  margin-bottom: 20px;
}

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

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

/* Clients Section */
#client-section {
  position: relative;
  margin-bottom: 25px;
}

#client-section::before {
  content: "";
  position: absolute;
  background: url("../bg.jpg");
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

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

.client-item {
  padding: 34px;
}

#clients img {
  height: 105px;
}

/* 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,
#contact-box textarea {
  text-align: left;
  width: 100%;
  padding:7px 0px 7px  0px;
  border-radius: 9px;
  font-size: 1.1rem;
}

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

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

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

/* Utility Classes */
.h-primary {
  font-family: "Bree Serif", serif;
  font-size: 3rem;
  padding: 12px;
}

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

.btn {
  font-family: "Baloo Bhai", cursive;
  padding: 6px 20px;
  border: 2px solid brown;
  background-color: brown;
  color: white;
  margin: 17px;
  font-size: 1.3rem;
  border-radius: 10px;
  cursor: pointer;
}
.btn:hover {
  border: 2px solid white;
  color: black;
  background-color: antiquewhite;
}
.form-group{
  text-align: center;
}
.form-submit-button {
	background: #090909;
	color: #fff;
	border: 1px solid #494646;
	border-radius: 20px;
  cursor: pointer;
}

.form-submit-button:hover {
	background: #6b6a74fd;
	color: #fff;
	border: 1px solid #eee;
	border-radius: 20px;
}


