<?php
    if ($settings->redirect_url != null or !empty($settings->redirect_url)) {
        header("Location: $settings->redirect_url", true, 301);
        exit();
    }
?>

<?php $content = app('App\Http\Controllers\FrontController'); ?>
<?php $__env->startSection('title', 'Contact Us'); ?>

<?php $__env->startPush('styles'); ?>
<link href="https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600;700&family=DM+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
    :root {
        --forest-green: #2d8659;
        --champagne: #e0a84e;
        --dark-green: #1e5a3d;
        --light-green: #3fa572;
        --cream: #fdfbf7;
        --charcoal: #2a2a2a;
    }
    
    .page-hero {
        font-family: 'DM Sans', sans-serif;
        background: linear-gradient(165deg, var(--dark-green) 0%, var(--forest-green) 35%, #2a6f4f 100%);
        min-height: 50vh;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        padding: 8rem 0 6rem;
    }
    
    .page-hero-bg-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
    }
    
    .page-hero-bg-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .page-hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(30, 90, 61, 0.82) 0%, rgba(45, 134, 89, 0.75) 50%, rgba(42, 111, 79, 0.80) 100%);
        z-index: 1;
    }
    
    .page-hero::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 60%;
        height: 100%;
        background: radial-gradient(circle at 80% 30%, rgba(224, 168, 78, 0.15), transparent 60%);
        pointer-events: none;
        z-index: 1;
    }
    
    .page-hero-pattern {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0.03;
        background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 255, 255, 0.1) 35px, rgba(255, 255, 255, 0.1) 70px);
    }
    
    .page-hero-content {
        position: relative;
        z-index: 2;
        text-align: center;
    }
    
    .page-hero-title {
        font-family: 'Crimson Text', serif;
        font-size: 3.5rem;
        font-weight: 700;
        color: white;
        margin-bottom: 1rem;
        letter-spacing: -0.01em;
    }
    
    .page-hero-subtitle {
        font-size: 1.2rem;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 400;
    }
    
    .contact-section {
        padding: 6rem 0;
        background: linear-gradient(180deg, #fdfbf7 0%, #ffffff 100%);
        position: relative;
    }
    
    .section-header {
        text-align: center;
        margin-bottom: 4rem;
    }
    
    .section-title {
        font-family: 'Crimson Text', serif;
        font-size: 3rem;
        font-weight: 700;
        color: var(--charcoal);
        margin-bottom: 1rem;
    }
    
    .section-divider {
        width: 80px;
        height: 5px;
        background: linear-gradient(90deg, var(--champagne) 0%, #ebb860 100%);
        border-radius: 10px;
        margin: 0 auto 1.5rem;
    }
    
    .section-subtitle {
        font-family: 'DM Sans', sans-serif;
        font-size: 1.1rem;
        color: #666;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .contact-info-card {
        background: white;
        border-radius: 20px;
        padding: 2.5rem;
        box-shadow: 0 8px 30px rgba(45, 134, 89, 0.08);
        border: 1px solid rgba(45, 134, 89, 0.1);
        height: 100%;
    }
    
    .contact-info-item {
        display: flex;
        align-items: start;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    .contact-info-item:last-child {
        margin-bottom: 0;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
        background: linear-gradient(135deg, var(--forest-green) 0%, var(--light-green) 100%);
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.5rem;
        box-shadow: 0 6px 20px rgba(45, 134, 89, 0.25);
    }
    
    .contact-info-content h4 {
        font-family: 'Crimson Text', serif;
        font-size: 1.4rem;
        font-weight: 600;
        color: var(--charcoal);
        margin-bottom: 0.5rem;
    }
    
    .contact-info-content p {
        font-family: 'DM Sans', sans-serif;
        color: #666;
        margin: 0;
        line-height: 1.7;
    }
    
    .contact-form-card {
        background: white;
        border-radius: 20px;
        padding: 3rem;
        box-shadow: 0 8px 30px rgba(45, 134, 89, 0.08);
        border: 1px solid rgba(45, 134, 89, 0.1);
    }
    
    .form-group {
        margin-bottom: 1.75rem;
    }
    
    .form-group label {
        font-family: 'DM Sans', sans-serif;
        font-weight: 600;
        color: var(--charcoal);
        margin-bottom: 0.5rem;
        display: block;
    }
    
    .form-control {
        font-family: 'DM Sans', sans-serif;
        padding: 0.9rem 1.25rem;
        border: 2px solid #e0e0e0;
        border-radius: 12px;
        font-size: 1rem;
        transition: all 0.3s ease;
        width: 100%;
    }
    
    .form-control:focus {
        border-color: var(--forest-green);
        box-shadow: 0 0 0 3px rgba(45, 134, 89, 0.1);
        outline: none;
    }
    
    textarea.form-control {
        min-height: 150px;
        resize: vertical;
    }
    
    .btn-submit {
        font-family: 'DM Sans', sans-serif;
        padding: 1rem 2.5rem;
        background: linear-gradient(135deg, var(--forest-green) 0%, var(--light-green) 100%);
        color: white;
        font-weight: 600;
        border: none;
        border-radius: 12px;
        font-size: 1.05rem;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 8px 20px rgba(45, 134, 89, 0.25);
        width: 100%;
    }
    
    .btn-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(45, 134, 89, 0.35);
    }
    
    .bg-map {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: auto;
        opacity: 0.03;
        z-index: 0;
    }
    
    .bg-map img {
        width: 100%;
        height: auto;
    }
    
    @media (max-width: 768px) {
        .page-hero-title {
            font-size: 2.5rem;
        }
        .section-title {
            font-size: 2.2rem;
        }
        .page-hero {
            padding: 6rem 0 4rem;
        }
        .contact-form-card {
            padding: 2rem;
        }
    }
</style>
<?php $__env->stopPush(); ?>

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

    <!-- Page Hero -->
    <div class="page-hero">
        <!-- Background Image -->
        <div class="page-hero-bg-image">
            <img src="<?php echo e(asset('temp/custom/assets/img/page-title-bg2.jpg')); ?>" alt="Contact Us">
        </div>
        
        <!-- Overlay -->
        <div class="page-hero-overlay"></div>
        
        <div class="page-hero-pattern"></div>
        
        <div class="container">
            <div class="page-hero-content">
                <h1 class="page-hero-title">Contact Us</h1>
                <p class="page-hero-subtitle"><?php echo e($settings->site_name); ?> - A global force in trade finance</p>
            </div>
        </div>
    </div>

    <!-- Contact Section -->
    <section class="contact-section">
        <div class="container" style="position: relative; z-index: 2;">
            <div class="section-header">
                <h2 class="section-title">Drop us a message for any query</h2>
                <div class="section-divider"></div>
                <p class="section-subtitle">A leading global financial establishment providing high-quality international banking services.</p>
                
                <div id="google_translate_element" style="margin-top: 2rem;"></div>
                <script type="text/javascript">
                    function googleTranslateElementInit() {
                        new google.translate.TranslateElement({pageLanguage: 'en'}, 'google_translate_element');
                    }
                </script>
                <script type="text/javascript" src="https://translate.google.com/translate_a/elementa0d8a0d8.html?cb=googleTranslateElementInit"></script>
            </div>
            
            <div class="row g-4">
                <div class="col-lg-5 mb-4 mb-lg-0">
                    <div class="contact-info-card">
                        <div class="contact-info-item">
                            <div class="contact-icon">
                                <i class="fas fa-map-marker-alt"></i>
                            </div>
                            <div class="contact-info-content">
                                <h4>Address</h4>
                                <p><?php echo e($settings->address); ?></p>
                            </div>
                        </div>
                        
                        <div class="contact-info-item">
                            <div class="contact-icon">
                                <i class="fas fa-envelope"></i>
                            </div>
                            <div class="contact-info-content">
                                <h4>Email</h4>
                                <p><?php echo e($settings->contact_email); ?><br><?php echo e($settings->contact_email); ?></p>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="col-lg-7">
                    <?php if(Session::has('success')): ?>
                        <div class="alert alert-success" style="border-radius: 12px; padding: 1rem 1.5rem; margin-bottom: 2rem;">
                            <?php echo e(Session::get('success')); ?>

                        </div>
                    <?php endif; ?>
                    
                    <div class="contact-form-card">
                        <form method="POST" action="<?php echo e(route('homesendcontact')); ?>">
                            <?php echo csrf_field(); ?>
                            <div class="row">
                                <div class="col-lg-6">
                                    <div class="form-group">
                                        <label>Full Name</label>
                                        <input type="text" name="fullname" class="form-control" placeholder="Enter your name" required>
                                    </div>
                                </div>
                                
                                <div class="col-lg-6">
                                    <div class="form-group">
                                        <label>Email Address</label>
                                        <input type="email" name="email" class="form-control" placeholder="Enter your email" required>
                                    </div>
                                </div>
                                
                                <div class="col-lg-6">
                                    <div class="form-group">
                                        <label>Phone Number</label>
                                        <input type="text" name="phone_number" class="form-control" placeholder="Enter your phone" required>
                                    </div>
                                </div>
                                
                                <div class="col-lg-6">
                                    <div class="form-group">
                                        <label>Subject</label>
                                        <input type="text" name="subject" class="form-control" placeholder="Enter subject" required>
                                    </div>
                                </div>
                                
                                <div class="col-12">
                                    <div class="form-group">
                                        <label>Message</label>
                                        <textarea name="message" class="form-control" placeholder="Write your message here..." required></textarea>
                                    </div>
                                </div>
                                
                                <div class="col-12">
                                    <button type="submit" class="btn-submit">Send Message</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
        
        <div class="bg-map">
            <img src="<?php echo e(asset('temp/custom/assets/img/bg-map.png')); ?>" alt="World Map">
        </div>
    </section>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.base', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/swizzfx/fintech.swizzfx.pro/resources/views/home/contact.blade.php ENDPATH**/ ?>