.hero2 {
  margin: 0 auto;
  padding-top: 3%;
}

.hero2-info h1 {
  margin-left: -10%;
}

@media (max-width: 1096px) {
  .hero2-info h1 {
    margin-left: 0;
  }
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 800px;
  margin: 10% auto;
  padding: 0 20px;
}

@media (max-width: 750px) {
  .projects {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

.projects > div {
  background: rgba(139, 129, 250, 0.15);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.projects > div:hover {
  transform: translateY(-3px);
}

.link {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.projects p {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-color);
}
