body {
  font-family: Arial, sans-serif;
  color: #fff; /* Dark text color for body */
  line-height: 1.5;
  padding: 0 1rem;
}

.stats, .contributors {
  padding: 4rem 1rem;
}

.stats {
  background-color: transparent;
}

.contributors {
  background-color: transparent;
}

.stats h2, .contributors h2 {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3rem;
}

.stats-container, .contributors-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

.stat-card, .contributor-card {
  background-color: transparent;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contributor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.stat-card h3 {
  font-size: 1.75rem;
  font-weight: bold;
  color: #fff;
}

.stat-card p {
  color: #6b7280;
}

.contributor-card img {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 4px solid #b616c7;
}

.contributor-card h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.contributor-card p {
  font-size: 0.875rem;
  color: #b616c7;
  margin-bottom: 1rem;
}

.contributor-card .contributions {
  display: inline-block;
  background-color: #dbeafe;
  color: #b616c7;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
}

.contributor-card a {
  display: inline-flex;
  align-items: center;
  color: #b616c7;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.contributor-card a:hover {
  color: #7c3aed;
}

.contributor-card svg {
  margin-right: 0.5rem;
}

.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3b82f6;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.contribute {
  background-color: #2563eb;
  color: white;
  padding: 4rem 1rem;
  text-align: center;
}

.contribute h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.contribute p {
  font-size: 1.125rem;
  color: #bfdbfe;
  margin-bottom: 2rem;
}

.stat-card h3 {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  margin-top: 1rem;
}

.stat-card p {
  color: #6b7280;
}

.stat-card {
  background-color: transparent;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-direction: row;
}

.stat-card h3 {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  margin-top: 0.5rem;
}

.stat-card p {
  color: #6b7280;
}

.stat-card svg {
  width: 80px; 
  height: 80px;
}

.stat-card.dark svg {
  fill: #d1d5db;
}

@media (max-width: 768px) {
  .stat-card {
    padding: 1rem;
    flex-direction: row; 
    text-align: center;
  }

  .stat-card h3 {
    font-size: 1.5rem;
  }

  .stat-card p {
    font-size: 0.875rem;
  }

  .stat-card svg {
    width: 60px; 
    height: 60px;
  }
}

@media (max-width: 480px) {
  .stat-card {
    padding: 0.75rem;
  }

  .stat-card h3 {
    font-size: 1.25rem;
  }

  .stat-card p {
    font-size: 0.75rem;
  }

  .stat-card svg {
    width: 50px; 
    height: 50px;
  }
}


