.experience {
  padding: 100px 0 120px;
  background: linear-gradient(115deg, #FFFFFF 0%, #FFFFFF 30%, #C9DAFC 100%);
}

.experience-grid {
  position: relative;
  width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 250px);
  border-top: 1px solid #A9B9D6;
}

.timeline-canvas {
  position: absolute;
  top: -45px;
  left: 0;
  width: 1000px;
  height: 90px;
  pointer-events: none;
  z-index: 0;
}

.exp-col {
  position: relative;
  width: 250px;
  min-height: 255px;
  padding: 40px 24px 0 24px;
  border-left: 1px solid #A9B9D6;
}

.exp-col::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -1px;
  width: 1px;
  height: 20px;
  background: #A9B9D6;
}

.exp-dot {
  position: absolute;
  z-index: 1;
  top: -8.5px;
  left: -8.5px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--blue-light);
}

.exp-dot.filled {
  background: var(--orange);
  border-color: var(--orange);
  animation: dot-pulse 1.8s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.35);
  }
}

.exp-date {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.exp-company {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--blue);
  line-height: 1.3;
  margin-bottom: 8px;
}

.exp-role {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--blue-light);
  line-height: 1.4;
  margin-bottom: 20px;
}

.exp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-outline {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 9px;
  color: var(--blue-light);
  border: 1px solid var(--blue-light);
  border-radius: 999px;
  padding: 6px 12px;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .experience-grid {
    width: 100%;
    max-width: 100%;
    padding-left: 8px;
    grid-template-columns: 1fr;
    border-top: none;
  }

  .timeline-canvas {
    display: none;
  }

  .exp-col {
    width: 100%;
    padding: 0 0 32px 28px;
    border-left: 2px solid #A9B9D6;
  }

  .exp-col:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
  }

  .exp-col::before {
    display: none;
  }

  .exp-dot {
    top: -1px;
    left: -9px;
  }
}
