"""FAQ content for companies (employers)."""

COMPANY_FAQ_SECTIONS = [
    {
        'title': 'General Questions',
        'slug': 'general',
        'items': [
            {
                'id': 1,
                'question': 'What is PezaJob?',
                'answer': (
                    'PezaJob is the online jobs, careers and talent platform of Peza Job '
                    'Zambia.\n\n'
                    'It helps businesses and organisations advertise job vacancies, reach '
                    'qualified candidates and proactively search for talent through our '
                    'CV Database.\n\n'
                    'Through PezaJob, employers can post vacancies, search candidate '
                    'profiles and CVs, identify potential candidates based on skills, '
                    'qualifications and experience, and connect with professionals who '
                    'match their recruitment needs.\n\n'
                    'PezaJob helps you advertise vacancies and connect with the people your '
                    'organisation needs.'
                ),
            },
            {
                'id': 2,
                'question': 'Why Should I Create a Company Profile on PezaJob?',
                'answer': (
                    'Creating a company profile on PezaJob gives your organisation a '
                    'professional digital presence on one of Zambia\'s growing career and '
                    'talent platforms.\n\n'
                    'Thousands of people, both locally and internationally, visit PezaJob '
                    'for different reasons, including searching for jobs, exploring career '
                    'opportunities, researching employers, discovering companies and '
                    'services, and accessing career-related information and resources.\n\n'
                    'This makes your company profile more than just a recruitment tool. '
                    'It can serve as a business directory presence and a platform for '
                    'showcasing your organisation.\n\n'
                    'A company profile can help you:\n\n'
                    '- Increase your visibility among job seekers, professionals, '
                    'employers and other visitors to PezaJob.\n'
                    '- Showcase your company; including who you are, what you do, your '
                    'values and areas of operation.\n'
                    '- Promote your vacancies and give candidates more information about '
                    'your organisation.\n'
                    '- Strengthen your employer brand and present your organisation '
                    'professionally to potential employees.\n'
                    '- Showcase your products and services, helping visitors discover '
                    'what your business offers.\n'
                    '- Build credibility and trust by providing clear and professional '
                    'information about your organisation.\n'
                    '- Reach a wider audience, including people in Zambia and visitors '
                    'from other countries.\n'
                    '- Create a central company presence where people can learn more '
                    'about your organisation and discover your opportunities.\n\n'
                    'A PezaJob company profile lets you recruit, promote your business, '
                    'show your services and make your organisation visible to job seekers '
                    'and professionals.\n\n'
                    'Don\'t just advertise a vacancy. Showcase your organisation.'
                ),
            },
            {
                'id': 3,
                'question': 'How Much Does It Cost to Subscribe?',
                'answer_html': (
                    '<p>PezaJob offers different employer subscription plans designed to '
                    'suit businesses of different sizes and recruitment needs.</p>'
                    '<h4 class="faq-pricing-heading">Employer Subscription Plans</h4>'
                    '<table class="faq-pricing-table">'
                    '<thead><tr><th>Plan</th><th>Price</th></tr></thead>'
                    '<tbody>'
                    '<tr><td><a href="/subscriptions/#recruitment">Starter</a></td>'
                    '<td><a href="/subscriptions/#recruitment">K500</a></td></tr>'
                    '<tr><td><a href="/subscriptions/#recruitment">Professional</a></td>'
                    '<td><a href="/subscriptions/#recruitment">K1,500</a></td></tr>'
                    '<tr><td><a href="/subscriptions/#recruitment">Recruiter Pro</a></td>'
                    '<td><a href="/subscriptions/#recruitment">K5,000</a></td></tr>'
                    '<tr><td><a href="/subscriptions/#recruitment">Enterprise</a></td>'
                    '<td><a href="/subscriptions/#recruitment">K8,000</a></td></tr>'
                    '</tbody></table>'
                    '<p>Each plan provides different features and levels of access to help '
                    'businesses promote vacancies, build their company presence and manage '
                    'their recruitment activities on PezaJob.</p>'
                    '<h4 class="faq-pricing-heading">Talent / CV Database Access</h4>'
                    '<p>Businesses that want to proactively search for candidates through '
                    'the PezaJob CV Database can subscribe to a dedicated CV Search plan:</p>'
                    '<table class="faq-pricing-table">'
                    '<thead><tr><th>CV Database Plan</th><th>Price</th></tr></thead>'
                    '<tbody>'
                    '<tr><td><a href="/subscriptions/#talent">CV Search Basic</a></td>'
                    '<td><a href="/subscriptions/#talent">K2,000</a></td></tr>'
                    '<tr><td><a href="/subscriptions/#talent">CV Search Plus</a></td>'
                    '<td><a href="/subscriptions/#talent">K5,000</a></td></tr>'
                    '<tr><td><a href="/subscriptions/#talent">CV Search Unlimited</a></td>'
                    '<td><a href="/subscriptions/#talent">K8,000</a></td></tr>'
                    '</tbody></table>'
                    '<p>CV Database access allows employers and recruiters to search for '
                    'potential candidates based on information such as skills, '
                    'qualifications, experience, job titles and other relevant keywords.</p>'
                    '<p><strong>Please note:</strong> Subscription prices and features may '
                    'vary depending on the package and services selected.</p>'
                    '<p>Please refer to the '
                    '<a href="/subscriptions/#recruitment">relevant plan details</a> or '
                    '<a href="/contact/">contact Peza Job Zambia</a> for more information.</p>'
                ),
            },
            {
                'id': 4,
                'question': 'How Do I Create a Company Account?',
                'answer': (
                    'Creating a company account on PezaJob is simple.\n\n'
                    '1. Click “Register” or “Create Account” on the PezaJob website.\n'
                    '2. Select “Employer/Company” as your account type.\n'
                    '3. Enter your company details and the required contact information.\n'
                    '4. Create your login credentials and verify your account where required.\n'
                    '5. Complete your Company Profile by adding your company description, '
                    'industry, location, website, contact details, logo and other relevant '
                    'information.\n'
                    '6. Choose the employer subscription plan that best suits your '
                    'organisation\'s needs.\n\n'
                    'Once your account is set up, you can use PezaJob to post vacancies, '
                    'showcase your organisation and, depending on your subscription, access '
                    'tools for finding and connecting with talent.\n\n'
                    'Already have an account? Simply log in and complete or update your '
                    'company profile.'
                ),
            },
        ],
    },
    {
        'title': 'Job Posting & Hiring',
        'slug': 'job-posting',
        'items': [
            {
                'id': 5,
                'question': 'How do I post a job?',
                'answer': (
                    'Sign in to your employer account and open Post a Job from the '
                    'Employer Dashboard or main menu. Complete the job details, including '
                    'title, location, job type, description, requirements, and '
                    'application instructions. You can set an application deadline or '
                    'mark the vacancy as an Ongoing Vacancy if applications should '
                    'remain open until you close the role.'
                ),
            },
            {
                'id': 6,
                'question': 'Can I edit or remove a job post?',
                'answer': (
                    'Yes. From your Employer Dashboard, open the job you want to manage '
                    'and use the edit option to update details such as the description, '
                    'requirements, deadline, or attachments. You can also close or '
                    'archive a vacancy when it is no longer active, and reactivate it '
                    'later if needed.'
                ),
            },
            {
                'id': 7,
                'question': 'Can I post job vacancies without a company subscription?',
                'answer': (
                    'No. An active recruitment subscription is required to publish job '
                    'vacancies on PezaJob. Without a subscription, you can still create '
                    'and manage your company account and profile, but job posting '
                    'remains unavailable until you subscribe to a suitable employer '
                    'plan on the Pricing page.'
                ),
            },
            {
                'id': 8,
                'question': 'How long will my job advert remain active?',
                'answer': (
                    'This depends on the option selected when posting the vacancy. You '
                    'can choose a vacancy with a specific application deadline or an '
                    'Ongoing Vacancy where there is no fixed closing date.'
                ),
            },
            {
                'id': 9,
                'question': 'What is an Ongoing Vacancy?',
                'answer': (
                    'An Ongoing Vacancy is a position that remains open until the '
                    'employer finds a suitable candidate. It does not have a fixed '
                    'application deadline.'
                ),
            },
            {
                'id': 10,
                'question': 'Can I close a vacancy before the deadline?',
                'answer': (
                    'Yes. If you have filled the position or no longer wish to receive '
                    'applications, the vacancy can be closed.'
                ),
            },
        ],
    },
    {
        'title': 'Finding & Hiring Professionals',
        'slug': 'finding-talent',
        'items': [
            {
                'id': 11,
                'question': 'Can I Search for Professionals on PezaJob?',
                'answer': (
                    'Yes. Employers and recruiters can search for professionals on PezaJob '
                    'through professional profiles and the CV Database, depending on their '
                    'subscription and access level.\n\n'
                    'You can discover potential candidates using information such as:\n\n'
                    '- Job title or profession\n'
                    '- Skills and areas of expertise\n'
                    '- Qualifications and education\n'
                    '- Work experience\n'
                    '- Industry or sector\n'
                    '- Location\n'
                    '- Relevant keywords\n\n'
                    'This gives employers a proactive way to find talent. Instead of '
                    'waiting for candidates to apply for your vacancy, you can search for '
                    'professionals whose profiles or CVs match your requirements and '
                    'identify potential candidates for your recruitment needs.'
                ),
            },
            {
                'id': 12,
                'question': 'Can I contact job seekers directly?',
                'answer': (
                    'Yes, on eligible subscription plans. Employers on Professional '
                    'plans and above can message candidates through the platform where '
                    'messaging is enabled. You may also reach applicants through '
                    'application details they provide when they apply for your vacancies.'
                ),
            },
            {
                'id': 13,
                'question': 'Can I shortlist candidates?',
                'answer': (
                    'Yes. Applications received for your vacancies can be managed '
                    'through the recruitment pipeline. You can review applicants, '
                    'update their status, shortlist suitable candidates, schedule '
                    'interviews, add notes, and track progress from application through '
                    'to hiring.'
                ),
            },
        ],
    },
    {
        'title': 'CV Database & Candidate Search',
        'slug': 'cv-database',
        'items': [
            {
                'id': 14,
                'question': 'What is the PezaJob CV Database?',
                'answer': (
                    'The CV Database is a searchable pool of job seeker profiles and CVs. '
                    'Employers can search for candidates based on relevant information such '
                    'as skills, qualifications, experience, job titles and other keywords.'
                ),
            },
            {
                'id': 15,
                'question': 'How can I search for candidates?',
                'answer': (
                    'Employers with access to the CV Database can search using relevant '
                    'criteria and keywords to identify candidates who match their '
                    'recruitment requirements.'
                ),
            },
            {
                'id': 16,
                'question': 'Can I search for candidates even when I haven\'t posted a job?',
                'answer': (
                    'Yes. The CV Database can help employers proactively identify potential '
                    'candidates based on their requirements.'
                ),
            },
            {
                'id': 17,
                'question': 'Can I contact candidates whose profiles I find?',
                'answer': (
                    'Subject to the platform\'s privacy and contact settings, employers may '
                    'be able to engage suitable candidates identified through the database.'
                ),
            },
            {
                'id': 18,
                'question': (
                    'Why should I use the CV Database instead of waiting for applications?'
                ),
                'answer': (
                    'CV searching allows you to take a proactive approach to recruitment. '
                    'Instead of waiting for candidates to apply, you can search for people '
                    'who already have the skills, qualifications and experience you need.'
                ),
            },
        ],
    },
    {
        'title': 'HR & Recruitment Services',
        'slug': 'hr-services',
        'items': [
            {
                'id': 19,
                'question': 'Does Peza Job Zambia Offer Recruitment Services?',
                'answer': (
                    'Yes. Peza Job Zambia provides professional recruitment and talent '
                    'acquisition services to businesses, organisations and institutions.\n\n'
                    'We can support you throughout the recruitment process, from '
                    'understanding your hiring requirements and advertising the vacancy to '
                    'sourcing candidates, screening applications, shortlisting, coordinating '
                    'interviews and supporting the selection process.\n\n'
                    'Our recruitment services cover a single position, multiple vacancies, '
                    'specialised roles, temporary staffing and permanent positions.\n\n'
                    'You can also use the PezaJob platform to advertise vacancies, search '
                    'professional profiles and access the CV Database, while our recruitment '
                    'team can provide hands-on support when you want us to manage part or '
                    'all of the recruitment process.'
                ),
            },
            {
                'id': 20,
                'question': 'How can I listen to podcasts on Peza Job Zambia?',
                'answer': (
                    'Visit the Podcast section from the main navigation or footer. '
                    'Browse published episodes and play them directly on the site. '
                    'Podcast content covers career, workplace, and recruitment topics '
                    'that may be useful for employers and HR teams.'
                ),
            },
            {
                'id': 21,
                'question': 'Do you offer aptitude tests?',
                'answer': (
                    'Peza Job Zambia can support recruitment assessments as part of '
                    'broader recruitment and selection services. For aptitude testing '
                    'or candidate assessment support, contact our team through the '
                    'Contact page to discuss your requirements.'
                ),
            },
            {
                'id': 22,
                'question': 'Can you manage our payroll and HR policies?',
                'answer': (
                    'Yes. We offer HR outsourcing services, which can include support '
                    'with payroll administration, HR policy development, and related '
                    'human resource functions. Contact us to discuss the scope of '
                    'support your organisation needs.'
                ),
            },
            {
                'id': 23,
                'question': 'Do you provide training services?',
                'answer': (
                    'Yes. We provide employee training and work readiness programmes '
                    'designed to help teams develop skills, improve performance, and '
                    'adapt to workplace change. Visit the Services page or contact us '
                    'for tailor-made training options.'
                ),
            },
            {
                'id': 24,
                'question': 'Do you offer services to international companies?',
                'answer': (
                    'Yes. Peza Job Zambia supports organisations operating in Zambia and '
                    'can also work with international companies seeking local talent or '
                    'recruitment support in the region. Contact our team to discuss your '
                    'specific hiring or HR requirements.'
                ),
            },
            {
                'id': 25,
                'question': 'What other services does Peza Job Zambia offer to companies?',
                'answer': (
                    'In addition to job advertising and recruitment, we offer services '
                    'such as interview management, team building, HR outsourcing, salary '
                    'surveys, change management, and outplacement coaching.\n\n'
                    'Explore the full list on our Services page under Corporate Services, '
                    'or contact us to discuss your requirements.'
                ),
            },
            {
                'id': 26,
                'question': (
                    'How can my company benefit from the Peza Job Zambia blog and podcast?'
                ),
                'answer': (
                    'Our blog and podcast share insights on hiring, workplace trends, '
                    'career development, and talent management. Employers can use this '
                    'content to stay informed, strengthen employer branding, and better '
                    'understand what candidates look for in organisations and roles.'
                ),
            },
        ],
    },
    {
        'title': 'Company Visibility & Branding',
        'slug': 'branding',
        'items': [
            {
                'id': 27,
                'question': 'How does Peza Job Zambia help with employer branding?',
                'answer': (
                    'Your company profile acts as a public employer page where you can '
                    'showcase your logo, cover image, description, industry, location, '
                    'website, and open vacancies. Premium plans may also increase '
                    'visibility through featured placement. A strong, complete profile '
                    'helps you attract quality candidates and present a professional '
                    'employer image.'
                ),
            },
            {
                'id': 28,
                'question': 'How Does PezaJob Act as a Directory for Companies?',
                'answer': (
                    'PezaJob is not only a job and talent platform. It also provides '
                    'businesses with an opportunity to create a professional company '
                    'presence and be discovered by people searching for organisations, '
                    'employers, products, services and opportunities.\n\n'
                    'With a Company Profile on PezaJob, your organisation can showcase '
                    'important information such as:\n\n'
                    '- Company name and logo\n'
                    '- Company description and background\n'
                    '- Industry and areas of operation\n'
                    '- Products and services\n'
                    '- Company location and contact information\n'
                    '- Website and social media platforms\n'
                    '- Current and future job opportunities\n'
                    '- Company achievements, news and updates\n\n'
                    'Thousands of people, including job seekers, professionals, businesses '
                    'and other visitors from Zambia and beyond, may visit PezaJob for '
                    'different reasons, including searching for jobs, researching employers, '
                    'exploring career opportunities, discovering companies and accessing '
                    'professional information and resources.\n\n'
                    'This means your company profile can serve as a digital directory '
                    'listing, helping people discover your organisation and learn more about '
                    'what you do.\n\n'
                    'Your company does not have to be actively recruiting to benefit. A '
                    'profile can continue to provide visibility and exposure for your '
                    'organisation, products and services.\n\n'
                    'Get discovered. Showcase your business. Connect with opportunities.'
                ),
            },
        ],
    },
    {
        'title': 'Support & Assistance',
        'slug': 'support',
        'items': [
            {
                'id': 29,
                'question': 'How do I contact Peza Job Zambia for support?',
                'answer': (
                    'Email info@pezajob.com, call +260 773 821 612, or submit a message '
                    'through the Contact page. Our team will respond as soon as possible.'
                ),
            },
            {
                'id': 30,
                'question': 'What should I do if I have a problem with my account?',
                'answer': (
                    'If you experience sign-in issues, subscription problems, or other '
                    'account difficulties, contact our support team with your company '
                    'name and registered email address. For password resets, use the '
                    'Forgot Password option on the Sign In page.'
                ),
            },
            {
                'id': 31,
                'question': 'How Do I Get Started Today?',
                'answer': (
                    'To hire talent, promote your company or show your products and services, '
                    'follow these steps.\n\n'
                    'Step 1: Sign Up & Create Your Company Profile\n'
                    'Create your company account and build your professional company '
                    'profile. Add your company information, logo, products, services, '
                    'contact details and other relevant information.\n\n'
                    'Step 2: Post a Job or Search for Professionals\n'
                    'Advertise your vacancies to job seekers or take a proactive approach '
                    'by searching for professionals through PezaJob Professional Profiles '
                    'and the CV Database.\n\n'
                    'Step 3: Shortlist Candidates & Start Hiring\n'
                    'Review suitable candidates, shortlist those who meet your requirements '
                    'and move forward with your recruitment and selection process.\n\n'
                    'Step 4: Showcase Your Products & Services\n'
                    'Keep your company profile updated with your latest products and '
                    'services and use your presence on PezaJob to showcase what your business '
                    'offers to professionals, job seekers, other businesses and visitors '
                    'locally and internationally.\n\n'
                    'Ready to Get Started?\n\n'
                    'Create your company profile today and start using PezaJob to recruit, '
                    'promote and grow your business.\n\n'
                    'PezaJob - More than a job platform. Your business, talent and '
                    'opportunities in one place.'
                ),
            },
        ],
    },
]


def filter_company_faq_sections(query=''):
    """Return company FAQ sections with items matching query (case-insensitive)."""
    from .faq_content import filter_faq_by_sections

    return filter_faq_by_sections(COMPANY_FAQ_SECTIONS, query)
