.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.portfolio-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.portfolio-card:hover {
  transform: translateY(-8px);
}

.portfolio-image {
  height: 220px;
  background: linear-gradient(135deg, #1e40af, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
}

.portfolio-content {
  padding: 28px;
}

.category {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  background: #e0edff;
  color: #1e40af;
  font-size: 14px;
  margin-bottom: 15px;
}

.portfolio-content h3 {
  margin-bottom: 15px;
  color: #0f172a;
}

.portfolio-content p {
  margin-bottom: 20px;
  color: #666;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.tech-stack span {
  padding: 6px 14px;
  background: #f3f4f6;
  border-radius: 20px;
  font-size: 14px;
}

.portfolio-content a {
  text-decoration: none;
  color: #2563eb;
  font-weight: 600;
}

.expertise {
  background: #f8fafc;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 35px;
}

.skills span {
  padding: 12px 22px;
  background: white;
  border-radius: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-weight: 600;
}
