body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  background-color: #1a1a2e; /* Dark blue-purple background */
  color: #e0e0e0; /* Light gray text */
  line-height: 1.6;
}

header {
  background-color: #2c3e50; /* Dark blue-gray header */
  color: #e0e0e0;
  padding: 1.5rem 0;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

header h1 {
  margin: 0;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #8e44ad; /* Purple accent for title */
}

header h3 {
  margin: 0.5rem 0 0;
  font-size: 1.3rem;
  font-weight: 400;
  opacity: 0.9;
  color: #bdc3c7; /* Lighter gray for subtitle */
}

.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-item {
  background-color: #2c3e50; /* Darker background for items */
  border: 1px solid #34495e; /* Slightly lighter border */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  padding: 25px;
  text-align: center;
  text-decoration: none;
  color: #3498db; /* Blue link color */
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px; /* Ensure consistent height */
}

.project-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  color: #e74c3c; /* Red accent on hover */
}

#practice-projects-heading {
  margin-top: 60px;
  margin-bottom: 30px;
  text-align: center;
  font-size: 2.5rem;
  color: #8e44ad; /* Purple accent for heading */
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  header h1 {
    font-size: 2.2rem;
  }

  header h3 {
    font-size: 1.1rem;
  }

  .project-list {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .project-item {
    min-height: 80px;
    font-size: 1rem;
  }

  #practice-projects-heading {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
  }
}
