/* General styles */
#work-experience {
    padding: 50px 0;
    background-color: #f8f9fa;
  }

body.dark #work-experience{
    background-color: hsl(0deg 0% 0.39%);
    color: white;
}
body.dark  .timeline-item .timeline-content{
    background-color: rgb(24 24 27);
    color:white;
}
  
  #work-experience h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
  }
  
  /* Timeline container */
  .timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
  }
  
  .timeline-item {
    position: relative;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateX(-100px);
    animation: fadeInRight 0.6s ease-out forwards;
  }
  
  .timeline-item:nth-child(even) {
    transform: translateX(100px);
    animation: fadeInLeft 0.6s ease-out forwards;
  }
  
  .timeline-item .timeline-date {
    font-weight: bold;
    font-size: 1.2rem;
    color: #007bff;
  }
  
  .timeline-item .timeline-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .timeline-item .timeline-content h3 {
    font-size: 1.6rem;
    color: #333;
  }
  
  .timeline-item .timeline-content ul {
    padding-left: 20px;
  }
  
  .timeline-item .timeline-content ul li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #555;
  }
  
  /* Animation effects */
  @keyframes fadeInRight {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes fadeInLeft {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  /* Adding the flow indicator */
  .timeline:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: #007bff;
    transform: translateX(-50%);
  }
  
  .timeline-item:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 20px;
    width: 12px;
    height: 12px;
    background-color: #fff;
    border: 2px solid #007bff;
    border-radius: 50%;
    z-index: 1;
    transform: translateX(-50%);
  }
  