#stats {
  padding: 0px 0 120px;
  background: #fafafa;
}
#stats .flex-horizontal {
  display:flex;
  padding-top: 50px;
  align-items: center;
  gap: 20px;
  row-gap: 40px;
  position: relative;
}
#stats .trusted {
  color: #878BAB;
  font-size: 16px;
  font-weight: 400;
  line-height: 126%;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.metric-row:first-child {
  border-top: 1px solid #E7E7E7;
}
.metric-row {
  display: flex;
  justify-content: space-between;
  padding: 26px 0px 60px;
  border-bottom: 1px solid #E7E7E7;
}

.metric-title {
  max-width: 338px;
  color: #000;
  font-size: 28px;
  font-weight: 500;
  line-height: 130%;
  letter-spacing: -0.03em;
  flex-basis: 30%;
  white-space: normal;
}

.metric-description {
  max-width: 300px;
  color: rgba(10, 15, 57, 0.75);
  font-size: 14px;
  line-height: 150%;
  flex-basis: 40%;
  white-space: normal;
}

.metric-value {
  color: #000;
  text-align: right;
  font-size: 68px;
  font-weight: 500;
  line-height: 110%;
  letter-spacing: -0.06em;
  flex-basis: 20%;
  white-space: normal;
}
.companies-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  opacity: 1;
}
.marquee-mask {
  overflow: hidden;
  padding-bottom: 0px;
  position: relative;
  max-width: 100%;
}
.marquee-mask::before {
  content: "";
  display: block;
  position: absolute;
  width: 80px;
  background: linear-gradient(90deg, #fafafa 7.68%, rgba(255, 255, 255, 0) 79.54%);
  height: 100%;
  z-index: 3;
}

.marquee-mask::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  background: linear-gradient(270deg, #fafafa 7.68%, rgba(255, 255, 255, 0) 79.54%);
  height: 100%;
  z-index: 3;
}
.marquee-mask .marquee-flex {
  display: flex;
  flex-wrap: nowrap;
  width: fit-content;
  animation: marquee 25s linear infinite;
  position: relative;
}
.companies-row {
  margin-top: 0px;
  padding-bottom: 0px;
}
.companies-row.contained {
  display: none;
}
.companies-row.not-contained {
  flex-wrap: nowrap;
  max-width: none;
  width: auto;
  justify-content: left;
  padding-right: 50px;
  gap: 50px;
  border-bottom: none;

}
.companies-row.not-contained .company-container {
  max-width: none!important;
}
.companies-row.not-contained .company-container img{
  max-width: none;
  width: auto;
}
.companies-row img {
  opacity: 0.5;
  transition: all 0.2s ease;
}
.companies-row .company-container:hover img {
  opacity: 1;
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@media (min-width: 991px) {

}

@media (max-width: 991px) {
  .metric-title {
    font-size: 22px;
  }
  .metric-value {
    font-size: 45px;
  }
}
@media (max-width: 767px) {

      .metric-title {
        flex-basis: 40%;
        font-size: 23px;
  }
  {#  .metric-title {
    flex-basis: 26%;
    font-size: 14px;
  }#}
  .metric-description {
    flex-basis: 40%;
    font-size: 12px;
    letter-spacing: -0.02em;
  }
  {#.metric-value {
    flex-basis: 20%;
    font-size: 23px;
  }#}
      .metric-value {
        flex-basis: 37%;
        font-size: 41px;
    }
  .metric-row {
    padding: 26px 0 30px;
  }
  #stats .flex-horizontal {
    flex-direction: column;
  }
}