/* Featured Projects Section */
.featured-projects-section .section-title {
  color: #9f7aea;
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.featured-projects-section .section-subtitle {
  color: #2d3748;
  font-size: 1.3em;
  margin-bottom: 2.5rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
  padding: 0 2rem;
  margin: 0 auto;
  max-width: 1400px;
}

/* Project Card */
.project-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.project-card a {
  text-decoration: none;
  color: inherit;
}

.project-cover {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #e2e8f0;
}

.project-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: #2d3748;
}

.project-subtitle {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.5rem 0 1rem 0;
  width: 100%;
}

.project-course {
  font-weight: 600;
  color: #2d3748;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 0.5rem;
  margin: 0.25rem 0 0.75rem 0;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.25rem 0 1rem 0;
  font-size: 0.9rem;
  color: #4a5568;
  align-items: center;
  width: 100%;
  justify-content: flex-start;
  line-height: 1.4;
}

.project-duration {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  padding: 0.4rem 0.8rem;
  background: #f8f5ff;
  border-left: 3px solid #9f7aea;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #6b46c1;
  font-weight: 500;
}

.project-duration i {
  color: #9f7aea;
}

.project-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.achievements-list {
  padding-left: 1.2rem;
  margin: 0.25rem auto 0.75rem;
  width: 90%;
  list-style-type: disc;
  text-align: left;
  display: inline-block;
}

.achievements-list li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  color: #4a5568;
}

.skills-section {
  margin-top: auto;
  width: 100%;
}

.skills-section strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #2d3748;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
  width: 100%;
}

.tag {
  background: #f0f4f8;
  color: #4a5568;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  white-space: nowrap;
  display: inline-block;
}
