:root {
  --primary-color: #007bff;
  --primary-dark: #0056b3;
  --dark-bg: #2f2f2f;
  --nav-bg: #343a40;
  --text-light: #ffffff;
  --spacing-unit: 1rem;
  --bg-blue-dark: #090A1A;
  --card-bg-middle: #16182D;
  --blue-light: #9CA0D2;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Arial, sans-serif;
  background-color: var(--bg-blue-dark);
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

.header {
  background-color: var(--blue-light);
  color: var(--text-light);
  text-align: center;
  padding: var(--spacing-unit);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.header h1 {
  margin: 0;
  font-size: 1.8rem;
}

.header img {
  height: 40px;
  width: 40px;
  margin-left: 10px;
}

nav {
  background-color: var(--card-bg-middle);
  display: flex;
  justify-content: center;
  padding: 0.5rem;
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 1rem;
}

nav ul li a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
}

nav ul li a:hover {
  text-decoration: underline;
}

nav ul li a.active-tab {
  border-bottom: 2px solid var(--text-light);
}

.container.sitemap {
  padding: 20px;
  max-width: 800px;
  margin: 2rem auto;
  background-color: var(--text-light);
  color: #333;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.container.sitemap h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
}

.sitemap-columns {
  display: flex;
  gap: 2rem;
}

.sitemap-column {
  flex: 1;
}

.container.sitemap ul {
  list-style: none;
  padding-left: 0;
}

.container.sitemap li {
  margin-bottom: 0.5rem;
}

.container.sitemap a {
  color: var(--primary-color);
  text-decoration: none;
}

.container.sitemap a:hover {
  text-decoration: underline;
}

footer {
  background-color: var(--card-bg-middle);
  color: var(--text-light);
  text-align: center;
  padding: var(--spacing-unit);
  margin-top: auto;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--text-light); /* Ensures links in footer stay white */
  text-decoration: none;
}

footer a:hover,
footer a:focus {
  text-decoration: underline; /* Adds underline on hover/focus */
}

footer a:visited {
  color: var(--text-light); /* Ensures visited links stay white */
}

footer a:active {
  color: var(--text-light); /* Keeps active links white */
}

@media (max-width: 768px) {
  .container.sitemap {
    padding: 15px;
    margin: 1rem auto;
  }

  .sitemap-columns {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container.sitemap {
    padding: 1rem;
  }

  .container.sitemap h2 {
    font-size: 1.5rem;
  }
}
