/* css/faq.css */

.faq-page-container {
    max-width: 850px;
    padding: 3rem 2rem;
}

.faq-title {
    margin-bottom: 10px;
}

.faq-intro {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: var(--gray);
    text-align: center;
}

.faq-link {
    color: var(--primary);
    text-decoration: underline;
}

.faq-cta-link {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
}

.faq-category-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 2.5rem 0 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border);
    font-family: 'Playfair Display', serif;
}

.faq-category-title:first-child {
    margin-top: 0;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--card-bg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border-color: #cbd5e1;
}

.faq-question {
    width: 100%;
    background-color: transparent;
    color: var(--dark);
    padding: 1.2rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    font-family: 'Roboto', sans-serif;
    gap: 12px;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    color: var(--gray);
    font-size: 0.9rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question.active {
    color: var(--primary);
}

.faq-question.active i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--light);
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    margin: 0;
    color: #475569;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* CTA Box at the bottom */
.faq-cta-box {
    margin-top: 4rem;
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px dashed #cbd5e1;
}

.faq-cta-box h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0.8rem;
}

.faq-cta-box p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .faq-page-container {
        padding: 1.5rem 1rem;
    }

    .faq-intro {
        margin-bottom: 2rem;
    }

    .faq-category-title {
        font-size: 1.3rem;
        margin: 2rem 0 1rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 1rem;
        align-items: flex-start;
    }

    .faq-answer p {
        padding: 0 1rem 1rem;
        font-size: 1rem;
    }

    .faq-cta-box {
        padding: 1.5rem 1rem;
    }
}
