/**
 * FAQ Widget Styles
 * Accordion-style FAQ component with light theme
 */

.faq-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.faq-section .section-title {
    color: #1a1a1a;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.faq-item {
    background: #fff;
    border: 2px solid rgba(136, 136, 136, 0.2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(136, 136, 136, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.faq-item.active {
    border-color: #888;
    box-shadow: 0 6px 20px rgba(136, 136, 136, 0.3);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background: #fff;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-item.active .faq-question {
    background: #f0f0f0;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #1a1a1a;
    font-weight: 700;
    padding-right: 1rem;
    line-height: 1.5;
}

.faq-toggle {
    background: #f8f9fa;
    border: 2px solid rgba(136, 136, 136, 0.3);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-toggle:hover {
    background: #e0e0e0;
    border-color: #888;
    transform: scale(1.1);
}

.faq-item.active .faq-toggle {
    background: #888;
    border-color: #888;
    color: #fff;
    transform: rotate(180deg);
}

.faq-toggle .fa-plus {
    display: block;
}

.faq-toggle .fa-minus {
    display: none;
}

.faq-item.active .faq-toggle .fa-plus {
    display: none;
}

.faq-item.active .faq-toggle .fa-minus {
    display: block;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: #f8f9fa;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    color: #333;
    line-height: 1.7;
    font-size: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .faq-section .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .faq-question {
        padding: 1.25rem;
    }

    .faq-question h3 {
        font-size: 1.05rem;
    }

    .faq-toggle {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }

    .faq-item.active .faq-answer {
        padding: 1.25rem;
    }

    .faq-answer p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .faq-section .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .faq-question {
        padding: 1rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-toggle {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 1rem;
    }

    .faq-answer p {
        font-size: 0.9rem;
    }
}
