/* Statistics Section Styles */

#stats {
  padding: 0;
  margin: 0;
}

.stats-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0vh 5%;
  margin: 0;
  background: #e7e5e4;
  color: #121516;
}

.stats-title {
  font-size: 4rem;
  font-weight: 700;
  text-align: center;
  margin: 0;
  padding-bottom: 0.5rem;
  color: #121516;
}

.stats-subtitle {
  font-size: 1.2rem;
  text-align: center;
  /* margin-bottom: 4rem; */
  margin: 1%;
  color: #121516;
  opacity: 0.8;
  max-width: 600px;
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  width: 100%;
}

.stat-card {
  background: rgba(18, 21, 22, 0.05);
  border: 1px solid rgba(18, 21, 22, 0.2);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(18, 21, 22, 0.1);
  border-color: rgba(18, 21, 22, 0.4);
  box-shadow: 0 10px 30px rgba(231, 229, 228, 0.8);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #121516;
  margin-bottom: 0.5rem;
  font-family: "Roboto", sans-serif;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #121516;
}

.stat-description {
  font-size: 0.9rem;
  color: #121516;
  opacity: 0.7;
  line-height: 1.4;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .stats-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .stats-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-card {
    padding: 1.2rem;
  }

  .stat-number {
    font-size: 2rem;
    margin-bottom: 0.3rem;
  }

  .stat-label {
    margin-bottom: 0.3rem;
  }
}

@media screen and (max-width: 480px) {
  .stats-title {
    font-size: 1.5rem;
    padding: 0;
  }

  .stats-subtitle {
    margin: 0;
    font-size: 0.5rem;
  }

  .stats-grid {
    gap: 0.8rem;
  }

  .stat-card {
    padding: 0.5rem;
  }

  .stat-number {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
  }

  .stat-label {
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
  }

  .stat-description {
    font-size: 0.7rem;
  }
}

/* Animation classes for the counter effect */
.stat-number.counting {
  animation: pulse 0.3s ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
