﻿/* Reset & Variables */
:root {
    --primary-color: #0056b3; /* B2B Blue */
    --primary-hover: #004494;
    --secondary-color: #333333;
    --text-color: #4a4a4a;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a1a;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --transition-speed: 0.3s;
}

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

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--secondary-color);
    font-weight: 700;
}

.btn {
    display: inline-block;
    padding: 11px 22px;
    font-weight: 500;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-speed);
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,86,179,0.3);
}

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

.btn-outline:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

.btn-secondary {
    background-color: #6c757d;
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* 1. GNB Sticky Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #ffffff !important;
    border-bottom: 1px solid #eeeeee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 10px 0;
}

.logo-img {
    height: 48px;
    width: auto;
    border: none;
    background-color: transparent;
    object-fit: contain;
}

.gnb {
    display: flex;
    height: 100%;
}

.nav-list {
    display: flex;
    height: 100%;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 25px;
}

.nav-item > a {
    font-size: 17px;
    font-weight: 500;
    color: var(--secondary-color);
    transition: color 0.3s;
    position: relative;
}

.nav-item > a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-item:hover > a::after {
    width: 100%;
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.dropdown li a {
    display: block;
    padding: 10px 20px;
    font-size: 15px;
    color: #555;
    transition: all 0.2s;
    text-align: center;
}

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

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* 2. Section 1: Hero Slider */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide.prev-slide {
    transform: translateX(-100%);
}

.slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1); /* Ken Burns start */
    transition: transform 6s linear;
}

.slide.active .slide-bg {
    transform: scale(1); /* Zoom out effect */
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.05) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    margin-top: 80px; /* Offset header */
}

.hero-title {
    font-size: 31px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s 0.5s forwards;
}

.hero-subtitle {
    font-size: 14px;
    font-weight: 300;
    color: #f0f0f0;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s 0.8s forwards;
}

.hero-keywords {
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s 1.1s forwards;
}

.hero-keywords span {
    display: inline-block;
    margin: 0 10px;
    font-size: 15px;
    color: #aaccff;
    background: rgba(0, 86, 179, 0.3);
    padding: 5px 15px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-buttons {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s 1.4s forwards;
    display: flex;
    gap: 15px;
    justify-content: center;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.slider-nav:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

/* Mouse Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    color: #fff;
    font-size: 12px;
    letter-spacing: 2px;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 15px;
    margin: 0 auto 10px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: #fff;
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}


/* 3. Section 2: Industry Shortcuts */
.industries {
    width: 100%;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 400px; /* fixed height for grid */
}

.industry-item {
    position: relative;
    overflow: hidden;
    display: block;
    cursor: pointer;
}

.industry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.industry-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    transition: all 0.4s ease;
    color: white;
}

.industry-item:hover img {
    transform: scale(1.1); /* Zoom-in effect */
}

.industry-item:hover .overlay {
    background: rgba(0, 86, 179, 0.8); /* Blue translucent filter */
}

.industry-item h3 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 15px;
    transition: transform 0.3s;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.industry-item p {
    font-size: 14px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    max-width: 80%;
}

.industry-item:hover h3 {
    transform: translateY(-10px);
}

.industry-item:hover p {
    opacity: 1;
    transform: translateY(0);
}


/* 4. Section 3: Product List Auto Slider */
.product-showcase {
    padding: 100px 0;
    background-color: var(--light-bg);
}

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

.section-header h2 {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 16px;
    color: #666;
}

.product-carousel-wrapper {
    position: relative;
    padding: 0 50px;
}

.product-carousel {
    overflow: hidden;
    padding: 20px 0;
}

.product-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}

.product-card {
    flex: 0 0 calc(25% - 15px); /* 4 items per view */
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.img-wrapper {
    height: 200px;
    overflow: hidden;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .img-wrapper img {
    transform: scale(1.15); /* Image zoom on hover */
}

.product-info {
    padding: 20px;
    text-align: center;
    background: #fff; /* Keep text static */
    position: relative;
    z-index: 2;
}

.product-info h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.product-info p {
    font-size: 14.5px;
    color: #777;
    word-break: keep-all;
    overflow-wrap: break-word;
    letter-spacing: -0.5px;
    line-height: 1.5;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: #333;
    transition: all 0.2s;
    z-index: 10;
}

.carousel-nav:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.carousel-nav.prev {
    left: 0;
}

.carousel-nav.next {
    right: 0;
}


/* 5. Section 4: Contact & Footer */
.footer {
    background-color: var(--dark-bg);
    color: #999;
}

/* Customer Service & Quick Menu */
.cs-quick-menu {
    background-color: #ffffff;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.cs-quick-menu .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.cs-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cs-icon {
    font-size: 48px;
    color: var(--primary-color);
}

.cs-text .cs-title {
    font-size: 14px;
    color: #666;
    font-weight: 700;
    margin-bottom: 2px;
}

.cs-text .cs-number {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-bottom: 2px;
    line-height: 1;
}

.cs-text .cs-time {
    font-size: 13px;
    color: #888;
}

.quick-boxes {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.quick-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background-color: #f5f6f8;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    color: #555;
    text-align: center;
}

.quick-box i {
    font-size: 32px;
    margin-bottom: 12px;
    color: #666;
    transition: all 0.3s ease;
}

.quick-box span {
    font-size: 15px;
    font-weight: 500;
}

.quick-box:hover {
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.15);
    color: var(--primary-color);
    transform: translateY(-5px);
}

.quick-box:hover i {
    color: var(--primary-color);
}

/* Map */
.map-container {
    width: 100%;
    height: 400px;
}

.footer-bottom {
    padding: 60px 0 40px;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-info {
    flex: 1;
    min-width: 300px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
}

.footer-details p {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-details strong {
    color: #ddd;
    font-size: 16px;
}

.copyright {
    margin-top: 20px;
    font-size: 12px;
    color: #555;
}

.footer-sitemap {
    display: flex;
    gap: 60px;
}

.sitemap-column h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
}

.sitemap-column ul li {
    margin-bottom: 10px;
}

.sitemap-column ul li a {
    font-size: 14px;
    transition: color 0.2s;
}

.sitemap-column ul li a:hover {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
        height: 800px;
    }
    
    .product-card {
        flex: 0 0 calc(33.333% - 13.33px);
    }
}

@media (max-width: 768px) {
    .gnb {
        display: none; /* simple mobile hide for now */
    }
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 20px;
    }
    
    .hero-subtitle {
        font-size: 12px;
    }
    
    .product-card {
        flex: 0 0 calc(50% - 10px);
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .quick-menu .container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .footer-sitemap {
        flex-wrap: wrap;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .industry-grid {
        grid-template-columns: 1fr;
        height: 1200px;
    }
    
    .product-card {
        flex: 0 0 100%;
    }
    
    .form-actions {
        flex-direction: column;
    }
}
/* ============================================================
   Sub Pages General Styles 
   ============================================================ */

/* 1. Sub-Hero Area */
.sub-hero {
    position: relative;
    height: 350px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #111;
    overflow: hidden;
    margin-top: 80px; /* Offset for header */
}

.sub-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sub-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; /* Dark tone background */
}

.sub-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.sub-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 10px;
    color: #ffffff !important;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

.sub-desc {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 20px;
    color: #ddd;
}

.breadcrumb {
    font-size: 13px;
    color: #aaa;
    font-weight: 400;
}

/* 2. Sub Tab Menu */
.sub-tab-menu {
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
}

.tab-list {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.tab-item {
    border-right: 1px solid var(--border-color);
}

.tab-item:first-child {
    border-left: 1px solid var(--border-color);
}

.tab-item a {
    display: block;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 500;
    color: #555;
    transition: all 0.2s;
}

.tab-item:hover a {
    color: var(--primary-color);
    background-color: #f8f9fa;
}

.tab-item.active a {
    background-color: var(--primary-color);
    color: #fff;
}

.tab-item i {
    font-size: 18px;
}

/* 3. Sub Content Area */
.sub-content {
    padding: 80px 0;
    background-color: #fff;
}

.content-section {
    margin-bottom: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.badge-title {
    display: inline-block;
    background-color: #0b1f38; /* Dark navy */
    color: #fff;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
}

.info-box {
    background-color: #f5f6f8;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.info-box p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.graph-placeholder {
    width: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.placeholder-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* ============================================================
   Table Styles
   ============================================================ */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    margin-bottom: 20px;
}

.data-table caption {
    caption-side: bottom;
    padding: 15px 0 0;
    font-size: 14px;
    color: #666;
    text-align: right;
}

.data-table thead {
    background-color: #1a2b4c;
    color: #ffffff;
}

.data-table th,
.data-table td {
    padding: 15px;
    border: 1px solid #e0e0e0;
    font-size: 15px;
}

.data-table th[scope="col"] {
    font-weight: 600;
}

.data-table th[scope="row"] {
    font-weight: 600;
    background-color: #fcfcfc;
}

.data-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.data-table tbody tr:hover {
    background-color: #f1f5f9;
}

/* ============================================================
   Process Steps UI
   ============================================================ */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    padding: 40px 0;
}

@media (min-width: 992px) {
    .process-steps {
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch;
        gap: 20px;
    }
}

.process-step {
    background-color: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 30px 20px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 992px) {
    .process-step {
        flex: 1;
        padding: 30px 15px;
    }
}

.process-step:hover {
    transform: translateY(-10px);
    border-color: #1a2b4c;
    box-shadow: 0 15px 30px rgba(26, 43, 76, 0.15);
}

.step-number {
    display: inline-block;
    background-color: #1a2b4c;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 20px;
    align-self: center;
}

.step-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    word-break: keep-all;
}

/* Arrows */
@media (min-width: 992px) {
    .process-step:not(:last-child)::after {
        content: '\f054'; /* FontAwesome chevron-right */
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        top: 50%;
        right: -18px; 
        transform: translateY(-50%);
        font-size: 20px;
        color: #adb5bd;
    }
}
@media (max-width: 991px) {
    .process-step:not(:last-child)::after {
        content: '\f078'; /* FontAwesome chevron-down */
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        bottom: -25px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 20px;
        color: #adb5bd;
    }
}

/* ============================================================
   Process Details UI
   ============================================================ */
.process-details-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .process-details-grid {
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch;
        gap: 30px;
    }
    .process-detail-card {
        flex: 1;
        width: 48%;
    }
}

.process-detail-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.detail-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a2b4c;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.detail-img-wrap {
    text-align: center;
}

.process-detail-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border: 1px solid #ddd;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    border-radius: 4px;
}

/* ============================================================
   Steel Page UI
   ============================================================ */
.summary-list-box {
    padding: 10px 15px;
}

.summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.summary-list li {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.summary-list li i {
    color: #2196F3;
    margin-top: 6px;
    margin-right: 15px;
    font-size: 20px;
}

/* Visual Placeholders */
.steel-visual-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 768px) {
    .steel-visual-grid {
        flex-direction: row;
        justify-content: space-between;
    }
    .visual-placeholder-box {
        flex: 1;
        width: 48%;
    }
}

.visual-placeholder-box {
    background-color: #f8f9fa;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    position: relative;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.steel-placeholder-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.placeholder-text {
    position: absolute;
    color: #999;
    font-size: 15px;
    z-index: 1;
}

/* Expectation Box */
.expectation-box {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 40px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.expectation-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a2b4c;
    margin-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 15px;
}

.expectation-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* Update steel visual images and captions */
.visual-placeholder-box.no-border {
    border: none;
    background-color: transparent;
    padding: 0;
    min-height: auto;
}
.visual-placeholder-box.no-border .steel-placeholder-img {
    border: 1px solid #ddd;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-radius: 8px;
    width: 100%;
}

.visual-placeholder-box.no-border:nth-child(1) .steel-placeholder-img,
.visual-placeholder-box.no-border:nth-child(2) .steel-placeholder-img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.visual-placeholder-box.no-border:nth-child(3) .steel-placeholder-img {
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background-color: #fff;
}
.steel-visual-caption {
    font-size: 15px;
    color: #555;
    font-weight: 500;
    margin-top: 15px;
    line-height: 1.5;
}
.expectation-list {
    margin-top: 15px;
}
.expectation-list li {
    font-size: 17px;
    line-height: 1.6;
}
.expectation-list li i {
    color: #007bff; /* Highlight blue for check mark */
}

/* Override steel grid for 3 columns */
@media (min-width: 768px) {
    .steel-visual-grid {
        gap: 20px;
    }
    .visual-placeholder-box {
        width: 31%;
    }
}

/* =========================================
   Greeting Page Specific Styles
========================================= */
.greeting-article {
    padding: 60px 0;
}

.greeting-text-section {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.greeting-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    word-break: keep-all;
}

.greeting-title span {
    color: #0d3b66; /* Point color */
}

.greeting-subtitle {
    font-size: 24px;
    font-weight: 500;
    color: #555;
    margin-bottom: 25px;
    word-break: keep-all;
}

.greeting-divider {
    width: 60px;
    height: 3px;
    background-color: #ddd;
    border: none;
    margin: 0 auto 40px;
}

.greeting-body p {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
    text-align: center;
    word-break: keep-all;
}

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

.greeting-video-section {
    width: 100%;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background-color: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .greeting-title {
        font-size: 26px;
    }
    .greeting-subtitle {
        font-size: 20px;
    }
    .greeting-body p {
        font-size: 15px;
        text-align: left;
    }
}

/* =========================================
   History Page Specific Styles
========================================= */
.history-article {
    padding: 60px 0;
}

/* Timeline Layout */
.timeline-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0 60px;
}

.timeline-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

/* Timeline center line */
.timeline-list::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 120px;
    width: 2px;
    background-color: #e5e5e5;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Year */
.timeline-year {
    width: 100px;
    flex-shrink: 0;
    text-align: right;
    padding-right: 35px;
    font-size: 28px;
    font-weight: 900;
    font-style: italic;
    color: #3498db;
    margin-top: -5px; /* Alignment tweak */
}

/* Dot on the line */
.timeline-item::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 114px; /* 120 - 6 */
    width: 14px;
    height: 14px;
    background-color: #fff;
    border: 3px solid #3498db;
    border-radius: 50%;
    z-index: 1;
}

/* Content */
.timeline-content {
    flex-grow: 1;
    padding-left: 45px;
}

.timeline-content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .timeline-list::before {
        left: 20px;
    }
    .timeline-item {
        flex-direction: column;
        margin-bottom: 30px;
    }
    .timeline-item::before {
        left: 14px;
        top: 4px;
    }
    .timeline-year {
        width: auto;
        text-align: left;
        padding-left: 45px;
        padding-right: 0;
        margin-bottom: 10px;
        font-size: 24px;
    }
    .timeline-content {
        padding-left: 45px;
    }
}

/* =========================================
   Certification Page Specific Styles
========================================= */
.cert-article {
    padding: 60px 0;
}

.cert-gallery-section {
    padding: 20px 0 60px;
}

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

.cert-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 20px;
}

.cert-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.cert-img-box {
    width: 100%;
    /* Keep aspect ratio natural, but bound it nicely */
    padding: 20px;
    box-sizing: border-box;
}

.cert-img-box img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.cert-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 15px 0 0 0;
    padding: 0 10px;
    word-break: keep-all;
}

/* Tablet Responsive: 2 columns */
@media (max-width: 1024px) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile Responsive: 1 column */
@media (max-width: 576px) {
    .cert-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .cert-name {
        font-size: 15px;
    }
}

/* =========================================
   Philosophy Page Specific Styles
========================================= */
.philosophy-article {
    padding: 60px 0;
}

.philosophy-cards-section {
    padding: 20px 0 60px;
}

.philosophy-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.philosophy-card {
    flex: 1;
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid #0056b3;
}

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

.philosophy-icon {
    font-size: 50px;
    color: #0056b3;
    margin-bottom: 25px;
}

.philosophy-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
}

.philosophy-card-desc {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}

.philosophy-card-desc p {
    margin-bottom: 8px;
}

.philosophy-card-desc p:last-child {
    margin-bottom: 0;
}

/* Tablet Responsive */
@media (max-width: 992px) {
    .philosophy-grid {
        flex-direction: column;
        gap: 20px;
    }
}

/* =========================================
   Location Page Specific Styles
========================================= */
.location-article {
    padding: 60px 0;
}

.location-map-section {
    max-width: 1200px;
    margin: 0 auto;
}

/* Map Container with Overlapping Box */
.map-container {
    position: relative;
    width: 100%;
    height: 500px;
    margin-bottom: 60px; /* Space for overlay box */
}

.map-overlay-box {
    position: absolute;
    bottom: -40px;
    left: 5%;
    z-index: 10;
    background-color: #333;
    color: #fff;
    padding: 30px 40px;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.15);
}

.overlay-eng {
    display: inline-block;
    font-size: 14px;
    color: #aaa;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.overlay-kor {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
}

/* Contact Info Below Map */
.contact-info-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0;
}

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

.info-item {
    font-size: 24px;
    color: #333;
}

.info-label {
    font-weight: 700;
    display: inline-block;
    width: 80px;
    color: #222;
}

.info-text {
    font-weight: 400;
    color: #555;
}

/* Tablet & Mobile Responsive */
@media (max-width: 768px) {
    .map-container {
        height: 400px;
        margin-bottom: 30px;
    }
    
    .map-overlay-box {
        position: static;
        margin: -20px 20px 20px 20px;
        padding: 20px 30px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .contact-info-wrap {
        justify-content: flex-start;
        padding: 0 20px;
    }
    
    .info-item {
        font-size: 15px;
    }
}

/* =========================================
   Clearance Table Styles
========================================= */
.clearance-section {
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
}

.clearance-title {
    background-color: #1a2b4c;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    padding: 12px 30px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin-top: 10px;
}

.clearance-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    margin-top: 20px;
}

.clearance-table th,
.clearance-table td {
    border: 1px solid #ccc;
    padding: 12px;
    text-align: center;
    font-size: 15px;
}

.clearance-table th {
    background-color: #dbe4f0;
    font-weight: 700;
    color: #333;
}

.clearance-table td {
    background-color: #ffffff;
    color: #444;
}

.clearance-note {
    text-align: right;
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}

/* =========================================
   Board Placeholder Styles
========================================= */
.board-placeholder-wrapper {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.board-placeholder-container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    border: 1px solid #f0f0f0; /* Slight border for crispness */
}

.board-placeholder-title {
    font-size: 24px;
    font-weight: 700;
    color: #888888;
    margin-bottom: 15px;
}

.board-placeholder-desc {
    font-size: 16px;
    color: #888888;
    line-height: 1.6;
}
/* =========================================
   Product Battery Page Styles (2筌??袁? / ?λ뜆?숃쳸? ??륁뵠??
========================================= */

/* 2nd Level Tab Menu Adjustment */
.sub-tab-menu.level-2 {
    border-top: 1px solid #eaeaea;
    background-color: #f8f9fa;
}
.sub-tab-menu.level-2 .tab-list { margin-bottom: 0; gap: 10px; padding: 15px 0; }
.sub-tab-menu.level-2 .tab-item { border: none !important; }
.sub-tab-menu.level-2 .tab-item a { display: inline-block; color: #333; background-color: #f1f3f5; font-size: 15px; padding: 12px 25px; border-radius: 30px; transition: all 0.3s ease; }
.sub-tab-menu.level-2 .tab-item:hover a { transform: scale(1.05); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.sub-tab-menu.level-2 .tab-item.active a { color: #fff; background-color: #0078d4; font-weight: 700; }
.sub-tab-menu.level-2 .tab-item.active::after { display: none; }
.sub-tab-menu.level-2 .tab-item.active::before { display: none; }

/* Product Summary Section */
.product-summary-section { padding: 60px 0; background-color: #ffffff; }
.product-summary-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.product-image-box { flex: 1; min-width: 300px; text-align: center; }
/* Keep empty or override below */
.fade-container { position: relative; width: 100%; aspect-ratio: 1/1; overflow: hidden; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); background: #fff; }
.fade-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; }
.img-2 { animation: fade 4s infinite ease-in-out; }
@keyframes fade { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
.product-info-box { flex: 1.5; min-width: 300px; }
.product-main-title { font-size: 32px; font-weight: 800; color: #1a2b4c; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 2px solid #eaeaea; }
.product-sub-title { display: block; font-size: 16px; color: #777; font-weight: 400; margin-top: 5px; }
.product-spec-list { list-style: none; padding: 0; margin: 0; }
.product-spec-list li { font-size: 16px; color: #444; margin-bottom: 12px; line-height: 1.6; padding-left: 15px; position: relative; display: flex; align-items: flex-start; }
.product-spec-list li::before { content: '\2022'; position: absolute; left: 0; color: var(--primary-color); font-weight: bold; font-size: 18px; line-height: 1.6; }
.product-spec-list li strong { display: inline-block; width: 80px; color: #222; flex-shrink: 0; }

/* Product Details Section */
.product-details-section { padding: 60px 0; background-color: #f4f7fa; }
.content-tab-btns { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; }
.content-tab-btn { padding: 12px 30px; background-color: #fff; color: #555; border: 1px solid #ddd; border-radius: 30px; font-size: 16px; font-weight: 500; text-decoration: none; transition: all 0.3s; }
.content-tab-btn:hover { background-color: #f0f0f0; }
.content-tab-btn.active { background-color: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.section-title-badge { background-color: #1a2b4c; color: #ffffff; font-size: 20px; font-weight: 700; text-align: center; padding: 12px 30px; border-radius: 30px; display: inline-block; margin-bottom: 30px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); }
.spec-tables-wrapper { background: #fff; border-radius: 12px; padding: 40px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.spec-block { margin-bottom: 50px; }
.spec-block:last-child { margin-bottom: 0; }
.spec-block-title { font-size: 22px; color: var(--secondary-color); margin-bottom: 20px; padding-left: 15px; border-left: 4px solid var(--primary-color); }
.spec-grid { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; }
.spec-drawing { flex: 1; min-width: 250px; text-align: center; padding: 20px; background: #f9f9f9; border-radius: 8px; border: 1px solid #eaeaea; }
.spec-table-box { flex: 2; min-width: 300px; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { border: 1px solid #ddd; padding: 12px; text-align: center; font-size: 15px; }
.data-table th { background-color: #dbe4f0; font-weight: 700; color: #333; }
.data-table td { color: #555; }

/* SEO Content Section */
.seo-content-section { padding: 60px 0; background-color: #ffffff; }
.seo-text-box { max-width: 900px; margin: 0 auto; color: #444; line-height: 1.8; }
.seo-intro { font-size: 16px; margin-bottom: 30px; text-align: justify; }
.seo-sub-title { font-size: 18px; color: var(--secondary-color); margin: 30px 0 15px; font-weight: 700; }
.seo-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.seo-table th, .seo-table td { border: 1px solid #eaeaea; padding: 15px; font-size: 15px; }
.seo-table th { background-color: #f8f9fa; width: 20%; font-weight: 700; color: #333; }
.seo-feature-list { list-style: none; padding: 0; margin: 0; }
.seo-feature-list li { font-size: 15px; margin-bottom: 10px; padding-left: 20px; position: relative; }
.seo-feature-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; color: var(--primary-color); }

/* Hide bullets for specific lists */
.product-spec-list.no-bullet li::before { display: none; }
.product-spec-list.no-bullet li { padding-left: 0; }

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    margin-left: 20px;
}
.lang-switch a {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    transition: color 0.3s;
}
.lang-switch a.lang-hover:hover {
    color: #0078d4;
}

/* English Layout Fixes */
html[lang="en"] .product-spec-list li {
    word-break: keep-all;
    line-height: 1.6;
    overflow: visible;
}
html[lang="en"] .product-spec-list li strong {
    width: 250px; padding-right: 15px;
}
