    :root {
      --timeline-color: rgba(135, 252, 81, 0.6);
    }

    /* Performance optimizations */
    * {
      -webkit-tap-highlight-color: transparent;
    }
    
    /* Custom cursor - green dot */
    html, body {
      cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><circle cx="6" cy="6" r="4" fill="%2387fc51" stroke="%2387fc51" stroke-width="0.5"/></svg>') 6 6, auto;
    }
    
    /* Line cursor for text elements (excluding buttons) */
    p, span, h1, h2, h3, h4, h5, h6, .timeline-content, .timeline-date {
      cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="2" height="20" viewBox="0 0 2 20"><rect x="0" y="0" width="2" height="20" fill="%2387fc51"/></svg>') 1 10, text;
    }
    
    /* Keep green dot cursor for buttons and links */
    a, button, .back-button, .filter-tag, .view-link-button {
      cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><circle cx="6" cy="6" r="4" fill="%2387fc51" stroke="%2387fc51" stroke-width="0.5"/></svg>') 6 6, pointer;
    }
    
    /* Loading screen */
    .loading-screen {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #0a1526;
      z-index: 10000;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      font-family: 'JetBrains Mono', 'Courier New', monospace;
      opacity: 1;
      transition: opacity 0.8s ease-out;
    }
    
    .loading-screen.hidden {
      opacity: 0;
      pointer-events: none;
    }
    
    .loading-content {
      text-align: center;
      color: #87fc51;
    }
    
    .loading-terminal {
      font-size: 0.9rem;
      color: #87fc51;
      text-align: left;
      max-width: 500px;
      margin: 0 auto;
      line-height: 1.6;
    }
    
    .loading-line {
      margin-bottom: 0.5rem;
      opacity: 0;
      animation: type-in 0.5s ease-out forwards;
    }
    
    .loading-line:nth-child(1) { animation-delay: 0.2s; }
    .loading-line:nth-child(2) { animation-delay: 0.4s; }
    .loading-line:nth-child(3) { animation-delay: 0.6s; }
    .loading-line:nth-child(4) { animation-delay: 0.8s; }
    .loading-line:nth-child(5) { animation-delay: 1s; }
    .loading-line:nth-child(6) { animation-delay: 1.2s; }
    
    @keyframes type-in {
      from {
        opacity: 0;
        transform: translateX(-10px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }
    
    .loading-cursor {
      display: inline-block;
      width: 8px;
      height: 16px;
      background: #87fc51;
      margin-left: 4px;
      animation: blink-cursor 1s step-end infinite;
      box-shadow: 0 0 10px rgba(135, 252, 81, 0.8);
    }
    
    @keyframes blink-cursor {
      0%, 50% { opacity: 1; }
      51%, 100% { opacity: 0; }
    }
    
    .main-content {
      opacity: 0;
      transition: opacity 0.8s ease-in;
    }
    
    .main-content.loaded {
      opacity: 1;
    }
    
    @media (max-width: 768px) {
      .loading-terminal {
        font-size: 0.8rem;
        max-width: 90%;
      }
    }

    body {
      background: #0a1526 url('https://www.transparenttextures.com/patterns/wave.png') repeat;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      color: #e0e0e0;
      font-family: 'Open Sans', sans-serif;
      margin: 0;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      position: relative;
    }

    /* Scanline CRT effect */
    body::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1),
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 2px
      );
      pointer-events: none;
      z-index: 1000;
      animation: scanline 8s linear infinite;
    }

    @keyframes scanline {
      0% { transform: translateY(0); }
      100% { transform: translateY(10px); }
    }

    /* Subtle screen flicker */
    body::after {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.02);
      pointer-events: none;
      z-index: 999;
      animation: flicker 0.15s infinite;
    }

    @keyframes flicker {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.98; }
    }
    .timeline {
      position: relative;
      max-width: 900px;
      margin: 0 auto;
      padding: 40px 0;
    }
    .timeline::before {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      left: 50%;
      width: 4px;
      background: var(--timeline-color);
      transform: translateX(-50%);
      border-radius: 2px;
      z-index: 1;
      box-shadow: 0 0 10px var(--timeline-color);
      transition: all 0.5s ease;
    }
    .timeline-item {
      position: relative;
      margin-bottom: 60px;
      display: flex;
      justify-content: flex-end;
      align-items: flex-start;
      opacity: 0.95;
      transform: translateY(0);
      transition: opacity 0.5s ease, transform 0.5s ease;
      will-change: opacity, transform;
      transform: translateZ(0);
    }
    .timeline-item:nth-child(even) {
      justify-content: flex-start;
    }
    .timeline-item.hidden {
      opacity: 0;
      height: 0;
      margin: 0;
      padding: 0;
      overflow: hidden;
      pointer-events: none;
    }
    .timeline-content {
      position: relative;
      width: 45%;
      background: rgba(255, 255, 255, 0.05);
      padding: 24px;
      border: 4px solid rgba(135, 252, 81, 0.6);
      border-radius: 12px;
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 0 12px rgba(135, 252, 81, 0.15), inset 0 0 20px rgba(135, 252, 81, 0.05);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      z-index: 2;
      backdrop-filter: blur(5px);
      will-change: transform, box-shadow;
      transform: translateZ(0);
      font-family: 'Open Sans', sans-serif;
    }

    .timeline-content::before {
      content: '>';
      position: absolute;
      left: 8px;
      top: 24px;
      color: rgba(135, 252, 81, 0.3);
      font-family: 'JetBrains Mono', 'Courier New', monospace;
      font-size: 1.2rem;
    }
    .timeline-item:hover {
      opacity: 1;
    }
    .timeline-item:hover .timeline-content {
      transform: translateY(-5px);
      box-shadow: 0 15px 30px rgba(135, 252, 81, 0.4), 0 0 50px rgba(135, 252, 81, 0.3);
      background: rgba(255, 255, 255, 0.08);
      border-color: #87fc51;
    }
    .timeline-item::before {
      content: '';
      position: absolute;
      width: 20px;
      height: 3px;
      background: rgba(135, 252, 81, 0.6);
      top: 30px;
      z-index: 2;
      box-shadow: 0 0 10px rgba(135, 252, 81, 0.5);
      transition: all 0.5s ease;
    }
    .timeline-item:nth-child(odd)::before {
      right: 47%;
    }
    .timeline-item:nth-child(even)::before {
      left: 47%;
    }
    .timeline-item:hover::before {
      background: #87fc51;
      box-shadow: 0 0 20px rgba(135, 252, 81, 0.9);
      height: 5px;
    }
    .timeline-item::after {
      content: '';
      position: absolute;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(135, 252, 81, 0.6);
      top: 27px;
      z-index: 3;
      box-shadow: 0 0 12px rgba(135, 252, 81, 0.5);
      transition: all 0.5s ease;
    }
    .timeline-item:nth-child(odd)::after {
      right: calc(47% - 5px);
    }
    .timeline-item:nth-child(even)::after {
      left: calc(47% - 5px);
    }
    .timeline-item:hover::after {
      background: #87fc51;
      box-shadow: 0 0 25px rgba(135, 252, 81, 1);
      width: 14px;
      height: 14px;
      top: 25px;
    }
    .timeline-item:nth-child(odd):hover::after {
      right: calc(47% - 7px);
    }
    .timeline-item:nth-child(even):hover::after {
      left: calc(47% - 7px);
    }
    .timeline-date {
      position: absolute;
      background-color: rgba(10, 21, 38, 0.8);
      border: 2px solid rgba(135, 252, 81, 0.5);
      border-radius: 20px;
      padding: 4px 12px;
      font-size: 0.85rem;
      font-weight: 600;
      color: rgba(135, 252, 81, 0.9);
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 10px rgba(135, 252, 81, 0.3);
      z-index: 3;
      backdrop-filter: blur(5px);
      transition: all 0.5s ease;
      top: 50%;
      transform: translateY(-50%);
      font-family: 'JetBrains Mono', 'Courier New', monospace;
      letter-spacing: 1px;
    }
    .timeline-item:nth-child(odd) .timeline-date {
      right: calc(50% + 20px);
    }
    .timeline-item:nth-child(even) .timeline-date {
      left: calc(50% + 20px);
    }
    .timeline-date::after {
      content: '';
      position: absolute;
      width: 20px;
      height: 2px;
      background-color: rgba(135, 252, 81, 0.5);
      top: 50%;
      box-shadow: 0 0 8px rgba(135, 252, 81, 0.3);
      transition: all 0.5s ease;
    }
    .timeline-item:nth-child(odd) .timeline-date::after {
      right: -20px;
    }
    .timeline-item:nth-child(even) .timeline-date::after {
      left: -20px;
    }
    .timeline-item:hover .timeline-date {
      color: #87fc51;
      border-color: #87fc51;
      box-shadow: 0 0 25px rgba(135, 252, 81, 0.9);
      transform: translateY(-50%) scale(1.08);
    }
    .timeline-item:hover .timeline-date::after {
      background-color: #87fc51;
      box-shadow: 0 0 20px rgba(135, 252, 81, 0.8);
      height: 3px;
    }
    .timeline-content h2 {
      color: #ffffff;
      transition: color 0.3s ease;
      display: inline-block;
      position: relative;
      width: auto;
      max-width: 100%;
      padding-bottom: 0.2em; /* Reduced padding to bring underline closer */
    }
    .timeline-content h2::after {
      content: '';
      position: absolute;
      width: 100%;
      transform: scaleX(0);
      height: 3px; /* Changed from 2px to 3px for consistency */
      bottom: 0;
      left: 0;
      background-color: #87fc51;
      transform-origin: center;
      transition: transform 0.5s ease;
      border-radius: 2px;
    }
    .timeline-item:hover .timeline-content h2::after {
      transform: scaleX(1);
    }
    .timeline-link {
      text-decoration: none;
      color: inherit;
      position: relative;
      display: block;
    }
    .timeline-link h2 {
      display: inline;
      position: relative;
      padding-bottom: 0;
      box-decoration-break: clone;
      -webkit-box-decoration-break: clone;
      background-image: linear-gradient(transparent calc(100% - 3px), #87fc51 100%); /* Changed from 2px to 3px */
      background-repeat: no-repeat;
      background-size: 0% 100%;
      background-position: 0 0;
      transition: background-size 0.3s, color 0.3s ease;
    }
    .timeline-item:hover .timeline-link h2 {
      color: #ffffff;
      background-image: linear-gradient(transparent calc(100% - 3px), #87fc51 100%); /* Changed from 2px to 3px */
      background-size: 100% 100%;
    }
    .card-link, .timeline-link {
      text-decoration: none;
      color: inherit;
      position: relative;
      display: inline-block;
      width: auto;
      max-width: 100%;
    }
    .card-link:hover {
      color: #87fc51;
      text-shadow: 0 0 10px rgba(135, 252, 81, 0.7);
    }
    .timeline-link:hover h2 {
      color: #87fc51;
    }
    .card-link {
      text-decoration: none;
      color: inherit;
      position: relative;
    }
    .card-link h2 {
      display: inline;
      box-decoration-break: clone;
      -webkit-box-decoration-break: clone;
      background-image: linear-gradient(transparent calc(100% - 3px), #87fc51 100%); /* Changed from 2px to 3px */
      background-repeat: no-repeat;
      background-size: 0% 100%;
      background-position: 0 0;
      transition: background-size 0.3s, color 0.3s ease;
    }
    .timeline-item:hover .card-link h2 {
      color: #ffffff;
      background-image: linear-gradient(transparent calc(100% - 3px), #87fc51 100%); /* Changed from 2px to 3px */
      background-size: 100% 100%;
    }
    h2.company-title {
      position: relative;
      display: inline-block;
      width: auto;
      max-width: 100%;
      padding-bottom: 0.2em;
    }
    h2.company-title::after {
      content: '';
      position: absolute;
      width: 100%;
      height: 3px; /* Changed from 2px to 3px for consistency */
      bottom: 0; /* Changed from -2px to 0 for consistency with other elements */
      left: 0;
      background-color: rgba(135, 252, 81, 0.5);
      border-radius: 2px;
      box-shadow: 0 0 8px rgba(135, 252, 81, 0.3);
      transform-origin: center; /* Changed from left to center for consistency */
      transition: all 0.5s ease;
      transform: scaleX(0);
    }
    .timeline-item:hover h2.company-title::after {
      background-color: #87fc51;
      box-shadow: 0 0 15px rgba(135, 252, 81, 0.5);
      height: 3px;
      transform: scaleX(1);
    }
    .timeline-content p {
      color: #d8d8d8;
    }
    .tag {
      display: inline-block;
      margin-top: 1rem;
      font-weight: 500;
      transition: all 0.3s ease;
      font-size: 0.9rem;
      text-decoration: none;
      cursor: default;
      margin-left: 12px;
    }
    .tag:hover {
      text-shadow: 0 0 8px rgba(135, 252, 81, 0.6);
    }
    .timeline-tag {
      color: rgba(247, 130, 255, 0.95);
      transition: all 0.5s ease;
    }
    .timeline-item:hover .timeline-tag {
      color: #f782ff;
      text-shadow: 0 0 15px rgba(247, 130, 255, 0.9);
    }
    .project-tag {
      color: rgba(117, 223, 255, 0.95);
      transition: all 0.5s ease;
    }
    .timeline-item:hover .project-tag {
      color: #75dfff;
      text-shadow: 0 0 15px rgba(117, 223, 255, 0.9);
    }
    .career-tag {
      color: rgba(255, 145, 0, 0.95);
      transition: all 0.5s ease;
    }
    .timeline-item:hover .career-tag {
      color: #ff9100;
      text-shadow: 0 0 15px rgba(255, 145, 0, 0.9);
    }
    .ongoing-badge {
      display: inline-block;
      font-size: 0.7rem;
      background-color: rgba(135, 252, 81, 0.2);
      color: rgba(135, 252, 81, 0.9);
      padding: 2px 8px;
      border-radius: 10px;
      margin-left: 8px;
      margin-right: 8px;
      vertical-align: middle;
      border: 1px solid rgba(135, 252, 81, 0.5);
      transition: all 0.5s ease;
      box-shadow: 0 0 5px rgba(135, 252, 81, 0.2);
    }
    .timeline-item:hover .ongoing-badge {
      background-color: rgba(135, 252, 81, 0.25);
      color: #87fc51;
      border-color: rgba(135, 252, 81, 0.6);
      box-shadow: 0 0 12px rgba(135, 252, 81, 0.5);
    }
    .role-title {
      font-size: 0.95rem;
      font-weight: 600;
      color: rgba(135, 252, 81, 0.9);
      margin-top: 0.25rem;
      margin-bottom: 0.5rem;
      letter-spacing: 0.02em;
      opacity: 1;
      transition: all 0.5s ease;
      text-shadow: 0 0 3px rgba(135, 252, 81, 0.2);
    }
    .timeline-item:hover .role-title {
      color: #87fc51;
      text-shadow: 0 0 8px rgba(135, 252, 81, 0.5);
    }
    .filter-tags {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      margin-bottom: 2rem;
      flex-direction: column;
      align-items: center;
      gap: 5px; /* Reduced from 12px to move the All icon closer */
    }
    .filter-tag-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 16px; /* Increased from 12px for better spacing */
      margin-top: 25px; /* Increased from 16px to create more separation */
      width: 100%;
      max-width: 600px; /* Constrain width for better visual appearance */
      margin-left: auto;
      margin-right: auto;
    }
    .filter-tag-all {
      margin-bottom: 0; /* Remove any bottom margin */
      border-color: rgba(135, 252, 81, 0.3);
    }
    .filter-tag {
      min-width: 70px;
      min-height: 60px; /* Reduced height */
      width: auto;
      padding: 10px 18px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 8px;
      border-radius: 12px; /* Changed from 50% to 12px for rounded corners */
      position: relative;
      overflow: hidden;
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      border: 2px solid transparent;
      background-color: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(5px);
      will-change: transform;
      transform: translateZ(0);
    }
    .filter-tag i {
      font-size: 1.5rem;
      margin: 0;
      transition: all 0.3s ease;
    }
    .filter-tag .tag-count {
      display: block;
      font-size: 0.8rem;
      font-weight: 500;
      transition: all 0.3s ease;
      opacity: 0.9;
    }
    .filter-tag:hover, .filter-tag.active {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }
    .filter-tag:hover i {
      transform: scale(1.15);
    }
    .filter-tag-timeline:hover, .filter-tag-timeline.active {
      background-color: rgba(247, 130, 255, 0.15);
      border-color: rgba(247, 130, 255, 0.9);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(247, 130, 255, 0.5);
    }
    .filter-tag-project:hover, .filter-tag-project.active {
      background-color: rgba(117, 223, 255, 0.15);
      border-color: rgba(117, 223, 255, 0.9);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(117, 223, 255, 0.5);
    }
    .filter-tag-career:hover, .filter-tag-career.active {
      background-color: rgba(255, 145, 0, 0.15);
      border-color: rgba(255, 145, 0, 0.9);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 145, 0, 0.5);
    }
    .filter-tag-timeline {
      border-color: rgba(247, 130, 255, 0.3);
    }
    .filter-tag-project {
      border-color: rgba(117, 223, 255, 0.3);
    }
    .filter-tag-career {
      border-color: rgba(255, 145, 0, 0.3);
    }
    @media (max-width: 640px) {
      /* Improve the timeline layout for mobile */
      .timeline::before {
        left: 20px;
        width: 3px; /* Slightly thinner line */
      }
      
      .timeline-item {
        margin-bottom: 40px; /* Reduce vertical spacing between items */
      }
      
      .timeline-content {
        width: calc(100% - 30px);
        margin-left: 30px;
        padding: 16px;  /* Slightly smaller padding on mobile */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 8px rgba(135, 252, 81, 0.12);
      }
      
      /* Better position the timeline markers */
      .timeline-item::after {
        left: 15px !important;
        right: auto !important;
        top: 28px;
        width: 8px; /* Slightly smaller marker */
        height: 8px;
      }
      
      .timeline-item::before {
        left: 18px;
        width: 14px;
        top: 32px;
      }
      
      /* Improve date tag display */
      .timeline-date {
        position: relative;
        left: 0 !important;
        right: auto !important;
        top: auto;
        transform: none !important;
        margin: 0 0 10px 30px !important;
        display: inline-block;
        font-size: 0.75rem;
        padding: 2px 10px;
        border-radius: 12px;
      }
      
      /* Hide connecting line for dates */
      .timeline-date::after {
        display: none;
      }

      /* Make text content more readable on mobile */
      .timeline-content h2 {
        font-size: 1.2rem;
        line-height: 1.3;
      }
      
      .timeline-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-top: 8px;
      }
      
      /* Improve role title and location display */
      .role-title {
        font-size: 0.85rem;
        margin-top: 6px;
        margin-bottom: 4px;
      }
      
      .location {
        font-size: 0.8rem;
      }
      
      /* Clean up tags on mobile */
      .tag {
        margin-top: 0.75rem;
        font-size: 0.75rem;
        margin-left: 4px;
      }
      
      /* Improve ongoing badge on mobile */
      .ongoing-badge {
        font-size: 0.65rem;
        padding: 1px 6px;
        margin-left: 0;
        margin-right: 4px;
      }
      
      /* Improve filter tags display */
      .filter-tags {
        margin-bottom: 1.5rem;
      }
      
      .filter-tag-container {
        gap: 12px;
        margin-top: 20px;
      }
      
      /* Make tag buttons more compact on small screens */
      .filter-tag {
        min-width: 48px;
        min-height: 48px;
        width: 48px;
        height: 48px;
      }
      
      /* View button improvement */
      .view-link-button {
        position: absolute;
        bottom: 10px;
        right: 10px;
        width: 34px;
        height: 34px;
      }

      /* Better animations for mobile - reduce animation complexity for performance */
      .timeline-item:hover .timeline-content,
      .timeline-item.in-view .timeline-content {
        transform: translateY(-2px) !important;
      }

      /* Disable hover effects on touch devices for better performance */
      @media (hover: none) {
        .timeline-item:hover .timeline-content {
          transform: none !important;
          box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 0 12px rgba(135, 252, 81, 0.15);
        }
      }

      /* Smooth scrolling on mobile */
      html {
        scroll-behavior: smooth;
      }
      
      /* Fix for very small screens */
      @media (max-width: 350px) {
        .timeline-content {
          padding: 12px;
        }
        
        .timeline-content h2 {
          font-size: 1.1rem;
        }
        
        .filter-tag {
          min-width: 40px;
          min-height: 40px;
          width: 40px;
          height: 40px;
        }
        
        .filter-tag i {
          font-size: 1.2rem;
        }
      }
    }
    .back-arrow {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 40px;
    }
    .back-arrow a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 50px;
      height: 50px;
      font-size: 1.5rem;
      color: rgba(135, 252, 81, 0.9);
      text-decoration: none;
      transition: all 0.3s ease;
      border-radius: 50%;
      box-shadow: 0 0 10px rgba(135, 252, 81, 0.3);
    }
    .back-arrow a:hover {
      color: #87fc51;
      transform: scale(1.1);
      text-shadow: 0 0 15px rgba(135, 252, 81, 0.8);
      box-shadow: 0 0 25px rgba(135, 252, 81, 0.6);
      background-color: rgba(135, 252, 81, 0.12);
    }
    .page-title {
      position: relative;
      display: inline-block;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 25px rgba(135, 252, 81, 0.2);
    }
    .page-title::after {
      content: '';
      position: absolute;
      width: 100%;
      transform: scaleX(0);
      height: 4px;
      bottom: -8px;
      left: 0;
      background-color: rgba(135, 252, 81, 0.9);
      transform-origin: bottom right;
      transition: transform 0.3s ease-out;
      border-radius: 2px;
    }
    .page-title:hover::after {
      transform: scaleX(1);
      transform-origin: bottom left;
      background-color: #87fc51;
    }
    .title-container {
      display: flex;
      justify-content: center;
      width: 100%;
      margin-bottom: 1.5rem;
    }
    .timeline-item-right::before {
      right: 47% !important;
      left: auto !important;
    }
    .timeline-item-right::after {
      right: calc(47% - 5px) !important;
      left: auto !important;
    }
    .timeline-item-left::before {
      left: 47% !important;
      right: auto !important;
    }
    .timeline-item-left::after {
      left: calc(47% - 5px) !important;
      right: auto !important;
    }
    .timeline-item-right .timeline-date::after {
      right: -20px !important;
      left: auto !important;
    }
    .timeline-item-left .timeline-date::after {
      left: -20px !important;
      right: auto !important;
    }
    .timeline-item::before {
      var(--line-position);
    }
    .timeline-item:nth-child(1) { transition-delay: 0.05s; }
    .timeline-item:nth-child(2) { transition-delay: 0.1s; }
    .timeline-item:nth-child(3) { transition-delay: 0.15s; }
    .timeline-item:nth-child(4) { transition-delay: 0.2s; }
    .timeline-item:nth-child(5) { transition-delay: 0.25s; }
    .timeline-item:nth-child(6) { transition-delay: 0.3s; }
    .timeline-item:nth-child(7) { transition-delay: 0.35s; }
    .timeline-item:nth-child(8) { transition-delay: 0.4s; }
    .timeline-item:nth-child(9) { transition-delay: 0.45s; }
    .timeline-item:nth-child(10) { transition-delay: 0.5s; }
    .timeline-item:nth-child(n+11) { transition-delay: 0.55s; }
    .timeline-item.in-view {
      opacity: 1;
    }
    .timeline-item.in-view .timeline-content {
      transform: translateY(-5px);
      box-shadow: 0 15px 30px rgba(135, 252, 81, 0.4), 0 0 50px rgba(135, 252, 81, 0.3);
      background: rgba(255, 255, 255, 0.08);
      border-color: #87fc51;
    }
    .timeline-item.in-view::before {
      background: #87fc51;
      box-shadow: 0 0 20px rgba(135, 252, 81, 0.9);
      height: 5px;
    }
    .timeline-item.in-view::after {
      background: #87fc51;
      box-shadow: 0 0 25px rgba(135, 252, 81, 1);
      width: 14px;
      height: 14px;
      top: 25px;
    }
    .timeline-item:nth-child(odd).in-view::after {
      right: calc(47% - 7px);
    }
    .timeline-item:nth-child(even).in-view::after {
      left: calc(47% - 7px);
    }
    .timeline-item.in-view .timeline-date {
      color: #87fc51;
      border-color: #87fc51;
      box-shadow: 0 0 25px rgba(135, 252, 81, 0.9);
      transform: translateY(-50%) scale(1.08);
    }
    .timeline-item.in-view .timeline-date::after {
      background-color: #87fc51;
      box-shadow: 0 0 20px rgba(135, 252, 81, 0.8);
      height: 3px;
    }
    .timeline-item.in-view .timeline-content h2::after {
      transform: scaleX(1);
    }
    .timeline-item.in-view .timeline-link h2 {
      color: #ffffff;
      background-image: linear-gradient(transparent calc(100% - 3px), #87fc51 100%); /* Changed from 2px to 3px */
      background-size: 100% 100%;
    }
    .timeline-item.in-view .card-link h2 {
      color: #ffffff;
      background-image: linear-gradient(transparent calc(100% - 3px), #87fc51 100%); /* Changed from 2px to 3px */
      background-size: 100% 100%;
    }
    .timeline-item.in-view h2.company-title::after {
      background-color: #87fc51;
      box-shadow: 0 0 15px rgba(135, 252, 81, 0.5);
      height: 3px;
      transform: scaleX(1);
    }
    .timeline-item.in-view .role-title {
      color: #87fc51;
      text-shadow: 0 0 8px rgba(135, 252, 81, 0.5);
    }
    .timeline-item.in-view .timeline-tag {
      color: #f782ff;
      text-shadow: 0 0 15px rgba(247, 130, 255, 0.9);
    }
    .timeline-item.in-view .project-tag {
      color: #75dfff;
      text-shadow: 0 0 15px rgba(117, 223, 255, 0.9);
    }
    .timeline-item.in-view .career-tag {
      color: #ff9100;
      text-shadow: 0 0 15px rgba(255, 145, 0, 0.9);
    }
    .timeline-item.in-view .ongoing-badge {
      background-color: rgba(135, 252, 81, 0.25);
      color: #87fc51;
      border-color: rgba(135, 252, 81, 0.6);
      box-shadow: 0 0 12px rgba(135, 252, 81, 0.5);
    }
    .view-link-button {
      position: absolute;
      bottom: 15px;
      right: 15px;
      width: 42px;
      height: 42px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: rgba(17, 34, 64, 0.85);
      border: 2px solid rgba(135, 252, 81, 0.6);
      color: rgba(135, 252, 81, 0.95);
      opacity: 0;
      transform: scale(0.8) translateY(10px);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      cursor: pointer;
      z-index:  5;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 5px rgba(135, 252, 81, 0.2);
      font-size: 1.2rem;
      backdrop-filter: blur(8px);
      will-change: transform, opacity;
      transform: translateZ(0) scale(0.8) translateY(10px);
    }
    .timeline-item:hover .view-link-button,
    .timeline-item.in-view .view-link-button {
      opacity: 1;
      transform: scale(1) translateY(0);
    }
    .view-link-button:hover {
      background-color: rgba(135, 252, 81, 0.25);
      border-color: #87fc51;
      color: #87fc51;
      transform: scale(1.15) translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), 0 0 20px rgba(135, 252, 81, 0.6);
    }
    .view-link-button::before {
      content: '';
      position: absolute;
      top: -4px;
      left: -4px;
      right: -4px;
      bottom: -4px;
      border-radius: 50%;
      background: transparent;
      border: 2px solid transparent;
      transition: all 0.3s ease;
      z-index: -1;
    }
    .view-link-button:hover::before {
      border-color: rgba(135, 252, 81, 0.6);
      animation: pulse 1.8s ease-out infinite;
    }
    @keyframes pulse {
      0% {
        transform: scale(1);
        opacity: 0.8;
      }
      50% {
        transform: scale(1.25);
        opacity: 0.4;
      }
      100% {
        transform: scale(1.5);
        opacity: 0;
      }
    }
    .timeline-item:hover .timeline-link h2,
    .timeline-item:hover .card-link h2,
    .timeline-item:hover h2.company-title,
    .timeline-item.in-view h2.company-title {
      color: #ffffff;  /* Keep text white instead of green */
    }
    .filter-tag i {
      font-size: 1.2rem;
      margin-right: 0;
    }
    .filter-tag {
      min-width: 60px;
      min-height: 60px;
      width: 60px;
      height: 60px;
      padding: 8px;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
    }
    .filter-tag i {
      font-size: 1.5rem;
      transition: all 0.3s ease;
    }
    .filter-tag .tag-count {
      display: none;
    }
    .filter-tag:hover .tag-count {
      opacity: 0;
      transform: scale(0);
    }
    .filter-tag:hover i {
      transform: scale(1);
    }
    .filter-tag-timeline .tag-count {
      color: rgba(247, 130, 255, 0.95);
    }
    .filter-tag-project .tag-count {
      color: rgba(117, 223, 255, 0.95);
    }
    .filter-tag-career .tag-count {
      color: rgba(255, 145, 0, 0.95);
    }
    @media (max-width: 768px) {
      /* Improve title readability on mobile */
      .page-title {
        font-size: 2.5rem !important;
        line-height: 1.2;
        margin: 0.5rem 0;
      }
      
      /* Make filter icons better on mobile */
      .filter-tags {
        gap: 10px;
      }
      
      .filter-tag-container {
        max-width: 310px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
      }
      
      .filter-tag {
        min-width: 55px;
        min-height: 55px;
        width: 55px;
        height: 55px;
      }
      
      /* Improve timeline item appearance */
      .timeline-content {
        padding: 18px;
      }
      
      .timeline-content h2 {
        font-size: 1.25rem;
        line-height: 1.4;
      }
      
      .timeline-content p {
        font-size: 0.95rem;
        line-height: 1.5;
      }
      
      /* Improve role and location display */
      .role-title {
        font-size: 0.9rem;
      }
      
      .location {
        font-size: 0.85rem;
      }
      
      /* Make tags more compact */
      .tag {
        margin-top: 0.75rem;
        font-size: 0.8rem;
        margin-left: 5px;
      }
      
      .ongoing-badge {
        font-size: 0.65rem;
        padding: 1px 6px;
        margin-left: 0;
      }

      /* Improve back button */
      .back-arrow {
        margin-top: 20px;
      }
      
      .back-arrow a {
        width: 45px;
        height: 45px;
      }
    }
    @media (max-width: 480px) {
      /* Make the timeline layout more compact */
      .timeline {
        padding: 25px 0;
      }
      
      .timeline-item {
        margin-bottom: 40px;
      }

      /* Ensure the central line looks good */
      .timeline::before {
        left: 20px;
      }
      
      /* Better position the view link button */
      .view-link-button {
        width: 38px;
        height: 38px;
        bottom: 12px;
        right: 12px;
      }
      
      /* Improve filter tag display */
      .filter-tag-container {
        max-width: 95%;
        gap: 12px;
      }
      
      .filter-tag {
        min-width: 50px;
        min-height: 50px;
        width: 50px;
        height: 50px;
      }
      
      .filter-tag i {
        font-size: 1.2rem;
      }
      
      /* Make sure images don't overflow */
      img {
        max-width: 100%;
        height: auto;
      }
      
      /* Improve content spacing */
      .timeline-content {
        padding: 15px;
      }

      /* Reduce text size for better readability */
      .timeline-content h2 {
        font-size: 1.1rem;
      }
      
      .timeline-content p {
        font-size: 0.9rem;
      }
    }
    @media (max-width: 640px) {
      .timeline-content {
        width: calc(100% - 30px);
        margin-left: 30px;
      }
      
      .timeline-item::before {
        left: 18px;
        width: 14px;
        top: 36px;
      }
      
      .timeline-item::after {
        left: 15px !important;
        right: auto !important;
        top: 32px;
      }
      
      /* Make date tag better on mobile */
      .timeline-date {
        border-radius: 15px;
        padding: 3px 10px;
        margin-bottom: 10px !important;
        display: inline-block;
        font-size: 0.8rem;
      }
      
      /* Animate timeline on mobile */
      .timeline-item.in-view .timeline-content,
      .timeline-item:hover .timeline-content {
        transform: translateX(3px) !important;
      }
    }
    @media (max-width: 640px) {
      .timeline-content {
        position: relative;
        width: 100% !important;
        margin-left: 0 !important;
        min-width: 0 !important;
        box-sizing: border-box;
        padding: 15px !important;
        overflow: visible;
      }
      .timeline-link,
      .card-link {
        display: inline !important;
        position: relative !important;
        z-index: 2;
        color: #87fc51;
        word-break: break-word;
      }
      .timeline-link h2,
      .card-link h2 {
        font-size: 1.1rem !important;
        line-height: 1.4 !important;
        word-break: break-word;
        white-space: normal !important;
        display: inline !important;
      }
      .view-link-button {
        position: static !important;
        display: inline-flex !important;
        margin-top: 12px;
        margin-bottom: 0;
        right: auto !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 38px !important;
        height: 38px !important;
      }
    }
    .fa,
    .fas,
    .far,
    .fal,
    .fab,
    .fa-solid,
    .fa-regular,
    .fa-light,
    .fa-brands {
      color: #ffffff;
    }
    .filter-tag-timeline:hover i,
    .filter-tag-timeline.active i {
      color: rgba(247, 130, 255, 0.95);
    }
    .filter-tag-project:hover i,
    .filter-tag-project.active i {
      color: rgba(117, 223, 255, 0.95);
    }
    .filter-tag-career:hover i,
    .filter-tag-career.active i {
      color: rgba(255, 145, 0, 0.95);
    }
    .back-button:hover .icon i {
      color: #0a1526;
    }
    .view-link-button i {
      color: rgba(135, 252, 81, 0.95);
    }
    .view-link-button:hover i {
      color: #87fc51;
    }
    .back-arrow a i {
      color: rgba(135, 252, 81, 0.9);
    }
    .back-arrow a:hover i {
      color: #87fc51;
    }
    .timeline-link h2 {
      transition: color 0.3s ease, text-shadow 0.3s ease;
    }
    .timeline-link:hover h2 {
      color: #87fc51 !important;
      text-shadow: 0 0 10px rgba(135, 252, 81, 0.7);
    }
    .card-link h2 {
      transition: color 0.3s ease, text-shadow 0.3s ease;
    }
    .card-link:hover h2 {
      color: #87fc51 !important;
      text-shadow: 0 0 10px rgba(135, 252, 81, 0.7);
    }
    h2.company-title {
      transition: color 0.3s ease, text-shadow 0.3s ease;
    }
    .timeline-item:hover h2.company-title {
      color: #87fc51 !important;
      text-shadow: 0 0 10px rgba(135, 252, 81, 0.7);
    }
    .timeline-content:hover h2 {
      color: #87fc51 !important;
      text-shadow: 0 0 10px rgba(135, 252, 81, 0.7);
    }
    .timeline-item.in-view .timeline-link h2,
    .timeline-item.in-view .card-link h2,
    .timeline-item.in-view h2.company-title {
      color: #87fc51 !important;
      text-shadow: 0 0 10px rgba(135, 252, 81, 0.7);
    }
    @media (max-width: 640px) {
      .timeline-content {
        cursor: pointer;
        position: relative;
      }
      .timeline-content .timeline-link,
      .timeline-content .card-link {
        pointer-events: none;
      }
      .timeline-content h2,
      .timeline-content a,
      .timeline-content .view-link-button {
        pointer-events: none !important;
      }
    }
    .recognition-tag {
      color: rgba(255, 223, 0, 0.95);
      transition: all 0.5s ease;
    }
    .timeline-item:hover .recognition-tag {
      color: #ffdf00;
      text-shadow: 0 0 15px rgba(255, 223, 0, 0.9);
    }
    .filter-tag-recognition {
      color: rgba(255, 223, 0, 0.95);
      border-color: rgba(255, 223, 0, 0.3);
    }
    .filter-tag-recognition:hover,
    .filter-tag-recognition.active {
      background-color: rgba(255, 223, 0, 0.15);
      border-color: rgba(255, 223, 0, 0.9);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 223, 0, 0.5);
    }
    .talks-tag {
      color: rgba(138, 43, 226, 0.95);
      transition: all 0.5s ease;
    }
    .timeline-item:hover .talks-tag {
      color: #8a2be2;
      text-shadow: 0 0 15px rgba(138, 43, 226, 0.9);
    }
    .filter-tag-talks {
      color: rgba(138, 43, 226, 0.95);
      border-color: rgba(138, 43, 226, 0.3);
    }
    .filter-tag-talks:hover,
    .filter-tag-talks.active {
      background-color: rgba(138, 43, 226, 0.15);
      border-color: rgba(138, 43, 226, 0.9);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(138, 43, 226, 0.5);
    }
    .filter-tag-talks:hover i,
    .filter-tag-talks.active i {
      color: rgba(138, 43, 226, 0.95);
    }
    .timeline-item.in-view .talks-tag {
      color: #8a2be2;
      text-shadow: 0 0 15px rgba(138, 43, 226, 0.9);
    }
    .filter-tag-talks::after {
      color: rgba(138, 43, 226, 0.95);
      border-color: rgba(138, 43, 226, 0.5);
    }
    @keyframes snow {
      0% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
      }
      50% {
        transform: translateY(50px) scale(1.2);
        opacity: 0.4;
      }
      100% {
        transform: translateY(100px) scale(1);
        opacity: 0;
      }
    }
    .snowflake {
      position: absolute;
      top: -10px;
      pointer-events: none;
      animation: snow linear infinite;
    }
    .back-button .icon i {
      color: #e0e0e0; /* Match the initial text color */
      transition: color 0.3s ease;
    }
    .back-button .icon {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0);
      opacity: 0;
      transition: all 0.3s ease;
    }
    .back-button:hover .icon {
      transform: translate(-50%, -50%) scale(1);
      opacity: 1;
    }
    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
    }
    .back-button {
      position: relative;
      padding: 8px 18px;
      background-color: transparent;
      color: #e0e0e0;
      font-size: 0.9rem;
      font-weight: 600;
      letter-spacing: 1px;
      border: 2px solid #87fc51;
      border-radius: 10px;
      cursor: pointer;
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      overflow: hidden;
      z-index: 1;
      white-space: nowrap;
      text-decoration: none;
      display: inline-block;
    }
    .back-button .text {
      display: inline-block;
      transition: all 0.3s ease;
      position: relative;
      z-index: 2;
    }
    .back-button .icon {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0);
      opacity: 0;
      color: #0a1526;
      font-size: 1.2rem;
      transition: all 0.3s ease;
      z-index: 2;
    }
    .back-button::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 0%;
      height: 100%;
      background-color: #87fc51;
      z-index: 0;
      transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
      border-radius: 8px;
    }
    .back-button:hover {
      color: #0a1526;
      transform: translateY(-3px);
      box-shadow: 0 7px 14px rgba(135, 252, 81, 0.25), 0 0 20px rgba(135, 252, 81, 0.1);
    }
    .back-button:hover .text {
      opacity: 0;
      transform: translateY(10px);
    }
    .back-button:hover .icon {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }
    .back-button:hover::before {
      width: 100%;
    }
    .filter-tag::after {
      content: attr(data-name);
      position: absolute;
      bottom: -30px;
      left: 50%;
      transform: translateX(-50%) scale(0.7);
      background-color: rgba(17, 34, 64, 0.95);
      color: #ffffff;
      padding: 5px 12px;
      border-radius: 6px;
      font-size: 0.85rem;
      opacity: 0;
      pointer-events: none;
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      white-space: nowrap;
      border: 1px solid rgba(135, 252, 81, 0.3);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 0 10px rgba(135, 252, 81, 0.2);
      backdrop-filter: blur(4px);
      z-index: 10;
    }
    .filter-tag:hover::after {
      opacity: 1;
      transform: translateX(-50%) scale(1);
      bottom: -35px;
    }
    .filter-tag-all::after {
      color: rgba(135, 252, 81, 0.95);
      border-color: rgba(135, 252, 81, 0.5);
    }
    .filter-tag-timeline::after {
      color: rgba(247, 130, 255, 0.95);
      border-color: rgba(247, 130, 255, 0.5);
    }
    .filter-tag-project::after {
      color: rgba(117, 223, 255, 0.95);
      border-color: rgba(117, 223, 255, 0.5);
    }
    .filter-tag-career::after {
      color: rgba(255, 145, 0, 0.95);
      border-color: rgba(255, 145, 0, 0.5);
    }
    .filter-tag-recognition::after {
      color: rgba(255, 223, 0, 0.95);
      border-color: rgba(255, 223, 0, 0.5);
    }
    .filter-tag::before {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%) rotate(45deg) scale(0);
      width: 10px;
      height: 10px;
      background-color: rgba(17, 34, 64, 0.95);
      border-top: 1px solid rgba(135, 252, 81, 0.3);
      border-left: 1px solid rgba(135, 252, 81, 0.3);
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      opacity: 0;
      z-index: 9;
    }
    .filter-tag:hover::before {
      opacity: 1;
      transform: translateX(-50%) rotate(45deg) scale(1);
    }
    .filter-tag {
      /* ...existing code... */
      overflow: visible; /* Changed from overflow:hidden to allow tooltip to be visible */
    }
    @media (max-width: 768px) {
      .filter-tag::after,
      .filter-tag::before {
        display: none; /* Hide tooltips on mobile */
      }
    }