.top-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 15px 25px;

  background-color: #f4f0fa;
  /* 👈 add this */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  /* 👈 soft depth */

  position: sticky;
  top: 0;
  z-index: 1000;

  flex-wrap: wrap;
  /* 👈 allows wrapping on smaller screens */

}

.top-nav button {
  border-radius: 12px;
  padding: 8px 16px;
  background-color: #d6cdea;
  border: none;
  cursor: pointer;
}

.top-nav button:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 14px rgba(140, 110, 200, 0.25);
}

.active-nav {
  background-color: #cbbbe9 !important;
  box-shadow: 0 4px 12px rgba(140, 110, 200, 0.35);
  transform: scale(1.05);
  transition: all 0.2s ease;
  border: 2px solid #a18cd1;
}

.banner {
  max-width: 100%;
  margin: 15px auto 25px;
  border-radius: 16px;
  padding: 40px 25px;
  text-align: center;
  margin-bottom: 25px;
  min-height: 180px; 
  background-size: cover;
  background-position: center;

  /* animation */
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInBanner 0.8s ease forwards;

  /* hover */
  transition: transform 0.4s ease;
}

@keyframes fadeInBanner {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.banner-title {
  color: white;
  font-size: 32px;
  margin-bottom: 10px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.banner-subtitle {
  color: white;
  font-size: 18px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}



.container {
  margin: 80px auto;
  /* was 60px */
}


ul {
  display: grid;
  grid-template-columns: 1fr;
  /* default = 1 column */
  gap: 10px;
  padding: 0;
  list-style: none;
}

@media (min-width: 600px) {
  ul {
    grid-template-columns: 1fr 1fr;
  }
}

li a {
  display: inline-block;
  line-height: 1.4;
  color: #5c4b7d;
  text-decoration: none;
}

li a:hover {
  text-decoration: underline;
}

li {
  padding: 6px 8px;
  border-radius: 8px;
  align-self: start;
}

li:hover {
  background-color: #f0e9fb;
}