/* Enhanced Projects Section Styles */

.project-card {
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(37, 37, 37, 0.7);
  backdrop-filter: blur(5px);
  margin-bottom: 25px;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.project-header {
  padding: 15px 20px;
  background: linear-gradient(135deg, #2a2a72, #0a66c2);
  position: relative;
  height: 160px; /* Fixed height for uniformity */
  min-height: unset;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-title {
  color: white;
  margin-bottom: 5px;
  font-weight: 600;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-date {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
}

.project-date i {
  margin-right: 5px;
}

.project-company {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 5px;
}

.project-company i {
  margin-right: 5px;
}

.project-body {
  padding: 20px;
}

.project-description {
  margin-bottom: 15px;
  height: 80px; /* Fixed height for uniformity */
  font-size: 0.9rem;
  line-height: 1.5;
}

.project-skills {
  display: flex;
  flex-wrap: wrap;
  margin-top: 15px;
}

.skill-tag {
  background: rgba(58, 134, 255, 0.15);
  color: #3a86ff;
  border-radius: 15px;
  padding: 3px 10px;
  margin: 0 5px 5px 0;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
}

.skill-tag i {
  margin-right: 4px;
  font-size: 0.7rem;
}

.project-media {
  margin-top: 15px;
}

.project-media img {
  max-width: 100%;
  border-radius: 5px;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.key-features {
  background: rgba(58, 134, 255, 0.1);
  border-radius: 8px;
  padding: 12px 15px;
  margin: 15px 0;
}

.key-features h6 {
  color: #3a86ff;
  margin-bottom: 10px;
  font-weight: 600;
}

.key-features ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.key-features li {
  margin-bottom: 5px;
  font-size: 0.85rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  color: #3a86ff;
  font-weight: 500;
  margin-top: 10px;
  transition: all 0.2s ease;
}

.project-link:hover {
  color: #2a76ef;
  text-decoration: underline;
}

.project-link i {
  margin-right: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .project-skills {
    flex-wrap: wrap;
  }
  
  .skill-tag {
    margin-bottom: 5px;
  }
}