.project-list {
  padding: 2rem 0;
  width: 80%;
  margin: 1rem auto;
}
.project-list h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.project-list ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.project-list li {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 1rem;
  flex-basis: calc(33.333% - 1rem);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  margin-bottom: 1.5rem;
}
.project-list li a {
  text-decoration: none;
  color: inherit;
  display: block;
}
.project-list li img {
  max-width: 100%;
  height: auto;
  border-bottom: 1px solid #eee;
  margin-bottom: 0.5rem;
  border-radius: 3px;
}
.project-list li h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #337ab7;
}
.project-list li p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Project Detail Page Specifics (can be expanded) */
.project-detail {
  padding: 2rem 0;
  width: 70%;
  margin: 1rem auto;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.project-detail h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #333;
}
.project-detail img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 1.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.project-detail p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: #555;
}

/* Responsive adjustments for project list on smartphones */
@media (max-width: 767px) {
  .project-list ul li {
    flex-basis: 100%; /* Each item takes full width of the container */
    margin-left: 0;
    margin-right: 0;
  }
}
