/* WELCOME */

.welcome {
  padding: 0;
}

.welcome__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.welcome__texts {
  text-align: left;
  padding: 8rem 6rem;
}

.welcome__texts h1 {
  font-size: 2.75rem;
  line-height: 3.5rem;
  font-weight: 900;
  margin-bottom: 2rem;
  max-width: 450px;
  text-transform: uppercase;
}

.welcome__texts h1 span {
  color: #438921;
}

.welcome__texts p {
  font-size: 1.075rem;
  line-height: 1.5rem;
  margin-bottom: 3rem;
  max-width: 400px;
}

.welcome__img {
  position: relative;
}

.welcome__img svg {
  position: absolute;
  left: -1px;
  top: 0;
  height: 100%;
}

.welcome__img img {
  object-fit: cover;
}

.welcome__img img {
  height: 100%;
}

.welcome__buttons {
  display: flex;
}

.welcome__buttons a:nth-child(1) {
  display: block;
  width: fit-content;
  color: white;
  font-weight: 600;
  background-color: #0d2b05;
  padding: 1rem 1.5rem;
  border-radius: 0.25rem;
  margin-right: 1rem;
}

.welcome__buttons a:nth-child(2) {
  display: block;
  width: fit-content;
  color: #0d2b05;
  font-weight: 600;
  padding: 1rem 0 1rem 1.5rem;
}

@media only screen and (max-width: 768px) {
  .welcome__row {
    grid-template-columns: 1fr;
  }
  .welcome__texts {
    padding: 6rem 2rem;
  }
  .welcome__texts h1 {
    font-size: 2rem;
    line-height: 2.5rem;
  }
  /* .welcome__buttons a:nth-child(1),
  .welcome__buttons a:nth-child(2) {
    font-size: 0.875rem;
  } */
  .welcome__img {
    display: none;
  }
}

/* ADVANTAGES */

.advantages {
  padding: 5rem 2rem;
  color: white;
  background: #438921;
}

.advantages h1 {
  margin-bottom: 2rem;
  font-weight: 900;
}

.advantages > p {
  font-size: 1.25rem;
  max-width: 925px;
  margin: auto;
  margin-bottom: 4rem;
  font-weight: 500;
}

.advantages__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1rem;
  width: fit-content;
  margin: auto;
  margin-bottom: 4rem;
}

.advantages__box {
  max-width: 365px;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.025), 0 4px 6px -4px rgb(0 0 0 / 0.025);
}

.advantages__box img {
  height: 100px;
  margin-bottom: 2rem;
}

.advantages__box h2 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.advantages a {
  display: block;
  width: fit-content;
  margin: auto;
  color: white;
  font-size: 1.125rem;
  font-weight: 700;
  border: 2px solid white;
  padding: 1.25rem 3.5rem;
  border-radius: 0.75rem;
}

@media only screen and (max-width: 768px) {
  .advantages__row {
    grid-template-columns: 1fr;
  }
}

/* REFERENCES */

.references {
  padding: 6rem 2rem 0;
  margin-bottom: -10rem;
}

.references h1 {
  margin-bottom: 2rem;
  font-weight: 900;
}

.references p {
  font-size: 1.25rem;
  font-weight: 500;
  max-width: 1150px;
  margin: auto;
  margin-bottom: 4rem;
}

.references__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  width: fit-content;
  margin: auto;
}

.references_img {
  max-width: 425px;
  object-fit: cover;
}

.references_img img {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
}

@media only screen and (max-width: 768px) {
  .references__grid {
    grid-template-columns: 1fr;
  }
}

/* SERVICES */

.services {
  padding: 18rem 2rem 10rem;
  color: white;
  background: #0d2b05;
}

.services h1 {
  font-weight: 800;
  max-width: 1200px;
  margin: auto;
  margin-bottom: 8rem;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  row-gap: 6rem;
  column-gap: 7rem;
  width: fit-content;
  margin: auto;
  text-align: left;
}

.services__box {
  max-width: 350px;
  /* padding: 3rem 2rem; */
  /* border: 1px solid rgba(255, 255, 255, 0); */
  border-radius: 1rem;
  transition: 1s;
}

.services__box:hover {
  transform: translateY(-2px);
  /* border: 1px solid rgba(255, 255, 255, 0.25); */
}

.services__box img {
  width: auto;
  height: 100px;
  margin-bottom: 2rem;
}

.services__box h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.services__box p {
  font-size: 1.075rem;
  font-weight: 500;
  opacity: 0.875;
}

@media only screen and (max-width: 768px) {
  .services h1 {
    display: none;
  }
  .services__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* BIO */

.bio {
  padding: 4rem 0 2rem;
}

.bio__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.bio__texts {
  text-align: left;
  padding: 1rem 3rem 1rem 6rem;
}

.bio__texts h1 {
  font-weight: 800;
  margin-bottom: 2rem;
}

.bio__texts h1 span {
  color: #438921;
}

.bio__texts p {
  font-size: 1.075rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.bio__texts p span {
  font-weight: 600;
}

.bio__bottom-row {
  display: flex;
  align-items: center;
}

.bio__bottom-row a {
  display: flex;
  height: fit-content;
  margin-left: auto;
  color: black;
  font-weight: 700;
}

.bio__bottom-row a img {
  width: 45px;
  margin-right: 0.5rem;
}

.bio__texts img {
  width: 250px;
}

.bio__img img {
  max-width: 575px;
  margin-top: 1rem;
  margin-left: auto;
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
}

@media only screen and (max-width: 768px) {
  .bio__row {
    grid-template-columns: 1fr;
  }
  .bio__texts {
    padding: 2rem;
  }
  .bio__texts h1 {
    text-align: right;
  }
  .bio__img {
    order: -1;
  }
  .bio__img img {
    width: 85%;
  }
  .bio__bottom-row {
    flex-direction: column;
    align-items: baseline;
  }
  .bio__texts img {
    margin-bottom: 1rem;
  }
}

/* CHOOSE */

.choose {
  padding: 6rem 2rem;
}

.choose h1 {
  font-weight: 800;
  margin-bottom: 3rem;
}

.choose h1 span {
  color: #438921;
}

.choose__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  width: fit-content;
  margin: auto;
  margin-bottom: 3rem;
}

.choose__box {
  max-width: 350px;
  text-align: center;
  padding: 3rem 2rem;
  border: 2px solid black;
  border-radius: 1rem;
}

.choose__box img {
  height: 75px;
  margin-bottom: 2rem;
}

.choose__box h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.choose__box p {
  font-weight: 500;
}

.choose h3 {
  margin-bottom: 1.5rem;
}

.choose a {
  display: block;
  width: fit-content;
  margin: auto;
  color: white;
  font-size: 1.125rem;
  font-weight: 700;
  background-color: #0d2b05;
  padding: 1.25rem 3.75rem;
  border-radius: 0.75rem;
}

@media only screen and (max-width: 768px) {
  .choose {
    padding-top: 4rem;
  }
  .choose__row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* TESTIMONIAL */

.testimonial {
  padding: 5rem 2rem 7rem;
  background: #438921;
  color: white;
}

.testimonial h1 {
  margin-bottom: 3rem;
}

.testimonial__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  width: fit-content;
  margin: auto;
}

.testimonial__box {
  position: relative;
  max-width: 375px;
  text-align: left;
  padding: 3rem 2rem 4rem;
  border: 1px solid white;
  border-radius: 1rem;
}

.testimonial__box h2 {
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.testimonial__box h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.testimonial__box p {
  margin-bottom: 1.25rem;
}

.testimonial__box ul {
  list-style-type: disc;
  list-style-position: inside;
  padding-left: 0.5rem;
}

.testimonial__box ul li:before {
  content: "";
  margin-left: -0.5rem;
}

.testimonial__stars {
  position: absolute;
  bottom: -1.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  letter-spacing: 0.125rem;
  background: #438921;
  border: 1px solid white;
  border-radius: 0.75rem;
  width: fit-content;
  padding: 0.5rem 2rem;
}

@media only screen and (max-width: 768px) {
  .testimonial__row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* BLOG */

.blog {
  padding: 8rem 2rem 10rem;
}

.blog h1 {
  margin-bottom: 6rem;
  font-weight: 800;
}

.blog h1 span {
  color: #438921;
}

.blog__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 2rem;
  width: fit-content;
  margin: auto;
}

.blog__box {
  max-width: 325px;
  display: flex;
  flex-direction: column;
  text-align: left;
  cursor: pointer;
}

.blog__imgbox {
  width: 100%;
  height: 50%;
  margin-bottom: 1.5rem;
}

.blog__imgbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}

.blog__box h2 {
  font-weight: 800;
  margin-bottom: 1rem;
}

.blog__box p {
  margin-bottom: 2rem;
}

.blog__box a {
  margin-top: auto;
  font-weight: 800;
  color: #438921;
}

@media only screen and (max-width: 768px) {
  .blog__row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
