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

:root {
    --trust-blue: #003366;
    --vital-orange: #FF6600;
    --white: #FFFFFF;
    --light-grey: #F5F7FA;
    --text-dark: #333333;
    --text-black: #000000;
    --font-korean: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    --font-english: "Roboto", "Inter", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-korean);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-black);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

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

/* ===========================
   Navigation
   =========================== */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

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

.nav-brand .logo {
    height: 40px;
    width: auto;
}

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

.nav-menu a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--trust-blue);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--vital-orange);
}

.lang-switcher {
    background-color: transparent;
    border: 2px solid var(--trust-blue);
    color: var(--trust-blue);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 20px;
    font-family: var(--font-korean);
}

.lang-switcher:hover {
    background-color: var(--trust-blue);
    color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--trust-blue);
    transition: 0.3s;
}

/* ===========================
   Buttons
   =========================== */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--vital-orange);
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #E55A00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    background: linear-gradient(135deg, var(--light-grey) 0%, var(--white) 100%);
    padding: 100px 0;
}

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

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

.hero-title {
    font-size: 48px;
    color: var(--trust-blue);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 40px;
    line-height: 1.6;
}

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

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 51, 102, 0.15);
}

/* ===========================
   Section Titles
   =========================== */
.section-title {
    font-size: 40px;
    color: var(--trust-blue);
    text-align: center;
    margin-bottom: 60px;
}

/* ===========================
   Features Section
   =========================== */
.features {
    padding: 100px 0;
    background-color: var(--white);
}

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

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--light-grey);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 51, 102, 0.1);
}

.feature-icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.feature-card h3 {
    font-size: 24px;
    color: var(--trust-blue);
    margin-bottom: 16px;
}

.feature-card p {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.7;
}

/* ===========================
   Applications Section
   =========================== */
.applications {
    padding: 100px 0;
    background-color: var(--light-grey);
}

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

.application-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.application-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 51, 102, 0.15);
}

.application-image {
    height: 240px;
    overflow: hidden;
    background-color: var(--light-grey);
}

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

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

.application-content {
    padding: 30px;
}

.application-content h3 {
    font-size: 22px;
    color: var(--trust-blue);
    margin-bottom: 12px;
}

.application-content p {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.6;
}

/* ===========================
   CEO Message Section
   =========================== */
.ceo-message {
    padding: 100px 0;
    background-color: var(--white);
}

.ceo-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: start;
}

.ceo-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 51, 102, 0.12);
}

.ceo-text .section-title {
    text-align: left;
    margin-bottom: 40px;
}

.message-body p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.ceo-signature {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--light-grey);
}

.signature-title {
    font-size: 14px;
    color: var(--vital-orange);
    font-weight: 600;
    margin-bottom: 8px;
}

.signature-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--trust-blue);
}

/* ===========================
   History Section
   =========================== */
.history {
    padding: 100px 0;
    background-color: var(--light-grey);
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--vital-orange);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -46px;
    top: 8px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--vital-orange);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--vital-orange);
}

.timeline-year {
    font-size: 18px;
    font-weight: 700;
    color: var(--trust-blue);
    margin-bottom: 12px;
}

.timeline-content h3 {
    font-size: 22px;
    color: var(--text-black);
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 8px;
}

/* ===========================
   Contact Info Section
   =========================== */
.contact-info {
    padding: 100px 0 60px;
    background-color: var(--white);
}

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

.contact-card {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--light-grey);
    border-radius: 12px;
}

.contact-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.contact-card h3 {
    font-size: 20px;
    color: var(--trust-blue);
    margin-bottom: 16px;
}

.contact-card p {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.6;
}

.contact-card a {
    color: var(--vital-orange);
}

.contact-card a:hover {
    text-decoration: underline;
}

/* ===========================
   Map Section
   =========================== */
.map-section {
    padding: 60px 0;
    background-color: var(--white);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ===========================
   Inquiry Form Section
   =========================== */
.inquiry-form {
    padding: 60px 0 100px;
    background-color: var(--light-grey);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    margin-bottom: 30px;
}

.form-group label {
    font-size: 15px;
    font-weight: 600;
    color: var(--trust-blue);
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid #E0E0E0;
    border-radius: 6px;
    font-size: 15px;
    font-family: var(--font-korean);
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
}

.form-submit {
    text-align: center;
}

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

.footer-content {
    margin-bottom: 30px;
}

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

.footer-info p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
}

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

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

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

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

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

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

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

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

    .ceo-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ceo-text .section-title {
        text-align: center;
    }

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

@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 30px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .lang-switcher {
        order: 2;
        margin-left: auto;
        margin-right: 15px;
    }

    .hamburger {
        display: flex;
        order: 3;
    }

    .hero {
        padding: 60px 0;
    }

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

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .features,
    .applications,
    .ceo-message,
    .history,
    .contact-info {
        padding: 60px 0;
    }

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

    .contact-form {
        padding: 30px 20px;
    }

    .timeline {
        padding-left: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

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

    .feature-card,
    .contact-card {
        padding: 30px 20px;
    }
}