#experience {
  padding: 6rem 10%;
  background: radial-gradient(circle at top, #0e1320, #05070d);
  color: #fff;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 4rem;
  color: #6ab7ff;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, #00ff88, #6a5cff);
  transform: translateX(-50%);
}

/* Timeline items */
.timeline-item {
  width: 45%;
  padding: 1.8rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 136, 0.2);
  position: relative;
  margin-bottom: 4rem;
}

.timeline-item h3 {
  margin: 0.5rem 0;
}

.timeline-item p {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.timeline-item .meta {
  font-size: 0.85rem;
  color: #94a3b8;
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 55%;
}

/* Dot */
.timeline-item::after {
  content: "";
  position: absolute;
  top: 30px;
  width: 14px;
  height: 14px;
  background: #00ff88;
  border-radius: 50%;
  box-shadow: 0 0 12px #00ff88;
}

.timeline-item.left::after {
  right: -35px;
}

.timeline-item.right::after {
  left: -35px;
}

/* Full width top card */
.timeline-item.full {
  width: 100%;
  left: 0;
  text-align: center;
  margin-bottom: 5rem;
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(106, 92, 255, 0.15);
  color: #a78bfa;
  border-radius: 999px;
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}

/* Tags */
.tags {
  margin-top: 0.8rem;
}

.tags span {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  margin: 0.2rem;
  font-size: 0.75rem;
  border-radius: 999px;
  background: rgba(106, 92, 255, 0.15);
  color: #a78bfa;
}

/* Responsive */
@media (max-width: 900px) {
  .timeline::before {
    left: 10px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 2.5rem;
  }

  .timeline-item::after {
    left: -8px;
    right: auto;
  }
}
