<?php $__env->startSection('title', $title ?? 'Book Flight'); ?>

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

<!-- Enhanced Hero Section with Military Styling -->
<section class="relative py-24 bg-gradient-military bg-hero-pattern text-white overflow-hidden">
    <!-- Military Background Pattern -->
    <div class="absolute inset-0 opacity-20"></div>
    <div class="absolute inset-0 bg-gradient-to-br from-black/60 via-transparent to-black/40"></div>

    <!-- Floating Military Elements -->
    <div class="absolute top-20 left-10 w-16 h-16 opacity-20 animate-pulse">
        <i class="fas fa-plane text-4xl text-eagle-gold"></i>
    </div>
    <div class="absolute bottom-20 right-10 w-20 h-20 opacity-10 animate-bounce">
        <i class="fas fa-globe text-5xl text-white"></i>
    </div>
    <div class="absolute top-1/2 left-1/4 w-12 h-12 opacity-15 animate-ping">
        <i class="fas fa-ticket-alt text-3xl text-eagle-gold"></i>
    </div>

    <div class="container mx-auto px-4 relative z-10">
        <div class="text-center max-w-4xl mx-auto">
            <!-- Enhanced Breadcrumb -->
            <nav class="text-sm mb-8" x-data="{ isVisible: true }" x-intersect="isVisible = true">
                <div x-show="isVisible" x-transition:enter="transition-all ease-out duration-1000" x-transition:enter-start="opacity-0 transform translate-y-4" x-transition:enter-end="opacity-100 transform translate-y-0">
                    <ol class="inline-flex justify-center items-center space-x-3 text-gray-300 bg-white/10 backdrop-blur-sm rounded-full px-6 py-3">
                        <li><a href="/" class="hover:text-eagle-gold transition-colors duration-300 flex items-center">
                            <i class="fas fa-home mr-2"></i>Home
                        </a></li>
                        <li><i class="fas fa-chevron-right text-xs mx-2 text-eagle-gold"></i></li>
                        <li><a href="#" class="hover:text-eagle-gold transition-colors duration-300">Travel Services</a></li>
                        <li><i class="fas fa-chevron-right text-xs mx-2 text-eagle-gold"></i></li>
                        <li class="text-eagle-gold font-semibold">Book Flight</li>
                    </ol>
                </div>
            </nav>

            <!-- Enhanced Title -->
            <div x-data="{ isVisible: true }" x-intersect="isVisible = true">
                <div x-show="isVisible" x-transition:enter="transition-all ease-out duration-1200 delay-300" x-transition:enter-start="opacity-0 transform translate-y-8" x-transition:enter-end="opacity-100 transform translate-y-0">
                    <!-- Flight Badge -->
                    <div class="inline-flex items-center bg-gradient-to-r from-eagle-gold to-yellow-500 text-military-dark px-8 py-4 rounded-full mb-8 shadow-lg">
                        <i class="fas fa-plane-departure mr-3 text-lg"></i>
                        <span class="font-bold uppercase tracking-wide">Military Travel Services</span>
                    </div>

                    <h1 class="text-5xl md:text-7xl font-bold mb-6 font-military tracking-wide text-transparent bg-clip-text bg-gradient-to-r from-white via-eagle-gold to-white">
                        BOOK A FLIGHT
                    </h1>
                    <div class="w-32 h-1 bg-gradient-to-r from-transparent via-eagle-gold to-transparent mx-auto mb-6"></div>
                    <p class="text-2xl text-gray-200 font-serif italic mb-4">U.S. Military Flight Services</p>
                    <p class="text-lg text-gray-300 max-w-2xl mx-auto leading-relaxed">
                        Exclusive military travel financing with discounted fares for active duty and retired personnel.
                    </p>
                </div>
            </div>

            <!-- Benefits Banner -->
            <div class="mt-12 bg-gradient-to-r from-military-green/20 to-military-dark/10 rounded-xl p-6 border border-military-green/30" x-data="{ isVisible: true }" x-intersect="isVisible = true">
                <div x-show="isVisible" x-transition:enter="transition-all ease-out duration-1000 delay-500" x-transition:enter-start="opacity-0 transform translate-y-6" x-transition:enter-end="opacity-100 transform translate-y-0">
                    <div class="flex items-center justify-center">
                        <i class="fas fa-shield-alt text-eagle-gold mr-4 text-2xl animate-pulse"></i>
                        <div class="text-center">
                            <h4 class="font-bold text-white text-lg mb-1">NO DOWN PAYMENT REQUIRED</h4>
                            <p class="text-gray-300">Exclusive military financing • Domestic & International flights</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>

<!-- Enhanced Professional Flight Booking Section -->
<section class="py-20 bg-gradient-military bg-hero-pattern relative overflow-hidden">
    <!-- Professional Background Elements -->
    <div class="absolute inset-0 bg-[url('data:image/svg+xml,%3Csvg width=\'60\' height=\'60\' viewBox=\'0 0 60 60\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cg fill=\'none\' fill-rule=\'evenodd\'%3E%3Cg fill=\'%232d4a1e\' fill-opacity=\'0.03\'%3E%3Cpath d=\'M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z\'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E')] opacity-30"></div>

    <div class="container mx-auto px-4 relative z-10">
        <div class="grid lg:grid-cols-2 gap-16">

            <!-- Enhanced Flight Information Section -->
            <div class="order-2 lg:order-1" x-data="{ isVisible: true }" x-intersect="isVisible = true">
                <div x-show="isVisible" x-transition:enter="transition-all ease-out duration-1200" x-transition:enter-start="opacity-0 transform -translate-x-12" x-transition:enter-end="opacity-100 transform translate-x-0">
                    <div class="relative">
                        <!-- Section Badge -->
                        <div class="inline-flex items-center bg-gradient-to-r from-military-green to-military-dark text-white px-6 py-3 rounded-full mb-6 shadow-lg">
                            <i class="fas fa-info-circle mr-3"></i>
                            <span class="font-semibold uppercase tracking-wide text-sm">Military Travel Benefits</span>
                        </div>

                        <h2 class="text-4xl md:text-5xl font-bold mb-6 text-white leading-tight">
                            Exclusive Military
                            <span class="text-transparent bg-clip-text bg-gradient-to-r from-eagle-gold to-yellow-400">Flight Services</span>
                        </h2>

                        <div class="w-24 h-1 bg-gradient-to-r from-eagle-gold to-yellow-400 mb-6"></div>

                        <p class="text-xl text-gray-200 mb-8 leading-relaxed">
                            United States Army Welfare Unit offers cheap tickets for active duty and retired US Military Personnel. We offer discounted tickets for domestic and international flights.
                        </p>

                        <!-- Service Benefits -->
                        <div class="space-y-4 mb-10">
                            <div class="flex items-start space-x-4 bg-white/10 backdrop-blur-sm rounded-xl p-4 border border-white/20">
                                <div class="bg-eagle-gold rounded-full p-2 flex-shrink-0">
                                    <i class="fas fa-dollar-sign text-military-dark text-sm"></i>
                                </div>
                                <div>
                                    <h4 class="font-bold text-white mb-1">No Down Payment Required</h4>
                                    <p class="text-gray-300 text-sm">Exclusive military travel financing with flexible payment options</p>
                                </div>
                            </div>
                            <div class="flex items-start space-x-4 bg-white/10 backdrop-blur-sm rounded-xl p-4 border border-white/20">
                                <div class="bg-eagle-gold rounded-full p-2 flex-shrink-0">
                                    <i class="fas fa-search text-military-dark text-sm"></i>
                                </div>
                                <div>
                                    <h4 class="font-bold text-white mb-1">Special Search Engines</h4>
                                    <p class="text-gray-300 text-sm">Access to exclusive military fares not available online</p>
                                </div>
                            </div>
                            <div class="flex items-start space-x-4 bg-white/10 backdrop-blur-sm rounded-xl p-4 border border-white/20">
                                <div class="bg-eagle-gold rounded-full p-2 flex-shrink-0">
                                    <i class="fas fa-shield-alt text-military-dark text-sm"></i>
                                </div>
                                <div>
                                    <h4 class="font-bold text-white mb-1">Price Match Guarantee</h4>
                                    <p class="text-gray-300 text-sm">We guarantee the cheapest fares for military personnel</p>
                                </div>
                            </div>
                        </div>

                        <!-- Eligible Personnel -->
                        <div class="bg-white/10 backdrop-blur-sm rounded-xl p-6 border border-white/20 mb-8">
                            <h4 class="font-bold text-eagle-gold mb-4 flex items-center">
                                <i class="fas fa-users mr-2"></i>Eligible Personnel
                            </h4>
                            <div class="grid grid-cols-1 md:grid-cols-2 gap-2 text-sm text-gray-300">
                                <div class="flex items-center"><i class="fas fa-check mr-2 text-eagle-gold"></i>US Active Duty Military</div>
                                <div class="flex items-center"><i class="fas fa-check mr-2 text-eagle-gold"></i>US Retired Military</div>
                                <div class="flex items-center"><i class="fas fa-check mr-2 text-eagle-gold"></i>Military Dependents</div>
                                <div class="flex items-center"><i class="fas fa-check mr-2 text-eagle-gold"></i>Military Family & Friends</div>
                                <div class="flex items-center"><i class="fas fa-check mr-2 text-eagle-gold"></i>DOD Personnel</div>
                                <div class="flex items-center"><i class="fas fa-check mr-2 text-eagle-gold"></i>VA Employees</div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Enhanced Flight Booking Form -->
            <div class="order-1 lg:order-2" x-data="{ isVisible: true }" x-intersect="isVisible = true">
                <div x-show="isVisible" x-transition:enter="transition-all ease-out duration-1200 delay-300" x-transition:enter-start="opacity-0 transform translate-x-12" x-transition:enter-end="opacity-100 transform translate-x-0">
                    <div class="bg-white rounded-2xl shadow-2xl p-8 md:p-12 border border-gray-200 relative overflow-hidden">

                        <!-- Background Pattern -->
                        <div class="absolute top-0 right-0 w-40 h-40 opacity-5">
                            <i class="fas fa-plane text-8xl text-military-green"></i>
                        </div>
                        <div class="absolute -top-10 -left-10 w-32 h-32 bg-gradient-to-br from-military-green/20 to-eagle-gold/20 rounded-full blur-xl"></div>

                        <div class="relative z-10">
                            <!-- Form Header -->
                            <div class="mb-10">
                                <div class="inline-flex items-center bg-gradient-to-r from-military-green to-military-dark text-white px-6 py-3 rounded-full mb-6 shadow-lg">
                                    <i class="fas fa-ticket-alt mr-3"></i>
                                    <span class="font-semibold uppercase tracking-wide text-sm">Flight Reservation</span>
                                </div>
                                <h2 class="text-3xl md:text-4xl font-bold mb-4 text-military-dark">
                                    Book Your
                                    <span class="text-transparent bg-clip-text bg-gradient-to-r from-military-green to-eagle-gold">Military Flight</span>
                                </h2>
                                <p class="text-gray-600 text-lg leading-relaxed">
                                    Submit your travel request through our secure military booking system. Priority processing for all military personnel.
                                </p>
                            </div>

                            <!-- Enhanced Flight Booking Form -->
                            <form action="<?php echo e(route('enquiry')); ?>" method="post" class="space-y-8">
                                <?php echo csrf_field(); ?>
                                <input type="hidden" name="subject" value="Flight Booking - Travel Arrangements">

                                <!-- Success/Error Messages -->
                                <?php if(session('success')): ?>
                                    <div class="bg-gradient-to-r from-green-50 to-green-100 border-l-4 border-green-500 p-6 rounded-lg shadow-sm animate-fadeIn" x-data="{ show: true }" x-show="show" x-transition>
                                        <div class="flex items-start">
                                            <div class="flex-shrink-0">
                                                <i class="fas fa-check-circle text-green-500 text-2xl"></i>
                                            </div>
                                            <div class="ml-4 flex-1">
                                                <h3 class="text-lg font-bold text-green-800 mb-2">
                                                    <i class="fas fa-shield-alt mr-2"></i>TRANSMISSION SUCCESSFUL
                                                </h3>
                                                <p class="text-green-700 leading-relaxed"><?php echo e(session('success')); ?></p>
                                                <div class="mt-4 flex items-center text-sm text-green-600">
                                                    <i class="fas fa-clock mr-2"></i>
                                                    <span>Reference ID: #<?php echo e(str_pad(rand(1000, 9999), 4, '0', STR_PAD_LEFT)); ?> | <?php echo e(now()->format('M d, Y \a\t g:i A')); ?></span>
                                                </div>
                                            </div>
                                            <button @click="show = false" class="flex-shrink-0 text-green-500 hover:text-green-700 transition-colors">
                                                <i class="fas fa-times"></i>
                                            </button>
                                        </div>
                                    </div>
                                <?php endif; ?>

                                <?php if(session('error')): ?>
                                    <div class="bg-gradient-to-r from-red-50 to-red-100 border-l-4 border-red-500 p-6 rounded-lg shadow-sm animate-fadeIn" x-data="{ show: true }" x-show="show" x-transition>
                                        <div class="flex items-start">
                                            <div class="flex-shrink-0">
                                                <i class="fas fa-exclamation-triangle text-red-500 text-2xl"></i>
                                            </div>
                                            <div class="ml-4 flex-1">
                                                <h3 class="text-lg font-bold text-red-800 mb-2">
                                                    <i class="fas fa-shield-alt mr-2"></i>TRANSMISSION ERROR
                                                </h3>
                                                <p class="text-red-700 leading-relaxed"><?php echo e(session('error')); ?></p>
                                                <div class="mt-4 flex items-center text-sm text-red-600">
                                                    <i class="fas fa-phone mr-2"></i>
                                                    <span>Emergency Contact: <?php echo e($settings->whatsapp ?? '1-800-MILITARY'); ?></span>
                                                </div>
                                            </div>
                                            <button @click="show = false" class="flex-shrink-0 text-red-500 hover:text-red-700 transition-colors">
                                                <i class="fas fa-times"></i>
                                            </button>
                                        </div>
                                    </div>
                                <?php endif; ?>

                                <?php if($errors->any()): ?>
                                    <div class="bg-gradient-to-r from-orange-50 to-orange-100 border-l-4 border-orange-500 p-6 rounded-lg shadow-sm animate-fadeIn" x-data="{ show: true }" x-show="show" x-transition>
                                        <div class="flex items-start">
                                            <div class="flex-shrink-0">
                                                <i class="fas fa-exclamation-circle text-orange-500 text-2xl"></i>
                                            </div>
                                            <div class="ml-4 flex-1">
                                                <h3 class="text-lg font-bold text-orange-800 mb-2">
                                                    <i class="fas fa-clipboard-check mr-2"></i>VALIDATION REQUIRED
                                                </h3>
                                                <p class="text-orange-700 mb-3">Please correct the following issues:</p>
                                                <ul class="list-disc list-inside space-y-1 text-orange-700">
                                                    <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                        <li><?php echo e($error); ?></li>
                                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                </ul>
                                            </div>
                                            <button @click="show = false" class="flex-shrink-0 text-orange-500 hover:text-orange-700 transition-colors">
                                                <i class="fas fa-times"></i>
                                            </button>
                                        </div>
                                    </div>
                                <?php endif; ?>

                                <!-- Personal Information -->
                                <div class="grid md:grid-cols-2 gap-6">
                                    <div class="group">
                                        <label class="block text-sm font-bold text-military-dark mb-3 uppercase tracking-wide">
                                            <i class="fas fa-user mr-2 text-military-green"></i>Full Name *
                                        </label>
                                        <input type="text" name="fname" value="<?php echo e(old('fname', request('fname'))); ?>" placeholder="Enter your full name" required
                                               class="w-full border-2 border-gray-300 p-4 rounded-xl focus:border-military-green focus:ring-2 focus:ring-military-green/20 focus:outline-none transition-all duration-300 bg-gray-50 focus:bg-white group-hover:border-gray-400">
                                    </div>
                                    <div class="group">
                                        <label class="block text-sm font-bold text-military-dark mb-3 uppercase tracking-wide">
                                            <i class="fas fa-envelope mr-2 text-military-green"></i>Email Address *
                                        </label>
                                        <input type="email" name="email" value="<?php echo e(old('email', request('email'))); ?>" placeholder="your.email@domain.com" required
                                               class="w-full border-2 border-gray-300 p-4 rounded-xl focus:border-military-green focus:ring-2 focus:ring-military-green/20 focus:outline-none transition-all duration-300 bg-gray-50 focus:bg-white group-hover:border-gray-400">
                                    </div>
                                </div>

                                <!-- Contact & Service Info -->
                                <div class="grid md:grid-cols-2 gap-6">
                                    <div class="group">
                                        <label class="block text-sm font-bold text-military-dark mb-3 uppercase tracking-wide">
                                            <i class="fas fa-phone mr-2 text-military-green"></i>Phone Number *
                                        </label>
                                        <input type="tel" name="phone" value="<?php echo e(old('phone', request('phone'))); ?>" placeholder="+1 (XXX) XXX-XXXX" required
                                               class="w-full border-2 border-gray-300 p-4 rounded-xl focus:border-military-green focus:ring-2 focus:ring-military-green/20 focus:outline-none transition-all duration-300 bg-gray-50 focus:bg-white group-hover:border-gray-400">
                                    </div>
                                    <div class="group">
                                        <label class="block text-sm font-bold text-military-dark mb-3 uppercase tracking-wide">
                                            <i class="fas fa-star mr-2 text-military-green"></i>Rank/Grade
                                        </label>
                                        <input type="text" name="rank" value="<?php echo e(old('rank', request('rank'))); ?>" placeholder="e.g. Staff Sergeant, Captain"
                                               class="w-full border-2 border-gray-300 p-4 rounded-xl focus:border-military-green focus:ring-2 focus:ring-military-green/20 focus:outline-none transition-all duration-300 bg-gray-50 focus:bg-white group-hover:border-gray-400">
                                    </div>
                                </div>

                                <!-- Service Branch & Status -->
                                <div class="grid md:grid-cols-2 gap-6">
                                    <div class="group">
                                        <label class="block text-sm font-bold text-military-dark mb-3 uppercase tracking-wide">
                                            <i class="fas fa-flag mr-2 text-military-green"></i>Service Branch *
                                        </label>
                                        <select name="service_branch" required
                                                class="w-full border-2 border-gray-300 p-4 rounded-xl focus:border-military-green focus:ring-2 focus:ring-military-green/20 focus:outline-none transition-all duration-300 bg-gray-50 focus:bg-white group-hover:border-gray-400">
                                            <option value="">Select your branch...</option>
                                            <option value="US Army" <?php echo e((old('service_branch', request('service_branch')) == 'US Army') ? 'selected' : ''); ?>>US Army</option>
                                            <option value="US Navy" <?php echo e((old('service_branch', request('service_branch')) == 'US Navy') ? 'selected' : ''); ?>>US Navy</option>
                                            <option value="US Air Force" <?php echo e((old('service_branch', request('service_branch')) == 'US Air Force') ? 'selected' : ''); ?>>US Air Force</option>
                                            <option value="US Marines" <?php echo e((old('service_branch', request('service_branch')) == 'US Marines') ? 'selected' : ''); ?>>US Marines</option>
                                            <option value="US Coast Guard" <?php echo e((old('service_branch', request('service_branch')) == 'US Coast Guard') ? 'selected' : ''); ?>>US Coast Guard</option>
                                            <option value="US Space Force" <?php echo e((old('service_branch', request('service_branch')) == 'US Space Force') ? 'selected' : ''); ?>>US Space Force</option>
                                            <option value="National Guard" <?php echo e((old('service_branch', request('service_branch')) == 'National Guard') ? 'selected' : ''); ?>>National Guard</option>
                                            <option value="Reserves" <?php echo e((old('service_branch', request('service_branch')) == 'Reserves') ? 'selected' : ''); ?>>Reserves</option>
                                        </select>
                                    </div>
                                    <div class="group">
                                        <label class="block text-sm font-bold text-military-dark mb-3 uppercase tracking-wide">
                                            <i class="fas fa-id-badge mr-2 text-military-green"></i>Military Status *
                                        </label>
                                        <select name="military_status" required
                                                class="w-full border-2 border-gray-300 p-4 rounded-xl focus:border-military-green focus:ring-2 focus:ring-military-green/20 focus:outline-none transition-all duration-300 bg-gray-50 focus:bg-white group-hover:border-gray-400">
                                            <option value="">Select status...</option>
                                            <option value="Active Duty" <?php echo e((old('military_status', request('military_status')) == 'Active Duty') ? 'selected' : ''); ?>>Active Duty</option>
                                            <option value="Retired Military" <?php echo e((old('military_status', request('military_status')) == 'Retired Military') ? 'selected' : ''); ?>>Retired Military</option>
                                            <option value="Military Dependent" <?php echo e((old('military_status', request('military_status')) == 'Military Dependent') ? 'selected' : ''); ?>>Military Dependent</option>
                                            <option value="Family Member" <?php echo e((old('military_status', request('military_status')) == 'Family Member') ? 'selected' : ''); ?>>Family Member</option>
                                            <option value="DOD Employee" <?php echo e((old('military_status', request('military_status')) == 'DOD Employee') ? 'selected' : ''); ?>>DOD Employee</option>
                                            <option value="VA Employee" <?php echo e((old('military_status', request('military_status')) == 'VA Employee') ? 'selected' : ''); ?>>VA Employee</option>
                                        </select>
                                    </div>
                                </div>

                                <!-- Flight Details -->
                                <div class="bg-gray-50 rounded-xl p-6 space-y-6">
                                    <h3 class="text-xl font-bold text-military-dark flex items-center">
                                        <i class="fas fa-plane mr-3 text-military-green"></i>Flight Details
                                    </h3>

                                    <div class="grid md:grid-cols-2 gap-6">
                                        <div class="group">
                                            <label class="block text-sm font-bold text-military-dark mb-3 uppercase tracking-wide">
                                                <i class="fas fa-map-marker-alt mr-2 text-military-green"></i>Departure City *
                                            </label>
                                            <input type="text" name="departure_city" value="<?php echo e(old('departure_city')); ?>" placeholder="e.g. New York, NY" required
                                                   class="w-full border-2 border-gray-300 p-4 rounded-xl focus:border-military-green focus:ring-2 focus:ring-military-green/20 focus:outline-none transition-all duration-300 bg-white focus:bg-white group-hover:border-gray-400">
                                        </div>
                                        <div class="group">
                                            <label class="block text-sm font-bold text-military-dark mb-3 uppercase tracking-wide">
                                                <i class="fas fa-map-marker-alt mr-2 text-military-green"></i>Destination City *
                                            </label>
                                            <input type="text" name="destination_city" value="<?php echo e(old('destination_city')); ?>" placeholder="e.g. Los Angeles, CA" required
                                                   class="w-full border-2 border-gray-300 p-4 rounded-xl focus:border-military-green focus:ring-2 focus:ring-military-green/20 focus:outline-none transition-all duration-300 bg-white focus:bg-white group-hover:border-gray-400">
                                        </div>
                                    </div>

                                    <div class="grid md:grid-cols-3 gap-6">
                                        <div class="group">
                                            <label class="block text-sm font-bold text-military-dark mb-3 uppercase tracking-wide">
                                                <i class="fas fa-calendar mr-2 text-military-green"></i>Departure Date *
                                            </label>
                                            <input type="date" name="departure_date" value="<?php echo e(old('departure_date')); ?>" required
                                                   class="w-full border-2 border-gray-300 p-4 rounded-xl focus:border-military-green focus:ring-2 focus:ring-military-green/20 focus:outline-none transition-all duration-300 bg-white focus:bg-white group-hover:border-gray-400">
                                        </div>
                                        <div class="group">
                                            <label class="block text-sm font-bold text-military-dark mb-3 uppercase tracking-wide">
                                                <i class="fas fa-calendar mr-2 text-military-green"></i>Return Date
                                            </label>
                                            <input type="date" name="return_date" value="<?php echo e(old('return_date')); ?>"
                                                   class="w-full border-2 border-gray-300 p-4 rounded-xl focus:border-military-green focus:ring-2 focus:ring-military-green/20 focus:outline-none transition-all duration-300 bg-white focus:bg-white group-hover:border-gray-400">
                                        </div>
                                        <div class="group">
                                            <label class="block text-sm font-bold text-military-dark mb-3 uppercase tracking-wide">
                                                <i class="fas fa-users mr-2 text-military-green"></i>Passengers *
                                            </label>
                                            <select name="passengers" required
                                                    class="w-full border-2 border-gray-300 p-4 rounded-xl focus:border-military-green focus:ring-2 focus:ring-military-green/20 focus:outline-none transition-all duration-300 bg-white focus:bg-white group-hover:border-gray-400">
                                                <option value="">Select...</option>
                                                <option value="1">1 Passenger</option>
                                                <option value="2">2 Passengers</option>
                                                <option value="3">3 Passengers</option>
                                                <option value="4">4 Passengers</option>
                                                <option value="5+">5+ Passengers</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="grid md:grid-cols-2 gap-6">
                                        <div class="group">
                                            <label class="block text-sm font-bold text-military-dark mb-3 uppercase tracking-wide">
                                                <i class="fas fa-tag mr-2 text-military-green"></i>Trip Type *
                                            </label>
                                            <select name="trip_type" required
                                                    class="w-full border-2 border-gray-300 p-4 rounded-xl focus:border-military-green focus:ring-2 focus:ring-military-green/20 focus:outline-none transition-all duration-300 bg-white focus:bg-white group-hover:border-gray-400">
                                                <option value="">Select trip type...</option>
                                                <option value="Leave/Vacation">Leave/Vacation</option>
                                                <option value="Emergency Travel">Emergency Travel</option>
                                                <option value="PCS Move">PCS Move</option>
                                                <option value="Family Visit">Family Visit</option>
                                                <option value="Honeymoon">Honeymoon</option>
                                                <option value="Holiday Travel">Holiday Travel</option>
                                            </select>
                                        </div>
                                        <div class="group">
                                            <label class="block text-sm font-bold text-military-dark mb-3 uppercase tracking-wide">
                                                <i class="fas fa-credit-card mr-2 text-military-green"></i>Payment Preference
                                            </label>
                                            <select name="payment_preference"
                                                    class="w-full border-2 border-gray-300 p-4 rounded-xl focus:border-military-green focus:ring-2 focus:ring-military-green/20 focus:outline-none transition-all duration-300 bg-white focus:bg-white group-hover:border-gray-400">
                                                <option value="">Select payment...</option>
                                                <option value="Military Financing">Military Financing (No Down Payment)</option>
                                                <option value="Monthly Installments">Monthly Installments</option>
                                                <option value="Military Allotments">Military Allotments</option>
                                                <option value="Full Payment">Full Payment</option>
                                            </select>
                                        </div>
                                    </div>
                                </div>

                                <!-- Special Requests -->
                                <div class="group">
                                    <label class="block text-sm font-bold text-military-dark mb-3 uppercase tracking-wide">
                                        <i class="fas fa-comment mr-2 text-military-green"></i>Special Requests / Additional Information
                                    </label>
                                    <textarea name="message" rows="5" placeholder="Please provide any special requests, dietary requirements, accessibility needs, or additional information about your travel requirements..."
                                              class="w-full border-2 border-gray-300 p-4 rounded-xl focus:border-military-green focus:ring-2 focus:ring-military-green/20 focus:outline-none transition-all duration-300 bg-gray-50 focus:bg-white group-hover:border-gray-400 resize-vertical"><?php echo e(old('message')); ?></textarea>
                                </div>

                                <!-- Submit Button -->
                                <div class="flex flex-col sm:flex-row gap-4 pt-6">
                                    <button type="submit" class="flex-1 bg-gradient-to-r from-military-green to-military-dark text-white px-8 py-4 rounded-xl font-bold text-lg hover:shadow-2xl hover:shadow-military-green/20 transition-all duration-300 transform hover:-translate-y-1 flex items-center justify-center">
                                        <i class="fas fa-paper-plane mr-3"></i>
                                        Submit Flight Request
                                    </button>
                                    <a href="<?php echo e(route('contact')); ?>" class="flex-1 border-2 border-military-green text-military-green px-8 py-4 rounded-xl font-bold text-lg hover:bg-military-green hover:text-white transition-all duration-300 flex items-center justify-center">
                                        <i class="fas fa-phone mr-3"></i>
                                        Call for Assistance
                                    </a>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>

<!-- Enhanced Features Section -->
<section class="py-20 bg-white relative overflow-hidden">
    <!-- Background Pattern -->
    <div class="absolute inset-0 bg-[url('data:image/svg+xml,%3Csvg width=\'40\' height=\'40\' viewBox=\'0 0 40 40\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cg fill=\'%232d4a1e\' fill-opacity=\'0.02\'%3E%3Cpath d=\'M20 20c0 11.046-8.954 20-20 20v-40c11.046 0 20 8.954 20 20z\'/%3E%3C/g%3E%3C/svg%3E')] opacity-50"></div>

    <div class="container mx-auto px-4 relative z-10">
        <!-- Section Header -->
        <div class="text-center mb-16" x-data="{ isVisible: true }" x-intersect="isVisible = true">
            <div x-show="isVisible" x-transition:enter="transition-all ease-out duration-1200" x-transition:enter-start="opacity-0 transform translate-y-8" x-transition:enter-end="opacity-100 transform translate-y-0">
                <div class="inline-flex items-center bg-gradient-to-r from-military-green to-military-dark text-white px-8 py-4 rounded-full mb-8 shadow-lg">
                    <i class="fas fa-history mr-3 text-lg"></i>
                    <span class="font-bold uppercase tracking-wide">Our History & Services</span>
                </div>

                <h2 class="text-4xl md:text-6xl font-bold mb-6 text-military-dark">
                    Trusted Military
                    <span class="text-transparent bg-clip-text bg-gradient-to-r from-military-green to-eagle-gold">Travel Partner</span>
                </h2>
                <div class="w-32 h-1 bg-gradient-to-r from-military-green to-eagle-gold mx-auto"></div>
            </div>
        </div>

        <div class="grid lg:grid-cols-2 gap-16 items-center">
            <!-- History Section -->
            <div x-data="{ isVisible: true }" x-intersect="isVisible = true">
                <div x-show="isVisible" x-transition:enter="transition-all ease-out duration-1200" x-transition:enter-start="opacity-0 transform -translate-x-12" x-transition:enter-end="opacity-100 transform translate-x-0">
                    <div class="bg-gradient-to-br from-gray-50 to-white rounded-3xl p-8 shadow-xl border border-gray-200">
                        <h3 class="text-3xl font-bold text-military-dark mb-6 flex items-center">
                            <i class="fas fa-award mr-4 text-eagle-gold text-2xl"></i>
                            Our History
                        </h3>
                        <p class="text-gray-700 leading-relaxed mb-6">
                            We specialize in financing the cheapest fares for military and government personnel, which we back with our price match guarantee! We offer travel financing programs for active duty military, retired military, and US government employees.
                        </p>
                        <p class="text-gray-700 leading-relaxed">
                            We offer military travel financing options that are paid in monthly installments and we can even accept monthly payments with military allotments.
                        </p>

                        <!-- Key Stats -->
                        <div class="grid grid-cols-2 gap-6 mt-8">
                            <div class="text-center p-4 bg-military-green/10 rounded-xl">
                                <div class="text-3xl font-bold text-military-green mb-1">25K+</div>
                                <div class="text-sm text-gray-600">Flights Booked</div>
                            </div>
                            <div class="text-center p-4 bg-eagle-gold/10 rounded-xl">
                                <div class="text-3xl font-bold text-eagle-gold mb-1">100%</div>
                                <div class="text-sm text-gray-600">Price Match Guarantee</div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Travel Plans Section -->
            <div x-data="{ isVisible: true }" x-intersect="isVisible = true">
                <div x-show="isVisible" x-transition:enter="transition-all ease-out duration-1200 delay-300" x-transition:enter-start="opacity-0 transform translate-x-12" x-transition:enter-end="opacity-100 transform translate-x-0">
                    <div class="bg-gradient-to-br from-gray-50 to-white rounded-3xl p-8 shadow-xl border border-gray-200">
                        <h3 class="text-3xl font-bold text-military-dark mb-6 flex items-center">
                            <i class="fas fa-route mr-4 text-military-green text-2xl"></i>
                            Our Travel Plans
                        </h3>
                        <p class="text-gray-700 leading-relaxed mb-6">
                            We understand that you may need to fly your family internationally for the holidays, book a honeymoon flight, or even fly back to your duty station! We provide our travel financing services for vacations or emergencies.
                        </p>

                        <!-- Eligible Personnel Grid -->
                        <div class="space-y-4">
                            <h4 class="font-bold text-military-dark text-lg mb-4">We Serve:</h4>
                            <div class="grid grid-cols-1 gap-3">
                                <div class="flex items-center p-3 bg-white rounded-lg border border-gray-200">
                                    <i class="fas fa-check-circle text-military-green mr-3"></i>
                                    <span class="text-gray-700">US Active Duty Military Members</span>
                                </div>
                                <div class="flex items-center p-3 bg-white rounded-lg border border-gray-200">
                                    <i class="fas fa-check-circle text-military-green mr-3"></i>
                                    <span class="text-gray-700">US Retired Military Members</span>
                                </div>
                                <div class="flex items-center p-3 bg-white rounded-lg border border-gray-200">
                                    <i class="fas fa-check-circle text-military-green mr-3"></i>
                                    <span class="text-gray-700">Military Dependents & Family Members</span>
                                </div>
                                <div class="flex items-center p-3 bg-white rounded-lg border border-gray-200">
                                    <i class="fas fa-check-circle text-military-green mr-3"></i>
                                    <span class="text-gray-700">Department of Defense Personnel</span>
                                </div>
                                <div class="flex items-center p-3 bg-white rounded-lg border border-gray-200">
                                    <i class="fas fa-check-circle text-military-green mr-3"></i>
                                    <span class="text-gray-700">US Government Agency Employees</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>

<!-- Sidebar Component -->
<div x-data="{ sidebarOpen: false }" class="relative z-50">
    <!-- Overlay -->
    <div
        x-show="sidebarOpen"
        x-transition.opacity
        @click="sidebarOpen = false"
        class="fixed inset-0 bg-black bg-opacity-50"
    ></div>

    <!-- Sidebar -->
    <div
        x-show="sidebarOpen"
        x-transition:enter="transition transform duration-300"
        x-transition:enter-start="translate-x-full"
        x-transition:enter-end="translate-x-0"
        x-transition:leave="transition transform duration-300"
        x-transition:leave-start="translate-x-0"
        x-transition:leave-end="translate-x-full"
        class="fixed top-0 right-0 w-80 h-full bg-gradient-to-br from-military-green to-military-dark text-white shadow-xl flex flex-col"
    >
        <!-- Header -->
        <div class="flex justify-between items-center px-6 py-4 border-b border-white/20">
            <h2 class="text-xl font-bold flex items-center">
                <i class="fas fa-headset mr-3 text-eagle-gold"></i>
                Travel Support
            </h2>
            <button
                @click="sidebarOpen = false"
                class="text-white hover:text-eagle-gold text-2xl font-bold transition-colors duration-300"
            >
                &times;
            </button>
        </div>

        <!-- Content -->
        <div class="flex-1 overflow-y-auto p-6 space-y-6">
            <div class="bg-white/10 backdrop-blur-sm rounded-xl p-6 border border-white/20">
                <h3 class="font-bold text-eagle-gold mb-4 flex items-center">
                    <i class="fas fa-phone mr-2"></i>24/7 Support Center
                </h3>
                <p class="text-gray-200 mb-4 text-sm leading-relaxed">
                    Our dedicated military travel consultants are available around the clock to assist with your flight booking needs.
                </p>
            </div>

            <!-- Contact Info -->
            <div class="space-y-4">
                <h4 class="font-semibold text-eagle-gold flex items-center">
                    <i class="fas fa-map-marker-alt mr-2"></i>Contact Information
                </h4>
                <div class="space-y-3">
                    <div class="flex items-center text-sm text-gray-200">
                        <i class="fas fa-building mr-3 text-eagle-gold"></i>
                        <span><?php echo e($settings->loactions); ?></span>
                    </div>
                    <div class="flex items-center text-sm text-gray-200">
                        <i class="fas fa-phone mr-3 text-eagle-gold"></i>
                        <span><?php echo e($settings->whatsapp); ?></span>
                    </div>
                    <div class="flex items-center text-sm text-gray-200">
                        <i class="fas fa-envelope mr-3 text-eagle-gold"></i>
                        <span><?php echo e($settings->contact_email); ?></span>
                    </div>
                    <div class="flex items-center text-sm text-gray-200">
                        <i class="fas fa-clock mr-3 text-eagle-gold"></i>
                        <span>24/7 Emergency Support</span>
                    </div>
                </div>
            </div>

            <!-- Quick Actions -->
            <div class="space-y-3">
                <h4 class="font-semibold text-eagle-gold">Quick Actions</h4>
                <a href="<?php echo e(route('contact')); ?>" class="block w-full bg-eagle-gold text-military-dark py-3 px-4 rounded-lg font-bold text-center hover:bg-yellow-400 transition-colors duration-300">
                    <i class="fas fa-envelope mr-2"></i>Contact Support
                </a>
                <a href="tel:<?php echo e($settings->whatsapp); ?>" class="block w-full border-2 border-white text-white py-3 px-4 rounded-lg font-bold text-center hover:bg-white hover:text-military-dark transition-all duration-300">
                    <i class="fas fa-phone mr-2"></i>Call Now
                </a>
            </div>
        </div>
    </div>

    <!-- Trigger Button -->
    <button
        @click="sidebarOpen = true"
        class="fixed bottom-6 right-6 bg-gradient-to-r from-military-green to-military-dark text-white p-4 rounded-full shadow-2xl hover:shadow-military-green/20 transition-all duration-300 transform hover:scale-110 z-40"
    >
        <i class="fas fa-headset text-xl"></i>
    </button>
</div>

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

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