/* ========================================
   WITHSTEP 웹사이트 스타일시트

   수정 가이드:
   - 색상 변경: :root 섹션의 CSS 변수 수정
   - 폰트 변경: :root의 --font-family 수정
   - 반응형: 하단 @media 쿼리에서 수정
   ======================================== */

/* CSS 변수 - 여기서 색상/폰트 쉽게 변경 */
:root {
    /* 메인 색상 */
    --primary-color: #0062b0;
    --primary-dark: #004d8c;
    --primary-light: #0075c1;

    /* 보조 색상 */
    --secondary-color: #00a0e0;
    --accent-color: #00d4ff;

    /* 텍스트 색상 */
    --text-dark: #222222;
    --text-gray: #666666;
    --text-light: #999999;

    /* 배경 색상 */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #f0f0f0;
    --bg-dark: #1a1a1a;

    /* 폰트 */
    --font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;

    /* 간격 */
    --header-height: 80px;
    --section-padding: 100px;
    --container-width: 1200px;

    /* 그림자 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);

    /* 전환 효과 */
    --transition: all 0.3s ease;
}

/* 리셋 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   헤더
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.header-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

.logo a:hover img {
    opacity: 0.8;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    display: block;
    padding: 10px 0;
    font-weight: 500;
    color: var(--text-dark);
}

.nav-item > a:hover {
    color: var(--primary-color);
}

/* 드롭다운 메뉴 */
.dropdown {
    position: absolute;
    top: 100%;
    left: -20px;
    min-width: 180px;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    border-radius: 4px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text-gray);
}

.dropdown li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.header-utils {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-btn {
    color: var(--text-gray);
    transition: var(--transition);
}

.search-btn:hover {
    color: var(--primary-color);
}

.lang-btn {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
    padding: 5px 10px;
    border: 1px solid var(--bg-gray);
    border-radius: 4px;
}

.lang-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* 모바일 메뉴 버튼 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* 모바일 메뉴 활성화 상태 */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* 모바일에서 메뉴 활성화 시 네비게이션 표시 */
@media (max-width: 768px) {
    .nav.active {
        display: block;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        z-index: 999;
        overflow-y: auto;
        animation: slideDown 0.3s ease-out;
    }

    .nav.active .nav-menu {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    .nav.active .nav-item {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav.active .nav-item > a {
        display: block;
        padding: 15px 10px;
        font-size: 16px;
    }

    .nav.active .dropdown {
        position: static;
        display: none;
        background: var(--bg-light);
        box-shadow: none;
        padding: 10px 20px;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    }

    .nav.active .nav-item:hover .dropdown,
    .nav.active .dropdown.active {
        display: block;
        max-height: 500px;
        padding: 10px 20px;
    }

    .nav.active .dropdown li {
        padding: 8px 0;
    }

    .nav.active .dropdown a {
        font-size: 14px;
        color: var(--text-gray);
    }

    .header-utils.active {
        display: flex;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1000;
        gap: 10px;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* 메뉴 열렸을 때 body 스크롤 방지 */
body.menu-open {
    overflow: hidden;
}

/* ========================================
   히어로 섹션 (메인 배너)
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
    background-size: 100px;
    opacity: 0.5;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease, visibility 1.2s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-content {
    text-align: center;
    color: var(--bg-white);
    z-index: 2;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 25px;
    opacity: 0.95;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 35px;
    letter-spacing: -1px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-title span {
    color: var(--accent-color);
}

.hero-description {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.9;
    margin-bottom: 45px;
    opacity: 0.92;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.hero-btn {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--bg-white);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

.hero-btn:hover {
    background-color: var(--accent-color);
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.hero-prev,
.hero-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.hero-prev:hover,
.hero-next:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

.hero-dots {
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    transition: var(--transition);
}

.hero-dot.active,
.hero-dot:hover {
    background-color: var(--bg-white);
}

/* ========================================
   섹션 공통
   ======================================== */
.section {
    padding: var(--section-padding) 0;
}

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

.section-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
}

/* ========================================
   회사소개 섹션
   ======================================== */
.about {
    background-color: var(--bg-white);
}

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

.about-text h3 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.more-btn {
    display: inline-block;
    font-weight: 600;
    color: var(--primary-color);
}

.more-btn:hover {
    color: var(--primary-dark);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background-color: var(--bg-light);
    border-radius: 10px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-unit {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 10px;
}

/* ========================================
   서비스 섹션
   ======================================== */
.services {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--bg-white);
    padding: 0;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    height: 200px;
    overflow: hidden;
    background-color: var(--bg-gray);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 30px auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    padding: 0 30px;
    color: var(--text-dark);
}

.service-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 20px;
    padding: 0 30px;
}

.service-details {
    padding: 0 30px 30px;
    text-align: left;
    list-style: disc;
    list-style-position: inside;
    color: var(--text-gray);
}

.service-details li {
    margin: 8px 0;
    font-size: 14px;
}

.service-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.service-link:hover {
    color: var(--primary-dark);
}

/* ========================================
   제품 섹션
   ======================================== */
.products {
    background-color: var(--bg-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-image {
    height: 200px;
    background-color: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 25px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.product-desc {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.product-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

/* ========================================
   뉴스룸 섹션
   ======================================== */
.news {
    background-color: var(--bg-light);
}

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

.news-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.news-image {
    height: 180px;
    background-color: var(--bg-gray);
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.news-content {
    padding: 25px;
}

.news-date {
    font-size: 13px;
    color: var(--text-light);
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    margin: 10px 0;
    color: var(--text-dark);
    line-height: 1.4;
}

.news-excerpt {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

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

/* ========================================
   문의 섹션
   ======================================== */
.contact {
    background-color: var(--bg-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.contact-info > p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.contact-list li {
    margin-bottom: 20px;
}

.contact-list strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-list span {
    font-size: 16px;
    color: var(--text-dark);
}

.contact-form {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-family: inherit;
    border: 1px solid var(--bg-gray);
    border-radius: 6px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: var(--primary-dark);
}

/* ========================================
   푸터
   ======================================== */
.footer {
    background-color: var(--bg-dark);
    color: var(--bg-white);
    padding: 60px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--bg-white);
    letter-spacing: 2px;
    display: inline-block;
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--bg-white);
}

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

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-col ul li a:hover {
    color: var(--bg-white);
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.footer-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 5px;
}

.footer-policy {
    margin: 20px 0;
}

.footer-policy a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 15px;
}

.footer-policy a:hover {
    color: var(--bg-white);
}

.copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 20px;
}

/* ========================================
   반응형 디자인
   ======================================== */

/* 태블릿 */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero-title {
        font-size: 56px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 모바일 */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
        --section-padding: 60px;
    }

    .nav,
    .header-utils {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-subtitle {
        font-size: 12px;
        letter-spacing: 3px;
    }

    .hero-title {
        font-size: 36px;
        letter-spacing: -0.5px;
        margin-bottom: 25px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 35px;
    }

    .hero-btn {
        padding: 14px 32px;
        font-size: 15px;
    }

    .search-modal-content {
        width: 95%;
        padding: 50px 20px 30px;
    }

    .search-box {
        flex-direction: column;
    }

    #searchInput,
    .search-submit {
        width: 100%;
    }

    .section-title {
        font-size: 28px;
    }

    .services-grid,
    .products-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    /* Company Overview 모바일 */
    .about-overview {
        padding: 0 20px !important;
        margin-bottom: 40px !important;
    }

    .about-overview-content {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .about-image {
        display: none !important;
    }

    .about-text {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .about-overview h3 {
        font-size: 22px !important;
        text-align: center !important;
        margin-bottom: 20px !important;
    }

    .about-text p,
    .about-overview .highlight {
        font-size: 14px !important;
        text-align: center !important;
        line-height: 1.8 !important;
        padding: 0 10px !important;
    }

    .about-overview .highlight {
        font-size: 15px !important;
    }

    /* CEO 인사말 모바일 */
    .ceo-message {
        padding: 40px 20px !important;
        margin: 40px 0 !important;
        overflow-x: hidden !important;
    }

    .ceo-layout {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .ceo-image {
        display: none !important;
    }

    .ceo-message .section-header h3 {
        font-size: 22px !important;
        text-align: center !important;
    }

    .ceo-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 10px !important;
    }

    .ceo-content h4 {
        font-size: 18px !important;
        margin-bottom: 20px !important;
        text-align: center !important;
    }

    .ceo-intro {
        font-size: 14px !important;
        text-align: center !important;
    }

    .ceo-content p {
        font-size: 14px !important;
        line-height: 1.8 !important;
        text-align: center !important;
        margin: 15px 0 !important;
    }

    .ceo-sign {
        text-align: center !important;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

/* 작은 모바일 */
@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-btn {
        padding: 14px 30px;
    }

    .contact-form {
        padding: 25px;
    }
}

/* ========================================
   WITHSTEP 커스텀 스타일
   ======================================== */

/* 페이지 타이틀 */
.page-title {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    margin-top: var(--header-height);
}

.page-title h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-title p {
    font-size: 18px;
    opacity: 0.9;
}

.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* About 섹션 - Problem & Solution */
.about-overview {
    margin-bottom: 80px;
}

.about-overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 50px;
}

.about-text h3 {
    font-size: 32px;
    margin-bottom: 30px;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-overview h3 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.about-overview .highlight {
    font-size: 20px;
    line-height: 1.8;
    margin: 30px 0;
    color: var(--primary-color);
}

.problem-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.problem-box,
.solution-box {
    padding: 40px;
    background: var(--bg-light);
    border-radius: 12px;
}

.problem-box h4,
.solution-box h4 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.problem-box ul {
    list-style: disc;
    padding-left: 20px;
    margin: 20px 0;
}

.problem-box li {
    margin: 10px 0;
    color: var(--text-gray);
}

.solution-approach {
    margin-top: 20px;
    padding: 15px;
    background: var(--bg-white);
    border-left: 4px solid var(--primary-color);
}

.solution-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
}

.solution-steps .step {
    padding: 20px;
    background: var(--bg-white);
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
}

.step-num {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 10px;
}

.step h5 {
    font-size: 18px;
    margin: 10px 0;
}

.result-text {
    margin-top: 20px;
    padding: 15px;
    background: var(--bg-white);
    border-left: 4px solid var(--secondary-color);
    font-weight: 500;
}

/* CEO 메시지 */
.ceo-message {
    background: var(--bg-light);
    padding: 60px 0;
    margin: 80px 0;
}

.ceo-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.ceo-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
}

.ceo-image img {
    width: 100%;
    height: auto;
    display: block;
}

.ceo-content {
    line-height: 1.8;
}

.ceo-content h4 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary-color);
    line-height: 1.5;
}

.ceo-intro {
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 500;
}

.ceo-content p {
    margin: 20px 0;
}

.ceo-closing {
    font-weight: 500;
    margin-top: 40px;
}

.ceo-sign {
    text-align: right;
    margin-top: 30px;
    font-size: 18px;
}

/* 비전·미션·핵심가치 */
.vision-mission {
    margin: 80px 0;
}

.vmv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.vmv-item {
    padding: 40px;
    background: var(--bg-light);
    border-radius: 12px;
    text-align: center;
}

.vmv-item h4 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.vmv-item h4 .ko {
    display: block;
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 5px;
}

.vmv-text {
    font-size: 20px;
    font-weight: 700;
    margin: 20px 0;
    line-height: 1.6;
}

.vmv-desc {
    color: var(--text-gray);
    margin-top: 10px;
}

.vmv-item ul {
    text-align: left;
    margin-top: 20px;
}

.vmv-item li {
    margin: 15px 0;
    color: var(--text-gray);
    line-height: 1.6;
}

.core-values-list li {
    padding-left: 10px;
}

/* 인증 */
.certification {
    margin: 80px 0;
}

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

.cert-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 12px;
}

.cert-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.cert-item h5 {
    font-size: 20px;
    margin: 15px 0 10px;
}

.operation-fields {
    margin-top: 40px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 12px;
    text-align: center;
}

.operation-fields h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* 서비스 섹션 업데이트 */
.service-details {
    list-style: none;
    margin-top: 20px;
}

.service-details li {
    padding: 8px 0;
    color: var(--text-gray);
    border-bottom: 1px solid #eee;
}

.service-details li:last-child {
    border-bottom: none;
}

.service-fields {
    margin-top: 60px;
    text-align: center;
}

.service-fields h3 {
    font-size: 28px;
    margin-bottom: 30px;
}

.fields-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.field-item {
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
}

.field-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

/* 운영방식 섹션 */
.operation-philosophy {
    margin-bottom: 60px;
    text-align: center;
}

.operation-hero {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.operation-hero img {
    width: 100%;
    height: auto;
    display: block;
}

.operation-philosophy .emphasis {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 30px 0;
}

.operation-scope {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.scope-item {
    padding: 15px 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 30px;
    font-weight: 500;
}

.bottom-note {
    margin-top: 30px;
    font-size: 18px;
    line-height: 1.8;
}

.operation-process {
    margin: 80px 0;
}

.operation-process h3 {
    font-size: 28px;
    margin-bottom: 40px;
    text-align: center;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 12px;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.process-step h4 {
    font-size: 20px;
    margin: 15px 0;
}

.process-arrow {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 700;
}

.management-system,
.performance-system,
.risk-management {
    margin: 60px 0;
}

.management-system h3,
.performance-system h3,
.risk-management h3 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.management-grid,
.performance-grid,
.risk-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.management-item,
.performance-item,
.risk-item {
    padding: 30px;
    background: var(--bg-light);
    border-radius: 12px;
    text-align: center;
}

.management-item h4,
.performance-item h4,
.risk-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.why-withstep {
    margin: 80px 0;
    padding: 60px 0;
    background: var(--bg-light);
}

.why-withstep h3 {
    font-size: 32px;
    margin-bottom: 50px;
    text-align: center;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-item {
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.why-item h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* 산업분야 섹션 */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.industry-card {
    padding: 0;
    background: var(--bg-white);
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.industry-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.industry-image {
    height: 180px;
    overflow: hidden;
    background-color: var(--bg-gray);
}

.industry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.industry-card:hover .industry-image img {
    transform: scale(1.1);
}

.industry-icon {
    margin: 25px auto 15px;
    color: var(--primary-color);
}

.industry-card h3 {
    font-size: 18px;
    margin: 15px 0;
    padding: 0 20px;
}

.industry-card p {
    color: var(--text-gray);
    font-size: 14px;
    padding: 0 20px 25px;
}

/* 고객지원 섹션 */
.intro-process {
    margin-bottom: 80px;
}

.intro-process h3 {
    font-size: 28px;
    margin-bottom: 40px;
    text-align: center;
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.flow-step {
    flex: 1;
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-light);
    border-radius: 12px;
}

.flow-num {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.flow-step h4 {
    font-size: 18px;
    margin: 15px 0;
}

.flow-arrow {
    font-size: 20px;
    color: var(--primary-color);
}

/* FAQ */
.faq-section h3 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question svg {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p {
    margin: 10px 0;
    line-height: 1.8;
}

/* Contact 섹션 업데이트 */
.contact-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.tab-btn {
    padding: 15px 40px;
    background: var(--bg-light);
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-info-box {
    margin-top: 60px;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 12px;
}

.contact-info-box h3 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    margin: 15px 0;
    background: white;
    border-radius: 8px;
}

.info-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

.info-item p {
    color: var(--text-gray);
    font-size: 14px;
}

/* Footer 업데이트 */
.footer-tagline {
    margin-top: 10px;
    color: var(--text-light);
    font-size: 14px;
}

/* 반응형 - 추가 스타일 */
@media (max-width: 992px) {
    .problem-solution {
        grid-template-columns: 1fr;
    }

    .vmv-grid {
        grid-template-columns: 1fr;
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }

    .fields-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .management-grid,
    .performance-grid,
    .risk-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-flow {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .fields-grid,
    .industries-grid {
        grid-template-columns: 1fr;
    }

    .operation-scope {
        flex-direction: column;
        align-items: center;
    }

    .contact-tabs {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
    }
}


/* ========================================
   검색 모달
   ======================================== */
.search-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.search-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.search-modal-content {
    background-color: var(--bg-white);
    padding: 60px 40px 40px;
    border-radius: 12px;
    max-width: 700px;
    width: 90%;
    position: relative;
    animation: slideDown 0.3s ease;
}

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

.search-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 36px;
    font-weight: 300;
    color: var(--text-gray);
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.search-close:hover {
    color: var(--primary-color);
}

.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

#searchInput {
    flex: 1;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid var(--bg-light);
    border-radius: 8px;
    transition: var(--transition);
    font-family: 'Noto Sans KR', sans-serif;
}

#searchInput:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-submit {
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Noto Sans KR', sans-serif;
}

.search-submit:hover {
    background-color: var(--primary-dark);
}

.search-results {
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    padding: 15px;
    border-bottom: 1px solid var(--bg-light);
    cursor: pointer;
    transition: var(--transition);
}

.search-result-item:hover {
    background-color: var(--bg-light);
}

.search-result-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.search-result-item p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.search-no-results {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-gray);
}



/* ========================================
   Policy Pages (약관 페이지)
   ======================================== */
.policy-content {
    background: var(--bg-white);
}

.policy-text {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.9;
}

.policy-intro {
    font-size: 16px;
    margin-bottom: 40px;
    padding: 25px;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.policy-text h3 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 50px;
    margin-bottom: 20px;
    color: var(--primary-color);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-light);
}

.policy-text p {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.policy-text ul {
    margin: 20px 0 20px 20px;
    list-style: disc;
}

.policy-text ul li {
    margin: 10px 0;
    color: var(--text-gray);
    line-height: 1.7;
}

.contact-box {
    padding: 25px;
    background: var(--bg-light);
    border-radius: 8px;
    margin: 20px 0;
}

.contact-box p {
    margin: 8px 0;
    color: var(--text-dark);
}

.contact-box strong {
    color: var(--primary-color);
}

