/* QA Page Styles */

/* Main Visual for QA Page */
#qa-mv {
    background-image: url('../images/header_top.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 10rem 0;
    position: relative;
}

#qa-mv::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

#qa-mv .container {
    position: relative;
    z-index: 2;
}

#qa-mv h1 {
    font-size: 3rem;
    margin: 0;
    color: white;
    -webkit-text-fill-color: white;
}

#qa-mv p {
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

/* QA List Section */
#qa-list-section {
    padding: 4rem 0;
    background-image: url('../images/hexagon-pattern.svg');
    background-repeat: repeat;
    background-size: 100px 115px;
}

.qa-category-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
    margin-top: 3rem;
}
.qa-category-title:first-child {
    margin-top: 0;
}

.qa-list {
    max-width: 900px;
    margin: 0 auto;
}

.qa-item {
    border-bottom: 1px solid #eee;
}

.qa-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1rem;
    cursor: pointer;
    font-weight: bold;
}
.qa-question:hover {
    background-color: #f7f7f7;
}

.qa-question .icon {
    width: 14px;
    height: 14px;
    border-right: 2px solid var(--main-color);
    border-bottom: 2px solid var(--main-color);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.qa-item.active .qa-question .icon {
    transform: rotate(-135deg);
}

.qa-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: #f7f7f7;
    padding: 0 1.5rem;
}
.qa-answer p {
    margin: 0;
    padding: 1.5rem 0;
    line-height: 1.8;
}
.qa-item.active .qa-answer {
    padding: 0 1.5rem;
} 