/* RESET (always at top) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #0a0a0a;
  color: #fff;
  line-height: 1.6;
}

/* NAVBAR */
nav {
  position: sticky;
  top: 0;
  background: #111;
  padding: 0.8rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2000;
}

/* LOGO */
nav .logo {
  display: flex;
  align-items: center;
}

nav .logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0,255,255,0.5));
  transition: 0.3s;
}

nav .logo img:hover {
  transform: scale(1.05);
}

/* NAV LINKS (FIXED) */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: #00ffff;
}

* { margin:0; padding:0; box-sizing:border-box; font-family:'Poppins', sans-serif; }
body { background:#0a0a0a; color:#fff; line-height:1.6; }


/* MENU BUTTON */
.menu-btn {
  display:none;
  font-size:22px;
  color:#00ffff;
  cursor:pointer;
}
.btn {
  display:inline-block;
  margin-top:10px;
  padding:10px 20px;
  background:#00ffff;
  color:black;
  border-radius:5px;
  text-decoration:none;
}

/* SIDEBAR */
.sidebar {
  position: fixed;
  top: 70px;
  left: 0;
  width: 240px;
  height: 100%;
  background: #0d0d0d;
  padding: 20px 15px;
  border-right: 1px solid #222;

  transform: translateX(0);
  transition: transform 0.35s ease-in-out;
  z-index: 1001;
}

.sidebar a {
  display:block;
  color:#aaa;
  margin:8px 0;
  padding:8px 10px;
  border-radius:6px;
  text-decoration:none;
}

.sidebar a:hover {
  background:#111827;
  color:#00ffff;
}

/* OVERLAY*/
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

#overlay.active {
  opacity: 1;
  visibility: visible;
}

/* CONTENT */
.container {
  max-width:1100px;
  margin:50px auto;
  padding:20px;
  margin-left:260px;
}

.card {
  background:#111;
  padding:25px;
  margin-bottom:20px;
  border-radius:10px;
}

.card h2 { color:#00ffff; margin-bottom:10px; }
.card h3 { color:#38bdf8; margin-top:15px; }
.card p, .card li { color:#ccc; }

table {
  width:100%;
  border-collapse:collapse;
  margin-top:10px;
}
th, td { padding:10px; text-align:left; }
tr { border-bottom:1px solid #333; }

footer {
  background:#111;
  padding:30px;
  text-align:center;
  color:#777;
}

/* MOBILE */
@media(max-width:768px){
  .menu-btn { display:block; }

  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .container {
    margin-left:0;
  }
}

html { scroll-behavior:smooth; }