/* Reset & Layout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background-color: #f7f8fa;
  color: #222;
}

/* Container Grid */
#container {
  display: grid;
  grid-template-columns: 250px 1fr;
  height: 100vh;
}

/* Sidebar */
.sidebar {
  background: #1e2a38;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

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

.nav-links {
  list-style: none;
}

.nav-links li {
  margin: 10px 0;
}

.nav-links a {
  text-decoration: none;
  color: #d3d9df;
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
  background: #324a5e;
  color: #fff;
}

.sidebar footer {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Main Content */
.content {
  background-color: #ffffff;
  padding: 40px 50px;
  overflow-y: auto;
}

header h1 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: #1e2a38;
}

header p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 24px;
}

section {
  margin-bottom: 30px;
}

section h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #1e2a38;
}

section p, section ul {
  line-height: 1.6;
  color: #444;
}

section ul {
  padding-left: 20px;
}

@media (max-width: 768px) {
  #container {
    grid-template-columns: 1fr;
  }

  .sidebar {
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    height: 60px;
  }

  .nav-links {
    display: flex;
    gap: 10px;
  }

  .content {
    padding: 20px;
  }
}
