<div class="rounded-4xl border border-slate-100 bg-white p-6 shadow-xl shadow-slate-900/5 sm:p-8">
    <?php if(session('status')): ?>
        <div class="mb-6 flex items-start gap-3 rounded-2xl border border-emerald-100 bg-emerald-50 p-4 text-sm text-emerald-800">
            <svg class="mt-0.5 h-5 w-5 shrink-0" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M20 6 9 17l-5-5"/></svg>
            <span><?php echo e(session('status')); ?></span>
        </div>
    <?php endif; ?>

    <form action="<?php echo e(route('contact.send')); ?>" method="POST" class="space-y-5">
        <?php echo csrf_field(); ?>
        <div class="grid gap-5 sm:grid-cols-2">
            <div>
                <label for="name" class="mb-1.5 block text-sm font-medium text-slate-600">Name</label>
                <input id="name" name="name" type="text" value="<?php echo e(old('name')); ?>" required placeholder="Your full name"
                       class="w-full rounded-xl border border-slate-200 bg-slate-50/50 px-4 py-3 text-sm text-ink outline-none transition-colors focus:border-brand-400 focus:bg-white focus:ring-2 focus:ring-brand-100">
                <?php $__errorArgs = ['name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><p class="mt-1 text-xs text-brand-600"><?php echo e($message); ?></p><?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
            </div>
            <div>
                <label for="email" class="mb-1.5 block text-sm font-medium text-slate-600">Email</label>
                <input id="email" name="email" type="email" value="<?php echo e(old('email')); ?>" required placeholder="you@email.com"
                       class="w-full rounded-xl border border-slate-200 bg-slate-50/50 px-4 py-3 text-sm text-ink outline-none transition-colors focus:border-brand-400 focus:bg-white focus:ring-2 focus:ring-brand-100">
                <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><p class="mt-1 text-xs text-brand-600"><?php echo e($message); ?></p><?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
            </div>
            <div>
                <label for="phone" class="mb-1.5 block text-sm font-medium text-slate-600">Phone</label>
                <input id="phone" name="phone" type="text" value="<?php echo e(old('phone')); ?>" placeholder="Optional"
                       class="w-full rounded-xl border border-slate-200 bg-slate-50/50 px-4 py-3 text-sm text-ink outline-none transition-colors focus:border-brand-400 focus:bg-white focus:ring-2 focus:ring-brand-100">
            </div>
            <div>
                <label for="subject" class="mb-1.5 block text-sm font-medium text-slate-600">Subject</label>
                <input id="subject" name="subject" type="text" value="<?php echo e(old('subject')); ?>" placeholder="How can we help?"
                       class="w-full rounded-xl border border-slate-200 bg-slate-50/50 px-4 py-3 text-sm text-ink outline-none transition-colors focus:border-brand-400 focus:bg-white focus:ring-2 focus:ring-brand-100">
            </div>
        </div>
        <div>
            <label for="message" class="mb-1.5 block text-sm font-medium text-slate-600">Message</label>
            <textarea id="message" name="message" rows="4" required placeholder="Tell us a little about your goals..."
                      class="w-full rounded-xl border border-slate-200 bg-slate-50/50 px-4 py-3 text-sm text-ink outline-none transition-colors focus:border-brand-400 focus:bg-white focus:ring-2 focus:ring-brand-100"><?php echo e(old('message')); ?></textarea>
            <?php $__errorArgs = ['message'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><p class="mt-1 text-xs text-brand-600"><?php echo e($message); ?></p><?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </div>
        <button type="submit" class="inline-flex w-full items-center justify-center gap-2 rounded-full bg-brand-600 px-7 py-3.5 text-sm font-semibold text-white shadow-lg shadow-brand-600/30 transition-transform hover:-translate-y-0.5 sm:w-auto">
            Send message
            <svg class="h-4 w-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m22 2-7 20-4-9-9-4Z"/><path d="M22 2 11 13"/></svg>
        </button>
    </form>
</div>
<?php /**PATH D:\Zahid_Project\all-website\sharaussie_education\resources\views/partials/contact-form.blade.php ENDPATH**/ ?>