<?php $__env->startSection('title', $title); ?>
<?php $__env->startSection('ad_page_title', 'Edit Candidates Profiles'); ?>
<?php $__env->startSection('ad_page_subtitle', 'Edit labels/text/links for Candidates Profiles (EN/AR) + SEO'); ?>

<?php $__env->startSection('ad_content'); ?>
    <?php
        $contentEn = $contentEn ?? [];
        $contentAr = $contentAr ?? [];
    ?>

    <div class="container-fluid py-4">
        <div class="mb-4 d-flex flex-wrap align-items-center gap-3">
            <div>
                <h1 class="h3 mb-1">Candidates Profiles Page Settings</h1>
                <p class="text-muted mb-0">Edit labels/text/links for the webpage (EN/AR). Changes are saved page-wise.</p>
            </div>
        </div>

        <?php if(session('success')): ?>
            <div class="alert alert-success" role="alert">
                <?php echo e(session('success')); ?>

            </div>
        <?php endif; ?>

        <?php if($errors->any()): ?>
            <div class="alert alert-danger" role="alert">
                <div class="fw-bold mb-2">Fix the following issues:</div>
                <ul class="mb-0">
                    <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <li><?php echo e($error); ?></li>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </ul>
            </div>
        <?php endif; ?>

        <form action="<?php echo e(route('admin.pages.candidates-profiles.update')); ?>" method="POST">
            <?php echo csrf_field(); ?>
            <?php echo method_field('PUT'); ?>

            <div class="card shadow-sm border-0">
                <div class="card-body p-4">
                    <ul class="nav nav-tabs mb-4" role="tablist">
                        <li class="nav-item" role="presentation">
                            <button class="nav-link active" type="button" data-bs-toggle="tab" data-bs-target="#tab-en" role="tab">
                                English
                            </button>
                        </li>
                        <li class="nav-item" role="presentation">
                            <button class="nav-link" type="button" data-bs-toggle="tab" data-bs-target="#tab-ar" role="tab" dir="rtl">
                                Arabic
                            </button>
                        </li>
                    </ul>

                    <div class="tab-content">
                        <div class="tab-pane fade show active" id="tab-en" role="tabpanel">
                            <div class="row g-4">
                                <div class="col-12">
                                    <label class="form-label fw-bold">Hero note</label>
                                    <input type="text" name="en[hero_note]" value="<?php echo e(old('en.hero_note', $contentEn['hero_note'] ?? '')); ?>" class="form-control">
                                </div>

                                <div class="col-12">
                                    <div class="fw-bold mb-2">Company sponsorship - Reason card</div>
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">Title</label>
                                    <input type="text" name="en[company_reason][title]" value="<?php echo e(old('en.company_reason.title', $contentEn['company_reason']['title'] ?? '')); ?>" class="form-control">
                                </div>
                                <?php $companyReasonItems = $contentEn['company_reason']['items'] ?? []; ?>
                                <?php for($i=0;$i<4;$i++): ?>
                                    <div class="col-lg-6">
                                        <label class="form-label">Item <?php echo e($i+1); ?></label>
                                        <input type="text" name="en[company_reason][items][<?php echo e($i); ?>]" value="<?php echo e(old('en.company_reason.items.' . $i, $companyReasonItems[$i] ?? '')); ?>" class="form-control">
                                    </div>
                                <?php endfor; ?>

                                <div class="col-12">
                                    <div class="fw-bold mb-2">Company sponsorship - Plans (UAE)</div>
                                </div>
                                <?php $companyPlansUae = $contentEn['company_plans']['uae'] ?? []; ?>
                                <div class="col-lg-4">
                                    <label class="form-label">Title</label>
                                    <input type="text" name="en[company_plans][uae][title]" value="<?php echo e(old('en.company_plans.uae.title', $companyPlansUae['title'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">Price amount</label>
                                    <input type="text" name="en[company_plans][uae][price_amount]" value="<?php echo e(old('en.company_plans.uae.price_amount', $companyPlansUae['price_amount'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">Price suffix</label>
                                    <input type="text" name="en[company_plans][uae][price_suffix]" value="<?php echo e(old('en.company_plans.uae.price_suffix', $companyPlansUae['price_suffix'] ?? '')); ?>" class="form-control">
                                </div>
                                <?php $companyPlansUaeItems = $companyPlansUae['items'] ?? []; ?>
                                <div class="col-lg-6">
                                    <label class="form-label">Plan item</label>
                                    <input type="text" name="en[company_plans][uae][items][0]" value="<?php echo e(old('en.company_plans.uae.items.0', $companyPlansUaeItems[0] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">CTA href</label>
                                    <input type="text" name="en[company_plans][uae][cta][href]" value="<?php echo e(old('en.company_plans.uae.cta.href', $companyPlansUae['cta']['href'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">CTA text</label>
                                    <input type="text" name="en[company_plans][uae][cta][text]" value="<?php echo e(old('en.company_plans.uae.cta.text', $companyPlansUae['cta']['text'] ?? '')); ?>" class="form-control">
                                </div>

                                <div class="col-12">
                                    <div class="fw-bold mb-2">Company sponsorship - Plans (Overseas)</div>
                                </div>
                                <?php $companyPlansOverseas = $contentEn['company_plans']['overseas'] ?? []; ?>
                                <div class="col-lg-4">
                                    <label class="form-label">Title</label>
                                    <input type="text" name="en[company_plans][overseas][title]" value="<?php echo e(old('en.company_plans.overseas.title', $companyPlansOverseas['title'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">Price amount</label>
                                    <input type="text" name="en[company_plans][overseas][price_amount]" value="<?php echo e(old('en.company_plans.overseas.price_amount', $companyPlansOverseas['price_amount'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">Price suffix</label>
                                    <input type="text" name="en[company_plans][overseas][price_suffix]" value="<?php echo e(old('en.company_plans.overseas.price_suffix', $companyPlansOverseas['price_suffix'] ?? '')); ?>" class="form-control">
                                </div>
                                <?php $companyPlansOverseasItems = $companyPlansOverseas['items'] ?? []; ?>
                                <div class="col-lg-6">
                                    <label class="form-label">Plan item</label>
                                    <input type="text" name="en[company_plans][overseas][items][0]" value="<?php echo e(old('en.company_plans.overseas.items.0', $companyPlansOverseasItems[0] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">CTA href</label>
                                    <input type="text" name="en[company_plans][overseas][cta][href]" value="<?php echo e(old('en.company_plans.overseas.cta.href', $companyPlansOverseas['cta']['href'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">CTA text</label>
                                    <input type="text" name="en[company_plans][overseas][cta][text]" value="<?php echo e(old('en.company_plans.overseas.cta.text', $companyPlansOverseas['cta']['text'] ?? '')); ?>" class="form-control">
                                </div>

                                <div class="col-12">
                                    <div class="fw-bold mb-2">Family sponsorship - Reason card</div>
                                </div>
                                <?php $familyReasonItems = $contentEn['family_reason']['items'] ?? []; ?>
                                <div class="col-lg-6">
                                    <label class="form-label">Title</label>
                                    <input type="text" name="en[family_reason][title]" value="<?php echo e(old('en.family_reason.title', $contentEn['family_reason']['title'] ?? '')); ?>" class="form-control">
                                </div>
                                <?php for($i=0;$i<4;$i++): ?>
                                    <div class="col-lg-6">
                                        <label class="form-label">Item <?php echo e($i+1); ?></label>
                                        <input type="text" name="en[family_reason][items][<?php echo e($i); ?>]" value="<?php echo e(old('en.family_reason.items.' . $i, $familyReasonItems[$i] ?? '')); ?>" class="form-control">
                                    </div>
                                <?php endfor; ?>

                                <div class="col-12">
                                    <div class="fw-bold mb-2">Family sponsorship - Plans (UAE)</div>
                                </div>
                                <?php $familyPlansUae = $contentEn['family_plans']['uae'] ?? []; ?>
                                <div class="col-lg-4">
                                    <label class="form-label">Title</label>
                                    <input type="text" name="en[family_plans][uae][title]" value="<?php echo e(old('en.family_plans.uae.title', $familyPlansUae['title'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">Price amount</label>
                                    <input type="text" name="en[family_plans][uae][price_amount]" value="<?php echo e(old('en.family_plans.uae.price_amount', $familyPlansUae['price_amount'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">Price suffix</label>
                                    <input type="text" name="en[family_plans][uae][price_suffix]" value="<?php echo e(old('en.family_plans.uae.price_suffix', $familyPlansUae['price_suffix'] ?? '')); ?>" class="form-control">
                                </div>
                                <?php $familyPlansUaeItems = $familyPlansUae['items'] ?? []; ?>
                                <div class="col-lg-6">
                                    <label class="form-label">Plan item</label>
                                    <input type="text" name="en[family_plans][uae][items][0]" value="<?php echo e(old('en.family_plans.uae.items.0', $familyPlansUaeItems[0] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">CTA href</label>
                                    <input type="text" name="en[family_plans][uae][cta][href]" value="<?php echo e(old('en.family_plans.uae.cta.href', $familyPlansUae['cta']['href'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">CTA text</label>
                                    <input type="text" name="en[family_plans][uae][cta][text]" value="<?php echo e(old('en.family_plans.uae.cta.text', $familyPlansUae['cta']['text'] ?? '')); ?>" class="form-control">
                                </div>

                                <div class="col-12">
                                    <div class="fw-bold mb-2">Family sponsorship - Plans (Overseas)</div>
                                </div>
                                <?php $familyPlansOverseas = $contentEn['family_plans']['overseas'] ?? []; ?>
                                <div class="col-lg-4">
                                    <label class="form-label">Title</label>
                                    <input type="text" name="en[family_plans][overseas][title]" value="<?php echo e(old('en.family_plans.overseas.title', $familyPlansOverseas['title'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">Price amount</label>
                                    <input type="text" name="en[family_plans][overseas][price_amount]" value="<?php echo e(old('en.family_plans.overseas.price_amount', $familyPlansOverseas['price_amount'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">Price suffix</label>
                                    <input type="text" name="en[family_plans][overseas][price_suffix]" value="<?php echo e(old('en.family_plans.overseas.price_suffix', $familyPlansOverseas['price_suffix'] ?? '')); ?>" class="form-control">
                                </div>
                                <?php $familyPlansOverseasItems = $familyPlansOverseas['items'] ?? []; ?>
                                <div class="col-lg-6">
                                    <label class="form-label">Plan item</label>
                                    <input type="text" name="en[family_plans][overseas][items][0]" value="<?php echo e(old('en.family_plans.overseas.items.0', $familyPlansOverseasItems[0] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">CTA href</label>
                                    <input type="text" name="en[family_plans][overseas][cta][href]" value="<?php echo e(old('en.family_plans.overseas.cta.href', $familyPlansOverseas['cta']['href'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">CTA text</label>
                                    <input type="text" name="en[family_plans][overseas][cta][text]" value="<?php echo e(old('en.family_plans.overseas.cta.text', $familyPlansOverseas['cta']['text'] ?? '')); ?>" class="form-control">
                                </div>

                                <div class="col-12 mt-2">
                                    <div class="fw-bold mb-2">Hero choice actions (3 buttons)</div>
                                </div>
                                <?php $heroChoiceActions = $contentEn['hero_choice_actions'] ?? []; ?>
                                <?php for($i=0;$i<3;$i++): ?>
                                    <div class="col-lg-6">
                                        <label class="form-label">Action <?php echo e($i+1); ?> text</label>
                                        <input type="text" name="en[hero_choice_actions][<?php echo e($i); ?>][text]" value="<?php echo e(old('en.hero_choice_actions.' . $i . '.text', $heroChoiceActions[$i]['text'] ?? '')); ?>" class="form-control">
                                    </div>
                                    <div class="col-lg-6">
                                        <label class="form-label">Action <?php echo e($i+1); ?> href</label>
                                        <input type="text" name="en[hero_choice_actions][<?php echo e($i); ?>][href]" value="<?php echo e(old('en.hero_choice_actions.' . $i . '.href', $heroChoiceActions[$i]['href'] ?? '')); ?>" class="form-control">
                                    </div>
                                <?php endfor; ?>

                                <div class="col-12 mt-2">
                                    <div class="fw-bold mb-2">CTA band</div>
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">Title</label>
                                    <input type="text" name="en[cta_band][title]" value="<?php echo e(old('en.cta_band.title', $contentEn['cta_band']['title'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">Description</label>
                                    <textarea name="en[cta_band][description]" rows="2" class="form-control"><?php echo e(old('en.cta_band.description', $contentEn['cta_band']['description'] ?? '')); ?></textarea>
                                </div>
                                <?php $ctaActions = $contentEn['cta_band']['actions'] ?? []; ?>
                                <?php for($i=0;$i<3;$i++): ?>
                                    <div class="col-lg-6">
                                        <label class="form-label">CTA action <?php echo e($i+1); ?> text</label>
                                        <input type="text" name="en[cta_band][actions][<?php echo e($i); ?>][text]" value="<?php echo e(old('en.cta_band.actions.' . $i . '.text', $ctaActions[$i]['text'] ?? '')); ?>" class="form-control">
                                    </div>
                                    <div class="col-lg-6">
                                        <label class="form-label">CTA action <?php echo e($i+1); ?> href</label>
                                        <input type="text" name="en[cta_band][actions][<?php echo e($i); ?>][href]" value="<?php echo e(old('en.cta_band.actions.' . $i . '.href', $ctaActions[$i]['href'] ?? '')); ?>" class="form-control">
                                    </div>
                                <?php endfor; ?>

                                <div class="col-12 mt-2">
                                    <div class="fw-bold mb-2">FAQ</div>
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">Kicker</label>
                                    <input type="text" name="en[faq][kicker]" value="<?php echo e(old('en.faq.kicker', $contentEn['faq']['kicker'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-8">
                                    <label class="form-label">Title</label>
                                    <input type="text" name="en[faq][title]" value="<?php echo e(old('en.faq.title', $contentEn['faq']['title'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-12">
                                    <label class="form-label">Description</label>
                                    <textarea name="en[faq][description]" rows="2" class="form-control"><?php echo e(old('en.faq.description', $contentEn['faq']['description'] ?? '')); ?></textarea>
                                </div>
                                <?php $faqItems = $contentEn['faq']['items'] ?? []; ?>
                                <?php for($i=0;$i<5;$i++): ?>
                                    <div class="col-12">
                                        <div class="fw-bold mb-2">FAQ item <?php echo e($i+1); ?></div>
                                    </div>
                                    <div class="col-lg-6">
                                        <label class="form-label">Question</label>
                                        <input type="text" name="en[faq][items][<?php echo e($i); ?>][question]" value="<?php echo e(old('en.faq.items.' . $i . '.question', $faqItems[$i]['question'] ?? '')); ?>" class="form-control">
                                    </div>
                                    <div class="col-lg-6">
                                        <label class="form-label">Answer</label>
                                        <textarea name="en[faq][items][<?php echo e($i); ?>][answer]" rows="3" class="form-control"><?php echo e(old('en.faq.items.' . $i . '.answer', $faqItems[$i]['answer'] ?? '')); ?></textarea>
                                    </div>
                                <?php endfor; ?>

                                <div class="col-12 mt-2">
                                    <div class="fw-bold mb-2">Contact & form</div>
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">Kicker</label>
                                    <input type="text" name="en[contact][kicker]" value="<?php echo e(old('en.contact.kicker', $contentEn['contact']['kicker'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-8">
                                    <label class="form-label">Title</label>
                                    <input type="text" name="en[contact][title]" value="<?php echo e(old('en.contact.title', $contentEn['contact']['title'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-12">
                                    <label class="form-label">Description</label>
                                    <textarea name="en[contact][description]" rows="2" class="form-control"><?php echo e(old('en.contact.description', $contentEn['contact']['description'] ?? '')); ?></textarea>
                                </div>

                                <div class="col-12 mt-3">
                                    <div class="fw-bold mb-2">Map panel</div>
                                </div>
                                <?php $mapPanel = $contentEn['contact']['map_panel'] ?? []; ?>
                                <div class="col-lg-4">
                                    <label class="form-label">Map title</label>
                                    <input type="text" name="en[contact][map_panel][title]" value="<?php echo e(old('en.contact.map_panel.title', $mapPanel['title'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-8">
                                    <label class="form-label">Map description</label>
                                    <textarea name="en[contact][map_panel][description]" rows="2" class="form-control"><?php echo e(old('en.contact.map_panel.description', $mapPanel['description'] ?? '')); ?></textarea>
                                </div>
                                <div class="col-12">
                                    <label class="form-label">Iframe src</label>
                                    <input type="text" name="en[contact][map_panel][iframe_src]" value="<?php echo e(old('en.contact.map_panel.iframe_src', $mapPanel['iframe_src'] ?? '')); ?>" class="form-control">
                                </div>

                                <div class="col-12 mt-3">
                                    <div class="fw-bold mb-2">Contact tiles (4)</div>
                                </div>
                                <?php $contactPoints = $contentEn['contact']['contact_points'] ?? []; ?>
                                <?php for($i=0;$i<4;$i++): ?>
                                    <div class="col-lg-4">
                                        <label class="form-label">Tile <?php echo e($i+1); ?> title</label>
                                        <input type="text" name="en[contact][contact_points][<?php echo e($i); ?>][title]" value="<?php echo e(old('en.contact.contact_points.' . $i . '.title', $contactPoints[$i]['title'] ?? '')); ?>" class="form-control">
                                    </div>
                                    <div class="col-lg-4">
                                        <label class="form-label">Tile <?php echo e($i+1); ?> text</label>
                                        <input type="text" name="en[contact][contact_points][<?php echo e($i); ?>][text]" value="<?php echo e(old('en.contact.contact_points.' . $i . '.text', $contactPoints[$i]['text'] ?? '')); ?>" class="form-control">
                                    </div>
                                    <div class="col-lg-4">
                                        <label class="form-label">Tile <?php echo e($i+1); ?> href (optional for Address)</label>
                                        <input type="text" name="en[contact][contact_points][<?php echo e($i); ?>][href]" value="<?php echo e(old('en.contact.contact_points.' . $i . '.href', $contactPoints[$i]['href'] ?? '')); ?>" class="form-control">
                                    </div>
                                <?php endfor; ?>

                                <div class="col-12 mt-3">
                                    <div class="fw-bold mb-2">Inquiry form</div>
                                </div>
                                <?php $formPanel = $contentEn['contact']['form_panel'] ?? []; ?>
                                <div class="col-lg-6">
                                    <label class="form-label">Form title</label>
                                    <input type="text" name="en[contact][form_panel][title]" value="<?php echo e(old('en.contact.form_panel.title', $formPanel['title'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">Form description</label>
                                    <textarea name="en[contact][form_panel][description]" rows="2" class="form-control"><?php echo e(old('en.contact.form_panel.description', $formPanel['description'] ?? '')); ?></textarea>
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">Name placeholder</label>
                                    <input type="text" name="en[contact][form_panel][name_placeholder]" value="<?php echo e(old('en.contact.form_panel.name_placeholder', $formPanel['name_placeholder'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">Phone placeholder</label>
                                    <input type="text" name="en[contact][form_panel][phone_placeholder]" value="<?php echo e(old('en.contact.form_panel.phone_placeholder', $formPanel['phone_placeholder'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">Email placeholder</label>
                                    <input type="text" name="en[contact][form_panel][email_placeholder]" value="<?php echo e(old('en.contact.form_panel.email_placeholder', $formPanel['email_placeholder'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-12">
                                    <label class="form-label">Inquiry type placeholder</label>
                                    <input type="text" name="en[contact][form_panel][inquiry_type_placeholder]" value="<?php echo e(old('en.contact.form_panel.inquiry_type_placeholder', $formPanel['inquiry_type_placeholder'] ?? '')); ?>" class="form-control">
                                </div>
                                <?php $inquiryOptions = $formPanel['inquiry_type_options'] ?? []; ?>
                                <?php for($i=0;$i<4;$i++): ?>
                                    <div class="col-lg-3">
                                        <label class="form-label">Option <?php echo e($i+1); ?></label>
                                        <input type="text" name="en[contact][form_panel][inquiry_type_options][<?php echo e($i); ?>]" value="<?php echo e(old('en.contact.form_panel.inquiry_type_options.' . $i, $inquiryOptions[$i] ?? '')); ?>" class="form-control">
                                    </div>
                                <?php endfor; ?>
                                <div class="col-12">
                                    <label class="form-label">Message placeholder</label>
                                    <textarea name="en[contact][form_panel][message_placeholder]" rows="2" class="form-control"><?php echo e(old('en.contact.form_panel.message_placeholder', $formPanel['message_placeholder'] ?? '')); ?></textarea>
                                </div>
                                <div class="col-12">
                                    <label class="form-label">Submit text</label>
                                    <input type="text" name="en[contact][form_panel][submit_text]" value="<?php echo e(old('en.contact.form_panel.submit_text', $formPanel['submit_text'] ?? '')); ?>" class="form-control">
                                </div>

                                <div class="col-12 mt-3">
                                    <div class="fw-bold mb-2">Contact actions (4)</div>
                                </div>
                                <?php $contactActions = $contentEn['contact']['contact_actions'] ?? []; ?>
                                <?php for($i=0;$i<4;$i++): ?>
                                    <div class="col-lg-6">
                                        <label class="form-label">Action <?php echo e($i+1); ?> text</label>
                                        <input type="text" name="en[contact][contact_actions][<?php echo e($i); ?>][text]" value="<?php echo e(old('en.contact.contact_actions.' . $i . '.text', $contactActions[$i]['text'] ?? '')); ?>" class="form-control">
                                    </div>
                                    <div class="col-lg-6">
                                        <label class="form-label">Action <?php echo e($i+1); ?> href</label>
                                        <input type="text" name="en[contact][contact_actions][<?php echo e($i); ?>][href]" value="<?php echo e(old('en.contact.contact_actions.' . $i . '.href', $contactActions[$i]['href'] ?? '')); ?>" class="form-control">
                                    </div>
                                <?php endfor; ?>
                            </div>
                        </div>

                        <div class="tab-pane fade" id="tab-ar" role="tabpanel" dir="rtl">
                            <div class="row g-4">
                                <div class="col-12">
                                    <label class="form-label fw-bold">ملاحظة البطل</label>
                                    <input type="text" name="ar[hero_note]" value="<?php echo e(old('ar.hero_note', $contentAr['hero_note'] ?? '')); ?>" class="form-control">
                                </div>

                                <div class="col-12">
                                    <div class="fw-bold mb-2">كفالة الشركة - عنوان سبب</div>
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">العنوان</label>
                                    <input type="text" name="ar[company_reason][title]" value="<?php echo e(old('ar.company_reason.title', $contentAr['company_reason']['title'] ?? '')); ?>" class="form-control">
                                </div>
                                <?php $companyReasonItemsAr = $contentAr['company_reason']['items'] ?? []; ?>
                                <?php for($i=0;$i<4;$i++): ?>
                                    <div class="col-lg-6">
                                        <label class="form-label">العنصر <?php echo e($i+1); ?></label>
                                        <input type="text" name="ar[company_reason][items][<?php echo e($i); ?>]" value="<?php echo e(old('ar.company_reason.items.' . $i, $companyReasonItemsAr[$i] ?? '')); ?>" class="form-control">
                                    </div>
                                <?php endfor; ?>

                                <div class="col-12">
                                    <div class="fw-bold mb-2">كفالة الشركة - خطة داخل الدولة</div>
                                </div>
                                <?php $companyPlansUaeAr = $contentAr['company_plans']['uae'] ?? []; ?>
                                <div class="col-lg-4">
                                    <label class="form-label">العنوان</label>
                                    <input type="text" name="ar[company_plans][uae][title]" value="<?php echo e(old('ar.company_plans.uae.title', $companyPlansUaeAr['title'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">سعر</label>
                                    <input type="text" name="ar[company_plans][uae][price_amount]" value="<?php echo e(old('ar.company_plans.uae.price_amount', $companyPlansUaeAr['price_amount'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">الملحق</label>
                                    <input type="text" name="ar[company_plans][uae][price_suffix]" value="<?php echo e(old('ar.company_plans.uae.price_suffix', $companyPlansUaeAr['price_suffix'] ?? '')); ?>" class="form-control">
                                </div>
                                <?php $companyPlansUaeItemsAr = $companyPlansUaeAr['items'] ?? []; ?>
                                <div class="col-lg-6">
                                    <label class="form-label">نقطة الخطة</label>
                                    <input type="text" name="ar[company_plans][uae][items][0]" value="<?php echo e(old('ar.company_plans.uae.items.0', $companyPlansUaeItemsAr[0] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">رابط CTA</label>
                                    <input type="text" name="ar[company_plans][uae][cta][href]" value="<?php echo e(old('ar.company_plans.uae.cta.href', $companyPlansUaeAr['cta']['href'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">نص CTA</label>
                                    <input type="text" name="ar[company_plans][uae][cta][text]" value="<?php echo e(old('ar.company_plans.uae.cta.text', $companyPlansUaeAr['cta']['text'] ?? '')); ?>" class="form-control">
                                </div>

                                <div class="col-12">
                                    <div class="fw-bold mb-2">كفالة الشركة - خطة من الخارج</div>
                                </div>
                                <?php $companyPlansOverseasAr = $contentAr['company_plans']['overseas'] ?? []; ?>
                                <div class="col-lg-4">
                                    <label class="form-label">العنوان</label>
                                    <input type="text" name="ar[company_plans][overseas][title]" value="<?php echo e(old('ar.company_plans.overseas.title', $companyPlansOverseasAr['title'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">سعر</label>
                                    <input type="text" name="ar[company_plans][overseas][price_amount]" value="<?php echo e(old('ar.company_plans.overseas.price_amount', $companyPlansOverseasAr['price_amount'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">الملحق</label>
                                    <input type="text" name="ar[company_plans][overseas][price_suffix]" value="<?php echo e(old('ar.company_plans.overseas.price_suffix', $companyPlansOverseasAr['price_suffix'] ?? '')); ?>" class="form-control">
                                </div>
                                <?php $companyPlansOverseasItemsAr = $companyPlansOverseasAr['items'] ?? []; ?>
                                <div class="col-lg-6">
                                    <label class="form-label">نقطة الخطة</label>
                                    <input type="text" name="ar[company_plans][overseas][items][0]" value="<?php echo e(old('ar.company_plans.overseas.items.0', $companyPlansOverseasItemsAr[0] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">رابط CTA</label>
                                    <input type="text" name="ar[company_plans][overseas][cta][href]" value="<?php echo e(old('ar.company_plans.overseas.cta.href', $companyPlansOverseasAr['cta']['href'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">نص CTA</label>
                                    <input type="text" name="ar[company_plans][overseas][cta][text]" value="<?php echo e(old('ar.company_plans.overseas.cta.text', $companyPlansOverseasAr['cta']['text'] ?? '')); ?>" class="form-control">
                                </div>

                                <div class="col-12">
                                    <div class="fw-bold mb-2">كفالة العائلة - عنوان سبب</div>
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">العنوان</label>
                                    <input type="text" name="ar[family_reason][title]" value="<?php echo e(old('ar.family_reason.title', $contentAr['family_reason']['title'] ?? '')); ?>" class="form-control">
                                </div>
                                <?php $familyReasonItemsAr = $contentAr['family_reason']['items'] ?? []; ?>
                                <?php for($i=0;$i<4;$i++): ?>
                                    <div class="col-lg-6">
                                        <label class="form-label">العنصر <?php echo e($i+1); ?></label>
                                        <input type="text" name="ar[family_reason][items][<?php echo e($i); ?>]" value="<?php echo e(old('ar.family_reason.items.' . $i, $familyReasonItemsAr[$i] ?? '')); ?>" class="form-control">
                                    </div>
                                <?php endfor; ?>

                                <div class="col-12">
                                    <div class="fw-bold mb-2">كفالة العائلة - خطة داخل الدولة</div>
                                </div>
                                <?php $familyPlansUaeAr = $contentAr['family_plans']['uae'] ?? []; ?>
                                <div class="col-lg-4">
                                    <label class="form-label">العنوان</label>
                                    <input type="text" name="ar[family_plans][uae][title]" value="<?php echo e(old('ar.family_plans.uae.title', $familyPlansUaeAr['title'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">سعر</label>
                                    <input type="text" name="ar[family_plans][uae][price_amount]" value="<?php echo e(old('ar.family_plans.uae.price_amount', $familyPlansUaeAr['price_amount'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">الملحق</label>
                                    <input type="text" name="ar[family_plans][uae][price_suffix]" value="<?php echo e(old('ar.family_plans.uae.price_suffix', $familyPlansUaeAr['price_suffix'] ?? '')); ?>" class="form-control">
                                </div>
                                <?php $familyPlansUaeItemsAr = $familyPlansUaeAr['items'] ?? []; ?>
                                <div class="col-lg-6">
                                    <label class="form-label">نقطة الخطة</label>
                                    <input type="text" name="ar[family_plans][uae][items][0]" value="<?php echo e(old('ar.family_plans.uae.items.0', $familyPlansUaeItemsAr[0] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">رابط CTA</label>
                                    <input type="text" name="ar[family_plans][uae][cta][href]" value="<?php echo e(old('ar.family_plans.uae.cta.href', $familyPlansUaeAr['cta']['href'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">نص CTA</label>
                                    <input type="text" name="ar[family_plans][uae][cta][text]" value="<?php echo e(old('ar.family_plans.uae.cta.text', $familyPlansUaeAr['cta']['text'] ?? '')); ?>" class="form-control">
                                </div>

                                <div class="col-12">
                                    <div class="fw-bold mb-2">كفالة العائلة - خطة من الخارج</div>
                                </div>
                                <?php $familyPlansOverseasAr = $contentAr['family_plans']['overseas'] ?? []; ?>
                                <div class="col-lg-4">
                                    <label class="form-label">العنوان</label>
                                    <input type="text" name="ar[family_plans][overseas][title]" value="<?php echo e(old('ar.family_plans.overseas.title', $familyPlansOverseasAr['title'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">سعر</label>
                                    <input type="text" name="ar[family_plans][overseas][price_amount]" value="<?php echo e(old('ar.family_plans.overseas.price_amount', $familyPlansOverseasAr['price_amount'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">الملحق</label>
                                    <input type="text" name="ar[family_plans][overseas][price_suffix]" value="<?php echo e(old('ar.family_plans.overseas.price_suffix', $familyPlansOverseasAr['price_suffix'] ?? '')); ?>" class="form-control">
                                </div>
                                <?php $familyPlansOverseasItemsAr = $familyPlansOverseasAr['items'] ?? []; ?>
                                <div class="col-lg-6">
                                    <label class="form-label">نقطة الخطة</label>
                                    <input type="text" name="ar[family_plans][overseas][items][0]" value="<?php echo e(old('ar.family_plans.overseas.items.0', $familyPlansOverseasItemsAr[0] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">رابط CTA</label>
                                    <input type="text" name="ar[family_plans][overseas][cta][href]" value="<?php echo e(old('ar.family_plans.overseas.cta.href', $familyPlansOverseasAr['cta']['href'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">نص CTA</label>
                                    <input type="text" name="ar[family_plans][overseas][cta][text]" value="<?php echo e(old('ar.family_plans.overseas.cta.text', $familyPlansOverseasAr['cta']['text'] ?? '')); ?>" class="form-control">
                                </div>

                                <div class="col-12 mt-2">
                                    <div class="fw-bold mb-2">أزرار اختيار الكفالة (3)</div>
                                </div>
                                <?php $heroChoiceActionsAr = $contentAr['hero_choice_actions'] ?? []; ?>
                                <?php for($i=0;$i<3;$i++): ?>
                                    <div class="col-lg-6">
                                        <label class="form-label">نص الزر <?php echo e($i+1); ?></label>
                                        <input type="text" name="ar[hero_choice_actions][<?php echo e($i); ?>][text]" value="<?php echo e(old('ar.hero_choice_actions.' . $i . '.text', $heroChoiceActionsAr[$i]['text'] ?? '')); ?>" class="form-control">
                                    </div>
                                    <div class="col-lg-6">
                                        <label class="form-label">رابط الزر <?php echo e($i+1); ?></label>
                                        <input type="text" name="ar[hero_choice_actions][<?php echo e($i); ?>][href]" value="<?php echo e(old('ar.hero_choice_actions.' . $i . '.href', $heroChoiceActionsAr[$i]['href'] ?? '')); ?>" class="form-control">
                                    </div>
                                <?php endfor; ?>

                                <div class="col-12 mt-2">
                                    <div class="fw-bold mb-2">شريط CTA</div>
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">العنوان</label>
                                    <input type="text" name="ar[cta_band][title]" value="<?php echo e(old('ar.cta_band.title', $contentAr['cta_band']['title'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">الوصف</label>
                                    <textarea name="ar[cta_band][description]" rows="2" class="form-control"><?php echo e(old('ar.cta_band.description', $contentAr['cta_band']['description'] ?? '')); ?></textarea>
                                </div>
                                <?php $ctaActionsAr = $contentAr['cta_band']['actions'] ?? []; ?>
                                <?php for($i=0;$i<3;$i++): ?>
                                    <div class="col-lg-6">
                                        <label class="form-label">نص إجراء <?php echo e($i+1); ?></label>
                                        <input type="text" name="ar[cta_band][actions][<?php echo e($i); ?>][text]" value="<?php echo e(old('ar.cta_band.actions.' . $i . '.text', $ctaActionsAr[$i]['text'] ?? '')); ?>" class="form-control">
                                    </div>
                                    <div class="col-lg-6">
                                        <label class="form-label">رابط إجراء <?php echo e($i+1); ?></label>
                                        <input type="text" name="ar[cta_band][actions][<?php echo e($i); ?>][href]" value="<?php echo e(old('ar.cta_band.actions.' . $i . '.href', $ctaActionsAr[$i]['href'] ?? '')); ?>" class="form-control">
                                    </div>
                                <?php endfor; ?>

                                <div class="col-12 mt-2">
                                    <div class="fw-bold mb-2">الأسئلة الشائعة</div>
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">الشارة</label>
                                    <input type="text" name="ar[faq][kicker]" value="<?php echo e(old('ar.faq.kicker', $contentAr['faq']['kicker'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-8">
                                    <label class="form-label">العنوان</label>
                                    <input type="text" name="ar[faq][title]" value="<?php echo e(old('ar.faq.title', $contentAr['faq']['title'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-12">
                                    <label class="form-label">الوصف</label>
                                    <textarea name="ar[faq][description]" rows="2" class="form-control"><?php echo e(old('ar.faq.description', $contentAr['faq']['description'] ?? '')); ?></textarea>
                                </div>
                                <?php $faqItemsAr = $contentAr['faq']['items'] ?? []; ?>
                                <?php for($i=0;$i<5;$i++): ?>
                                    <div class="col-12">
                                        <div class="fw-bold mb-2">سؤال/إجابة <?php echo e($i+1); ?></div>
                                    </div>
                                    <div class="col-lg-6">
                                        <label class="form-label">السؤال</label>
                                        <input type="text" name="ar[faq][items][<?php echo e($i); ?>][question]" value="<?php echo e(old('ar.faq.items.' . $i . '.question', $faqItemsAr[$i]['question'] ?? '')); ?>" class="form-control">
                                    </div>
                                    <div class="col-lg-6">
                                        <label class="form-label">الإجابة</label>
                                        <textarea name="ar[faq][items][<?php echo e($i); ?>][answer]" rows="3" class="form-control"><?php echo e(old('ar.faq.items.' . $i . '.answer', $faqItemsAr[$i]['answer'] ?? '')); ?></textarea>
                                    </div>
                                <?php endfor; ?>

                                <div class="col-12 mt-2">
                                    <div class="fw-bold mb-2">التواصل والنموذج</div>
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">الشارة</label>
                                    <input type="text" name="ar[contact][kicker]" value="<?php echo e(old('ar.contact.kicker', $contentAr['contact']['kicker'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-8">
                                    <label class="form-label">العنوان</label>
                                    <input type="text" name="ar[contact][title]" value="<?php echo e(old('ar.contact.title', $contentAr['contact']['title'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-12">
                                    <label class="form-label">الوصف</label>
                                    <textarea name="ar[contact][description]" rows="2" class="form-control"><?php echo e(old('ar.contact.description', $contentAr['contact']['description'] ?? '')); ?></textarea>
                                </div>

                                <div class="col-12 mt-3">
                                    <div class="fw-bold mb-2">لوحة الخريطة</div>
                                </div>
                                <?php $mapPanelAr = $contentAr['contact']['map_panel'] ?? []; ?>
                                <div class="col-lg-4">
                                    <label class="form-label">عنوان الخريطة</label>
                                    <input type="text" name="ar[contact][map_panel][title]" value="<?php echo e(old('ar.contact.map_panel.title', $mapPanelAr['title'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-8">
                                    <label class="form-label">وصف الخريطة</label>
                                    <textarea name="ar[contact][map_panel][description]" rows="2" class="form-control"><?php echo e(old('ar.contact.map_panel.description', $mapPanelAr['description'] ?? '')); ?></textarea>
                                </div>
                                <div class="col-12">
                                    <label class="form-label">Iframe src</label>
                                    <input type="text" name="ar[contact][map_panel][iframe_src]" value="<?php echo e(old('ar.contact.map_panel.iframe_src', $mapPanelAr['iframe_src'] ?? '')); ?>" class="form-control">
                                </div>

                                <div class="col-12 mt-3">
                                    <div class="fw-bold mb-2">مربعات التواصل (4)</div>
                                </div>
                                <?php $contactPointsAr = $contentAr['contact']['contact_points'] ?? []; ?>
                                <?php for($i=0;$i<4;$i++): ?>
                                    <div class="col-lg-4">
                                        <label class="form-label">عنوان المربع <?php echo e($i+1); ?></label>
                                        <input type="text" name="ar[contact][contact_points][<?php echo e($i); ?>][title]" value="<?php echo e(old('ar.contact.contact_points.' . $i . '.title', $contactPointsAr[$i]['title'] ?? '')); ?>" class="form-control">
                                    </div>
                                    <div class="col-lg-4">
                                        <label class="form-label">نص المربع <?php echo e($i+1); ?></label>
                                        <input type="text" name="ar[contact][contact_points][<?php echo e($i); ?>][text]" value="<?php echo e(old('ar.contact.contact_points.' . $i . '.text', $contactPointsAr[$i]['text'] ?? '')); ?>" class="form-control">
                                    </div>
                                    <div class="col-lg-4">
                                        <label class="form-label">رابط المربع <?php echo e($i+1); ?></label>
                                        <input type="text" name="ar[contact][contact_points][<?php echo e($i); ?>][href]" value="<?php echo e(old('ar.contact.contact_points.' . $i . '.href', $contactPointsAr[$i]['href'] ?? '')); ?>" class="form-control">
                                    </div>
                                <?php endfor; ?>

                                <div class="col-12 mt-3">
                                    <div class="fw-bold mb-2">نموذج الاستفسار</div>
                                </div>
                                <?php $formPanelAr = $contentAr['contact']['form_panel'] ?? []; ?>
                                <div class="col-lg-6">
                                    <label class="form-label">عنوان النموذج</label>
                                    <input type="text" name="ar[contact][form_panel][title]" value="<?php echo e(old('ar.contact.form_panel.title', $formPanelAr['title'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">وصف النموذج</label>
                                    <textarea name="ar[contact][form_panel][description]" rows="2" class="form-control"><?php echo e(old('ar.contact.form_panel.description', $formPanelAr['description'] ?? '')); ?></textarea>
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">اسم placeholder</label>
                                    <input type="text" name="ar[contact][form_panel][name_placeholder]" value="<?php echo e(old('ar.contact.form_panel.name_placeholder', $formPanelAr['name_placeholder'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">هاتف placeholder</label>
                                    <input type="text" name="ar[contact][form_panel][phone_placeholder]" value="<?php echo e(old('ar.contact.form_panel.phone_placeholder', $formPanelAr['phone_placeholder'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">بريد placeholder</label>
                                    <input type="text" name="ar[contact][form_panel][email_placeholder]" value="<?php echo e(old('ar.contact.form_panel.email_placeholder', $formPanelAr['email_placeholder'] ?? '')); ?>" class="form-control">
                                </div>
                                <div class="col-12">
                                    <label class="form-label">placeholder نوع الاستفسار</label>
                                    <input type="text" name="ar[contact][form_panel][inquiry_type_placeholder]" value="<?php echo e(old('ar.contact.form_panel.inquiry_type_placeholder', $formPanelAr['inquiry_type_placeholder'] ?? '')); ?>" class="form-control">
                                </div>
                                <?php $inquiryOptionsAr = $formPanelAr['inquiry_type_options'] ?? []; ?>
                                <?php for($i=0;$i<4;$i++): ?>
                                    <div class="col-lg-3">
                                        <label class="form-label">الخيار <?php echo e($i+1); ?></label>
                                        <input type="text" name="ar[contact][form_panel][inquiry_type_options][<?php echo e($i); ?>]" value="<?php echo e(old('ar.contact.form_panel.inquiry_type_options.' . $i, $inquiryOptionsAr[$i] ?? '')); ?>" class="form-control">
                                    </div>
                                <?php endfor; ?>
                                <div class="col-12">
                                    <label class="form-label">رسالة placeholder</label>
                                    <textarea name="ar[contact][form_panel][message_placeholder]" rows="2" class="form-control"><?php echo e(old('ar.contact.form_panel.message_placeholder', $formPanelAr['message_placeholder'] ?? '')); ?></textarea>
                                </div>
                                <div class="col-12">
                                    <label class="form-label">نص إرسال</label>
                                    <input type="text" name="ar[contact][form_panel][submit_text]" value="<?php echo e(old('ar.contact.form_panel.submit_text', $formPanelAr['submit_text'] ?? '')); ?>" class="form-control">
                                </div>

                                <div class="col-12 mt-3">
                                    <div class="fw-bold mb-2">إجراءات التواصل (4)</div>
                                </div>
                                <?php $contactActionsAr = $contentAr['contact']['contact_actions'] ?? []; ?>
                                <?php for($i=0;$i<4;$i++): ?>
                                    <div class="col-lg-6">
                                        <label class="form-label">نص الإجراء <?php echo e($i+1); ?></label>
                                        <input type="text" name="ar[contact][contact_actions][<?php echo e($i); ?>][text]" value="<?php echo e(old('ar.contact.contact_actions.' . $i . '.text', $contactActionsAr[$i]['text'] ?? '')); ?>" class="form-control">
                                    </div>
                                    <div class="col-lg-6">
                                        <label class="form-label">رابط الإجراء <?php echo e($i+1); ?></label>
                                        <input type="text" name="ar[contact][contact_actions][<?php echo e($i); ?>][href]" value="<?php echo e(old('ar.contact.contact_actions.' . $i . '.href', $contactActionsAr[$i]['href'] ?? '')); ?>" class="form-control">
                                    </div>
                                <?php endfor; ?>
                            </div>
                        </div>
                    </div>

                    <hr class="my-4">

                    <div class="row g-3">
                        <div class="col-lg-6">
                            <label class="form-label">SEO Title (EN)</label>
                            <input type="text" name="seo[title_en]" value="<?php echo e(old('seo.title_en', $seo->title_en)); ?>" class="form-control">
                        </div>
                        <div class="col-lg-6">
                            <label class="form-label">SEO Title (AR)</label>
                            <input type="text" name="seo[title_ar]" value="<?php echo e(old('seo.title_ar', $seo->title_ar)); ?>" dir="rtl" class="form-control">
                        </div>

                        <div class="col-lg-6">
                            <label class="form-label">SEO Description (EN)</label>
                            <textarea name="seo[description_en]" rows="3" class="form-control"><?php echo e(old('seo.description_en', $seo->description_en)); ?></textarea>
                        </div>
                        <div class="col-lg-6">
                            <label class="form-label">SEO Description (AR)</label>
                            <textarea name="seo[description_ar]" rows="3" dir="rtl" class="form-control"><?php echo e(old('seo.description_ar', $seo->description_ar)); ?></textarea>
                        </div>

                        <div class="col-lg-6">
                            <label class="form-label">SEO Keywords (EN)</label>
                            <textarea name="seo[keywords_en]" rows="3" class="form-control"><?php echo e(old('seo.keywords_en', $seo->keywords_en)); ?></textarea>
                        </div>
                        <div class="col-lg-6">
                            <label class="form-label">SEO Keywords (AR)</label>
                            <textarea name="seo[keywords_ar]" rows="3" dir="rtl" class="form-control"><?php echo e(old('seo.keywords_ar', $seo->keywords_ar)); ?></textarea>
                        </div>

                        <div class="col-lg-6">
                            <label class="form-label">H1 Heading (EN)</label>
                            <input type="text" name="seo[heading_en]" value="<?php echo e(old('seo.heading_en', $seo->heading_en)); ?>" class="form-control">
                        </div>
                        <div class="col-lg-6">
                            <label class="form-label">H1 Heading (AR)</label>
                            <input type="text" name="seo[heading_ar]" value="<?php echo e(old('seo.heading_ar', $seo->heading_ar)); ?>" dir="rtl" class="form-control">
                        </div>

                        <div class="col-lg-6">
                            <label class="form-label">Canonical URL</label>
                            <input type="text" name="seo[canonical_url]" value="<?php echo e(old('seo.canonical_url', $seo->canonical_url)); ?>" class="form-control">
                        </div>
                        <div class="col-lg-6">
                            <label class="form-label">Robots</label>
                            <input type="text" name="seo[robots]" value="<?php echo e(old('seo.robots', $seo->robots)); ?>" class="form-control">
                        </div>

                        <div class="col-lg-6">
                            <label class="form-label">OG Type</label>
                            <input type="text" name="seo[og_type]" value="<?php echo e(old('seo.og_type', $seo->og_type)); ?>" class="form-control">
                        </div>
                        <div class="col-lg-6">
                            <label class="form-label">Twitter Card</label>
                            <input type="text" name="seo[twitter_card]" value="<?php echo e(old('seo.twitter_card', $seo->twitter_card)); ?>" class="form-control">
                        </div>

                        <div class="col-lg-12">
                            <label class="form-label">Schema JSON</label>
                            <textarea name="seo[schema_json]" rows="3" class="form-control"><?php echo e(old('seo.schema_json', $seo->schema_json)); ?></textarea>
                        </div>
                    </div>

                    <div class="d-flex justify-content-end gap-2 mt-4">
                        <a href="<?php echo e(route('admin.dashboard')); ?>" class="btn btn-light border">Cancel</a>
                        <button type="submit" class="btn btn-primary px-4">
                            Save Changes
                        </button>
                    </div>
                </div>
            </div>
        </form>
    </div>
<?php $__env->stopSection(); ?>


<?php echo $__env->make('admin.ad_master', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/onesourceerp/public_html/project/resources/views/admin/pages/candidates-profiles/edit.blade.php ENDPATH**/ ?>