.timeline {
    position: relative;
    width: 100%;
    padding: 20px 0;
}

/* 왼쪽 수직선 */
.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    width: 2px;
    height: 100%;
    background-color: #e5e7eb;
    top: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 60px;
    width: 100%;
}

.timeline-year {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.timeline-dot {
    position: absolute;
    left: 26px;
    width: 12px;
    height: 12px;
    background-color: var(--point-color);
    border-radius: 50%;
    top: 8px;
}

.timeline-content {
    width: 100%;
}

.timeline-content p,
.timeline-content li {
    color: #4b5563;
    margin-bottom: 8px;
    font-size: 16px;
}

.timeline-content ul {
    list-style: none;
}

.timeline-content li::before {
    content: "•";
    color: var(--point-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* 모바일 반응형 - 이미 왼쪽 정렬이므로 큰 변화 필요 없음 */
@media (max-width: 768px) {
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline::before {
        left: 25px;
    }
    
    .timeline-dot {
        left: 21px;
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 60px;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s ease-out forwards;
}

/* 각 아이템별 애니메이션 지연 시간 설정 */
.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.3s; }
.timeline-item:nth-child(3) { animation-delay: 0.5s; }
.timeline-item:nth-child(4) { animation-delay: 0.7s; }
.timeline-item:nth-child(5) { animation-delay: 0.9s; }
.timeline-item:nth-child(6) { animation-delay: 1.1s; }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.page-content {
    display: flex;
    gap: 60px;
}

/* 타임라인 영역 */
.timeline-container {
    flex: 1;
    min-width: 0;
}

.timeline-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 이미지 영역 */
.timeline-image {
    width: 800px;
    position: sticky;
    top: 120px;
    height: fit-content;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.timeline-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transform: scaleX(-1); /* 이미지 좌우반전 */
}

/* 모바일 반응형 */
@media (max-width: 1307px) {
    .timeline-image {
        width: 600px;
    }
}

/* 모바일 반응형 */
@media (max-width: 1106px) {
    .timeline-image {
        display: none;
    }
}