@extends('layouts.homeapp')
@section('content')

<!-- ======= Contact Section ======= -->
<section id="contact" class="contact mb-5 mt-5">
      <div class="container">

        <div class="section-title " data-aos="fade-up">
          <h2>Get In Touch</h2>
        </div>

        <div class="row">
            <div class="col-lg-8 col-md-12" data-aos="fade-up" data-aos-delay="300">
                
                <form method="post"  class="" action="{{ route('Booking.store') }}">
                @csrf
                <div class="form-group">
                    <input type="hidden" value="{{$User->id}}" id="user_id" name="user_id">
                    <select class="form-control @error('supportdepartment_id')  @enderror" id="cbSupportDepartment" name="supportdepartment_id">
                        @php
                            echo App\Http\Controllers\SupportDepartmentController::SupportDepartmentListForCombo(0);
                        @endphp
                    </select>   
                    @error('supportdepartment_id')<div class="invalid-feedback">{{ $message }}</div>@enderror
                </div>
                <div class="form-group">
                    <input type="text" class="form-control" name="subject" id="subject" placeholder="Subject" data-rule="minlen:4" data-msg="Please enter at least 8 chars of subject" />
                    
                </div>
                <div class="form-group">
                    <textarea class="form-control" id="message" name="message" rows="5" data-rule="required" data-msg="Please write something for us" placeholder="Message"></textarea>
                    
                </div>
                
                <div class="text-center"><button class="btn btn-brandcolor pt-3 pb-3 pl-4 pr-4" type="submit">Send</button></div>
                </form>
            </div>
            <div class="col-lg-4 col-md-12" data-aos="fade-up" data-aos-delay="300" style="font-size:19px;">
                <p> 
                    If you have any questions, feel free to get in touch with us.
                    Our expert team will call back and rectify your problems with in no time limit.
                    We have expert support team working 24X7 to solve your questions.
                </p>
            </div>

        </div>

      </div>
    </section><!-- End Contact Section -->


@endsection