/* General Styles */
.button {
  background-color: var(--primary);
  color: white;
  padding: 0.78rem 1rem;
  border-radius: 10rem;
  border: none;
  outline: none;
  font-weight: 500;
  width: fit-content;
  display: block;
  text-decoration: none;
}

.scroll__link{
  cursor: pointer;
}

.section_subtitle {
  color: #007f5f;
  padding-inline-start: 3.25rem;
  position: relative;
  font-size: 1.25rem;
  font-weight: 500;
  text-transform: capitalize;
  margin-bottom: 1rem;
}

.section_subtitle::before {
  content: "";
  position: absolute;
  width: 2.5rem;
  height: 1px;
  background-color: currentColor;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Header, Hero Styles */
.header {
  background: url("../images/hero-shapes.png");
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
  padding-top: 6rem;
}

.nav__wrapper{
  width: 100%;
  position: fixed;
  top: 1.5rem;
  z-index: 10;
}

nav {
  border-radius: 6.25rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(15px);
  padding: 1rem 2rem;
}

nav .burger{
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 6.25rem;
  background: #FFF;
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
}

nav .burger svg{
  width: 1rem;
  height: 1rem;
}

nav .burger, .mobile__nav{
  display: none;
}

.nav__logo svg {
  width: 11rem;
  cursor: pointer;
}

.nav__links {
  gap: 1.5rem;
}

.nav__links a {
  color: black;
  text-decoration: none;
}

.hero {
  margin-top: 3.38rem;
}

.hero__img {
  width: 32rem;
}

.hero__img img {
  width: 100%;
}

.hero__content h1 {
  color: #001913;
  max-width: 35.1rem;
}

.hero__content h4 {
  color: #3a5f56;
}

.hero__content .button {
  font-size: 1.125rem;
  padding: 1.09rem 2.03rem;
  margin-top: 1.5rem;
}

/* Features */

.features {
  border-radius: 1.875rem;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0px 4px 30px 0px rgba(124, 124, 124, 0.1);
  backdrop-filter: blur(15px);
  padding: 5rem;
  gap: 3rem;
  margin-top: -5rem;
}

.features__text h2 {
  max-width: 27.875rem;
}

.features__text p {
  max-width: 32.25rem;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.625rem;
  color: #557f75;
}

.features__item {
  padding: 1.5rem;
}

.features__item__icon {
  margin-bottom: 1.5rem;
}

.features__item h4 {
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.features__item p {
  color: #557f75;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5rem;
}

/* About */
.about__img img {
  width: 100%;
  border-radius: 1.875rem;
}

.about h2 {
  margin-bottom: 0.75rem;
}
.about h4 {
  color: #557f75;
}

/* Services */
.services__header {
  margin-bottom: 3.5rem;
}

.services__item__img {
  margin-bottom: 1rem;
  height: 17.5rem;
  flex-shrink: 0;
}

.services__item__img img {
  border-radius: 1.25rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services__item h4 {
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.services__item p {
  margin-bottom: 1.5rem;
  color: #557f75;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5rem;
}

.services__item__btn {
  color: #007f5f;
  gap: 0.75rem;
  cursor: pointer;
}

/* Clients */
.clients__header {
  margin-bottom: 3.5rem;
}

.clients {
  width: 100%;
}

.clients__list__wrapper {
  overflow-x: hidden;
  position: relative;
}

.clients__list {
  width: fit-content;
  animation-name: infiniteScroll;
  animation-duration: 20s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  gap: 3rem;
  will-change: transform;
}

.clients__item {
  height: 4rem;
}

.clients__item img {
  height: 100%;
  display: block;
}

.clients__overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    90deg,
    #fff 0%,
    transparent 15%,
    transparent 85%,
    #fff 100%
  );
}

@keyframes infiniteScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc((-100% / 3) - 1rem));
  }
}

/* Projects */

.projects__header {
  margin-bottom: 3.5rem;
}

.projects__list{
  margin-bottom: 3.5rem;
}

.projects__item {
  background-color: #eff7f5;
  padding: 2rem;
  gap: 1.5rem;
  border-radius: 1.25rem;
}

.projects__item__img {
  border-radius: 5px;
  height: 13.25rem;
  width: 20rem;
  flex-shrink: 0;
}

.projects__item__img img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
}

.projects__item__content h5 {
  margin-bottom: 0.75rem;
}
.projects__item__content p {
  color: #557f75;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  font-weight: 400;
}

.projects__item__btn {
  color: #007f5f;
  gap: 0.75rem;
  cursor: pointer;
}

.projects .button {
  font-size: 1.125rem;
  padding: 1.09rem 2.03rem;
  margin: auto;
  display: block;
}

/* Contact us */

.contact-us{
  background: url("../images/contact-bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding-block: 5rem;
}

.contact-us__box{
  border-radius: 1.875rem;
  background: rgba(255, 255, 255, 0.80);
  box-shadow: 0px 4px 30px 0px rgba(124, 124, 124, 0.10);
  backdrop-filter: blur(15px);
  padding: 3.75rem 5rem;
}

.contact-us__text h1{
  max-width: 27.875rem;
}

.contact-us__form{
  max-width: 33.5rem;
  width: 100%;
}

.contact-us__input{
  width: 100%;
  display: block;
  border-radius: 0.75rem;
  border: 1px solid #B0D7CD;
  background: #FFF;
  padding: 1rem;
  outline: none;
  margin-bottom: .5rem;
  height: 4rem;
}
textarea.contact-us__input{
  height: 7.5rem;
  resize: none;
}

.contact-us__form .button{
  width: 100%;
  margin-top: 0.5rem;
  padding-block: 1.09rem;
}

/* Footer */

footer{
  padding-block: 2.5rem;
}

.footer__top{
  margin-bottom: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.footer__bottom{
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.5);
}

.footer__logo{
  width: 11rem;
}

.footer__content{
  gap: 1rem;
}

.footer__content .section_subtitle{
  color: black;
  margin-bottom: 0;
  text-transform: none;;
}

.footer__social{
  gap: 0.5rem;
}

.footer__social__item{
  border-radius: 0.5rem;
  background: #FFF;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #007F5F;
  transition: .3s;
  width: 2.5rem;
  height: 2.5rem;
}
.footer__social__item svg{
  width: 0.937rem;
  height: 0.937rem;
}

.footer__social__item:hover{
  color: white;
  background-color: var(--primary);
}

/* Media Queries */
.thank-you{
  background: url("../images/hero-shapes.png");
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
  padding-top: 6rem;
}

.thank-you__text{
  border-radius: 1.875rem;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0px 4px 30px 0px rgba(124, 124, 124, 0.1);
  backdrop-filter: blur(15px);
  padding: 2.5rem;
  max-width: 45rem;
}

.thank-you__text h4{
  font-size: 1.25rem;
}

@media (max-width: 1024px) {
  .header{
    height: fit-content;
    padding-bottom: 9rem;
  }

  .features__text{
    flex-direction: column;
    gap: 1rem;
  }

  .features__text p, .features__text h2{
    max-width: unset;
  }
}

@media (max-width: 768px) {
  .nav__links{
    display: none !important;
  }

  nav .request_a_demo{
    display: none;
  }
  nav .burger{
    display: flex;
  }

  .mobile__nav{
    display: block;
    position: fixed;
    z-index: 11;
    inset: 0;
    background-image: url("../images/mobile_nav_bg.png");
    background-size: cover;
    padding: 2.5rem 2.5rem;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
  }

  .mobile__nav.active{
    opacity: 1;
    visibility: visible;
  }

  .mobile_nav__top{
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.10);
  }

  .mobile_nav__links{
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.10);
    gap: 2rem;
    font-size: 1.3rem;
  }

  .mobile_nav__links a{
    color: black;
    text-decoration: none;
  }

  .mobile_nav__top .close{
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 6.25rem;
    background: #FFF;
    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile_nav__top .close svg{
    width: 1rem;
    height: 1rem;
  }

  .navbar__bottom{
    gap: 1rem;
  }

  .navbar__bottom .section_subtitle{
    color: black;
    margin-bottom: 0;
    text-transform: none;
  }

  .navbar__social{
    gap: 0.5rem;
  }

  .navbar__social__item{
    border-radius: 0.5rem;
    background: #FFF;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007F5F;
    transition: .3s;
    width: 3rem;
    height: 3rem;
  }
  .navbar__social__item svg{
    width: 0.937rem;
    height: 0.937rem;
  }

  .navbar__social__item:hover{
    color: white;
    background-color: var(--primary);
  }

  .about__img{
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 640px) {
  .header{
    padding-top: 8rem;
  }
  .header nav{
    padding: 1rem 2rem;
  }
  .nav__logo svg{
    width: 10rem;
  }
  .hero{
    flex-direction: column;
    gap: 3rem;
  }
  .hero__img {
    width: 20rem;
    max-width: 100%;
    margin: auto;
  }
  /* .hero__img{
    display: none;
  } */

  .about h4{
    font-size: 1.25rem;
    line-height: 1.5;
  }
}
@media (max-width: 460px) {
  .features{
    padding: 3rem;
    gap: 1rem;
  }
  .clients__list{
    gap: 1.5rem;
  }
  .clients__item {
    height: 2.5rem;
  }

  .projects__item{
    flex-direction: column !important;
  }
  .projects__item__img{
    width: 100%;
  }
  .contact-us__box{
    padding: 3rem;
  }

  .footer__top{
    flex-direction: column;
    align-items: flex-start !important;
    gap: 1.5rem;
  }
}