/* The below is an importing fonts through CSS */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
/* lightest shade */
/* second lightest shade */
/* in the middle */
/* second darkest shade */
/* darkest shade */
/* new */
body {
  line-height: 1.5;
  font-family: "Poppins", sans-serif;
  background-color: #a3b18a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

.home-page {
  margin: 10px auto 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.home-page_logo {
  flex-basis: 50%;
  flex-grow: 1;
  text-align: center;
  text-transform: capitalize;
  color: #fff;
  padding: 20px 10px;
}

.home-page_information {
  padding: 15px 20px;
  flex-grow: 1;
  flex-basis: 50%;
}

/* About us page */
.about_us-page {
  margin: 20px auto;
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 2;
  text-align: center;
  padding: 30px;
}

.about_us-heading {
  font: 2.5em sans-serif;
}

.about_us-sub-heading {
  font: 1.5em sans-serif;
}

.about_us-page p {
  max-width: 75%;
}

/* Services page */
.services-page {
  margin: 20px auto;
  padding: 20px 30px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
}

.services_page-heading {
  font: 1.5em sans-serif;
  line-height: 1.8;
}

.services_page-text {
  max-width: 60%;
}

.services_page-sub-heading {
  font: 1.2em sans-serif;
  text-align: center;
}

.services {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 20px 0;
  text-align: left;
}

.gardening {
  padding: 15px;
  max-width: 300px;
  line-height: 20px;
}

.landscaping {
  padding: 15px;
  max-width: 300px;
  line-height: 20px;
}

.irrigation {
  padding: 15px;
  max-width: 300px;
  line-height: 20px;
}

.rubble {
  padding: 15px;
  max-width: 300px;
  line-height: 20px;
}

.services_page-info {
  font: 0.9em sans-serif;
}

.vector {
  max-width: 150px;
  max-height: 150px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

/* portfolio page */
.portfolio-page {
  margin: 20px auto;
  padding: 20px 30px;
  overflow: auto;
}

.project-ls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}

.project-rs {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  justify-content: flex-start;
  align-items: center;
}

.project-images {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-information {
  padding: 10px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 10px;
}

/* Hide the images by default */
.mySlides {
  display: none;
  width: 600px;
}

/* Next & previous buttons */
.prev,
.next {
  border: 1px solid;
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 10px;
  border-radius: 3px 0 0 3px;
}

/* Position the "previous button" to the left */
.prev {
  left: 10px;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
  background: #a3b18a;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* testimonials page */
.testimonials-page {
  margin: 20px auto;
  padding: 20px 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.declaration {
  margin: 5px;
  padding: 20px;
  text-align: center;
  width: clamp(400px, 40%, 600px);
}

.reviews {
  margin: 5px;
  width: clamp(450px, 100%, 800px);
  align-items: center;
  justify-content: center;
  position: relative;
  /* delete the following */
}

.reviewSection {
  overflow-x: hidden;
  overflow-y: scroll;
  margin-bottom: 20px;
}

.review-box {
  padding: 10px;
  display: flex;
  flex-direction: column;
  width: clamp(300px, 100%, 100%);
  margin: 0 10px;
  line-height: 1.5;
  border-bottom: 5px solid lightgrey;
  /* delete the following */
  background-color: white;
}

.review-title {
  font-weight: 900;
  padding: 5px;
}

.review-message {
  padding: 5px;
}

.review-input {
  margin: auto;
  width: 50%;
  display: flex;
  flex-direction: column;
  width: 400px;
  padding: 10px;
}

.review-input-box {
  padding: 10px;
  margin-bottom: 10px;
}

.review__submit {
  background-color: #a3b18a;
  color: #0000005e;
  text-align: center;
  padding: 5px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
  font-size: 15px;
}

.review__submit:hover {
  color: #000000;
}

.review__submit:active {
  transform: scale(0.9);
}

.seeAll {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 50px;
  width: 100%;
  text-align: right;
  background-color: #a3b18ab2;
  backdrop-filter: blur(1px);
  display: flex;
  align-items: center;
  justify-content: end;
  padding: 20px;
}

.seeAllReviews {
  display: flex;
  flex-direction: column;
}

.seeAllContainer {
  padding: 20px;
}

.seeAllReviewsContainer {
  width: 80%;
  height: 80%;
  overflow-x: hidden;
  overflow-y: scroll;
}

.exitReviews {
  height: 50px;
  width: 80%;
  text-align: right;
}

.inline {
  display: inline-block;
}

/* contact page */
.contact-page {
  margin: 20px auto;
  padding: 20px 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.contact_decoration {
  max-width: 1000px;
  margin-right: 10px;
  padding: 20px;
  line-height: 1.8;
}

.contact_decoration a {
  color: #3a3a3a;
}

.contact_decoration a:hover {
  color: #fff;
}

.contact_form {
  margin-left: 10px;
  padding: 20px;
  min-width: 400px;
}

.main__contact {
  position: relative;
  height: 80%;
  margin-top: 10px;
}

.contact__heading {
  position: absolute;
  margin: 5px;
  width: 40%;
}

.contact__header {
  text-align: left;
  font-family: "Times New Roman", Times, serif;
  font-size: 40px;
  color: #000000c4;
  padding: 10px 0 0 10px;
  /* display: grid; */
}

.contact__links {
  font-weight: 500;
}

.current {
  position: relative;
  border: 1px solid black;
}

.contact__inputs {
  position: absolute;
  right: 0;
  text-align: left;
  margin: 5px;
  width: 55%;
  display: block;
  padding: 10px;
  font-size: 14px;
}

.input {
  margin: 6px;
  border: none;
  padding: 10px;
  width: 90%;
  outline: none;
  box-sizing: border-box;
  resize: vertical;
  border-radius: 10%;
}

.input-active {
  border-bottom: 5px solid green;
}

.input:hover {
  border-bottom: 5px solid green;
}

.input-error {
  border-bottom: 5px solid red;
}

.input__message {
  height: 100px;
}

.contact__submit {
  background-color: #a3b18a;
  padding: 8px 25px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
  margin-right: 30px;
  color: #0000005e;
  font-size: 20px;
}

.contact__submit:hover {
  color: #000000;
}

.contact__submit:active {
  transform: scale(0.9);
}

.contact__links {
  position: relative;
  width: 100%;
  height: 150px;
  text-align: left;
  font-size: 10px;
  padding-top: 30%;
}

.error_message {
  color: #ff0000;
  font-size: 1rem;
  font-weight: 500;
  padding-left: 10px;
}

.success_message {
  color: #000000;
  font-weight: 500;
  font-size: 1rem;
  padding-left: 10px;
  padding-bottom: 10px;
}

.robot-check {
  background-color: #fff;
  width: 500px;
  height: 300px;
  border-radius: 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 2;
  position: relative;
}

.robot-check-click {
  background-color: #eeeeee;
  width: 350px;
  border: 0.5px solid #e4e4e4;
  border-radius: 2%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.recaptcha {
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.recaptcha-check-presentation {
  position: relative;
  width: 30px;
  height: 30px;
  margin-right: 20px;
}

.recaptcha-check-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 6px solid #f3f3f3;
  border-radius: 50%;
  border-top: 6px solid #208bd3;
  width: 30px;
  height: 30px;
  -webkit-animation: spin 0.8s linear infinite;
  /* Safari */
  animation: spin 0.8s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.recaptcha-check-confirm {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.exit {
  color: #000;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 40px;
}

/*  below is how you declare variables. Instead of declaring them in the body */
.container {
  max-width: 1500px;
  margin: auto;
  /* Remember to remove */
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.align-items-center {
  align-items: center;
}

.justify-content-between {
  justify-content: space-between;
}

/* header */
.header {
  background-color: #a3b18a;
  padding: 12px 0;
  line-height: 1.5;
  font-weight: 600;
}

.header .logo,
.header .nav {
  padding: 0 15px;
}

.header .logo a {
  font-size: 30px;
  color: #000;
  text-transform: capitalize;
}

.header .nav ul li {
  display: inline-block;
  margin-left: 40px;
}

.header .nav ul li a {
  display: block;
  font-size: 16px;
  text-transform: capitalize;
  color: #000;
  padding: 10px 0;
  transition: all 0.5s ease;
}

.header .nav ul li a.active,
.header .nav ul li a:hover {
  color: #fff;
}

.header .nav ul li a:hover {
  padding: 10px;
}

.hover-underline-animation-header {
  position: relative;
}

.hover-underline-animation-header:after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #fff;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.hover-underline-animation-header:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* navbar button */
.nav-toggler {
  height: 34px;
  width: 44px;
  background-color: rgba(0, 0, 0, 0.445);
  border-radius: 4px;
  cursor: pointer;
  border: none;
  display: none;
  margin-right: 15px;
}

.nav-toggler:focus {
  outline: none;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.nav-toggler span {
  height: 2px;
  width: 20px;
  background-color: #fff;
  display: block;
  margin: auto;
  position: relative;
}

.nav-toggler span::before,
.nav-toggler span::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
}

.nav-toggler span::before {
  transform: translateY(-6px);
}

.nav-toggler span::after {
  transform: translateY(6px);
}

/* footer */
.footer {
  background-color: #34362b;
  padding: 70px 0;
}

.footer-col {
  width: 30%;
  padding: 0 15px;
}

.footer-col h4 {
  position: relative;
  font-size: 18px;
  color: #fff;
  text-transform: capitalize;
  margin-bottom: 35px;
  font-weight: 500;
}

.footer-col h4::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  background-color: #e91e63;
  height: 2px;
  box-sizing: border-box;
  width: 50px;
}

.footer-col ul li:not(:last-child) {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 16px;
  text-transform: capitalize;
  color: #fff;
  text-decoration: none;
  font-weight: 300;
  color: #bbb;
  display: block;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: #fff;
  padding-left: 8px;
}

.hover-underline-animation-footer {
  position: relative;
}

.hover-underline-animation-footer:after {
  content: "";
  position: absolute;
  width: 40%;
  transform: scaleX(0);
  height: 2px;
  background-color: #fff;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.hover-underline-animation-footer:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.footer-col .social-links a {
  display: inline-block;
  height: 40px;
  width: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0 10px 10px 0;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: #fff;
  transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
  color: #24262b;
  background-color: #fff;
}

/* decoration */
.overlay {
  background-color: rgba(0, 0, 0, 0.671);
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.looker {
  border: 1px solid black;
}

.hide-content {
  display: none;
}

.disposables {
  height: 50vh;
  background-color: rgba(255, 0, 0, 0.123);
}

/* navbar responsiveness */
@media (max-width: 1000px) {
  .nav-toggler {
    display: block;
  }

  .header .nav {
    width: 100%;
    padding: 0;
    max-height: 0px;
    overflow: hidden;
    visibility: hidden;
    transition: all 0.5s ease;
  }

  .header .nav.open {
    visibility: visible;
  }

  .header .nav ul {
    padding: 12px 15px 0;
    margin-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.4);
  }

  .header .nav ul li {
    display: block;
    margin: 0;
  }

  .contact_decoration {
    margin-bottom: 20px;
  }

  .hover-underline-animation-header {
    position: relative;
  }

  .hover-underline-animation-header:after {
    content: "";
    position: absolute;
    width: 15%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
  }

  .hover-underline-animation-header:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }
}
/* This is the home page. the face of the operation */
@media (min-width: 751px) {
  .home-page_logo img {
    width: clamp(100px, 20vw, 300px);
    height: clamp(100px, 20vw, 300px);
  }
}
@media (max-width: 750px) {
  .home-page_logo img {
    width: 250px;
    height: 250px;
  }

  .home-page {
    margin: 10px auto 30px;
    flex-direction: column;
  }

  .home-page_information p {
    text-align: center;
  }

  .home-page_information h3 {
    text-align: center;
  }

  .home-page_information li {
    padding-left: 40%;
  }

  .header .nav ul li a:hover {
    padding-left: 10px;
  }
}
/* footer responsive */
@media (max-width: 767px) {
  .footer-col {
    width: 25%;
    margin-bottom: 30px;
  }
}
@media (max-width: 574px) {
  .footer-col {
    width: 100%;
  }
}
@media (min-width: 1500px) {
  .reviewSection {
    height: 50vh;
  }

  .header {
    height: 10vh;
  }

  section {
    height: 60vh;
  }

  .footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 25vh;
    padding-top: 50px;
  }
}
@media (max-width: 750px) {
  .declaration,
.reviews,
.review-box {
    min-width: 350px;
    margin: 0;
  }

  .review-input {
    width: clamp(300px, 100%, 400px);
  }

  .reviews {
    overflow: visible;
  }

  .declaration {
    line-height: 2;
    width: 80%;
  }

  .reviews {
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .seeAllReviews {
    padding: 20px;
  }

  .exitReviews {
    top: 50px;
    right: auto;
  }

  .seeAllReviewsContainer {
    width: 90%;
  }

  .project-ls,
.project-rs {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .project-information {
    margin: 10px 0;
  }

  .project-images {
    width: 100%;
    height: 100%;
  }
}