/* Additional CSS to ensure consistency between Experience and Projects sections */
#experience .projects,
#projects .projects {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  perspective: 1000px;
}

#experience .project-card,
#projects .project-card {
  width: calc(33.333% - 1rem);
  min-width: 280px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
}

/* Make sure the project cards in both sections have consistent heights */
#experience .project-img,
#projects .project-img {
  height: 260px;
}

/* Ensure consistent spacing in both sections */
#experience .project-desc,
#projects .project-desc {
  flex-grow: 1;
}

/* Update Projects section to use card-details structure consistently */
#projects .card-details {
  margin-top: auto;
}

@media (max-width: 900px) {
  #experience .project-card,
  #projects .project-card {
    width: calc(50% - 1rem);
  }
}

@media (max-width: 600px) {
  #experience .project-card,
  #projects .project-card {
    width: 100%;
  }
}
