body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

header {
  background-color: #00447c;
  color: white;
  padding: 20px;
  text-align: center;
}

nav {
  background-color: #e0e0e0;
  text-align: center;
  padding: 10px;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #00447c;
  font-weight: bold;
}

main {
  padding: 20px;
  max-width: 800px;
  margin: auto;
}

section {
  margin-bottom: 40px;
}

h2 {
  color: #00447c;
}

footer {
  background-color: #00447c;
  color: white;
  text-align: center;
  padding: 10px;
}

/* Timeline Container */
.timeline {
  position: relative;
  margin: 40px 0;
  padding-left: 180px; /* enough room for date text */
}

/* Vertical Line */
.timeline::before {
  content: '';
  position: absolute;
  left: 150px; /* align to the right of dates */
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #00447c;
}

/* Timeline Item */
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

/* Date on the Left */
.timeline-date {
  position: absolute;
  left: 0;
  width: 140px;
  text-align: right;
  font-weight: bold;
  color: #00447c;
  top: 8px;
}

/* Dot */
.timeline-item::before {
  content: '';
  position: absolute;
  left: 144px; /* slightly left of the vertical line */
  top: 14px;
  width: 12px;
  height: 12px;
  background-color: #00447c;
  border: 2px solid white;
  border-radius: 50%;
  z-index: 1;
}

/* Timeline Content Box */
.timeline-content {
  background-color: #f1f1f1;
  padding: 15px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-left: 180px; /* aligns with the line */
}

/* === Universal Timeline === */
.timeline {
  position: relative;
  margin: 40px 0;
  padding-left: 180px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 150px;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #00447c;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-date {
  position: absolute;
  left: 0;
  width: 140px;
  text-align: right;
  font-weight: bold;
  color: #00447c;
  top: 8px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 144px;
  top: 14px;
  width: 12px;
  height: 12px;
  background-color: #00447c;
  border: 2px solid white;
  border-radius: 50%;
  z-index: 1;
}

.timeline-content {
  background-color: #f1f1f1;
  padding: 15px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-left: 180px;
}

/* === Responsive Design === */
@media (max-width: 768px) {
  .timeline {
    padding-left: 20px;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-date {
    position: relative;
    left: 0;
    width: auto;
    text-align: left;
    margin-bottom: 5px;
    top: auto;
  }

  .timeline-item::before {
    left: -2px;
    top: 0;
  }

  .timeline-content {
    margin-left: 20px;
  }
}

.headshot {
  width: 180px;
  height: auto;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.headshot {
  display: block;
  margin: 0 auto 20px auto;
  border: 3px solid #00447c;
}

