.faq-section {
    background: var(--section-soft-bg);
    padding: 4rem 0;
    margin-top: 5rem;
}

.faq-search-container {
    position: relative;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq-search {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    border-radius: 8px;
    color: var(--text-main);
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.faq-search::placeholder {
    color: var(--text-sub);
    opacity: 0.6;
}

.faq-search:focus {
    outline: none;
    border-color: #344697;
    box-shadow: 0 0 0 3px rgba(52, 70, 151, 0.1);
}

.faq-search-container i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-sub);
    pointer-events: none;
}

.faq-categories {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.6rem 1rem;
    border: 1px solid var(--card-border);
    background: transparent;
    border-radius: 8px;
    color: var(--text-sub);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
}

.category-btn:hover {
    border-color: #344697;
    color: #344697;
    background: rgba(52, 70, 151, 0.1);
}

.category-btn.active {
    border-color: #344697;
    background: #344697;
    color: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #344697;
    box-shadow: 0 4px 12px rgba(52, 70, 151, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    flex-direction: row-reverse;
}

.faq-question:hover {
    background: rgba(52, 70, 151, 0.05);
}

.faq-question-text {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    text-align: right;
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #344697;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(52, 70, 151, 0.05);
}

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

.faq-answer-text {
    padding: 0 1.5rem 1.5rem 1.5rem;
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.8;
    text-align: right;
}

.no-faq-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-sub);
}

.no-faq-results i {
    font-size: 48px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-faq-results p {
    font-size: 16px;
    font-weight: 600;
}

.contact-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cta-content p {
    font-size: 16px;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 2rem;
    background: white;
    color: #344697;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.cta-button:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .faq-categories {
        gap: 0.5rem;
    }

    .category-btn {
        padding: 0.5rem 0.8rem;
        font-size: 12px;
    }

    .faq-question {
        padding: 1rem;
    }

    .faq-question-text {
        font-size: 14px;
    }

    .faq-answer-text {
        padding: 0 1rem 1rem 1rem;
        font-size: 13px;
    }

    .cta-content h2 {
        font-size: 22px;
    }

    .cta-content p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 2rem 0;
    }

    .faq-search-container {
        margin-bottom: 1.5rem;
    }

    .faq-categories {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .category-btn {
        padding: 0.5rem 0.75rem;
        font-size: 11px;
    }

    .faq-question {
        padding: 0.75rem;
    }

    .faq-question-text {
        font-size: 13px;
    }

    .faq-answer-text {
        padding: 0 0.75rem 0.75rem 0.75rem;
        font-size: 12px;
    }

    .contact-cta {
        padding: 2rem 0;
    }

    .cta-content h2 {
        font-size: 18px;
        margin-bottom: 0.5rem;
    }

    .cta-content p {
        font-size: 13px;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        padding: 0.6rem 1.5rem;
        font-size: 12px;
    }
}