/*-- hero --*/
/*-- hero --*/
/*-- hero --*/

#index-hero {
  padding: 17rem 2rem 10rem;

  color: var(--clr-2);
  background-color: var(--clr-paragraphs);
  background-image: url(../img/bg/bg-main.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media screen and (max-width: 900px) {
  #hero {
    background-position: top;

    background-size: cover;
  }
}

#index-hero p,
#index-hero h2,
#index-hero .btn-3 {
  color: var(--clr-2);
}
#index-hero span {
  font-family: DMSerif;
}

#index-hero-box {
  width: 70%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;

  text-align: center;
}
#index-hero-box > .btn-flex {
  margin-top: 2rem;
}

/*-- about --*/
/*-- about --*/
/*-- about --*/

#about {
  background-color: var(--clr-2);
}
#about span {
  font-weight: 600;
}

#about-box {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(2, calc(50% - 5rem));
  gap: 10rem;
}
#about-box > div:nth-child(1) {
  padding: 2rem;

  display: flex;
  flex-direction: column;
  justify-content: start;
  align-content: start;
  gap: 0.5rem;
}
#about-box > div:nth-child(1) > .btn-flex {
  margin-top: 2rem;
}

#about-box > div:nth-child(2) {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(2, calc(50% - 0.5rem));
  gap: 1rem;
}
#about-box > div:nth-child(2) > div {
  border-radius: 0.5rem;
}
#about-box > div:nth-child(2) > div:nth-child(1) {
  background-image: url(../img/cont/photo-3.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  grid-row-start: 1;
  grid-row-end: 3;
}
#about-box > div:nth-child(2) > div:nth-child(2) {
  background-image: url(../img/cont/photo-10.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
#about-box > div:nth-child(2) > div:nth-child(3) {
  background-image: url(../img/cont/photo-5.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/*-- services --*/
/*-- services --*/
/*-- services --*/

#services {
  padding-top: 0;

  background-color: var(--clr-2);
}
#services-box {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(2, calc(50% - 1rem));
  gap: 2rem;
}
#services-box > div {
  padding: 2rem;

  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 0.5rem;

  border: solid 1px var(--clr-background);
  border-radius: 0.5rem;
}
#services-box > div img {
  width: 2.5rem;
  margin-top: -3rem;
  margin-bottom: 2rem;
  padding: 0.5rem;

  background-color: var(--clr-3);
  border-radius: 0.5rem;
}

/*-- mission --*/
/*-- mission --*/
/*-- mission --*/

#mission {
  background-color: var(--clr-background);
}

#mission span {
  font-weight: 600;
}

#mission-box {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(2, calc(50% - 5rem));
  gap: 10rem;
}
#mission-box > div:nth-child(1) {
  padding: 2rem;

  display: flex;
  flex-direction: column;
  justify-content: start;
  align-content: start;
  gap: 0.5rem;
}
#mission-box > div:nth-child(1) > div {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: start;
  gap: 1rem;

  margin-top: 1rem;
}
#mission-box > div:nth-child(1) > div img {
  width: 2.5rem;
  padding: 0.5rem;

  background-color: var(--clr-3);
  border-radius: 0.5rem;
}

#mission-box > div:nth-child(2) {
  background-image: url(../img/cont/photo-1.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  border-radius: 0.5rem;
}

/*-- how --*/
/*-- how --*/
/*-- how --*/

#how {
  background-color: var(--clr-2);
}
#how-box {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(2, calc(50% - 5rem));
  gap: 10rem;
}
#how-box > div:nth-child(1) {
  background-image: url(../img/cont/photo-4.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  border-radius: 0.5rem;
}

#how-box > div:nth-child(2) {
  padding: 2rem;

  display: flex;
  flex-direction: column;
  justify-content: start;
  align-content: start;
  gap: 0.5rem;
}
#how-box > div:nth-child(2) > div {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;

  margin-top: 1rem;
}
#how-box > div:nth-child(2) > div > div:nth-child(1) {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.4rem 0.5rem 0.5rem;

  color: var(--clr-2);
  background-color: var(--clr-3);
  border-radius: 0.5rem;

  text-align: center;
}
#how-box > div:nth-child(2) > div > div:nth-child(1) h4 {
  color: var(--clr-2);
}

/*-- home --*/
/*-- home --*/
/*-- home --*/

#home {
  background-color: var(--clr-background);
}
#home-box {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(2, calc(50% - 5rem));
  gap: 10rem;
}
#home-box > div:nth-child(1) {
  padding: 2rem;

  display: flex;
  flex-direction: column;
  justify-content: start;
  align-content: start;
  gap: 0.5rem;
}
#home-box > div:nth-child(1) > .btn-flex {
  margin-top: 2rem;
}
#home-box > div:nth-child(2) {
  background-image: url(../img/cont/photo-8.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  border-radius: 0.5rem;
}

/*-- live --*/
/*-- live --*/
/*-- live --*/

#live {
  background-color: var(--clr-2);
}
#live-box {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(2, calc(50% - 5rem));
  gap: 10rem;
}
#live-box > div:nth-child(1) {
  background-image: url(../img/cont/photo-3.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  border-radius: 0.5rem;
}
#live-box > div:nth-child(2) {
  padding: 2rem;

  display: flex;
  flex-direction: column;
  justify-content: start;
  align-content: start;
  gap: 0.5rem;
}
#live-box > div:nth-child(2) > .btn-flex {
  margin-top: 2rem;
}

/*-- other --*/
/*-- other --*/
/*-- other --*/

#other {
  background-color: var(--clr-background);
}
#other-box {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(2, calc(50% - 5rem));
  gap: 10rem;
}
#other-box > div:nth-child(1) {
  padding: 2rem;

  display: flex;
  flex-direction: column;
  justify-content: start;
  align-content: start;
  gap: 0.5rem;
}
#other-box > div:nth-child(1) ul li {
  list-style-type: square;
  list-style-position: inside;
}
#other-box > div:nth-child(2) {
  background-image: url(../img/cont/photo-13.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  border-radius: 0.5rem;
}

/*-- testimonials --*/
/*-- testimonials --*/
/*-- testimonials --*/

#testimonials {
  background-color: var(--clr-2);
}
#testimonials span {
  color: var(--clr-c);
}
#testimonials-box {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(3, calc(33.33% - 1rem));
  gap: 1.5rem;
}
#testimonials-box > div {
  padding: 2rem;

  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 0.5rem;

  border: solid 1px var(--clr-background);
  border-radius: 0.5rem;
}

.stars {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  gap: 0.5rem;

  margin-bottom: 3rem;
}
.stars img {
  width: 1.5rem;
}

/*-- contact --*/
/*-- contact --*/
/*-- contact --*/

#contact {
  padding-top: 0;

  background-color: var(--clr-2);
}
#contact .container {
  padding: 5rem;

  background-color: var(--clr-background);
  border-radius: 0.5rem;
}
#contact-box {
  width: 900px;
}
#contact-box > form {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(6, calc(16.66% - 0.83rem));
  gap: 1rem;
}
#contact-box > form > div {
  width: 100%;

  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
}
#contact-box > form > div:nth-child(1) {
  grid-column-start: 1;
  grid-column-end: 7;
}
#contact-box > form > div:nth-child(2) {
  grid-column-start: 1;
  grid-column-end: 3;
}
#contact-box > form > div:nth-child(3) {
  grid-column-start: 3;
  grid-column-end: 5;
}
#contact-box > form > div:nth-child(4) {
  grid-column-start: 5;
  grid-column-end: 7;
}

#contact-box > form > div:nth-child(5) {
  grid-column-start: 1;
  grid-column-end: 4;
}
#contact-box > form > div:nth-child(6) {
  grid-column-start: 4;
  grid-column-end: 7;
}

#contact-box > form > div:nth-child(7) {
  grid-column-start: 1;
  grid-column-end: 7;

  height: 10rem;
}
#contact-box > form > button:nth-child(8) {
  grid-column-start: 3;
  grid-column-end: 5;
}

#contact-box > form > div > label {
  font-weight: 600;
}
#contact-box > form > div > input,
#contact-box > form > div > textarea {
  width: 100%;
  height: 100%;
  padding: 1rem;

  border: none;
  border-radius: 0.5rem;
}
