/* FAQ Page Styles */
.faq-page-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.page-desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category-block {
    margin-bottom: 60px;
}

.faq-category-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color, #eebbcb); /* Default pink if var not set */
    color: #333;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: #fff;
    border: none;
    padding: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    transition: background-color 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background-color: #fffafb;
}

.faq-q-mark {
    color: var(--primary-color, #eebbcb);
    font-size: 1.2rem;
    font-weight: 700;
    margin-right: 15px;
    min-width: 25px;
}

.faq-q-text {
    flex: 1;
    line-height: 1.5;
}

.faq-toggle-icon {
    width: 24px;
    height: 24px;
    position: relative;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #ccc;
    transform: translate(-50%, -50%);
    transition: background-color 0.3s ease;
}

.faq-toggle-icon::before {
    width: 16px;
    height: 2px;
}

.faq-toggle-icon::after {
    width: 2px;
    height: 16px;
}

.faq-question.is-open .faq-toggle-icon {
    transform: rotate(45deg);
}

.faq-question.is-open .faq-toggle-icon::before,
.faq-question.is-open .faq-toggle-icon::after {
    background-color: var(--primary-color, #eebbcb);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fcfcfc;
}

.faq-answer-inner {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: flex-start;
}

.faq-a-mark {
    color: #666;
    font-size: 1.2rem;
    font-weight: 700;
    margin-right: 15px;
    min-width: 25px;
}

.faq-a-text {
    flex: 1;
    line-height: 1.8;
    color: #555;
    font-size: 0.95rem;
}

/* CTA Section */
.faq-cta {
    margin-top: 80px;
    text-align: center;
    background: #fff;
    padding: 60px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.faq-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 240px;
    padding: 15px 30px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-line {
    background-color: #06c755;
    color: white;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.btn-line:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    .faq-question {
        padding: 15px;
        font-size: 1rem;
    }
    
    .faq-answer-inner {
        padding: 15px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        min-width: auto;
    }
}
