
.timelineLogo {
    width: 70px;
    height: 130px;
    /* background: red; */
    position: sticky;
    top: 250px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9;
}
/* .timelineLogo img { display:block; width:100%; height:100%; object-fit:contain; } */
/* html, body {
  overflow-x: hidden;
} */
.timeline {
    position: relative;
    width: 100%;
    /* max-width: 900px; */
  }

  /* Vertical red line */
  .timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
  }

  /* Timeline item container */
  .timeline-item {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 100px 0;
  }

  /* Center dot */
  .timeline-item::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
  }

  /* Horizontal connector — points toward the year */


  /* Line direction based on side */
  .timeline-item:nth-child(odd)::after {
    left: 50%;
  }
  .timeline-item:nth-child(even)::after {
    right: 50%;
  }

  /* Swap layout sides */
  .timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
  }

  /* Content boxes */
  .content {
    width: 45%;
    font-size: 14px;
    color: #333;
    
  }

  .year {
    width: 45%;
    color: #000;
    
    font-size: 40px;
    font-weight: 400;
    
  }
  .year h2{
    font-size: 40px;
    font-weight: 400;}

  .year span::before {
    content: "";
    position: absolute;
    width: 100px; /* line length */
    height: 1px;
    background: #d23b3b;
    z-index: 1;
    right: 50%;
  }

  /* Alignment rules */
  .timeline-item:nth-child(odd) .year span::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 150px; /* line length */
    height: 1px;
    background: #d23b3b;
    z-index: 1;
    left: 50%;
  }
  .timeline-item:nth-child(even) .year span::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 13%; /* line length */
    height: 1px;
    background: #d23b3b;
    z-index: 1;
    right: 50%;
  }

  .timeline-item:nth-child(odd) .year {
    text-align: left;
    padding-left: 100px;
  }
  .timeline-item:nth-child(even) .year {
    text-align: right;
    padding-right: 100px;
  }
  .timeline-item:nth-child(odd) .content {
    display: flex;
    justify-content: flex-end;
  }
  .timeline-item:nth-child(even) .content {
    display: flex;
    justify-content: flex-start;
  }
  .timeline-item:nth-child(odd) .content p{
    text-align: left;
  }
  .timeline-item:nth-child(even) .content p{
    text-align: left;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .timeline::before {
      left: 20px;
    }
    .timeline-item {
      flex-direction: column;
      align-items: flex-start;
      margin: 60px 0;
    }
    .timeline-item::before {
      left: 20px;
    }
    .timeline-item::after {
      display: none;
    }
    .content,
    .year {
      width: 100%;
      text-align: left;
      margin-left: 40px;
    }
  }