/* main.css - 장백 관세사 사무소 메인 스타일시트 */

:root {
	--kc-navy: #1a2332;
    --kc-blue: #2c5aa0;
    --kc-white: #ffffff;	
    --header-height: 64px;
    --header-height-scrolled: 64px;
    --primary-color: #374151;
    --secondary-color: #6b7280;
    --accent-color: #1e3a8a;
    --background-color: #ffffff;
    --surface-color: #f9fafb;
    --border-color: #e5e7eb;
    --text-primary:#666666 ;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --mainfont-color: #1e3a8a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nanum Gothic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-color);
    overflow-x: hidden;
    margin: 0;
    padding-top: 0;
}

.sub-page body {
    padding-top: 0;
}

/* Header - White & Gray 컨셉 */
.header {
    background-color: transparent;
    color: var(--text-primary);
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: var(--header-height);
    border-bottom: none;
    box-shadow: none;
    isolation: isolate;
    will-change: transform;
}


/* 메인페이지 헤더 스타일 - 로고를 중앙에 배치 */
.home-page .header-logo {
    position: fixed !important;
    top: calc(var(--header-height) / 2) !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    opacity: 1;
    transition: opacity 0.5s ease;
    z-index: 999;
    pointer-events: auto;
    margin: 0 !important;
    width: auto;
}

/* 숨김 상태: 보이지 않고, 클릭 불가 */
.home-page .header-logo.hidden {
    opacity: 0;
    pointer-events: none;
}

/* 헤더 검색 아이콘 스타일 - 숨김 */
.header-search-toggle {
    display: none;
}



/* 헤더 검색창 스타일 */
.header-search-form {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(37, 99, 235, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1002;
    padding: 20px 0;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-search-form.active {
    transform: translateY(0);
}

.header-search-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.header-search-input {
    flex: 1;
    padding: 14px 20px;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #1f2937;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.header-search-input::placeholder {
    color: #6b7280;
}

.header-search-input:focus {
    border-color: rgba(255, 255, 255, 0.6);
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.header-search-submit,
.header-search-close {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.header-search-submit:hover,
.header-search-close:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .home-page .header-logo {
        top: calc(var(--header-height) / 2);
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .home-page .header-logo img {
        height: 20px;
        width: auto;
        object-fit: contain;
    }
    

    
    /* 모바일 헤더 검색창 */
    .header-search-form {
        padding: 15px 0;
    }
    
    .header-search-container {
        padding: 0 15px;
        gap: 8px;
        max-width: none;
    }
    
    .header-search-input {
        padding: 12px 16px;
        font-size: 15px;
    }
    
    .header-search-submit,
    .header-search-close {
        width: 40px;
        height: 40px;
    }
}

.home-page .header.scrolled {
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
}

/* 서브페이지 헤더 스타일 - 통합 배경 */
.sub-page .header {
    height: var(--header-height);
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    z-index: 1001;
    transition: background-color 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                backdrop-filter 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                border-bottom-color 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.sub-page .header-top {
    display: none; /* 서브페이지에서도 header-top 숨김 */
}

.sub-page .header.scrolled {
    /* background-color는 JavaScript에서 동적으로 제어 */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid #1E293B;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* 서브페이지 헤더 텍스트 색상 */
.sub-page .header {
    color: #FFFFFF;
}

.sub-page .header-top {
    display: none; /* 서브페이지에서도 header-top 숨김 */
}

.sub-page .header-logo {
    color: white;
    position: absolute !important;
    top: calc(var(--header-height) / 2) !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
}

.sub-page .header-logo::after {
    display: none !important; /* 서브페이지 hover 효과 제거 */
}

.sub-page .header-logo:hover::after {
    display: none !important;
}

.sub-page .header-logo img {
    height: 22px;
    width: auto;
    object-fit: contain;
}

.sub-page .header.scrolled .header-logo {
    color: white;
}

.sub-page .header.scrolled .header-logo img {
    height: 22px;
}

.sub-page .top-menu-list a {
    color: #FFFFFF;
}

.sub-page .top-menu-list a:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
}

.sub-page .top-menu-list li:not(:last-child)::after {
    color: #CBD5E1;
}

.sub-page .menu-toggle span {
    background-color: white !important;
}

.sub-page .side-menu-logo {
    color: #111827;
}




/* Menu Toggle Button */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-right: 0;
    transition: all 0.3s ease;
    position: fixed;
    top: 50%;
    left: 50px; /* 화면 왼쪽에서 50px 여백 */
    transform: translateY(-50%);
    z-index: 10000;
    pointer-events: auto;
    backdrop-filter: none !important;
    background-color: transparent !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #e0e0e0 !important;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10000;
    backdrop-filter: none !important;
    transform: translateZ(0);
    display: block;
    pointer-events: none;
}

.menu-toggle:hover span {
    background-color: var(--accent-color);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 1px solid var(--border-color);
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.1);
}

.side-menu.active {
    left: 0;
}

.side-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 25px;
    border-bottom: 1px solid var(--border-color);
}

.side-menu-logo {
	margin-top : 15px;
    color: #111827;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.menu-close {
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

/* 기존 막대(span)는 숨기고, 깔끔한 X 아이콘만 사용 */
.menu-close span {
    display: none;
}

.menu-close::before {
    content: '×';
    font-size: 44px;
    line-height: 1;
    color: var(--text-secondary);
    transition: color 0.2s ease, transform 0.2s ease;
}

.menu-close:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.menu-close:hover::before {
    color: var(--text-primary);
    transform: scale(1.05);
}

.side-nav {
    padding: 30px 0;
}

.side-nav ul {
    list-style: none;
}

.side-nav li {
    margin: 0;
}

.side-nav a {
    display: block;
    padding: 18px 25px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid transparent;
}

.side-nav a:hover {
    background-color: #CCCCCC;
    color: var(--accent-color);
    border-left-color: var(--accent-color);
    padding-left: 30px;
}

.side-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

/* 메뉴 아이템 스타일 */
.side-nav .menu-item {
    margin: 0;
    overflow: hidden;
}

.side-nav .menu-item-header {
    display: flex;
    align-items: center;
    position: relative;
}

.side-nav .menu-link {
    flex: 1;
    display: block;
    padding: 18px 25px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid transparent;
}

.side-nav .menu-link:hover {
    background-color: #cccccc;
    color: var(--accent-color);
    border-left-color: var(--accent-color);
    padding-left: 30px;
}

/* 서브메뉴 토글 버튼 */
.submenu-toggle {
    width: 45px;
    height: 54px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    font-size: 12px;
    margin-right: 5px;
}

.submenu-toggle:hover {
    background-color: #cccccc;
    color: var(--accent-color);
}

.submenu-toggle .toggle-icon {
    transition: transform 0.3s ease;
    font-size: 10px;
    line-height: 1;
}

.submenu-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

/* 서브메뉴 스타일 */
.side-nav .sub-menu {
    background: white;
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.side-nav .has-submenu.expanded .sub-menu {
    max-height: 500px;
    padding: 8px 0;
}

.side-nav .sub-menu li {
    margin: 0;
}

.side-nav .sub-menu a {
    padding: 12px 25px 12px 50px;
    font-size: 14px;
    color: var(--text-secondary);
    border-left: none;
    position: relative;
    transition: all 0.3s ease;
    display: block;
}

.side-nav .sub-menu a:hover {
    background-color: #cccccc;
    color: var(--accent-color);
    padding-left: 55px;
}

.side-nav .sub-menu a::before {
    
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 8px;
    opacity: 0.6;
}

.side-nav .sub-menu a:hover::before {
    color: var(--accent-color);
    opacity: 1;
}

.side-nav a:hover::before {
    transform: scaleY(1);
}

/* 모바일 반응형 - 사이드바 메뉴 */
@media (max-width: 768px) {
    .side-menu {
        width: 280px;
    }
    
    .side-nav .menu-link {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .side-nav .menu-link:hover {
        padding-left: 25px;
    }
    
    .submenu-toggle {
        width: 40px;
        height: 48px;
    }
    
    .side-nav .sub-menu a {
        padding: 10px 20px 10px 45px;
        font-size: 13px;
    }
    
    .side-nav .sub-menu a:hover {
        padding-left: 50px;
    }
    
    .side-nav .sub-menu a::before {
        left: 30px;
        font-size: 6px;
    }
}

.header-top {
    display: none; /* 헤더 정리: header-top 숨김 */
}

.header-top .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Top Menu Navigation - Global Styles */
.top-menu {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.top-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    line-height: 1.4;
    color: #e0e0e0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.top-menu-list li {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.top-menu-list a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    position: relative;
    white-space: nowrap;
    min-height: 20px;
}

.top-menu-list a:hover {
    color: var(--accent-color);
    
    transform: translateY(-1px);
    
    
}

.top-menu-list a:active {
    transform: translateY(0);
    
}

.top-menu-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
}

.top-menu-list a:hover::after {
    width: calc(100% - 12px);
}

/* Top Menu Icons */
.top-menu-list a .menu-icon {
    font-size: 12px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.top-menu-list a:hover .menu-icon {
    opacity: 1;
}

/* Top Menu Separators */
.top-menu-list li:not(:last-child)::after {
    content: '|';
    color: var(--text-primary);
    margin: 0 6px;
    font-size: 11px;
    font-weight: 300;
    opacity: 0.8;
}

.top-menu-list li:hover::after {
    opacity: 0.3;
}

/* Top Menu Focus States */
.top-menu-list a:focus {
    outline: 2px solid rgba(245, 158, 11, 0.3);
    outline-offset: 2px;
    
}

/* Top Menu Active/Current Page */
.top-menu-list a.current,
.top-menu-list a[aria-current="page"] {
    color: var(--accent-color);
    background: rgba(245, 158, 11, 0.1);
    
    font-weight: 500;
}

.top-menu-list a.current::after,
.top-menu-list a[aria-current="page"]::after {
    width: calc(100% - 12px);
    
}

/* Top Menu External Link Indicators */
.top-menu-list a[href^="mailto:"]::before,
.top-menu-list a[href^="tel:"]::before,
.top-menu-list a[target="_blank"]::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 2px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
}

.top-menu-list a[href^="mailto:"]::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"/></svg>');
}

.top-menu-list a[href^="tel:"]::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>');
}

.top-menu-list a[target="_blank"]::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"/></svg>');
}

/* Top Menu Loading State */
.top-menu.loading {
    opacity: 0.6;
    pointer-events: none;
}

.top-menu.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border: 2px solid var(--text-secondary);
    border-top: 2px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* Top Menu Error State */
.top-menu.error .top-menu-list a {
    color: #dc2626;
    opacity: 0.7;
}

.top-menu.error::after {
    content: '⚠';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    color: #dc2626;
    font-size: 12px;
}

/* Top Menu Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .top-menu-list a {
        color: #d1d5db;
    }
    
    .top-menu-list a:hover {
        color: var(--accent-color);
        background: rgba(245, 158, 11, 0.15);
    }
    
    .top-menu-list li:not(:last-child)::after {
        color: #6b7280;
    }
}

.header-main {
    padding: 0;
    background-color: transparent;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    isolation: isolate;
    position: relative;
}

.header.scrolled .header-content {
    padding: 0 24px;
}

.header-logo {
    color: #111827;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    margin: 0 auto; /* 중앙 정렬 */
}

.header-logo img {
    height: 22px;
    width: auto;
    object-fit: contain;
}

.header-logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.header-logo:hover::after {
    width: 100%;
}

.header.scrolled .header-logo {
    color: #111827;
    font-size: 20px;
}

.header.scrolled .header-logo img {
    height: 22px;
}


/* Main Content */
.main-content {
    position: relative;
    z-index: 2;
    background: white;
    margin-top: 0;
    min-height: 100vh;
    display: block;
    clear: both;
}

.main-content .container {
	margin-top: 0;
    padding-top: 50px;
}

/* Services Navigation */
.services-nav {
    position: relative;
    z-index: 3;
    background: white;
    margin-top: 0;
    padding: 50px 0;
    border-bottom: 1px solid #e2e8f0;
}


/* Services Section */
.services {
    padding: 100px 0;
    background: var(--surface-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2{
    font-size: 2.8rem;
    color: #1e3a8a;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.1;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-title {
    font-size: 2.8rem;
    color: #1e3a8a;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.1;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 25px;
    display: block;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 600;
	text-align: center;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
	padding-left: 15px;
    margin-bottom: 25px;
	text-align: center;
}

.service-card ul {

	padding-left: 20px;

}

.service-card a {

	padding-left: 20px;

}

/* News Section */
.news {
    padding: 100px 0;
    background: white;
    position: relative;
}

.news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--surface-color);
    pointer-events: none;
}

/* News Header */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
	position: relative;
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 40px;
}

.news-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap;
	
}
.news-header .view-all-btn {
    margin-left: auto;
}
.view-all-btn {
    background: #ffffff;
    color: #1e3a8a;
    padding: 12px 24px;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: none;
    float: left;
}

.view-all-btn:hover {
    background: #f9fafb;
    border-color: #cbd5e1;
    color: #1e40af;
    transform: translateY(-2px);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Dynamic News Card */
.news-card {
    background: #ffffff;
    border-radius: 0;
    padding: 30px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: visible;
    box-shadow: none;
}

.news-card::before {
    display: none;
}

.news-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.news-card:hover::before {
    display: none;
}

.news-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.news-category_name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f3f4f6;
    color: #374151;
    border-radius: 4px;	
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #e5e7eb;
}

.category-icon {
    font-size: 14px;

}

.news-date {
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
}

.news-title {
    margin-bottom: 15px;
}

.news-title a {
    color: #1f2937;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: block;
}

.news-title a:hover {
    color: #1e3a8a;
}

.news-excerpt {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.news-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 500;
}

.author-icon {
    font-size: 12px;
}

.read-more {
    color: #6b7280;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #1e3a8a;
    transform: translateX(3px);
}

/* No Posts Message */
.no-posts-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 40px;
    background: #f9fafb;
    border-radius: 0;
    border: 1px solid #e5e7eb;
    backdrop-filter: none;
}

.no-posts-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.6;
}

.no-posts-message h3 {
    color: #1f2937;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.no-posts-message p {
    color: #6b7280;
    margin-bottom: 30px;
    font-size: 16px;
}

.no-posts-message .btn {
    background: var(--accent-color);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.no-posts-message .btn:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

.news-more {
    text-align: center;
    margin-top: 60px;
}

.more-button {
    background: var(--accent-color);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.more-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--kc-navy) 0%, var(--kc-blue) 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.cta-section h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: -1px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--kc-white);
    color: var(--kc-navy);
    padding: 16px 40px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    letter-spacing: -0.3px;
}

.btn-primary:hover {
    background: var(--kc-background);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 16px 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    letter-spacing: -0.3px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #363636;
    color: #cccccc;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer .container {
    padding: 0;
    max-width: none;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
    align-items: stretch;
}

/* Footer Card 스타일 */
.footer-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
    font-family: 'Noto Sans KR', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 250px;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.footer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.footer-card-header {
    background: rgba(255, 255, 255, 0.15);
    padding: 25px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-card-header h3 {
    font-size: 22px;
    margin: 0;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Noto Sans KR', sans-serif;
    letter-spacing: -0.5px;
}

.footer-card-body {
    padding: 25px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.footer-card-body ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-card-body li {
    margin-bottom: 12px;
    opacity: 0.95;
    transition: all 0.3s ease;
}

.footer-card-body li:last-child {
    margin-bottom: 0;
}

.footer-card-body li:hover {
    opacity: 1;
    transform: translateX(5px);
}

.footer-card-body a {
    font-family: 'Noto Sans KR', sans-serif;
    color: #ffffff;
    font-weight: 400;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
}

.footer-card-body a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.6);
}

.footer-card-body a:hover {
    color: #ffffff;
    font-weight: 500;
    padding-left: 25px;
}

.footer-card-body a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* 기존 footer-section 스타일 유지 (하위 호환성) */
.footer-section {
    font-family: 'Noto Sans KR', sans-serif;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 600;
    color: #ffffff;
    font-family: 'Noto Sans KR', sans-serif;
}

.footer-section p, .footer-section li {
    margin-bottom: 10px;
    opacity: 0.9;
    line-height: 1.6;
    font-family: 'Noto Sans KR', sans-serif;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    font-family: 'Noto Sans KR', sans-serif;
    color: #FFFFFF;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.footer-section a:hover {
    opacity: 1;
    color: #ffffff;
}

/* Footer Links */
.footer-links {
    text-align: center;
    padding: 30px 40px;
    border-top: 1px solid #555555;
    border-bottom: 1px solid #555555;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-links .divider {
    color: #666666;
    margin: 0 10px;
}

/* Footer Contact Info */
.footer-contact {
    padding: 30px 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.footer-contact p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #FFFFFF;
}

.footer-contact strong {
    color: #ffffff;
    font-weight: 600;
}

.footer-contact .divider {
    color: #666666;
    margin: 0 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 40px 0;
    position: relative;
    z-index: 1;
    border-top: 1px solid #555555;
}

/* CTA Button */
.cta-button {
    background: var(--accent-color);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

/* Page Header - */
.page-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    color: white;
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 0;
    top: 0;
    z-index: 1;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.page-header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header-text {
    text-align: center;
    max-width: 800px;
}

.page-header-text h1 {
    color: white;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -2px;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease-out;
}

.page-header-text p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.page-header-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-icon {
    font-size: 120px;
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.breadcrumb a:hover {
    color: rgba(255, 255, 255, 1);
}

.breadcrumb a::after {
    content: ' > ';
    margin: 0 8px;
    opacity: 0.6;
}

.breadcrumb a:last-child::after {
    display: none;
}



/* fadeInUp 애니메이션 추가 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .news-header {
        padding: 0 30px;
    }
    
    .header-content {
        padding: 20px 30px;
    }
    
    .header.scrolled .header-content {
        padding: 15px 30px;
    }
    
    /* Top Menu 태블릿 스타일 */
    .header-top .container {
        padding: 0 30px;
    }
    
    .top-menu-list {
        gap: 6px;
        font-size: 12px;
    }
    
    .top-menu-list a {
        padding: 3px 6px;
        font-size: 12px;
        gap: 3px;
    }
    
    .top-menu-list li:not(:last-child)::after {
        margin: 0 4px;
    }
}

@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .news-overlay .news-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .news-header {
        padding: 0 30px;
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        padding: 0 30px;
        align-items: stretch;
    }
    
    .footer-card {
        border-radius: 18px;
    }
    
    .footer-card-header {
        padding: 22px 28px;
    }
    
    .footer-card-header h3 {
        font-size: 21px;
    }
    
    .footer-card-body {
        padding: 22px 28px;
    }
    
    .footer-card-body a {
        font-size: 14.5px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 56px;
        --header-height-scrolled: 56px;
    }
    
    .header-content {
        padding: 0 24px;
    }
    
    .header.scrolled .header-content {
        padding: 0 24px;
    }
    
    .header-logo {
        font-size: 18px;
    }
    
    .header-logo img {
        height: 20px;
    }
    
    .header.scrolled .header-logo {
        font-size: 18px;
    }
    
    .header.scrolled .header-logo img {
        height: 20px;
    }
    
    /* 서브페이지 모바일 스타일 - header top 숨김, 스크롤시 배경 적용 */
    .sub-page .header-top {
        display: none;
    }
    
    .sub-page .header {
        background-color: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-bottom: 1px solid transparent !important;
        box-shadow: none !important;
    }
    
    .sub-page .header.scrolled {
        /* background-color는 JavaScript에서 동적으로 제어 */
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        border-bottom: 1px solid #1E293B !important;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4) !important;
    }
    
    /* Top Menu 모바일 스타일 */
    .header-top {
        padding: 6px 0;
        font-size: 11px;
        z-index: 999;
        position: relative;
    }
    
    .header-top .container {
        padding: 0 20px;
    }
    
    .top-menu-list {
        gap: 4px;
        font-size: 11px;
        justify-content: center;
    }
    
    .top-menu-list a {
        font-size: 11px;
        padding: 2px 4px;
        gap: 2px;
        min-height: 18px;
        border-radius: 3px;
    }
    
    .top-menu-list li:not(:last-child)::after {
        margin: 0 3px;
        font-size: 10px;
    }
    
    .top-menu-list a:hover {
        transform: none;
        box-shadow: none;
    }
    
    .top-menu-list a::after {
        display: none;
    }
    
    .side-menu {
        width: 280px;
    }
    
    /* 모바일에서 햄버거 버튼 위치 조정 */
    .menu-toggle {
        top: 50%;
        left: 24px;
        transform: translateY(-50%);
    }
    
    /* Page Header 모바일 스타일 */
    .page-header {
        padding: 120px 0 60px;
        background-size: cover !important;
        background-position: center center !important;
        background-attachment: scroll !important;
        min-height: 350px;
        image-rendering: -webkit-optimize-contrast !important;
        image-rendering: crisp-edges !important;
    }
    
    .page-header-content {
        padding: 0 20px;
    }
    
    .page-header-text h1 {
        font-size: 2.5rem;
        letter-spacing: -1px;
        margin-bottom: 15px;
    }
    
    .page-header-text p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .breadcrumb {
        font-size: 12px;
        letter-spacing: 0.5px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .news-header {
        padding: 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
        align-items: stretch;
    }
    
    .footer-card {
        border-radius: 15px;
    }
    
    .footer-card-header {
        padding: 20px 25px;
    }
    
    .footer-card-header h3 {
        font-size: 20px;
    }
    
    .footer-card-body {
        padding: 20px 25px;
    }
    
    .footer-card-body a {
        font-size: 14px;
        padding: 6px 0;
    }
    
    .footer-links {
        padding: 20px 20px;
    }
    
    .footer-links a {
        display: block;
        margin: 10px 0;
    }
    
    .footer-links .divider {
        display: none;
    }
    
    .footer-contact {
        padding: 20px 20px;
        text-align: center;
    }
    
    .footer-contact p {
        font-size: 14px;
    }
    
    .overlay-container {
        padding: 0;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .services {
        padding: 80px 0;
    }
    
    .news {
        padding: 80px 0;
    }
    
    .services-overlay .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .news-overlay .news-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .services-overlay h2,
    .news-overlay h2 {
        font-size: 32px;
    }
}

/* Services Navigation - 전역 스타일 */
.services-nav {
    background: #f8fafc !important;
    padding: 50px 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    position: relative !important;
    z-index: 4 !important;
    margin-top: 0 !important;
    display: block !important;
}

.services-nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.services-nav-list {
    display: flex;
    list-style: none;
    gap: 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.services-nav-item {
    flex: 1;
}

.services-nav-link {
    display: block;
    padding: 25px 20px;
    text-align: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-right: 1px solid #e2e8f0;
    position: relative;
}

.services-nav-item:last-child .services-nav-link {
    border-right: none;
}

.services-nav-link:hover,
.services-nav-link.active {
    background: #1e3a8a;
    color: white;
}

/* 서비스 페이지 반응형 스타일 */
@media (max-width: 768px) {
    .services-nav-list {
        flex-direction: column;
        gap: 0;
    }
    
    .services-nav-link {
        padding: 20px;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .services-nav-item:last-child .services-nav-link {
        border-bottom: none;
    }
}

/* Scroll Navigation */
.scroll-navigation {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000; /* z-index 증가 */
    display: flex;
    flex-direction: column;
    gap: 15px; /* 간격 증가 */
}

.scroll-btn {
    width: 55px; /* 크기 약간 증가 */
    height: 55px;
    background: rgba(50,50,50, 0.5); /* accent-color 사용 */
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: white;
    font-size: 20px; /* 아이콘 크기 증가 */
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    opacity: 1 !important; /* 강제로 표시 */
    pointer-events: auto !important; /* 강제로 클릭 가능 */
    transform: translateY(0) !important; /* 강제로 위치 고정 */
}

.scroll-btn:hover {
    
    border-color: white;
    transform: translateY(-3px) scale(1.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.scroll-btn:active {
    transform: translateY(-1px) scale(1.05) !important;
}

.scroll-btn span {
    display: block;
    line-height: 1;
    transition: all 0.3s ease;
}

/* 모바일 최소 크기 (480px 이하) */
@media (max-width: 480px) {
    /* 서브페이지 소형 모바일 스타일 - header top 숨김, 스크롤시 배경 적용 */
    .sub-page .header-top {
        display: none;
    }
    
    .sub-page .header {
        background-color: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-bottom: 1px solid transparent !important;
        box-shadow: none !important;
    }
    
    .sub-page .header.scrolled {
        /* background-color는 JavaScript에서 동적으로 제어 */
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        border-bottom: 1px solid #1E293B !important;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4) !important;
    }
    
    .header-top {
        padding: 4px 0;
        font-size: 10px;
    }
    
    .header-top .container {
        padding: 0 15px;
        justify-content: center;
    }
    
    .top-menu-list {
        font-size: 10px;
        gap: 2px;
        justify-content: center;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .top-menu-list::-webkit-scrollbar {
        display: none;
    }
    
    .top-menu-list a {
        font-size: 10px;
        padding: 1px 3px;
        gap: 1px;
        min-height: 16px;
        border-radius: 2px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .top-menu-list li:not(:last-child)::after {
        margin: 0 2px;
        font-size: 9px;
    }
    
    .top-menu-list a .menu-icon {
        font-size: 10px;
    }
    
    /* Page Header 소형 모바일 스타일 */
    .page-header {
        padding: 100px 0 50px;
        min-height: 300px;
        background-position: center center !important;
        image-rendering: -webkit-optimize-contrast !important;
        image-rendering: crisp-edges !important;
    }
    
    .page-header-content {
        padding: 0 15px;
    }
    
    .page-header-text h1 {
        font-size: 2rem;
        letter-spacing: -0.5px;
        margin-bottom: 12px;
    }
    
    .page-header-text p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .breadcrumb {
        font-size: 11px;
        letter-spacing: 0.3px;
    }
    
    /* 모바일에서 호버 효과 제거 */
    .top-menu-list a:hover {
        transform: none;
        box-shadow: none;
        background: transparent;
        border-color: transparent;
    }
    
    .top-menu-list a::after {
        display: none;
    }
}

.scroll-btn:active {
    transform: translateY(0);
}

.scroll-btn span {
    display: block;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .scroll-navigation {
        right: 20px;
        bottom: 20px;
    }
    
    .scroll-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}
