/* =========================================
   FAQ PAGE STYLES
   ========================================= */

.faq-section { margin-bottom: 80px; max-width: 900px; /* Centered width */ }

/* --- Search Bar --- */
.faq-search {
    text-align: center;
    margin-bottom: 50px;
    background: #f9f9f9;
    padding: 40px 20px;
    border-radius: 8px;
}
.faq-search h2 { font-size: 1.8rem; margin-bottom: 20px; }

.search-input-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}
.search-input-box input {
    width: 100%;
    padding: 15px 15px 15px 50px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}
.search-input-box i {
    position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
    color: #999; font-size: 1.1rem;
}
.search-input-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* --- FAQ Categories --- */
.faq-category { margin-bottom: 40px; }

.cat-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 5px;
    color: var(--dark);
}
.cat-title i { color: var(--primary); margin-right: 10px; }

/* --- Accordion Items --- */
.faq-item {
    background: #fff;
    border: 1px solid #eee;
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.05); }

/* Question Header */
.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 600;
    color: var(--dark);
    font-size: 1.05rem;
    transition: background 0.3s ease;
}
.faq-question:hover { background: #fafafa; color: var(--primary); }

.faq-question .icon {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    background: #f4f4f4;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}

/* Answer Body */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fff;
    border-top: 1px solid transparent;
}
.faq-answer p {
    padding: 20px;
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* --- Active State (Open) --- */
.faq-item.active {
    border-color: var(--primary);
}
.faq-item.active .faq-question {
    background: rgba(128, 235, 14, 0.1); /* Light neon green bg */
}
.faq-item.active .icon {
    transform: rotate(45deg); /* Plus becomes cross-like, or rotate 180 for arrow */
    background: var(--primary);
    color: var(--dark);
}
.faq-item.active .faq-answer {
    border-top-color: #eee;
}

/* --- Support Box --- */
.support-box {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: var(--dark);
    color: var(--white);
    border-radius: 8px;
}
.support-box h3 { font-size: 1.5rem; margin-bottom: 10px; }
.support-box p { color: #ccc; margin-bottom: 25px; }

/* Responsive */
@media (max-width: 600px) {
    .faq-question { font-size: 0.95rem; }
    .search-input-box input { padding: 12px 12px 12px 40px; }
}