/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
  font-family: "Segoe UI", sans-serif;
  background: #f4f4f4;
  color: #333;
  scroll-behavior: smooth;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100vh;
  background: #003049;
  padding: 2rem 1rem;
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.sidebar.open {
  transform: translateX(0);
}
@media (min-width: 769px) {
  .sidebar {
    transform: translateX(0);
  }
}
.logo-name {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}
.nav-links li {
  margin: 1rem 0;
}
.nav-links a {
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  transition: background 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
  background: #005577;
}

/* Hamburger */
.hamburger {
  position: fixed;
  top: 1rem;
  left: 1rem;
  font-size: 28px;
  z-index: 1100;
  color: #144da3;
  cursor: pointer;
  display: block;
}
@media (min-width: 769px) {
  .hamburger {
    display: none;
  }
}

/* Main Content */
main.main-content {
  margin-left: 250px;
  padding: 2rem;
}
@media (max-width: 768px) {
  main.main-content {
    margin-left: 0;
    padding: 1rem;
  }
}

/* Headings */
h2 {
  color: #003049;
  margin-bottom: 1rem;
}

/* Sections */
.discussion-container,
.feedback-section {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

/* Form Elements */
form input,
form textarea,
form select {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}
form button {
  background: #003049;
  color: white;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
form button:hover {
  background: #005577;
}

/* Discussion Posts */
.discussion-feed .post {
  background: #f9f9f9;
  border-left: 4px solid #003049;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 6px;
}
.discussion-feed .post span {
  font-size: 0.85rem;
  color: #777;
}

/* Footer */
footer.section {
  text-align: center;
  font-size: 0.9rem;
  padding: 1rem 0;
  color: #777;
  background: #f4f4f4;
  margin-top: 2rem;
}

/* Scroll to Top */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #003049;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: none;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
#scrollTopBtn:hover {
  background-color: #005577;
}
