/* ==========================================================================
   1. 부트스트랩 스타일 리셋 & 변수 선언 (관공서·공공기관 톤앤매너 반영)
   ========================================================================== */
:root {
    --bg-main: #ffffff;
    --bg-sub: #f4f7fa;          /* 행정 포털 스타일의 깔끔하고 차분한 연그레이 */
    --border-color: #d1dbe5;    /* 시니어 층도 쉽게 구분할 수 있도록 명도 대비를 높인 보더 */    
    
    /* 텍스트 가독성 최적화 */
    --text-primary: #0f172a;    /* 깊이감 있는 다크 네이비 */
    --text-secondary: #334155;  /* 가독성이 확보된 짙은 슬레이트 */
    --text-muted: #64748b;     /* 가이드 및 부연 설명용 */
    
    /* 핵심 컬러 세트 (블루 & 그린민트) */
    --accent-blue: #2f38a2;     /* 신뢰와 권위를 상징하는 대한민국 정부 표준형 국회·정부 블루 */
    --accent-blue-hover: #003773;
    --accent-mint: #0015ff;     /* 청렴, 친환경, 혁신을 상징하는 선명한 그린 민트 */
    --accent-mint-hover: #008f79;
    --bg-mint-light: #e6f7f4;   /* 메뉴 호버 및 배지용 연한 민트 배경 */
    
    --header-height: 120px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', -apple-system, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.65;
    padding-top: var(--header-height);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: 'Noto Sans KR', sans-serif;
}

/* ==========================================================================
   2. 헤더 및 내비게이션 (Fixed Header & 고대비 공공 스타일)
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1700px;
    height: var(--header-height);
    margin: 0 auto;    
}

/* 로고 영역 */
.header-jin-left a {
    display: flex;
    align-items: center;
    height: auto;
    width: 230px;       
    flex-shrink: 0;     
}

.header-jin-left img {
    height: 100px;
    width: 100%;        
}

/* 중앙 메뉴 바 */
.header-jin-center {
    display: flex;
    align-items: center;
}

.header-jin-cinter-text-button {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item {
    position: relative;
}

.nav-item button {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 700;
    padding: 10px 24px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.15s ease;
}

/* 호버 및 활성화 스타일 */
.nav-item button:hover,
.nav-item button.active-btn {
    color: var(--accent-blue);
    background-color: var(--bg-mint-light);
}

/* 드롭다운 서브 메뉴 */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    min-width: 140px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--accent-mint);
    padding: 4px 0;
    overflow: hidden;
}

.dropdown-menu a {
    display: block;
    padding: 11px 16px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
    transition: all 0.15s ease;
}

.dropdown-menu a:hover {
    background-color: var(--bg-sub);
    color: var(--accent-blue);
}

.nav-item:hover .dropdown-menu {
    display: block;
    animation: dropdownFadeIn 0.2s ease forwards;
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(5px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* 반응형 텍스트 기본 분기 */
.txt-short { display: none; }
.txt-full { display: inline; }

/* 우측 실시간 시계 */
.header-jin-right-text {
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, monospace;
}

#current-date {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
}

#current-time {
    font-size: 1.5rem;
    color: var(--accent-blue);
    font-weight: 800;
    margin-top: 1px;
}


/* ==========================================================================
   3. 메인 비주얼 및 공통 페이지 전환 시스템
   ========================================================================== */

/* 전체 서브 페이지 컨테이너 기본 공통 */
section.page {
    display: none; 
    width: 100%;
    box-sizing: border-box;
    background-color: var(--bg-main);
    max-width: 2100px;
    margin: 0 auto;
    height: auto;
}

/* 활성화 상태 */
section.page.active {
    display: flex; /* PC 구조 디폴트 선언 */

}

#main.page {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    position: relative;
    height: calc(100vh - var(--header-height));
    overflow: hidden; 
   

}

#main.page.active {
    display: block !important; /* 비디오 메인은 30:70 분할 제외 */
    align-items: center;
        justify-content: center
}

#bgVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);   
    max-width: 100%;
    max-height: 94%;
    width: auto;
    height: auto;
    object-fit: contain;     
    z-index: 1;
    pointer-events: none; 
}

.overlay-text {
    position: absolute;
    top: 80%;                  
    left: 50%;               
    transform: translate(-50%, -50%); 
    width: 90%;              
    max-width: 1200px;       
    height: auto;    
    text-align: center;      
    display: block;          
    color: #00f2ff;
    font-size: 4vw;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.25;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    overflow-wrap: break-word; 
    word-break: break-all;     
}

/* ==========================================================================
   4. 30:70 레이아웃 시스템 (PC 전용 - 1601px 이상)
   ========================================================================== */
@media (min-width: 1601px) {
    section.page {
        height: calc(100vh - var(--header-height));
        overflow: hidden; 
    }

                                .page-content::before {
                                    content: "";
                                    display: block;
                                    width: 100%;
                                    height: 45px;
                
                                    background: linear-gradient(to right,
                                            #0066cc 0%,
                                            #00a84d 50%,
                                            #ffb400 100%);
                                }

                                                                .page-content::after {
                                                                    content: "";
                                                                    display: block;
                                                                    width: 100%;
                                                                    height: 45px;
                                
                                                                    background: linear-gradient(to right,
                                                                            #a89898 0%,
                                                                            #98a99f 50%,
                                                                            #a9b8a8 100%);
                                                                }

    /* [왼쪽 패널 - 전체의 30%] 사이드바 고정 영역 */
    .page-sidebar {
        width: 30%;
        height: 100%;
        background-color: #f8f9fa; 
        border-right: 1px solid var(--border-color);
        padding: 60px 40px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    /* [오른쪽 패널 - 전체의 70%] 콘텐츠 영역 */
    .page-content {
        width: 70%;
        height: 100%;
        padding: 60px;
        box-sizing: border-box;
        overflow-y: auto; 
        background-color: #ffffff;
        text-align: center;
        margin-top: 80px;
    }

    /* PC 전용: 활성화되지 않은 설명 패널 숨김 */
    .content-panel {
        display: none; 
    }
    
    /* PC 전용: 활성화된 패널 노출 */
    .content-panel.active {
        display: block !important;
        animation: panelFadeIn 0.4s ease forwards;
    }
}

/* ------------------------------------------
   내부 타이포그래피 및 UI 디자인 (공통)
   ------------------------------------------ */

/* 1. 사이드바 컨테이너 (기본: 모바일 흰색 배경) */
.page-sidebar {
    background-color: #ffffff;
    padding: 60px 40px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
    /* 모바일 구분선 */
}

/* 사이드바 제목: 완벽한 중앙 정렬 */
.page-sidebar h1 {
    font-size: 2.6rem;
    font-weight: 800;
    margin: 0 0 20px 0;
    /* 좌우 마진은 0으로 */
    padding-bottom: 10px;
    width: 100%;
    /* 중요: 사이드바 전체 너비 차지 */
    text-align: center;
    /* 내부 글자 중앙 정렬 */
    display: block;
    /* inline-block 대신 block 사용 */
    position: relative;
    color: var(--text-primary);
    /* PC에서는 미디어쿼리로 흰색 덮어쓰기 */
}


/* 3. 사이드바 버튼 (기본: 모바일 짙은 텍스트 테마) */
.sidebar-btn {
    width: 100%;
    text-align: left;
    padding: 18px 24px;
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 4. PC(1601px 이상) 미디어 쿼리: 군청색 테마로 전환 */
@media (min-width: 1601px) {
    .page-sidebar {
        background-color: #002d5e;
        /* 군청색 배경 */
        border: none;
    }

    .page-sidebar h1 {
        color: #ffffff;
        /* 흰색 텍스트 */
    }

    .sidebar-btn {
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #ffffff;
    }

    .sidebar-btn:hover {
        background-color: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.5);
        padding-left: 32px;
    }

    .sidebar-btn.active {
        background-color: #ffffff;
        color: #002d5e !important;
        border-color: #ffffff;
        font-weight: 800;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
}

/* 5. 콘텐츠 패널 스타일 */
.content-panel {
    padding-bottom: 80px;
}

.content-panel h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.content-panel p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.9;
    word-break: keep-all;
}

.content-panel.active {
    animation: panelFadeIn 0.4s ease forwards;
}

@keyframes panelFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================================================
   1. 내부 타이포그래피 및 UI 디자인 (모바일 기본 설정)
   ========================================================================== */
.page-sidebar {
    background-color: #ffffff;
    padding: 60px 40px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
    box-sizing: border-box;
}

.page-sidebar h1 {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 auto 20px auto;
    padding-bottom: 10px;
    display: inline-block;
    border-bottom: 5px solid #008cd7;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.sidebar-btn {
    width: 100%;
    text-align: left;
    padding: 18px 24px;
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.content-panel {
    padding-bottom: 80px;
}

.content-panel h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.content-panel p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.9;
    word-break: keep-all;
}

/* ==========================================================================
   2. 30:70 레이아웃 및 PC 테마 (1601px 이상 - 덮어쓰기)
   ========================================================================== */
@media (min-width: 1601px) {
    section.page {
        display: flex !important;
        height: calc(100vh - var(--header-height));
        overflow: hidden;
    }

    .page-sidebar {
        width: 30%;
        height: 96%;
        background-color: #002d5e !important;
        border: none;
        margin-bottom: 0;
        border-radius: 10px;
       
        
        
    }

    .page-content {
        width: 70%;
        height: 100%;
        padding: 60px;
        overflow-y: auto;
        background-color: #ffffff;
        box-sizing: border-box;
    }

    .page-sidebar h1 {
        color: #ffffff !important;
        border-bottom: 5px solid #00f2ff;
        /* PC용 포인트 컬러 */       
        
    }

    .sidebar-btn {
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #ffffff;
    }

    .sidebar-btn:hover {
        background-color: rgba(255, 255, 255, 0.1);
        padding-left: 32px;
    }

    .sidebar-btn.active {
        background-color: #ffffff;
        color: #002d5e !important;
        border-color: #ffffff;
        font-weight: 800;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .content-panel {
        display: none;
    }

    .content-panel.active {
        display: block !important;
    }
}

/* ==========================================================================
   3. 애니메이션
   ========================================================================== */
.content-panel.active {
    animation: panelFadeIn 0.4s ease forwards;
}

@keyframes panelFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* ========================================================================== 
   5. 완벽 무결한 반응형 레이아웃 (수정 전체본 - 소제목 완전 제거)
   ========================================================================== */
@media (max-width: 1600px) {

    body {
        padding-top: 0;
    }

    header {
        position: relative;
        border-bottom: 2px solid var(--accent-blue);
        background-color: #ffffff;
    }

    .header {
        flex-direction: column;
        height: auto;
        padding: 16px;
        gap: 16px;
    }

    /* 원격지원 완전 삭제 */
    .nav-item[data-page="remote"],
    .dropdown-menu a[href*="jin114"],
    .remote,
    #remote,
    [class*="remote"],
    .remote-btn {
        display: none !important;
    }

    /* 로고 */
    .header-jin-left {
        width: 100%;
        display: flex;
        justify-content: center;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 12px;
    }

    .header-jin-left img {
        height: 80px;
    }

    /* 시계 */
    .header-jin-right {
        position: static;
        width: 100%;
    }

    #current-date,
    #current-time {
        font-size: 1.3rem;
        text-align: center;
    }

    /* NAV */
    .header-jin-center {
        width: 100%;
    }

    .header-jin-cinter-text-button {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
        background-color: var(--bg-sub);
        padding: 12px;
        border-radius: 4px;
        border: 1px solid var(--border-color);
        align-items: start;
    }

    .nav-item {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .nav-item button {
        width: 100%;
        padding: 8px 0;
        font-size: 14px;
        font-weight: 800;
        color: var(--accent-blue);
        background-color: #ffffff;
        border: 1px solid var(--border-color);
        border-radius: 4px;
        cursor: pointer;
        pointer-events: auto !important;
    }

    /* active */
    .nav-item button.active-btn {
        background-color: var(--accent-blue);
        color: #ffffff !important;
        border-color: var(--accent-blue);
    }

    /* 🔥 핵심: 소제목 완전 제거 */
    .dropdown-menu {
        display: none !important;
    }

    .dropdown-menu a {
        display: none !important;
    }

    /* 텍스트 축약 유지 */
    .txt-full {
        display: none !important;
    }

    .txt-short {
        display: inline !important;
    }
    .layout {
        display: none !important;
    }

    /* ------------------------------------------
       [모바일 본문 강제 전체 표출 기전 적용]
       ------------------------------------------ */
    section.page.active {
        display: block !important; /* 30:70 분할 레이아웃을 해제하고 단일 세로 블록으로 전환 */
    }

    /* 모바일에서는 중복되는 세로 사이드바 버튼 그룹을 완전 제거 */
    .sidebar-menu {
        display: none !important;
    }

    .page-sidebar {
        width: 100% !important;
        padding: 40px 20px 0 20px !important;
        background-color: #ffffff !important;
        border-right: none !important;
    }

    .page-sidebar h1 {
        font-size: 2.2rem;
    }

    .page-content {
        width: 100% !important;
        padding: 20px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 50px; 
    }

    /* 🚨 [정정 핵심] 모바일 브라우저 화면에서는 모든 패널을 예외 없이 상시 노출 */
    .content-panel {
        display: block !important; 
        opacity: 1 !important;
        transform: none !important;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 40px;
    }
    
    .content-panel:last-child {
        border-bottom: none; 
    }

    .content-panel h2 {
        font-size: 1.6rem;
        color: var(--accent-blue); 
        margin-bottom: 16px;
    }

    /* 메인 비주얼 영역 모바일 정돈 */
    #main.page { 
        height: auto;
        min-height: 260px;
        aspect-ratio: 16 / 9; 
    }
    
    #bgVideo {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .overlay-text { 
        font-size: 1.8rem; 
        line-height: 1.4; 
        padding: 16px;
        top: 80%; /* 비주얼 중앙 배치 보정 */
        text-shadow: 0 10px 20px rgba(0, 0, 0, 0.9);
        color: #ff8400;
    }   
}






/* =========================
   CEO MESSAGE
========================= */

#about-intro {
    width: 100%;
    padding: 100px 0;
    background: #fff;
}

#about-intro .section-title {
    text-align: center;
    margin-bottom: 70px;
}

#about-intro .section-title span {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #0066cc;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

#about-intro .section-title h2 {
    font-size: 42px;
    font-weight: 800;
    color: #222;
    margin: 0;
}

/* =========================
   Layout
========================= */

.intro-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    gap: 80px;
}

/* =========================
   Image Area
========================= */

.intro-image {
    position: relative;
    flex: 0 0 420px;
}

.intro-image img {
    width: 100%;
    display: block;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.ceo-badge {
    position: absolute;
    bottom: 25px;
    right: -15px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #0066cc;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

/* =========================
   Content Area
========================= */

.intro-content {
    flex: 1;
}

.quote-box {
    position: relative;
    margin-bottom: 40px;
}

.quote-icon {
    position: absolute;
    left: 0;
    top: -15px;
    font-size: 70px;
    color: rgba(0, 102, 204, 0.15);
    line-height: 1;
}

.quote-box h3 {
    font-size: 42px;
    line-height: 1.5;
    font-weight: 800;
    color: #222;
    margin: 0;
    padding-left: 45px;
}

/* =========================
   Message Box
========================= */

.message-box {
    margin-bottom: 50px;
}

.intro-greeting {
    font-size: 22px;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 25px;
}

.message-box p {
    font-size: 17px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
}

/* =========================
   Signature
========================= */

.signature {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.signature-line {
    width: 80px;
    height: 2px;
    background: #0066cc;
}

.signature p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

.signature h4 {
    margin: 0;
    font-size: 30px;
    font-weight: 800;
    color: #222;
    letter-spacing: 5px;
}

/* =========================
   Tablet
========================= */

@media (max-width: 1024px) {

    #about-intro {
        padding: 80px 0;
    }

    .intro-container {
        gap: 50px;
    }

    .intro-image {
        flex: 0 0 350px;
    }

    .quote-box h3 {
        font-size: 34px;
    }

    .section-title h2 {
        font-size: 36px;
    }
}

/* =========================
   Mobile
========================= */

@media (max-width: 768px) {

    #about-intro {
        padding: 70px 0;
    }

    .intro-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .intro-image {
        flex: initial;
        width: 100%;
        max-width: 400px;
    }

    .ceo-badge {
        width: 70px;
        height: 70px;
        font-size: 18px;
        right: 10px;
        bottom: 10px;
    }

    .quote-box {
        text-align: center;
    }

    .quote-icon {
        position: static;
        display: block;
        font-size: 50px;
        margin-bottom: 10px;
    }

    .quote-box h3 {
        padding-left: 0;
        font-size: 30px;
    }

    .intro-greeting {
        font-size: 20px;
    }

    .message-box p {
        font-size: 16px;
        line-height: 1.8;
    }

    .signature {
        justify-content: center;
    }

    .signature h4 {
        font-size: 26px;
    }

    #about-intro .section-title h2 {
        font-size: 32px;
    }
}

/* =========================
   Small Mobile
========================= */

@media (max-width: 480px) {

    #about-intro {
        padding: 60px 0;
    }

    .intro-container {
        padding: 0 20px;
    }

    #about-intro .section-title {
        margin-bottom: 50px;
    }

    #about-intro .section-title span {
        font-size: 12px;
    }

    #about-intro .section-title h2 {
        font-size: 28px;
    }

    .quote-box h3 {
        font-size: 24px;
        line-height: 1.6;
    }

    .intro-greeting {
        font-size: 18px;
    }

    .message-box p {
        font-size: 15px;
    }

    .signature-line {
        width: 50px;
    }

    .signature h4 {
        font-size: 22px;
        letter-spacing: 3px;
    }
}







/* ==========================================
   VISION
========================================== */

#about-vision {
    padding: 100px 0;
    background:
        linear-gradient(180deg,
            #f7faff 0%,
            #ffffff 100%);
}

#about-vision .section-title {
    text-align: center;
    margin-bottom: 70px;
}

#about-vision .section-title span {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #0066cc;
    margin-bottom: 15px;
}

#about-vision .section-title h2 {
    font-size: 42px;
    font-weight: 800;
    color: #222;
    margin-bottom: 20px;
}

#about-vision .section-title p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
}

/* ==========================================
   GRID
========================================== */

.vision-grid {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

/* ==========================================
   CARD
========================================== */

.vision-card {
    position: relative;

    background: #fff;
    border-radius: 25px;

    padding: 40px;

    overflow: hidden;

    border: 1px solid #e8eef5;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.06);

    transition: all .35s ease;
}

.vision-card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.12);
}

/* 상단 포인트 */

.vision-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background:
        linear-gradient(90deg,
            #0052cc,
            #00a2ff);
}

/* 배경 숫자 */

.vision-card::after {
    content: attr(data-num);

    position: absolute;

    right: 25px;
    top: 15px;

    font-size: 90px;
    font-weight: 900;

    color: rgba(0, 102, 204, 0.05);

    line-height: 1;
}

/* ==========================================
   TITLE
========================================== */

.vision-card h3 {
    position: relative;
    z-index: 2;

    font-size: 26px;
    font-weight: 800;

    color: #0b2d5b;

    line-height: 1.4;

    margin-bottom: 25px;
    padding-bottom: 15px;

    border-bottom: 2px solid #eef3f8;
}

/* ==========================================
   LIST
========================================== */

.vision-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vision-card li {
    position: relative;

    padding-left: 28px;
    margin-bottom: 15px;

    font-size: 16px;
    color: #555;

    line-height: 1.8;
}

.vision-card li:last-child {
    margin-bottom: 0;
}

.vision-card li::before {
    content: "✓";

    position: absolute;

    left: 0;
    top: 0;

    font-weight: 700;
    color: #0066cc;
}

/* ==========================================
   HOVER EFFECT
========================================== */

.vision-card:hover h3 {
    color: #0066cc;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width:1024px) {

    #about-vision {
        padding: 80px 0;
    }

    .vision-grid {
        gap: 25px;
    }

    .vision-card {
        padding: 35px;
    }

    .vision-card h3 {
        font-size: 22px;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width:768px) {

    #about-vision {
        padding: 70px 0;
    }

    #about-vision .section-title {
        margin-bottom: 50px;
    }

    #about-vision .section-title h2 {
        font-size: 32px;
    }

    #about-vision .section-title p {
        font-size: 16px;
    }

    .vision-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .vision-card {
        padding: 30px;
    }

    .vision-card::after {
        font-size: 70px;
    }

    .vision-card h3 {
        font-size: 20px;
    }

    .vision-card li {
        font-size: 15px;
    }
}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width:480px) {

    #about-vision .section-title h2 {
        font-size: 28px;
    }

    .vision-card {
        padding: 25px;
    }

    .vision-card::after {
        font-size: 55px;
    }

    .vision-card h3 {
        font-size: 18px;
    }

    .vision-card li {
        font-size: 14px;
        line-height: 1.7;
    }
}






/* ==========================================
   HISTORY
========================================== */

#about-history {
    padding: 100px 0;
    background:
        linear-gradient(180deg,
            #f7faff 0%,
            #ffffff 100%);
}

/* ==========================================
   SECTION TITLE
========================================== */

#about-history .section-title {
    text-align: center;
    margin-bottom: 70px;
}

#about-history .section-title span {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #0066cc;
    margin-bottom: 5px;
}

#about-history .section-title h2 {
    font-size: 42px;
    font-weight: 800;
    color: #222;
    margin: 0;
}

/* ==========================================
   GRID
========================================== */

.history-grid {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* ==========================================
   CARD
========================================== */

.history-card {
    position: relative;

    background: #fff;
    border-radius: 25px;
    border: 1px solid #e8eef5;

    padding: 40px;

    overflow: hidden;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .06);

    transition: all .35s ease;
}

.history-card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 25px 60px rgba(0, 0, 0, .12);
}

/* 상단 라인 */

.history-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background:
        linear-gradient(90deg,
            #0052cc,
            #00a2ff);
}

/* ==========================================
   YEAR
========================================== */

.history-year {
    font-size: 32px;
    font-weight: 800;
    color: #0066cc;

    margin-bottom: 10px;
    line-height: 0.5;
}

/* ==========================================
   TITLE
========================================== */

.history-card h3 {
    font-size: 26px;
    font-weight: 800;

    color: #0b2d5b;

    line-height: 1.0;

    margin-bottom: 15px;
    padding-bottom: 5px;

    border-bottom: 2px solid #eef3f8;
}

/* ==========================================
   TEXT
========================================== */

.history-card p {
    margin: 0;

    font-size: 16px;
    color: #555;
    line-height: 1;
}

/* ==========================================
   LIST
========================================== */

.history-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.history-card li {
    position: relative;

    padding-left: 28px;
    margin-bottom: 10px;

    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

.history-card li:last-child {
    margin-bottom: 0;
}

.history-card li::before {
    content: "";

    position: absolute;
    left: 0;
    top: 10px;

    width: 7px;
    height: 7px;

    background: #0066cc;
    border-radius: 50%;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width:1024px) {

    #about-history {
        padding: 80px 0;
    }

    .history-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .history-card {
        padding: 35px;
    }

    .history-card h3 {
        font-size: 22px;
    }

    .history-year {
        font-size: 28px;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width:768px) {

    #about-history {
        padding: 70px 0;
    }

    #about-history .section-title {
        margin-bottom: 50px;
    }

    #about-history .section-title h2 {
        font-size: 32px;
    }

    .history-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .history-card {
        padding: 30px;
    }

    .history-card h3 {
        font-size: 20px;
    }

    .history-year {
        font-size: 24px;
    }

    .history-card li {
        font-size: 15px;
    }
}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width:480px) {

    #about-history .section-title h2 {
        font-size: 28px;
    }

    .history-card {
        padding: 25px;
    }

    .history-card h3 {
        font-size: 18px;
    }

    .history-year {
        font-size: 22px;
    }

    .history-card p,
    .history-card li {
        font-size: 14px;
        line-height: 1.7;
    }
}





/* ==========================================
   ORGANIZATION
========================================== */

#about-org {
    padding: 100px 0;
    background:
        linear-gradient(180deg,
            #f7faff 0%,
            #ffffff 100%);
}

#about-org .section-title {
    text-align: center;
    margin-bottom: 70px;
}

#about-org .section-title span {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #0066cc;
    margin-bottom: 15px;
}

#about-org .section-title h2 {
    font-size: 42px;
    font-weight: 800;
    color: #222;
    margin-bottom: 0;
}

/* ==========================================
   ORGANIZATION CHART
========================================== */

.org-container {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    margin: 20px auto;

    font-family: 'Malgun Gothic', sans-serif;

    color: #222;
    line-height: 1.2;

    background: transparent;

    padding: 40px 20px;
    font-size: 1.2rem;
}

/* 계층 공통 */

.org-container .level-1,
.org-container .level-2,
.org-container .level-3,
.org-container .level-4 {
    position: relative;
    display: flex;
    justify-content: center;
}

.org-container .level-1 {
    margin-bottom: 40px;
}

.org-container .level-2 {
    margin-bottom: 40px;
}

.org-container .level-3 {
    gap: 100px;
    margin-bottom: 20px;
}

.org-container .level-4 {
    gap: 25px;
    align-items: flex-start;
}

/* ==========================================
   연결선
========================================== */

.org-container .level-1::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    width: 4px;
    height: 40px;
    background-color: #0054ba;
}

.org-container .level-2::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 50%;
    width: 4px;
    height: 40px;
    background-color: #0054ba;
    padding-top: 20px;
}

.org-container .level-4 {
    position: relative;
    padding-top: 20px;
    margin-top: 20px;
}

.org-container .level-3::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 4px;
    background-color: #0054ba;
}

.org-container .level-4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 16%;
    right: 15.9%;
    height: 4px;
    background-color: #0054ba;
}

.org-container .column {
    position: relative;
    padding-top: 20px;
}

.org-container .column::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    width: 4px;
    height: 40px;
    background-color: #0054ba;
}

.org-container .level-3::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    width: 4px;
    height: 62px;
    background-color: #0054ba;
}

/* ==========================================
   NODE
========================================== */

.org-container .node {
    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 10px 15px;

    border-radius: 4px;

    font-weight: bold;

    min-width: 360px;
    min-height: 45px;

    box-sizing: border-box;

    font-size: 14px;

    z-index: 1;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, .06);
}

/* 최상위 */

.org-container .head-node {
    background:
        linear-gradient(to bottom,
            #0066cc,
            #0052cc);

    border: 1px solid #0066cc;
    color: #fff;
}

/* 경영지원팀 */

.org-container .support-node {
    background: #00a84d;
    color: #fff;
}

/* 기술영업부 */

.org-container .support-node-anther {
    background: #9cdb43;
    color: #111;
}

/* 기술지원부 */

.org-container .level-3 .node:last-child {
    background: #5a94d6;
    color: #fff;
}

/* 사업부 제목 */

.org-container .blue-title {
    background: #4a6a8a;
    color: #fff;
    margin-bottom: 12px;
}

/* 세부 항목 */

.org-container .item {
    background: #c6e7e7;
    color: #383838;

    font-weight: normal;

    border: 1px solid #dfe7ef;

    margin-bottom: 6px;
}

.org-container .item:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {

    .org-container {
        padding: 10px 0;

        transform: scale(0.45);
        transform-origin: top center;


        display: flex;
        justify-content: center;

        overflow: visible;
        margin-bottom: -200px;
    }

    /* 간격 최소화 */
    .org-container .level-1,
    .org-container .level-2,
    .org-container .level-3,
    .org-container .level-4 {
        margin-bottom: 20px;
        gap: 30px;
    }

    /* 노드 */
    .org-container .node {
        min-width: 260px;
        min-height: 35px;
        font-size: 2rem;
        padding: 6px 8px;
    }

    /* 연결선 */
    .org-container .level-1::after,
    .org-container .level-2::after,
    .org-container .level-3::before,
    .org-container .level-3::after,
    .org-container .level-4::before,
    .org-container .column::before {
        display: none;
    }

    /* 타이틀 */
    #about-org .section-title h2 {
        font-size: 22px;
    }

    #about-org .section-title span {
        font-size: 1rem;
    }

    
}