
<?php $__env->startSection('title', 'Apply Now | E-Visa'); ?>
<?php $__env->startPush('styles'); ?>

<link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Dropify/0.2.2/css/dropify.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css">
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<link href="<?php echo e(asset('frontendAssets')); ?>/css/main.css" rel="stylesheet">
<?php $__env->stopPush(); ?>
<style>
    form select option {
        white-space: normal;
        word-wrap: break-word !important;
    }

    .nav-pills .nav-link.disabled {
        cursor: not-allowed !important;
        pointer-events: auto;
    }

</style>
<?php $__env->startSection('content'); ?>
<section class="immigration-section py-5">
    <div class="container">
        <h1 class="mb-4">Immigration Services</h1>

        <div class="row">
            <!-- LEFT NAV -->
            <?php
            $currentStep = session('step', request('step', 1)); // default step = 1
            ?>
            <div class="col-lg-2 col-md-3">
                <ul class="nav nav-pills flex-column immigration-nav" role="tablist">

                    <li class="nav-item" role="presentation">
                        <button class="nav-link <?php echo e($currentStep == 1 ? 'active' : 'disabled'); ?>" data-bs-toggle="pill" data-bs-target="#visa" aria-selected="true" role="tab">
                            Personal information
                        </button>
                    </li>

                    <li class="nav-item" role="presentation">
                        <button class="nav-link <?php echo e($currentStep == 2 ? 'active' : 'disabled'); ?>" data-bs-toggle="pill" data-bs-target="#work" aria-selected="false" tabindex="-1" role="tab">
                            Type of visa
                        </button>
                    </li>

                    <li class="nav-item" role="presentation">
                        <button class="nav-link <?php echo e($currentStep == 3 ? 'active' : 'disabled'); ?>" data-bs-toggle="pill" data-bs-target="#investor" aria-selected="false" tabindex="-1" role="tab">
                            Work information
                        </button>
                    </li>

                    <li class="nav-item" role="presentation">
                        <button class="nav-link <?php echo e($currentStep == 4 ? 'active' : 'disabled'); ?>" data-bs-toggle="pill" data-bs-target="#study" aria-selected="false" tabindex="-1" role="tab">
                            Education
                        </button>
                    </li>

                    <li class="nav-item" role="presentation">
                        <button class="nav-link <?php echo e($currentStep == 5 ? 'active' : 'disabled'); ?>" data-bs-toggle="pill" data-bs-target="#residence" aria-selected="false" tabindex="-1" role="tab">
                            Family information
                        </button>
                    </li>

                    <li class="nav-item" role="presentation">
                        <button class="nav-link <?php echo e($currentStep == 6 ? 'active' : 'disabled'); ?>" data-bs-toggle="pill" data-bs-target="#citizenship" aria-selected="false" tabindex="-1" role="tab">
                            Travel information
                        </button>
                    </li>

                    <li class="nav-item" role="presentation">
                        <button class="nav-link <?php echo e($currentStep == 7 ? 'active' : 'disabled'); ?>" data-bs-toggle="pill" data-bs-target="#exemption" aria-selected="false" tabindex="-1" role="tab">
                            Previous travel info
                        </button>
                    </li>

                    <li class="nav-item" role="presentation">
                        <button class="nav-link <?php echo e($currentStep == 8 ? 'active' : 'disabled'); ?>" data-bs-toggle="pill" data-bs-target="#status" aria-selected="false" tabindex="-1" role="tab">
                            Other information
                        </button>
                    </li>

                    <li class="nav-item" role="presentation">
                        <button class="nav-link <?php echo e($currentStep == 9 ? 'active' : 'disabled'); ?>" data-bs-toggle="pill" data-bs-target="#pi" aria-selected="false" tabindex="-1" role="tab">
                            Declaration
                        </button>
                    </li>

                    <li class="nav-item" role="presentation">
                        <button class="nav-link <?php echo e($currentStep == 10 ? 'active' : 'disabled'); ?>" data-bs-toggle="pill" data-bs-target="#bond" aria-selected="false" tabindex="-1" role="tab">
                            Upload Materials
                        </button>
                    </li>
                </ul>


            </div>

            <!-- RIGHT CONTENT -->
            <div class="col-lg-10 col-md-9">
                <?php if(session('success')): ?>
                <div class="alert alert-primary d-flex align-items-center" role="alert">
                    <div>
                        <?php echo e(session('success')); ?>

                    </div>
                </div>
                <?php endif; ?>

                <?php if(session('error')): ?>
                <div class="alert alert-warning d-flex align-items-center" role="alert">
                    <div>
                        <?php echo e(session('error')); ?>

                    </div>
                </div>
                <?php endif; ?>
                <div class="tab-content">
                    <!-- VISA & VISITORS PERMIT -->
                    <div class="tab-pane fade <?php echo e($currentStep == 1 ? 'show active' : ''); ?>" id="visa" role="tabpanel">
                        <div class="skills">
                            <div class="container">
                                <div class="row">
                                    <div class="col-lg-12">
                                        <div class="skills-grid">
                                            <div class="row g-4">
                                                <div class="col-md-12">
                                                    <div class="skill-card">
                                                        <div class="skill-header">
                                                            <i class="bi bi-person"></i>
                                                            <h4 class="fw-bold">Personal information</h4>
                                                        </div>
                                                        <?php if($currentStep == 1): ?>
                                                        <div class="skill-body">
                                                            <form id="personalInfoForm" action="<?php echo e(route('apply.save.step1')); ?>" method="POST" enctype="multipart/form-data">
                                                                <?php echo csrf_field(); ?>
                                                                <!-- Hidden application ID if exists -->
                                                                <?php if($application): ?>
                                                                <input type="hidden" name="application_id" value="<?php echo e($application->id); ?>">
                                                                <?php endif; ?>

                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-3 col-md-4">
                                                                        <label for="picture" class="form-label required-field">Upload Picture (JPG, PNG) (max. 1MB)</label>
                                                                        <input type="file" id="picture" name="picture" class="dropify <?php $__errorArgs = ['picture'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" data-max-file-size="1M" data-allowed-file-extensions="jpg jpeg png" data-height="150" accept="image/*" required />
                                                                        <?php $__errorArgs = ['picture'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-4 col-md-6">
                                                                        <label for="passport_picture" class="form-label required-field">Data page of the passport (JPG, PNG) (max. 5MB)</label>
                                                                        <input type="file" id="passport_picture" name="passport_picture" class="dropify <?php $__errorArgs = ['passport_picture'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" data-max-file-size="5M" data-allowed-file-extensions="jpg jpeg png" data-height="150" accept="image/*" required />
                                                                        <?php $__errorArgs = ['passport_picture'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>1.1 Name</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="family_name" class="form-label required-field">1.1A Family name (as shown on your passport, if any)</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['family_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="family_name" name="family_name" value="<?php echo e(old('family_name')); ?>" required>
                                                                        <?php $__errorArgs = ['family_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="given_names" class="form-label required-field">1.1B Given name(s) (as shown on your passport, if any)</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['given_names'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="given_names" name="given_names" value="<?php echo e(old('given_names')); ?>" required>
                                                                        <?php $__errorArgs = ['given_names'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="other_names" class="form-label">1.1C Other name(s) or former name(s)</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['other_names'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="other_names" name="other_names" value="<?php echo e(old('other_names')); ?>">
                                                                        <?php $__errorArgs = ['other_names'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="siberia_name" class="form-label">1.1D FIji name (in FIji, if any)</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['siberia_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="siberia_name" name="siberia_name" value="<?php echo e(old('siberia_name')); ?>">
                                                                        <?php $__errorArgs = ['siberia_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>1.2 Date of birth</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="dob" class="form-label required-field">1.2A Date of birth</label>
                                                                        <input type="text" id="dob" class="flat_date form-control <?php $__errorArgs = ['dob'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="dob" value="<?php echo e(old('dob')); ?>" required>
                                                                        <?php $__errorArgs = ['dob'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>1.3 Gender</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="gender" class="form-label required-field d-block">1.3A Gender</label>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['gender'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="gender" id="male" value="male" <?php echo e(old('gender') == 'male' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="male">Male</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['gender'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="gender" id="female" value="female" <?php echo e(old('gender') == 'female' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="female">Female</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['gender'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>1.4 Place of birth</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="birth_country_id" class="form-label required-field">1.4A Country/region</label>
                                                                        <select id="birth_country_id" name="birth_country_id" class="select2 form-control <?php $__errorArgs = ['birth_country_id'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" required>
                                                                            <option value="">--Select One--</option>
                                                                            <?php $__currentLoopData = $countries; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $country): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                                            <option value="<?php echo e($country->id); ?>" <?php echo e(old('birth_country_id') == $country->id ? 'selected' : ''); ?>><?php echo e($country->name); ?></option>
                                                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                                        </select>
                                                                        <?php $__errorArgs = ['birth_country_id'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="province_state" class="form-label required-field">1.4B Province/state</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['province_state'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="province_state" name="province_state" value="<?php echo e(old('province_state')); ?>" required>
                                                                        <?php $__errorArgs = ['province_state'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="city" class="form-label required-field">1.4C City</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['city'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="city" name="city" value="<?php echo e(old('city')); ?>" required>
                                                                        <?php $__errorArgs = ['city'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>1.5 Marital status</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="marital_status" class="form-label required-field d-block">1.5A Marital status</label>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['marital_status'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="marital_status" id="married" value="married" <?php echo e(old('marital_status') == 'married' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="married">Married</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['marital_status'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="marital_status" id="divorced" value="divorced" <?php echo e(old('marital_status') == 'divorced' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="divorced">Divorced</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['marital_status'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="marital_status" id="single" value="single" <?php echo e(old('marital_status') == 'single' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="single">Single</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['marital_status'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="marital_status" id="widowed" value="widowed" <?php echo e(old('marital_status') == 'widowed' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="widowed">Widowed</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['marital_status'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="marital_status" id="others" value="others" <?php echo e(old('marital_status') == 'others' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="others">Others</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['marital_status'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>1.6 Nationality and permanent residence</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="current_nationality_id" class="form-label required-field">1.6A Current nationality</label>
                                                                        <select id="current_nationality_id" name="current_nationality_id" class="select2 form-control <?php $__errorArgs = ['current_nationality_id'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" required>
                                                                            <option value="">--Select One--</option>
                                                                            <?php $__currentLoopData = $countries; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $country): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                                            <option value="<?php echo e($country->id); ?>" <?php echo e(old('current_nationality_id') == $country->id ? 'selected' : ''); ?>><?php echo e($country->name); ?></option>
                                                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                                        </select>
                                                                        <?php $__errorArgs = ['current_nationality_id'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="id_number" class="form-label required-field">1.6B ID number in the country of nationality</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['id_number'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="id_number" name="id_number" value="<?php echo e(old('id_number')); ?>" required>
                                                                        <?php $__errorArgs = ['id_number'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="other_nationality" class="form-label required-field d-block">1.6C Do you have any other nationality?</label>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['other_nationality'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="other_nationality" id="other_nationality_yes" value="yes" <?php echo e(old('other_nationality') == 'yes' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="other_nationality_yes">Yes</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['other_nationality'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="other_nationality" id="other_nationality_no" value="no" <?php echo e(old('other_nationality') == 'no' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="other_nationality_no">No</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['other_nationality'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="permanent_resident_status" class="form-label required-field d-block">1.6F Do you have permanent resident status in any other country or region?</label>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['permanent_resident_status'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="permanent_resident_status" id="permanent_resident_status_yes" value="yes" <?php echo e(old('permanent_resident_status') == 'yes' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="permanent_resident_status_yes">Yes</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['permanent_resident_status'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="permanent_resident_status" id="permanent_resident_status_no" value="no" <?php echo e(old('permanent_resident_status') == 'no' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="permanent_resident_status_no">No</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['permanent_resident_status'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="previous_nationalities" class="form-label required-field d-block">Have you ever had any other nationalities or resident status?</label>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['previous_nationalities'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="previous_nationalities" id="previous_nationalities_yes" value="yes" <?php echo e(old('previous_nationalities') == 'yes' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="previous_nationalities_yes">Yes</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['previous_nationalities'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="previous_nationalities" id="previous_nationalities_no" value="no" <?php echo e(old('previous_nationalities') == 'no' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="previous_nationalities_no">No</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['previous_nationalities'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>1.7 Passport information</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="passport_type" class="form-label required-field d-block">1.7A Type of passport/travel document</label>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['passport_type'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="passport_type" id="ordinary" value="ordinary" <?php echo e(old('passport_type') == 'ordinary' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="ordinary">Ordinary</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['passport_type'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="passport_type" id="service" value="service" <?php echo e(old('passport_type') == 'service' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="service">Service</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['passport_type'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="passport_type" id="diplomatic" value="diplomatic" <?php echo e(old('passport_type') == 'diplomatic' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="diplomatic">Diplomatic</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['passport_type'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="passport_type" id="official" value="official" <?php echo e(old('passport_type') == 'official' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="official">Official</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['passport_type'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="passport_type" id="special" value="special" <?php echo e(old('passport_type') == 'special' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="special">Special</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['passport_type'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="passport_type" id="others" value="others" <?php echo e(old('passport_type') == 'others' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="others">Others</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['passport_type'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="passport_number" class="form-label required-field">1.7B Passport number</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['passport_number'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="passport_number" name="passport_number" value="<?php echo e(old('passport_number')); ?>" required>
                                                                        <?php $__errorArgs = ['passport_number'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="issuing_country_id" class="form-label required-field">1.7C Issuing country/region of the passport/travel document</label>
                                                                        <select id="issuing_country_id" name="issuing_country_id" class="select2 form-control <?php $__errorArgs = ['issuing_country_id'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" required>
                                                                            <option value="">--Select One--</option>
                                                                            <?php $__currentLoopData = $countries; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $country): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                                            <option value="<?php echo e($country->id); ?>" <?php echo e(old('issuing_country_id') == $country->id ? 'selected' : ''); ?>><?php echo e($country->name); ?></option>
                                                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                                        </select>
                                                                        <?php $__errorArgs = ['issuing_country_id'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="place_of_issue" class="form-label required-field">1.7D Place of issue</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['place_of_issue'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="place_of_issue" name="place_of_issue" value="<?php echo e(old('place_of_issue')); ?>" required>
                                                                        <?php $__errorArgs = ['place_of_issue'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="passport_expiration_date" class="form-label required-field">1.7E Expiration date (Please make sure your passport will be valid for no less than 6 months.)</label>
                                                                        <input type="text" id="passport_expiration_date" class="flat_date form-control <?php $__errorArgs = ['passport_expiration_date'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="passport_expiration_date" value="<?php echo e(old('passport_expiration_date')); ?>" required>
                                                                        <?php $__errorArgs = ['passport_expiration_date'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3">
                                                                    <div class="col-12 text-center">
                                                                        <button type="submit" class="button-70">
                                                                            <i class="fas fa-paper-plane me-2"></i>

                                                                            Save & Continue to Step 2

                                                                        </button>
                                                                    </div>
                                                                </div>
                                                            </form>
                                                        </div>
                                                        <?php endif; ?>
                                                    </div>
                                                </div>
                                            </div>
                                        </div><!-- End Skills Grid -->
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- WORK PERMIT -->
                    <div class="tab-pane fade <?php echo e($currentStep == 2 ? 'show active' : ''); ?>" id="work" role="tabpanel">
                        <div class="skills">
                            <div class="container" data-aos="fade-up" data-aos-delay="100">
                                <div class="row">
                                    <div class="col-lg-12">
                                        <div class="skills-grid">
                                            <div class="row g-4">
                                                <div class="col-md-12">
                                                    <div class="skill-card">
                                                        <div class="skill-header">
                                                            <i class="bi bi-passport"></i>
                                                            <h4 class="fw-bold">Type of visa</h4>
                                                        </div>
                                                        <?php if($currentStep == 2): ?>
                                                        <div class="skill-body">
                                                            <form id="visaTypeForm" action="<?php echo e(route('apply.save.step2')); ?>" method="POST" enctype="multipart/form-data">
                                                                <?php echo csrf_field(); ?>
                                                                <?php if($application): ?>
                                                                <input type="hidden" name="application_id" value="<?php echo e($application->id); ?>">
                                                                <?php endif; ?>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>2. Type of visa</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="visa_type" class="form-label required-field">2.1 The type of visa that you are applying for and the main purpose of Fiji</label>
                                                                        <select id="visa_type" name="visa_type" class="select2 form-control <?php $__errorArgs = ['visa_type'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" required>
                                                                            <option value="">--Select One--</option>
                                                                            <option value="Tourism">Tourism</option>
                                                                            <option value="Business">Business</option>
                                                                            <option value="Work Permit">Work Permit</option>
                                                                            <option value="Temporary Work">Temporary Work</option>
                                                                        </select>
                                                                        <?php $__errorArgs = ['visa_type'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="tourist_type" class="form-label required-field d-block">Tourist Type</label>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['tourist_type'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="tourist_type" id="tourist" value="tourist" <?php echo e(old('tourist_type') == 'tourist' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="tourist">Tourist</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['tourist_type'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="tourist_type" id="business" value="business" <?php echo e(old('tourist_type') == 'business' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="business">Business</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['tourist_type'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="tourist_type" id="work_permit" value="work_permit" <?php echo e(old('tourist_type') == 'work_permit' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="work_permit">Work Permit</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['tourist_type'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                        <p class="mt-3 text-dark">Courtesy visas are issued at the discretion of the visa officer.</p>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>2.2 Service type</strong>
                                                                        <p class="text-danger">Notice: Express service does not start from the date of submitting the application form, but starts from the date when you submit you submit your passport.</p>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="service_type" class="form-label required-field d-block">Service Type</label>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['service_type'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="service_type" id="individual" value="individual" <?php echo e(old('service_type') == 'individual' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="individual">Individual</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['service_type'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="service_type" id="group" value="group" <?php echo e(old('service_type') == 'group' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="group">Group</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['service_type'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                        <p class="text-primary mt-3">Express service requires an extra fee and cannot be canceled once you have applied for it. You would not get a refund for the express service fee if the consular officer decides to prolong the review time based on the circumstances of your application</p>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>2.3 Visa Application Information</strong>
                                                                    </div>
                                                                    <div class="col-lg-6">
                                                                        <label for="visa_validity" class="form-label required-field">2.3A Visa validity of your application (months)</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['visa_validity'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="visa_validity" name="visa_validity" value="<?php echo e(old('visa_validity')); ?>" required>
                                                                        <?php $__errorArgs = ['visa_validity'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-6">
                                                                        <label for="max_duration_stay" class="form-label required-field">2.3B Maximum duration of stay of your application (days)</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['max_duration_stay'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="max_duration_stay" name="max_duration_stay" value="<?php echo e(old('max_duration_stay')); ?>" required>
                                                                        <?php $__errorArgs = ['max_duration_stay'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="entries" class="form-label d-block">2.3C Entries of your application</label>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['entries'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="entries" id="single" value="single" <?php echo e(old('entries') == 'single' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="single">Single</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['entries'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="entries" id="multiple" value="multiple" <?php echo e(old('entries') == 'multiple' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="multiple">Multiple</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['entries'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="entries" id="work_permit" value="work_permit" <?php echo e(old('entries') == 'work_permit' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="work_permit">Work Permit</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['entries'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                        <p class="text-primary mt-3">
                                                                            The decision pertaining to the entries, validity, and duration of stay of each visa is made by the Fijian Embassy/Consulate General, and the result may be different from your application
                                                                        </p>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3">
                                                                    <div class="col-12 text-center">
                                                                        <button type="submit" class="button-70">
                                                                            <i class="fas fa-paper-plane me-2"></i>Save & Continue Step 3
                                                                        </button>
                                                                    </div>
                                                                </div>
                                                            </form>
                                                        </div>
                                                        <?php endif; ?>
                                                    </div>
                                                </div>
                                            </div>
                                        </div><!-- End Skills Grid -->
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- INVESTOR PERMIT -->
                    <div class="tab-pane fade <?php echo e($currentStep == 3 ? 'show active' : ''); ?>" id="investor" role="tabpanel">
                        <div class="skills">
                            <div class="container" data-aos="fade-up" data-aos-delay="100">
                                <div class="row">
                                    <div class="col-lg-12">
                                        <div class="skills-grid">
                                            <div class="row g-4">
                                                <div class="col-md-12">
                                                    <div class="skill-card">
                                                        <div class="skill-header">
                                                            <i class="bi bi-person-workspace"></i>
                                                            <h4 class="fw-bold">3. Work information</h4>
                                                        </div>
                                                        <div class="skill-body">
                                                            <form id="workInfoForm" action="<?php echo e(route('apply.save.step3')); ?>" method="POST">
                                                                <?php echo csrf_field(); ?>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <label for="occupation" class="form-label required-field">3.1 Current Occupation</label>
                                                                        <select id="occupation" name="occupation" class="select2 form-control <?php $__errorArgs = ['occupation'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" required>
                                                                            <option value="">-- Select Occupation --</option>
                                                                            <option value="Businessperson">Businessperson</option>
                                                                            <option value="Company employee">Company employee</option>
                                                                            <option value="Entertainer">Entertainer</option>
                                                                            <option value="Industrial/agricultural worker">Industrial/agricultural worker</option>
                                                                            <option value="Student">Student</option>
                                                                            <option value="Member of parliament">Member of parliament</option>
                                                                            <option value="Government official">Government official</option>
                                                                            <option value="Teacher">Teacher</option>
                                                                            <option value="Researcher">Researcher</option>
                                                                            <option value="Medical professional">Medical professional</option>
                                                                            <option value="Engineer/Technician">Engineer/Technician</option>
                                                                            <option value="Self-employed">Self-employed</option>
                                                                            <option value="Unemployed">Unemployed</option>
                                                                            <option value="Retired">Retired</option>
                                                                            <option value="Other">Other</option>
                                                                        </select>
                                                                        <?php $__errorArgs = ['occupation'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>3.2 Work Experience in the past five years</strong>
                                                                    </div>
                                                                    <div class="col-lg-6">
                                                                        <label for="work_exp_date_from" class="form-label required-field">3.2A Date from</label>
                                                                        <input type="text" class="flat_date form-control <?php $__errorArgs = ['work_exp_date_from'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="work_exp_date_from" value="<?php echo e(old('work_exp_date_from')); ?>" required>
                                                                        <?php $__errorArgs = ['work_exp_date_from'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-6">
                                                                        <label for="work_exp_date_to" class="form-label required-field">3.2A Date to</label>
                                                                        <input type="text" class="flat_date form-control <?php $__errorArgs = ['work_exp_date_to'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="work_exp_date_to" value="<?php echo e(old('work_exp_date_to')); ?>" required>
                                                                        <?php $__errorArgs = ['work_exp_date_to'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>3.2B Name of your employeer</strong>
                                                                    </div>

                                                                    <div class="col-lg-12">
                                                                        <label for="employer_name" class="form-label required-field">Name of your employeer</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['employer_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="employer_name" name="employer_name" value="<?php echo e(old('employer_name')); ?>" required>
                                                                        <?php $__errorArgs = ['employer_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="employer_address" class="form-label required-field">Address of your employeer</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['employer_address'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="employer_address" name="employer_address" value="<?php echo e(old('employer_address')); ?>" required>
                                                                        <?php $__errorArgs = ['employer_address'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="employer_telephone" class="form-label required-field">Telephone of your employeer</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['employer_telephone'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="employer_telephone" name="employer_telephone" value="<?php echo e(old('employer_telephone')); ?>" required>
                                                                        <?php $__errorArgs = ['employer_telephone'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>3.2C Supervisor</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="supervisor_name" class="form-label required-field">3.2C Name of your supervisor</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['supervisor_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="supervisor_name" name="supervisor_name" value="<?php echo e(old('supervisor_name')); ?>" required>
                                                                        <?php $__errorArgs = ['supervisor_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="supervisor_telephone" class="form-label required-field">Telephone of your supervisor</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['supervisor_telephone'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="supervisor_telephone" name="supervisor_telephone" value="<?php echo e(old('supervisor_telephone')); ?>" required>
                                                                        <?php $__errorArgs = ['supervisor_telephone'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>3.2D Position</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="position_name" class="form-label">Position Name</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['position_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="position_name" name="position_name" value="<?php echo e(old('position_name')); ?>" required>
                                                                        <?php $__errorArgs = ['position_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>3.2E Duty</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="duty_name" class="form-label">Duty Name</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['duty_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="duty_name" name="duty_name" value="<?php echo e(old('duty_name')); ?>" required>
                                                                        <?php $__errorArgs = ['duty_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3">
                                                                    <div class="col-12 text-center">
                                                                        <button type="submit" class="button-70">
                                                                            <i class="fas fa-paper-plane me-2"></i>Save & Continue Step 4
                                                                        </button>
                                                                    </div>
                                                                </div>
                                                            </form>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div><!-- End Skills Grid -->
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- STUDY / VISA & VISITORS -->
                    <div class="tab-pane fade <?php echo e($currentStep == 4 ? 'show active' : ''); ?>" id="study" role="tabpanel">
                        <div class="skills">
                            <div class="container" data-aos="fade-up" data-aos-delay="100">
                                <div class="row">
                                    <div class="col-lg-12">
                                        <div class="skills-grid">
                                            <div class="row g-4">
                                                <div class="col-md-12">
                                                    <div class="skill-card">
                                                        <div class="skill-header">
                                                            <i class="bi bi-mortarboard"></i>
                                                            <h4 class="fw-bold">4. Education</h4>
                                                        </div>
                                                        <div class="skill-body">
                                                            <form id="educationForm" action="<?php echo e(route('apply.save.step4')); ?>" method="POST">
                                                                <?php echo csrf_field(); ?>

                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>4.1 Highest Diploma / Degree</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="institute_name" class="form-label required-field">4.1A Name of institute of education</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['institute_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="institute_name" name="institute_name" value="<?php echo e(old('institute_name')); ?>" required>
                                                                        <?php $__errorArgs = ['institute_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="degree_name" class="form-label required-field">4.2B Diploma / Degree</label>
                                                                        <select id="degree_name" name="degree_name" class="select2 form-control <?php $__errorArgs = ['degree_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" required>
                                                                            <option value="">-- Select Institute --</option>
                                                                            <option value="Technical secondary school/high school or equivalent">Technical secondary school/high school or equivalent</option>
                                                                            <option value="Junior college/undergraduate degree or equivalent">Junior college/undergraduate degree or equivalent</option>
                                                                            <option value="Masters degree or equivalent">Master's degree or equivalent</option>
                                                                            <option value="Doctoral degree or above">Doctoral degree or above</option>
                                                                            <option value="Other">Other</option>
                                                                        </select>
                                                                        <?php $__errorArgs = ['degree_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="major_degree" class="form-label">4.1C Major</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['major_degree'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="major_degree" name="major_degree" value="<?php echo e(old('major_degree')); ?>" required>
                                                                        <?php $__errorArgs = ['major_degree'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3">
                                                                    <div class="col-12 text-center">
                                                                        <button type="submit" class="button-70">
                                                                            <i class="fas fa-paper-plane me-2"></i>Save & Continue Step 5
                                                                        </button>
                                                                    </div>
                                                                </div>
                                                            </form>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div><!-- End Skills Grid -->
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- RESIDENCE PERMIT -->
                    <div class="tab-pane fade <?php echo e($currentStep == 5 ? 'show active' : ''); ?>" id="residence" role="tabpanel">
                        <div class="skills">
                            <div class="container" data-aos="fade-up" data-aos-delay="100">
                                <div class="row">
                                    <div class="col-lg-12">
                                        <div class="skills-grid">
                                            <div class="row g-4">
                                                <div class="col-md-12">
                                                    <div class="skill-card">
                                                        <div class="skill-header">
                                                            <i class="bi bi-people"></i>
                                                            <h4 class="fw-bold">5. Family Information</h4>
                                                        </div>
                                                        <div class="skill-body">
                                                            <form id="familyInfoForm" action="<?php echo e(route('apply.save.step5')); ?>" method="POST">
                                                                <?php echo csrf_field(); ?>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>5.1 Current home address</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="current_home_address" class="form-label required-field">Current home address</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['current_home_address'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="current_home_address" value="<?php echo e(old('current_home_address')); ?>" required>
                                                                        <?php $__errorArgs = ['current_home_address'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <label for="home_phone_number" class="form-label required-field">5.2 Phone Number</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['home_phone_number'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="home_phone_number" value="<?php echo e(old('home_phone_number')); ?>" required>
                                                                        <?php $__errorArgs = ['home_phone_number'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="home_mobile_number" class="form-label required-field">5.3 Mobile Phone Number</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['home_mobile_number'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="home_mobile_number" value="<?php echo e(old('home_mobile_number')); ?>" required>
                                                                        <?php $__errorArgs = ['home_mobile_number'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="home_email" class="form-label">5.4 Email</label>
                                                                        <input type="email" class="form-control <?php $__errorArgs = ['home_email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="home_email" value="<?php echo e(old('home_email')); ?>" required>
                                                                        <?php $__errorArgs = ['home_email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>5.5 Family Members</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <strong>5.5B Father</strong>
                                                                        <label for="father_family_name" class="form-label required-field">Family Name</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['father_family_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="father_family_name" name="father_family_name" value="<?php echo e(old('father_family_name')); ?>" required>
                                                                        <?php $__errorArgs = ['father_family_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="father_givenname" class="form-label required-field">Given Name</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['father_givenname'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="father_givenname" name="father_givenname" value="<?php echo e(old('father_givenname')); ?>" required>
                                                                        <?php $__errorArgs = ['father_givenname'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="father_nationality_id" class="form-label required-field">Nationality</label>
                                                                        <select id="father_nationality_id" name="father_nationality_id" class="select2 form-control <?php $__errorArgs = ['father_nationality_id'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" required>
                                                                            <option value="">--Select One--</option>
                                                                            <?php $__currentLoopData = $countries; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $country): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                                            <option value="<?php echo e($country->id); ?>" <?php echo e(old('father_nationality_id') == $country->id ? 'selected' : ''); ?>><?php echo e($country->name); ?></option>
                                                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                                        </select>
                                                                        <?php $__errorArgs = ['father_nationality_id'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="father_dob" class="form-label required-field">Date of birth</label>
                                                                        <input type="text" class="flat_date form-control <?php $__errorArgs = ['father_dob'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="father_dob" value="<?php echo e(old('father_dob')); ?>" required>
                                                                        <?php $__errorArgs = ['father_dob'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="father_siberia_origin" class="form-label required-field d-block">Is your father in Fiji?</label>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['father_siberia_origin'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="father_siberia_origin" id="yes" value="1" <?php echo e(old('father_siberia_origin') == '1' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="yes">Yes</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['father_siberia_origin'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="father_siberia_origin" id="no" value="0" <?php echo e(old('father_siberia_origin') == '0' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="no">No</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['father_siberia_origin'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <strong>5.5C Mother</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <strong>5.5C Mother</strong>
                                                                        <label for="mother_family_name" class="form-label required-field">Mother Name</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['mother_family_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="mother_family_name" name="mother_family_name" value="<?php echo e(old('mother_family_name')); ?>" required>
                                                                        <?php $__errorArgs = ['mother_family_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="mother_givenname" class="form-label required-field">Given Name</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['mother_givenname'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="mother_givenname" name="mother_givenname" value="<?php echo e(old('mother_givenname')); ?>" required>
                                                                        <?php $__errorArgs = ['mother_givenname'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="mother_nationality_id" class="form-label required-field">Nationality</label>
                                                                        <select id="mother_nationality_id" name="mother_nationality_id" class="select2 form-control <?php $__errorArgs = ['mother_nationality_id'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" required>
                                                                            <option value="">--Select One--</option>
                                                                            <?php $__currentLoopData = $countries; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $country): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                                            <option value="<?php echo e($country->id); ?>" <?php echo e(old('mother_nationality_id') == $country->id ? 'selected' : ''); ?>><?php echo e($country->name); ?></option>
                                                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                                        </select>
                                                                        <?php $__errorArgs = ['mother_nationality_id'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="mother_dob" class="form-label required-field">Date of birth</label>
                                                                        <input type="text" class="flat_date form-control <?php $__errorArgs = ['mother_dob'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="mother_dob" value="<?php echo e(old('mother_dob')); ?>" required>
                                                                        <?php $__errorArgs = ['mother_dob'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="mother_siberia_origin" class="form-label required-field d-block">Is your mother in Fiji?</label>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['mother_siberia_origin'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="mother_siberia_origin" id="yes" value="1" <?php echo e(old('mother_siberia_origin') == '1' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="yes">Yes</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['mother_siberia_origin'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="mother_siberia_origin" id="no" value="0" <?php echo e(old('mother_siberia_origin') == '0' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="no">No</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['mother_siberia_origin'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <strong>5.5D Children</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="children_family_name" class="form-label">Children Name</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['children_family_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="children_family_name" name="children_family_name" value="<?php echo e(old('children_family_name')); ?>" required>
                                                                        <?php $__errorArgs = ['children_family_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="children_givenname" class="form-label">Given Name</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['children_givenname'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="children_givenname" name="children_givenname" value="<?php echo e(old('children_givenname')); ?>" required>
                                                                        <?php $__errorArgs = ['children_givenname'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="children_nationality_id" class="form-label">Nationality</label>
                                                                        <select id="children_nationality_id" name="children_nationality_id" class="select2 form-control <?php $__errorArgs = ['children_nationality_id'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" required>
                                                                            <option value="">--Select One--</option>
                                                                            <?php $__currentLoopData = $countries; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $country): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                                            <option value="<?php echo e($country->id); ?>" <?php echo e(old('children_nationality_id') == $country->id ? 'selected' : ''); ?>><?php echo e($country->name); ?></option>
                                                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                                        </select>
                                                                        <?php $__errorArgs = ['children_nationality_id'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="children_dob" class="form-label">Date of birth</label>
                                                                        <input type="text" class="flat_date form-control <?php $__errorArgs = ['children_dob'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="children_dob" value="<?php echo e(old('children_dob')); ?>" required>
                                                                        <?php $__errorArgs = ['children_dob'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3">
                                                                    <div class="col-12 text-center">
                                                                        <button type="submit" class="button-70">
                                                                            <i class="fas fa-paper-plane me-2"></i>Save & Continue Step 6
                                                                        </button>
                                                                    </div>
                                                                </div>
                                                            </form>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div><!-- End Skills Grid -->
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- CITIZENSHIP -->
                    <div class="tab-pane fade <?php echo e($currentStep == 6 ? 'show active' : ''); ?>" id="citizenship" role="tabpanel">
                        <div class="skills">
                            <div class="container" data-aos="fade-up" data-aos-delay="100">
                                <div class="row">
                                    <div class="col-lg-12">
                                        <div class="skills-grid">
                                            <div class="row g-4">
                                                <div class="col-md-12">
                                                    <div class="skill-card">
                                                        <div class="skill-header">
                                                            <i class="bi bi-airplane"></i>
                                                            <h4 class="fw-bold">6. Travel Information</h4>
                                                        </div>
                                                        <div class="skill-body">
                                                            <form id="travelInfoForm" action="<?php echo e(route('apply.save.step6')); ?>" method="POST" enctype="multipart/form-data">
                                                                <?php echo csrf_field(); ?>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong class="required-field">6.1A Visa Category</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <!-- Tourist -->
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input" type="radio" name="visa_category" id="visa_category_tourist" value="tourist">
                                                                            <label class="form-check-label" for="visa_category_tourist">Tourist</label>
                                                                        </div>
                                                                        <!-- Business -->
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input" type="radio" name="visa_category" id="visa_category_business" value="business">
                                                                            <label class="form-check-label" for="visa_category_business">Business</label>
                                                                        </div>
                                                                        <!-- Work -->
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input" type="radio" name="visa_category" id="visa_category_work" value="work">
                                                                            <label class="form-check-label" for="visa_category_work">Work Permit</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['visa_category'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <!-- Hidden sections -->
                                                                    <div class="d-none" id="tourist_business_div">
                                                                        <div class="col-lg-12">
                                                                            <label for="hotel_name" class="form-label">6.1B Hotel Name</label>
                                                                            <input type="text" class="form-control <?php $__errorArgs = ['hotel_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="hotel_name" value="<?php echo e(old('hotel_name')); ?>">
                                                                            <?php $__errorArgs = ['hotel_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                            <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                        </div>
                                                                        <div class="col-lg-12">
                                                                            <label for="hotel_address" class="form-label">6.1C Hotel Address</label>
                                                                            <input type="text" class="form-control <?php $__errorArgs = ['hotel_address'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="hotel_address" value="<?php echo e(old('hotel_address')); ?>">
                                                                            <?php $__errorArgs = ['hotel_address'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                            <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                        </div>
                                                                    </div>
                                                                    <div class="d-none" id="work_div">
                                                                        <div class="col-lg-4">
                                                                            <label for="company_approval_letter" class="form-label">Company Approval Letter (JPG, PNG) (max. 2MB)</label>
                                                                            <input type="file" id="company_approval_letter" name="company_approval_letter" class="dropify <?php $__errorArgs = ['company_approval_letter'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" data-max-file-size="2M" data-allowed-file-extensions="jpg jpeg png" data-height="150" accept="image/*" />
                                                                            <?php $__errorArgs = ['company_approval_letter'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                            <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>6.2 Inviting person/contact or organization in Fiji</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="inviting_name" class="form-label required-field">6.2A Name</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['inviting_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="inviting_name" value="<?php echo e(old('inviting_name')); ?>" required>
                                                                        <?php $__errorArgs = ['inviting_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="inviting_relationship" class="form-label required-field">6.2B Contact person relationship with you</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['inviting_relationship'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="inviting_relationship" value="<?php echo e(old('inviting_relationship')); ?>" required>
                                                                        <?php $__errorArgs = ['inviting_relationship'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="inviting_phone_number" class="form-label required-field">6.2C Phone Number</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['inviting_phone_number'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="inviting_phone_number" value="<?php echo e(old('inviting_phone_number')); ?>" required>
                                                                        <?php $__errorArgs = ['inviting_phone_number'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="inviting_email" class="form-label">6.2D Email</label>
                                                                        <input type="email" class="form-control <?php $__errorArgs = ['inviting_email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="inviting_email" value="<?php echo e(old('inviting_email')); ?>" required>
                                                                        <?php $__errorArgs = ['inviting_email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="inviting_city" class="form-label required-field">6.2E City</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['inviting_city'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="inviting_city" value="<?php echo e(old('inviting_city')); ?>" required>
                                                                        <?php $__errorArgs = ['inviting_city'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="inviting_district" class="form-label">District / Country</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['inviting_district'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="inviting_district" value="<?php echo e(old('inviting_district')); ?>" required>
                                                                        <?php $__errorArgs = ['inviting_district'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="inviting_post_code" class="form-label">6.2F Post Code</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['inviting_post_code'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="inviting_post_code" value="<?php echo e(old('inviting_post_code')); ?>" required>
                                                                        <?php $__errorArgs = ['inviting_post_code'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>6.3 Emergency Contact</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="emergency_contact_family_name" class="form-label required-field">6.3A Family Name</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['emergency_contact_family_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="emergency_contact_family_name" name="emergency_contact_family_name" value="<?php echo e(old('emergency_contact_family_name')); ?>" required>
                                                                        <?php $__errorArgs = ['emergency_contact_family_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="emergency_contact_givenname" class="form-label required-field">Given Name</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['emergency_contact_givenname'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="emergency_contact_givenname" name="emergency_contact_givenname" value="<?php echo e(old('emergency_contact_givenname')); ?>" required>
                                                                        <?php $__errorArgs = ['emergency_contact_givenname'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="emergency_contact_relationship" class="form-label required-field">6.3B Emergency Contact relationship with you</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['emergency_contact_relationship'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="emergency_contact_relationship" value="<?php echo e(old('emergency_contact_relationship')); ?>" required>
                                                                        <?php $__errorArgs = ['emergency_contact_relationship'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="emergency_contact_phone_number" class="form-label required-field">6.3C Phone Number</label>
                                                                        <input type="text" class="form-control <?php $__errorArgs = ['emergency_contact_phone_number'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="emergency_contact_phone_number" value="<?php echo e(old('emergency_contact_phone_number')); ?>" required>
                                                                        <?php $__errorArgs = ['emergency_contact_phone_number'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="emergency_contact_email" class="form-label">6.3D Email</label>
                                                                        <input type="email" class="form-control <?php $__errorArgs = ['emergency_contact_email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="emergency_contact_email" value="<?php echo e(old('emergency_contact_email')); ?>" required>
                                                                        <?php $__errorArgs = ['emergency_contact_email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>6.4 Who will pay for this travel</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="travel_payer" class="form-label required-field d-block">6.4A Who will pay for this travel?</label>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['travel_payer'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="travel_payer" id="payer_self" value="self" <?php echo e(old('travel_payer') == 'self' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="payer_self">Self</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['travel_payer'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="travel_payer" id="payer_other" value="other" <?php echo e(old('travel_payer') == 'other' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="payer_other">Other</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['travel_payer'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="travel_payer" id="payer_org" value="organization" <?php echo e(old('travel_payer') == 'organization' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="payer_org">Organization</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['travel_payer'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>6.5 Person sharing the same passport with you</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="same_passport" class="form-label required-field d-block">
                                                                            6.5A Are you travelling with someone who shares the same passport with you?
                                                                        </label>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['same_passport'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="same_passport" id="same_passport_yes" value="1" <?php echo e(old('same_passport') == '1' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="same_passport_yes">Yes</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['same_passport'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="same_passport" id="same_passport_no" value="0" <?php echo e(old('same_passport') == '0' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="same_passport_no">No</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['same_passport'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3">
                                                                    <div class="col-12 text-center">
                                                                        <button type="submit" class="button-70">
                                                                            <i class="fas fa-paper-plane me-2"></i>Save & Continue Step 7
                                                                        </button>
                                                                    </div>
                                                                </div>
                                                            </form>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div><!-- End Skills Grid -->
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- IMMIGRATION STATUS SEARCH -->
                    <div class="tab-pane fade <?php echo e($currentStep == 7 ? 'show active' : ''); ?>" id="status" role="tabpanel">
                        <div class="skills">
                            <div class="container" data-aos="fade-up" data-aos-delay="100">
                                <div class="row">
                                    <div class="col-lg-12">
                                        <div class="skills-grid">
                                            <div class="row g-4">
                                                <div class="col-md-12">
                                                    <div class="skill-card">
                                                        <div class="skill-header">
                                                            <i class="bi bi-airplane"></i>
                                                            <h4 class="fw-bold">7. Previous Travel Info</h4>
                                                        </div>
                                                        <div class="skill-body">
                                                            <form id="previousTravelInfoForm" action="<?php echo e(route('apply.save.step7')); ?>" method="POST">
                                                                <?php echo csrf_field(); ?>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>7.1 Informaiton on previous travel</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="travel_siberia" class="form-label required-field d-block">7.1A Have you ever been to Fiji?</label>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['travel_siberia'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="travel_siberia" id="travel_siberia_yes" value="yes" <?php echo e(old('travel_siberia') == 'yes' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="travel_siberia_yes">Yes</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['travel_siberia'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="travel_siberia" id="travel_siberia_no" value="no" <?php echo e(old('travel_siberia') == 'no' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="travel_siberia">No</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['travel_siberia'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>7.2 Previous Fiji visa</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="previous_siberia_visa" class="form-label required-field d-block">
                                                                            7.2A Have you ever gotten a Fiji visa?
                                                                        </label>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['previous_siberia_visa'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="previous_siberia_visa" id="previous_siberia_visa_yes" value="yes" <?php echo e(old('previous_siberia_visa') == 'yes' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="previous_siberia_visa_yes">Yes</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['previous_siberia_visa'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="previous_siberia_visa" id="previous_siberia_visa_no" value="no" <?php echo e(old('previous_siberia_visa') == 'no' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="previous_siberia_visa_no">No</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['previous_siberia_visa'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>7.3 Do you have any valid visa issued by other countries</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="other_country_visa" class="form-label required-field d-block">
                                                                            7.3 Do you have any valid visa issued by other countries?
                                                                        </label>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['other_country_visa'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="other_country_visa" id="other_country_visa_yes" value="yes" <?php echo e(old('other_country_visa') == 'yes' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="other_country_visa_yes">Yes</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['other_country_visa'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="other_country_visa" id="other_country_visa_no" value="no" <?php echo e(old('other_country_visa') == 'no' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="other_country_visa_no">No</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['other_country_visa'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>7.4 Countries you have visited in the last 12 months</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <label for="visited_last_12_months" class="form-label required-field d-block">
                                                                            7.4A Have you visited any countries in the last 12 months?
                                                                        </label>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['visited_last_12_months'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="visited_last_12_months" id="visited_last_12_months_yes" value="yes" <?php echo e(old('visited_last_12_months') == 'yes' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="visited_last_12_months_yes">Yes</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['visited_last_12_months'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="visited_last_12_months" id="visited_last_12_months_no" value="no" <?php echo e(old('visited_last_12_months') == 'no' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="visited_last_12_months_no">No</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['visited_last_12_months'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3">
                                                                    <div class="col-12 text-center">
                                                                        <button type="submit" class="button-70">
                                                                            <i class="fas fa-paper-plane me-2"></i>Save & Continue Step 8
                                                                        </button>
                                                                    </div>
                                                                </div>
                                                            </form>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div><!-- End Skills Grid -->
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- UPLIFT OF PI STATUS -->
                    <div class="tab-pane fade <?php echo e($currentStep == 8 ? 'show active' : ''); ?>" id="pi" role="tabpanel">
                        <div class="skills">
                            <div class="container" data-aos="fade-up" data-aos-delay="100">
                                <div class="row">
                                    <div class="col-lg-12">
                                        <div class="skills-grid">
                                            <div class="row g-4">
                                                <div class="col-md-12">
                                                    <div class="skill-card">
                                                        <div class="skill-header">
                                                            <i class="bi bi-bar-chart"></i>
                                                            <h4 class="fw-bold">8. Other Information</h4>
                                                        </div>
                                                        <div class="skill-body">
                                                            <form id="otherInfoForm" action="<?php echo e(route('apply.save.step8')); ?>" method="POST">
                                                                <?php echo csrf_field(); ?>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>8.1 Have you ever been refused a Fijian visa or denied entry into Fiji?</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['refused_visa'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="refused_visa" id="refused_visa_yes" value="yes" <?php echo e(old('refused_visa') == 'yes' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="refused_visa_yes">Yes</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['refused_visa'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="refused_visa" id="refused_visa_no" value="no" <?php echo e(old('refused_visa') == 'no' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="refused_visa_no">No</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['refused_visa'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <strong>8.2 Has your Fijian visa ever been canceled?</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['visa_canceled'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="visa_canceled" id="visa_canceled_yes" value="yes" <?php echo e(old('visa_canceled') == 'yes' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="visa_canceled_yes">Yes</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['visa_canceled'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="visa_canceled" id="visa_canceled_no" value="no" <?php echo e(old('visa_canceled') == 'no' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="visa_canceled_no">No</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['visa_canceled'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <strong>8.3 Have you ever entered Fiji illegally, overstayed, or worked illegally in Fiji?</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['illegal_entry'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="illegal_entry" id="illegal_entry_yes" value="yes" <?php echo e(old('illegal_entry') == 'yes' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="illegal_entry_yes">Yes</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['illegal_entry'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="illegal_entry" id="illegal_entry_no" value="no" <?php echo e(old('illegal_entry') == 'no' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="illegal_entry_no">No</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['illegal_entry'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <strong>8.4 Do you have any criminal record in Fiji or any other country?</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['criminal_record'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="criminal_record" id="criminal_record_yes" value="yes" <?php echo e(old('criminal_record') == 'yes' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="criminal_record_yes">Yes</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['criminal_record'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="criminal_record" id="criminal_record_no" value="no" <?php echo e(old('criminal_record') == 'no' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="criminal_record_no">No</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['criminal_record'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <strong>8.5 Do you have any serious mental disorders or infectious diseases?</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['health_issue'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="health_issue" id="health_issue_yes" value="yes" <?php echo e(old('health_issue') == 'yes' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="health_issue_yes">Yes</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['health_issue'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="health_issue" id="health_issue_no" value="no" <?php echo e(old('health_issue') == 'no' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="health_issue_no">No</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['health_issue'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <strong>8.6 Have you ever visited countries or regions in the past 30 days where there is an epidemic?</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['epidemic_visit'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="epidemic_visit" id="epidemic_visit_yes" value="yes" <?php echo e(old('epidemic_visit') == 'yes' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="epidemic_visit_yes">Yes</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['epidemic_visit'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="epidemic_visit" id="epidemic_visit_no" value="no" <?php echo e(old('epidemic_visit') == 'no' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="epidemic_visit_no">No</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['epidemic_visit'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <strong>8.7 Do you have or have you ever been trained to have any special skill in terms of firearms, explosives, or nuclear devices, or in the biological or chemical fields?</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['special_skill'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="special_skill" id="special_skill_yes" value="yes" <?php echo e(old('special_skill') == 'yes' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="special_skill_yes">Yes</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['special_skill'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="special_skill" id="special_skill_no" value="no" <?php echo e(old('special_skill') == 'no' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="special_skill_no">No</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['special_skill'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <strong>8.8 Are you serving or have you ever served in the military?</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['military_service'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="military_service" id="military_service_yes" value="yes" <?php echo e(old('military_service') == 'yes' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="military_service_yes">Yes</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['military_service'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="military_service" id="military_service_no" value="no" <?php echo e(old('military_service') == 'no' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="military_service_no">No</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['military_service'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <strong>8.9 Have you ever served or participated in any paramilitary organization, civil armed unit, guerrilla force, or rebel organization, or ever been a member of one?</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['paramilitary'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="paramilitary" id="paramilitary_yes" value="yes" <?php echo e(old('paramilitary') == 'yes' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="paramilitary_yes">Yes</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['paramilitary'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="paramilitary" id="paramilitary_no" value="no" <?php echo e(old('paramilitary') == 'no' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="paramilitary_no">No</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['paramilitary'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <strong>8.10 Have you worked for any professional, social, or charitable organization?</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['organization_work'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="organization_work" id="organization_work_yes" value="yes" <?php echo e(old('organization_work') == 'yes' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="organization_work_yes">Yes</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['organization_work'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="organization_work" id="organization_work_no" value="no" <?php echo e(old('organization_work') == 'no' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="organization_work_no">No</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['organization_work'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <strong>8.11 Is there anything else you want to declare?</strong>
                                                                    </div>
                                                                    <div class="col-lg-12">
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['other_declaration'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="other_declaration" id="other_declaration_yes" value="yes" <?php echo e(old('other_declaration') == 'yes' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="other_declaration_yes">Yes</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input <?php $__errorArgs = ['other_declaration'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" type="radio" name="other_declaration" id="other_declaration_no" value="no" <?php echo e(old('other_declaration') == 'no' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="other_declaration_no">No</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['other_declaration'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3">
                                                                    <div class="col-12 text-center">
                                                                        <button type="submit" class="button-70">
                                                                            <i class="fas fa-paper-plane me-2"></i>Save & Continue Step 9
                                                                        </button>
                                                                    </div>
                                                                </div>
                                                            </form>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div><!-- End Skills Grid -->
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- BOND -->
                    <div class="tab-pane fade <?php echo e($currentStep == 9 ? 'show active' : ''); ?>" id="bond" role="tabpanel">
                        <div class="skills">
                            <div class="container" data-aos="fade-up" data-aos-delay="100">
                                <div class="row">
                                    <div class="col-lg-12">
                                        <div class="skills-grid">
                                            <div class="row g-4">
                                                <div class="col-md-12">
                                                    <div class="skill-card">
                                                        <div class="skill-header">
                                                            <i class="bi bi-check-circle"></i>
                                                            <h4 class="fw-bold">9. Declaration</h4>
                                                        </div>
                                                        <div class="skill-body">
                                                            <form id="declarationForm" action="<?php echo e(route('apply.save.step9')); ?>" method="POST">
                                                                <?php echo csrf_field(); ?>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>9.1 The person who fill in the form</strong>
                                                                    </div>
                                                                    <div class="col-lg-12 mb-3">
                                                                        <label class="form-label">Declaration Type</label> <br>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input" type="radio" name="declaration_type" id="declaration_applicant" value="applicant" <?php echo e(old('declaration_type') == 'applicant' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="declaration_applicant">Applicant</label>
                                                                        </div>
                                                                        <div class="form-check form-check-inline">
                                                                            <input class="form-check-input" type="radio" name="declaration_type" id="declaration_behalf" value="behalf" <?php echo e(old('declaration_type') == 'behalf' ? 'checked' : ''); ?>>
                                                                            <label class="form-check-label" for="declaration_behalf">On behalf of Applicant</label>
                                                                        </div>
                                                                        <?php $__errorArgs = ['declaration_type'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div id="applicant_div" class="col-lg-12 d-none">
                                                                        <p>
                                                                            I hereby declare that I have read and understood all contents of this application form
                                                                            and shall bear all legal consequences for the authenticity of the information and
                                                                            application materials I provide.
                                                                        </p>
                                                                        <p>
                                                                            I understand that the final decision on whether to grant a visa and the visa type,
                                                                            number of entries, validity, and duration of each stay will be determined by the
                                                                            consular officer, and that any false, misleading, or incomplete statement may result in
                                                                            the refusal of a visa or denial of entry into Fiji.
                                                                        </p>
                                                                        <div class="form-check mt-3">
                                                                            <input class="form-check-input" type="checkbox" name="agree" value="1" id="agree1" checked>
                                                                            <label class="form-check-label" for="agree1">
                                                                                I understand and agree with the above.
                                                                            </label>
                                                                        </div>
                                                                    </div>
                                                                    <div id="behalf_div" class="col-lg-12 d-none">
                                                                        <p>
                                                                            My visa application will be submitted at <strong>DHAKA</strong> (city) to the Fijian visa issuing authorities.
                                                                        </p>
                                                                        <p>
                                                                            Notice: A parent or guardian should sign on behalf of a minor under the age of 18.
                                                                        </p>
                                                                        <div class="form-check mt-3">
                                                                            <input class="form-check-input" type="checkbox" name="agree" value="1" id="agree2" checked>
                                                                            <label class="form-check-label" for="agree2">
                                                                                I understand and agree with the above.
                                                                            </label>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3">
                                                                    <div class="col-12 text-center">
                                                                        <button type="submit" class="button-70">
                                                                            <i class="fas fa-paper-plane me-2"></i>Save & Continue Last Step
                                                                        </button>
                                                                    </div>
                                                                </div>
                                                            </form>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div><!-- End Skills Grid -->
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- APPEAL -->
                    <div class="tab-pane fade <?php echo e($currentStep == 10 ? 'show active' : ''); ?>" id="appeal" role="tabpanel">
                        <div class="skills">
                            <div class="container" data-aos="fade-up" data-aos-delay="100">
                                <div class="row">
                                    <div class="col-lg-12">
                                        <div class="skills-grid">
                                            <div class="row g-4">
                                                <div class="col-md-12">
                                                    <div class="skill-card">
                                                        <div class="skill-header">
                                                            <i class="bi bi-cloud-arrow-up"></i>
                                                            <h4 class="fw-bold">10. Upload Materials</h4>
                                                        </div>
                                                        <div class="skill-body">
                                                            <form id="uploadMaterialsForm" action="<?php echo e(route('apply.save.step10')); ?>" method="POST" enctype="multipart/form-data">
                                                                <?php echo csrf_field(); ?>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>Valid or previous visas for other countries</strong>
                                                                    </div>
                                                                    <div class="col-lg-4">
                                                                        <label for="other_country_visa1" class="form-label required-field">All Other Country visa (JPG, PNG, PDF) (max. 2MB)</label>
                                                                        <input type="file" id="other_country_visa1" name="other_country_visa1" class="dropify <?php $__errorArgs = ['other_country_visa1'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" data-max-file-size="2M" data-allowed-file-extensions="jpg jpeg png pdf" data-height="150" accept=".jpg,.jpeg,.png,.pdf" required />
                                                                        <?php $__errorArgs = ['other_country_visa1'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-4">
                                                                        <label for="other_country_visa2" class="form-label">All Other Country visa (JPG, PNG, PDF) (max. 2MB)</label>
                                                                        <input type="file" id="other_country_visa2" name="other_country_visa2" class="dropify <?php $__errorArgs = ['other_country_visa2'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" data-max-file-size="2M" data-allowed-file-extensions="jpg jpeg png pdf" data-height="150" accept=".jpg,.jpeg,.png,.pdf" />
                                                                        <?php $__errorArgs = ['other_country_visa2'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-4">
                                                                        <label for="other_country_visa3" class="form-label">All Other Country visa (JPG, PNG, PDF) (max. 2MB)</label>
                                                                        <input type="file" id="other_country_visa3" name="other_country_visa3" class="dropify <?php $__errorArgs = ['other_country_visa3'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" data-max-file-size="2M" data-allowed-file-extensions="jpg jpeg png pdf" data-height="150" accept=".jpg,.jpeg,.png,.pdf" />
                                                                        <?php $__errorArgs = ['other_country_visa3'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-4">
                                                                        <label for="other_country_visa4" class="form-label">All Other Country visa (JPG, PNG, PDF) (max. 2MB)</label>
                                                                        <input type="file" id="other_country_visa4" name="other_country_visa4" class="dropify <?php $__errorArgs = ['other_country_visa4'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" data-max-file-size="2M" data-allowed-file-extensions="jpg jpeg png pdf" data-height="150" accept=".jpg,.jpeg,.png,.pdf" />
                                                                        <?php $__errorArgs = ['other_country_visa4'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-4">
                                                                        <label for="other_country_visa5" class="form-label">All Other Country visa (JPG, PNG, PDF) (max. 2MB)</label>
                                                                        <input type="file" id="other_country_visa5" name="other_country_visa5" class="dropify <?php $__errorArgs = ['other_country_visa5'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" data-max-file-size="2M" data-allowed-file-extensions="jpg jpeg png pdf" data-height="150" accept=".jpg,.jpeg,.png,.pdf" />
                                                                        <?php $__errorArgs = ['other_country_visa5'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-4">
                                                                        <label for="other_country_visa6" class="form-label">All Other Country visa (JPG, PNG, PDF) (max. 2MB)</label>
                                                                        <input type="file" id="other_country_visa6" name="other_country_visa6" class="dropify <?php $__errorArgs = ['other_country_visa6'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" data-max-file-size="2M" data-allowed-file-extensions="jpg jpeg png pdf" data-height="150" accept=".jpg,.jpeg,.png,.pdf" />
                                                                        <?php $__errorArgs = ['other_country_visa6'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>Itinerary in Fiji</strong>
                                                                    </div>
                                                                    <div class="col-lg-4">
                                                                        <label for="itinerary_siberia" class="form-label required-field">Itnerary in Fiji (JPG, PNG, PDF) (max. 2MB)</label>
                                                                        <input type="file" id="itinerary_siberia" name="itinerary_siberia" class="dropify <?php $__errorArgs = ['itinerary_siberia'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" data-max-file-size="2M" data-allowed-file-extensions="jpg jpeg png pdf" data-height="150" accept=".jpg,.jpeg,.png,.pdf" required />
                                                                        <?php $__errorArgs = ['itinerary_siberia'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>Hotel reservation with complete payment</strong>
                                                                    </div>
                                                                    <div class="col-lg-4">
                                                                        <label for="hote_requirement" class="form-label required-field">Hotel reservation with complete payment (JPG, PNG, PDF) (max. 2MB)</label>
                                                                        <input type="file" id="hote_requirement" name="hote_requirement" class="dropify <?php $__errorArgs = ['hote_requirement'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" data-max-file-size="2M" data-allowed-file-extensions="jpg jpeg png pdf" data-height="150" accept=".jpg,.jpeg,.png,.pdf" required />
                                                                        <?php $__errorArgs = ['hote_requirement'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>Bank statement (The bank statement should prove that the applicant has at least 100 USD each day during his/her stay in Fiji)</strong>
                                                                    </div>
                                                                    <div class="col-lg-4">
                                                                        <label for="bank_statement1" class="form-label required-field">Bank Statement (JPG, PNG, PDF) (max. 2MB)</label>
                                                                        <input type="file" id="bank_statement1" name="bank_statement1" class="dropify <?php $__errorArgs = ['bank_statement1'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" data-max-file-size="2M" data-allowed-file-extensions="jpg jpeg png pdf" data-height="150" accept=".jpg,.jpeg,.png,.pdf" required />
                                                                        <?php $__errorArgs = ['bank_statement1'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-4">
                                                                        <label for="bank_statement2" class="form-label">Bank Statement (JPG, PNG, PDF) (max. 2MB)</label>
                                                                        <input type="file" id="bank_statement2" name="bank_statement2" class="dropify <?php $__errorArgs = ['bank_statement2'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" data-max-file-size="2M" data-allowed-file-extensions="jpg jpeg png pdf" data-height="150" accept=".jpg,.jpeg,.png,.pdf" />
                                                                        <?php $__errorArgs = ['bank_statement2'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-4">
                                                                        <label for="bank_statement3" class="form-label">Bank Statement (JPG, PNG, PDF) (max. 2MB)</label>
                                                                        <input type="file" id="bank_statement3" name="bank_statement3" class="dropify <?php $__errorArgs = ['bank_statement3'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" data-max-file-size="2M" data-allowed-file-extensions="jpg jpeg png pdf" data-height="150" accept=".jpg,.jpeg,.png,.pdf" />
                                                                        <?php $__errorArgs = ['bank_statement3'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                    <div class="col-lg-4">
                                                                        <label for="bank_statement4" class="form-label">Bank Statement (JPG, PNG, PDF) (max. 2MB)</label>
                                                                        <input type="file" id="bank_statement4" name="bank_statement4" class="dropify <?php $__errorArgs = ['bank_statement4'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" data-max-file-size="2M" data-allowed-file-extensions="jpg jpeg png pdf" data-height="150" accept=".jpg,.jpeg,.png,.pdf" />
                                                                        <?php $__errorArgs = ['bank_statement4'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>Round trip air ticket</strong>
                                                                    </div>
                                                                    <div class="col-lg-4">
                                                                        <label for="air_ticket" class="form-label required-field">Round trip air ticket (JPG, PNG, PDF) (max. 2MB)</label>
                                                                        <input type="file" id="air_ticket" name="air_ticket" class="dropify <?php $__errorArgs = ['air_ticket'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" data-max-file-size="2M" data-allowed-file-extensions="jpg jpeg png pdf" data-height="150" accept=".jpg,.jpeg,.png,.pdf" required />
                                                                        <?php $__errorArgs = ['air_ticket'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3 mb-5 p-3 fav-shadow-border">
                                                                    <div class="col-lg-12">
                                                                        <strong>Invitation letter issued by travel service providers within the Fijian mainland</strong>
                                                                        <p>Invitation letter issued by travel service providers within the Fijian mainland (including hotels, enterprises, travel agencies, tourist attractions, etc)</p>
                                                                    </div>
                                                                    <div class="col-lg-4">
                                                                        <label for="invitation_letter" class="form-label required-field">Invitation Letter (JPG, PNG, PDF) (max. 2MB)</label>
                                                                        <input type="file" id="invitation_letter" name="invitation_letter" class="dropify <?php $__errorArgs = ['invitation_letter'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" data-max-file-size="2M" data-allowed-file-extensions="jpg jpeg png pdf" data-height="150" accept=".jpg,.jpeg,.png,.pdf" required />
                                                                        <?php $__errorArgs = ['invitation_letter'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                                        <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
                                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="row g-3">
                                                                    <div class="col-12 text-center">
                                                                        <button type="submit" class="button-70">
                                                                            <i class="fas fa-paper-plane me-2"></i>Save & Finish
                                                                        </button>
                                                                    </div>
                                                                </div>
                                                            </form>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div><!-- End Skills Grid -->
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>
            </div>


        </div>
    </div>
</section>
<?php $__env->stopSection(); ?>
<?php $__env->startPush('script'); ?>
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Dropify/0.2.2/js/dropify.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/flatpickr"></script>
    <script>
        $(document).ready(function() {
            $('.dropify').dropify({});
        });

    </script>

<script>
    $(document).ready(function () {
        flatpickr(".flat_date", {
            dateFormat: "Y-m-d",
            allowInput: true
        });
    });
</script>
<script>
    $(document).ready(function() {
        // Visa Category Toggle
        $('input[name="visa_category"]').change(function() {
            const value = $(this).val();
            const touristBusinessDiv = $("#tourist_business_div");
            const workDiv = $("#work_div");

            // Hide both divs first
            touristBusinessDiv.addClass("d-none");
            workDiv.addClass("d-none");

            // Remove all required classes and attributes
            $('label[for="hotel_name"], label[for="hotel_address"], label[for="company_approval_letter"]')
                .removeClass("required-field");
            $('input[name="hotel_name"], input[name="hotel_address"], input[name="company_approval_letter"]')
                .removeAttr('required');

            if (value === "tourist" || value === "business") {
                touristBusinessDiv.removeClass("d-none");
                $('label[for="hotel_name"], label[for="hotel_address"]').addClass("required-field");
                $('input[name="hotel_name"], input[name="hotel_address"]').attr('required', 'required');
            } else if (value === "work") {
                workDiv.removeClass("d-none");
                $('label[for="company_approval_letter"]').addClass("required-field");
                $('input[name="company_approval_letter"]').attr('required', 'required');
            }
        });

        // Trigger change event on page load if any radio is checked
        $('input[name="visa_category"]:checked').trigger('change');

        // Declaration Type Toggle (unchanged)
        $('input[name="declaration_type"]').change(function() {
            const value = $(this).val();
            $("#applicant_div, #behalf_div").addClass("d-none");

            if (value === "applicant") {
                $("#applicant_div").removeClass("d-none");
            } else if (value === "behalf") {
                $("#behalf_div").removeClass("d-none");
            }
        });

        // Trigger change event on page load if any declaration radio is checked
        $('input[name="declaration_type"]:checked').trigger('change');
    });

</script>
<script>
    document.addEventListener("DOMContentLoaded", function() {
        const formIds = [
            'personalInfoForm'
            , 'visaTypeForm'
            , 'workInfoForm'
            , 'educationForm'
            , 'familyInfoForm'
            , 'travelInfoForm'
            , 'previousTravelInfoForm'
            , 'otherInfoForm'
            , 'declarationForm'
            , 'uploadMaterialsForm'
        ];

        formIds.forEach(formId => {
            const form = document.getElementById(formId);
            if (form) {
                form.addEventListener('submit', function() {
                    Swal.fire({
                        title: 'Processing...'
                        , text: 'Please wait while we save your information.'
                        , allowOutsideClick: false
                        , allowEscapeKey: false
                        , allowEnterKey: false
                        , didOpen: () => {
                            Swal.showLoading();
                        }
                    });
                });
            }
        });
    });

</script>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('layouts.master', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH D:\xampp\htdocs\fiji visa\resources\views/frontend/apply/apply.blade.php ENDPATH**/ ?>