/* General Section Styling */
.vyakta-portfolio-section {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #f9fafb;
  padding: 60px 20px;
  color: #1f2937;
}

.portfolio-container {
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-header {
  text-align: center;
  margin-bottom: 40px;
}

.portfolio-tag {
  background-color: #e5edff;
  color: #1d4ed8;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}

.portfolio-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}

.portfolio-subtitle {
  font-size: 1rem;
  color: #4b5563;
}

/* Portfolio Grid Layout */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

/* Individual Portfolio Card as a Link */
.portfolio-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none; /* Removes underline from links */
  color: inherit;       /* Keeps text color consistent */
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

.portfolio-img-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #e5e7eb;
}

.portfolio-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-img-wrapper img {
  transform: scale(1.05);
}

.portfolio-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #6b7280;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.portfolio-content h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
  line-height: 1.3;
}

.portfolio-content p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.portfolio-tags-list {
  font-size: 0.85rem;
  color: #2563eb;
  font-weight: 500;
  border-top: 1px solid #f3f4f6;
  padding-top: 14px;
  margin-top: auto;
}