<?php $__env->startSection('title', 'Points Calculator — '.config('site.full_name')); ?>
<?php $__env->startSection('meta_description', 'Free Australian skilled migration points calculator. Estimate your points for subclass 189, 190 and 491 skilled visas in minutes.'); ?>

<?php $__env->startSection('content'); ?>

<?php if (isset($component)) { $__componentOriginala9d931d4f11b4d2850df99e991db1dca = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginala9d931d4f11b4d2850df99e991db1dca = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.page-hero','data' => ['title' => 'Skilled migration','accent' => 'points calculator','crumb' => 'Points Calculator','subtitle' => 'Estimate your score for the points-tested skilled visas (189 / 190 / 491). This is a guide only — book a consultation for a formal assessment.']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('page-hero'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => 'Skilled migration','accent' => 'points calculator','crumb' => 'Points Calculator','subtitle' => 'Estimate your score for the points-tested skilled visas (189 / 190 / 491). This is a guide only — book a consultation for a formal assessment.']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginala9d931d4f11b4d2850df99e991db1dca)): ?>
<?php $attributes = $__attributesOriginala9d931d4f11b4d2850df99e991db1dca; ?>
<?php unset($__attributesOriginala9d931d4f11b4d2850df99e991db1dca); ?>
<?php endif; ?>
<?php if (isset($__componentOriginala9d931d4f11b4d2850df99e991db1dca)): ?>
<?php $component = $__componentOriginala9d931d4f11b4d2850df99e991db1dca; ?>
<?php unset($__componentOriginala9d931d4f11b4d2850df99e991db1dca); ?>
<?php endif; ?>

<section class="container-x py-16 md:py-20">
    <div class="grid gap-8 lg:grid-cols-[1fr_360px]">
        
        <form id="points-form" class="space-y-6">
            <?php
                $groups = [
                    ['name'=>'age','label'=>'Age','icon'=>'M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10ZM3 22a9 9 0 0 1 18 0','options'=>[
                        ['18–24 years','25'],['25–32 years','30'],['33–39 years','25'],['40–44 years','15'],['45+ years','0'],
                    ]],
                    ['name'=>'english','label'=>'English language ability','icon'=>'M2 12h20M12 2a15 15 0 0 1 0 20M12 2a15 15 0 0 0 0 20','options'=>[
                        ['Competent (IELTS 6)','0'],['Proficient (IELTS 7)','10'],['Superior (IELTS 8+)','20'],
                    ]],
                    ['name'=>'experience_overseas','label'=>'Skilled employment — overseas','icon'=>'M20 7h-4V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2Z','options'=>[
                        ['Less than 3 years','0'],['3–4 years','5'],['5–7 years','10'],['8+ years','15'],
                    ]],
                    ['name'=>'experience_australia','label'=>'Skilled employment — in Australia','icon'=>'M12 2 4 6v6c0 5 3.4 8.5 8 10 4.6-1.5 8-5 8-10V6z','options'=>[
                        ['Less than 1 year','0'],['1–2 years','5'],['3–4 years','10'],['5–7 years','15'],['8+ years','20'],
                    ]],
                    ['name'=>'qualification','label'=>'Educational qualification','icon'=>'M22 10 12 5 2 10l10 5 10-5ZM6 12v5c0 1 2.5 3 6 3s6-2 6-3v-5','options'=>[
                        ['Diploma / trade','10'],['Bachelor degree','15'],['Doctorate (PhD)','20'],
                    ]],
                    ['name'=>'study_australia','label'=>'Australian study requirement','icon'=>'M2 3h20v14H2zM8 21h8M12 17v4','options'=>[
                        ['No','0'],['Yes — met the requirement','5'],
                    ]],
                    ['name'=>'other','label'=>'Other factors','icon'=>'M12 2l2.4 7.4H22l-6 4.6 2.3 7.4L12 17l-6.3 4.4L8 14 2 9.4h7.6z','options'=>[
                        ['None','0'],['Accredited community language (NAATI)','5'],['Professional Year in Australia','5'],['Regional study','5'],
                    ]],
                    ['name'=>'partner','label'=>'Partner skills','icon'=>'M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z','options'=>[
                        ['Single / not applicable','10'],['Partner: competent English only','5'],['Partner: skills + English','10'],
                    ]],
                    ['name'=>'nomination','label'=>'State nomination / sponsorship','icon'=>'M9 12l2 2 4-4M12 2 4 6v6c0 5 3.4 8.5 8 10 4.6-1.5 8-5 8-10V6z','options'=>[
                        ['None (189)','0'],['State nomination — 190','5'],['Regional 491 / family sponsor','15'],
                    ]],
                ];
            ?>

            <?php $__currentLoopData = $groups; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $g): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <fieldset class="reveal rounded-3xl border border-slate-100 bg-white p-6 shadow-sm">
                    <legend class="mb-4 flex items-center gap-3 px-1">
                        <span class="grid h-9 w-9 place-items-center rounded-xl bg-brand-50 text-brand-600">
                            <svg class="h-5 w-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="<?php echo e($g['icon']); ?>"/></svg>
                        </span>
                        <span class="text-base font-bold text-ink"><?php echo e($g['label']); ?></span>
                    </legend>
                    <div class="grid gap-3 sm:grid-cols-2">
                        <?php $__currentLoopData = $g['options']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $i => $opt): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <label class="flex cursor-pointer items-center justify-between gap-3 rounded-xl border border-slate-200 px-4 py-3 text-sm transition-colors has-[:checked]:border-brand-500 has-[:checked]:bg-brand-50 has-[:checked]:text-brand-800 hover:border-brand-300">
                                <span class="font-medium"><?php echo e($opt[0]); ?></span>
                                <span class="flex items-center gap-2">
                                    <span class="rounded-md bg-slate-100 px-2 py-0.5 text-xs font-bold text-slate-500"><?php echo e($opt[1]); ?> pts</span>
                                    <input type="radio" name="<?php echo e($g['name']); ?>" value="<?php echo e($opt[1]); ?>" class="h-4 w-4 accent-brand-600" <?php if($i===0): ?> checked <?php endif; ?>>
                                </span>
                            </label>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                </fieldset>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </form>

        
        <aside class="lg:sticky lg:top-28 lg:h-max">
            <div class="reveal overflow-hidden rounded-4xl bg-gradient-to-br from-brand-700 via-brand-600 to-brand-800 p-8 text-white shadow-xl">
                <p class="text-sm font-semibold uppercase tracking-widest text-brand-200">Your estimated points</p>
                <div class="mt-2 flex items-end gap-2">
                    <span id="points-total" class="font-serif text-7xl font-semibold leading-none">65</span>
                    <span class="mb-2 text-xl text-brand-200">pts</span>
                </div>

                <div class="mt-6">
                    <div class="mb-2 flex justify-between text-xs font-medium text-brand-100">
                        <span>Pass mark: 65</span>
                        <span id="points-status">On track</span>
                    </div>
                    <div class="h-2.5 overflow-hidden rounded-full bg-white/20">
                        <div id="points-bar" class="h-full rounded-full bg-white transition-all duration-500" style="width:60%"></div>
                    </div>
                </div>

                <div id="points-message" class="mt-6 rounded-2xl bg-white/10 p-4 text-sm leading-relaxed text-brand-50"></div>

                <a href="<?php echo e(route('contact')); ?>" class="mt-6 flex items-center justify-center gap-2 rounded-full bg-white px-6 py-3.5 text-sm font-semibold text-brand-700 transition-transform hover:-translate-y-0.5">Get a formal assessment</a>
            </div>
            <p class="mt-4 px-2 text-xs leading-relaxed text-slate-400">This calculator provides an indicative estimate only and does not constitute migration advice. Points criteria change — always confirm with a registered migration agent.</p>
        </aside>
    </div>
</section>

<?php if (isset($component)) { $__componentOriginalb9eda212fea7921b4a03feb1b01f47d7 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalb9eda212fea7921b4a03feb1b01f47d7 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.cta-band','data' => ['title' => 'Want to boost your score?','text' => 'Our agents know exactly which factors move the needle. Book a session and we\'ll build your points strategy.']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('cta-band'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => 'Want to boost your score?','text' => 'Our agents know exactly which factors move the needle. Book a session and we\'ll build your points strategy.']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalb9eda212fea7921b4a03feb1b01f47d7)): ?>
<?php $attributes = $__attributesOriginalb9eda212fea7921b4a03feb1b01f47d7; ?>
<?php unset($__attributesOriginalb9eda212fea7921b4a03feb1b01f47d7); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalb9eda212fea7921b4a03feb1b01f47d7)): ?>
<?php $component = $__componentOriginalb9eda212fea7921b4a03feb1b01f47d7; ?>
<?php unset($__componentOriginalb9eda212fea7921b4a03feb1b01f47d7); ?>
<?php endif; ?>

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

<?php $__env->startPush('scripts'); ?>
<script>
    (function () {
        const form = document.getElementById('points-form');
        if (!form) return;
        const totalEl = document.getElementById('points-total');
        const barEl = document.getElementById('points-bar');
        const statusEl = document.getElementById('points-status');
        const msgEl = document.getElementById('points-message');
        const PASS = 65;

        function update() {
            let total = 0;
            form.querySelectorAll('input[type=radio]:checked').forEach(i => total += parseInt(i.value, 10) || 0);
            totalEl.textContent = total;
            barEl.style.width = Math.min(100, Math.round((total / 100) * 100)) + '%';

            if (total >= PASS) {
                statusEl.textContent = 'Meets pass mark';
                msgEl.innerHTML = "Great news — you meet the minimum of <strong>65 points</strong>. Higher scores are invited sooner, so let's see how we can push it further.";
            } else {
                statusEl.textContent = (PASS - total) + ' points to go';
                msgEl.innerHTML = "You're <strong>" + (PASS - total) + " points</strong> below the pass mark. Don't worry — there are proven ways to lift your score. Let's talk through your options.";
            }
        }

        form.addEventListener('change', update);
        update();
    })();
</script>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH D:\Zahid_Project\all-website\sharaussie_education\resources\views/pages/points-calculator.blade.php ENDPATH**/ ?>