/* Global Styles */
:root {
    --primary-color: #1a237e;
    /* Deep Navy */
    --primary-light: #534bae;
    --primary-dark: #000051;
    --accent-color: #c5a065;
    /* Gold/Bronze Accent for premium feel */
    --text-color: #333333;
    --text-light: #666666;
    --background-light: #f5f7fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
}

* {
    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);
    word-break: keep-all;
    /* Korean text optimization */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.bg-light {
    background-color: var(--background-light);
}

/* Header */
/* Header */
.header {
    background-color: var(--white);
    position: relative;
    /* Changed from fixed for this design or keep fixed if preferred, but usually big headers scroll */
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo-area {
    text-align: center;
    padding: 20px 0;
}

.main-logo {
    font-family: 'Noto Serif KR', serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1.2;
}

.sub-logo {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: -5px;
    font-weight: 500;
}

.contact-bar {
    background-color: #0d1b42;
    /* Darker Navy */
    color: var(--white);
    text-align: center;
    padding: 15px 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.contact-bar span {
    margin: 0 10px;
}

.phone-number {
    font-family: 'Noto Serif KR', serif;
    /* Optional for numbers */
}

.nav-bar {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.nav-bar ul {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 15px 0;
}

.nav-bar a {
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-bar a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(13, 27, 66, 0.9), rgba(13, 27, 66, 0.8)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: var(--white);
}

.hero h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: transform 0.2s, background-color 0.3s;
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: #b08d55;
    border-color: #b08d55;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    padding: 15px 40px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    border: 2px solid var(--white);
    transition: background-color 0.3s, color 0.3s;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Expertise Section */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.expertise-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--accent-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.expertise-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1;
}

.expertise-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.expertise-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* Risk Intro Section (Formerly About) */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.about-item {
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s;
}

.about-item:hover {
    transform: translateY(-5px);
}

.about-item .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-item h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Services Section */
.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px;
    text-align: center;
}

.card-header h4 {
    font-size: 1.25rem;
    margin: 0;
}

.card-body {
    padding: 30px;
}

.target-user {
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.card-body ul {
    list-style: disc;
    padding-left: 20px;
}

.card-body li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Risks Section */
.risk-box {
    background-color: #fff3e0;
    border-left: 5px solid #ff9800;
    padding: 40px;
    border-radius: 5px;
}

.risk-header h3 {
    color: #e65100;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.risk-item {
    margin-bottom: 20px;
}

.risk-item:last-child {
    margin-bottom: 0;
}

.risk-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

/* Contact Section */
.contact-wrapper {
    display: flex;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-info {
    flex: 1;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.info-list p {
    margin-bottom: 20px;
    border-left: 3px solid var(--accent-color);
    padding-left: 15px;
}

.contact-form {
    flex: 1.5;
    padding: 50px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-agree {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: var(--primary-dark);
}

/* Footer */
.footer {
    background-color: #222;
    color: #999;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-certs {
    margin-bottom: 10px;
    color: #ccc;
    font-weight: 500;
}

.footer-certs span {
    display: inline-block;
    margin: 0 5px;
}

/* Responsive */
@media (max-width: 968px) {

    .expertise-grid,
    .about-grid,
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .hero h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-bar ul {
        flex-wrap: wrap;
        gap: 15px;
        padding: 10px;
    }

    .main-logo {
        font-size: 2.5rem;
    }

    .sub-logo {
        font-size: 1.1rem;
    }

    .contact-bar {
        font-size: 1.2rem;
        padding: 10px 0;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .expertise-grid,
    .about-grid,
    .service-cards {
        grid-template-columns: 1fr;
    }

    .hero {
        height: auto;
        padding: 80px 0 60px;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        padding: 30px;
    }

    .risk-box {
        padding: 20px;
    }

    .risk-header h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .main-logo {
        font-size: 2rem;
    }

    .sub-logo {
        font-size: 0.9rem;
    }

    .contact-bar {
        font-size: 1rem;
    }

    .nav-bar ul {
        gap: 10px;
    }

    .nav-bar a {
        font-size: 0.9rem;
    }

    .quick-menu a {
        flex-direction: column;
        justify-content: center;
        gap: 2px;
        height: 60px;
    }

    .quick-menu .quick-icon {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 2px;
    }

    .quick-menu .quick-icon svg {
        width: 20px;
        height: 20px;
        display: block;
    }

    .quick-menu .quick-text {
        font-size: 0.75rem;
    }
}

/* Remote Service Section */
.remote-process {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.process-step {
    flex: 1;
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-color);
    opacity: 0.15;
    position: absolute;
    top: -5px;
    right: 15px;
}

.process-step h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.process-step p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.remote-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(26, 35, 126, 0.15);
}

@media (max-width: 968px) {
    .remote-process {
        flex-wrap: wrap;
    }

    .process-step {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .process-step {
        flex: 1 1 100%;
    }

    .remote-banner {
        font-size: 1.05rem;
        padding: 20px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    /* Black w/ opacity */
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal h4 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.modal-body p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.link-privacy {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9em;
    margin-left: 5px;
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

/* Quick Menu (Floating Banner) */
.quick-menu {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--white);
    border: 1px solid var(--border-color);
}

.quick-menu ul {
    display: flex;
    flex-direction: column;
}

.quick-menu li {
    border-bottom: 1px solid #1a237e1a;
}

.quick-menu li:last-child {
    border-bottom: none;
}

.quick-menu a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    padding: 10px;
    color: var(--primary-color);
    background-color: var(--white);
    transition: all 0.3s;
    text-align: center;
}

.quick-menu a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.quick-menu .quick-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
}

.quick-menu .quick-icon svg {
    width: 28px;
    height: 28px;
    display: block;
}

.quick-menu .quick-text {
    font-size: 0.9rem;
    font-weight: 700;
}

@media (max-width: 1100px) {

    /* Hide specific quick menu on mobile/tablet or stick to bottom */
    .quick-menu {
        right: 10px;
        top: auto;
        bottom: 20px;
        transform: none;
        width: calc(100% - 20px);
    }

    .quick-menu ul {
        flex-direction: row;
        justify-content: space-between;
    }

    .quick-menu li {
        flex: 1;
        border-bottom: none;
        border-right: 1px solid #eee;
    }

    .quick-menu li:last-child {
        border-right: none;
    }

    .quick-menu a {
        width: 100%;
        height: 70px;
        flex-direction: row;
        gap: 10px;
    }

    .quick-menu .quick-icon {
        margin-bottom: 0;
    }

    .quick-menu .quick-icon svg {
        width: 24px;
        height: 24px;
    }
}