/* Career Section Styles */

#career {
  position: relative;
  padding: 140px 10vw 40px 10vw;
  background: var(--primary-bg);
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 24px auto 0 auto;
  padding-left: 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background: var(--accent-red);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 2px;
  opacity: 0.7;
}

.job {
  position: relative;
  width: 50%;
  padding: 0 32px 32px 32px;
  background: transparent;
  box-sizing: border-box;
  margin-bottom: 0;
  z-index: 2;
}

.job-content {
  min-width: 320px;
  padding: 24px 32px 24px 32px;
  position: relative;
  z-index: 1;
  color: #fff !important;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.18);
  transition: box-shadow 0.3s, transform 0.3s;
  background: none !important;
  border-left: none;
  border-right: none;
}

.job-content::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.18);
  border-radius: 12px;
  z-index: -1;
}

.job-content:hover {
  box-shadow: 0 6px 32px 0 rgba(255,59,59,0.18);
  transform: translateY(-4px) scale(1.02);
}

.job-content h4, .job-content .duration, .job-content p {
  color: #fff !important;
}

.job h4 {
  color: var(--accent-red);
  margin-bottom: 6px;
  font-size: 1.08em;
}

.job .duration {
  color: var(--text-secondary);
  font-size: 1.01em;
  margin-bottom: 8px;
  font-style: normal;
  font-weight: 500;
}

.job p {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.job ul {
  margin: 0 0 0 18px;
  padding: 0;
  color: var(--text-secondary);
}

.job ul li {
  margin-bottom: 8px;
  font-size: 1em;
  color: var(--text-secondary);
  position: relative;
  padding-left: 18px;
}

.job ul li::before {
  content: '\2022';
  color: var(--accent-red);
  position: absolute;
  left: 0;
  font-size: 1.2em;
  top: 0.1em;
}

.job::after {
  content: '';
  position: absolute;
  top: 32px;
  right: -10px;
  width: 18px;
  height: 18px;
  background: var(--primary-bg);
  border: 4px solid var(--accent-red);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 4px var(--primary-bg);
  display: none;
}

.job:nth-child(odd) {
  left: 0;
}

.job:nth-child(even) {
  left: 50%;
}

.job:nth-child(odd)::after {
  left: auto;
  right: -10px;
  display: block;
}

.job:nth-child(even)::after {
  left: -10px;
  right: auto;
  display: block;
}

.job-content.active {
  box-shadow: 0 8px 40px 0 rgba(255,59,59,0.28);
  transform: scale(1.03);
}

.job:nth-child(even) .job-content {
  border-left: 4px solid rgba(255,59,59,0.18);
  border-right: none;
}

.job:nth-child(odd) .job-content {
  border-right: 4px solid rgba(255,59,59,0.18);
  border-left: none;
}

@media screen and (max-width: 900px) {
  #career {
    padding: 120px 2vw 40px 2vw;
  }
  .timeline {
    padding-left: 0;
  }
  .timeline::after {
    left: 8px;
  }
  .job {
    width: 100%;
    left: 0 !important;
    padding: 0 0 32px 0;
  }
  .job-content {
    min-width: 0;
    padding: 18px 10px 18px 10px;
  }
  .job::after {
    left: 0;
    right: auto;
  }
} 

@media (max-width: 700px) {
  .timeline {
    padding-left: 0 !important;
    max-width: 100vw;
  }
  .timeline::before,
  .timeline::after {
    display: none !important;
  }
  .job {
    padding-left: 0 !important;
    margin-left: 0 !important;
    min-width: 0;
    max-width: 100vw;
  }
  .job::before,
  .job::after {
    display: none !important;
  }
  .job-content {
    padding: 18px 10px !important;
    border-left: none !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    border-radius: 10px;
    width: 100%;
    min-width: 0;
    max-width: 100vw;
    overflow-x: auto;
  }
} 