@charset "UTF-8";
/* ==========================================================================
   Stats (منجزات)
   ========================================================================== */

.stats {
  margin-top: var(--section-gap);
}

.stats__title {
  padding: 10px;
}

.stats__rows {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.stats__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
}

.stat {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stats.is-visible .stat {
  opacity: 1;
  transform: none;
}

.stat__value {
  min-height: 47px;
  font-size: var(--fs-h4);
  font-weight: 600;
  line-height: 1.2;
  color: var(--c-secondary);
  direction: ltr;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.stat__label {
  white-space: nowrap;
  font-size: 16px;
  line-height: 1.4;
  color: var(--c-primary);
}

@media (max-width: 1240px) {
  .stats__rows {
    gap: 48px;
  }
  .stats__list {
    flex-wrap: wrap;
    row-gap: 32px;
  }
  .stat {
    width: calc(33.333% - 40px) !important;
  }
  .stat__label {
    white-space: normal;
  }
}
@media (max-width: 576px) {
  .stats__list {
    gap: 24px 12px;
  }
  .stat {
    width: calc(50% - 12px) !important;
  }
}
