* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif, 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.header {
  min-height: 90vh;
  width: 100%;
  background-image: linear-gradient(rgba(22, 51, 38, 0.7), rgba(36, 43, 41, 0.7)), url(images/homepage-background.png);
  background-position: center;
  background-size: cover;
  position: relative;

}

.service-header {
  min-height: 80vh;
  width: 100%;
  background-position: center;
  background-size: cover;
  position: relative;
  background-image: linear-gradient(rgba(51, 73, 35, 0.7), rgba(16, 24, 11, 0.7)), url(images/servicepage-background.png);
}

.about-us-header {
  min-height: 80vh;
  width: 100%;
  background-position: center;
  background-size: cover;
  position: relative;
  background-image: linear-gradient(rgba(27, 34, 31, 0.7), rgba(29, 32, 32, 0.7)), url(images/aboutus-background.png);
}

.contact-us-header {
  min-height: 80vh;
  width: 100%;
  background-position: center;
  background-size: cover;
  position: relative;
  background: linear-gradient(rgba(24, 48, 37, 0.7), rgba(4, 24, 19, 0.7)), url(images/contactus-background.png)
}

nav {
  display: flex;
  padding: 2% 6%;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: rgb(10, 39, 29);
}

nav img {
  width: 150px;
  background-size: 100%;
}

.nav-links {
  flex: 1;
  text-align: right;
}

.nav-links ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 12px;
  position: relative;
}

.nav-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.nav-links ul li::after {
  content: '';
  width: 0%;
  height: 2px;
  background: #76bd4c;
  display: block;
  margin: auto;
  transition: 0.5s;
}

.nav-links ul li:hover::after {
  width: 100%;
}

.text-box {
  width: 90%;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.text-box h1 {
  padding-top: 40px;
  font-size: 55px;
  font-weight: bolder;
}

.text-box p {
  margin: 10px 0 40px;
  font-size: 15px;
  line-height: 35px;
  font-size: 23px;
  /* font-weight: bold; */
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.hero-btn {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.green-btn {
  border: 2px, solid, #2e6b0b;
  color: #2e6b0b;
}

.hero-btn:hover {
  border: 1px solid #76bd4c;
  background: #76bd4c;
  transition: 1s;
}

nav .fa-solid {
  display: none;
}

/* Media query for about us */
@media (max-width: 800px) {
  * {
    overflow-x: hidden;
  }

  .text-box h1 {
    padding-top: 0%;
    margin: 0%;
    font-size: 30px;
  }

  .text-box {
    width: 60%;
    color: #fff;
    position: absolute;
    /* bottom: 10%; */
    top: 55%;
    left: 50%;
    transform: translate(-45%, -45%);
    text-align: center;
  }

  .nav-links ul li {
    display: block;
  }

  .nav-links {
    position: fixed;
    background: #76bd4c;
    height: 100vh;
    width: 200px;
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 2;
    transition: 1s;
  }

  nav .fa-solid {
    display: block;
    color: #fff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
  }

  .nav-links ul {
    padding: 30px;
  }

}

/* ------------------Services----------------------- */

.home-service h1 {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  padding: 60px;
}

.services-p {
  padding-bottom: 4%;
  font-size: 25px;
  line-height: 40px;
  text-align: center;
  justify-content: center;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.carousel-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5%, 5%, 5%, 5%;
}

.carousel-wrap p {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 25px;
  padding: 10px;
  font-weight: bold;
}


.carousel-container {
  display: flex;
  overflow-x: scroll;
}

.carousel-container div {
  width: 80%;
  display: grid;
  grid-template-columns: auto auto auto;
  grid-gap: 20px;
  padding: 10px;
  flex: none;
  margin: 0%;
}

.carousel-container div img {
  height: 250px;
  width: 350px;
  transform: scale(00.5s);
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

#back-btn,
#next-btn {
  width: 50px;
  cursor: pointer;
}

.carousel-container div img:hover {
  cursor: pointer;
  transform: scale(1.05);
  box-shadow: 0 0 20px 0px rgb(98, 100, 102);
  cursor: pointer;
}

.services {
  width: 90%;
  margin: auto;
  text-align: center;
  padding-top: 80px;
  padding-bottom: 150px;
}

h1 {
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  margin-top: 20px;
}

.row {
  margin: 3%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5%;
  text-align: center;
  font-size: small;

}

.services-col {
  flex-basis: 31%;
  margin-bottom: 20%;
  box-sizing: border-box;
  transition: 0.5s;
}

.services-col img {
  width: 100%;
  padding: 15px;
}

.services-col p,
h3 {
  text-align: center;
  padding: 0;
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  padding: 15px;
  line-height: 25px;
}

.services-col h3 {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: bolder;
  font-size: 20px;
  text-align: left;
}

h3 {
  text-align: center;
  font-weight: 600;
  /* /* margin: 10px 0; */
}

.services-col:hover {
  box-shadow: 0 0 20px 0px rgb(98, 100, 102);
  cursor: pointer;
}

@media (max-width: 800px) {

  .services-p {
    padding: 5%;
  }

  .row {
    display: flex;
    flex-direction: column;
  }

  #back-btn,
  #next-btn {
    display: none;

  }

  .carousel-container div {
    width: 50%;
    margin-right: 20px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
  }
}

/* ------------------- Our Services ----------------------- */
.card-list,
.card-item,
.card-link {
  width: 400px;
  display: block;
  padding: 18px;
  text-decoration: none;

  /* background: #82bb61; */
}

.card-item {
  margin-top: 4%;
  border: 2px solid transparent;
  box-shadow: 0 10px 10px rgba(56, 160, 134, 0.7);
  border-radius: 12px;
}

.our-services-row {
  margin: 3%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5%;
  /* justify-content: justify; */
  text-align: center;
  font-size: small;
}

@media (max-width: 800px) {
  .our-services-row {
    display: flex;
    flex-direction: column;
  }

}

/* ---------------Footer -------------------------- */
.footer {
  background-color: rgb(10, 39, 29);

  text-align: center;
  padding: 30px 0;
}

.footer img {
  width: 5%;
}

.icons {
  margin: 0 13px;
  color: white;
  cursor: pointer;
  /* padding: 20px; */
}

.fa-brands {
  padding: 20px;
  color: white;
}

.fa-brands:hover {
  transition: 0.3 ease;
  background-color: #2e6b0b;
  transform: scale(1.1);
}

.fa-brands:visited {
  color: white;
}

.copyright {
  color: white;
  font-size: small;
  text-align: center;
}

.footer h4 {
  margin-bottom: 25px;
  margin-top: 20px;
  font-weight: 600;
}

/* --------------------About Us/ Meet the team------------------------ */

.meet-the-team {
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px;
  padding: 20px;
  padding-bottom: 100px;
  margin-left: 150px;
}

.about-us-body {
  background: #ebf3e6;
}

.meet-the-team img {
  height: 100px;
  margin-left: 50px;
  margin-right: 50px;
  align-items: center;
  border-radius: 50px;
}

.meet-the-team-col {
  flex-basis: 44%;
  text-align: left;
  background: #ebc2c2;
  padding: 25px;
  cursor: pointer;
  display: flex;
}

.meet-the-team-col img {
  height: 100px;
  margin-left: 5px;
  margin-right: 30px;
  border-radius: 50px;
}

.meet-the-team-row {
  min-height: 15vh;
  width: 90%;
  margin: 3%;
  margin-left: 5%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5%;
  font-size: small;
}

.meet-the-team-row p {
  padding: 0;
  letter-spacing: 1px;
  line-height: 25px;
}

.meet-the-team-col h3 {
  margin-top: 15px;
  text-align: left;
}

@media (max-width: 800px) {

  .meet-the-team {
    display: flex;
    flex-direction: column;
    margin: 50px;
    padding-bottom: 50px;
  }


  .meet-the-team h1 {
    margin-top: 0;
    padding: 0px;

  }

  .meet-the-team-row {
    display: flex;
    flex-direction: column;
  }

  .meet-the-team-col img {
    height: 50%;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50px;
  }
}

/* -------------------Contact Us------------------ */

.contact-us-header h1 {
  color: white;
  font-size: 70px;
  margin: 50px;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  line-height: 100px;
  text-align: left;
}

.contact-us-header p {
  color: white;
  margin: 50px;
  font-size: 30px;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  line-height: 50px;
  text-align: left;
}

.contact-us h4 {
  margin: 50px;
}

.contact-col input,
.contact-col textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 17px;
  outline: none;
  border: 1px, solid, #76bd4c;
  ;

}

.contact-us h5 {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  padding: 15px;
  margin-bottom: 17px;
  margin-left: 35px;

  outline: none;
}


/* ----------------Back to top arrow */

#myBtn {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Fixed/sticky position */
  bottom: 10px;
  /* Place the button at the bottom of the page */
  right: 30px;
  /* Place the button 30px from the right */
  z-index: 99;
  /* Make sure it does not overlap */
  border: none;
  /* Remove borders */
  outline: none;
  /* Remove outline */
  background-color: rgb(64, 94, 52);
  /* Set a background color */
  color: white;
  /* Text color */
  cursor: pointer;
  /* Add a mouse pointer on hover */
  padding: 10px;

  /* Rounded corners */
  border-radius: 50%;
  font-size: 20px;
  /* font-weight: bold; */
  /* Increase font size */
}

#myBtn:hover {
  background-color: #2e6b0b;
  ;
  /* Add a dark-grey background on hover */
}

/* -----------------Thank you Popup ------------------- */
.popup {
  width: 400px;
  background: white;
  border-radius: 6px;
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.1);
  text-align: center;
  padding: 0 30px 30px;
  color: #333;
  visibility: hidden;
  transition: transform 0.4s, top 0.4s;
}

.open-popup {
  visibility: visible;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
}

.popup img {
  width: 100px;
  margin-top: -50px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  /* outline: none; */
}

.popup h2 {
  font-size: 38px;
  font-weight: 500;
  margin: 30px 0 10px;
}

.popup button {
  width: 100%;
  margin-top: 50px;
  padding: 10px 0;
  background: #409221;
  color: white;
  border: 0;
  outline: none;
  font-size: 18px;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);

}

/* TODO
Make logo white */
/* :root {
    --primary-color: #4891ff;
    --light-color: #f4f4f6;
    --dark-color: #111;
  }

  .navbar ul li a:hover {
    color: var(--primary-color);
  } */