* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f5f7fa;
  color: #333;
  line-height: 1.6;
  padding: 40px 20px;
}

h1 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #2c3e50;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.project-card h2 {
  font-size: 1.4rem;
  color: #34495e;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.tag {
  /* background-color: #e3f2fd; */
  color: #1565c0;
  font-size: 0.85rem;
  padding: 6px 10px;
  border-radius: 20px;
}

.btn {
  display: inline-block;
  padding: 10px 16px;
  background-color: #1565c0;
  color: #fff;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #0d47a1;
}

@media (max-width: 600px) {
  body {
    padding: 20px;
  }
  h1 {
    font-size: 1.8rem;
  }
}
