/* FAQ Page Styles */

.faq-header {
    background: linear-gradient(rgba(45, 95, 63, 0.85), rgba(255, 153, 51, 0.3)),
                url('https://images.unsplash.com/photo-1516321497487-e288fb19713f?w=1920&h=600&fit=crop') center/cover;
}

.faq-section {
    background: var(--light-cream);
}

.faq-intro {
    text-align: center;
    margin-bottom: 50px;
}

/* Search Box */
.faq-search {
    max-width: 600px;
    margin: 30px auto;
    position: relative;
}

.faq-search i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1.2rem;
}

.faq-search input {
    width: 100%;
    padding: 15px 20px 15px 55px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.faq-search input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(45, 95, 63, 0.1);
}

/* Category Filters */
.faq-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.faq-filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary-green);
    background: white;
    color: var(--primary-green);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-filter-btn:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

.faq-filter-btn.active {
    background: var(--primary-green);
    color: white;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: white;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-green);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--light-cream);
}

.faq-question-text {
    flex: 1;
}

.faq-category-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-orange);
    color: white;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 10px;
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--primary-orange);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px 25px;
}

.faq-answer p {
    color: var(--text-dark);
    line-height: 1.8;
    margin: 0;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results i {
    font-size: 4rem;
    color: var(--text-light);
    opacity: 0.3;
    margin-bottom: 20px;
}

.no-results h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

.no-results p {
    color: var(--text-light);
}

/* FAQ CTA */
.faq-cta {
    text-align: center;
    margin-top: 60px;
    padding: 50px 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-cta h3 {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 15px;
}

.faq-cta p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.faq-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-filters {
        gap: 8px;
    }

    .faq-filter-btn {
        padding: 8px 18px;
        font-size: 0.9rem;
    }

    .faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 15px 20px;
    }

    .faq-cta {
        padding: 40px 20px;
    }

    .faq-cta h3 {
        font-size: 1.5rem;
    }

    .faq-cta-buttons {
        flex-direction: column;
    }

    .faq-cta-buttons .btn {
        width: 100%;
    }
}

