* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background-color: #f2f6fc;
  color: #333;
}
/*header*/
.header-text {
  background-color: #4f46e5;
  font-size: 24px;
  font-weight: bold;
  color: var(--text-light);
  padding: 20px 30px;
  border-bottom: 2px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
header h1 {
  color: #fff;
  margin: 0;
  font-size: 32px;
}
header p {
  color: #d1d1d1;
  margin: 5px 0 0;
  font-style: italic;
  font-size: 16px;
}
.headings {
  display: flex;
  min-height: calc(100vh - 80px); /* use min-height instead of fixed height */
}

.sidebar {
  width: 250px;
  background-color: #1e1e2f;
  color: #fff;
  padding-top: 30px;
  gap: 20px;
  display: flex;
  flex-direction: column;
  height: 100vh; /* this makes sidebar stretch full height */
  position: sticky; /* keeps it in place while scrolling */
  top: 0;
}

.sidebar a {
  color: white;
  text-decoration: none;
  padding: 15px 20px;
  font-size: 20px;
  transition: background 0.3s;
}
.sidebar a:hover {
  background-color: #6366f1;
}
