body {
    font-family: 'Noto Sans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
    color: #333;
}

html[lang="ko"] body {
    font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
}

html[lang="ja"] body {
    font-family: 'Noto Sans JP', 'Noto Sans', sans-serif;
}

html[lang="zh"] body {
    font-family: 'Noto Sans SC', 'Noto Sans', sans-serif;
}

/* Bootstrap navbar replaces custom header/nav styling */

.hero-section {
    min-height: 450px; /* Slightly increased height */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-position: center center !important; /* Ensure image is centered */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Darker overlay for better text readability */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Hero text animation */
.hero-title, .hero-subtitle {
    opacity: 0;
    animation: fadeIn 1.5s ease-out forwards;
}

.hero-subtitle {
    animation-delay: 0.5s; /* Delay subtitle animation */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card hover effect */
.card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

main {
    padding: 20px 0; /* Adjust padding for Bootstrap containers */
    max-width: none; /* Let Bootstrap container handle max-width */
    margin: 20px auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

footer {
    text-align: center;
    padding: 1rem 0;
    background-color: #333;
    color: #fff;
    /* Removed position: fixed to allow natural document flow */
    width: 100%;
}

/* Social media icons in footer */
.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.social-icons a:hover {
    color: #007bff; /* Example hover color */
}