header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: transform 0.3s ease;
}

header .top{
    background-color: #33449d;
    padding: 10px 0;
}

header .inner{
    max-width: 90%;
}

header .top a{
    color: #fff;
    position: relative;
    display: inline-block;
}

header .top a::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: #fff;
    transition: width 0.3s ease;
}

header .top a:hover::after{
    width: 100%;
}

header .top ul{
    display: flex;
    gap: 0 20px;
    display: none;
}

/* �ㅽ겕濡ㅼ쓣 �대┫ �� �ㅻ뜑 �④� */
header.hide{
    transform: translateY(-100%);
}

/* gnb-wrap �ㅽ��� */
.gnb-wrap{
    padding: 10px 0;
    z-index: 10;
    background: transparent;
    transition: background 0.3s ease;
}

header.down .gnb-wrap{
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.gnb-wrap .inner{
    position: relative;
    z-index: 2;
}

/* 濡쒓퀬 �곸뿭 */
.logo-area{
    gap: 20px;
    width: auto;
}

.logo-area .logo img{
    height: 55px;
    width: auto;
}

.logo-area .divider{
    width: 1px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.3);
}

.project-name{
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    white-space: nowrap;
}

/* GNB 硫붾돱 */
.gnb {
    display: flex;
    gap: 0 50px;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: auto;
    margin-right: 50px;
}

.gnb > li{
    position: relative;
}

.gnb > li > a{
    color: #fff;
    font-weight: 500;
    padding: 10px 0;
    display: block;
    transition: opacity 0.3s ease;
}

.gnb > li > a:hover{
    opacity: 0.8;
}

/* 2李� 硫붾돱 (PC) */
.gnb .depth-2{
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, #3c61e9 0%, #3757cd 100%);
    min-width: 250px;
    list-style: none;
    margin: 0;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(60, 97, 233, 0.3);
    z-index: 10;
    overflow: hidden;
}

.gnb .depth-2 li{
    margin: 0;
    opacity: 0;
    transform: translateX(-10px);
}

.gnb .depth-2 a{
    color: #fff;
    font-size: 16px;
    padding: 12px 24px;
    display: block;
    text-decoration: none;
    word-break: keep-all;
}


.grid-icon{
    width: 20px;
    height: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 2px;
}

.grid-icon span{
    background-color: #fff;
    border-radius: 1px;
}

/* �꾩껜 硫붾돱 �ㅻ쾭�덉씠 */
.all-menu-overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: block;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

/* PC�� 誘몃뵒�댁옘由щ뒗 �섎떒 李몄“ */

.all-menu-overlay.active{
    pointer-events: auto !important;
    opacity: 1;
    visibility: visible;
}

body.menu-open{
    overflow: hidden;
}

/* �꾩껜 硫붾돱 �섑띁 (醫뚯슦 遺꾪븷) */
.all-menu-wrapper{
    display: flex;
    width: 100%;
    height: 100%;
    background: #fff;
    position: relative;
}

/* �쇱そ �대�吏� �곸뿭 */
.all-menu-visual{
    width: 33.333%;
    height: 100%;
    overflow: hidden;
    position: relative;
    will-change: transform;
}

.all-menu-visual img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* �ㅻⅨ履� 硫붾돱 �곸뿭 */
.all-menu-content{
    width: 66.667%;
    height: 100%;
    overflow-y: auto;
    background: #fff;
    position: relative;
    padding: 0;
    will-change: transform;
}

/* �꾩껜 硫붾돱 濡쒓퀬 */
.all-menu-logo{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    padding: 30px 0;
}
.all-menu-logo a{
    display: block;
}
.all-menu-logo img{
    display: block;
    height: 36px;
    width: auto;
    filter: invert(1);
}

/* 硫붾돱 �ㅻ뜑 (�곗륫 �곷떒 踰꾪듉��) */
.all-menu-header{
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 30px 40px;
    z-index: 10;
    will-change: opacity, transform;
}

.intranet-icon{
    font-size: 16px;
}

/* �リ린 踰꾪듉 */
.all-menu-close{
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #333;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
}

.all-menu-close:hover{
    background: #333;
    transform: rotate(90deg);
}

.all-menu-close span{
    position: absolute;
    width: 18px;
    height: 2px;
    background-color: #333;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.all-menu-close:hover span{
    background-color: #fff;
}

.all-menu-close span:first-child{
    transform: rotate(45deg);
}

.all-menu-close span:last-child{
    transform: rotate(-45deg);
}

.all-menu-inner{
    padding: 100px 80px 80px;
    max-width: 100%;
}

.all-menu-list{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.all-menu-list > li{
    margin-bottom: 0;
    padding: 30px 0;
    border-bottom: 1px solid #e0e0e0;
    will-change: opacity, transform;
}

.all-menu-list > li:last-child{
    border-bottom: none;
}

.all-menu-list .menu-title{
    color: #333;
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
    display: block;
    margin-bottom: 20px;
    padding: 0;
    transition: color 0.3s ease;
}

.all-menu-list .menu-title:hover{
    color: var(--blue);
}

/* PC�먯꽌 �꾩껜 硫붾돱�� ��긽 �대젮�덉쓬 */
.all-menu-list .sub-menu{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    will-change: opacity;
}

/* PC�� 誘몃뵒�댁옘由щ뒗 �섎떒 李몄“ */

.all-menu-list .sub-menu li{
    margin: 0;
}

.all-menu-list .sub-menu a{
    color: #666;
    font-size: 16px;
    text-decoration: none;
    padding: 8px 0;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.all-menu-list .sub-menu a:hover{
    color: var(--blue);
    padding-left: 10px;
}

.top-link{
    display: flex !important;
    align-items: center;
    gap: 0 10px;
}

.top-link img{
    width: 14px;
}

/* ============================================
   FOOTER
   ============================================ */
footer{
    background-color: #0a1929;
    padding: 50px 0 40px;
    color: #fff;
    font-family: 'SCDream';
}

.footer-inner{
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

/* �곷떒 �뱀뀡 */
.footer-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.footer-top-left{
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo{
    flex-shrink: 0;
}

.footer-logo img{
    display: block;
    object-fit: contain;
    width: 120px;
}

.footer-university{
    font-size: 18px;
    font-weight: 500;
    color: #fff;
}

.footer-divider{
    font-size: 18px;
    color: rgba(255, 255, 255, 0.3);
}

.footer-project{
    font-size: 18px;
    font-weight: 500;
    color: #fff;
}

.footer-top-right{
    flex-shrink: 0;
}

.footer-links{
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li a{
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s ease;
    color: #fff;
}


.footer-links li:first-child a{
    color: #7db8e8;
}

/* �섎떒 �뱀뀡 */
.footer-bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-left{
    flex: 1;
}

.footer-address{
    font-size: 14px;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-copyright{
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.footer-bottom-right{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    flex-shrink: 0;
}

.footer-phone{
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.footer-family-wrap{
    position: relative;
}

.footer-family-btn{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 20px;
    width: 100%;
    min-width: 160px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'SCDream';
}

.footer-family-btn:hover{
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.footer-family-icon{
    position: relative;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-family-icon .icon-plus,
.footer-family-icon .icon-minus{
    position: absolute;
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-family-icon .icon-plus{
    opacity: 1;
    transform: rotate(0deg);
}

.footer-family-icon .icon-minus{
    opacity: 0;
    transform: rotate(90deg);
}

.footer-family-btn.active .icon-plus{
    opacity: 0;
    transform: rotate(90deg);
}

.footer-family-btn.active .icon-minus{
    opacity: 1;
    transform: rotate(0deg);
}

.footer-family-menu{
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    margin-bottom: 10px;
    background: #0a1929;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.footer-family-menu.active{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 300px;
}

.footer-family-menu li{
    margin: 0;
}

.footer-family-menu li a{
    display: block;
    padding: 10px 20px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.footer-family-menu li a:hover{
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   諛섏쓳�� 誘몃뵒�댁옘由� (�댁긽�� ��)
   ============================================ */

/* PC�� (769px �댁긽) */
@media screen and (min-width: 769px) {
    /* �꾩껜 硫붾돱 �� 濡쒓퀬�� 紐⑤컮�셋룻깭釉붾┸(768 �댄븯)�먯꽌留� �쒖떆 */
    .all-menu-logo {
        display: none;
    }

    .all-menu-overlay{
        background-color: transparent;
    }

    .all-menu-inner{
        padding: 120px 100px 80px;
    }

    .all-menu-list .menu-title{
        font-size: 32px;
        margin-bottom: 25px;
    }

    .all-menu-list .sub-menu{
        max-height: none !important;
        padding: 0 !important;
    }

    .all-menu-list .menu-title::after{
        display: none;
    }

    .all-menu-list .sub-menu a{
        font-size: 17px;
        padding: 10px 0;
    }

    .all-menu-header{
        padding: 40px 50px;
    }

    .all-menu-close{
        width: 45px;
        height: 45px;
    }

    .all-menu-close span{
        width: 20px;
    }
}

/* 1280px �댄븯 */
@media screen and (max-width: 1280px) {
    header .inner{
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .gnb-wrap{
        padding: 10px 0;
    }
}

/* 1024px �댄븯 */
@media screen and (max-width: 1024px) {
    .gnb{
        gap: 0 20px;
    }

    .gnb > li > a{
        font-size: 15px;
    }

    /* Footer */
    .footer-inner{
        padding: 0 30px;
    }

    .footer-top{
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-bottom{
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .footer-bottom-right{
        align-items: flex-start;
        width: 100%;
    }
}

/* 768px �댄븯 */
@media screen and (max-width: 768px) {
    .gnb-wrap{
        padding: 15px 0;
        min-height: 80px;
    }


    /* 紐⑤컮�쇱뿉�� GNB �④린湲� */
    .gnb{
        display: none;
    }

    /* 紐⑤컮�쇱뿉�� �꾩껜 硫붾돱 �덉씠�꾩썐 蹂�寃� */
    .all-menu-wrapper{
        flex-direction: column;
    }

    .all-menu-visual{
        width: 100%;
        height: 200px;
        display: none;
    }

    .all-menu-content{
        width: 100%;
        height: calc(100% - 200px);
        background: #fff;
    }

    /* �꾩껜 硫붾돱 濡쒓퀬 紐⑤컮�� */
    .all-menu-logo{
        padding: 20px;
    }
    .all-menu-logo img{
        height: 30px;
    }

    /* �꾩껜 硫붾돱 �ㅻ뜑 紐⑤컮�� */
    .all-menu-header{
        padding: 20px;
        gap: 10px;
    }

    .all-menu-intranet{
        padding: 8px 16px;
        font-size: 13px;
    }

    /* �꾩껜 硫붾돱 �リ린 踰꾪듉 紐⑤컮�� */
    .all-menu-close{
        width: 35px;
        height: 35px;
    }

    .all-menu-close span{
        width: 16px;
    }

    /* �꾩껜 硫붾돱 紐⑤컮�� �ㅽ��� */
    .all-menu-inner{
        padding: 30px 20px 50px;
    }

    .all-menu-list > li{
        padding: 20px 0;
        border-bottom: 1px solid #e0e0e0;
    }

    .all-menu-list .menu-title{
        font-size: 22px;
        cursor: pointer;
        position: relative;
        padding-right: 30px;
        margin-bottom: 15px;
        color: #333;
    }

    .all-menu-list .menu-title::after{
        content: '+';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 24px;
        font-weight: 300;
        transition: transform 0.3s ease;
        color: #333;
    }

    .all-menu-list > li.active .menu-title::after{
        transform: translateY(-50%) rotate(45deg);
    }

    /* 紐⑤컮�� �꾩퐫�붿뼵: �� 媛쒕쭔 �대┝ */
    .all-menu-list .sub-menu{
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        padding: 0;
        flex-direction: column;
    }

    .all-menu-list > li.active .sub-menu{
        max-height: 500px;
        padding: 15px 0;
    }

    .all-menu-list .sub-menu a{
        padding: 10px 0;
        font-size: 15px;
        color: #666;
    }

    .all-menu-list .sub-menu a:hover{
        color: var(--blue);
        padding-left: 10px;
    }

    /* Footer */
    footer{
        padding: 40px 0 30px;
    }

    .footer-inner{
        padding: 0 20px;
    }

    .footer-top-left{
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }


    .footer-brand{
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .footer-divider{
        display: none;
    }

    .footer-links {
        gap: 15px;
    }



    .footer-phone{
        font-size: 20px;
    }

    .footer-family-wrap{
        width: 100%;
    }

    .footer-family-btn{
        width: 100%;
        justify-content: center;
    }

    .footer-family-menu{
        width: 100%;
    }
}

@media screen and (max-width: 640px) {
    .gnb-wrap{
        padding: 12px 0;
        min-height: 70px;
    }

    .logo-area{
        gap: 10px;
    }


    .project-name{
        font-size: 18px;
    }


    .all-menu-content{
        padding: 40px 0 30px;
    }

    .all-menu-inner{
        padding: 0 20px;
        margin-top: 50px;
    }

    .all-menu-list .menu-title{
        font-size: 20px;
    }
}

/* 480px �댄븯 */
@media screen and (max-width: 480px) {
    .logo-area .divider{
        height: 20px;
    }

    .project-name{
        font-size: 16px;
    }

    .all-menu-btn{
        width: 35px;
        height: 35px;
    }

    .all-menu-btn img{
        width: 100%;
    }

    .grid-icon{
        width: 18px;
        height: 18px;
    }

    .all-menu-list .menu-title{
        font-size: 18px;
    }

    .all-menu-list .sub-menu a{
        font-size: 14px;
    }

    .footer-links li a{
        font-size: 13px;
    }
}