/* Homepage Statistics V2 */

.stats-section {
  background: #f7f9fc !important;
  color: #2c3e50 !important;
  padding: 64px 0 70px !important;
  position: relative;
}

.stats-section::before {
  display: none !important;
}

.stats-section .section-title {
  max-width: 700px;
  margin: 0 auto 35px;
  text-align: center;
}

.stats-section .section-title h2 {
  color: #2c3e50 !important;
  font-size: 2.35rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.stats-section .section-title p {
  color: #667085 !important;
  font-size: .98rem;
  margin-bottom: 0;
}

.stats-section .section-title h4 {
  display: none !important;
}

.stats-section #statsContainer {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.stats-section .stat-item {
  background: #fff !important;
  color: #2c3e50 !important;
  min-height: 165px;
  border-radius: 20px;
  padding: 28px 18px !important;
  border: 1px solid rgba(44,62,80,.08);
  box-shadow: 0 9px 26px rgba(16,24,40,.055);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}

.stats-section .stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 17px 36px rgba(16,24,40,.10);
}

.stats-section .stat-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: #3498db;
}

.stats-section .row > div:nth-child(2) .stat-item::before {
  background: #f39c12;
}

.stats-section .row > div:nth-child(3) .stat-item::before {
  background: #10a277;
}

.stats-section .row > div:nth-child(4) .stat-item::before {
  background: #2c3e50;
}

.stats-section .stat-number {
  color: #2980b9 !important;
  font-size: 2.6rem !important;
  line-height: 1;
  font-weight: 750;
  margin-bottom: 12px;
}

.stats-section .row > div:nth-child(2) .stat-number {
  color: #d97706 !important;
}

.stats-section .row > div:nth-child(3) .stat-number {
  color: #08775c !important;
}

.stats-section .row > div:nth-child(4) .stat-number {
  color: #2c3e50 !important;
}

.stats-section .stat-label {
  color: #667085 !important;
  font-size: .88rem;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 767px) {
  .stats-section {
    padding: 48px 0 52px !important;
  }

  .stats-section .section-title h2 {
    font-size: 1.9rem;
  }

  .stats-section .stat-item {
    min-height: 145px;
  }

  .stats-section .stat-number {
    font-size: 2.25rem !important;
  }
}
