/* Reset and layout */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
}

/* Page wrapper for sticky footer layout */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* Sticky header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Footer (not sticky, placed at bottom when needed) */
footer {
  background-color: rgb(18, 18, 66);
  color: white;
  padding: 2rem 1rem 1rem;
  text-align: center;
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Optional: hero and navbar styles */
.hero {
  padding: 3rem 2rem;
  text-align: center;
  color: white;
  background-size: cover;
  background-position: center;
}

.navbar-nav .nav-link {
  transition: all 0.2s ease-in-out;
}

.navbar-nav .nav-link:hover {
  color: #007bff;
  text-decoration: underline;
}

.dropdown-menu {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
