/* ===============================
   MILESTONES SECTION
=================================*/
.milestones-section {
  width: 100%;
  background: #f2f2f2;
  padding: 110px 20px;
}

.milestones-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* ===============================
   TITLE + SUBTITLE
=================================*/
.milestones-title {
  font-size: 34px;
  font-weight: 700;
  color: #222;
  margin-bottom: 15px;
}

.milestones-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 70px;
  line-height: 1.6;
}

/* ===============================
   TIMELINE
=================================*/

.timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 70px; /* space between milestone blocks */
}

/* Each milestone */
.timeline-item {
  position: relative;
  text-align: center;
  max-width: 760px;
  padding: 0 15px;
}

/* Text styling */
.timeline-item p {
  font-size: 19px;
  line-height: 1.75;
  color: #333;
  margin: 0;
}

/* ===============================
   CONNECTOR LINE (Between Items Only)
=================================*/
.timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -40px;         /* perfectly centered in gap */
  width: 3px;
  height: 35px;
  background: #27ae60;
  border-radius: 3px;
}

/* ===============================
   RESPONSIVE
=================================*/
@media (max-width: 768px) {

  .milestones-section {
    padding: 80px 18px;
  }

  .milestones-title {
    font-size: 26px;
  }

  .milestones-subtitle {
    font-size: 16px;
    margin-bottom: 50px;
  }

  .timeline {
    gap: 55px;
  }

  .timeline-item p {
    font-size: 16px;
    line-height: 1.6;
  }

  .timeline-item:not(:last-child)::after {
    height: 28px;
    bottom: -32px;
  }
}