/* Body & font */
body {
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Headings */
h2 {
  font-weight: 500;
  /* Same size and alignment for all section headings */
  margin-left: 0;
}

/* Add spacing between sections */
section {
  margin-bottom: 3rem;
}

/* Constrain paragraph and list widths inside sections for better readability */
section p,
section ul {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Dark mode styles */
body.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
}

body.dark-mode a,
body.dark-mode .navbar {
  color: #ffffff;
}

body.dark-mode .navbar {
  background-color: #000000 !important;
}

body.dark-mode form input,
body.dark-mode form textarea {
  background-color: #222;
  color: #eee;
  border: 1px solid #444;
}

/* Contact form button in dark mode */
body.dark-mode button.btn-primary {
  background-color: #0069d9;
  border-color: #0062cc;
}

footer {
  border-top: 1px solid #444;
}

footer a:hover {
  color: #0a66c2; /* LinkedIn brand blue on hover */
  text-decoration: none;
}

#form-status {
  font-weight: 200;
}
