/* ---------------------- Projects section ---------------------- */
#projects {
  background-color: var(--primary-bg);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.project-tile {
  background-color: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: var(--primary-text-color);
  display: block;
}

.project-tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.project-tile h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-text-color);
}

.project-tile p {
  font-size: 1rem;
  color: var(--secondary-text-color);
  line-height: 1.6;
}

.project-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}