
	:root {
  --body-bg-color: #f1fafe;
  --primary-color: #0073aa;
  --timeline-gap: 2rem;
  --timeline-content-gap: 1.5rem;
  --timeline-entry-bg-color: #fff;
  --timeline-entry-padding: 2rem;
  --timeline-title-font-size: 2rem;
  --timeline-content-font-size: 1.2rem;
  --timeline-circle-size: 24px;
  --timeline-border-width: 5px;
}
.project-list li {
	    margin-bottom: 10px;
		    border-bottom: 1px solid #dedede;
}
.s-color{
	color: #306793;
    font-weight: 500;
}
	#timeline-section { padding: 4rem 0; }

/* The container stays positioned for the spine & markers */
#timeline {
  position: relative;
}

/* LIST is the flex column now (restores gap + align-self behaviour) */
.timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  flex-direction: column;
  gap: var(--timeline-gap);
}

/* centre spine uses token; sits behind markers */
#timeline::before {
  content: "";
  width: var(--timeline-border-width);
  height: 100%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  z-index: 0;
}

.timeline-entry {
  display: flex;
  flex-direction: column;
  gap: var(--timeline-content-gap);
  box-sizing: border-box;
  padding: var(--timeline-entry-padding);
  background: var(--timeline-entry-bg-color);
  width: 45%;
  box-shadow: 0px 15px 30px -25px rgba(0,0,0,0.5);
}

/* marker anchored to #timeline (intentional) */
.timeline-entry::after {
  content: "";
  width: var(--timeline-circle-size);
  height: var(--timeline-circle-size);
  border-radius: 50%;
  border-width: var(--timeline-border-width);
  border-style: solid;
  border-color: var(--primary-color);
  background: var(--timeline-entry-bg-color);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1; /* above spine */
}

.timeline-entry .title { 
	font-size: var(--timeline-title-font-size);
	    color: #00457c;
		    align-self: center;

 }
.timeline-entry p {
	 font-size: var(--timeline-content-font-size); 
}


/* Desktop zig-zag: even items to the right */
@media (min-width: 768px) {
  .timeline-list .timeline-entry:nth-child(even) {
    align-self: flex-end;
  }
}

/* Mobile: move spine to start and widen entries */
@media (max-width: 767px) {
  #timeline::before {
    left: 0;
    transform: none;
  }
  
  .timeline-entry {
    width: 100%;
    align-self: flex-end;
	 padding: 0;
  }
  .timeline-entry::after {
    left: calc(-1 * ((var(--timeline-circle-size) / 2) + (var(--timeline-border-width) / 2)));
    transform: none;
  }
}

/* Accessibility helper for the hidden heading */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
