<?php if (isset($component)) { $__componentOriginal01ba5f520775ea736a63d25ef8d075cf = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal01ba5f520775ea736a63d25ef8d075cf = $attributes; } ?>
<?php $component = App\View\Components\Layouts\AppLayout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('layouts.app-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\App\View\Components\Layouts\AppLayout::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['page' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($page)]); ?>

    <!-- Page Header Start -->
    <div class="container-fluid page-header py-6 my-6 mt-0 wow fadeIn" data-wow-delay="0.1s">
        <div class="container text-center">
            <h1 class="display-4 text-white animated slideInDown mb-4"><?php echo e($page->title); ?></h1>
            <nav aria-label="breadcrumb animated slideInDown">
                <!-- <ol class="breadcrumb justify-content-center mb-0">
                    <li class="breadcrumb-item"><a class="text-white" href="#">Home</a></li>
                    <li class="breadcrumb-item"><a class="text-white" href="#">Pages</a></li>
                    <li class="breadcrumb-item text-primary active" aria-current="page">About</li>
                </ol> -->
            </nav>
        </div>
    </div>
    <!-- Page Header End -->


    <!-- Contact Section -->
    <section class="container py-5">
        <div class="row g-4">

            <!-- Contact Form -->
            <div class="col-lg-6">
                <div class="card shadow border-0 h-100">
                    <div class="card-body p-4">
                        <h3 class="card-title mb-4"><?php echo app('translator')->get('Get in Touch'); ?></h3>
                        <form action="<?php echo e(route('contact.submit')); ?>" method="POST">
                            <?php echo csrf_field(); ?>

                            <div class="mb-3">
                                <label for="name" class="form-label"><?php echo app('translator')->get('Name'); ?></label>
                                <input type="text" name="name" class="form-control" id="name"
                                    placeholder="<?php echo app('translator')->get('Your Name'); ?>" required>
                                <?php $__errorArgs = ['name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <small class="text-danger"><?php echo e($message); ?></small>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>

                            <div class="mb-3">
                                <label for="email" class="form-label"><?php echo app('translator')->get('Email'); ?></label>
                                <input type="email" name="email" class="form-control" id="email"
                                    placeholder="<?php echo app('translator')->get('Your Email'); ?>" required>
                                <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <small class="text-danger"><?php echo e($message); ?></small>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>

                            <div class="mb-3">
                                <label for="phone" class="form-label"><?php echo app('translator')->get('Phone'); ?></label>
                                <input type="text" name="phone" class="form-control" id="phone"
                                    placeholder="<?php echo app('translator')->get('Your Phone Number'); ?>" required>
                                <?php $__errorArgs = ['phone'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <small class="text-danger"><?php echo e($message); ?></small>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>

                            <div class="mb-3">
                                <label for="subject" class="form-label"><?php echo app('translator')->get('Subject'); ?></label>
                                <input type="text" name="subject" class="form-control" id="subject"
                                    placeholder="<?php echo app('translator')->get('Your Subject'); ?>" required>
                                <?php $__errorArgs = ['subject'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <small class="text-danger"><?php echo e($message); ?></small>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>

                            <div class="mb-3">
                                <label for="message" class="form-label"><?php echo app('translator')->get('Message'); ?></label>
                                <textarea name="message" class="form-control" id="message" rows="5" placeholder="<?php echo app('translator')->get('Your Message'); ?>" required></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]); ?>
                                    <small class="text-danger"><?php echo e($message); ?></small>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>

                            <button type="submit" class="btn btn-primary w-100">
                                <?php echo app('translator')->get('Send Message'); ?>
                            </button>
                        </form>

                    </div>
                </div>
            </div>

            <!-- Contact Info -->
            <div class="col-lg-6">
                <div class="card shadow border-0 h-100">
                    <div class="card-body p-4">
                        <h3 class="card-title mb-4"><?php echo app('translator')->get('Contact Information'); ?></h3>
                        <ul class="list-unstyled mb-4">
                            <div class="d-flex gap-4 mb-3">
                                <?php $__currentLoopData = $contact->social_links; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $link): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <a class="text-primary fs-2" href="<?php echo e($link['url']); ?>"><i
                                            class="<?php echo e($link['icon']); ?>"></i></a>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                            </div>
                            <?php $__currentLoopData = $contact->phones; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $phone): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <li class="mb-3"><i class="fas fa-phone me-2 text-dark"></i> <?php echo e($phone); ?></li>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>


                            <li class="mb-3"><i class="fas fa-envelope me-2 text-dark"></i> <?php echo e($contact->email); ?>

                            </li>
                            <li class="mb-3"><i class="fas fa-map-marker-alt me-2 text-dark"></i>
                                <?php echo e($contact->address); ?></li>
                        </ul>
                        <div class="ratio ratio-16x9">
                            <!-- Embed Google Map -->
                            <?php if($contact->maps): ?>
                                <iframe src="<?php echo e($contact->maps); ?>" width="100%" height="100%" style="border:0;"
                                    allowfullscreen="" loading="lazy">
                                </iframe>
                            <?php endif; ?>

                        </div>
                    </div>
                </div>
            </div>

        </div>
    </section>

 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal01ba5f520775ea736a63d25ef8d075cf)): ?>
<?php $attributes = $__attributesOriginal01ba5f520775ea736a63d25ef8d075cf; ?>
<?php unset($__attributesOriginal01ba5f520775ea736a63d25ef8d075cf); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal01ba5f520775ea736a63d25ef8d075cf)): ?>
<?php $component = $__componentOriginal01ba5f520775ea736a63d25ef8d075cf; ?>
<?php unset($__componentOriginal01ba5f520775ea736a63d25ef8d075cf); ?>
<?php endif; ?>
<?php /**PATH D:\work\logic\virginia\resources\views/front/pages/contact.blade.php ENDPATH**/ ?>