/* Reset spacing to ensure navbar is flush with top */
html, body, table {
  margin: 0;
  padding: 0;
}

/* Apply box-sizing to all elements */
* {
  box-sizing: border-box;
}

/* Style the body */
body {
  font-family: 'Times New Roman', Times, serif;
  background-color: #ffffff;
  color: #000000;
}

/* Horizontal navigation bar */
.navbar {
  overflow: hidden;
  background-color: #111;
  width: 100%;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
}

/* Links inside the navbar */
.navbar a {
  color: white;
  padding: 16px 20px;
  text-decoration: none;
  display: block;
}

/* Spacer link (acts like a gap before "Home") */
.navbar a:first-child {
  padding: 16px 20px; /* Wider padding for 2.5x space */
  display: block;
  background-color: #111; /* Matches the navbar background */
  cursor: default; /* Cursor doesn't show it's a link */
}

/* Hover effect */
.navbar a:hover {
  background-color: #ddd;
  color: black;
}

/* Default left-alignment for all .content blocks */
.content {
  text-align: left;
  padding: 40px 20px;
  font-family: 'Times New Roman', Times, serif;
  margin-top: 60px; /* To avoid overlap with navbar */
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
}

/* Only center content for homepage */
.home-section {
  text-align: center;
}

/* Optional: narrow the width on subpages for readability */
.about-section,
.research-section,
.dataset-section,
.dashboard-section {
  margin: 0;
  padding: 40px 20px;
  max-width: 100%;
  text-align: left;
}

/* Header style */
.header {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 30px;
}

/* Image Section */
.image-container {
  text-align: center;
  margin-bottom: 20px;
}

.main-image {
  max-width: 75%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Summary Text */
.summary-text {
  font-size: 18px;
  font-weight: bold;
  font-family: 'Times New Roman', Times, serif;
  max-width: 700px;
  margin: 20px auto 0;
  line-height: 1.6;
  text-align: center;
}

/* Diamond bullets for specific sub-lists */
.diamond-list {
  list-style: none;
  padding-left: 1.25em;
}

.diamond-list li {
  margin-bottom: 4.5px; /* Adjust this value for spacing between items */
}

.diamond-list li::before {
  content: "◆";
  color: black;
  font-size: 1em;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* Space between the list label and its sublist */
li > ul.diamond-list {
  margin-top: 2.5px; /* Adjust this to control the gap */
}

/* Homepage spacing adjustments */
.home-section {
  padding-top: 10px; /* Pull content closer to the navbar */
}

.header {
  margin-top: 0px; /* Reduce space above title */
  margin-bottom: 30px; /* Slightly less space below title */
}

.image-container {
  margin-top: 0; /* Remove unnecessary top spacing */
}

.summary-text {
  margin-top: 10px; /* Bring the text closer to the image */
}

.page-wrapper {
  padding-left: 40px;
  padding-right: 20px;
  max-width: 900px;
}