/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  display: flex;
  min-height: 100vh;
  background-color: #f8f9fa;
  color: #222;
  line-height: 1.6;
}

/* Sidebar */
.sidebar {
  min-width: 250px;
  background: #0b3d91; /* Deep blue */
  color: #fff;
  padding: 20px 15px;
  position: fixed;
  top: 0;
  bottom: 0;
  overflow-y: auto;
  transition: all 0.3s ease-in-out;
}

.sidebar h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
  letter-spacing: 1px;
}

.sidebar a {
  display: block;
  padding: 12px 16px;
  color: #f1f1f1;
  text-decoration: none;
  font-size: 0.95rem;
  border-radius: 6px;
  margin: 4px 0;
  transition: background 0.3s ease;
}

.sidebar a:hover {
  background: #1458cc;
}

.sidebar a.active {
  background: #fff;
  color: #0b3d91;
  font-weight: bold;
}

/* Content */
.content {
  margin-left: 270px;
  padding: 30px;
  flex: 1;
  max-width: 1000px;
}

.content h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #0b3d91;
}

.content h2 {
  font-size: 1.4rem;
  margin-top: 25px;
  margin-bottom: 10px;
  color: #333;
  border-left: 5px solid #0b3d91;
  padding-left: 10px;
}

.content p {
  margin-bottom: 15px;
  font-size: 1rem;
  color: #444;
}

ul {
  margin: 10px 0 20px 20px;
}

li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* Notes/Alerts */
.note {
  background: #e7f1ff;
  border-left: 6px solid #0b3d91;
  padding: 12px 15px;
  margin: 20px 0;
  border-radius: 6px;
  font-size: 0.95rem;
}

/* Responsive Layout */
@media (max-width: 768px) {
  body {
    flex-direction: column;
  }

  .sidebar {
    position: relative;
    min-width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .sidebar a {
    flex: 1 1 auto;
    text-align: center;
    padding: 10px;
    margin: 2px;
    font-size: 0.85rem;
  }

  .content {
    margin-left: 0;
    padding: 20px;
  }

  .content h1 {
    font-size: 1.6rem;
  }
}
