.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  justify-content: center;
  padding: 20px;
  background: var(--hero-bg);
  /* box-shadow: 0 0 10px var(--img-shadow-color); */
}

h2 {
  text-align: center;
}

.explore {
  text-align: center;
  text-decoration: none;
  color: black;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: color 0.3s ease-in-out;
}

.explore:hover,
.explore:active {
  color: var(--hover-color);
}

.name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  /* letter-spacing: 0.5px; */
  color: var(--primary-text-color);
}

.subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: var(--hero-sub-color); /* cool gray */
  margin-top: 0.5rem;
}

/* Fade + Slide In for Name */
.name {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideIn 1.2s ease-out forwards;
  animation-delay: 0.2s;
}

/* Subtitle Animation */
.subtitle {
  color: var(--secondary-text-color);
  opacity: 0;
  font-family: "Poppins", sans-serif;
  transform: translateY(30px);
  animation: fadeSlideIn 1.2s ease-out forwards;
  animation-delay: 0.5s;
}

/* Explore Button Animation */
.explore {
  font-family: "Poppins", sans-serif;
  padding: 10px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideIn 1.2s ease-out forwards;
  animation-delay: 0.8s;
  color: var(--secondary-text-color);

  text-decoration: none;
}

/* Optional floating effect (for "name") */
.explore,
#more {
  animation: fadeSlideIn 1.2s ease-out forwards, float 5s ease-in-out infinite;
}

/* Keyframes */
@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}
