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

body {
    background-color: #f9f9f9;
    color: #222;
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
}

.header {
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-header {
    background-color: #d64123;
    color: white;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

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

.date-weather {
    font-size: 14px;
    letter-spacing: 0.5px;
}

.header-actions a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    font-size: 14px;
    transition: opacity 0.2s;
}

.header-actions a:hover {
    opacity: 0.8;
}

.main-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    color: #d64123;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-family: 'Noto Serif KR', serif;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

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

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #d64123;
}

.nav-menu a:hover::after, .nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #d64123;
}

.nav-menu a.active {
    color: #d64123;
    font-weight: 600;
}

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

.main-content {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 30px;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #d64123;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    font-family: 'Noto Serif KR', serif;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 16px;
    color: #666;
    font-weight: 400;
}

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

.contact-form {
    grid-column: 1 / 2;
}

.contact-info {
    grid-column: 2 / 3;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    font-family: 'Noto Serif KR', serif;
    position: relative;
    padding-left: 15px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 20px;
    background-color: #d64123;
}

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

label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 15px;
}

textarea {
    resize: vertical;
    min-height: 150px;
}

.form-actions {
    margin-top: 20px;
    text-align: right;
}

.submit-button {
    background-color: #d64123;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    transition: background-color 0.2s;
}

.submit-button:hover {
    background-color: #c33a1e;
}

.contact-info-list {
    list-style: none;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-icon {
    min-width: 30px;
    text-align: center;
    font-size: 20px;
    color: #d64123;
    margin-right: 15px;
}

.contact-text {
    flex: 1;
}

.contact-text h4 {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.contact-text p {
    color: #666;
    font-size: 15px;
    line-height: 1.5;
}

.contact-card {
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    font-family: 'Noto Serif KR', serif;
}

.department-list {
    list-style: none;
}

.department-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.department-item:last-child {
    border-bottom: none;
}

.department-name {
    font-weight: 500;
    color: #444;
}

.department-contact {
    color: #666;
}

.map-container {
    margin-top: 40px;
    border-radius: 5px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer {
    background-color: #333;
    color: #ccc;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 18px;
    font-family: 'Noto Serif KR', serif;
}

.footer-section p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid #444;
    font-size: 13px;
    color: #999;
    font-family: 'Noto Serif KR', serif;
}

/* 완료 메시지 스타일 */
.success-message {
    background-color: #f0f9eb;
    color: #67c23a;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 20px;
    display: none;
}

/* 반응형 */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form {
        grid-column: 1;
    }

    .contact-info {
        grid-column: 1;
    }

    .main-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-menu {
        margin-top: 15px;
        flex-wrap: wrap;
    }

    .nav-menu li {
        margin: 5px 10px 5px 0;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}