    /* Make footer stick to bottom */
    html, body {
      height: 100%;
      margin: 0;
      display: flex;
      flex-direction: column;
      font-family: Arial, sans-serif;
      background-color: #121212;
      color: #e0e0e0;
    }
/* Base nav styles */
.navbar {
  margin-left: auto;
  position: relative;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Small screens */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* hidden by default */
    flex-direction: column;
    position: absolute;
    right: 0;
    top: 60px; /* just below header */
    background: #1f1f1f;
    padding: 1rem;
    border: 1px solid #333;
    border-radius: 8px;
  }

  .nav-links.show {
    display: flex; /* shown when toggled */
  }

  .hamburger {
    display: block;
  }
}


nav {
  margin-left: auto; /* push nav to the right on desktop */
  display: flex;
  gap: 1rem;
}

nav a {
  color: #f0f0f0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}

nav a:hover {
  color: #4da3ff;
}

@media (max-width: 600px) {
  nav {
    margin-left: 0;
    margin-top: 0.5rem;
    justify-content: center;
    width: 100%;
  }
}

header {
  display: flex;
  align-items: center;
  justify-content: center; /* centers the group */
  padding: 1.5rem;
  background: #1f1f1f;
  border-bottom: 2px solid #333;
  gap: 1rem; /* space between logo and title */
}

header .logo {
  height: 55px;
  border-radius: 6px;
}

header h1 {
  margin: 0;
  font-size: 1.8rem;
  color: #ffffff;
}


    main {
      flex: 1; /* pushes footer down */
      padding: 2rem;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
    }

    .card {
      background: #1e1e1e;
      border: 1px solid #333;
      border-radius: 10px;
      padding: 1.5rem;
      text-align: center;
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
    }

    .card svg {
      margin-bottom: 1rem;
    }

    .card h2 {
      margin: 0.5rem 0;
      font-size: 1.3rem;
      color: #fff;
    }

    .card p {
      font-size: 0.9rem;
      color: #bbb;
      min-height: 40px;
    }

    .card a {
      display: inline-block;
      margin-top: 1rem;
      padding: 0.6rem 1.2rem;
      border-radius: 5px;
      background-color: #333;
      color: #fff;
      text-decoration: none;
      transition: background 0.3s;
    }

    .card a:hover {
      background-color: #555;
    }

    footer {
      text-align: center;
      padding: 1rem;
      background: #1f1f1f;
      border-top: 2px solid #333;
      font-size: 0.9rem;
      color: #aaa;
    }

    footer a {
      color: #4ea3ff;
      text-decoration: none;
    }

.fade-in {
  opacity: 1;
  animation-name: fadeInOpacity;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
  animation-duration: 2s;
}

@keyframes fadeInOpacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
.nav-links a.disabled {
  pointer-events: none;   /* disables clicking */
  opacity: 0.5;           /* makes it look greyed out */
  cursor: not-allowed;    /* shows the “no-click” cursor */
}
