/* FAQ Section */
.faq-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.faq-search-wrapper {
    margin-bottom: 30px;
    position: relative;
}

.faq-search-input {
    width: 100%;
    padding: 15px 25px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-color, #fff);
    /* Fallback color */
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
    outline: none;
    transition: all 0.3s;
}

.faq-search-input:focus {
    border-color: var(--accent-color, #ff6b00);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.2);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item:hover {
    border-color: rgba(255, 107, 0, 0.3);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color, #fff);
    padding-right: 20px;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--accent-color, #ff6b00);
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
}

/* Enhanced list styling in FAQ answers */
.faq-answer ul {
    list-style: none;
    padding-left: 0;
    margin: 10px 0;
}

.faq-answer ul li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: #ddd;
}

.faq-answer ul li:before {
    content: "•";
    position: absolute;
    left: 10px;
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: bold;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 500px;
    /* Arbitrary large height */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}