

<?php $__env->startSection('title', 'Contact Us - ' . \App\Models\Setting::getValue('site_name', 'The Mini Port')); ?>
<?php $__env->startSection('meta_description', 'Get in touch with ' . \App\Models\Setting::getValue('site_name', 'The Mini Port') . '. We are here to help with your B2B queries.'); ?>

<?php $__env->startSection('content'); ?>
<!-- Hero Section -->
<section class="tw-bg-gradient-to-br tw-from-orange-500 tw-to-orange-600 tw-py-16 tw-text-white">
    <div class="container">
        <div class="row">
            <div class="col-lg-8 tw-mx-auto tw-text-center">
                <h1 class="tw-text-4xl md:tw-text-5xl tw-font-bold tw-mb-4">Contact Us</h1>
                <p class="tw-text-xl tw-opacity-90 tw-mb-0">Have questions? We'd love to hear from you.</p>
            </div>
        </div>
    </div>
</section>

<!-- Contact Section -->
<section class="tw-py-16 tw-bg-gray-50">
    <div class="container">
        <?php if(session('success')): ?>
            <div class="alert alert-success tw-mb-6">
                <i class="bi bi-check-circle-fill me-2"></i><?php echo e(session('success')); ?>

            </div>
        <?php endif; ?>

        <div class="row g-5">
            <!-- Contact Info -->
            <div class="col-lg-4">
                <div class="tw-bg-white tw-rounded-2xl tw-shadow-sm tw-p-6 tw-h-full">
                    <h4 class="tw-font-bold tw-text-gray-800 tw-mb-6">Get in Touch</h4>
                    
                    <div class="tw-space-y-6">
                        <!-- Address -->
                        <div class="tw-flex tw-gap-4">
                            <div class="tw-w-12 tw-h-12 tw-rounded-xl tw-bg-orange-100 tw-flex tw-items-center tw-justify-center tw-text-orange-500 tw-text-xl tw-flex-shrink-0">
                                <i class="bi bi-geo-alt-fill"></i>
                            </div>
                            <div>
                                <h6 class="tw-font-bold tw-text-gray-800 tw-mb-1">Address</h6>
                                <p class="tw-text-gray-600 tw-text-sm tw-mb-0"><?php echo e(\App\Models\Setting::getValue('contact_address', 'Mumbai, Maharashtra, India')); ?></p>
                            </div>
                        </div>

                        <!-- Phone -->
                        <div class="tw-flex tw-gap-4">
                            <div class="tw-w-12 tw-h-12 tw-rounded-xl tw-bg-orange-100 tw-flex tw-items-center tw-justify-center tw-text-orange-500 tw-text-xl tw-flex-shrink-0">
                                <i class="bi bi-telephone-fill"></i>
                            </div>
                            <div>
                                <h6 class="tw-font-bold tw-text-gray-800 tw-mb-1">Phone</h6>
                                <p class="tw-text-gray-600 tw-text-sm tw-mb-0">
                                    <a href="tel:<?php echo e(\App\Models\Setting::getValue('contact_phone', '+919082019936')); ?>" class="tw-text-gray-600 hover:tw-text-orange-500 tw-no-underline">
                                        <?php echo e(\App\Models\Setting::getValue('contact_phone', '+919082019936')); ?>

                                    </a>
                                </p>
                            </div>
                        </div>

                        <!-- Email -->
                        <div class="tw-flex tw-gap-4">
                            <div class="tw-w-12 tw-h-12 tw-rounded-xl tw-bg-orange-100 tw-flex tw-items-center tw-justify-center tw-text-orange-500 tw-text-xl tw-flex-shrink-0">
                                <i class="bi bi-envelope-fill"></i>
                            </div>
                            <div>
                                <h6 class="tw-font-bold tw-text-gray-800 tw-mb-1">Email</h6>
                                <p class="tw-text-gray-600 tw-text-sm tw-mb-0">
                                    <a href="mailto:<?php echo e(\App\Models\Setting::getValue('contact_email', 'support@theminiport.com')); ?>" class="tw-text-gray-600 hover:tw-text-orange-500 tw-no-underline">
                                        <?php echo e(\App\Models\Setting::getValue('contact_email', 'support@theminiport.com')); ?>

                                    </a>
                                </p>
                            </div>
                        </div>

                        <!-- Working Hours -->
                        <div class="tw-flex tw-gap-4">
                            <div class="tw-w-12 tw-h-12 tw-rounded-xl tw-bg-orange-100 tw-flex tw-items-center tw-justify-center tw-text-orange-500 tw-text-xl tw-flex-shrink-0">
                                <i class="bi bi-clock-fill"></i>
                            </div>
                            <div>
                                <h6 class="tw-font-bold tw-text-gray-800 tw-mb-1">Working Hours</h6>
                                <p class="tw-text-gray-600 tw-text-sm tw-mb-0">Mon - Sat: 9:00 AM - 6:00 PM</p>
                            </div>
                        </div>
                    </div>

                    <!-- Social Links -->
                    <div class="tw-mt-8 tw-pt-6 tw-border-t tw-border-gray-100">
                        <h6 class="tw-font-bold tw-text-gray-800 tw-mb-4">Follow Us</h6>
                        <div class="tw-flex tw-gap-3">
                            <?php if(\App\Models\Setting::getValue('social_facebook')): ?>
                                <a href="<?php echo e(\App\Models\Setting::getValue('social_facebook')); ?>" class="tw-w-10 tw-h-10 tw-rounded-full tw-bg-gray-100 tw-flex tw-items-center tw-justify-center tw-text-gray-600 hover:tw-bg-orange-500 hover:tw-text-white tw-transition-all tw-no-underline">
                                    <i class="bi bi-facebook"></i>
                                </a>
                            <?php endif; ?>
                            <?php if(\App\Models\Setting::getValue('social_twitter')): ?>
                                <a href="<?php echo e(\App\Models\Setting::getValue('social_twitter')); ?>" class="tw-w-10 tw-h-10 tw-rounded-full tw-bg-gray-100 tw-flex tw-items-center tw-justify-center tw-text-gray-600 hover:tw-bg-orange-500 hover:tw-text-white tw-transition-all tw-no-underline">
                                    <i class="bi bi-twitter"></i>
                                </a>
                            <?php endif; ?>
                            <?php if(\App\Models\Setting::getValue('social_linkedin')): ?>
                                <a href="<?php echo e(\App\Models\Setting::getValue('social_linkedin')); ?>" class="tw-w-10 tw-h-10 tw-rounded-full tw-bg-gray-100 tw-flex tw-items-center tw-justify-center tw-text-gray-600 hover:tw-bg-orange-500 hover:tw-text-white tw-transition-all tw-no-underline">
                                    <i class="bi bi-linkedin"></i>
                                </a>
                            <?php endif; ?>
                            <?php if(\App\Models\Setting::getValue('social_instagram')): ?>
                                <a href="<?php echo e(\App\Models\Setting::getValue('social_instagram')); ?>" class="tw-w-10 tw-h-10 tw-rounded-full tw-bg-gray-100 tw-flex tw-items-center tw-justify-center tw-text-gray-600 hover:tw-bg-orange-500 hover:tw-text-white tw-transition-all tw-no-underline">
                                    <i class="bi bi-instagram"></i>
                                </a>
                            <?php endif; ?>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Contact Form -->
            <div class="col-lg-8">
                <div class="tw-bg-white tw-rounded-2xl tw-shadow-sm tw-p-6">
                    <h4 class="tw-font-bold tw-text-gray-800 tw-mb-6">Send us a Message</h4>
                    
                    <form action="<?php echo e(route('public.contact.submit')); ?>" method="POST">
                        <?php echo csrf_field(); ?>
                        <div class="row g-4">
                            <div class="col-md-6">
                                <label class="form-label tw-font-bold tw-text-gray-700">Your Name <span class="tw-text-red-500">*</span></label>
                                <input type="text" name="name" class="form-control tw-py-3 <?php $__errorArgs = ['name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" placeholder="John Doe" value="<?php echo e(old('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]); ?> <div class="invalid-feedback"><?php echo e($message); ?></div> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>
                            <div class="col-md-6">
                                <label class="form-label tw-font-bold tw-text-gray-700">Email Address <span class="tw-text-red-500">*</span></label>
                                <input type="email" name="email" class="form-control tw-py-3 <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" placeholder="john@example.com" value="<?php echo e(old('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]); ?> <div class="invalid-feedback"><?php echo e($message); ?></div> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>
                            <div class="col-md-6">
                                <label class="form-label tw-font-bold tw-text-gray-700">Phone Number</label>
                                <input type="text" name="phone" class="form-control tw-py-3 <?php $__errorArgs = ['phone'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" placeholder="+91 98765 43210" value="<?php echo e(old('phone')); ?>">
                                <?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="invalid-feedback"><?php echo e($message); ?></div> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>
                            <div class="col-md-6">
                                <label class="form-label tw-font-bold tw-text-gray-700">Subject <span class="tw-text-red-500">*</span></label>
                                <input type="text" name="subject" class="form-control tw-py-3 <?php $__errorArgs = ['subject'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" placeholder="How can we help?" value="<?php echo e(old('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]); ?> <div class="invalid-feedback"><?php echo e($message); ?></div> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>
                            <div class="col-12">
                                <label class="form-label tw-font-bold tw-text-gray-700">Your Message <span class="tw-text-red-500">*</span></label>
                                <textarea name="message" class="form-control tw-py-3 <?php $__errorArgs = ['message'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" rows="5" placeholder="Write your message here..." required><?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]); ?> <div class="invalid-feedback"><?php echo e($message); ?></div> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>
                            <div class="col-12">
                                <button type="submit" class="btn tw-bg-orange-500 tw-border-orange-500 tw-text-white tw-font-bold tw-px-8 tw-py-3 tw-rounded-lg hover:tw-bg-orange-600">
                                    <i class="bi bi-send-fill me-2"></i>Send Message
                                </button>
                            </div>
                        </div>
                    </form>
                </div>

                <!-- Map -->
                <div class="tw-bg-white tw-rounded-2xl tw-shadow-sm tw-p-6 tw-mt-5">
                    <h4 class="tw-font-bold tw-text-gray-800 tw-mb-4">Our Location</h4>
                    <div class="tw-rounded-xl tw-overflow-hidden tw-border tw-border-gray-200" style="height: 300px;">
                        <?php if(\App\Models\Setting::getValue('contact_map_iframe')): ?>
                            <?php echo \App\Models\Setting::getValue('contact_map_iframe'); ?>

                        <?php else: ?>
                            <iframe 
                                src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d241317.11609823277!2d72.74109995709657!3d19.08219783958221!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3be7c6306644edc1%3A0x5da4ed8f8d648c69!2sMumbai%2C%20Maharashtra!5e0!3m2!1sen!2sin!4v1705660000000!5m2!1sen!2sin" 
                                width="100%" 
                                height="100%" 
                                style="border:0;" 
                                allowfullscreen="" 
                                loading="lazy" 
                                referrerpolicy="no-referrer-when-downgrade">
                            </iframe>
                        <?php endif; ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/u281583269/domains/theminiport.com/public_html/resources/views/public/pages/contact.blade.php ENDPATH**/ ?>