    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    html, body {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #111;
  transition: background-color 0.3s ease, color 0.3s ease;
  scroll-behavior: smooth;
}

@media (prefers-color-scheme: dark) {
  html, body {
    background-color: #0d1117;
    color: #f0f0f0;
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 92%;
  margin-left: 4%;
  margin-top: 10px;
  background: rgba(173, 216, 230, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 18px;
  width: 24px;
  cursor: pointer;
}

.nav-icon span {
  height: 3px;
  width: 100%;
  background-color: #004e7c;
  border-radius: 2px;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: #004e7c;
  text-align: center;
  flex: 1;
}

.logo-img {
  height: 40px;
  width: auto;
}

main {
  margin-top: 130px;
  padding-bottom: 100px;
}
/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: -260px;
  width: 250px;
  height: 100vh;
  background: linear-gradient(to bottom, #d6f0ff, #b2e0ff);
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1);
  padding: 2rem 1rem;
  transition: left 0.3s ease;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar.active {
  left: 0;
}

.sidebar a {
  color: #004e7c;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  transition: background 0.3s;
}

.sidebar a:hover {
  background: rgba(0, 78, 124, 0.1);
}

.sidebar .close-btn {
  align-self: flex-end;
  font-size: 1.5rem;
  cursor: pointer;
  color: #004e7c;
}

.sidebar .user-info {
  margin-top: 1rem;
  font-weight: bold;
  font-size: 1rem;
  color: #004e7c;
}

.hero-banner {
  position: relative;
  height: 400px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
url('/Images/hero_1.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  border-radius: 20px;
  margin: 1rem auto;
  width: 92%;
}

.hero-content {
  z-index: 2;
  padding: 1rem;
}

.hero-content h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

button {
  padding: 0.8rem 1.4rem;
  font-size: 1rem;
  border-radius: 25px;
  border: none;
  background: #00cc88;
  color: white;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease;
}

button:hover {
  transform: scale(1.05);
}

section.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  width: 92%;
  margin: 2rem auto;
}

.card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.card h3 {
  margin-bottom: 0.5rem;
  cursor: pointer;
  color: #004e7c;
}

.card img {
  width: 60px;
height: 60px;
border-radius: 8px;
object-fit: cover;
cursor: pointer;
}

.card a {
  display: block;
  text-align: right;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: #0077cc;
  text-decoration: none;
}

.stellarie-banner {
  position: relative;
  height: 300px;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)),
    url('/Images/hero_2.png') center/cover no-repeat;
  color: white;
  text-align: center;
  border-radius: 20px;
  margin: 2rem auto;
  width: 92%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stellarie-banner h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.stellarie-banner p {
  margin-bottom: 1rem;
}
.stellarie-banner .buttons {
  gap: 1rem;
}

    footer.fancy-footer {
      margin-top: 4rem;
      padding: 2rem;
      background: #f4f4f4;
      color: #222;
      border-top: 1px solid #ddd;
      font-size: 0.9rem;
    }

    .fancy-footer a {
      color: #004e7c;
      text-decoration: none;
    }

    .fancy-footer a:hover {
      text-decoration: underline;
    }

    .footer-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      margin-bottom: 2rem;
    }

    .footer-icons a {
      margin-right: 1rem;
      font-size: 1.2rem;
      color: #004e7c;
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      margin-bottom: 2rem;
    }

    .footer-links div {
      margin-right: 2rem;
      margin-bottom: 1rem;
    }

    .footer-links ul {
      list-style: none;
      padding: 0;
    }

    .footer-links li {
      margin-bottom: 0.5rem;
    }

    .footer-bottom {
      text-align: center;
      border-top: 1px solid #ccc;
      padding-top: 1rem;
    }

@media (prefers-color-scheme: dark) {
  header {
    background: rgba(25, 40, 55, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-icon span {
    background-color: #ffffff;
  }

  .logo-text {
    color: #ffffff;
  }

  .hero-banner, .stellarie-banner {
    background-blend-mode: darken;
  }

  .card {
    background: rgba(30, 30, 30, 0.9);
    color: white;
  }

  button {
    background: #00b87d;
  }

  footer.fancy-footer {
  background: #111621;
  color: #ccc;
  border-top: 1px solid #222;
}

.fancy-footer a,
.footer-icons a {
  color: #00cc88;
}

.footer-bottom {
  border-top: 1px solid #333;
}
  
}
