/* STAT SECTION */
#home-stats-section .container {
  max-width: 100rem;
}

#home-stats-section .stats-section__text h2{
	width:20ch;
}

.stats-section {
  background-color: var(--darkerblue);
  color: var(--light);
}

.stats-section::after {
  content: "";
  background: url("../img/noise.svg");
  background-repeat: repeat;
  background-size: auto;
  background-repeat: repeat;
  opacity: 0.2;
  /* z-index: 10; */
  position: absolute;
  height: 100%;
  width: 100%;
  background-size: inherit;
  top: 0;
  left: 0;
}

.stats-section__container {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  position: relative;
  z-index: 2;
}

.stats-section__text {
  text-align: center;
  display: flex;
  justify-content: center;
}

.stats-section__text h2 span {
  color: var(--yellow);
}

.stats-section__text h2 {
  width: 30ch;
  text-align: center;
  color: white;
}

.stats-item__description {
  font-size: 1.5rem;
}

.stats-section__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-item {
  display: flex;
  justify-content: center;
}

.stats-item__container {
  width: 15rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stats-item:not(:last-of-type) {
  border-right: 1px solid #325799;
}

.stats-item__title {
  font-size: 2.4rem;
  font-weight: 600;
}

.stats-item__title.highlighted {
  color: var(--cyan);
}

.stats-item__images {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.stats-item__title.trusted-partner {
  font-size: 1.5rem;
}

.stats-item__images img:first-of-type {
  height: 2.8rem;
}

.stats-item__images img:last-of-type {
  height: 2.6rem;
}

/* END STAT SECTION */

/* FEATURE SECTION */
#features-section {
  background: white;
}

#features-section .container {
  display: flex;
  max-width: 90rem;
  flex-direction: column;
  gap: 6rem;
}

#features-section__image-text {
  display: flex;
  gap: 4rem;
  justify-content: center;
}

#features-section__image-text > div {
  flex: 1;
}

#features-section__image img {
  width: 100%;
  max-width: 38rem;
}

#features-section__features {
  max-width: 50rem;
  display: flex;
  flex-direction: column;
  gap: 0rem;
}

#features-section__title {
  display: flex;
  gap: 2rem;
  flex-direction: column;
}

#features-section__title > div {
  max-width: 40rem;
}

.features-item {
  display: flex;
  gap: 1rem;
  padding: 2rem 2rem;
  /* background-color: var(--light); */
}

.features-item:nth-child(odd) {
  background: linear-gradient(135deg, #f8fbfd, #f9f9f944);
}

.feature-item__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.6rem;
}

.feature-item__icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.6rem;
  /* border: 1px solid red; */
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
  position: relative;
  /* border-radius: 12px; */
  background: #fff;
  z-index: 0;
}

.feature-item__icon-container img {
  height: 60%;
}

.feature-item__icon-container::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px; /* Border thickness */
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

.feature-item__title-text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.feature-item__title {
  color: var(--darkerblue);
  font-size: 1.7rem;
  font-weight: 600;
  text-transform: capitalize;
  font-family: "Satoshi-Variable";
}

#feature-section__more-features {
  display: flex;
  justify-content: center;
}
/* END FEATURE SECTION */

/* BIG CTA SECTION */

#big-cta-section .container {
  max-width: 140rem;
}

#big-cta-container {
  display: flex;
  gap: 2rem;
  color: white;
  height: 60rem;
  position: relative;
  overflow: hidden;
}

#big-cta__text {
  background-color: var(--blue);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
  position: relative;
  padding: 8rem;
  min-width: 50rem;
  border-radius: 1rem;
}

#big-cta-title-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#big-cta__text h2 {
  color: var(--light);
}

#big-cta__text h2 span {
  color: var(--yellow);
}

#big-cta__text > div {
  /* max-width: 40rem; */
}

#big-cta__cta {
  grid-area: b;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#big-cta__image {
  width: auto;
  border-radius: 1rem;
  overflow: hidden;
}

#big-cta__images-container {
  width: 90rem;
  height: 60rem;
  position: relative;
  margin-left: auto;
  /* background: white; */
  /* display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: repeat(6, 1fr); */
  display: flex;
  gap: 2rem;
}

#big-cta__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* END BIG CTA SECTION */

/* TESTIMONIAL */
#testimonials-section {
  background-color:#f7f7f7;
}

#testimonials-section > .container {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

#testimonial__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
#testimonial-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 150rem;
}

#testimonial__items {
  display: flex;
  position: relative;
  /* gap: 1.4rem; */
  align-items: start;
}

.testimonial-item {
  flex-basis: 1;
  /* padding: 3rem; */
  border-radius: 1.2rem;
  width: 40rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 32rem;
}

.testimonial-item__name-title {
  font-size: 1.4rem;
}

.testimonial-item-content {
  padding: 2rem;
}

.testimonialitem__main-image {
  width: 100%;
  aspect-ratio: 16/9;
  /* margin-bottom: 2rem; */
  /* border-radius: 1rem; */
  overflow: hidden;
}

.testimonialitem__main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-item:nth-of-type(5n + 1) {
  background: #123e8c;
  color: var(--light);
}

.testimonial-item:nth-of-type(5n + 2) {
  background: #8ffaff;
  color: var(--darkblue);
}

.testimonial-item:nth-of-type(5n + 3) {
  background: #25abb1;
  color: var(--light);
}

.testimonial-item:nth-of-type(5n + 4) {
  background: #fff871;
  color: var(--dark);
}

.testimonial-item:nth-of-type(5n) {
  background: var(--grey);
  color: var(--light);
}

.testimonial-item__text {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 8rem;
  margin-top: 1rem;
}

.testimonial-item__entity {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.testimonial-item__image-container {
  width: 5rem;
  aspect-ratio: 1/1;
  height: auto;
  overflow: hidden;
  border-radius: 50%;
  border: 5px solid var(--light);
	background:white;
}

.testimonial-name {
  font-weight: 600;
}

.testimonial-title {
  font-size: 1.5rem;
}

/* END TESTIMONIAL */

/* GETTING STARTED */
#getting-started-section .container {
  display: flex;
  flex-direction: column;
  gap: 10rem;
  max-width: 150rem;
}

#getting-started__items {
  gap: 4rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.getting-started__item {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 28rem;
  background-color: white;
  filter: drop-shadow(4px 4px 12px #ddd);
  border-radius: 1rem;
  /* padding: 1.4rem; */
}

.getting-started__item:hover .getting-started__item-image img {
  transform: scale(1.1);
}

.getting-started__item-text-container {
  font-weight: 500;
  font-size: 1.5rem;
  height: 16rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
}

.getting-started__item-step {
  aspect-ratio: 1/1;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
}

.getting-started__item-step svg {
  stroke: var(--blue);
}

.getting-started__item-text {
  text-align: center;
}

.getting-started__item-image {
  width: 100%;
  height: 38rem;
  position: relative;
  overflow: hidden;
}

.getting-started__item-image::before {
  content: "";
  position: absolute;
  height: 70%;
  width: 100%;
  border-top-right-radius: 50%;
  border-top-left-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 20%, var(--cyan) 100%);
  bottom: 0;
  z-index: -1;
}

.getting-started__item-image img {
  /* width: 100%;
  height: 100%;
  object-fit: cover; */
  height: 100%;
  width: auto;
  margin: auto;
  transition: transform 0.4s ease-in-out;
}

.getting-started__item-steps {
  display: flex;
  gap: 1rem;
  align-items: center;
  background-color: var(--light);
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  border-radius: 3rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  /* width: 10rem; */
  display: none;
}

.getting-started_step-count {
  font-size: 1.3rem;
  font-weight: 500;
  color: #ddd;
  opacity: 0;
}

.getting-started_step-count.active {
  color: var(--darkerblue);
  font-size: 1.3rem;
  font-weight: 600;
  opacity: 1;
}

#getting-started__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

#getting-started__text h2 {
  max-width: 60rem;
  text-align: center;
}

#getting-started__view-more {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

#getting-started__view-more-text {
  max-width: 30rem;
  text-align: center;
}

/* END GETTING STARTED */

/* APP OVERVIEW */

#app-overview-section .container {
  display: flex;
  justify-content: center;
  max-width: 140rem;
}

.app-overview-container {
  display: grid;
  grid-template-columns: repeat(5, 24rem);
  grid-template-rows: repeat(5, 16rem);
  gap: 0; /* change if you want spacing between cells */
  justify-items: center;
}
.app-overview-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  position: absolute;
  top: 50%;
  left: 50%;
  /* transform: translateX(-50%); */
  transform: translate(-50%, -50%);
}

.app-overview-container::before {
  content: "";
  width: 90%;
  height: auto;
  aspect-ratio: 1/1;
  max-width: 80rem;
  background-color: rgba(24, 243, 255, 0.05);
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  transform: translate(-50%, -50%);
}

.app-overview-text h2 {
  text-align: center;
}

.app-overview-text__text {
  text-align: center;
}

.app-overview-vendors-container {
  display: none;
}

#app-overview-image img {
  width: 100%;
  height: auto;
  overflow: hidden;
}

:root {
  --app-grid-cell: 3rem;
  --app-grid: calc(6 * var(--app-grid-cell));
  --logo-circle: 5rem;
  --logo-circle-offset: calc(var(--app-grid-cell) / 2);
}

.vendor-group:nth-child(2) {
  grid-column: 3;
  grid-row: 1;
}

.vendor-group:nth-child(3) {
  grid-column: 1;
  grid-row: 3;
}
.vendor-group:nth-child(4) {
  grid-column: 5;
  grid-row: 3;
}
.vendor-group:nth-child(5) {
  grid-column: 2;
  grid-row: 5;
}
.vendor-group:nth-child(6) {
  grid-column: 4;
  grid-row: 5;
}

.vendor-group {
  display: grid;
  grid-template-columns: repeat(6, var(--app-grid-cell));
  grid-template-rows: repeat(6, var(--app-grid-cell));
  gap: 0; /* change if you want spacing between cells */
  position: relative;
  width: var(--app-grid);
  height: var(--app-grid);
}

.vendor-group_item {
  width: var(--app-grid-cell);
  height: var(--app-grid-cell);
  box-sizing: border-box;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.vendor-group_item:nth-of-type(1) {
  grid-column: 2;
  grid-row: 1;
}

.vendor-group_item:nth-of-type(2) {
  grid-column: 5;
  grid-row: 1;
}

.vendor-group_item:nth-of-type(3) {
  grid-column: 1;
  grid-row: 3;
}

.vendor-group_item:nth-of-type(4) {
  grid-column: 6;
  grid-row: 3;
}

.vendor-group_item:nth-of-type(5) {
  grid-column: 2;
  grid-row: 6;
}

.vendor-group_item:nth-of-type(6) {
  grid-column: 5;
  grid-row: 6;
}

.vendor-group::before {
  content: "";
  width: 12rem;
  height: 1px;
  background-color: #8ffaff;
  background: #2dccd3;
  background: linear-gradient(
    90deg,
    rgba(45, 204, 211, 0.3) 17%,
    rgba(217, 217, 217, 0) 97%
  );
  position: absolute;
  left: 50%;
  /* transform: rotate(-45deg); */
  transform-origin: top left;
}

.vendor-group:nth-of-type(2)::before {
  transform: rotate(90deg);
  bottom: -1rem;
  transform-origin: top left;
}

.vendor-group:nth-of-type(3)::before {
  /* transform: rotate(90deg); */
  top: 50%;
  left: calc(100% + 2rem);
  transform-origin: top left;
}

.vendor-group:nth-of-type(4)::before {
  top: 50%;
  left: calc(-100% + 2rem);
  transform-origin: top left;
  background: linear-gradient(
    90deg,
    rgba(217, 217, 217, 0) 17%,
    rgba(45, 204, 211, 0.3) 93%
  );
}

.vendor-group:nth-of-type(5)::before {
  transform: rotate(-45deg);
  top: -1rem;
  transform-origin: top left;
}

.vendor-group:nth-of-type(6)::before {
  transform: rotate(-135deg);
  top: -1rem;
  transform-origin: top left;
}

.circle {
  width: var(--logo-circle);
  height: var(--logo-circle);
  border-radius: 50%;
  background-color: #f6f6f6;
  position: absolute;
  transform: scale(1);
  transition: transform 0.3s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle img {
  max-height: 80%;
  max-width: 80%;
  object-fit: contain;
}

.circle:hover {
  transform: scale(1.6);
}

.circle.middle-left {
  transform: translate(
      calc(-1 * var(--logo-circle-offset)),
      var(--logo-circle-offset)
    )
    scale(1);
}

.circle.middle-left:hover {
  transform: translate(
      calc(-1 * var(--logo-circle-offset)),
      var(--logo-circle-offset)
    )
    scale(1.4);
}

.circle.middle-right {
  transform: translate(var(--logo-circle-offset), var(--logo-circle-offset))
    scale(1);
}

.circle.middle-right:hover {
  transform: translate(var(--logo-circle-offset), var(--logo-circle-offset))
    scale(1.4);
}

.big-circle {
  width: var(--app-grid);
  height: var(--app-grid);
  border-radius: 50%;
  border: 1px solid #d9d9d952;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.group-name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  color: var(--darkblue);
  font-weight: 500;
}

/* END APP OVERVIEW */
@media all and (max-width: 1300px) {
  .app-overview-container {
    grid-template-columns: repeat(5, 18rem);
    grid-template-rows: repeat(5, 14rem);
  }

  .app-overview-text__text {
    max-width: 36rem;
  }
}

@media all and (max-width: 1100px) {
  .stats-section__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 6rem;
    /* margin: auto; */
  }

  .stats-item:not(:last-of-type) {
    border: none;
  }

  #features-section__image-text {
    flex-direction: column-reverse;
  }

  #big-cta-container {
    flex-direction: column;
    gap: 0rem;
    height: auto;
    padding: 0em;
    gap: 4rem;
  }

  #big-cta__text {
    padding: 5rem;
    min-width: auto;
    gap: 5rem;
  }

  #big-cta__image {
    padding: 0;
    aspect-ratio: 1/1;
  }

  #big-cta__image img {
    margin: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #getting-started__items {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin: auto;
  }
}

@media all and (max-width: 1000px) {
  .vendor-group {
    display: none;
  }

  .app-overview-container {
    display: flex;
  }

  .app-overview-vendors-container {
    display: block;
    margin: 4rem 0;
  }

  #vendors-row {
    display: none;
  }

  .app-overview-text {
    position: relative;
    transform: none;
    top: auto;
    left: auto;
  }

  #vendors-highlight__fader-left,
  #vendors-highlight__fader-right {
    display: none;
  }
}

@media all and (max-width: 600px) {
  .stats-section__stats {
    grid-template-columns: 1fr;
    gap: 6rem;
    /* margin: auto; */
  }
  .stats-item__container {
    align-items: center;
  }

  .stats-item__description {
    text-align: center;
  }

  #getting-started__text h2 {
    max-width: 34rem;
  }

  .getting-started__item {
    width: 30rem;
  }

  #download-cta__buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}
