body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f4f4;
  color: #333;
}

header {
  background: #004080;
  color: #fff;
  padding: 1em 0;
  text-align: center;
}

header nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2em;
}

header nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

header nav a.active {
  border-bottom: 2px solid yellow;
}

.hero {
  background: #e0eaff;
  padding: 2em;
  text-align: center;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 1em;
  margin: 1em;
  flex-wrap: wrap;
}

#searchInput {
  padding: 0.5em;
  width: 200px;
}

.filter-buttons button,
#darkModeToggle {
  padding: 0.5em 1em;
  background: #004080;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.projects-section {
  padding: 2em;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2em;
}

.project-card {
  background: white;
  border-radius: 10px;
  padding: 1em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.project-card img {
  max-width: 100%;
  border-radius: 10px;
}

.project-content h4 {
  margin-top: 0.5em;
  color: #004080;
}

.status {
  font-weight: bold;
  color: green;
}

.comments {
  margin-top: 1em;
}

.comment-box {
  width: 100%;
  height: 60px;
  padding: 0.5em;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.comments button {
  margin-top: 0.5em;
  padding: 0.5em;
  background: #004080;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 2em;
}

.pagination button {
  margin: 0 0.25em;
  padding: 0.5em 1em;
  background: #ccc;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.pagination button.active {
  background: #004080;
  color: white;
}

footer {
  background: #004080;
  color: white;
  text-align: center;
  padding: 1em 0;
  margin-top: 2em;
}

body.dark-mode {
  background: #1e1e1e;
  color: #f4f4f4;
}

body.dark-mode header,
body.dark-mode footer {
  background: #000;
}

body.dark-mode .project-card,
body.dark-mode .controls,
body.dark-mode .projects-section {
  background: #2c2c2c;
}

body.dark-mode .project-card,
body.dark-mode .comment-box {
  color: white;
  border-color: #666;
  background: #333;
}

body.dark-mode .comments button,
body.dark-mode .filter-buttons button,
body.dark-mode #darkModeToggle {
  background: #666;
  color: #fff;
}
