    * {
      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;
  cursor: pointer;
}

.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;
}
    .container {
      max-width: 500px;
      margin: 40px auto;
      padding: 0 16px;
    }
    
    .search-box {
      position: relative;
      display: flex;
      align-items: center;
      margin-top: -30px;
    }
    
    .search-box input {
      flex: 1;
      padding: 12px 16px 12px 44px;
      font-size: 1rem;
      border-radius: 12px 0 0 12px;
      border: none;
      background: #f0f0f0;
      color: inherit;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
      outline: none;
    }
    
    .search-icon-input {
      position: absolute;
      top: 50%;
      left: 14px;
      transform: translateY(-50%);
      font-size: 1.1rem;
      color: gray;
      pointer-events: none;
    }
    
    .search-btn {
      background: #86BEDF;
      border: none;
      color: #000;
      padding: 11px 16px;
      border-radius: 0 12px 12px 0;
      cursor: pointer;
      font-size: 1.1rem;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }
    
    .search-btn:hover {
      background: #2093D8;
    }
    
    .suggestions {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: #f0f0f0;
      border-radius: 0 0 12px 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      z-index: 10;
      max-height: 250px;
      overflow-y: auto;
      display: none;
    }
    
    .suggestion-item {
      padding: 10px 16px;
      cursor: pointer;
      border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .suggestion-item:hover {
      background: #4CADE7;
      color: #000;
    }
    
    
    @media (max-width: 500px) {
      .container {
        margin: 20px auto;
      }
      
      .search-box input {
        font-size: 0.95rem;
        padding-left: 40px;
      }
      
      .search-btn {
        font-size: 1rem;
        padding: 10px 14px;
      }
    }
    
.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_3.jpg') 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;
  }
.search-box input {
  background: #161b22;
  color: #fff;
}
.suggestions {
  background: #161b22;
}
  .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;
}
  
}
