    /* General Reset */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: Arial, sans-serif;
      background-color: #f4f4f9;
      color: #333;
      line-height: 1.6;
      /* padding: 20px; */
    }

    /* Timeline Container */
    .timeline {
      position: relative;
      max-width: 800px;
      margin: 0 auto;
      padding: 40px 0;
    }

    /* Vertical Line in the Center */
    .timeline::after {
      content: '';
      position: absolute;
      width: 4px;
      background-color: #333;
      top: 0;
      bottom: 0;
      left: 50%;
      margin-left: -2px;
    }

    /* RTL Adjustment for Vertical Line */
    [dir="rtl"] .timeline::after {
      left: auto;
      right: 50%;
      margin-left: 0;
      margin-right: -2px;
    }

    /* Event Container */
    .event {
      padding: 20px 40px;
      position: relative;
      width: 50%;
      background-color: white;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      margin-bottom: 40px;
    }

    /* LTR Event Alignment */
    .event.left {
      left: 0;
    }

    .event.right {
      left: 50%;
    }

    /* RTL Event Alignment */
    [dir="rtl"] .event.left {
      left: auto;
      right: 0;
    }

    [dir="rtl"] .event.right {
      left: auto;
      right: 50%;
    }

    /* Connecting Line from Timeline to Event */
    .event::after {
      content: '';
      position: absolute;
      width: 20px;
      height: 20px;
      background-color: #333;
      top: 25px;
      right: -10px;
      border-radius: 50%;
      z-index: 1;
    }

    /* Adjust Connecting Line for Left Events (LTR) */
    .event.left::after {
      left: -10px;
      right: auto;
    }

    /* RTL Adjustments for Connecting Lines */
    [dir="rtl"] .event::after {
      left: -10px;
      right: auto;
    }

    [dir="rtl"] .event.left::after {
      left: auto;
      right: -10px;
    }

    /* Event Content */
    .event h3 {
      margin-bottom: 10px;
      font-size: 1.2em;
    }

    .event p {
      font-size: 1em;
    }

    /* Image Styling */
    .event img {
      width: 100%;
      height: auto;
      border-radius: 8px;
      margin-bottom: 10px;
    }

    /* Caption Styling */
    .event .caption {
      font-style: italic;
      color: #666;
      font-size: 0.9em;
      margin-top: 5px;
    }

  /* Responsive Design */
  @media screen and (max-width: 768px) {
    .timeline::after {
      left: 20px;
    }

    [dir="rtl"] .timeline::after {
      left: auto;
      right: 20px;
    }

    .event {
      width: 100%;
      padding-left: 60px;
      padding-right: 20px;
    }

    [dir="rtl"] .event {
      padding-left: 20px;
      padding-right: 60px;
    }

    .event.right {
      left: 0;
    }

    [dir="rtl"] .event.right {
      left: auto;
      right: 0;
    }

    .event::after {
      left: 20px;
      right: auto;
    }

    [dir="rtl"] .event::after {
      left: auto;
      right: 20px;
    }
  }