* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  display: flex;
  height: 100vh;
  background-color: #f4f6f9;
  color: #222;
}

/* Sidebar */
.sidebar {
  width: 240px;
  background: #000000;
  color: white;
  display: flex;
  flex-direction: column;
  padding-top: 20px;
}

.sidebar h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 22px;
}

.nav-link {
  padding: 16px 24px;
  cursor: pointer;
  transition: background 0.3s;
  border-left: 4px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  background: #374151;
  border-left: 4px solid #3b82f6;
}

/* Main Content */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Top Banner */
.banner {
  background: #2563eb;
  color: white;
  padding: 20px 30px;
  font-size: 28px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Page Content */
.content {
  padding: 30px;
  overflow-y: auto;
}

.page {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.page.active {
  display: block;
}

.card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.card h2 {
  margin-bottom: 12px;
  color: #1d4ed8;
}

.card p {
  line-height: 1.7;
}

ul {
  margin-top: 12px;
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {

  body {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
  }

  .sidebar h2 {
    display: none;
  }

  .nav-link {
    border-left: none;
    border-bottom: 4px solid transparent;
  }

  .nav-link.active {
    border-left: none;
    border-bottom: 4px solid #3b82f6;
  }
}