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

    <!-- Hero and nav -->
    <div class="hero is-cover is-relative is-fullheight is-default is-bold">
    
        <!-- Hero Wallop Slider -->
        <div class="Wallop Wallop--v2 Wallop--fade page_header">
            <div class="Wallop-list">
                <div class="has-background-image" data-background="<?php echo e(url('website/assets/img/contact.jpg')); ?>">
                    <div class="Wallop-overlay"></div>
                    <div class="Wallop-caption-wrapper">
                        <div class="container">
                            <div class="columns is-gapless is-vcentered" style="width: 100%">
                                <div class="column is-12">
                                    <div class="caption-inner has-text-centered">
                                        <h1>Contact Us</h1>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>


    <!-- Form section -->
    <div class="contact-page section section-feature-grey is-medium">
        <div class="container">

            <!-- Title -->
            <div class="section-title-wrapper">
                <h2 class="title section-title has-text-centered dark-text">
                    Get in Touch.
                </h2>
                <div class="subtitle section-subtitle has-text-centered">
                    <b>Call us</b>, <b>send us</b> a message, or come <b>visit us</b>.
                </div>
            </div>
  
            <div class="content-wrapper">
                <div class="columns">
                    <!-- Side content -->
                    <div class="column is-4">
						<div class="place-title">Egypt</div>
						
                        <!-- Contact info -->
                        <div class="content">
                            <div class="flex-card contact-card light-bordered hover-inset padding-15">
                                <div class="icon">
                                    <i class="im im-icon-Email"></i>
                                </div>
                                <div class="contact-info">
                                    <div class="contact-name">Email</div>
                                    <div class="contact-details">
                                        <span class="details-text">
                                            <a href="mailto:<?php echo e(config('settings.email')); ?>"><b><?php echo e(config('settings.email')); ?></b></a>
                                        </span>
                                    </div>
                                </div>
                            </div>
                            <!-- Card -->
                            <div class="flex-card contact-card light-bordered hover-inset padding-15">
                                <div class="icon">
                                    <i class="im im-icon-Phone-Wifi"></i>
                                </div>
                                <div class="contact-info">
                                    <div class="contact-name">Phone</div>
                                    <div class="contact-details">
                                        <span class="details-text">
                                            <a href="tel:<?php echo e(config('settings.phone')); ?>"><b><?php echo e(config('settings.phone')); ?></b></a>
                                        </span>
                                    </div>
                                </div>
                            </div>
                            <!-- Card -->
                            <div class="flex-card contact-card light-bordered hover-inset padding-15">
                                <div class="icon">
                                    <i class="im im-icon-Map-Marker"></i>
                                </div>
                                <div class="contact-info">
                                    <div class="contact-name">Address</div>
                                    <div class="contact-details">
                                        <a href="<?php echo e(route('contact')); ?>#findUs"><b><?php echo e(config('settings.address')); ?></b></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
					
					<?php if($new_address): ?>
					<!-- Side content -->
                    <div class="column is-4">
						<div class="place-title"><?php echo e($new_address->name); ?></div>

                        <!-- Contact info -->
                        <div class="content">
                            <div class="flex-card contact-card light-bordered hover-inset padding-15">
                                <div class="icon">
                                    <i class="im im-icon-Email"></i>
                                </div>
                                <div class="contact-info">
                                    <div class="contact-name">Email</div>
                                    <div class="contact-details">
                                        <span class="details-text">
                                            <a href="mailto:<?php echo e($new_address->email); ?>"><b><?php echo e($new_address->email); ?></b></a>
                                        </span>
                                    </div>
                                </div>
                            </div>
                            <!-- Card -->
                            <div class="flex-card contact-card light-bordered hover-inset padding-15">
                                <div class="icon">
                                    <i class="im im-icon-Phone-Wifi"></i>
                                </div>
                                <div class="contact-info">
                                    <div class="contact-name">Phone</div>
                                    <div class="contact-details">
                                        <span class="details-text">
                                            <a href="tel:<?php echo e($new_address->phone); ?>"><b><?php echo e($new_address->phone); ?></b></a>
                                        </span>
                                    </div>
                                </div>
                            </div>
                            <!-- Card -->
                            <div class="flex-card contact-card light-bordered hover-inset padding-15">
                                <div class="icon">
                                    <i class="im im-icon-Map-Marker"></i>
                                </div>
                                <div class="contact-info">
                                    <div class="contact-name">Address</div>
                                    <div class="contact-details">
                                        <a href="<?php echo e(route('contact')); ?>"><b><?php echo e($new_address->address); ?></b></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
					<?php endif; ?>
					
                    <!-- Contact form -->
                    <div class="column is-4">
                        <div class="place-title py-2"></div>

                        <form action="<?php echo e(route('contact.send')); ?>" method="post">
                            <?php echo csrf_field(); ?>

                            <div class="columns is-multiline">
                                <div class="column is-6">
                                    <!-- Input -->
                                    <div class="field">
                                        <label>Name *</label>
                                        <div class="control">
                                            <input class="input is-medium" type="text" name="name" placeholder="name" value="<?php echo e(old('name')); ?>" />
                                        </div>
                                        <?php $__errorArgs = ['name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <div class="validation-info is-error"><?php echo e($message); ?></div>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>
                                </div>
                                <div class="column is-6">
                                    <!-- Input -->
                                    <div class="field">
                                        <label>Email *</label>
                                        <div class="control">
                                            <input class="input is-medium" type="email" name="email" placeholder="email" value="<?php echo e(old('email')); ?>" />
                                        </div>
                                        <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <div class="validation-info is-error"><?php echo e($message); ?></div>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>
                                </div>
                                <div class="column is-6">
                                    <div class="field">
                                        <label>Phone *</label>
                                        <div class="control">
                                            <input class="input is-medium" type="text" name="phone" placeholder="phone" value="<?php echo e(old('phone')); ?>" />
                                        </div>
                                        <?php $__errorArgs = ['phone'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <div class="validation-info is-error"><?php echo e($message); ?></div>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>
                                </div>
                                <div class="column is-6">
                                    <div class="field">
                                        <label>Subject</label>
                                        <div class="control">
                                            <input class="input is-medium" type="text" name="subject" placeholder="subject" value="<?php echo e(old('subject')); ?>" />
                                        </div>
                                        <?php $__errorArgs = ['subject'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <div class="validation-info is-error"><?php echo e($message); ?></div>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>
                                </div>
                                <div class="column is-12">
                                    <div class="field">
                                        <div class="control">
                                            <textarea name="message" class="textarea is-default-focus" rows="6" placeholder="Your message ...">
                                                <?php echo e(old('message')); ?>

                                            </textarea>
                                        </div>
                                    </div>
                                </div>
                                <div class="column is-12">
                                    <!-- Submit -->
                                    <button type="submit" class="button button-cta btn-align primary-btn startup-contact-button raised no-lh is-fullwidth is-bold">
                                        Send Message
                                    </button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
  
    <div id="findUs"></div>
    
    <!-- Map -->
    <div id="google-map">
        <iframe src="<?php echo e(config('settings.location')); ?>" width="100%" height="450" frameborder="0" style="border:0;" allowfullscreen="" class="embed-responsive-item"></iframe>
    </div>
    

<?php $__env->stopSection(); ?>
<?php echo $__env->make('website.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/smart/public_html/resources/views/website/pages/contact.blade.php ENDPATH**/ ?>