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

body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #fafaf9; /* stone-50 */
    color: #1c1917; /* stone-900 */
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
header {
    background-color: #ffffff;
    border-bottom: 1px solid #e7e5e4;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-container .logo {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-container .logo-text {
    font-weight: bold;
    font-size: 32px;
    letter-spacing: -0.025em;
    color: #292524;
}
main {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;;
}
.section-title h2 {
    margin-bottom: 30px;
    color: #000;
    font-size: 30px;
    text-align: center;
}
.qna-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.qna-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap; /* Allow tabs to wrap on smaller screens */
}

.qna-tab-button {
    background-color: #e7e5e4; /* stone-200 */
    color: #78716c; /* stone-500 */
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.qna-tab-button:hover {
    background-color: #d6d3d1; /* stone-300 */
}

.qna-tab-button.active {
    background-color: #059669; /* emerald-600 */
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.qna-tab-content .tab-pane {
    display: none;
}

.qna-tab-content .tab-pane.active {
    display: block;
}

/* FAQ List Styling */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid #e7e5e4; /* stone-200 */
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    font-weight: 500;
    color: #ffffff; /* stone-900 */
    cursor: pointer;
    background-color: #5c9340;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #386720; /* stone-100 */
}

.faq-question .arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question .arrow {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 1rem 1.5rem 1.5rem;
    background-color: #fafaf9; /* stone-50 */
    color: #57534e; /* stone-600 */
    border-top: 1px solid #e7e5e4; /* stone-200 */
}

.faq-answer p {
    margin-bottom: 0;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .qna-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .qna-tab-button {
        width: 100%;
    }

    .faq-question {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }

    .faq-answer {
        padding: 0.75rem 1rem 1rem;
        font-size: 0.85rem;
    }
}
footer {
    margin-top: auto;
    border-top: 1px solid #e7e5e4;
    background-color: #074D43;
    padding: 3rem 1rem;
    text-align: center;
}

.footer-txt p {
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
}
