.stats-block {
  padding-block: 60px;
  color: #1A1B20;
  width: 100%;
  background-color: #FBFAFF;
}

.stats-block :where(h1, h2, h3) {
  font-family: "Playfair Display", sans-serif;
}

.stats-block h2 {
  text-align: center;
  font-size: 34px;
  font-weight: 500;
  line-height: normal;
  text-transform: capitalize;
  margin-bottom: 48px;
}

.stats-block .stats-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
.stats-block .stats-list.has-four-cols{
  grid-template-columns: repeat(4, 1fr);
}
.stats-block .stats-item {
  position: relative;
  padding: 0 21px;
  text-align: center;
}

.stats-block .stats-value {
  color: #755BE2;
  font-family: "Playfair Display", sans-serif;
  font-size: 80px;
  font-weight: 700;
  margin-bottom: 12px;
}

.stats-block .stats-value span {
  font-size: 76px;
  line-height: 1;
}

.stats-block .stats-text {
  text-align: center;
  font-size: 18px;
  font-style: normal;
}

.stats-block .stats-item+.stats-item::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  height: 80px;
  border-left: 1px solid rgba(117, 91, 226, 0.25098);
}

@media (max-width: 991px) {
  .stats-block {
    padding-block: 40px;
  }

  .stats-block .stats-item {
    padding-inline: 15px;
  }

  .stats-block .stats-text br {
    display: none;
  }

  .stats-block .stats-value,
  .stats-block .stats-value span {
    font-size: 50px;
  }

  .stats-block .stats-text {
    font-size: 16px;
  }
.stats-block .stats-item+.stats-item::after{
  left: 0;
}
}

@media (max-width: 767px) {
  .stats-block .stats-list,
  .stats-block .stats-list.has-four-cols
   {
    grid-template-columns: 1fr;
  }

  .stats-block .stats-item+.stats-item {
    padding-top: 20px;
  }

  .stats-block .stats-item+.stats-item::after {
    top: 0;
    width: 80px;
    left: 50%;
    transform: translateX(-50%);
    height: auto;
    border-top: 1px solid rgba(117, 91, 226, 0.25098);
  }
}