/* ===== CSS Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== INSTANT LOADING MODE ===== */
/* Disable ALL animations and transitions for instant display */
*, *::before, *::after {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
}

/* Exception: Keep smooth scrolling */
html {
    scroll-behavior: smooth !important;
}

/* Exception: Keep language dropdown transition */
.language-dropdown {
    transition: opacity 0.2s ease, visibility 0.2s ease !important;
}

/* Exception: Keep button hover effects */
button, .btn, .nav-link, .language-btn {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    position: relative;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== Variables ===== */
:root {
    --primary-color: #4A6FA5;
    --secondary-color: #1E3A5F;
    --accent-color: #FF6B35;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --background-light: #f8f9fa;
    --background-dark: #2c3e50;
    --white: #ffffff;
    --border-color: #e9ecef;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --section-padding: 80px 0;
}

/* ===== Container & Layout ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.highlight {
    color: var(--primary-color);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

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

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
}

/* Timeline h3 제외 - timeline은 about-modern.css에서 관리 */
.section-title:not(.timeline-content h3)::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* Timeline 영역에서는 section-title 효과 비활성화 */
.timeline-grid .section-title::after,
.timeline-content .section-title::after,
.timeline-card .section-title::after {
    display: none !important;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    width: auto;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    padding: 10px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 100;
}

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

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    transition: var(--transition);
}

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

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle-line {
    position: absolute;
    left: 50%;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-toggle-line:nth-child(1) {
    top: 7px;
}

.nav-toggle-line:nth-child(2) {
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.nav-toggle-line:nth-child(3) {
    bottom: 7px;
}

/* X transformation when active */
.nav-toggle.active .nav-toggle-line {
    background-color: var(--secondary-color);
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    top: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-50%) translateY(-50%) scale(0);
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
    bottom: 50%;
    transform: translateX(-50%) translateY(50%) rotate(-45deg);
}

/* Hover effect */
.nav-toggle:hover .nav-toggle-line {
    background-color: var(--secondary-color);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px 0;
    background-color: transparent;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.8) 0%, rgba(74, 111, 165, 0.6) 100%);
    z-index: 1;
}

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

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100%;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero-content * {
    color: #ffffff !important;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    word-wrap: break-word;
    hyphens: none;
    overflow-wrap: break-word;
    max-width: 100%;
    padding: 0 10px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
    color: #ffffff;
    max-width: 100%;
    padding: 0 15px;
    word-wrap: break-word;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 80px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
    padding: 50px 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
    color: var(--white);
    padding: 20px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #FF6B35;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 8px rgba(255, 107, 53, 0.25);
    transition: all 0.3s ease;
}

.stat-label {
    font-size: 1rem;
    color: #ffffff;
    opacity: 0.95;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Enhanced stat item hover effects */

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.stat-item:hover .stat-number {
    transform: scale(1.05);
    color: #F45432;
    text-shadow: 0 4px 16px rgba(255, 107, 53, 0.4);
}

/* Responsive improvements for stats */
@media (max-width: 768px) {
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* ===== Trusted Partners Section ===== */
.trusted-partners {
    padding: var(--section-padding);
    background-color: var(--background-light);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    align-items: center;
    margin-top: 60px;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 80px;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
    max-width: 100%;
    max-height: 40px;
    width: auto;
    height: auto;
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%) opacity(1);
}

/* Responsive Partners Grid */
@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .partner-logo {
        height: 60px;
    }
}

/* ===== Company Overview Section ===== */
.company-overview {
    padding: var(--section-padding);
    background-color: var(--white);
}

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

.overview-text h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.overview-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.company-info {
    margin-top: 40px;
}

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

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.info-item div strong {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 5px;
}

.info-item div span {
    color: var(--text-light);
    font-size: 0.95rem;
}

.overview-image {
    position: relative;
}

.overview-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ===== Philosophy Section ===== */
.philosophy {
    padding: var(--section-padding);
    background-color: var(--background-light);
}

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

.philosophy-item {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.philosophy-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.philosophy-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    color: var(--white);
    font-size: 2rem;
}

.philosophy-item h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.philosophy-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== Products Section ===== */
.products {
    padding: var(--section-padding);
    background-color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.product-category h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.product-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.product-item {
    padding: 30px 25px;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.product-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
}

.product-item h4 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.product-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* ===== Customers Section ===== */
.customers {
    padding: var(--section-padding);
    background-color: var(--background-light);
}

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

.customer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 120px;
}

.customer-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

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

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

/* ===== Facilities Section ===== */
.facilities {
    padding: var(--section-padding);
    background-color: var(--white);
}

/* Facilities Overview Section */
.facilities-overview {
    padding: 120px 0 100px;
    background-color: var(--white);
}

.facilities-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Equipment Section */
.equipment {
    padding: var(--section-padding);
    background-color: var(--background-light);
}

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

/* Factory Locations Section */
.factory-locations {
    padding: var(--section-padding);
    background-color: var(--white);
}

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

.location-card {
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.location-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.factory-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.factory-item {
    background-color: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.factory-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(74, 111, 165, 0.1);
}

.factory-item h4 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.factory-item p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: 500;
}

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

.factory-item ul li {
    padding: 5px 0;
    color: var(--text-light);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.factory-item ul li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 20px;
}

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

.facility-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.facility-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.facility-image {
    height: 250px;
    overflow: hidden;
}

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

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

.facility-content {
    padding: 30px;
}

.facility-content h3 {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.facility-content p {
    color: var(--text-light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.facility-content i {
    color: var(--primary-color);
    width: 16px;
}

/* Certifications */
.certifications {
    margin-top: 80px;
    text-align: center;
}

.certifications h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 40px;
}

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

.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.cert-item img {
    height: 80px;
    width: auto;
    margin-bottom: 15px;
}

.cert-item span {
    color: var(--text-dark);
    font-weight: 600;
    text-align: center;
}

/* ===== Contact Section ===== */
.contact {
    padding: var(--section-padding);
    background-color: var(--background-light);
}

/* Factory Locations Section - Refined Design */
.factory-locations-section {
    margin-top: 80px;
    padding: 60px 40px;
    background: #ffffff;
    border-radius: 16px;
    position: relative;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.factory-section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 50px;
    position: relative;
}

.factory-section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.factory-locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.factory-location-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
}

/* Subtle top accent line for all cards */
.factory-location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.factory-location-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.12);
    border-color: #667eea;
}

.factory-header {
    background: #fafbfc;
    color: #333;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #e9ecef;
}

.factory-number {
    font-size: 2.2rem;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.9;
    min-width: 60px;
}

.factory-header h4 {
    font-size: 1.3rem;
    margin: 0;
    font-weight: 600;
    color: #333;
}

.factory-details {
    padding: 25px;
}

.factory-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.factory-address {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.factory-info {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.factory-info li {
    padding: 8px 0;
    color: #555;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.factory-info i {
    color: #667eea;
    width: 16px;
    text-align: center;
    opacity: 0.8;
}

.map-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    width: 100%;
    justify-content: center;
}

/* Remove Myanmar-specific styling - unified design */

.map-btn:hover {
    background: #4A6FA5;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 111, 165, 0.3);
}

.factory-location-card:nth-child(4) .map-btn:hover {
    background: #00804d;
    box-shadow: 0 4px 12px rgba(0, 128, 77, 0.3);
}

/* Map Modal */
.map-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s;
}

.map-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    position: relative;
    animation: slideIn 0.3s;
}

.close-modal {
    color: #999;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #333;
}

#mapTitle {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.5rem;
}

.map-container {
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e9ecef;
}

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

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

/* Mobile optimization for map modal */
@media (max-width: 768px) {
    .map-modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 15px;
    }
    
    .map-container {
        height: 400px;
    }
    
    #mapTitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .map-modal-content {
        margin: 15% auto;
    }
    
    .map-container {
        height: 350px;
    }
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
    width: 25px;
}

.contact-item strong {
    color: var(--text-dark);
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    color: var(--text-dark);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Map Container */
.map-container {
    margin-top: 60px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--background-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo span {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

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

.footer-section i {
    margin-right: 8px;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .overview-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .customers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .factory-locations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--shadow);
        transform: translateX(-100%);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: var(--background-light);
        margin-top: 10px;
    }
    
    /* Hero 섹션 모바일 최적화 */
    .hero {
        min-height: 80vh;
        height: auto;
        padding: 40px 0;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 50px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin-top: 40px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .product-items {
        grid-template-columns: 1fr;
    }
    
    .customers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .factory-locations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .factory-location-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .factory-section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .factory-section-title::after {
        width: 50px;
        bottom: -12px;
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .location-card {
        padding: 30px 20px;
    }
    
    .factory-item {
        padding: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Hero 섹션 작은 화면 최적화 */
    .hero {
        min-height: 70vh;
        padding: 30px 0;
    }
    
    .hero-content {
        margin-bottom: 30px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
        padding: 0 5px;
    }
    
    .hero-buttons {
        margin-bottom: 40px;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 30px;
    }
    
    .stat-number {
        font-size: 1.8rem;
        margin-bottom: 5px;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .customers-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .factory-header {
        padding: 15px 20px;
        gap: 15px;
    }
    
    .factory-number {
        font-size: 2rem;
    }
    
    .factory-header h4 {
        font-size: 1.1rem;
    }
    
    .factory-details {
        padding: 20px;
    }
    
    .factory-info {
        font-size: 0.85rem;
    }
    
    .factory-locations-section {
        padding: 40px 20px;
        margin-top: 60px;
    }
}

/* 매우 작은 화면 (아이폰 SE, 갤럭시 S20 등) */
@media (max-width: 375px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        min-height: 65vh;
        padding: 20px 0;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 25px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
    
    .factory-section-title {
        font-size: 1.8rem;
    }
    
    .factory-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .factory-number {
        font-size: 1.8rem;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading Animation - DISABLED by default */
/* Uncomment below to enable loading animations */
/*
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease-out;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}
*/

/* Default: All content visible immediately */
.loading {
    opacity: 1;
    transform: none;
}

.loading.loaded {
    opacity: 1;
    transform: none;
}

/* Force all sections to be visible */
section,
.section,
.philosophy-item,
.product-item,
.facility-item,
.customer-logo,
.feature-card,
.business-item,
.stat-item,
.info-item {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* Remove any transition delays */
* {
    animation-delay: 0s !important;
    transition-delay: 0s !important;
}

/* No Animation Mode - for faster loading */
body.no-animation .loading {
    opacity: 1;
    transform: none;
    transition: none;
}

body.no-animation .loading.loaded {
    opacity: 1;
    transform: none;
}

/* ===== Image Placeholders ===== */
.hero-background {
    background: linear-gradient(135deg, #1E3A5F 0%, #4A6FA5 50%, #FF6B35 100%);
}

/* Image error handling */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

img:not([src]), 
img[src=""], 
img:not([src]):not([srcset]) {
    visibility: hidden;
}

/* Beautiful placeholder for missing images */
.image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.image-placeholder i {
    font-size: 48px;
    color: #cbd5e0;
    z-index: 1;
}

/* Timeline milestone images */
.milestone-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.milestone-icon i {
    font-size: 36px;
    color: white;
}

/* 갤러리 그리드 균등 배치 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* 갤러리 아이템 통일 */
.gallery-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* 이미지 컨테이너 - 정사각형에 가깝게 */
.gallery-image {
    width: 100%;
    height: 280px;  /* 고정 높이로 통일 */
    overflow: hidden;
    position: relative;
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* 이미지 비율 유지하며 꽉 채우기 */
    object-position: center;
}

/* 파란색 패턴 제거 */
.gallery-image::before,
.gallery-image::after {
    display: none !important;
}

/* 이미지가 로드되지 않은 경우 아이콘 표시 */
.gallery-image i {
    font-size: 3rem;
    color: #4a6fa5;
    display: none;  /* 기본적으로 숨김 */
}

/* 이미지가 없을 때만 아이콘 표시 */
.gallery-image:not(:has(img)) i,
.gallery-image img[src=""] + i {
    display: block;
}

/* 컨텐츠 영역 */
.gallery-content {
    padding: 1.5rem;
    text-align: center;
}

.gallery-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1e3a5f;
}

.gallery-content p {
    color: #666;
    font-size: 0.95rem;
}

/* 태블릿 반응형 */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-image {
        height: 240px;  /* 모바일에서는 약간 작게 */
    }
}

/* Equipment icons with gradient backgrounds */
.equipment-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.equipment-icon i {
    font-size: 48px;
    color: white;
}

/* Organization chart styling */
.org-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
}

.org-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px 12px 0 0;
}

/* Placeholder for missing images */
.business-icon,
.feature-icon,
.facility-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.business-icon i,
.feature-icon i,
.facility-icon i {
    font-size: 36px;
    color: white;
}

/* Product category icons */
.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
}

.category-icon i {
    font-size: 28px;
    color: white;
}

/* Equipment item card style */
.equipment-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.equipment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

/* Process step styling */
.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Certification icons */
.cert-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 20px rgba(72, 187, 120, 0.3);
}

.cert-icon i {
    font-size: 36px;
    color: white;
}

.overview-image img,
.facility-image img {
    background: linear-gradient(45deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Hero image fallback */
.hero-image {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.9) 0%, rgba(74, 111, 165, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

/* Factory images fallback */
.facility-image {
    background: linear-gradient(45deg, #4A6FA5 0%, #1E3A5F 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    position: relative;
}

.facility-image::before {
    content: attr(data-factory);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    text-align: center;
    white-space: nowrap;
}

/* Company overview image fallback */
.overview-image {
    background: linear-gradient(45deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 600;
}

.overview-image::before {
    content: "Manufacturing Excellence";
    text-align: center;
}

/* Customer logos fallback */
.customer-logo {
    position: relative;
    overflow: hidden;
}

.customer-logo::before {
    content: attr(data-customer);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1rem;
    text-align: center;
    width: 100%;
}

/* Certification images fallback */
.cert-item {
    position: relative;
}

.cert-item::before {
    content: attr(data-cert);
    display: block;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    text-align: center;
}

/* Key Features Section Styles */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4A6FA5 0%, #1E3A5F 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card h3 {
    font-size: 1.3rem;
    color: #1E3A5F;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}