/* ===========================================================
   Program Information — connected timeline keypoints
   =========================================================== */

.info-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.info-timeline::before {
  content: "";
  position: absolute;
  top: 22px;
  left: calc(12.5% + 8px);
  right: calc(12.5% + 8px);
  height: 3px;
  background: linear-gradient(90deg, var(--primary-600), var(--gold-500));
  border-radius: 999px;
  z-index: 0;
}

.info-timeline-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.info-timeline-marker {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-900));
  color: var(--white);
  box-shadow: 0 0 0 4px var(--white), 0 8px 20px rgba(30, 58, 138, 0.22);
  margin-bottom: 18px;
  flex-shrink: 0;
}

.info-timeline-marker svg {
  width: 20px;
  height: 20px;
}

.info-timeline-marker.gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  box-shadow: 0 0 0 4px var(--white), 0 8px 20px rgba(217, 119, 6, 0.25);
}

.info-timeline-marker.green {
  background: linear-gradient(135deg, #10b981, #047857);
  box-shadow: 0 0 0 4px var(--white), 0 8px 20px rgba(16, 185, 129, 0.25);
}

.info-timeline-marker.purple {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  box-shadow: 0 0 0 4px var(--white), 0 8px 20px rgba(139, 92, 246, 0.25);
}

.info-timeline-marker .step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
}

.info-timeline-content {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
  width: 100%;
  min-height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}

.info-timeline-item:hover .info-timeline-content {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-100);
}

.info-timeline-content h3 {
  font-size: 17px;
  color: var(--primary-900);
  margin-bottom: 8px;
}

.info-timeline-content p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--gray-600);
  margin: 0;
}

.info-timeline-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.info-timeline-content li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.info-timeline-content li:last-child {
  margin-bottom: 0;
}

.info-timeline-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-600), var(--gold-500));
  transform: translateY(-50%);
}

.info-cta-wrap {
  text-align: center;
  margin-top: 72px;
  padding-top: 16px;
}

@media (max-width: 1024px) {
  .info-cta-wrap { margin-top: 56px; }

  .info-timeline {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 0;
  }

  .info-timeline::before {
    top: 20px;
    bottom: 20px;
    left: 21px;
    right: auto;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, var(--primary-600), var(--gold-500));
  }

  .info-timeline-item {
    position: relative;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 0;
    padding: 0 0 28px 56px;
  }

  .info-timeline-item:last-child {
    padding-bottom: 0;
  }

  .info-timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    margin-bottom: 0;
  }

  .info-timeline-content {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .info-cta-wrap { margin-top: 48px; }

  .info-timeline::before {
    left: 17px;
  }

  .info-timeline-item {
    padding-left: 48px;
  }

  .info-timeline-marker {
    width: 36px;
    height: 36px;
  }

  .info-timeline-marker svg {
    width: 16px;
    height: 16px;
  }

  .info-timeline-marker .step-num {
    font-size: 14px;
  }

  .info-timeline-content {
    padding: 16px;
  }
}
