.main-container {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1440px;
  gap: 2rem;
  overflow: visible;
  padding: 0 0 11rem 0;
}

.left-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-right: 0;
}

.left-column h1 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  font-family: "Plus Jakarta Sans", Sans-serif;
}

.intro-text {
  font-size: 1rem;
  color: #757575;
  line-height: 1;
  font-family: "Plus Jakarta Sans", Sans-serif;
}

.image-wrapper {
  border-radius: 1.5rem;
  overflow: hidden;
  width: 100%;
  height: 450px;
}

.image-wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

/* --- MOBILE TIMELINE LAYOUT (STACKED) --- */
.right-column {
  position: relative;
  overflow: visible;
  padding-left: 0;
  display: flex;
  flex-direction: row;
  height: 650px;
}

.timeline-bar {
  position: relative;
  top: unset;
  left: unset;
  bottom: unset;
  width: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Space items vertically with a gap */
  justify-content: space-between;
  gap: 3rem;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background-color: #e9ecef;
  z-index: 1;
}

#progress-line {
  width: 100%;
  /* Full height on mobile to show full progress */
  height: 100%;
  background: linear-gradient(to bottom, #4a90e2, #346edf);
  transition: none;
}

.timeline-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: none;
  z-index: 2;
  flex-shrink: 0;
}

.timeline-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #adb5bd;
  fill: currentColor;
}

/* On mobile, ALL icons are completed/filled */
.timeline-icon.completed {
  color: #346edf;
  transform: none;
  box-shadow: none;
}

.timeline-icon.completed svg {
  color: #346edf;
}

.timeline-icon.active {
  transform: none;
  box-shadow: none;
}

.content-container {
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: auto;
  gap: 5rem;
}

.timeline-content-item {
  transition: none;
  position: relative;
  height: auto;
  display: block;
}

.timeline-content-item h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #346edf;
  margin-bottom: 0.25rem;
  font-family: "Plus Jakarta Sans", Sans-serif;
}

/* On mobile, ALL paragraphs are visible */
.timeline-content-item p {
  color: #495057;
  position: absolute;
  margin-top: 5px;
  font-family: "Plus Jakarta Sans", Sans-serif;
  top: 100%;
  left: 0;
  right: 0;
  width: 65vw;
  display: block;
}
/* 250px and up*/
@media (min-width: 200px) {
  .right-column {
    height: 1000px;
  }
}

/* 350px and up*/
@media (min-width: 300px) {
  .right-column {
    height: 850px;
  }
}

/* 350px and up*/
@media (min-width: 430px) {
  .right-column {
    height: 700px;
  }
}

/* 350px and up*/
@media (min-width: 430px) {
  .right-column {
    height: 700px;
  }
}

/* 1024px and up*/
@media (min-width: 1024px) {
  .main-container {
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    padding: 0;
    height: 810px;
  }
  .left-column {
    padding-right: 2rem;
  }
  .left-column {
    p {
      font-size: 1.5rem;
    }
    h1 {
      font-size: 4rem;
      text-align: left;
    }
  }

  /* --- DESKTOP TIMELINE LAYOUT (FIXED & SCROLL-JACKED) --- */
  .right-column {
    height: 700px;
    display: block;
  }

  .timeline-bar {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 70px;
    justify-content: space-between;
    gap: 0;
    padding-top: 0;
  }

  #progress-line {
    height: 0;
    transition: height 0.3s ease;
  }

  .timeline-icon {
    width: 2rem;
    height: 2rem;
    transition: all 0.5s ease;

    transform: none;
    box-shadow: none;

    svg {
      width: 2rem;
      height: 2rem;
    }
  }

  .content-container {
    margin-left: 80px;
    justify-content: space-between;
    height: 100%;
    gap: 0;
  }

  .timeline-content-item {
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    align-items: center;
  }

  .timeline-content-item h2 {
    margin-bottom: 0;
    margin-top: 0;
    color: #212529;
    font-size: 1.7rem;
  }

  .timeline-content-item.active h2 {
    color: #346edf;
  }

  /* Desktop: Paragraph is hidden until active */
  .timeline-content-item p {
    transition: opacity 0.4s ease, transform 0.4s ease;
    position: absolute;
    font-size: 1.2rem;
    top: 100%;
    left: 0;
    margin-top: 5px;
    width: 100%;
  }
}
