.hero {
  /* height: 800px; */
  background-color: #D1C4E9;
  aspect-ratio: 3/2.5;
  clip-path: ellipse(140% 100% at 50% 0%);
  margin-top: -120px;
  padding-top: 100px;
  padding-bottom: 120px;
  overflow-x: clip;
}
.hero1 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: start;
  /* width: 1000px; */
  height: 300px;
  gap: 3rem;

}

.hero1 .text {
  margin-top: 80px;
  margin-left: 30px;
  width: 90vw;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.hero1 .text h1 {
  font-family: "Baloo2";
  font-weight: 800;
  font-size: 2rem;
  line-height: 2rem;
  margin: 0;
}
.hero1 .text p {
  font-size: 1.2rem;
  margin: 0;
}
.hero1 img:first-of-type {
  position: absolute;
  height: auto;
  width: 350px;
  left: -100px;
  z-index: -1;
}
.hero1 img:last-of-type {
  display: none;
  width: 45%;
  margin: auto;
  margin-top: 0;
  margin-right: 0;
}
.hero2 {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 70%;
  gap: 2rem;
  margin: auto;
  margin-top: 50px;
}
.hero2 img {
  width: 100%;
}
.hero2 .text h2 {
  font-family: "Baloo2";
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 2.2rem;
}
.hero2 .text p {
  font-size: 1.2rem;
  margin: 0;
}
.features {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 50px 20px;
}
.features h2 {
  font-size: 1.8rem;
  text-align: center;
}
.features .features-icons {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-items: start;
  gap: 1.8rem;
}
.features .features-icons .each-feature {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 200px;
}
.features .features-icons .each-feature h3 {
  text-align: center;
  margin: 0;
  margin-top: 1rem;
  line-height: 1.3rem;
}
.features .features-icons .each-feature p {
  text-align: center;
  margin: 0;
  font-size: 0.8rem;
}
.team-building {
  display: flex;
  flex-wrap: wrap-reverse;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: #424242;
  color: white;

  --s: 155px; /* control the size*/
  --c1: #383838;
  --c2: #424242;

  --_c:5%,#0000 75%,var(--c1) 0;
  --_g:/var(--s) var(--s) conic-gradient(at var(--_c));
  --_l:/var(--s) var(--s) conic-gradient(at 50% var(--_c));
  background:
    0 calc(7*var(--s)/10) var(--_l),
    calc(var(--s)/2) calc(var(--s)/5) var(--_l),
    calc(var(--s)/5) 0 var(--_g),
    calc(7*var(--s)/10) calc(var(--s)/2) var(--_g),
    conic-gradient(at 90% 90%,var(--c1) 75%,var(--c2) 0)
    0 0/calc(var(--s)/2) calc(var(--s)/2);

}
.team-building img {
  width: 100%;
}
.team-building .text {
  display: flex;
  flex-direction: column;
  width: 90vw;
  padding: 50px 20px;
}
.team-building .text h2 {
  font-family: "Open Sans";
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 2.5rem;
  margin: 0;
}
.team-building .text p {
  font-size: 1.2rem;
  /* margin: 0; */
}
.team-building a {
  margin-top: 0.5rem;
  padding: 0.5rem 3rem;
  border: none;
  width: fit-content;
  /* border-radius: 20px; */
  cursor: pointer;

  background-color: #EF483F;
  color: white;
  &:hover {
    background-color: #FF8A65;
    color: white;
  }
}
.team-building a>button {
  background-color: unset;
  border: unset;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  color: white;
  cursor: pointer;
}

.trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* background-color: #FF8A65; */
  margin-top: 100px;
  margin-bottom: 50px;
  min-height: 800px;

  /* --mask:
    radial-gradient(197.23px at 50% 270px,#000 99%,#0000 101%) calc(50% - 200px) 0/400px 51% repeat-x,
    radial-gradient(197.23px at 50% -170px,#0000 99%,#000 101%) 50% 100px/400px calc(51% - 100px) repeat-x,
    radial-gradient(197.23px at 50% calc(100% - 270px),#000 99%,#0000 101%) calc(50% - 200px) 100%/400px 51% repeat-x,
    radial-gradient(197.23px at 50% calc(100% + 170px),#0000 99%,#000 101%) 50% calc(100% - 100px)/400px calc(51% - 100px) repeat-x;
  -webkit-mask: var(--mask);
          mask: var(--mask); */
}
.trust .before,
.trust .after {
  width: 100%;
}
.trust-content {
  position: relative;
  z-index: 1;
  background-color: #FF8A65;
  display: flex;
  flex-wrap: wrap;

  align-items: center;
  justify-content: center;
  /* width: min(80vw, 800px); */
  margin-top: -10px;
  margin-bottom: -10px;
  width: 100%;
  gap: 2rem;
}
.trust-content img {
  width: 100%;
}
.trust .text {
  width: min(80vw, 500px);
}
.trust .text h2 {
  font-family: "Baloo2";
  font-weight: 700;
  font-size: 2rem;
  color: #FFFCF7;
  text-align: right;
}
.trust .text p {
  font-family: "Baloo2";
  font-weight: 700;
  font-size: 2rem;
  line-height: 2rem;
  text-align: right;
}


.test {
  position: relative;
  display: flex;
  justify-content: start;
  align-items: center;
  margin: auto;
  /* width: 100%; */
  overflow-x: scroll;

  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
}
.testimonials {
  display: flex;
  justify-content: start;
  align-items: stretch;
  gap: 1rem;
}
.testimonials::-webkit-scrollbar { /* WebKit */
  display: none;
  width: 0;
  height: 0;
}

.testimony {
  font-family: "Baloo2";
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.5rem;
  border-radius: 20px;
  color: #FFFCF7;
  background-color: #EF483F;
  padding: 30px;
  width: 80vw;

  scroll-snap-align: center;
}
.testimony i {
  font-size: 4rem;
  margin-left: -20px;
}

.testimony-name {
  font-size: 0.9rem;
  font-weight: 300;
  margin-top: 0.5rem;
}

.button-left, .button-right {
  cursor: pointer;
  position: sticky;
  width: auto;
  padding: 10px 16px;
  background-color: rgba(255, 252, 247, 0.1);
  color: #FF8A65;
  font-weight: bold;
  font-size: 16px;
  transition: 0.6s ease;
  border: 1px solid #FF8A65;
  border-radius: 50%;
  user-select: none;
  aspect-ratio: 1/1;
  &:hover {
    background-color: #EF483F;
    color: #FFFCF7;
    /* border: 1px solid #EF483F; */
  }
}

.test .button-left {
  left: 20px;
}

.test .button-right {
  right: 20px;
}
@media screen and (min-width: 425px) {
  .hero1 .text {
    margin-top: 50px;
    margin-left: 50px;
}
  .hero1 .text h1 {
    font-size: 2.2rem;
    line-height: 2.2rem;
  }

}
@media screen and (min-width: 600px) {
  .hero1 .text {
    position: absolute;
    left: 30%;
    top: 0;
    width: 400px;
  }
  .features h2 {
    font-size: 2rem;
  }
}
@media screen and (min-width: 768px) {
  .hero {
    clip-path: ellipse(85% 100% at 50% 0%);
  }
  .hero1 {
    height: unset;
    width: unset;
  }
  .hero1 img:first-of-type {
    position: relative;
    height: unset;
    left: 0;

    width: 45%;
    margin: auto;
    /* margin-bottom: 0; */
    margin-left: 0;
  }
  .hero1 img:last-of-type{
    display: block;
    margin-left: 200px;
  }
  .hero1 .text {
    background-color: unset;
    backdrop-filter: unset;
    -webkit-backdrop-filter: unset;
    margin-top: unset;
    margin-left: unset;
    padding: unset;
    position: absolute;
    left: 35%;
    top: 20px;
    width: 350px;
  }
  .hero1 .text h1 {
    margin-top: 1.66rem;
  }
  .hero2 {
    flex-wrap: nowrap;
    width: min(90vw, 1000px);
    margin: 50px 20px;
  }
  .hero2 img {
    width: 50%;
  }
  .team-building img {
    width: 50%;
  }
  .team-building .text {
    width: 40%;
  }
  .trust-content {
    margin-top: -100px;
  }
  .trust-content img {
    width: unset;
  }
  .testimonials {
    gap: 2rem;
  }
  .testimony {
    font-size: 2rem;
    line-height: 2rem;
    border-radius: 20px;
    /* padding: 50px; */
    width: 45vw;
  }
}
@media screen and (min-width: 1024px) {
  .hero1 .text {
    top: 80px;
  }
  .hero1 img:last-of-type{
    margin-left: 150px;
  }
  .team-building img {
    width: unset;
  }
  .team-building .text {
    width: 30%;
    padding: 20px 0;
  }
  .testimony {
    padding: 50px;
    width: 35vw;
  }
}
@media screen and (min-width: 1440px) {
  .hero1 img:last-of-type{
    margin-left: 100px;
  }
  .hero1 .text {
    top: 150px;
  }
}
@media screen and (min-width: 2000px) {}
