@import url('Headbar.css');

.faq-section {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-hero {
    text-align: center;
    margin-bottom: 48px;
}

.faq-hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.faq-hero p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow);
    margin-bottom: 14px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-hover);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    user-select: none;
}

.faq-question i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: var(--accent);
    flex-shrink: 0;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 24px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

@media (max-width: 600px) {
    .faq-hero h1 {
        font-size: 1.6rem;
    }
}
