/*==== STATS ====*/
.stats {
  background: #f8fafc;
  padding: 45px 0;
}

.stats-wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #fff;
  border: 1px solid #eef2ff;
  border-radius: 24px;
  overflow: hidden;
}

.stat-card {
  text-align: center;
  padding: 38px 25px;
  position: relative;
  transition: 0.35s;
}

.stat-card:not(:last-child) {
  border-right: 1px solid #eef2ff;
}

.stat-card:hover {
  background: #f8fafc;
}

.stat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: #f5f7ff;
  color: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: 0.35s;
}

.stat-card:hover .stat-icon {
  background: #4f46e5;
  color: #fff;
  transform: translateY(-4px);
}

.stat-card h2 {
  font-size: 38px;
  font-weight: 800;
  color: #16284c;
  margin-bottom: 10px;
}

.stat-card p {
  color: #6b7280;
  font-size: 15px;
}

/*==== STATS RESPONSIVE =====*/
@media (max-width: 991px) {
  .stats-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat-card {
    border-right: none;
    border-bottom: 1px solid #eef2ff;
  }

  .stat-card:nth-child(2n + 1) {
    border-right: 1px solid #eef2ff;
  }

  .stat-card:last-child {
    grid-column: span 2;
    border-bottom: none;
  }
}

@media (max-width: 767px) {
  .stats {
    padding: 30px 0;
  }

  .stats-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card {
    border-right: none !important;
    border-bottom: 1px solid #eef2ff;
  }

  .stat-card:last-child {
    grid-column: auto;
    border-bottom: none;
  }

  .stat-card h2 {
    font-size: 32px;
  }
}
