/* Global Styles */
:root {
    --primary-color: #4338ca;
    /* Indigo 700 - Similar to Logo's Deep Blurple */
    --accent-color: #3b82f6;
    /* Blue 500 */
    --text-color: #1e293b;
    /* Slate 800 */
    --light-text: #64748b;
    /* Slate 500 */
    --bg-color: #f8fafc;
    /* Slate 50 */
    --white: #ffffff;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --hover-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-color);
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-color);
    font-family: 'Noto Sans KR', sans-serif;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-color);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
#hero {
    height: 600px;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(67, 56, 202, 0.6)), url('../assets/hero_bg.png') center/cover no-repeat;
    /* Fallback if image not ready */
    background-color: #1e293b;
    color: white;
    display: flex;
    align-items: center;
    position: relative;
    text-align: center;
}

.hero-content {
    width: 100%;
    z-index: 1;
}

#hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

#hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: #e2e8f0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns .btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.section-header .underline {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto 20px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
}

.info-list li {
    display: flex;
    margin-bottom: 15px;
    border-bottom: 1px dotted #e2e8f0;
    padding-bottom: 5px;
}

.info-list li strong {
    width: 100px;
    color: var(--text-color);
    flex-shrink: 0;
}

.info-list li span {
    color: var(--light-text);
}

.mission-text {
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.mission-text strong {
    color: var(--primary-color);
}

.mission-sub {
    color: var(--light-text);
    margin-bottom: 20px;
}

.achievements {
    background-color: #f1f5f9;
    padding: 20px;
    border-radius: 8px;
}

.achievements h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.achievements ul li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    display: flex;
    align-items: start;
    gap: 10px;
}

.achievements ul li i {
    color: var(--accent-color);
    margin-top: 5px;
}

/* Business Section */
.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.business-card {
    background: white;
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.business-card.featured {
    border-top: 4px solid var(--primary-color);
}

.icon-box {
    width: 80px;
    height: 80px;
    background-color: #eff6ff;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box i {
    font-size: 2rem;
    color: var(--primary-color);
}

.business-card h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.eng-title {
    display: block;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.business-card ul {
    text-align: left;
    display: inline-block;
}

.business-card ul li {
    margin-bottom: 10px;
    color: var(--light-text);
    font-size: 0.95rem;
}

.business-card ul li i {
    color: #cbd5e1;
    margin-right: 8px;
    font-size: 0.8rem;
}

/* Items Section */
.item-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.item-row.reverse {
    flex-direction: row-reverse;
}

.item-row:last-child {
    margin-bottom: 0;
}

.item-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--hover-shadow);
    background-color: #f1f5f9;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.item-content {
    flex: 1;
}

.item-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.item-desc {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-list li i {
    margin-top: 5px;
    color: #10b981;
    /* Success Green */
    background: #ecfdf5;
    padding: 5px;
    border-radius: 50%;
    font-size: 0.8rem;
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: #94a3b8;
    padding: 60px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-right {
    text-align: right;
}

.footer-right p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.copyright {
    margin-top: 20px;
    color: #64748b;
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        background: white;
        width: 100%;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    .about-grid,
    .business-grid {
        grid-template-columns: 1fr;
    }

    .item-row {
        flex-direction: column;
        gap: 30px;
    }

    .item-row.reverse {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-right {
        text-align: center;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    margin: auto;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 450px;
    position: relative;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    color: var(--light-text);
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary-color);
    text-decoration: none;
}

.modal-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 15px;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--text-color);
    border: none;
    padding: 0;
}

.contact-info-list li:last-child {
    margin-bottom: 0;
}

.contact-info-list li i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 3px;
    width: 20px;
    text-align: center;
}

.contact-info-list li span {
    flex: 1;
    line-height: 1.4;
}