body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #1e1e1e;
  color: #eee;
}

.page-title {
  text-align: center;
  background-color: #007BFF;
  color: white;
  padding: 30px 10px 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.counter {
  text-align: center;
  font-size: 1.1em;
  font-weight: bold;
  color: #fff;
  margin-bottom: 20px;
}

.button-container {
  text-align: center;
  margin: 20px 0;
}

.nav-button {
  display: inline-block;
  margin: 10px;
  padding: 12px 24px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.nav-button:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

.custom-card {
  background-color: #2c2c2c;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: #eee;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 90px; /* Fixed height */
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.custom-card h3 {
  margin: 0 0 10px;
  font-size: 1.2em;
  color: #00aaff;
}

.custom-card p {
  margin: 0;
  font-size: 0.95em;
  color: #ccc;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #007BFF;
  color: white;
  font-weight: bold;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

@media (max-width: 600px) {
  .nav-button {
    width: 90%;
    margin: 10px auto;
    display: block;
  }

  .grid-container {
    padding: 10px;
  }
}
