/* AOS 애니메이션 가시성 강제 (Emergency Visibility Fix) */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

:root {
    /* Color Palette - Premium Blue & Green */
    --primary: #0056b3;
    --primary-dark: #003d80;
    --primary-light: #e6f0ff;
    --secondary: #7cb342;
    --secondary-dark: #558b2f;
    
    /* Text Colors */
    --text-main: #1a1a1a;
    --text-muted: #666666;
    --text-light: #999999;
    
    /* Backgrounds */
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --white: #ffffff;
    
    /* Expert UI Elements */
    --glass: rgba(255, 255, 255, 0.85);
    --glass-dark: rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 15px;
    --radius-lg: 30px;
    --radius-full: 50px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Pretendard', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Atoms: Buttons */
.btn-primary, .btn-outline {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.25);
}

.btn-outline {
    background-color: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

.btn-outline:hover {
    background-color: var(--bg-white);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: transparent;
    transition: var(--transition);
}

header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 0.6rem 0;
    box-shadow: var(--shadow);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition);
}

header:not(.scrolled) .nav-links a:not(.btn-primary) {
    color: var(--white);
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

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

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('hero.png') no-repeat center center/cover;
    z-index: -1;
    transition: transform 0.5s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content h1 span {
    color: var(--secondary);
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
    opacity: 1;
    color: var(--white);
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

/* About & History Sections */
.about, .history {
    padding: 100px 0;
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.about-text {
    flex: 1.2;
}

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.about-text h2 span {
    color: var(--primary);
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.signature {
    margin-top: 2rem;
    font-weight: 700;
    color: var(--text-main);
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
}

.about-image {
    flex: 0.8;
}

.image-box {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 20px 20px 0 var(--bg-light);
}

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

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

/* History Timeline */
.history {
    background-color: var(--bg-light);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--primary);
    transform: translateX(-50%);
    opacity: 0.2;
}

.timeline-item {
    padding: 2rem 0;
    position: relative;
    width: 50%;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-right: 0;
    padding-left: 3rem;
}

.timeline-dot {
    position: absolute;
    right: -11px;
    top: 50%;
    width: 22px;
    height: 22px;
    background: var(--white);
    border: 4px solid var(--primary);
    border-radius: 50%;
    z-index: 10;
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -11px;
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-left: 5px solid var(--primary);
}

.timeline-item:nth-child(even) .timeline-content:hover {
    border-left: none;
    border-right: 5px solid var(--primary);
}

.timeline-date {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.timeline-content ul {
    list-style: none;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.timeline-content li {
    margin-bottom: 0.4rem;
    position: relative;
    padding-left: 1.2rem;
}

.timeline-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Solutions Grid */
.solutions {
    padding: 100px 0;
    background-color: var(--white);
}

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

/* Organisms: Solutions Grid Cards */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

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

.card-content {
    padding: 2.5rem;
    flex-grow: 1;
}

.category-tag {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
}

.card-icon {
    width: 65px;
    height: 65px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.8rem;
    transition: var(--transition);
}

.card:hover .card-icon {
    background: var(--primary);
    color: var(--bg-white);
    transform: rotate(-5deg) scale(1.1);
}

.card-content h3 {
    margin-bottom: 1.2rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.solution-list {
    list-style: none;
    padding: 0;
}

.solution-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    padding-left: 1.5rem;
    position: relative;
}

.solution-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.card-content p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* TGV Process Section */
.process-section {
    margin-top: 6rem;
    padding-top: 4rem;
    border-top: 1px solid #ddd;
}

.subsection-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--primary);
}

.process-diagram {
    max-width: 900px;
    margin: 0 auto 4rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.process-diagram img {
    width: 100%;
    display: block;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

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

.step:hover .step-number {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.step h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Automation Equipment Grid */
.equipment {
    padding: 100px 0;
    background-color: var(--white);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.equip-item {
    padding: 2.5rem 1.5rem;
    background: var(--bg-light);
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.equip-item:hover {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.equip-item i {
    color: var(--primary);
    width: 40px;
    height: 40px;
    margin-bottom: 1.5rem;
}

.equip-item h4 {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.equip-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* WPT Section */
.wpt {
    padding: 100px 0;
    background: linear-gradient(135deg, #001f3f, #003d80);
    color: var(--white);
}

.wpt-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.wpt-text h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.wpt-features {
    list-style: none;
    margin-top: 2rem;
}

.wpt-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.wpt-features i {
    color: var(--secondary);
}

.wpt-image {
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Contact Section Styles - 담당자 카드 중심 개편 */
.contact {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    background: var(--white);
    padding: 4rem;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.info-list {
    margin-top: 2rem;
}

.contact-group h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 0.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    color: var(--primary);
}

.info-item a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input, .contact-form textarea, .contact-form select {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
    background: var(--white);
}

.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    border-color: var(--primary);
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    width: 100%;
}

/* Partners Section */
.partners {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.partners-subsection {
    margin-top: 4rem;
}

.subsection-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-main);
    border-left: 5px solid var(--primary);
    padding-left: 1.5rem;
    text-align: left;
}

.subsection-title span {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 0.5rem;
}

/* Major Customers Logo */
.customer-logos {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.customer-logos img {
    max-width: 100%;
    height: auto;
    filter: grayscale(0.2);
    transition: var(--transition);
}

.customer-logos:hover img {
    filter: grayscale(0);
}

/* Education Partners Grid */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.edu-card {
    background: var(--bg-light);
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.edu-card:hover {
    background: var(--bg-white);
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.edu-logo {
    width: 100px;
    height: 100px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.edu-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.edu-card:hover .edu-logo {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.edu-card:hover .edu-logo img {
    transform: scale(1.1);
}

.edu-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.edu-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}


/* Footer */
footer {
    padding: 4rem 0;
    background-color: var(--bg-light);
    border-top: 1px solid #eee;
}

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

.legal a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.legal a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-flex {
        flex-direction: column;
        gap: 3rem;
    }
    .about-text {
        text-align: center;
    }
    .signature {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 992px) {
    .contact-box {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .timeline::before {
        left: 30px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
    }
    .timeline-item:nth-child(even) {
        left: 0;
    