@import "./public/common.css";
@import "./public/header-footer.css";

body,
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.section-1,
.section-2,
.section-3,
.section-4,
.section-5,
.section-6 {
  padding: max(2%, 5px);
}

.bg-gradient {
  height: 100%;
  width: 100%;
  border-radius: 50px;
  background: radial-gradient(
    ellipse,
    rgba(204, 240, 255, 1) 0%,
    rgba(255, 235, 239, 1) 50%,
    rgba(247, 235, 255, 1) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 6rem 0;
}

.bg-gradient h1 {
  font-size: 3rem;
  text-align: center;
  line-height: 3rem;
  color: var(--col-text-heading);
}

.bg-gradient p {
  color: #777777;
  width: min(700px, 40%);
  line-height: 2rem;
  word-wrap: break-word;
  text-align: center;
}

.section-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem max(5%, 10px);
}

.section-2 h2 {
  text-align: center;
  line-height: 3rem;
  font-style: italic;
  color: var(--col-text-heading);
  padding-bottom: 0.5rem;
}

.container-tiles {
  display: flex;
  flex-wrap: wrap;
  padding: 0 1rem;
  justify-content: center;
  margin-right: 10px;
}

.tile {
  padding: 1rem 1rem;
  display: flex;
  flex-direction: column;
  max-width: 50%;
  min-width: 300px;
  gap: 5px;
}

.tile img {
  width: 70px;
  height: 70px;
}

/* .tile h3 {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--col-text-heading);
  white-space: nowrap;
} */

@media (width < 685px) {
  .tile p {
    text-align: center;
  }

  .tile {
    align-items: center;
    max-width: 100%;
  }
}

.section-3 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 0;
}

.video-wrapper {
  position: relative;
  display: inline-block;
}

.video-wrapper video {
  width: min(90vw, 1080px);
  border: 20px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  z-index: 2;
  position: relative;
}

.video-wrapper img {
  position: absolute;
  z-index: 1;
}
.star {
  left: -80px;
  bottom: -10px;
  animation: pulse 5s infinite linear;
  animation-delay: 1s;
}
.hexagon {
  top: -50px;
  right: -50px;
  animation: spin 30s infinite linear;
}

@media (width < 420px) {
  .star,
  .hexagon {
    display: none;
  }
}

.section-4 {
  background: linear-gradient(
    to right,
    rgba(204, 240, 255, 1) 0%,
    rgba(255, 235, 239, 1) 50%,
    rgba(247, 235, 255, 1) 100%
  );
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  margin: calc(6rem - 20px) 2rem 6rem 2rem;
  padding: 1.5rem;
  text-align: center;
}

/*.section-4 h1 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--col-text-heading);
}*/

.section-5 {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0 2rem;
}

.cta-card {
  min-width: 320px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  gap: 1rem;

  & a {
    justify-self: flex-end;
  }
}

.cta-card img {
  width: max(10%, 320px);
  margin: auto 0;

  &.growth {
    min-width: 190px;
    width: 50%;
  }
  &.connect {
    min-width: 200px;
    width: 60%;
  }
}

.cta-card p {
  text-align: center;
}

.section-6 {
  position: relative;
  padding-bottom: 3rem;
}

.container-review-cards {
  border-radius: 50px;
  display: flex;
  gap: 1rem;
  max-width: 100vw;
  padding: 1rem;
  background: linear-gradient(
    to right,
    rgba(204, 240, 255, 1) 0%,
    rgba(255, 235, 239, 1) 50%,
    rgba(247, 235, 255, 1) 100%
  );
}

.review-card {
  flex: 1;
  background: linear-gradient(
    to right bottom,
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0.3)
  );
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.review-card p {
  flex: 1;
  text-align: center;
  line-height: 1.7rem;
  place-content: center;
}

.review-card h3 {
  text-align: center;
  line-height: 1.5rem;
  margin-top: 10px;
}

@media (width < 720px) {
  .section-5 {
    flex-direction: column;
    gap: 3rem;
  }

  .section-6 {
    padding: 2rem 0;
  }

  .container-review-cards {
    width: 100%;
    height: fit-content;
    display: grid;
    overflow-x: scroll;
    grid-template-columns: 100% 100% 100%;
    gap: 1.5rem;
    place-items: center;
    scroll-snap-type: x mandatory;
    background: none;
    padding: 0;
    scrollbar-width: none;
  }

  .review-card {
    border: 1px solid rgba(128, 128, 128, 0.5);
    width: 95%;
    scroll-snap-align: center;
    padding: 1rem;
    background: linear-gradient(
      to right,
      rgba(204, 240, 255, 1) 0%,
      rgba(255, 235, 239, 1) 50%,
      rgba(247, 235, 255, 1) 100%
    );
  }
}
