/* =========================================================
   STC 2026
   HOME — TIMELINE
   Merged from: style(1)(1).css + style_rapih(1).css
   ========================================================= */

#timeline {
  padding: 120px 0;
  background: linear-gradient(180deg, #f4f9ff, #eef5ff);
  position: relative;
  overflow: hidden;
}

.timeline-container {
  width: min(900px, 92%);
  margin: auto;
  position: relative;
  z-index: 2;
}

.timeline-container::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  transform: translateX(-50%);
  background: linear-gradient(#2563eb, #7cb9e8);
  border-radius: 4px;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 45px;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-item .dot {
  position: absolute;
  top: 30px;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 4px solid #2563eb;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.15);
  z-index: 2;
  animation: glowPulse 3s infinite;
}

.timeline-item:nth-child(odd) .dot {
  right: -10px;
}

.timeline-item:nth-child(even) .dot {
  left: -10px;
}

.timeline-item .inner {
  background: rgba(255, 255, 255, 0.9);
  padding: 25px 28px;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(31, 62, 108, 0.1);
  border: 2px solid rgba(111, 175, 231, 0.3);
  transition:
    transform 0.4s,
    box-shadow 0.4s;
}

.timeline-item .inner:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 55px rgba(37, 99, 235, 0.2);
}

.timeline-item .date {
  display: inline-block;
  padding: 4px 14px;
  background: linear-gradient(90deg, #2563eb, #4f91d8);
  color: #fff;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.timeline-item h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0d1b2a;
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 14px;
  color: #4a5a76;
  line-height: 1.6;
}
