/* === Portfolio Section Styling === */
.portfolio-excerpt-section {
  padding: 70px 20px;
  background-color: #f4f9ff;
  text-align: center;
}

.section-header {
  max-width: 800px;
  margin: 0 auto 40px;
}

.section-title {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1em;
  color: #555;
  line-height: 1.6;
}

.gradient-text {
  background: linear-gradient(90deg, #007cf0, #00dfd8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Portfolio grid layout */
.portfolio-grid.excerpt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.portfolio-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.portfolio-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.portfolio-card h3 {
  font-size: 20px;
  color: #022a44;
  margin-bottom: 8px;
}

.portfolio-card p {
  font-size: 15px;
  color: #555;
}

/* View More Button */
.view-more-container {
  margin-top: 40px;
}

.view-more-btn {
  background-color: #022a44;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.view-more-btn:hover {
  background-color: #014170;
}
