.portfolio-intro {
  text-align: center;
  padding: 4rem 2rem 2rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.portfolio-intro h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0d1b2a;
}

.portfolio-intro p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-card {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s;
}

.portfolio-card:hover {
  transform: translateY(-4px);
}

.portfolio-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.portfolio-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #0d1b2a;
}

.portfolio-card p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

.cta-button {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  background-color: #0d1b2a;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: #092033;
}
