* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Inter", sans-serif;
    background-color: #ffffff;
    color: #000000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .container {
    width: 96%;
    padding: 0 2%;
  }
  
  .main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
  }
  
  .nav-brand {
    position: relative;
    font-weight: 500;
    font-size: 1.5rem;
    color: #000000;
    text-decoration: none;
    display: inline-block;
  }
  
  .nav-brand span {
    transition: opacity 0.3s ease-in-out;
  }
  
  .nav-brand .brand-english {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
  }
  
  .nav-brand:hover .brand-korean {
    opacity: 0;
  }
  
  .nav-brand:hover .brand-english {
    opacity: 1;
  }
  
  .nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #000000;
    font-size: 1.1rem;
    font-weight: 400;
    transition: opacity 0.3s ease;
  }
  
  .nav-links a.active {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  
  .header-divider {
    border: none;
    height: 1px;
    background-color: #000000;
    margin: 0;
  }
  
  .page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    margin: 60px 0 80px 0;
    text-align: center;
  }
  
  .timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
  }
  
  .timeline::after {
    content: "";
    position: absolute;
    width: 2px;
    background-color: #e0e0e0;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
  }
  
  .timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    margin-bottom: 40px;
  }
  
  .timeline-item::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: white;
    border: 2px solid #000000;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    z-index: 1;
  }
  
  .timeline-item:nth-child(odd) {
    left: 0;
  }
  
  .timeline-item:nth-child(even) {
    left: 50%;
  }
  
  .timeline-item:nth-child(even)::after {
    left: -8px;
  }
  
  .timeline-content {
    padding: 20px 30px;
    position: relative;
    border-radius: 6px;
  }
  
  .timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
  }
  
  .content-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
  }
  
  .timeline-item:nth-child(odd) .content-header {
    justify-content: flex-end;
  }
  
  .timeline-logo {
    height: 32px;
    width: auto;
  }
  
  .timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 500;
  }
  
  .timeline-content p {
    font-size: 1.1rem;
    font-weight: 300;
    color: #555;
    line-height: 1.6;
  }
  
  .timeline-content a {
    display: inline-block;
    margin-top: 10px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
  }
  
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  @media (max-width: 768px) {
    .timeline::after {
      left: 20px;
    }
  
    .timeline-item {
      width: 100%;
      padding-left: 60px;
      padding-right: 15px;
    }
  
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
      left: 0;
    }
  
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
      text-align: left;
    }
    
    .timeline-item:nth-child(odd) .content-header {
      justify-content: flex-start;
    }
  
    .timeline-item::after {
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
    }
  }

  /* === MODAL STYLES === */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
  }
  
  .modal-overlay.visible {
    opacity: 1;
    pointer-events: auto;
  }
  
  .modal-content {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease-in-out;
  }
  
  .modal-overlay.visible .modal-content {
    transform: scale(1);
  }
  
  .modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    transition: color 0.2s ease;
  }
  
  .modal-close:hover {
    color: #000;
  }
  
  #modal-body h3 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 5px;
  }
  
  #modal-body h4 {
    font-size: 1.2rem;
    font-weight: 300;
    color: #555;
    margin-bottom: 20px;
  }
  
  #modal-body p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .preview-skills {
    list-style: none;
    margin-bottom: 30px;
  }
  
  .preview-skills li {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  
  .preview-link {
    font-weight: 500;
    color: #000;
    text-decoration: none;
  }
  
  /* Style for the trigger button */
  .preview-trigger {
    background: none;
    border: none;
    padding: 0;
    margin-top: 10px;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: #000;
    cursor: pointer;
    text-decoration: none;
  }