/* STLC Legal Center Styles - Updated 2025-08-11 */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* PC 버전 헤더 스크롤 효과 - 모든 페이지 동일 적용 */
@media (min-width: 1027px) {
    /* 모든 페이지 헤더 - 투명 배경으로 시작 */
    .header {
        background: transparent !important;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    /* 스크롤 시 흰색 배경과 그림자 적용 */
    .header.scrolled {
        background: #ffffff !important;
        box-shadow: 0 2px 25px rgba(0, 0, 0, 0.15) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    /* 호버 시 배경색과 그림자 적용 */
    .header:hover {
        background: #ffffff !important;
        box-shadow: 0 2px 25px rgba(0, 0, 0, 0.15) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    /* 스크롤 시 또는 호버 시 컬러 로고로 변경 */
    .header.scrolled .logo-image,
    .header:hover .logo-image {
        content: url('../images/center-logo-color.png');
    }
    
    /* 스크롤 시 또는 호버 시 텍스트 색상 변경 */
    .header.scrolled .nav-link,
    .header:hover .nav-link,
    .header.scrolled .logo-text,
    .header:hover .logo-text {
        color: #374151 !important;
    }
    
    /* 스크롤 시 또는 호버 시 연락처 박스 색상 변경 */
    .header.scrolled .contact-box,
    .header:hover .contact-box {
        color: #1f2937 !important;
        border-color: #1D3557 !important;
    }
    
    .header.scrolled .contact-text,
    .header:hover .contact-text {
        color: #1D3557 !important;
    }
    
    .header.scrolled .contact-number,
    .header:hover .contact-number {
        color: #457B9D !important;
    }
    
    .header.scrolled .contact-number i,
    .header:hover .contact-number i {
        color: #6b7280 !important;
    }
    
    /* PC 버전 상세페이지: 항상 스크롤된 스타일 적용 */
    .detail-page .header {
        background: #ffffff !important;
        box-shadow: 0 2px 25px rgba(0, 0, 0, 0.15) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .detail-page .header .logo-image {
        content: url('../images/center-logo-color.png');
    }
    
    .detail-page .header .nav-link,
    .detail-page .header .logo-text {
        color: #374151 !important;
    }
    
    .detail-page .header .contact-box {
        color: #1f2937 !important;
        border-color: #1D3557 !important;
    }
    
    .detail-page .header .contact-text {
        color: #1D3557 !important;
    }
    
    .detail-page .header .contact-number {
        color: #457B9D !important;
    }
    
    .detail-page .header .contact-number i {
        color: #6b7280 !important;
    }
}

/* 모바일 헤더 고정 흰색 배경 */
@media screen and (max-width: 1026px) {
    html body .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        z-index: 9999 !important;
        background: #ffffff !important;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1) !important;
        transition: all 0.3s ease !important;
    }
    
    html body .header .container,
    html body .header .header-content {
        background: transparent !important;
        padding-left: 5px !important;
        padding-right: 15px !important;
    }
    
    /* 모바일 로고 위치 강제 설정 */
    html body .header .logo {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    /* 햄버거 메뉴 색상 유지 */
    html body .header .hamburger-line {
        background-color: #457B9D !important;
        opacity: 1 !important;
    }
    
    /* 모바일에서 컬러 로고 사용 */
    html body .header .logo-image {
        content: url('../images/center-logo-color.png');
    }
}

/* Remove all focus outlines */
*:focus {
    outline: none !important;
    box-shadow: none !important;
}

a:focus,
a:active,
a:visited {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #EDF4F9;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

/* 모바일에서 모든 배경 투명 처리 */
@media (max-width: 1026px) {
    body,
    html,
    .main-content,
    .hero-section,
    .hero-content-overlay,
    .hero-text-center,
    .fullscreen-video-hero,
    .video-overlay,
    .container,
    .section {
        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
    }
    
    /* 히어로 섹션 이외의 모든 섹션 원래 배경 복원 */
    body {
        background-color: #ffffff !important;
    }
    
    /* 히어로 섹션만 투명 처리 */
    .fullscreen-video-hero,
    .hero-content-overlay,
    .hero-text-center,
    .video-overlay {
        background: transparent !important;
        background-color: transparent !important;
    }
    
    /* 텍스트와 버튼만 배경 복원 */
    .hero-cta-btn,
    .highlight-text,
    .hamburger-line {
        background: revert !important;
        background-color: revert !important;
    }
}

/* Full Screen Video Hero Section */
.fullscreen-video-hero {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1026px) {
    .fullscreen-video-hero {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
    
    .video-background {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .video-background video {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        z-index: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* 모바일에서 헤더를 완전히 투명하게 만들어 영상이 뒤로 보이도록 - 삭제됨 (상단에서 처리) */
    
    /* 모바일에서 모든 드롭다운 메뉴 완전 숨김 */
    .dropdown-menu {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    
    .nav-item:hover .dropdown-menu,
    .header:hover .dropdown-menu {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    
    /* 모바일에서 헤더 호버 시 확장 방지 */
    .nav-menu {
        display: none !important;
    }
    
    .mobile-controls {
        display: flex !important;
        z-index: 200 !important;
    }
    
    /* 히어로 콘텐츠 오버레이를 상단에 위치 */
    .hero-content-overlay {
        position: relative;
        z-index: 50 !important;
        margin-top: 80px;
    }
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    z-index: 2;
}

.hero-content-overlay {
    position: relative;
    z-index: 3;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0 40px 0;
}

.hero-text-center {
    color: white;
    max-width: 800px;
}

.hero-main-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.4;
}

.hero-highlight {
    margin: 2rem 0;
}

.highlight-text {
    display: inline-block;
    background: linear-gradient(135deg, #F1C40F, #F39C12);
    color: #1D3557;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.4);
}

.hero-cta-btn {
    background: linear-gradient(135deg, #1D3557, #457B9D);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(29, 53, 87, 0.4);
    margin-top: 2rem;
}

.hero-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(29, 53, 87, 0.6);
}

.hero-cta-btn i {
    margin-right: 10px;
}

.bottom-icons-section {
    position: relative;
    z-index: 3;
    background: transparent;
    backdrop-filter: none;
    padding: 0px 0 20px 0;
    border-top: none;
    margin-top: -50px;
    transform: translateY(-30px);
}

.icons-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 50px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    justify-items: center;
    padding: 0 20px;
}

/* 604px 이상에서 6개 아이콘 한 줄 표시 */
@media (min-width: 604px) {
    .icons-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 45px;
        width: 100%;
        max-width: 1400px;
        justify-items: center;
        padding: 0 20px;
    }
}



/* Mobile Responsive for Video Hero */
@media (min-width: 604px) and (max-width: 1026px) {
    .fullscreen-video-hero {
        height: 70vh;
    }
    
    .hero-content-overlay {
        padding: 20px 0 0px 0;
        transform: translateY(-120px);
    }
    
    .hero-main-title {
        font-size: 1.8rem;
        transform: translateY(-80px);
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        transform: translateY(-80px);
    }
    
    .icons-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 25px;
        width: 100%;
        justify-items: center;
        padding: 0 15px;
    }
    
    .bottom-icons-section {
        margin-top: -180px;
        transform: translateY(-140px);
    }
}

@media (max-width: 1026px) {
    .hero-content-overlay {
        transform: translateY(-100px);
    }
    
    .hero-main-title {
        transform: translateY(-60px);
    }
    
    .hero-subtitle {
        transform: translateY(-60px);
    }
    

}

@media (max-width: 603px) {
    .fullscreen-video-hero {
        height: 55vh;
    }
    
    .hero-main-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    

}

@media (min-width: 606px) and (max-width: 768px) {
    .fullscreen-video-hero {
        height: 50vh;
    }
    
    .hero-content-overlay {
        padding: 40px 0 20px 0;
    }
    
    .hero-main-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .highlight-text {
        font-size: 1.1rem;
        padding: 10px 25px;
    }
    
    .hero-cta-btn {
        padding: 15px 35px;
        font-size: 1.1rem;
    }
    

}

@media (max-width: 605px) {
    .fullscreen-video-hero {
        height: 50vh;
    }
    
    .hero-content-overlay {
        padding: 40px 0 0px 0;
        transform: translateY(-80px);
    }
    
    .hero-main-title {
        font-size: 1.4rem;
        transform: translateY(-60px);
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        transform: translateY(-60px);
    }
    
    .highlight-text {
        font-size: 1.1rem;
        padding: 10px 25px;
    }
    
    .hero-cta-btn {
        padding: 15px 35px;
        font-size: 1.1rem;
    }
    

    }
}

@media (max-width: 480px) {
    .fullscreen-video-hero {
        height: 45vh;
    }
    
    .hero-content-overlay {
        padding: 30px 0 0px 0;
        transform: translateY(-100px);
    }
    
    .hero-main-title {
        font-size: 1.2rem;
        transform: translateY(-80px);
    }
    
    .hero-subtitle {
        font-size: 1rem;
        transform: translateY(-80px);
    }
    

    
    /* 로고 크기를 모바일에서 적절한 사이즈로 조정 (481px 이하) */
    .logo-image {
        height: 65px !important; /* 더 큰 사이즈로 증가 */
        max-width: 280px !important; /* 더 큰 사이즈로 증가 */
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .logo {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        margin-left: 0px !important;
        margin-top: 0 !important; /* 세로 가운데 정렬을 위해 */
        align-self: center !important; /* 헤더 세로 가운데 정렬 */
        align-items: center !important;
    }
}





/* 법률 서비스 아이콘 그리드 */
.legal-services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 45px;
    margin-top: 80px;
    margin-bottom: -60px;
    padding: 0 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.legal-services-grid .service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 15px 10px;
    text-decoration: none;
    color: inherit;
}

.legal-services-grid .service-item:hover {
    transform: translateY(-5px);
}

.legal-services-grid .service-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.6) !important;
}

.legal-services-grid .service-icon i {
    font-size: 30px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.legal-services-grid .service-item:hover .service-icon {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.legal-services-grid .service-item:hover .service-icon i {
    color: #457B9D;
    transform: scale(1.1);
}

.service-name {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-item:hover .service-name {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* 태블릿 반응형 */
@media (max-width: 1024px) {
    .legal-services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        margin-top: 60px;
    }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .legal-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 50px;
        padding: 0 15px;
    }
    
    .legal-services-grid .service-item {
        padding: 12px 8px;
    }
    
    .legal-services-grid .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 12px;
    }
    
    .legal-services-grid .service-icon i {
        font-size: 30px;
    }
    
    .service-name {
        font-size: 15px;
        white-space: nowrap;
    }
    
    .insights-card .news-title {
        font-size: 20px !important;
    }
}

/* 작은 모바일 */
@media (max-width: 480px) {
    .legal-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 40px;
    }
    
    .legal-services-grid .service-item {
        padding: 10px 6px;
    }
    
    .legal-services-grid .service-icon {
        width: 65px;
        height: 65px;
    }
    
    .legal-services-grid .service-icon i {
        font-size: 28px;
    }
    
    .service-name {
        font-size: 14px;
    }
    
    .legal-services-grid .service-icon i {
        font-size: 22px;
    }
    
    .service-name {
        font-size: 12px;
        white-space: nowrap;
    }
}

html body .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0px !important;
}

/* 푸터는 양옆 여백 유지 */
.footer .container {
    padding: 0 20px !important;
}

/* 기존 모바일 컨테이너 스타일 제거됨 - 위에서 새로 정의 */

/* Header Styles - 기본 투명 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease, padding-bottom 0.3s ease, background 0.3s ease;
    overflow: visible;
    background: transparent;
    padding-bottom: 0;
}

/* 기본 헤더 콘텐츠 */
html body .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 15px 20px 5px !important;
    min-height: 80px;
    transition: padding-bottom 0.3s ease, background 0.3s ease;
    position: relative;
    background: transparent;
}

/* Desktop hover behavior */
@media (min-width: 1027px) {
    .header:hover {
        background: #ffffff !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: 0 2px 25px rgba(0, 0, 0, 0.15);
        padding-bottom: 260px;
    }
    
    .header:hover .header-content {
        padding-bottom: 260px;
        background: #ffffff !important;
    }
}

html body .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
    max-width: 70%;
    transition: opacity 0.3s ease;
    align-self: flex-start;
    margin-top: 10px;
    margin-left: 0px !important;
    padding-left: 0px !important;
}

.logo:hover {
    opacity: 0.8;
}

.logo-image {
    width: auto;
    height: 70px;
    max-width: 300px;
    object-fit: contain;
    margin-right: 8px;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    transition: color 0.3s ease;
}

/* PC에서만 호버 시 로고 텍스트 색상 변경 */
@media (min-width: 1027px) {
    .header:hover .logo-text {
        color: #333333;
    }
    
    /* PC 풀사이즈에서 로고를 왼쪽으로 이동 */
    html body .logo {
        margin-left: -100px !important;
    }
}

.header.scrolled .logo-text {
    color: #333333;
}

.nav-menu {
    display: flex;
    margin-left: 50px;
    margin-right: 20px;
    align-items: center;
    align-self: flex-start;
    margin-top: 20px;
    z-index: 1000;
    position: relative;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 50px;
    align-items: center;
    position: relative;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 18px;
    padding: 10px 0;
    position: relative;
    transition: all 0.3s ease;
    outline: none !important;
    border: none !important;
}

.header:hover .nav-link,
.header.scrolled .nav-link {
    color: #374151;
}

.nav-link:focus,
.nav-link:active,
.nav-link:visited {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    background: none !important;
}

.nav-link:hover {
    color: #1D3557;
}

.header:not(:hover) .nav-link:hover {
    color: #F1C40F;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #F1C40F;
    transition: width 0.3s ease;
}

.header:hover .nav-link::after,
.header.scrolled .nav-link::after {
    background: #1D3557;
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    position: relative;
}



.dropdown-menu {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    border-radius: 0;
    border: none;
    padding: 10px 0;
    margin-top: 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateX(-50%) translateY(-10px);
    z-index: 1000;
    list-style: none;
}



/* 드롭다운 호버 시 표시 */
.dropdown:hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}

/* 헤더 호버 시 모든 드롭다운 메뉴 표시 */
.header:hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}

/* 헤더의 모든 영역에서 호버 시 드롭다운 활성화 */
.header:hover .nav-menu .dropdown-menu,
.header:hover .dropdown .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-link {
    display: block;
    padding: 8px 20px;
    color: #374151;
    text-decoration: none;
    font-size: 16px;
    background: transparent;
    margin: 2px 0;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    font-weight: 400;
    transition: all 0.3s ease;
    line-height: 1.6;
}

.dropdown-link:hover {
    color: #1D3557;
    font-weight: 600;
    background: transparent;
    border-radius: 4px;
}

.contact-box {
    background: transparent;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid white;
    box-shadow: none;
    text-decoration: none;
    display: block;
    cursor: pointer;
    margin-right: 0px;
}

.contact-box:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #F1C40F;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(241, 196, 15, 0.3);
}

.header:hover .contact-box,
.header.scrolled .contact-box {
    color: #1f2937;
    border-color: #1D3557;
}

.header:hover .contact-box:hover {
    background: rgba(29, 53, 87, 0.1);
    border-color: #1D3557;
}

.contact-text {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
    color: white;
    transition: color 0.3s ease;
}

.header:hover .contact-text,
.header.scrolled .contact-text {
    color: #1D3557;
}

.contact-number {
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: white;
    transition: color 0.3s ease;
}

.header:hover .contact-number,
.header.scrolled .contact-number {
    color: #457B9D;
}

.contact-number i {
    font-size: 12px;
    color: white;
    transition: color 0.3s ease;
}

.header:hover .contact-number i,
.header.scrolled .contact-number i {
    color: #6b7280;
}

.mobile-controls {
    display: none;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

@media (min-width: 1027px) {
    .nav-menu {
        display: flex !important;
    }
    
    .mobile-controls {
        display: none !important;
    }
}

@media (max-width: 1026px) {
    .mobile-controls {
        display: flex !important;
        align-items: center;
        gap: 8px;
        margin-left: auto;
        z-index: 200;
    }
    
    .nav-menu {
        display: none !important;
    }
}

.mobile-phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: #457B9D;
    font-size: 18px;
    text-decoration: none;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.mobile-phone-icon:hover {
    background-color: rgba(69, 123, 157, 0.1);
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-top: 3px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 300;
}

.mobile-menu-toggle:hover {
    background-color: rgba(69, 123, 157, 0.1);
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #457B9D !important;
    background-color: #457B9D !important;
    border-radius: 2px;
    transition: all 0.3s ease;
    margin: 2px 0;
    opacity: 1 !important;
    position: relative;
    z-index: 300;
}

.mobile-nav {
    display: none;
    background: white;
    border-top: 1px solid #e5e7eb;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-list {
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.mobile-nav-list li {
    padding: 10px 0;
}

.mobile-nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 20px;
    display: block;
    transition: all 0.3s ease;
    text-align: center;
}

.mobile-nav-link:hover {
    background: #f3f4f6;
    color: #1D3557;
}

/* Mobile Dropdown Styles */
.mobile-dropdown {
    position: relative;
}

.mobile-dropdown-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.mobile-dropdown-toggle::after {
    content: '';
    font-size: 12px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.mobile-dropdown-toggle:hover {
    background: #f3f4f6;
    color: #1D3557;
}

.mobile-dropdown.active .mobile-dropdown-toggle::after {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    display: none;
    list-style: none;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 10px 20px 0;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: block;
}

.mobile-dropdown-menu li {
    padding: 0;
}

.mobile-dropdown-menu .mobile-nav-link {
    font-size: 14px;
    padding: 12px 20px;
    color: #6b7280;
    border-radius: 6px;
    margin: 4px 8px;
    text-align: center;
}

.mobile-dropdown-menu .mobile-nav-link:hover {
    background: #e5e7eb;
    color: #1D3557;
}

.mobile-contact-button {
    background-color: #457B9D;
    color: white !important;
    margin: 10px 0;
    padding: 15px 20px;
    border-radius: 0;
    text-align: center;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    font-weight: 600;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.mobile-contact-button:hover {
    background-color: #457B9D;
    transform: scale(1.05);
    color: white;
    text-decoration: none;
}

.mobile-contact-button:hover .mobile-contact-text {
    color: white !important;
}

.mobile-contact-button:hover .mobile-contact-number {
    color: white !important;
}

.mobile-contact-button:active,
.mobile-contact-button:focus {
    outline: none;
    -webkit-tap-highlight-color: transparent;
    background-color: #457B9D;
    transform: scale(1.05);
    color: white;
    text-decoration: none;
}

.mobile-contact-button:active .mobile-contact-text,
.mobile-contact-button:focus .mobile-contact-text {
    color: white !important;
}

.mobile-contact-button:active .mobile-contact-number,
.mobile-contact-button:focus .mobile-contact-number {
    color: white !important;
}

.mobile-nav .mobile-contact-button .mobile-contact-text {
    font-size: 14px;
    color: white !important;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.mobile-nav .mobile-contact-button .mobile-contact-number {
    font-size: 18px;
    font-weight: 700;
    color: white !important;
    transition: color 0.3s ease;
}

/* Main Content */
.main-content {
    margin-top: 0px;
}

/* Hero Section */
.hero-section {
    padding: 50px 0 40px !important;
    background: linear-gradient(135deg, #EDF4F9 0%, #dbeafe 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    animation: fadeInLeft 1s ease-out;
}

.hero-headline {
    margin-bottom: 30px;
}

.main-title {
    font-size: 40px;
    font-weight: 900;
    color: #1f2937;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.highlighted-text {
    font-size: 32px;
    font-weight: 700;
    color: #457B9D;
    position: relative;
    display: inline-block;
}

.highlighted-text::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #A4161A;
    border-radius: 2px;
    animation: underlineGrow 1.5s ease-out 0.5s forwards;
}

.hero-subtitle {
    margin-bottom: 40px;
}

.hero-subtitle p {
    font-size: 18px;
    color: #6b7280;
    line-height: 1.6;
}

.cta-section {
    margin-bottom: 40px;
    margin-top: 0px;
}

.consultation-btn {
    background: #1D3557;
    color: white;
    border: none;
    padding: 24px 80px;
    font-size: 20px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(29, 53, 87, 0.3);
    transition: all 0.3s ease;
    text-transform: none;
    width: 320px;
}

.consultation-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(29, 53, 87, 0.4);
    background: #457B9D !important;
}

.consultation-btn:active {
    transform: translateY(-1px);
}

.trust-indicators {
    display: flex;
    gap: 30px;
}

.indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 14px;
}

.indicator i {
    color: #1D3557;
    font-size: 16px;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease-out;
}

.image-container {
    position: relative;
    height: 500px;
    width: 100%;
}

.legal-docs-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.docs-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    filter: blur(2px);
}



/* Special Legal Assistance Section */
.special-assistance {
    padding: 80px 0 100px 0;
    background: linear-gradient(to bottom, white 0%, white 50%, #1D3557 50%, #457B9D 100%);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: left;
    margin-bottom: 80px;
}

/* 성공사례 섹션 제목 가운데 정렬 */
.main-success-cases .section-header {
    text-align: center;
}

/* 오시는길 섹션 제목 가운데 정렬 */
.location-section .section-header {
    text-align: center;
}

/* 특화된 서비스 섹션 제목 가운데 정렬 */
.special-assistance .section-header {
    text-align: center;
}

.section-subtitle {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-main-title {
    font-size: 36px;
    font-weight: 600;
    color: #1D3557;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(29, 53, 87, 0.1);
}

.highlight-blue {
    color: #457B9D;
}

.highlight-black {
    color: #1f2937;
    font-weight: 700;
}

.premium-service {
    color: #457B9D;
}

.section-description {
    font-size: 18px;
    color: #475569;
    max-width: 650px;
    margin: 0 auto;
    font-weight: 500;
    line-height: 1.6;
}

.assistance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-top: 80px;
    padding: 0 20px;
}

@media (max-width: 1190px) {
    .assistance-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 665px) {
    .section-main-title {
        font-size: 24px;
    }
    
    .section-description {
        font-size: 16px;
    }
}

@media (max-width: 610px) {
    .assistance-grid {
        gap: 20px;
        padding: 0 10px;
        margin-top: 40px;
    }
    
    .assistance-item {
        padding: 15px;
        min-height: auto;
        height: auto;
    }
    
    .assistance-image {
        width: 140px;
        height: 105px;
        margin: 0 auto 5px;
        border-radius: 0;
        overflow: visible;
    }
    
    .assistance-image img {
        width: 140px;
        height: 105px;
        object-fit: cover;
        border-radius: 8px;
    }
    
    .assistance-content {
        margin-top: -35px;
    }
    
    .assistance-content h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .assistance-content p {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .assistance-item::before {
        width: 28px;
        height: 28px;
        font-size: 14px;
        top: 0px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .assistance-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
        margin-top: 30px;
    }
    
    .assistance-item {
        padding: 20px 15px;
        min-height: auto;
        height: auto;
        overflow: visible;
    }
    
    .assistance-image {
        width: 160px;
        height: 120px;
        margin: -10px auto 0px;
        border-radius: 0;
        overflow: visible;
    }
    
    .assistance-image img {
        width: 160px;
        height: 120px;
        object-fit: cover;
        border-radius: 8px;
    }
    
    .assistance-content {
        margin-top: -35px;
    }
}

/* 766px 초과에서는 줄바꿈 숨김 */
.mobile-break {
    display: none;
}

/* 766px 이하에서는 성공사례 섹션 제목을 한줄로 표시 */
@media (max-width: 766px) {
    .main-success-cases .mobile-break {
        display: none !important;
    }
    
    .main-success-cases .section-main-title {
        font-size: 24px;
        line-height: 1.2;
        white-space: nowrap;
    }
}

@media (max-width: 450px) {
    .section-main-title {
        font-size: 22px;
        line-height: 1.3;
    }
    
    .section-description {
        font-size: 15px;
        line-height: 1.5;
    }
    
    /* 다른 섹션의 mobile-break는 450px 이하에서만 표시 */
    .mobile-break:not(.main-success-cases .mobile-break) {
        display: inline;
    }
    
    /* 성공사례 섹션은 450px 이하에서도 한줄 유지 */
    .main-success-cases .section-main-title {
        font-size: 20px;
        white-space: nowrap;
    }
}
        font-size: 14px;
    }
}

.assistance-item {
    position: relative;
    text-align: center;
    padding: 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.assistance-item:hover {
    background: rgba(29, 53, 87, 0.02);
    transform: translateY(-5px);
}

/* Animation delays removed - now controlled by JavaScript */

.assistance-item::before {
    content: attr(data-number);
    position: absolute;
    top: -5px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #1D3557, #457B9D);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(29, 53, 87, 0.3);
}

.assistance-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 35px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(29, 53, 87, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.assistance-item:hover .assistance-image {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 20px 50px rgba(29, 53, 87, 0.25);
}

.assistance-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.assistance-image svg {
    width: 100%;
    height: 100%;
}

.legal-badge-bg {
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.assistance-content {
    background: #1D3557;
    border-radius: 15px;
    padding: 0;
    margin-top: 10px;
    box-shadow: 0 8px 20px rgba(29, 53, 87, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

.assistance-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin: 0;
    padding: 15px 20px;
    background: transparent;
    border-radius: 0;
    display: block;
    box-shadow: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-bottom: 2px solid #a8dadc;
    text-align: center;
}

.assistance-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    font-weight: 400;
    margin: 0;
    padding: 12px 20px;
    text-align: center;
}

.assistance-item:hover .assistance-content {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(29, 53, 87, 0.3);
}

/* Why Choose STLC Section */
.why-choose {
    padding: 100px 0;
    background: white;
}

.why-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 80px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.reason-card {
    background: white;
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    position: relative;
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.reason-icon {
    width: 80px;
    height: 80px;
    background: #1D3557;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 28px;
}

.reason-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.reason-card p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1D3557, #1D3557);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
}

/* Stage Section */
.stage-section {
    background: #f5f7fa;
    padding: 80px 0;
}

.stage-title {
    text-align: center;
    color: #1D3557;
    margin-bottom: 40px;
    font-size: 36px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.stage-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.card-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.stage-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    overflow: visible;
    flex: 1 1 300px;
    max-width: 360px;
    transition: transform 0.2s ease;
}

.stage-card:hover {
    transform: translateY(-5px);
}

.stage-card-header {
    background-color: #457B9D;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    padding: 14px 0;
}

.stage-card-body {
    padding: 20px;
    text-align: center;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stage-emblem {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
    flex-shrink: 0;
}

.stage-card-list {
    list-style: none;
    padding: 0;
    text-align: left;
    width: 100%;
    flex: 1;
    margin-top: 10px;
}

.stage-card-list li {
    margin-bottom: 12px;
    font-size: 15px;
    position: relative;
    padding-left: 26px;
    line-height: 1.6;
    min-height: 24px;
}

.stage-card-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    color: #457B9D;
    font-weight: bold;
    font-size: 16px;
}

@media (max-width: 1025px) {
    .card-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .stage-card {
        max-width: 600px;
        width: 100%;
        min-height: auto;
    }
    
    .stage-card-body {
        padding: 25px;
        min-height: 300px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .stage-emblem {
        margin-bottom: 25px;
        max-width: 120px;
        width: 100%;
        flex-shrink: 0;
    }
    
    .stage-card-list {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px 25px;
        text-align: left;
        margin-top: 20px;
        flex: 1;
        align-content: start;
    }
    
    .stage-card-list li {
        margin-bottom: 10px;
        font-size: 15px;
        line-height: 1.6;
        padding-left: 20px;
        min-height: 22px;
    }

    /* Section titles tablet optimization */
    .statistics-title,
    .faq-title,
    .consultation-application-section .section-title {
        font-size: 24px;
    }
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-left {
    flex: 1;
}

.footer-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.footer-image {
    max-width: 600px;
    height: auto;
    object-fit: contain;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-image {
    width: 40px;
    height: 40px;
    filter: invert(1);
}

.footer-logo-text {
    font-size: 18px;
    font-weight: 700;
}

.footer-description {
    color: #d1d5db;
    line-height: 1.6;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #1D3557;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d1d5db;
}

.contact-item i {
    color: #1D3557;
    width: 20px;
}

.footer-disclaimer {
    text-align: left;
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 1px solid #374151;
}

.footer-disclaimer p {
    color: #9ca3af;
    font-size: 14px;
    margin: 0;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    color: #9ca3af;
    font-size: 14px;
}

.footer-policies {
    display: flex;
    gap: 20px;
}

.footer-policies a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-policies a:hover {
    color: #1D3557;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}



@keyframes underlineGrow {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.lawyers-team {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 320px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 3px solid white;
    background: white;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.lawyers-main-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lawyers-photo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lawyers-team-hero {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-team-photo {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .main-title {
        font-size: 36px;
    }

    .highlighted-text {
        font-size: 24px;
    }

    .trust-indicators {
        justify-content: center;
    }

    .lawyers-team {
        width: 250px;
        height: 140px;
        position: relative;
        margin: 20px auto 0;
        bottom: auto;
        right: auto;
    }
}

@media (max-width: 1025px) {
    .logo-text {
        margin-left: -20px;
    }
}

@media (max-width: 1024px) and (min-width: 481px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .main-title {
        font-size: 28px;
        line-height: 1.3;
    }

    .highlighted-text {
        font-size: 26px;
    }

    .hero-subtitle p {
        font-size: 16px;
    }

    .consultation-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 16px;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .image-container {
        height: 300px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 1026px) {
    .nav-menu,
    .contact-box {
        display: none;
    }

    .mobile-controls {
        display: flex;
    }

    .mobile-nav.active {
        display: block;
    }

    .main-content {
        margin-top: 0;
    }
    
    /* 헤더 스타일은 상단 모바일 전용 섹션에서 처리됨 */
    
    .fullscreen-video-hero {
        position: relative;
        width: 100%;
        height: 80vh;
        z-index: 1;
    }
}

@media (max-width: 481px) {
    .logo-text {
        font-size: 16px;
    }
    
    .logo-image {
        height: 50px !important;
        max-width: 220px !important;
    }
    
    .logo {
        max-width: 60%;
        margin-left: -10px;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }
    
    .mobile-controls {
        margin-right: -10px;
    }

    .consultation-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 16px;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .image-container {
        height: 300px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Stage section mobile optimization */
    .stage-title {
        font-size: 28px;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .card-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .stage-card {
        max-width: 100%;
        width: 100%;
        min-height: auto;
        height: auto;
        overflow: visible;
    }
    
    .stage-card-body {
        padding: 20px;
        min-height: 300px;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .stage-emblem {
        max-width: 120px;
        width: 100%;
        margin-bottom: 20px;
        flex-shrink: 0;
    }
    
    .stage-card-list {
        flex: 1;
        width: 100%;
        text-align: left;
        margin-top: 15px;
        padding: 0 10px;
        display: block;
        overflow: visible;
    }
    
    .stage-card-list li {
        margin-bottom: 2px;
        font-size: 14px;
        line-height: 1.1;
        padding-left: 20px;
        word-wrap: break-word;
    }

    /* FAQ section mobile optimization */
    .faq-title {
        font-size: 20px;
        margin-bottom: 40px;
        padding: 0 10px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .faq-card {
        padding: 16px;
    }

    .faq-question, .faq-answer {
        margin-left: 35px;
    }

    .faq-number {
        left: 16px;
        top: 16px;
    }

    /* Statistics section mobile optimization */
    .statistics-title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .statistics-container {
        padding: 30px 20px;
    }

    .chart-container {
        height: 250px;
    }

    /* Success cases mobile optimization */
    .success-cases-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Consultation section mobile optimization */
    .consultation-application-section .section-title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .consultation-form {
        padding: 20px;
    }

    .consultation-form .form-group {
        margin-bottom: 20px;
    }

    .consultation-form input,
    .consultation-form textarea {
        font-size: 16px;
        padding: 12px;
    }

    .footer-content {
        flex-direction: column;
        gap: 25px;
        text-align: left;
    }
    
    .footer-left {
        order: 2;
    }
    
    .footer-right {
        order: 1;
        width: 100%;
        justify-content: center;
    }
    
    .footer-image {
        max-width: 100%;
        width: 100%;
    }
    
    .footer-logo-text {
        font-size: 16px;
        line-height: 1.4;
    }
    
    .footer-description {
        font-size: 14px;
        line-height: 1.6;
        color: #d1d5db;
        margin-top: 15px;
    }
    
    .footer-title {
        font-size: 16px;
        margin-bottom: 15px;
        line-height: 1.4;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
    
    .footer-links a {
        font-size: 14px;
        line-height: 1.5;
        color: #d1d5db;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: left;
    }
    
    .footer-disclaimer p {
        font-size: 13px;
        line-height: 1.5;
        color: #9ca3af;
    }
    
    .copyright p {
        font-size: 13px;
        line-height: 1.4;
        color: #9ca3af;
    }
    
    .footer-policies a {
        font-size: 13px;
        line-height: 1.4;
        color: #9ca3af;
    }

    /* Hero section mobile improvements */
    .hero-section {
        padding: 60px 0 40px !important;
    }

    .lawyers-team {
        width: 280px;
        height: 160px;
        position: static;
        margin: 20px auto 0;
    }
}

@media (max-width: 480px) {
    html body .container {
        padding: 0 0px !important;
    }

    .logo-text {
        font-size: 16px;
    }
    
    .logo-image {
        height: 50px !important;
        max-width: 220px !important;
    }
    
    .logo {
        max-width: 50%;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }
    
    .mobile-controls {
        transform: translateX(10px);
    }
    
    /* 햄버거 버튼 오른쪽 여백 */
    .mobile-menu-toggle {
        margin-right: 10px;
    }
    
    /* Contact box ultra mobile */
    .contact-text {
        font-size: 10px;
        margin-bottom: 0px;
    }
    
    .contact-number {
        font-size: 10px;
        gap: 1px;
    }
    
    .contact-number i {
        font-size: 9px;
    }
    
    .contact-box {
        padding: 4px 8px;
    }

    .hero-section {
        padding: 40px 0 40px !important;
    }

    .main-title {
        font-size: 22px;
        line-height: 1.2;
    }

    .highlighted-text {
        font-size: 20px;
    }

    .section-title,
    .stage-title,
    .faq-title,
    .success-cases-title,
    .consultation-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .service-card {
        padding: 25px 15px;
    }

    /* Stage cards ultra-mobile */
    .stage-card-header {
        font-size: 16px;
        padding: 12px 0;
    }

    .stage-card-body {
        padding: 15px;
    }

    .stage-emblem {
        max-width: 150px;
        margin-bottom: 15px;
    }

    .stage-card-list li {
        font-size: 15px;
        margin-bottom: 8px;
        padding-left: 22px;
    }

    .stage-card-list li::before {
        font-size: 14px;
    }

    /* FAQ ultra-mobile */
    .faq-card {
        padding: 14px;
    }

    .faq-question {
        font-size: 14px;
        margin-left: 30px;
    }

    .faq-answer {
        font-size: 13px;
        margin-left: 30px;
    }

    .faq-number {
        width: 24px;
        height: 24px;
        line-height: 24px;
        font-size: 12px;
        left: 14px;
        top: 14px;
    }

    /* Consultation form ultra-mobile */
    .consultation-form {
        padding: 15px;
    }

    .consultation-form input,
    .consultation-form textarea {
        font-size: 16px;
        padding: 10px;
    }

    .consultation-form button {
        padding: 14px 20px;
        font-size: 16px;
    }

    /* Header ultra-mobile */
    html body .header-content {
        padding: 15px 15px 15px 5px !important;
    }
    
    html body .header .logo {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    .mobile-controls {
        padding-right: 0;
    }



    /* Footer ultra-mobile */
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-left {
        order: 2;
    }
    
    .footer-right {
        order: 1;
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .footer-image {
        max-width: 100%;
        width: 100%;
    }
    
    .footer-logo-text {
        font-size: 15px;
        line-height: 1.3;
    }

    .footer-description {
        font-size: 13px;
        line-height: 1.5;
        color: #d1d5db;
        margin-top: 12px;
    }
    
    .footer-title {
        font-size: 15px;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .footer-links li {
        margin-bottom: 6px;
    }
    
    .footer-links a {
        font-size: 13px;
        line-height: 1.4;
        color: #d1d5db;
    }
    
    .footer-disclaimer p {
        font-size: 12px;
        line-height: 1.4;
        color: #9ca3af;
    }
    
    .copyright p {
        font-size: 12px;
        line-height: 1.3;
        color: #9ca3af;
    }
    
    .footer-policies a {
        font-size: 12px;
        line-height: 1.3;
        color: #9ca3af;
    }

    /* Trust indicators ultra-mobile */
    .trust-indicator {
        padding: 8px 12px;
        font-size: 12px;
    }

    /* Success cases ultra-mobile */
    .case-card {
        padding: 15px;
    }

    .case-title {
        font-size: 16px;
    }

    .case-description {
        font-size: 14px;
    }

    .case-date {
        font-size: 12px;
    }

    /* Lawyers team ultra-mobile */
    .lawyers-team {
        width: 240px;
        height: 135px;
        margin: 15px auto 0;
    }
}

/* Touch-friendly improvements */
.consultation-btn,
.mobile-menu-toggle,
.mobile-nav-link,
button {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

/* Mobile navigation scroll styling */
.mobile-nav::-webkit-scrollbar {
    width: 6px;
}

.mobile-nav::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.mobile-nav::-webkit-scrollbar-thumb {
    background: #ffffff;
    border-radius: 3px;
}

.mobile-nav::-webkit-scrollbar-thumb:hover {
    background: #f0f0f0;
}

/* Mobile navigation smooth scrolling */
.mobile-nav {
    scroll-behavior: smooth;
}

/* Mobile form improvements */
input,
textarea,
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
}

/* Prevent zoom on input focus */
@media screen and (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        font-size: 16px !important;
    }
}

/* Improved click targets for mobile */
@media (max-width: 1026px) {
    .mobile-nav-link {
        padding: 15px 20px;
        display: block;
        min-height: 44px;
        line-height: 1.2;
    }
    
    .consultation-btn {
        min-height: 48px;
        font-size: 16px;
    }
    
    .mobile-menu-toggle {
        min-width: 44px;
        min-height: 44px;
    }
    
    .mobile-phone-icon {
        min-width: 44px;
        min-height: 44px;
    }
}

/* High DPI / Retina display improvements */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-image,
    .stage-emblem {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Additional mobile-specific optimizations */
@media (max-width: 1026px) {
    /* Improve touch targets */
    a, button, input, textarea {
        min-height: 44px;
    }
    
    /* Better spacing for mobile */
    .hero-section {
        padding: 80px 0 40px !important;
    }
    
    /* Mobile-optimized text sizes */
    .hero-subtitle {
        font-size: 16px;
        line-height: 1.5;
    }
    
    /* Center intro page mobile */
    .main-content {
        padding-top: 80px;
    }
    
    /* 페이지 헤더가 있는 경우 패딩 제거 */
    .main-content:has(.page-header) {
        padding-top: 0;
    }
    
    .page-title {
        padding: 40px 0;
    }
    
    .page-title h1 {
        font-size: 28px;
    }
    
    /* Contact box mobile optimization */
    .contact-text {
        font-size: 11px;
        margin-bottom: 1px;
        white-space: nowrap;
    }
    
    .contact-number {
        font-size: 11px;
        gap: 2px;
        white-space: nowrap;
    }
    
    .contact-number i {
        font-size: 10px;
    }
    
    .contact-box {
        padding: 6px 12px;
    }
    
    /* Mobile navigation improvements */
    .mobile-nav {
        padding: 20px 0;
    }
    
    .mobile-contact {
        padding: 20px;
        margin-top: 20px;
        background: #f8f9fa;
        border-radius: 8px;
    }
    
    .mobile-contact-text {
        font-size: 14px;
        color: #666;
        margin-bottom: 5px;
    }
    
    .mobile-contact-number {
        font-size: 18px;
        font-weight: 700;
        color: #1D3557;
    }
}

/* Landscape mobile optimization */
@media (max-width: 1026px) and (orientation: landscape) {
    .hero-section {
        padding: 60px 0 40px !important;
    }
    
    .main-title {
        font-size: 24px;
    }
    
    .highlighted-text {
        font-size: 18px;
    }
}

/* Accessibility and Focus States */
.consultation-btn:focus,
.nav-link:focus,
.mobile-nav-link:focus {
    outline: 2px solid #1D3557;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .consultation-btn {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .hero-section {
        background: white;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .hero-section {
        background: white;
    }

    .nav-link {
        color: #000;
    }

    .nav-link:hover {
        color: #0000ff;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* News Section Styles */
.news-section {
    padding: 80px 0;
    background: white;
}

.media-section {
    padding: 60px 0 40px 0;
}

.insights-section {
    padding-top: 60px;
    background: #f8f9fa;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* 언론보도 슬라이더 스타일 */
.news-slider-container {
    overflow: hidden;
    margin-top: 25px;
    position: relative;
}

/* 모바일에서 언론보도 슬라이더 위치 조정 - 강제 적용 */
.media-section .news-slider-container {
    margin-top: 25px; /* 기본값 */
}

@media (max-width: 1024px) {
    .media-section .news-slider-container {
        margin-top: 5px !important;
    }
}

/* 모바일에서 언론보도 슬라이더 마진 축소 */
@media (max-width: 768px) {
    .media-section .news-slider-container {
        margin-top: 5px !important;
    }
}

@media (max-width: 480px) {
    .media-section .news-slider-container {
        margin-top: 5px !important;
    }
}

/* 슬라이더 화살표 */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: #1D3557;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0.8;
}

.slider-arrow:hover {
    background: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

.slider-arrow:before {
    content: '';
    width: 12px;
    height: 12px;
    border-top: 2px solid #1D3557;
    border-right: 2px solid #1D3557;
}

.slider-arrow.prev:before {
    transform: rotate(-135deg);
    margin-left: 3px;
}

.slider-arrow.next:before {
    transform: rotate(45deg);
    margin-right: 3px;
}

.news-slider {
    display: flex;
    gap: 30px;
    width: fit-content;
    /* 초기 애니메이션 제거 - JavaScript에서 제어 */
    transition: transform 0.3s ease-in-out;
}

@keyframes slideInfinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.news-slider:hover {
    animation-play-state: paused;
}



.news-card-slide {
    flex: 0 0 400px;
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    height: 350px;
    cursor: pointer;
    border: 1px solid #e9ecef;
}

.news-card-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}



.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: fit-content;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news-thumbnail {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-thumbnail img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
    background: white;
}

.news-category {
    margin-bottom: 15px;
}

.category-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-expert {
    background: #e7f3ff;
    color: #0066cc;
}

.category-court {
    background: #fff3e0;
    color: #e65100;
}

.category-media {
    background: #f3e5f5;
    color: #7b1fa2;
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 전문가칼럼|정책&판례 섹션 전용 스타일 */
.insights-card .news-content {
    padding: 25px 35px;
}

.insights-card .news-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.insights-section .insights-card .news-excerpt {
    font-size: 18px !important;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.insights-section .insights-card .news-date {
    font-size: 14px !important;
    color: #999;
    font-weight: 500;
}

/* 전문가칼럼|정책&판례 박스 스타일 강화 */
.insights-section .insights-card {
    background: white !important;
    border: 1px solid #e9ecef;
    height: 320px;
    overflow: hidden;
    cursor: pointer;
}

.insights-section .insights-card .news-content {
    background: white !important;
}

.insights-section .insights-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28) !important;
}

/* 메인페이지 언론보도 섹션만 적용 */
.media-section .news-title {
    margin-bottom: 0;
}

.media-section .news-content {
    padding: 15px 20px;
    height: 70px;
    overflow: hidden;
}

.media-section .news-card {
    height: 320px;
    overflow: hidden;
}

/* 메인페이지 언론보도 섹션에서 불필요한 요소들 숨김 */
.media-section .news-excerpt,
.media-section .news-date,
.media-section .news-category {
    display: none;
}

/* 슬라이드 카드의 콘텐츠 영역 */
.news-card-slide .news-content {
    padding: 15px 20px;
    height: 100px;
    overflow: hidden;
    background: #ffffff;
    border-top: 1px solid #e9ecef;
}

.news-card-slide .news-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-slide .news-thumbnail {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.news-card-slide .news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card-slide:hover .news-thumbnail img {
    transform: scale(1.05);
}

.news-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.news-more {
    text-align: center;
    margin-top: 50px;
}

.btn-more {
    display: inline-block;
    padding: 15px 40px;
    background: #457B9D;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-more:hover {
    background: #1D3557;
    transform: translateY(-2px);
}

.no-news {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
}

/* Tablet and Mobile Responsive - Sections 2, 4, 5, 6 padding + Footer */
@media (max-width: 1024px) {
    /* 2번째 섹션: Success Cases */
    .main-success-cases .container,
    .main-success-cases .section-header,
    .main-success-cases .success-cases-grid {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* 4번째 섹션: 언론보도 */
    .media-section .container,
    .media-section .section-header,
    .media-section .news-slider-container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .media-section .news-slider-container {
        margin-top: 5px !important;
    }
    
    /* 5번째 섹션: 전문가칼럼|정책&판례 */
    .insights-section .container,
    .insights-section .section-header,
    .insights-section .news-grid {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* 6번째 섹션: 특화된 서비스 */
    .special-assistance .container,
    .special-assistance .section-header,
    .special-assistance .assistance-grid {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* 푸터 */
    .footer .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* News Section Responsive */
@media (max-width: 768px) {
    .news-section {
        padding: 60px 0;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    /* 기존 모바일 스타일은 위로 이동됨 */
    
    .news-card {
        margin: 0 20px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-title {
        font-size: 16px;
    }
    
    .news-more {
        margin-top: 40px;
    }
    
    .btn-more {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    /* 모바일에서 섹션별 패딩 */
    .main-success-cases .container,
    .main-success-cases .section-header,
    .main-success-cases .success-cases-grid {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    .special-assistance .container,
    .special-assistance .section-header,
    .special-assistance .assistance-grid,
    .footer .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* 언론보도 및 전문가칼럼 섹션 10px 패딩 */
    .media-section .container,
    .media-section .section-header,
    .media-section .news-slider-container,
    .insights-section .container,
    .insights-section .section-header,
    .insights-section .news-grid {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .media-section .news-slider-container {
        margin-top: 5px !important;
    }
}

@media (max-width: 480px) {
    .news-section {
        padding: 40px 0;
    }
    
    /* 기존 모바일 스타일은 위로 이동됨 */
    
    .news-card {
        margin: 0 10px;
    }
    
    .news-thumbnail {
        height: 200px;
    }
    
    .news-content {
        padding: 15px;
    }
    
    .news-title {
        font-size: 15px;
    }
    
    .news-excerpt {
        font-size: 13px;
    }
    
    /* 작은 모바일에서 섹션별 패딩 */
    .main-success-cases .container,
    .main-success-cases .section-header,
    .main-success-cases .success-cases-grid {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    .special-assistance .container,
    .special-assistance .section-header,
    .special-assistance .assistance-grid,
    .footer .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* 언론보도 및 전문가칼럼 섹션 10px 패딩 */
    .media-section .container,
    .media-section .section-header,
    .media-section .news-slider-container,
    .insights-section .container,
    .insights-section .section-header,
    .insights-section .news-grid {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .media-section .news-slider-container {
        margin-top: 5px !important;
    }
}

/* News Page Styles */
.news-page {
    min-height: 100vh;
    padding-top: 0;
    background-color: white;
}

.news-page .page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/news-hero.jpg') center center / cover no-repeat !important;
}

.news-page .back-button-container {
    margin-bottom: 30px;
    margin-top: 0;
    background-color: white;
    padding: 20px 0;
}

.news-page .back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #1D3557;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(29, 53, 87, 0.2);
}

.news-page .back-button:hover {
    background: #2E4A6B;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(29, 53, 87, 0.3);
}

.page-header {
    padding: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/gavel-scale-new.jpg') center center / cover no-repeat;
    color: white;
    text-align: center;
    margin-bottom: 0;
    margin-top: -80px;
    padding-top: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 450px;
    position: relative;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: white;
}

.separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.6);
}

.current {
    color: white;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.category-filter {
    padding: 40px 0;
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 12px 24px;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.filter-tab:hover {
    background: #e9ecef;
    color: #333;
}

.filter-tab.active {
    background: #1D3557;
    color: white;
    border-color: #1D3557;
}

.news-content {
    padding: 60px 0;
    background: #f8f9fa;
    min-height: 600px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: fit-content;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news-card .news-thumbnail {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.news-card .news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-thumbnail img {
    transform: scale(1.05);
}

.news-content-area {
    padding: 25px;
}

.news-card .news-category {
    margin-bottom: 15px;
}

.category-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: white;
    background: #6c757d;
}

.category-expert {
    background: #457B9D !important;
}

.category-court {
    background: #1D3557 !important;
}

.category-media {
    background: white !important;
    color: #457B9D !important;
    border: 2px solid #457B9D !important;
}

.news-card .news-title a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    display: block;
    margin-bottom: 12px;
}

.news-card .news-title a:hover {
    color: #457B9D;
}

.news-card .news-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 12px;
    color: #999;
}

.news-date i {
    margin-right: 5px;
}

/* 인율소식 페이지 카드 통일 스타일 */
.news-page .news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.news-page .news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-page .news-card .news-thumbnail {
    width: 100%;
    height: 0;
    padding-bottom: 61%;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.news-page .news-card .news-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 썸네일 없는 경우 빈 공간 유지 */
.news-page .news-card .news-thumbnail-placeholder {
    width: 100%;
    height: 0;
    padding-bottom: 61%;
    background: #f0f0f0;
}

.news-page .news-content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.news-page .news-card .news-title {
    min-height: 50px;
}

.news-page .news-card .news-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.news-page .news-card .news-excerpt {
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 67px;
    line-height: 1.6;
}

.news-page .news-meta {
    margin-top: auto;
    min-height: 20px;
}

@media (max-width: 1200px) {
    .news-page .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-page .news-grid {
        grid-template-columns: 1fr;
    }
}

.pagination {
    margin-top: 60px;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.pagination-btn:hover {
    background: #1D3557;
    color: white;
    border-color: #1D3557;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
}

.pagination-number {
    display: inline-block;
    padding: 12px 16px;
    background: white;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    min-width: 48px;
    text-align: center;
}

.pagination-number:hover {
    background: #e9ecef;
    color: #333;
}

.pagination-number.active {
    background: #1D3557;
    color: white;
    border-color: #1D3557;
}

.no-content {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.no-content i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 20px;
}

.no-content h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 12px;
}

.no-content p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.8;
}

.btn-back {
    display: inline-block;
    padding: 12px 24px;
    background: #457B9D;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #1D3557;
    transform: translateY(-2px);
}

/* News Page Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 0;
        padding-top: 180px;
        min-height: 450px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .page-description {
        font-size: 16px;
    }
    
    .filter-tabs {
        gap: 15px;
        padding: 0 20px;
    }
    
    .filter-tab {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .news-content {
        padding: 40px 0;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .news-content-area {
        padding: 20px;
    }
    
    .pagination-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    
    .pagination-numbers {
        order: -1;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 0;
        min-height: 350px;
        padding-top: 160px;
    }
    
    .page-header h1 {
        font-size: 1.3rem;
        line-height: 1.3;
        padding: 0 20px;
    }
    
    .page-header p {
        font-size: 0.8rem;
        padding: 0 20px;
        margin-top: 10px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .news-grid {
        padding: 0 15px;
    }
    
    .news-card .news-thumbnail {
        height: 250px;
    }
    
    .news-content-area {
        padding: 15px;
    }
}

/* Disclaimer Modal Styles */
.disclaimer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.disclaimer-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease-out;
}

.disclaimer-content .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #e5e7eb;
}

.disclaimer-content .modal-header h2 {
    color: #1D3557;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.disclaimer-content .modal-close {
    background: #1D3557;
    border: none;
    font-size: 20px;
    color: white;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.disclaimer-content .modal-close:hover {
    background: #457B9D;
    transform: scale(1.05);
}

.disclaimer-body {
    padding: 30px;
    line-height: 1.7;
}

.disclaimer-body p {
    color: #374151;
    font-size: 16px;
    margin-bottom: 20px;
    text-align: justify;
}

.disclaimer-body p:last-child {
    margin-bottom: 0;
}

.disclaimer-footer {
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid #e5e7eb;
}

.disclaimer-footer .ok-btn {
    background: #1D3557;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.disclaimer-footer .ok-btn:hover {
    background: #457B9D;
    transform: translateY(-1px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Privacy Policy Modal Styles */
.privacy-policy-modal,
.terms-of-service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.privacy-policy-content,
.terms-of-service-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease-out;
}

.privacy-policy-content .modal-header,
.terms-of-service-content .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}

.privacy-policy-content .modal-header h2,
.terms-of-service-content .modal-header h2 {
    color: #1D3557;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.privacy-policy-content .modal-close,
.terms-of-service-content .modal-close {
    background: #1D3557;
    border: none;
    font-size: 20px;
    color: white;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-policy-content .modal-close:hover,
.terms-of-service-content .modal-close:hover {
    background: #457B9D;
    transform: scale(1.05);
}

.privacy-policy-body,
.terms-of-service-body {
    padding: 30px;
    line-height: 1.7;
}

.privacy-policy-body p,
.terms-of-service-body p {
    color: #374151;
    font-size: 16px;
    margin-bottom: 20px;
    text-align: justify;
}

.privacy-policy-body h3,
.terms-of-service-body h3 {
    color: #1D3557;
    font-size: 18px;
    font-weight: 700;
    margin: 30px 0 15px 0;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 8px;
}

.privacy-policy-body h3:first-child,
.terms-of-service-body h3:first-child {
    margin-top: 0;
}

.privacy-policy-body ul,
.privacy-policy-body ol,
.terms-of-service-body ul,
.terms-of-service-body ol {
    margin: 15px 0;
    padding-left: 25px;
}

.privacy-policy-body li,
.terms-of-service-body li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.privacy-policy-body strong,
.terms-of-service-body strong {
    color: #1D3557;
    font-weight: 700;
}

.terms-effective-date {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #1D3557;
    margin-top: 30px !important;
}

.privacy-policy-footer,
.terms-of-service-footer {
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid #e5e7eb;
    position: sticky;
    bottom: 0;
    background: white;
}

.privacy-policy-footer .ok-btn,
.terms-of-service-footer .ok-btn {
    background: #1D3557;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.privacy-policy-footer .ok-btn:hover,
.terms-of-service-footer .ok-btn:hover {
    background: #457B9D;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .disclaimer-content,
    .privacy-policy-content,
    .terms-of-service-content {
        width: 95%;
        margin: 10px;
        max-width: none;
    }
    
    .disclaimer-content .modal-header,
    .disclaimer-body,
    .disclaimer-footer,
    .privacy-policy-content .modal-header,
    .privacy-policy-body,
    .privacy-policy-footer,
    .terms-of-service-content .modal-header,
    .terms-of-service-body,
    .terms-of-service-footer {
        padding: 20px;
    }
    
    .disclaimer-body p,
    .privacy-policy-body p,
    .terms-of-service-body p {
        font-size: 15px;
    }
    
    .privacy-policy-body h3,
    .terms-of-service-body h3 {
        font-size: 16px;
    }
}

/* Premium Service Section */
.premium-service-section {
    padding: 80px 0;
    background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url('../images/bg2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.premium-service-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1D3557;
}

.highlight-premium {
    background: linear-gradient(45deg, #1D3557, #457B9D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-section {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-box {
    display: flex;
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    align-items: flex-start;
    transition: transform 0.2s ease;
}

.feature-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.feature-number {
    width: 36px;
    height: 36px;
    background: #457B9D;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 16px;
    font-size: 15px;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-weight: bold;
    color: #1D3557;
    font-size: 17px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.feature-title .star {
    color: red;
    margin-left: 6px;
    font-size: 16px;
}

.feature-desc {
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
    line-height: 1.4;
}

/* Mobile Responsiveness for Premium Service */
@media (max-width: 1026px) {
    .premium-service-section {
        padding: 60px 0;
    }

    .premium-service-section .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .feature-section {
        padding: 0 20px;
    }
}

@media (max-width: 600px) {
    .feature-box {
        flex-direction: row;
        align-items: flex-start;
        padding: 16px;
    }

    .feature-number {
        margin-bottom: 0;
        margin-right: 12px;
        width: 32px;
        height: 32px;
        line-height: 32px;
        font-size: 14px;
    }
    
    .feature-title {
        font-size: 16px;
    }
    
    .feature-desc {
        font-size: 12px;
    }
}

/* Enhanced sequential animation for assistance items */
.assistance-item.visible {
    animation: slideInFromBottom 0.6s ease-out forwards;
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* FAQ Section */
.faq-section-wrapper {
    padding: 80px 0;
    background: #ffffff;
}

.faq-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1D3557;
}

/* Tablet responsive */
@media (max-width: 1025px) and (min-width: 769px) {
    .faq-title {
        font-size: 28px;
    }
}

/* Mobile responsive */  
@media (max-width: 768px) {
    .faq-title {
        font-size: 24px;
    }
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.faq-card {
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(29, 53, 87, 0.12);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    background-clip: padding-box;
}

.faq-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1D3557 0%, #457B9D 100%);
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.faq-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #1D3557 0%, #457B9D 50%, #1D3557 100%);
    border-radius: 18px;
    z-index: -1;
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-4px);
    border-color: #1D3557;
}

.faq-card:hover::before {
    opacity: 1;
}

.faq-card:hover::after {
    opacity: 0.1;
}

.faq-number {
    background: #1D3557;
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    font-size: 13px;
    text-align: center;
    line-height: 28px;
    font-weight: 700;
    position: absolute;
    top: 25px;
    left: 20px;
    box-shadow: 0 2px 8px rgba(29, 53, 87, 0.3);
    transition: all 0.3s ease;
}

.faq-question {
    font-weight: 700;
    margin-left: 50px;
    margin-bottom: 12px;
    font-size: 17px;
    color: #1D3557;
    transition: color 0.3s ease;
    position: relative;
}

.faq-answer {
    font-size: 15px;
    color: #495057;
    margin-left: 50px;
    line-height: 1.6;
    font-weight: 400;
}

.faq-card:hover .faq-question {
    color: #457B9D;
}

.faq-card:hover .faq-number {
    transform: scale(1.1);
    background: #457B9D;
    box-shadow: 0 4px 15px rgba(29, 53, 87, 0.4);
}

@media (max-width: 1026px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-number {
        left: 16px;
        top: 26px;
    }
    
    .faq-question, .faq-answer {
        margin-left: 36px;
    }
}

/* Consultation Application Section */
.consultation-application-section {
    padding: 80px 0;
    background: #f8fbff;
}

.consultation-application-section .section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
}

/* Tablet responsive */
@media (max-width: 1025px) and (min-width: 769px) {
    .consultation-application-section .section-title {
        font-size: 28px;
    }
}

/* Mobile responsive */  
@media (max-width: 768px) {
    .consultation-application-section .section-title {
        font-size: 24px;
    }
}

.consultation-wrapper {
    display: flex;
    justify-content: center;
}

.form-wrapper {
    max-width: 600px;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    padding: 32px 40px;
}



.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1D3557;
    margin-bottom: 6px;
}

.form-wrapper input[type="text"],
.form-wrapper input[type="tel"],
.form-wrapper textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-wrapper input[type="text"]:focus,
.form-wrapper input[type="tel"]:focus,
.form-wrapper textarea:focus {
    outline: none;
    border-color: #457B9D;
    box-shadow: 0 0 0 2px rgba(69, 123, 157, 0.1);
}

.form-wrapper textarea {
    resize: vertical;
    min-height: 100px;
}

.captcha-container {
    margin-bottom: 16px;
}

.captcha-question {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    padding: 12px 14px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

#captcha-text {
    font-size: 16px;
    font-weight: bold;
    color: #1D3557;
    flex: 1;
}

.captcha-refresh {
    background: #457B9D;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.captcha-refresh:hover {
    background: #1D3557;
}

#captcha-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: monospace;
}

.checkbox {
    display: flex !important;
    align-items: flex-start;
    font-size: 13px;
    margin-bottom: 24px;
    gap: 8px;
    visibility: visible !important;
}

.checkbox input {
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px !important;
    height: 16px !important;
    accent-color: #1D3557;
    cursor: pointer;
    appearance: auto;
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    background-color: white;
    border: 2px solid #d1d5db;
    border-radius: 3px;
}

.checkbox label {
    line-height: 1.4;
    cursor: pointer;
    color: #374151;
}

.submit-btn {
    width: 100%;
    background: #1D3557;
    color: white;
    font-weight: bold;
    padding: 18px 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    transform: scale(1);
}

.submit-btn:hover {
    background: #457B9D;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(69, 123, 157, 0.3);
}

.submit-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.quick-contact {
    background: #EAF2FA;
    border-left: 4px solid #1D3557;
    padding: 20px;
    border-radius: 8px;
    margin: 40px 0 10px;
    text-align: center;
    font-size: 14px;
    color: #1D3557;
}

.quick-contact .contact-question {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
    color: #1D3557;
}

.quick-contact strong {
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 8px 0;
    color: #1D3557;
}

.quick-contact .phone-icon {
    font-size: 20px;
    color: #457B9D;
}

.kakao-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #FEE500;
    color: #3C1E1E;
    text-align: center;
    font-weight: bold;
    padding: 14px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 16px;
    font-size: 15px;
    transition: background 0.3s ease;
}

.kakao-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.kakao-btn:hover {
    background: #fdd835;
}

@media (max-width: 1026px) {
    .form-wrapper {
        max-width: 500px;
        padding: 28px 32px;
        margin: 0 20px;
    }
    
    /* Quick contact mobile optimization */
    .quick-contact strong {
        font-size: 18px;
        gap: 6px;
        white-space: nowrap;
    }
    
    .quick-contact .phone-icon {
        font-size: 16px;
    }
    
    /* Captcha input optimization */
    #captcha-input {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .form-wrapper {
        padding: 24px 20px;
        margin: 0 15px;
    }
    
    .consultation-application-section {
        padding: 60px 0;
    }
    
    /* Quick contact ultra mobile */
    .quick-contact strong {
        font-size: 16px;
        gap: 4px;
        white-space: nowrap;
    }
    
    .quick-contact .phone-icon {
        font-size: 14px;
    }
    
    /* Captcha input mobile optimization */
    #captcha-input {
        font-size: 13px !important;
    }
}

/* Statistics Section */
.statistics-section {
    padding: 100px 0;
    background: #f8fbff;
}

.statistics-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1D3557;
    margin-bottom: 60px;
}

/* Tablet responsive */
@media (max-width: 1025px) and (min-width: 769px) {
    .statistics-title {
        font-size: 28px;
    }
}

/* Mobile responsive */  
@media (max-width: 768px) {
    .statistics-title {
        font-size: 24px;
    }
}

.charts-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.chart-wrapper {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(29, 53, 87, 0.1);
}

.chart-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #457B9D;
    text-align: center;
    margin-bottom: 30px;
}

/* Horizontal Bar Chart */
.horizontal-chart {
    height: auto;
}

.chart-header {
    display: grid;
    grid-template-columns: 100px 1fr;
    padding: 15px 0;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 20px;
}

.region-header,
.count-header {
    font-weight: 600;
    color: #1D3557;
    font-size: 14px;
}

.count-header {
    font-weight: bold;
    color: #1D3557;
    text-align: right;
}

.horizontal-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.horizontal-bar-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
    gap: 15px;
}

.region-name {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}

.horizontal-bar-container {
    position: relative;
    background: #e2e8f0;
    height: 25px;
    border-radius: 12px;
    overflow: hidden;
}

.horizontal-bar {
    background: linear-gradient(90deg, #457B9D, #6BA3C7);
    height: 100%;
    border-radius: 12px;
    transition: width 0.8s ease;
    position: relative;
}

.horizontal-bar-value {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 600;
    color: #1D3557;
    z-index: 2;
}

.chart-note {
    margin-top: 20px;
    font-size: 12px;
    color: #64748b;
    text-align: center;
}

/* Line Chart Styles */
.line-chart-container {
    position: relative;
    width: 100%;
    height: 450px;
    background: white;
    border-radius: 12px;
    padding: 20px;
}

.line-chart-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.chart-line {
    filter: drop-shadow(0 2px 4px rgba(29, 53, 87, 0.2));
    transition: all 0.3s ease;
}

.chart-line:hover {
    stroke-width: 5;
    filter: drop-shadow(0 4px 8px rgba(29, 53, 87, 0.3));
}

.data-point {
    transition: all 0.3s ease;
    cursor: pointer;
}

.data-point:hover {
    r: 12;
    filter: drop-shadow(0 2px 6px rgba(29, 53, 87, 0.4));
}

.axis-text {
    font-size: 12px;
    font-weight: 500;
    fill: #64748b;
    font-family: 'Noto Sans KR', sans-serif;
}

.data-label-value {
    font-size: 14px;
    font-weight: 700;
    fill: #1e293b;
    font-family: 'Noto Sans KR', sans-serif;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.chart-legend {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.legend-color {
    width: 16px;
    height: 4px;
    background: #1D3557;
    border-radius: 2px;
}

.legend-text {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    font-family: 'Noto Sans KR', sans-serif;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .chart-wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 1026px) {
    .chart-title {
        font-size: 1.1rem;
    }

    .horizontal-bars {
        gap: 10px;
    }

    .horizontal-bar-item {
        grid-template-columns: 80px 1fr;
        gap: 10px;
    }

    .chart-header {
        grid-template-columns: 80px 1fr;
    }

    .region-name {
        font-size: 12px;
    }

    /* Line Chart Tablet */
    .line-chart-container {
        height: 350px;
        padding: 15px;
    }

    .data-label-value {
        font-size: 13px;
    }

    .axis-text {
        font-size: 11px;
    }
}

/* 모바일 버전 - 막대그래프 간격 추가 */
@media (max-width: 768px) {
    .horizontal-bars {
        gap: 12px;
    }

    .horizontal-bar-item {
        grid-template-columns: 70px 1fr;
        gap: 12px;
    }

    .chart-header {
        grid-template-columns: 70px 1fr;
        gap: 12px;
    }

    /* Line Chart Mobile */
    .line-chart-container {
        height: 300px;
        padding: 10px;
    }

    .data-label-value {
        font-size: 11px;
    }

    .axis-text {
        font-size: 10px;
    }

    .legend-item {
        padding: 6px 12px;
    }

    .legend-text {
        font-size: 12px;
    }

    .region-name {
        font-size: 11px;
    }

    .chart-wrapper {
        padding: 25px 15px;
    }

}

/* Real Estate Specialists Section */
.real-estate-specialists {
    padding: 80px 0;
    background: white url('/images/specialist-background.jpg') center/cover no-repeat;
    position: relative;
}

.real-estate-specialists::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.real-estate-specialists .container {
    position: relative;
    z-index: 2;
}

.real-estate-specialists .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.real-estate-specialists .section-subtitle {
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.real-estate-specialists .section-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1D3557;
    margin-bottom: 20px;
}

.specialist-showcase {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.specialist-display {
    margin-bottom: 40px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.specialist-display .slideshow-progress {
    opacity: 1 !important;
    transition: none !important;
}

.specialist-display .slideshow-progress * {
    opacity: 1 !important;
    transition: none !important;
}

.specialist-display.active {
    opacity: 1;
}

.specialist-content {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.specialist-titles {
    position: absolute;
    left: 100px;
    top: 20%;
    transform: translateY(-50%);
    text-align: left;
    z-index: 5;
}

.specialist-photo {
    width: 600px;
    height: 800px;
    overflow: hidden;
    position: relative;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.specialist-info {
    position: absolute;
    bottom: 0px;
    left: 30px;
    text-align: left;
    background: transparent;
    color: black;
    padding: 12px 20px;
    border-radius: 8px;
    z-index: 10;
}

.specialist-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 1;
}

.specialist-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1D3557;
    margin: 0;
    display: inline;
}

.specialist-info .position {
    font-size: 1.1rem;
    color: black;
    font-weight: 500;
    opacity: 0.7;
    display: inline;
    margin-left: 10px;
}

.specialist-navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #457B9D;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: #457B9D;
    transform: scale(1.2);
}

.nav-dot:hover {
    background: #457B9D;
    opacity: 0.7;
}

/* 슬라이드쇼 진행바 스타일 */
.slideshow-progress {
    margin-top: 10px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 1;
    visibility: visible;
    width: 100%;
}

.progress-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 800px;
}

.progress-track {
    flex: 1;
    height: 4px;
    background: rgba(69, 123, 157, 0.2);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-more-btn {
    padding: 8px 16px;
    background: transparent;
    color: #457B9D;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.progress-more-btn:hover {
    color: #3a6b8a;
    transform: translateY(-1px);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #457B9D, #64748b);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: -10px;
    width: 10px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
    border-radius: 0 2px 2px 0;
}

.progress-indicators {
    display: none;
}

/* 태블릿 반응형 */
@media (max-width: 1024px) and (min-width: 769px) {
    .specialist-content {
        justify-content: flex-end;
        width: 100%;
    }
    
    .specialist-titles {
        position: static;
        transform: none;
        text-align: left;
        margin-bottom: 30px;
        padding-left: 30px;
        width: 100%;
        grid-column: 1;
        grid-row: 1;
    }
    
    .specialist-showcase {
        display: grid;
        grid-template-columns: 1fr 500px;
        gap: 40px;
        align-items: start;
        width: 100%;
    }
    
    .specialist-photo {
        width: 500px;
        height: 600px;
        grid-column: 2;
    }
    
    .slideshow-progress {
        margin-top: 10px;
        padding: 0 15px;
        align-items: center;
        justify-content: center;
        width: 100%;
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
    }
    
    .progress-wrapper {
        max-width: 700px;
    }
}



/* 모바일 반응형 */
@media (max-width: 768px) {
    .section-subtitle {
        font-size: 10px;
    }
    
    .real-estate-specialists {
        padding: 60px 0;
    }
    
    .real-estate-specialists .section-main-title {
        font-size: 1.6rem;
    }
    
    .real-estate-specialists .section-subtitle {
        font-size: 10px;
    }
    
    .specialist-titles .section-subtitle {
        font-size: 10px;
    }
    
    .mobile-break {
        display: inline;
    }
    
    .specialist-content {
        justify-content: flex-end;
    }
    
    .specialist-titles {
        position: static;
        transform: none;
        text-align: left;
        margin-bottom: 0px;
        padding-left: 20px;
        grid-column: 1;
        grid-row: 1;
        max-width: 250px;
    }
    
    .specialist-showcase {
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: 0px;
        align-items: start;
        width: 100%;
    }
    
    .specialist-photo {
        width: 100%;
        max-width: 300px;
        height: 400px;
        grid-column: 2;
    }
    
    .specialist-info {
        bottom: 0px;
        left: 20px;
        padding: 15px;
        text-align: left;
        border-radius: 8px;
    }
    
    .specialist-photo img {
        width: 100%;
        height: 100%;
    }
    
    .specialist-info h3 {
        font-size: 1.2rem;
    }
    
    .specialist-info .position {
        font-size: 1rem;
    }
    
    .slideshow-progress {
        margin-top: 10px;
        padding: 0 10px;
        gap: 15px;
        align-items: center;
        justify-content: center;
        width: 100%;
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
    }
    
    .progress-wrapper {
        max-width: 350px;
    }
    
    .progress-track {
        height: 3px;
    }
    
    .progress-more-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* 작은 모바일 환경 (480px 이하) */
@media (max-width: 480px) {
    .real-estate-specialists .section-main-title {
        font-size: 1.15rem;
    }
    
    .real-estate-specialists .section-main-title .highlight-blue {
        white-space: nowrap;
    }
    
    .specialist-titles {
        max-width: 180px;
    }
    
    .specialist-titles .section-subtitle {
        font-size: 10px;
    }
    
    .specialist-info h3 {
        font-size: 1.0rem;
    }
}

/* Main Success Cases Section */
.main-success-cases {
    padding: 80px 0;
    background-color: white;
}

.main-success-cases .section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1D3557;
    margin-bottom: 50px;
}

.success-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* 데스크톱에서 4번째 케이스 숨기기 */
@media (min-width: 1027px) {
    .success-cases-grid .success-case-card-link:nth-child(4) {
        display: none;
    }
}

.success-case-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.success-case-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.success-case-card-link:hover .success-case-card {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.success-case-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.case-thumbnail {
    width: 100%;
    height: 0;
    padding-bottom: 61%; /* 100:61 비율 */
    position: relative;
    overflow: hidden;
}

.case-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.success-case-card-link:hover .case-thumbnail img {
    transform: scale(1.05);
}

.case-content {
    padding: 25px;
}

.case-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.case-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.case-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more {
    display: inline-block;
    color: #457B9D;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.success-case-card-link:hover .read-more {
    color: #1D3557;
    text-decoration: underline;
}

.case-date {
    font-size: 0.85rem;
    color: #999;
    font-weight: 500;
}

.more-cases-wrapper {
    text-align: center;
    margin-top: 40px;
}

.more-cases-btn {
    display: inline-block;
    width: auto;
    background-color: #1D3557;
    color: white;
    padding: 20px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.more-cases-btn:hover {
    background-color: #457B9D;
    transform: scale(1.05);
    color: white;
    text-decoration: none;
}

/* 태블릿 버전 - 한 줄에 하나의 박스 */
@media (max-width: 1026px) and (min-width: 769px) {
    .success-cases-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .main-success-cases .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .case-content {
        padding: 25px;
    }
    
    .more-cases-btn {
        padding: 18px 30px;
        font-size: 1.1rem;
    }
}

/* 모바일 버전 */
@media (max-width: 768px) {
    .success-cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .main-success-cases .section-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .case-content {
        padding: 20px;
    }
    
    .case-excerpt {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.5;
        max-height: 3em; /* 2줄 높이 */
    }
    
    .more-cases-btn {
        padding: 16px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .main-success-cases .section-title {
        font-size: 1.4rem;
        text-align: left;
    }
    
    .insights-card .news-title {
        font-size: 18px !important;
    }
}

/* 462px 이하 화면에서 STLC 프리미엄 서비스 제목 폰트 크기 조정 */
@media (max-width: 462px) {
    .premium-service-section .section-title {
        font-size: 24px;
        line-height: 1.3;
    }
}

/* 358px 이하 화면에서 STLC 프리미엄 서비스 제목 폰트 크기 추가 조정 */
@media (max-width: 358px) {
    .premium-service-section .section-title {
        font-size: 20px;
        line-height: 1.3;
    }
}

/* 319px 이하 화면에서 수사부터 재판까지 단계별 POINT 제목 폰트 크기 조정 */
@media (max-width: 319px) {
    .stage-title {
        font-size: 22px;
        line-height: 1.3;
    }
}

/* 태블릿 사이즈에서 푸터 최적화 */
@media (max-width: 1024px) and (min-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: left;
    }
    
    .footer-description {
        font-size: 14px;
        line-height: 1.6;
        max-width: 600px;
        margin: 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: left;
    }
    
    .footer-policies {
        justify-content: flex-start;
    }
}

/* Desktop specific hero section spacing optimization */
@media (min-width: 1200px) {
    .hero-section {
        padding: 40px 0 40px !important;
        min-height: 62vh;
    }
    
    .image-container {
        height: 580px;
    }
    
    .lawyers-team {
        width: 500px;
        height: 500px;
    }
    
    .cta-section {
        margin-bottom: 40px;
        margin-top: 25px;
    }
}

@media (min-width: 1400px) {
    .hero-section {
        padding: 35px 0 40px !important;
        min-height: 58vh;
    }
    
    .image-container {
        height: 620px;
    }
    
    .lawyers-team {
        width: 500px;
        height: 500px;
    }
    
    .cta-section {
        margin-bottom: 40px;
        margin-top: 30px;
    }
}

/* Font Awesome 아이콘 폰트 강화 - 최우선순위 */
.fas, .fa {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
}

/* 전화 아이콘 특별 처리 */
.fas.fa-phone:before,
.fa-phone:before {
    content: "\f095" !important;
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome !important;
}

/* 아이콘 로딩 실패 시 Unicode 대체 */
.phone-icon-fallback {
    font-family: system-ui, -apple-system, sans-serif !important;
}
.phone-icon-fallback:before {
    content: "☎" !important;
}

/* Location Section Styles */
.location-section {
    padding: 80px 0;
    background: white;
}

/* Region Tabs */
.region-tabs {
    margin: 30px 0;
    text-align: center;
}

.region-tab {
    background: white;
    border: 2px solid #457B9D;
    color: #457B9D;
    padding: 12px 24px;
    margin: 0 5px;
    border-radius: 0;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.region-tab:hover,
.region-tab.active {
    background: #457B9D;
    color: white;
}

/* Office Item Layout */
.office-item {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.office-map {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

.office-map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.office-map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #457B9D 0%, #5a8fb4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.map-placeholder-content h4 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.map-placeholder-content p {
    font-size: 1.1em;
    opacity: 0.9;
    margin-bottom: 8px;
}

.office-info-bottom {
    padding: 20px 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.office-address h3 {
    color: #457B9D;
    margin-bottom: 15px;
    font-size: 1.4em;
    font-weight: 600;
}

.office-info-bottom h3.office-name {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.4em;
    font-weight: 600;
    text-align: left;
}

.office-info-bottom h4,
.address-info h4,
.transport-section h4 {
    color: #457B9D;
    margin-bottom: 10px;
    font-size: 1.2em;
    font-weight: 600;
}

.address-info {
    margin-bottom: 10px;
}

.main-address {
    color: #333;
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 8px;
}

.detail-address {
    color: #666;
    font-size: 1em;
    margin: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #457B9D;
}

.contact-icon {
    font-size: 1.5em;
    width: 40px;
    text-align: center;
}

.contact-label {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 2px;
}

.contact-value {
    color: #333;
    font-weight: 600;
}

.transport-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.transport-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.transport-icon {
    font-size: 1.3em;
    width: 35px;
    text-align: center;
    padding-top: 2px;
}

.transport-icon.subway {
    color: #00A84D;
}

.transport-icon.bus {
    color: #457B9D;
}

.transport-info {
    color: #333;
    line-height: 1.6;
    font-size: 1em;
}

/* Responsive Design for New Location Section */
@media (max-width: 968px) {
    .office-item {
        grid-template-columns: 1fr;
    }
    
    .office-map {
        aspect-ratio: 16/9;
    }
    
    .office-details {
        padding: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .location-section {
        padding: 60px 0;
    }
    
    .region-tab {
        padding: 10px 18px;
        font-size: 0.9em;
        margin: 0 3px;
    }
    
    .office-map {
        aspect-ratio: 16/9;
    }
    
    .office-details {
        padding: 25px;
        gap: 25px;
    }
    
    .contact-item,
    .transport-item {
        padding: 12px;
    }
    
    .contact-icon {
        font-size: 1.3em;
        width: 35px;
    }
    
    .transport-icon {
        font-size: 1.2em;
        width: 30px;
    }
    
    /* 사무소명 모바일 축소 */
    .office-info-bottom h3.office-name {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .location-section {
        padding: 40px 0;
    }
    
    .region-tabs {
        margin: 20px 0;
    }
    
    .region-tab {
        padding: 8px 15px;
        font-size: 0.85em;
        margin: 2px;
    }
    
    .office-map {
        aspect-ratio: 16/9;
    }
    
    .office-details {
        padding: 20px;
        gap: 20px;
    }
    
    .office-address h3 {
        font-size: 1.2em;
    }
    
    .main-address {
        font-size: 1.1em;
    }
    
    .contact-value {
        font-size: 1em;
    }
    
    .transport-section h4 {
        font-size: 1.1em;
    }
    
    /* 사무소명 작은 모바일 더 축소 */
    .office-info-bottom h3.office-name {
        font-size: 1.1em;
    }
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
    align-items: start;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.address-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #457B9D;
}

.address-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1D3557;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.address-card h3:before {
    content: "📍";
    font-size: 24px;
}

.address-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.transport-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.transport-item {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.transport-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1D3557;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.transport-item h4 i {
    color: #457B9D;
    width: 20px;
}

.transport-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.transport-item li {
    padding: 8px 0;
    color: #666;
    font-size: 15px;
    line-height: 1.5;
}

.line-2 {
    background: #00A84D;
    color: white;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 8px;
}

.line-sb {
    background: #D4003B;
    color: white;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 8px;
}

.bus-type {
    background: #457B9D;
    color: white;
    padding: 3px 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    margin-right: 8px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1D3557;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-item h4 i {
    color: #457B9D;
}

.contact-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.map-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 500px;
}

/* 정적 지도 스타일 */
.static-map {
    width: 100%;
    height: 100%;
    position: relative;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.map-fallback {
    display: none;
    padding: 40px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    height: 100%;
    box-sizing: border-box;
}

.map-info-static {
    max-width: 400px;
    margin: 0 auto;
}

.map-info-static h3 {
    font-size: 24px;
    color: #1D3557;
    margin-bottom: 20px;
    font-weight: 700;
}

.map-info-static p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.map-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 25px;
}

.map-link {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: center;
}

.map-link.naver {
    background: #03C75A;
    color: white;
}

.map-link.naver:hover {
    background: #02B351;
    transform: translateY(-2px);
}

.map-link.kakao {
    background: #FEE500;
    color: #000;
}

.map-link.kakao:hover {
    background: #FDD800;
    transform: translateY(-2px);
}

.map-link.google {
    background: #4285F4;
    color: white;
}

.map-link.google:hover {
    background: #3367D6;
    transform: translateY(-2px);
}

/* 태블릿 반응형 */
@media (max-width: 1024px) {
    .location-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 400px;
    }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .location-section {
        padding: 60px 0;
    }
    
    .location-content {
        gap: 30px;
        margin-top: 30px;
    }
    
    .address-card,
    .transport-item,
    .contact-item {
        padding: 20px;
    }
    
    .transport-info {
        gap: 15px;
    }
    
    .map-container {
        height: 350px;
    }
    
    .contact-info {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .location-section {
        padding: 40px 0;
    }
    
    .address-card,
    .transport-item,
    .contact-item {
        padding: 15px;
    }
    
    .transport-item h4 {
        font-size: 16px;
    }
    
    .contact-item h4 {
        font-size: 14px;
    }
    
    .map-container {
        height: 300px;
    }
    
    .map-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .map-link {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .map-fallback {
        padding: 20px;
    }
    
    .map-info-static h3 {
        font-size: 20px;
    }
    
    .map-info-static p {
        font-size: 14px;
    }
}

/* 지도 이미지 확대축소 기능 스타일 */
.map-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.map-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 10;
}

.map-zoom-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.map-zoom-btn:hover {
    background: #1D3557;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.map-zoom-btn:active {
    transform: scale(0.95);
}

.interactive-map {
    user-select: none;
}

.office-map-image {
    transition: transform 0.3s ease;
    transform-origin: center;
}

/* 지도 모달 스타일 */
.map-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.map-modal.active {
    opacity: 1;
    visibility: visible;
}

.map-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.map-modal.active .map-modal-content {
    transform: scale(1);
}

.map-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.map-modal-header h3 {
    margin: 0;
    color: #1D3557;
    font-size: 18px;
    font-weight: 600;
}

.map-modal-close {
    font-size: 28px;
    color: #666;
    cursor: pointer;
    line-height: 1;
    padding: 0 5px;
    transition: color 0.2s ease;
}

.map-modal-close:hover {
    color: #1D3557;
}

.map-modal-body {
    padding: 0;
    overflow: auto;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-map-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    cursor: move;
}

.map-modal-controls {
    display: flex;
    gap: 10px;
    padding: 20px 25px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    justify-content: center;
}

.zoom-btn {
    padding: 10px 16px;
    background: #1D3557;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.zoom-btn:hover {
    background: #457B9D;
    transform: translateY(-1px);
}

.zoom-btn:active {
    transform: translateY(0);
}

/* 모바일 지도 모달 반응형 */
@media (max-width: 768px) {
    .map-modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .map-modal-header {
        padding: 15px 20px;
    }
    
    .map-modal-header h3 {
        font-size: 16px;
    }
    
    .map-modal-controls {
        padding: 15px 20px;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .zoom-btn {
        padding: 8px 12px;
        font-size: 13px;
        flex: 1;
        min-width: 80px;
        justify-content: center;
    }
    
    .map-modal-body {
        max-height: 60vh;
    }
    
    /* 푸터 태블릿/모바일 레이아웃 */
    .footer-content {
        flex-direction: column;
        gap: 25px;
        text-align: left;
    }
    
    .footer-left {
        order: 2;
    }
    
    .footer-right {
        order: 1;
        width: 100%;
        justify-content: center;
    }
    
    .footer-image {
        max-width: 100%;
        width: 100%;
    }
}

/* 모바일/태블릿 전역 container padding */
@media (max-width: 1026px) {
    /* 모든 container에 기본 패딩 적용 */
    section .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* wrapper가 있는 경우 container 패딩 제거하고 wrapper에만 패딩 적용 */
    .definition-section .container,
    .importance-section .container,
    .legal-section .container,
    .our-service-section .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* 최상위 wrapper 요소들에만 패딩 적용 (중첩된 요소는 제외) */
    .definition-grid,
    .section-header,
    .legal-content,
    .importance-content,
    .services-grid,
    .service-promise,
    .cta-content {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* 강제 CSS 새로고침을 위한 타임스탬프: Sun Oct 12 03:10:09 PM UTC 2025 */
