/* Project catalog styling */
#project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  justify-content: center;
}

.filter-btn {
  padding: 8px 16px;
  background-color: #f0f0f0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.filter-btn:hover {
  background-color: #e0e0e0;
}

.filter-btn.active {
  background-color: #246395;
  color: white;
}

#project-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.project-card {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: white;
  height: 100%;
}

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

.project-image {
  height: 200px;
  overflow: hidden;
}

.project-image img, 
.project-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #246395;
  font-size: 18px;
}

.project-details {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.achievements-list {
  margin-top: 15px;
  padding-left: 20px;
}

.achievements-list li {
  margin-bottom: 5px;
  font-size: 14px;
}

@media (max-width: 768px) {
  #project-container {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .project-image {
    height: 180px;
  }
}

@media (max-width: 480px) {
  #project-container {
    grid-template-columns: 1fr;
  }
  
  #project-filters {
    flex-direction: column;
    align-items: center;
  }
  
  .filter-btn {
    width: 80%;
  }
}