/* ------------------------------------------Index Page------------------------------------------------------- */
.main-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #573236;
  height: 400px;
}

.main-banner h1 {
  color: #279e9b;
}

.hero {
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: 20%;
  background-size: cover;
  height: 900px;
}

.hero1 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: auto;
  height: 100%;
  gap: 3rem;
  background-color: white;
}

.hero1 .hero__image {
  width: 100%;
  height: 100%;
  /* background-attachment: scroll; */
  background-repeat: no-repeat;
  background-position: right top;
  background-size: cover;
}

.hero1 .text {
  width: 90vw;
  padding-bottom: 50px;
}

.hero1 .text h1 {
  font-weight: 200;
  font-size: 3rem;
  line-height: 2.8rem;
  margin: 0;
}

.hero1 .text .sub-head {
  margin-bottom: 30px;
}

.hero1 .text p {
  font-size: 1rem;
  margin: 4rem 0;
}

.hero1 .text button {
  background-color: #A3B8B4;
  font-family: "Nunito Sans";
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  color: white;
  border: none;
  cursor: pointer;

  &:hover {
    background-color: #c8d4d2;
  }
}

/* .hero1 img {
  position: relative;
  height: 490px;
  width: 90vw;
  object-fit: cover;
  object-position: 40% 0;
} */
.hero1 img {}

.index__section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 50px auto;
  overflow: hidden;
}

.green__bg {
  background-color: #D5E1DF;
  margin: 0;
  padding: 50px 0;
}

.green__bg h2 {
  /* color: #f2f2f2; */
}

.index__problems {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  gap: 2rem;
}

.index__problems>.problem__card {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  background-color: #f2f2f2;
  border-radius: 20px;
  padding: 30px;
  max-width: 300px;
}

.index__problems>.problem__card>h3 {
  min-height: 80px;
  margin: 0;
}

.index__problems>.problem__card>hr {
  height: 2px;
  width: 60px;
  color: #A3B8B4;
  background: #A3B8B4;
  font-size: 0;
  border: 0;
  margin-left: 0;
}

.index__problems>.problem__card>p {
  flex-grow: 1;
}

.index__problems.services__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: min(90vw, 1200px);
}

.services__grid>.problem__card {
  max-width: 420px;
  justify-self: center;
}

.card__button {
  align-self: flex-start;
  background-color: #A3B8B4;
  font-family: "Nunito Sans";
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  color: white;
  text-decoration: none;
  border: none;
  cursor: pointer;

  &:hover {
    background-color: #c8d4d2;
  }
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  width: min(90vw, 1000px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.credentials li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: min(100%, 300px);
  background-color: #f2f2f2;
  border-radius: 20px;
  padding: 20px 25px;
}

.credentials li i {
  font-size: 1.6rem;
  color: #72827f;
}

.flex__section {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: auto;
  height: 100%;
  gap: 2rem;
}

.flex__section.section__reverse {
  flex-direction: column-reverse;
}

.section__feature_image {
  width: min(80vw, 500px);
  min-height: 600px;
  /* background-attachment: scroll; */
  background-repeat: no-repeat;
  background-position: center 80%;
  background-size: cover;
}

.section__text {
  width: 90vw;
  margin: 0 2rem;
}

.support__section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: min(90vw, 1000px);
}

.support__text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* color: #f2f2f2; */
}

.support__text h3 {
  margin: 0;
}

.profile__section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.profile_image {
  border-radius: 50%;
  width: min(90vw, 500px);
}

.why__doterra {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  width: min(90vw, 1200px);
}

.why__doterra>img {
  width: min(90vw, 500px);
}

.class__section {
  width: min(90vw, 800px);
  text-align: center;
  margin: 0 auto;
}

.class__points {
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
  padding-bottom: 1rem;
}

.class__section button {
  background-color: #A3B8B4;
  font-family: "Nunito Sans";
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  color: white;
  border: none;
  cursor: pointer;

  &:hover {
    background-color: #c8d4d2;
  }
}

.faq {
  width: min(90vw, 800px);
}

.faq__section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq__button {
  background-color: #D5E1DF;
  border: 1px solid #A3B8B4;
  width: 100%;
  padding: 10px 20px;
  cursor: pointer;
}

.faq__button h3 {
  font-size: 1.3rem;
  text-align: left;
  margin: 0;
  color: #72827f;
}

.faq__answer {
  padding: 10px 20px;
  margin: 0;
}

.test {
  font-size: 0.8rem;
  font-style: italic;
}

.testimonials {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  width: min(90vw, 1200px);
}

.testimonial__card {
  display: flex;
  flex-direction: column;
  margin: 0;
  background-color: #f2f2f2;
  border-radius: 20px;
  padding: 30px;
}

.testimonial__card>i {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--colour-1);
}

.testimonial__card blockquote {
  flex-grow: 1;
  margin: 0;
}

.testimonial__card figcaption {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--font-colour);
}

.testimonials__note {
  width: min(90vw, 800px);
  margin: 2rem 0 0;
  text-align: center;
}

@media screen and (min-width: 425px) {}

@media screen and (min-width: 600px) {
  .index__problems.services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services__grid>.problem__card {
    max-width: none;
    justify-self: stretch;
  }
}

@media screen and (min-width: 768px) {
  .hero1 {
    flex-direction: row;
  }

  .hero1 .text {
    width: 50vw;
    margin-right: 2rem;
    padding-bottom: unset;
  }

  .hero1 .text h1 {
    font-size: 5rem;
    line-height: 5rem;
  }

  .hero1 .hero__image {
    width: 50vw;
    background-position: right;
  }

  .flex__section.section__reverse {
    flex-direction: row;
  }

  .section__feature_image {
    width: 60%;
  }

  .section__text {
    width: 40%;
  }

  .support__section {
    flex-direction: row;
  }

  .support__text {
    width: min(50%, 500px);
  }

  .profile__section {
    flex-direction: row;
  }

  .profile_image {
    width: min(50%, 500px);
  }

  .why__doterra {
    flex-direction: row;
  }

  .why__doterra>img {
    width: 50%;
  }
}

@media screen and (min-width: 1100px) {
  .index__problems.services__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .testimonials {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (min-width: 1024px) {}

@media screen and (min-width: 1200px) {}

@media screen and (min-width: 1440px) {}

@media screen and (min-width: 2000px) {}
