/* EXPERIENCE TIMELINE – SAFE & SCOPED */

.experience-section {
  padding: 120px 0;
}

.experience-title {
  text-align: center;
  font-size: clamp(32px, 6vw, 48px);
  margin-bottom: 80px;
  background: linear-gradient(to bottom, #ffffff, #888888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}

/* Vertical line */
.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(0, 112, 243, 0.8), transparent);
}

/* Item */
.timeline-item {
  position: relative;
  margin-bottom: 60px;
  transition: transform 0.3s ease;
}

/* Dot */
.timeline-dot {
  position: absolute;
  left: -2px;
  top: 8px;
  width: 16px;
  height: 16px;
  background: #0070f3;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0, 112, 243, 0.8);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Content card */
.timeline-content {
  background: rgba(128, 34, 191, 0.111);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px 28px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Hover effects */
.timeline-item:hover .timeline-content {
  transform: translateX(8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.3);
  box-shadow: 0 0 20px rgba(0, 112, 243, 1);
}

/* Text */
.timeline-date {
  font-size: 13px;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}

.timeline-content h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.timeline-content h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.timeline-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 640px) {
  .timeline {
    padding-left: 30px;
  }

  .timeline-content {
    padding: 20px;
  }
}
