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

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Header */
header {
    background-color: #1a1a1a;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header a {
    color: white;
    text-decoration: none;
}

header a:hover {
    color: #4ecdc4;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li.nav-highlight a {
    color: #dec756;
    font-weight: bold;
}

nav a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

nav a:hover {
    color: #4ecdc4;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    background: #2c3e50;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.image-info {
    margin: 2rem auto 0;
    transform: translateX(25%);
    text-align: left;
    line-height: 1.5;
}


/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5rem;
}

/* Simple Cards */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.info-card p {
    color: #666;
    line-height: 1.8;
}

/* Programs Section */
.programs {
    background: white;
    padding: 3rem 0;
    margin: 3rem 0;
}

.program-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.program-item {
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.program-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.program-item p {
    color: #666;
    font-size: 0.95rem;
}

/* Contact Section */
.contact-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #666;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-info {
    margin-bottom: 2rem;
}

.footer-info p {
    color: #bdc3c7;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

/* Government Links Section */
.gov-links {
    background-color: #ecf0f1;
    padding: 2rem 0;
    border-top: 1px solid #bdc3c7;
}

.gov-links-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.gov-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;

    .gov-link span {
        display: block;
        text-align: center;
    }

}

.gov-link span {
    display: block;
    text-align: center;
}


.gov-link:hover {
    transform: translateY(-3px);
}

.gov-logo {
    width: 150px;
    height: auto;
    /* keep aspect ratio */
    border: none;
    /* remove border if any */
    background: none;
    /* remove background color */
    padding: 0;
    margin-bottom: 0.5rem;
    display: block;
}


.gov-link span {
    font-size: 0.85rem;
    color: #666;
}

.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #1a1a1a;
    color: #95a5a6;
    font-size: 0.9rem;
}

.image-row {
    display: flex;
    flex-wrap: wrap;
    /* allows wrapping to next line */
    gap: 15px;
    justify-content: center;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
    /* ensures it’s above any background layers */
}

.image-container {
    height: 400px;
    /* or whatever height you want */
    overflow: hidden;
}

.image-container img {
    height: 100%;
    width: auto;
    object-fit: cover;
    display: block;
}



/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .gov-links-container {
        gap: 2rem;
    }

    .gov-logo {
        width: 120px;
        height: 50px;
        font-size: 0.8rem;
    }
}

.noticeboard {
    max-width: 700px;
    margin: 3rem auto;
    /* centers container */
    padding: 0 1rem;
}

.noticeboard article {
    background: white;
    box-shadow: 0 2px 10px rgb(0 0 0 / 0.08);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
    color: #333;
    text-align: left;
}

.noticeboard article h2 {
    margin-top: 0;
    font-weight: 700;
    color: #1a1a1a;
}

.noticeboard article small {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.noticeboard article div {
    line-height: 1.6;
}