/* FAQ Section Styles */
.faq-section {
    padding: 80px 0;
    background-color: #f2f6dd;
    /* Very light subtle bg */
}

.faq-container {
    background-color: #fff;
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    max-width: 900px;
    margin: 0 auto;
}

.faq-title {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-family: var(--font-primary);
}

.faq-title span {
    font-family: 'Playfair Display', serif;
    /* Or strictly italic serif if font not available */
    font-style: italic;
    font-weight: 400;
}

.faq-subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.2s;
}

.faq-question {
    font-size: 18px;
    color: #444;
    font-weight: 500;
    margin: 0;
}

.faq-icon {
    width: 32px;
    height: 32px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy smooth */
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #fff;
}

.faq-answer {
    padding: 0 24px 24px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Active State */
.faq-item.active {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-color: transparent;
}

.faq-item.active .faq-icon {
    background-color: var(--primary-color);
    transform: rotate(180deg);
    color: #000;
}

/* Hover State */
.faq-header:hover .faq-icon {
    background-color: var(--primary-color);
    color: #000;
    transform: scale(1.1);
}

/* Ensure initial opacity for scroll animation */
.faq-item {
    /* animate.css handles opacity usually, but good to be safe */
    background-color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: 33px 0;
    }

    .faq-container {
        padding: 40px 20px;
    }

    .faq-title {
        font-size: 28px;
    }

    .faq-question {
        font-size: 16px;
        padding-right: 15px;
    }
}