
<?php $__env->startSection('title', 'Form submitted Successfully | E-Visa'); ?>
<?php $__env->startSection('content'); ?>
<div class="container py-5">
    <div class="row mb-3">
        <div class="col-lg-12 mb-3">
            <div class="journey-timeline aos-init aos-animate" data-aos="fade-up" data-aos-delay="100">
                <div class="timeline-item">
                    <div class="year">Thank you for your application!</div>
                    <div class="description">Your application has been submitted successfully. Your application Tracking No is: <strong>#<?php echo e($application->tracking_number); ?></strong></div>
                </div>
            </div>
        </div>
        <div class="col-lg-6">
            <div class="barcode-image mb-2">
                <?php echo DNS1D::getBarcodeHTML($application->tracking_number, 'C128', 2, 60); ?>

                <small class="text-muted font-monospace">Tracking No: <?php echo e($application->tracking_number); ?></small>
            </div>
            <div class="qr-code">
                <?php echo DNS2D::getBarcodeHTML($application->tracking_number, 'QRCODE', 3, 3); ?>

                <small class="text-muted">Scan to track</small>
            </div>
        </div>
    </div>
    <div class="row">
        <!-- Sidebar Navigation -->
        <div class="col-md-3 col-lg-3 border-end form-sidebar">
            <div class="nav flex-column nav-pills" id="v-pills-tab" role="tablist" aria-orientation="vertical">
                <button class="nav-link active" id="v-pills-1-tab" data-bs-toggle="pill" data-bs-target="#v-pills-1" type="button" role="tab">1. Personal information</button>
                <button class="nav-link" id="v-pills-2-tab" data-bs-toggle="pill" data-bs-target="#v-pills-2" type="button" role="tab">2. Type of visa</button>
                <button class="nav-link" id="v-pills-3-tab" data-bs-toggle="pill" data-bs-target="#v-pills-3" type="button" role="tab">3. Work information</button>
                <button class="nav-link" id="v-pills-4-tab" data-bs-toggle="pill" data-bs-target="#v-pills-4" type="button" role="tab">4. Education</button>
                <button class="nav-link" id="v-pills-5-tab" data-bs-toggle="pill" data-bs-target="#v-pills-5" type="button" role="tab">5. Family information</button>
                <button class="nav-link" id="v-pills-6-tab" data-bs-toggle="pill" data-bs-target="#v-pills-6" type="button" role="tab">6. Travel information</button>
                <button class="nav-link" id="v-pills-7-tab" data-bs-toggle="pill" data-bs-target="#v-pills-7" type="button" role="tab">7. Previous travel info</button>
                <button class="nav-link" id="v-pills-8-tab" data-bs-toggle="pill" data-bs-target="#v-pills-8" type="button" role="tab">8. Other information</button>
                <button class="nav-link" id="v-pills-9-tab" data-bs-toggle="pill" data-bs-target="#v-pills-9" type="button" role="tab">9. Declaration</button>
                <button class="nav-link" id="v-pills-10-tab" data-bs-toggle="pill" data-bs-target="#v-pills-10" type="button" role="tab">10. Upload Materials</button>
            </div>
        </div>
        <div class="col-md-9 col-lg-9">
            <div class="tab-content" id="v-pills-tabContent">
                <div class="tab-pane fade show active" id="v-pills-1" role="tabpanel" aria-labelledby="v-pills-1-tab">
                    <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>
                                                    <div class="skill-body">
                                                        <div class="row mb-3">
                                                            <div class="col-md-6">
                                                                <strong>Family Name:</strong> <?php echo e($application->personalInfo->family_name); ?>

                                                            </div>
                                                            <div class="col-md-6">
                                                                <strong>Given Names:</strong> <?php echo e($application->personalInfo->given_names); ?>

                                                            </div>
                                                        </div>
                                                        <div class="row mb-3">
                                                            <div class="col-md-6">
                                                                <strong>Other Names:</strong> <?php echo e($application->personalInfo->other_names); ?>

                                                            </div>
                                                            <div class="col-md-6">
                                                                <strong>Siberia Names:</strong> <?php echo e($application->personalInfo->siberia_name); ?>

                                                            </div>
                                                        </div>
                                                        <div class="row mb-3">
                                                            <div class="col-md-6">
                                                                <strong>Date of Birth:</strong> <?php echo e($application->personalInfo->dob->format('d F Y')); ?>

                                                            </div>
                                                            <div class="col-md-6">
                                                                <strong>Gender:</strong> <?php echo e(ucfirst($application->personalInfo->gender)); ?>

                                                            </div>
                                                        </div>

                                                        <div class="row mb-3">
                                                            <div class="col-md-6">
                                                                <strong>Birth Country:</strong> <?php echo e($application->personalInfo->birthCountry->name ?? ''); ?>

                                                            </div>
                                                            <div class="col-md-6">
                                                                <strong>Province/State:</strong> <?php echo e($application->personalInfo->province_state); ?>

                                                            </div>
                                                            <div class="col-md-6">
                                                                <strong>City:</strong> <?php echo e($application->personalInfo->city); ?>

                                                            </div>
                                                        </div>

                                                        <div class="row mb-3">
                                                            <div class="col-md-6">
                                                                <strong>Marital Status:</strong> <?php echo e(ucfirst($application->personalInfo->marital_status)); ?>

                                                            </div>
                                                            <div class="col-md-6">
                                                                <strong>Current Nationality:</strong> <?php echo e($application->personalInfo->currentNationality->name ?? ''); ?>

                                                            </div>
                                                        </div>

                                                        <div class="row mb-3">
                                                            <div class="col-md-6">
                                                                <strong>ID Number:</strong> <?php echo e($application->personalInfo->id_number); ?>

                                                            </div>
                                                            <div class="col-md-6">
                                                                <strong>Other Nationality:</strong> <?php echo e(ucfirst($application->personalInfo->other_nationality)); ?>

                                                            </div>
                                                        </div>

                                                        <div class="row mb-3">
                                                            <div class="col-md-6">
                                                                <strong>Permanent Resident Status:</strong> <?php echo e(ucfirst($application->personalInfo->permanent_resident_status)); ?>

                                                            </div>
                                                            <div class="col-md-6">
                                                                <strong>Previous Nationalities:</strong> <?php echo e(ucfirst($application->personalInfo->previous_nationalities)); ?>

                                                            </div>
                                                        </div>

                                                        
                                                        <hr>
                                                        <h5>Passport Information</h5>
                                                        <div class="row mb-3">
                                                            <div class="col-md-4">
                                                                <strong>Passport Type:</strong> <?php echo e(ucfirst($application->personalInfo->passport_type)); ?>

                                                            </div>
                                                            <div class="col-md-4">
                                                                <strong>Passport Number:</strong> <?php echo e($application->personalInfo->passport_number); ?>

                                                            </div>
                                                            <div class="col-md-4">
                                                                <strong>Issuing Country:</strong> <?php echo e($application->personalInfo->issuingCountry->name ?? ''); ?>

                                                            </div>
                                                        </div>

                                                        <div class="row mb-3">
                                                            <div class="col-md-6">
                                                                <strong>Place of Issue:</strong> <?php echo e($application->personalInfo->place_of_issue); ?>

                                                            </div>
                                                            <div class="col-md-6">
                                                                <strong>Expiration Date:</strong> <?php echo e($application->personalInfo->passport_expiration_date); ?>

                                                            </div>
                                                        </div>

                                                        
                                                        <hr>
                                                        <h5>Uploads</h5>
                                                        <div class="row mb-3">
                                                            <div class="col-md-6">
                                                                <strong>Profile Picture:</strong><br>
                                                                <img src="<?php echo e(asset('storage/' . $application->personalInfo->picture)); ?>" alt="Profile" class="img-thumbnail" style="max-width:150px;">
                                                            </div>
                                                            <div class="col-md-6">
                                                                <strong>Passport Picture:</strong><br>
                                                                <img src="<?php echo e(asset('storage/' . $application->personalInfo->passport_picture)); ?>" alt="Passport" class="img-thumbnail" style="max-width:150px;">
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="tab-pane fade" id="v-pills-2" role="tabpanel" aria-labelledby="v-pills-2-tab">
                    <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-passport"></i>
                                                        <h4 class="fw-bold">Type of visa</h4>
                                                    </div>
                                                    <div class="skill-body">
                                                        <div class="row mb-3">
                                                            <div class="col-md-12">
                                                                <strong>Visa Type:</strong> <?php echo e($application->visaType->visa_type ?? 'N/A'); ?>

                                                            </div>
                                                            <div class="col-md-6">
                                                                <strong>Tourist Type:</strong>
                                                                <?php echo e($application->visaType->tourist_type ?? 'N/A'); ?>

                                                            </div>
                                                        </div>

                                                        <div class="row mb-3">
                                                            <div class="col-md-6">
                                                                <strong>Service Type:</strong> <?php echo e(ucfirst($application->visaType->service_type)); ?>

                                                            </div>
                                                            <div class="col-md-6">
                                                                <strong>Entries:</strong> <?php echo e(ucfirst($application->visaType->entries)); ?>

                                                            </div>
                                                        </div>

                                                        <div class="row mb-3">
                                                            <div class="col-md-6">
                                                                <strong>Visa Validity:</strong> <?php echo e($application->visaType->visa_validity); ?> months
                                                            </div>
                                                            <div class="col-md-6">
                                                                <strong>Max Duration of Stay:</strong> <?php echo e($application->visaType->max_duration_stay); ?> days
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="tab-pane fade" id="v-pills-3" role="tabpanel" aria-labelledby="v-pills-3-tab">
                    <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-workspace"></i>
                                                        <h4 class="fw-bold">3. Work information</h4>
                                                    </div>
                                                    <div class="skill-body">
                                                        <div class="row mb-3">
                                                            <div class="col-md-6">
                                                                <strong>Current Occupation:</strong> <?php echo e($application->workInfo->occupation); ?>

                                                            </div>
                                                            <div class="col-md-6">
                                                                <strong>Work Experience (Past 5 Years):</strong>
                                                                <?php echo e($application->workInfo->work_exp_date_from->format('d F Y')); ?>

                                                                -
                                                                <?php echo e($application->workInfo->work_exp_date_to->format('d F Y')); ?>

                                                            </div>
                                                        </div>

                                                        <h6 class="text-primary">Employer</h6>
                                                        <div class="row mb-3">
                                                            <div class="col-md-6">
                                                                <strong>Name:</strong> <?php echo e($application->workInfo->employer_name ?? 'N/A'); ?>

                                                            </div>
                                                            <div class="col-md-6">
                                                                <strong>Address:</strong> <?php echo e($application->workInfo->employer_address ?? 'N/A'); ?>

                                                            </div>
                                                            <div class="col-md-6">
                                                                <strong>Telephone:</strong> <?php echo e($application->workInfo->employer_telephone ?? 'N/A'); ?>

                                                            </div>
                                                        </div>

                                                        <h6 class="text-primary">Supervisor</h6>
                                                        <div class="row mb-3">
                                                            <div class="col-md-6">
                                                                <strong>Name:</strong> <?php echo e($application->workInfo->supervisor_name ?? 'N/A'); ?>

                                                            </div>
                                                            <div class="col-md-6">
                                                                <strong>Telephone:</strong> <?php echo e($application->workInfo->supervisor_telephone ?? 'N/A'); ?>

                                                            </div>
                                                        </div>

                                                        <h6 class="text-primary">Position & Duty</h6>
                                                        <div class="row mb-3">
                                                            <div class="col-md-6">
                                                                <strong>Position:</strong> <?php echo e($application->workInfo->position_name ?? 'N/A'); ?>

                                                            </div>
                                                            <div class="col-md-6">
                                                                <strong>Duty:</strong> <?php echo e($application->workInfo->duty_name ?? 'N/A'); ?>

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="tab-pane fade" id="v-pills-4" role="tabpanel" aria-labelledby="v-pills-4-tab">
                    <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-mortarboard"></i>
                                                        <h4 class="fw-bold">4. Education</h4>
                                                    </div>
                                                    <div class="skill-body">
                                                        <div class="row mb-3">
                                                            <div class="col-md-12">
                                                                <strong>Institute Name:</strong> <?php echo e($application->educationInfo->institute_name); ?>

                                                            </div>
                                                            <div class="col-md-12">
                                                                <strong>Degree:</strong> <?php echo e($application->educationInfo->degree_name); ?>

                                                            </div>
                                                            <div class="col-md-12">
                                                                <strong>Major:</strong> <?php echo e($application->educationInfo->major_degree ?? 'N/A'); ?>

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="tab-pane fade" id="v-pills-5" role="tabpanel" aria-labelledby="v-pills-5-tab">
                    <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-people"></i>
                                                        <h4 class="fw-bold">5. Family Information</h4>
                                                    </div>
                                                    <div class="skill-body">
                                                        
                                                        <h6 class="text-primary">Contact</h6>
                                                        <div class="row mb-2">
                                                            <div class="col-md-6">
                                                                <strong>Current Home Address:</strong> <?php echo e($application->familyInfo->current_home_address); ?>

                                                            </div>
                                                            <div class="col-md-6">
                                                                <strong>Mobile Number:</strong> <?php echo e($application->familyInfo->home_mobile_number); ?>

                                                            </div>
                                                        </div>
                                                        <div class="row mb-2">
                                                            <div class="col-md-6">
                                                                <strong>Home Phone Number:</strong> <?php echo e($application->familyInfo->home_phone_number ?? 'N/A'); ?>

                                                            </div>
                                                            <div class="col-md-6">
                                                                <strong>Email:</strong> <?php echo e($application->familyInfo->home_email ?? 'N/A'); ?>

                                                            </div>
                                                        </div>

                                                        
                                                        <hr>
                                                        <h6 class="text-primary">Father</h6>
                                                        <div class="row mb-2">
                                                            <div class="col-md-4">
                                                                <strong>Family Name:</strong> <?php echo e($application->familyInfo->father_family_name); ?>

                                                            </div>
                                                            <div class="col-md-4">
                                                                <strong>Given Name:</strong> <?php echo e($application->familyInfo->father_givenname); ?>

                                                            </div>
                                                            <div class="col-md-4">
                                                                <strong>Nationality:</strong> <?php echo e($application->familyInfo->fatherNationality->name ?? ''); ?>

                                                            </div>
                                                        </div>
                                                        <div class="row mb-2">
                                                            <div class="col-md-4">
                                                                <strong>Date of Birth:</strong> <?php echo e($application->familyInfo->father_dob->format('d F Y')); ?>

                                                            </div>
                                                            <div class="col-md-4">
                                                                <strong>In Siberia:</strong> <?php echo e($application->familyInfo->father_siberia_origin ? 'Yes' : 'No'); ?>

                                                            </div>
                                                        </div>

                                                        
                                                        <hr>
                                                        <h6 class="text-primary">Mother</h6>
                                                        <div class="row mb-2">
                                                            <div class="col-md-4">
                                                                <strong>Family Name:</strong> <?php echo e($application->familyInfo->mother_family_name); ?>

                                                            </div>
                                                            <div class="col-md-4">
                                                                <strong>Given Name:</strong> <?php echo e($application->familyInfo->mother_givenname); ?>

                                                            </div>
                                                            <div class="col-md-4">
                                                                <strong>Nationality:</strong> <?php echo e($application->familyInfo->motherNationality->name ?? ''); ?>

                                                            </div>
                                                        </div>
                                                        <div class="row mb-2">
                                                            <div class="col-md-4">
                                                                <strong>Date of Birth:</strong> <?php echo e($application->familyInfo->mother_dob->format('d F Y')); ?>

                                                            </div>
                                                            <div class="col-md-4">
                                                                <strong>In Siberia:</strong> <?php echo e($application->familyInfo->mother_siberia_origin ? 'Yes' : 'No'); ?>

                                                            </div>
                                                        </div>

                                                        
                                                        <?php if($application->familyInfo->children_family_name): ?>
                                                        <hr>
                                                        <h6 class="text-primary">Child</h6>
                                                        <div class="row mb-2">
                                                            <div class="col-md-4">
                                                                <strong>Family Name:</strong> <?php echo e($application->familyInfo->children_family_name); ?>

                                                            </div>
                                                            <div class="col-md-4">
                                                                <strong>Given Name:</strong> <?php echo e($application->familyInfo->children_givenname); ?>

                                                            </div>
                                                            <div class="col-md-4">
                                                                <strong>Nationality:</strong> <?php echo e($application->familyInfo->childrenNationality->name ?? ''); ?>

                                                            </div>
                                                        </div>
                                                        <div class="row mb-2">
                                                            <div class="col-md-4">
                                                                <strong>Date of Birth:</strong> <?php echo e($application->familyInfo->children_dob ? $application->familyInfo->children_dob->format('d F Y') : 'N/A'); ?>

                                                            </div>
                                                        </div>
                                                        <?php endif; ?>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="tab-pane fade" id="v-pills-6" role="tabpanel" aria-labelledby="v-pills-6-tab">
                    <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-airplane"></i>
                                                        <h4 class="fw-bold">6. Travel Information</h4>
                                                    </div>
                                                    <div class="skill-body">
                                                        
                                                        <div class="row mb-3">
                                                            <div class="col-md-4">
                                                                <strong>Visa Category:</strong> <?php echo e(ucfirst($application->travelInfo->visa_category)); ?>

                                                            </div>
                                                            <div class="col-md-4">
                                                                <strong>Travel Payer:</strong> <?php echo e(ucfirst($application->travelInfo->travel_payer)); ?>

                                                            </div>
                                                            <div class="col-md-4">
                                                                <strong>Same Passport:</strong> <?php echo e($application->travelInfo->same_passport ? 'Yes' : 'No'); ?>

                                                            </div>
                                                        </div>

                                                        
                                                        <?php if(in_array($application->travelInfo->visa_category, ['tourist', 'business'])): ?>
                                                        <h6 class="text-primary">Hotel Information</h6>
                                                        <div class="row mb-3">
                                                            <div class="col-md-6">
                                                                <strong>Hotel Name:</strong> <?php echo e($application->travelInfo->hotel_name ?? 'N/A'); ?>

                                                            </div>
                                                            <div class="col-md-6">
                                                                <strong>Hotel Address:</strong> <?php echo e($application->travelInfo->hotel_address ?? 'N/A'); ?>

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

                                                        
                                                        <?php if($application->travelInfo->visa_category === 'work'): ?>
                                                        <h6 class="text-primary">Company Approval Letter</h6>
                                                        <div class="row mb-3">
                                                            <div class="col-md-12">
                                                                <?php if($application->travelInfo->company_approval_letter): ?>
                                                                <a href="<?php echo e(asset($application->travelInfo->company_approval_letter)); ?>" target="_blank">View Approval Letter</a>
                                                                <?php else: ?>
                                                                N/A
                                                                <?php endif; ?>
                                                            </div>
                                                        </div>
                                                        <?php endif; ?>

                                                        
                                                        <h6 class="text-primary">Inviting Person / Organization in Siberia</h6>
                                                        <div class="row mb-2">
                                                            <div class="col-md-4">
                                                                <strong>Name:</strong> <?php echo e($application->travelInfo->inviting_name); ?>

                                                            </div>
                                                            <div class="col-md-4">
                                                                <strong>Relationship:</strong> <?php echo e($application->travelInfo->inviting_relationship); ?>

                                                            </div>
                                                            <div class="col-md-4">
                                                                <strong>Phone:</strong> <?php echo e($application->travelInfo->inviting_phone_number); ?>

                                                            </div>
                                                        </div>
                                                        <div class="row mb-2">
                                                            <div class="col-md-4">
                                                                <strong>Email:</strong> <?php echo e($application->travelInfo->inviting_email ?? 'N/A'); ?>

                                                            </div>
                                                            <div class="col-md-4">
                                                                <strong>City:</strong> <?php echo e($application->travelInfo->inviting_city); ?>

                                                            </div>
                                                        </div>
                                                        <div class="row mb-2">
                                                            <div class="col-md-4">
                                                                <strong>District:</strong> <?php echo e($application->travelInfo->inviting_district ?? 'N/A'); ?>

                                                            </div>
                                                            <div class="col-md-4">
                                                                <strong>Post Code:</strong> <?php echo e($application->travelInfo->inviting_post_code ?? 'N/A'); ?>

                                                            </div>
                                                        </div>

                                                        
                                                        <h6 class="text-primary">Emergency Contact</h6>
                                                        <div class="row mb-2">
                                                            <div class="col-md-4">
                                                                <strong>Family Name:</strong> <?php echo e($application->travelInfo->emergency_contact_family_name); ?>

                                                            </div>
                                                            <div class="col-md-4">
                                                                <strong>Given Name:</strong> <?php echo e($application->travelInfo->emergency_contact_givenname); ?>

                                                            </div>
                                                            <div class="col-md-4">
                                                                <strong>Relationship:</strong> <?php echo e($application->travelInfo->emergency_contact_relationship); ?>

                                                            </div>
                                                        </div>
                                                        <div class="row mb-2">
                                                            <div class="col-md-4">
                                                                <strong>Phone:</strong> <?php echo e($application->travelInfo->emergency_contact_phone_number); ?>

                                                            </div>
                                                            <div class="col-md-4">
                                                                <strong>Email:</strong> <?php echo e($application->travelInfo->emergency_contact_email ?? 'N/A'); ?>

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="tab-pane fade" id="v-pills-7" role="tabpanel" aria-labelledby="v-pills-7-tab">
                    <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-airplane"></i>
                                                        <h4 class="fw-bold">7. Previous Travel Info</h4>
                                                    </div>
                                                    <div class="skill-body">
                                                        <div class="row mb-2">
                                                            <div class="col-md-12">
                                                                <strong>Have you ever been to Siberia?</strong>
                                                                <?php echo e(ucfirst($application->previousTravelInfo->travel_siberia ?? 'N/A')); ?>

                                                            </div>
                                                            <div class="col-md-12">
                                                                <strong>Have you ever gotten a Siberia visa?</strong>
                                                                <?php echo e(ucfirst($application->previousTravelInfo->previous_siberia_visa ?? 'N/A')); ?>

                                                            </div>
                                                        </div>
                                                        <div class="row mb-2">
                                                            <div class="col-md-12">
                                                                <strong>Do you have any valid visa issued by other countries?</strong>
                                                                <?php echo e(ucfirst($application->previousTravelInfo->other_country_visa ?? 'N/A')); ?>

                                                            </div>
                                                            <div class="col-md-12">
                                                                <strong>Have you visited any countries in the last 12 months?</strong>
                                                                <?php echo e(ucfirst($application->previousTravelInfo->visited_last_12_months ?? 'N/A')); ?>

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="tab-pane fade" id="v-pills-8" role="tabpanel" aria-labelledby="v-pills-8-tab">
                    <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-bar-chart"></i>
                                                        <h4 class="fw-bold">8. Other Information</h4>
                                                    </div>
                                                    <div class="skill-body">
                                                        <div class="row mb-2">
                                                            <div class="col-md-12">
                                                                <strong>Refused Visa:</strong> <?php echo e(ucfirst($application->otherInfo->refused_visa ?? 'N/A')); ?>

                                                            </div>
                                                            <div class="col-md-12">
                                                                <strong>Visa Canceled:</strong> <?php echo e(ucfirst($application->otherInfo->visa_canceled ?? 'N/A')); ?>

                                                            </div>
                                                            <div class="col-md-12">
                                                                <strong>Illegal Entry:</strong> <?php echo e(ucfirst($application->otherInfo->illegal_entry ?? 'N/A')); ?>

                                                            </div>
                                                        </div>
                                                        <div class="row mb-2">
                                                            <div class="col-md-12">
                                                                <strong>Criminal Record:</strong> <?php echo e(ucfirst($application->otherInfo->criminal_record ?? 'N/A')); ?>

                                                            </div>
                                                            <div class="col-md-12">
                                                                <strong>Health Issue:</strong> <?php echo e(ucfirst($application->otherInfo->health_issue ?? 'N/A')); ?>

                                                            </div>
                                                            <div class="col-md-12">
                                                                <strong>Epidemic Visit:</strong> <?php echo e(ucfirst($application->otherInfo->epidemic_visit ?? 'N/A')); ?>

                                                            </div>
                                                        </div>
                                                        <div class="row mb-2">
                                                            <div class="col-md-12">
                                                                <strong>Special Skill:</strong> <?php echo e(ucfirst($application->otherInfo->special_skill ?? 'N/A')); ?>

                                                            </div>
                                                            <div class="col-md-12">
                                                                <strong>Military Service:</strong> <?php echo e(ucfirst($application->otherInfo->military_service ?? 'N/A')); ?>

                                                            </div>
                                                            <div class="col-md-12">
                                                                <strong>Paramilitary:</strong> <?php echo e(ucfirst($application->otherInfo->paramilitary ?? 'N/A')); ?>

                                                            </div>
                                                        </div>
                                                        <div class="row mb-2">
                                                            <div class="col-md-12">
                                                                <strong>Organization Work:</strong> <?php echo e(ucfirst($application->otherInfo->organization_work ?? 'N/A')); ?>

                                                            </div>
                                                            <div class="col-md-12">
                                                                <strong>Other Declaration:</strong> <?php echo e(ucfirst($application->otherInfo->other_declaration ?? 'N/A')); ?>

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="tab-pane fade" id="v-pills-9" role="tabpanel" aria-labelledby="v-pills-9-tab">
                    <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-check-circle"></i>
                                                        <h4 class="fw-bold">9. Declaration</h4>
                                                    </div>
                                                    <div class="skill-body">
                                                        <div class="row mb-2">
                                                            <div class="col-md-6">
                                                                <strong>Declaration Type:</strong>
                                                                <?php echo e(ucfirst($application->declaration->declaration_type ?? 'N/A')); ?>

                                                            </div>
                                                            <div class="col-md-6">
                                                                <strong>Agreed:</strong>
                                                                <?php echo e($application->declaration->agree ? 'Yes' : 'No'); ?>

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="tab-pane fade" id="v-pills-10" role="tabpanel" aria-labelledby="v-pills-10-tab">
                    <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-cloud-arrow-up"></i>
                                                        <h4 class="fw-bold">10. Uploaded Materials</h4>
                                                    </div>
                                                    <div class="skill-body">
                                                        <?php
                                                        // Helper function to detect PDF
                                                        function isPdf($file) {
                                                        return strtolower(pathinfo($file, PATHINFO_EXTENSION)) === 'pdf';
                                                        }

                                                        // Helper function to get storage path
                                                        function storageFile($path) {
                                                        return asset('storage/' . $path);
                                                        }

                                                        // Multi-slot fields
                                                        $otherVisas = ['other_country_visa1','other_country_visa2','other_country_visa3','other_country_visa4','other_country_visa5','other_country_visa6'];
                                                        $bankStatements = ['bank_statement1','bank_statement2','bank_statement3','bank_statement4'];
                                                        $singleFiles = ['itinerary_siberia','hote_requirement','air_ticket','invitation_letter'];
                                                        ?>

                                                        
                                                        <h6 class="text-primary">Other Country Visas</h6>
                                                        <?php $__currentLoopData = $otherVisas; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $field): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                        <?php if(!empty($application->materials->$field)): ?>
                                                        <?php $file = storageFile($application->materials->$field); ?>
                                                        <div class="mb-2">
                                                            <strong><?php echo e(ucfirst(str_replace('_',' ',$field))); ?>:</strong><br>
                                                            <?php if(isPdf($file)): ?>
                                                            <iframe src="<?php echo e($file); ?>" width="100%" height="400px"></iframe>
                                                            <?php else: ?>
                                                            <img src="<?php echo e($file); ?>" alt="<?php echo e($field); ?>" class="img-fluid mb-2">
                                                            <?php endif; ?>
                                                        </div>
                                                        <?php endif; ?>
                                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                                                        
                                                        <h6 class="text-primary">Bank Statements</h6>
                                                        <?php $__currentLoopData = $bankStatements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $field): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                        <?php if(!empty($application->materials->$field)): ?>
                                                        <?php $file = storageFile($application->materials->$field); ?>
                                                        <div class="mb-2">
                                                            <strong><?php echo e(ucfirst(str_replace('_',' ',$field))); ?>:</strong><br>
                                                            <?php if(isPdf($file)): ?>
                                                            <iframe src="<?php echo e($file); ?>" width="100%" height="400px"></iframe>
                                                            <?php else: ?>
                                                            <img src="<?php echo e($file); ?>" alt="<?php echo e($field); ?>" class="img-fluid mb-2">
                                                            <?php endif; ?>
                                                        </div>
                                                        <?php endif; ?>
                                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                                                        
                                                        <h6 class="text-primary">Other Documents</h6>
                                                        <?php $__currentLoopData = $singleFiles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $field): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                        <?php if(!empty($application->materials->$field)): ?>
                                                        <?php $file = storageFile($application->materials->$field); ?>
                                                        <div class="mb-2">
                                                            <strong><?php echo e(ucfirst(str_replace('_',' ',$field))); ?>:</strong><br>
                                                            <?php if(isPdf($file)): ?>
                                                            <iframe src="<?php echo e($file); ?>" width="100%" height="400px"></iframe>
                                                            <?php else: ?>
                                                            <img src="<?php echo e($file); ?>" alt="<?php echo e($field); ?>" class="img-fluid mb-2">
                                                            <?php endif; ?>
                                                        </div>
                                                        <?php endif; ?>
                                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

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