/* 기본 배경 스타일 - 배경 제거 */
.bg {
    display: none;
}

/* 회사소개 탭 메뉴 스타일 */
.company-tab-menu {
    position: fixed;
    top: 85px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
    z-index: 100;
    transition: top 0.3s ease;
}

.tab-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tab-item {
    padding: 15px 30px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-item:hover {
    color: #2243ec;
}

.tab-item.active {
    color: #2243ec;
    border-bottom-color: #2243ec;
    font-weight: 700;
}

/* 메인 컨텐츠 래퍼 */
.contentWrap {
    position: relative;
    min-height: 100vh;
    padding-top: 139px;
    padding-bottom: 100px;
    z-index: 1;
}

/* 가로 타임라인 컨테이너 */
.horizontal-timeline {
    width: 100%;
    max-width: 1400px;
    margin: 50px auto;
    padding: 0 20px;
    position: relative;
    height: 600px;
}

/* 중앙 가로 라인 */
.timeline-line {
    position: absolute;
    top: 50%;
    left: 50px;
    right: 50px;
    height: 4px;
    background: #4267b2;
    z-index: 1;
    transform: translateY(-50%);
}

/* 타임라인 항목들을 가로로 배치하는 컨테이너 */
.timeline-container {
    position: relative;
    height: 100%;
    width: 100%;
}

/* 각 타임라인 항목 */
.timeline-item {
    position: absolute;
    width: 220px;
    height: 100%;
}

/* 2007년 - 좌측 첫번째, 아래쪽 */
.timeline-item:nth-child(1) {
    left: 5%;
}

/* ~2010년 - 두번째, 위쪽 */
.timeline-item:nth-child(2) {
    left: 25%;
}

/* ~2015년 - 세번째, 아래쪽 */
.timeline-item:nth-child(3) {
    left: 45%;
}

/* ~2019년 - 네번째, 위쪽 */
.timeline-item:nth-child(4) {
    left: 65%;
}

/* ~2024년 - 다섯번째, 아래쪽 */
.timeline-item:nth-child(5) {
    left: 85%;
}

/* 세로 연결선 */
.vertical-line {
    position: absolute;
    left: -10px;
    width: 2px;
    background: #4267b2;
    z-index: 5;
}

/* 세로선 끝부분 동그라미 */
.vertical-line::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #4267b2;
    border-radius: 50%;
    left: -3px;
    border: 2px solid white;
    box-shadow: 0 0 0 1px #4267b2;
}

/* 위쪽 배치 항목의 세로선 (~2010, ~2019) */
.timeline-item:nth-child(2) .vertical-line{
	top: -8%;
    bottom: 50%;
}

.timeline-item:nth-child(4) .vertical-line{
	top: -14%;
    bottom: 50%;
}

/* 위쪽 배치 항목의 동그라미는 위쪽 끝에 */
.timeline-item:nth-child(2) .vertical-line::after,
.timeline-item:nth-child(4) .vertical-line::after {
    top: 0;
}

/* 아래쪽 배치 항목의 세로선 (2007, ~2015, ~2024) */
.timeline-item:nth-child(1) .vertical-line{
	top: 50%;
    bottom: 29%;
}
.timeline-item:nth-child(3) .vertical-line{
	top: 50%;
    bottom: -14%;
}
.timeline-item:nth-child(5) .vertical-line{
	top: 50%;
    bottom: -2%;
}


/* 아래쪽 배치 항목의 동그라미는 아래쪽 끝에 */
.timeline-item:nth-child(1) .vertical-line::after,
.timeline-item:nth-child(3) .vertical-line::after,
.timeline-item:nth-child(5) .vertical-line::after {
    bottom: 0;
}

/* 연도 원 */
.year-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: #4267b2;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* 2007년 설립 원 - 왼쪽에 배치 */
.timeline-item:nth-child(1) .year-circle {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    line-height: 1.1;
    text-align: center;
    left: -60px;  /* 왼쪽으로 이동 */
    top: 50%;
    transform: translate(0, -50%);  /* 중앙 정렬 제거하고 세로만 중앙 */
}

/* 위쪽 배치 콘텐츠 영역 (~2010, ~2019) */
.timeline-item:nth-child(2) .content-area,
.timeline-item:nth-child(4) .content-area {
    position: absolute;
    bottom: 60%;
    left: 75%;
    transform: translateX(-50%);
    width: 140%;
    text-align: center;
}

/* 아래쪽 배치 콘텐츠 영역 (2007, ~2015, ~2024) */
.timeline-item:nth-child(1) .content-area,
.timeline-item:nth-child(3) .content-area,
.timeline-item:nth-child(5) .content-area {
    position: absolute;
    top: 60%;
    left: 75%;
    transform: translateX(-50%);
    width: 140%;
    text-align: center;
    display: flex;
    flex-direction: column;
}

/* 아래쪽 배치 항목의 연도 제목을 밑으로 */
.timeline-item:nth-child(1) .year-title,
.timeline-item:nth-child(3) .year-title,
.timeline-item:nth-child(5) .year-title {
    order: 2;
    margin-top: 10px;
    margin-bottom: 0;
}

/* 아래쪽 배치 항목의 콘텐츠 리스트를 위로 */
.timeline-item:nth-child(1) .content-list,
.timeline-item:nth-child(3) .content-list,
.timeline-item:nth-child(5) .content-list {
    order: 1;
}

/* 연도 제목 */
.year-title {
    color: #4267b2;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 10px;
    text-align: left;
}

/* 내용 리스트 */
.content-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
    overflow-y: auto;
}

/* 내용 아이템 */
.content-item {
    background: white;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 6px;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    font-size: 12px;
    line-height: 1.3;
    color: #333;
    border-left: 3px solid #4267b2;
}

/* 작은 녹색 포인트 */
.content-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #4267b2;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 1px #4267b2;
}

/* 모바일 버전 */
@media screen and (max-width: 768px) {
    .horizontal-timeline {
        display: none;
    }
    
    /* 모바일 타임라인 컨테이너 */
    .mobile-timeline {
        display: block !important;
        padding: 20px 16px;
        position: relative;
        z-index: 10;
        background: transparent;
    }
    
    /* 모바일 섹션 */
    .mobile-section {
        margin-bottom: 40px;
        position: relative;
        text-align: center;
    }
    
    /* 연도 제목 (큰 흰색 텍스트) */
    .mobile-year-title {
        color: #4267b2;
        font-size: 48px;
        font-weight: 900;
        margin-bottom: 20px;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
		text-align:
    }
    
    /* 모바일 콘텐츠 리스트 */
    .mobile-content-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    /* 모바일 콘텐츠 아이템 */
    .mobile-content-item {
        background: rgba(255, 255, 255, 0.95);
        border-radius: 25px;
        padding: 12px 20px;
        display: flex;
        align-items: center;
        gap: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    /* 연도 라벨 (파란색 원형) */
    .mobile-year-label {
        background: #4267b2;
        color: white;
        padding: 6px 12px;
        border-radius: 15px;
        font-size: 14px;
        font-weight: 700;
        min-width: 50px;
        text-align: center;
        flex-shrink: 0;
    }
    
    /* 설명 텍스트 */
    .mobile-desc {
        font-size: 14px;
        line-height: 1.4;
        color: #333;
        flex: 1;
        text-align: left;
    }
}

/* 데스크탑에서 모바일 타임라인 숨김 */
@media screen and (min-width: 769px) {
    .mobile-timeline {
        display: none !important;
    }
}

/* 작은 화면 대응 */
@media screen and (max-width: 1200px) {
    .timeline-item {
        width: 180px;
    }
    
    .year-circle {
        width: 80px;
        height: 80px;
        font-size: 12px;
    }
    
    .year-title {
        font-size: 18px;
    }
    
    .content-item {
        font-size: 11px;
        padding: 6px 10px;
    }
}