<?php $__env->startSection('content'); ?>
    <?php
        $contactContent = getContent('contact.content', true);
        $contactElements = getContent('contact.element', false, null, true);
    ?>

    <main class="page-wrapper pt-0">
        <section class="contact">
            <div class="container">
                <div class="row gy-4">
                    <!-- Contact Form Section -->
                    <div class="col-lg-7">
                        <div class="contact-card">
                            <div class="contact-card__header">
                                <h3 class="contact-card__title"><?php echo e(__(@$contactContent->data_values->form_heading)); ?></h3>
                                <p class="contact-card__desc"><?php echo e(__(@$contactContent->data_values->form_sub_heading)); ?></p>
                            </div>
                            <div class="contact-card__body">
                                <form class="contact-form verify-gcaptcha" method="POST">
                                    <?php echo csrf_field(); ?>
                                    <div class="row gy-3">
                                        <div class="col-sm-6">
                                            <label class="form-label form--label required"
                                                for="name"><?php echo app('translator')->get('Full name'); ?></label>
                                            <input class="form-control form--control" name="name" type="text"
                                                value="<?php echo e(old('name', @$user->fullname)); ?>" placeholder="<?php echo app('translator')->get('Your name'); ?>"
                                                <?php if($user && $user->profile_complete): ?> readonly <?php endif; ?> required>
                                        </div>
                                        <div class="col-sm-6">
                                            <label class="form-label form--label required"
                                                for="email"><?php echo app('translator')->get('Email'); ?></label>
                                            <input class="form-control form--control" name="email" type="email"
                                                value="<?php echo e(old('email', @$user->email)); ?>" placeholder="<?php echo app('translator')->get('Your email'); ?>"
                                                <?php if(@$user): echo 'readonly'; endif; ?> required>
                                        </div>
                                        <div class="col-sm-12">
                                            <label class="form-label form--label required"
                                                for="subject"><?php echo app('translator')->get('Subject'); ?></label>
                                            <input class="form-control form--control" name="subject" type="text"
                                                value="<?php echo e(old('subject')); ?>" placeholder="<?php echo app('translator')->get('Your subject'); ?>" required>
                                        </div>
                                        <div class="col-sm-12">
                                            <label class="form-label form--label required"
                                                for="message"><?php echo app('translator')->get('Message'); ?></label>
                                            <textarea class="form-control form--control" name="message" placeholder="<?php echo app('translator')->get('Your message'); ?>" required><?php echo e(old('message')); ?></textarea>
                                        </div>
                                        <div class="col-sm-12">
                                            <?php if (isset($component)) { $__componentOriginalff0a9fdc5428085522b49c68070c11d6 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalff0a9fdc5428085522b49c68070c11d6 = $attributes; } ?>
<?php $component = App\View\Components\Captcha::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('captcha'); ?>
<?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\Captcha::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['frontend' => 'true','isCustom' => 'true']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalff0a9fdc5428085522b49c68070c11d6)): ?>
<?php $attributes = $__attributesOriginalff0a9fdc5428085522b49c68070c11d6; ?>
<?php unset($__attributesOriginalff0a9fdc5428085522b49c68070c11d6); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalff0a9fdc5428085522b49c68070c11d6)): ?>
<?php $component = $__componentOriginalff0a9fdc5428085522b49c68070c11d6; ?>
<?php unset($__componentOriginalff0a9fdc5428085522b49c68070c11d6); ?>
<?php endif; ?>
                                        </div>
                                        <div class="col-sm-12">
                                            <button class="w-100 btn btn--lg btn--base"
                                                type="submit"><?php echo app('translator')->get('Send Message'); ?></button>
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>

                    <!-- Contact Information Section -->
                    <div class="col-lg-5">
                        <div class="contact-info">
                            <h4 class="contact-info__title"><?php echo e(__(@$contactContent->data_values->heading)); ?></h4>
                            <p class="contact-info__desc"><?php echo e(__(@$contactContent->data_values->sub_heading)); ?></p>
                            <ul class="contact-list">
                                <?php if(@$contactContent->data_values->address): ?>
                                    <li class="contact-list-item">
                                        <div class="contact-list-item__icon">
                                            <?php echo $__env->make('Template::partials.icons.address', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                                        </div>
                                        <div class="contact-list-item__content">
                                            <h6 class="contact-list-item__title"><?php echo app('translator')->get('Address'); ?></h6>
                                            <p class="contact-list-item__desc">
                                                <?php echo e(__(@$contactContent->data_values->address)); ?></p>
                                        </div>
                                    </li>
                                <?php endif; ?>

                                <?php if(@$contactContent->data_values->email): ?>
                                    <li class="contact-list-item">
                                        <div class="contact-list-item__icon">
                                            <?php echo $__env->make('Template::partials.icons.email', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                                        </div>
                                        <div class="contact-list-item__content">
                                            <h6 class="contact-list-item__title"><?php echo app('translator')->get('Email'); ?></h6>
                                            <p class="contact-list-item__desc">
                                                <a class="contact-list-item__link"
                                                    href="mailto:<?php echo e(__(@$contactContent->data_values->email)); ?>"><?php echo e(__(@$contactContent->data_values->email)); ?></a>
                                            </p>
                                        </div>
                                    </li>
                                <?php endif; ?>

                                <?php if(@$contactContent->data_values->contact): ?>
                                    <li class="contact-list-item">
                                        <div class="contact-list-item__icon">
                                            <?php echo $__env->make('Template::partials.icons.contact', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                                        </div>
                                        <div class="contact-list-item__content">
                                            <h6 class="contact-list-item__title"><?php echo app('translator')->get('Contact'); ?></h6>
                                            <p class="contact-list-item__desc">
                                                <a class="contact-list-item__link"
                                                    href="tel:<?php echo e(__(@$contactContent->data_values->contact)); ?>"><?php echo e(__(@$contactContent->data_values->contact)); ?></a>
                                            </p>
                                        </div>
                                    </li>
                                <?php endif; ?>

                                <?php if(@$contactContent->data_values->fax): ?>
                                    <li class="contact-list-item">
                                        <div class="contact-list-item__icon">
                                            <?php echo $__env->make('Template::partials.icons.fax', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                                        </div>
                                        <div class="contact-list-item__content">
                                            <h6 class="contact-list-item__title"><?php echo app('translator')->get('Fax'); ?></h6>
                                            <p class="contact-list-item__desc"><?php echo e(__(@$contactContent->data_values->fax)); ?>

                                            </p>
                                        </div>
                                    </li>
                                <?php endif; ?>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </main>
<?php $__env->stopSection(); ?>


<?php $__env->startPush('style'); ?>
    <style>
        .contact-list-item__icon {
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
        }
    </style>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('Template::layouts.frontend', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/mojibor/work.mojibor.com/core/resources/views/templates/basic/contact.blade.php ENDPATH**/ ?>