/* FAQ List Page Styles */

.faq-header {
    background: var(--gradient-aqua-navy);
    color: white;
    padding: 5rem 0 3.75rem;
}

.faq-search {
    margin-top: -2.5rem;
    position: relative;
    z-index: 10;
}

.faq-search-box {
    background: white;
    border-radius: 3.125rem;
    padding: 0.5rem 1.25rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.1);
}

.faq-search-box input {
    border: none;
    padding: 0.75rem 1.25rem;
}

.faq-search-box input:focus {
    outline: none;
    box-shadow: none;
}

.category-nav {
    background: white;
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 1.25rem;
}

.category-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: #2d3748;
    text-decoration: none;
    transition: all 0.2s;
    margin-bottom: 0.5rem;
}

.category-link:hover, .category-link.active {
    background: var(--gradient-aqua-navy);
    color: white;
}

.faq-item {
    margin-bottom: 0.9375rem;
}

.faq-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.faq-card:hover {
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.12);
    transform: translateY(-0.125rem);
}

.faq-card.active {
    box-shadow: inset 0 0 0 0.125rem var(--brand-aqua);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: white;
    transition: background 0.3s ease;
}

.faq-card.active .faq-question {
    background: linear-gradient(135deg, #f0fffe 0%, #e6f9f8 100%);
}

.faq-q-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, var(--brand-aqua) 0%, #4db8b0 100%);
    color: white;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.faq-card.active .faq-q-badge {
    background: linear-gradient(135deg, #2c7a7b 0%, #285e61 100%);
}

.faq-q-text {
    flex: 1;
    font-weight: 600;
    color: #2d3748;
}

.faq-card.active .faq-q-text {
    color: var(--brand-aqua);
}

.faq-toggle-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-aqua);
    transition: transform 0.3s ease;
}

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

.faq-answer-wrapper {
    border-top: 0.0625rem solid #e2e8f0;
    background: white;
}

.faq-answer-content {
    display: flex;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
}

.faq-a-badge {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    color: white;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
    padding-top: 0.4375rem;
}

.faq-a-text {
    flex: 1;
    color: #4a5568;
    line-height: 1.8;
    padding-top: 0.25rem;
}

.faq-helpful {
    padding: 0.9375rem;
    background: #f7fafc;
    border-radius: 0.5rem;
    margin-top: 0.9375rem;
}

.category-section {
    margin-bottom: 3.125rem;
}

.category-title {
    color: var(--brand-aqua);
    margin-bottom: 1.875rem;
    padding-bottom: 0.9375rem;
    border-bottom: 0.1875rem solid var(--brand-aqua);
}
