.project-legend {
  margin-top: 40px;
  text-align: center;
}

.legend-items {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legend-item p {
  margin: 0;
  color: #C8C8C8;
}

.status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}

.status-red {
  background: #ff3b3b;
  box-shadow: 0 0 10px rgba(255, 59, 59, 0.5);
}

.status-yellow {
  background: #ffd93b;
  box-shadow: 0 0 10px rgba(255, 217, 59, 0.5);
}

.status-green {
  background: #39ff14;
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.featured-project {
  margin-top: 70px;
}

.featured-project h2 {
  text-align: center;
  margin-bottom: 30px;
}

.featured-card {
  border: 1px solid rgba(57, 255, 20, 0.2);
  background: rgba(57, 255, 20, 0.04);
  padding: 35px;
  border-radius: 14px;
  box-shadow:
    0 0 20px rgba(57, 255, 20, 0.06),
    0 0 40px rgba(0, 0, 0, 0.3);
}

.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.featured-header h3 {
  margin: 0;
}

.featured-description {
  color: #C8C8C8;
  line-height: 1.7;
  margin-bottom: 25px;
}

.project-section {
  margin-top: 70px;
}

.project-section h2 {
  text-align: center;
  margin-bottom: 30px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.project-card {
  border: 1px solid rgba(57, 255, 20, 0.18);
  background: rgba(57, 255, 20, 0.04);
  padding: 24px;
  border-radius: 14px;
  box-shadow:
    0 0 16px rgba(57, 255, 20, 0.05),
    0 0 32px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 20px rgba(57, 255, 20, 0.08),
    0 0 38px rgba(0, 0, 0, 0.3);
}

.project-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.project-card-header h3 {
  margin: 0;
}

.project-card p {
  color: #c8c8c8;
  line-height: 1.7;
  margin-bottom: 20px;
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
}

.project-stack span {
  border: 1px solid rgba(57, 255, 20, 0.25);
  background: rgba(57, 255, 20, 0.08);
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
}

.project-learned {
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 30px;
}

.project-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.project-buttons a {
  text-decoration: none;
  color: #39ff14;
  border: 1px solid #39ff14;
  padding: 10px 18px;
  border-radius: 8px;
  transition: 0.25s ease;
}

.project-buttons a:hover {
  background: rgba(57, 255, 20, 0.08);
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.2);
}

.projects-intro {
    text-align: center;
}