<!doctype html>
<html class="no-js" lang="en">
<head>
        <meta charset="utf-8">
        <link rel="shortcut icon" type="image/png" href="/assets/images/viajerosbaratos.png">
        <meta http-equiv="x-ua-compatible" content="ie=edge">
         <title translate="no">Viajerosbaratos</title>
        <!--<meta name="description" content="" > -->
        <!--<meta name="keywords" content="" >-->
        <meta name="viewport" content="width=device-width, initial-scale=1">

        <link rel="stylesheet" href="./style.css">
        <link rel="stylesheet" href="./custom.css">
        <link rel="shortcut icon" type="image/x-icon" href="assets/images/skyloo.png">
        <link rel="stylesheet" href="assets/css/bootstrap.min.css">
        <link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.1/css/all.css">
        <link rel="stylesheet" href="https://static.fontawesome.com/css/fontawesome-app.css" crossorigin="anonymous">
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" integrity="sha512-9usAa10IRO0HhonpyAIVpjrylPvoDwiPUiKdWk5t3PyolY1cOd4DSE0Ga+ri4AuTroPR5aQvXU9xC6qOPnzFeg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
        <link rel="stylesheet" href="assets/css/flaticon.css">
        <link rel="stylesheet" href="assets/css/slick.css">
        <link rel="stylesheet" href="assets/css/default.css">
        <link rel="stylesheet" href="assets/css/style.css">
        <link rel="stylesheet" href="assets/css/responsive.css">
        <link rel="stylesheet" href="assets/css/jquery-ui.css">
        <link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" />
        <script src="assets/js/vendor/jquery-3.7.1.min.js"></script>
        <style>
          .input_select {
             background-color: #F8F8F8 !important;
             color: #383838;
             border: none !important;
             height: 50px !important;
             padding: 0 15px;
             width: 100%;
             -webkit-box-shadow: none;
             -moz-box-shadow: none;
             -ms-box-shadow: none;
             -o-box-shadow: none;
             box-shadow: none !important;
             line-height: 1.6;
             border-radius: 0 !important;
          }
          .input_select, .select2-container--default .select2-selection--single .select2-selection__arrow {
             height: 48px !important;
          }
          .input_select, .select2-container--default .select2-selection--single .select2-selection__rendered {
             line-height: 50px !important;
          }
          .nav-tabs .nav-item {
            text-align: center;
            width: 50%; /* Adjust to your preference */
          }

          .nav-tabs .nav-link {
            border: none;
            padding: 10px 15px; /* Adjust padding */
            font-weight: bold;
            color: #333; /* Regular tab color */
            background-color: transparent; /* Remove any background */
          }

          .nav-tabs .nav-link.active {
            color: #fff; /* Active tab text color */
            background-color: #F56960; /* Active tab background color */
            border-radius: 0; /* Remove border radius */
          }

          .passenger-selector {
              display: none;
              position: absolute;
              background-color: #fff;
              border: 1px solid #ccc;
              padding: 10px;
              width: 300px;
              z-index: 1000;
          }
          .passenger-selector-counter {
              display: flex;
              align-items: center;
              justify-content: space-between;
              width: 120px;
          }
          .passenger-selector-counter button {
              background-color: #007bff;
              color: #fff;
              border: none;
              width: 30px;
              height: 30px;
              text-align: center;
              font-size: 18px;
              border-radius: 50%;
      }
      .passenger-selector-counter span {
          font-size: 18px;
          width: 30px;
          text-align: center;
      }
    </style>
    </head>
    <body>

        <!-- Scroll-top -->
        <button class="scroll-top scroll-to-target" data-target="html">
            <i class="fas fa-angle-up"></i>
        </button>
        <!-- Scroll-top-end-->



<style>
         /* General Styles */
   

.mobile-reservation-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  background-color: #ffffff;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 90%;
  border-radius: 10px;
  margin: 20px auto;
}

.mobile-reservation-section img.logo {
  width: 180px;
  height: auto;
  margin-bottom: 15px;
}

.mobile-reservation-section h1 {
  font-size: 20px;
  font-weight: bold;
  color: #07529f;
  margin-bottom: 15px;
}

.mobile-reservation-section h5 {
  font-size: 18px;
  font-weight: bold;
  color: #ed4630;
  margin-bottom: 20px;
}
.mobile-reservation-section h6{
  font-size: 18px;
  font-weight: bold;
  color: #000000;
  margin-bottom: 20px;
}

.mobile-reservation-section img.generic {
  width: 280px;
  height: auto;
  margin: 15px 0;
}

.mobile-reservation-section p {
  font-size: 16px;
  font-weight: bold;
  color: #555;
  margin: 12px 0;
}

.countdown {
  font-size: 18px;
  font-weight: bold;
  color: #07529f;
  margin-bottom: 8px;
}

.no-hold-time {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.call-button,
.bottom-call-button {
  padding: 14px 24px;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  background-color: #42a9cb;
  border: 2px solid #07529f;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  margin-top: 12px;
}

.bottom-call-button {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 18px 0;
  background-color: #ed4630;
  border: none;
  font-size: 20px;
  z-index: 99999;
}


.bottom-call-button {
  padding: 14px 24px;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  background-color: #42a9cb;
  border: 2px solid #07529f;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  margin-top: 12px;
}

.bottom-call-button {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 18px 0;
  background-color: #ed4630;
  border: none;
  font-size: 20px;
  z-index: 99999;
}

/* Mobile-Only Visibility */
@media (min-width: 768px) {
  .mobile-reservation-section {
    display: none;
  }
  
  
}

@media (max-width: 767px) {
    .hide-on-mobile {
        display: none !important;
    }
}

 </style>       

<div class="mobile-reservation-section">
    <img src="/assets/images/southwest logo.png" alt="Logo de Southwest" class="logo">
    <h1>¡Reservaciones Southwest!</h1>
    <h5>Tarifas exclusivas no publicadas</h5>
    <h6>Asistencia para reservas con Southwest disponible</h6>

    <a href="tel:+1-(855) 557-0035" class="bottom-call-button1">
        <i class="fa fa-phone" aria-hidden="true"></i>¡Llama ahora!
    </a>

    <img src="/assets/images/generic (1).png" alt="Imagen Genérica" class="generic">
    <p>Nuevas reservaciones, cambios, cancelaciones y servicio al cliente</p>
    <div class="countdown" id="countdown">30 segundos</div>
    <div class="no-hold-time">Sin tiempo de espera</div>
    <a href="tel:+1-(855) 557-0035" class="call-button">Llama ahora: +1-(855) 557-0035</a>
</div>





<div class="hd-cl">
    <a href="tel:+1-(855) 557-0035"><p><img src="assets/images/cal.gif" alt="cal"> <span>Call Now:</span> +1-(855) 557-0035</p></a>
    </div>

        <!-- header-area -->
        <header class="hide-on-mobile">
            <div class="header-top">
                <div class="container custom-container">
                    <div class="row">
                        <div class="col-xl-4">
                            <div class="header-top-left">
                                                            </div>
                        </div>
                        <div class="col-xl-8">
                            <div class="header-top-right">
                                <ul>
                                                                         <li><a href="tel:+1-(855) 557-0035"><i class="fas fa-mobile-alt"></i>+1-(855) 557-0035</a></li>
                                                                                                            
                                                                    </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div id="sticky-header" class="menu-area transparent-header">
                <div class="container custom-container">
                    <div class="row">
                        <div class="col-12 mobile">
                            <div class="mobile-nav-toggler"><span class="sign"><i class="fa-regular"></i></span> <i class="fas fa-bars"></i></div>
                            <div class="menu-wrap">
                                <nav class="menu-nav">
                                    <div class="logo"><a class="head" href="/"><img src="assets/images/viajerosbaratos.png" alt="logo" width="200" height="36"></a>
                                      <a class="scrol" href="/"><img src="assets/images/viajerosbaratos.png" alt="logo" width="200" height="36"></a></div>
                                    <div class="navbar-wrap main-menu d-none d-lg-flex">
                                        <ul class="navigation">
                                            <li><a href="/">Hogar</a></li>
                                            <li><a href="about-us.php">Sobre nosotras</a></li>
                                            <li><a href="privacy-policy">Política de privacidad</a></li>
                                            <li><a href="contact.php">Contacta</a></li>

                                        </ul>
                                    </div>
                                    <div class="header-action d-none d-md-block">
                                                                                 <ul>
                                            <li class="header-btn"><a href="tel:+1-(855) 557-0035" class="btn"><i class="fa-solid fa-phone-volume blink"></i>+1-(855) 557-0035</a></li>
                                        </ul>
                                                                             </div>
                                </nav>
                            </div>
                            <!-- Mobile Menu  -->
                            <div class="mobile-menu">
                                <nav class="menu-box">
                                    <div class="close-btn"><i class="fa-solid fa-xmark"></i></div>
                                    <div class="nav-logo"><a href="/"><img src="assets/images/viajerosbaratos.png" alt="logo"></a>
                                    </div>
                                    <div class="menu-outer">
                                        <!--Here Menu Will Come Automatically Via Javascript / Same Menu as in Header-->
                                    </div>
                                    <!-- <div class="social-links">
                                        <ul class="clearfix">
                                            <li><a href="#"><span class="fab fa-twitter"></span></a></li>
                                            <li><a href="#"><span class="fab fa-facebook-f"></span></a></li>
                                            <li><a href="#"><span class="fab fa-pinterest-p"></span></a></li>
                                            <li><a href="#"><span class="fab fa-instagram"></span></a></li>
                                            <li><a href="#"><span class="fab fa-youtube"></span></a></li>
                                        </ul>
                                    </div> -->
                                </nav>
                            </div>
                            <div class="menu-backdrop"></div>
                            <!-- End Mobile Menu -->
                        </div>
                    </div>
                </div>
            </div>
        </header>
        <!-- header-area-end -->
<!-- header-area-end -->
        <!-- main-area -->
        <main>

            <!-- breadcrumb-area -->
            <section class="breadcrumb-area quick-link"> <img src="assets/images/desti.jpg" alt="southwest"> <div class="container"> <div class="breadcrumb-content text-center"> <h3 class="title">Viaje con alegría con Southwest Airlines</h3> <br> </div> </div> </section>
              <br>
   <br>
   <br>

           <div class="trip-search-section shape-search-section">
              <div class="container">
                <form action = "flight-search.php" method = "GET">
                  <input type="hidden" id="sourceName" name="sourceAirportName" />
                  <input type="hidden" id="destinationName" name="destinationAirportName" />
                  <input type="hidden" id="sourceEntity" name="sourceEntity" />
                  <input type="hidden" id="destinationEntity" name="destinationEntity" />
                  <input type="hidden" id="adults" name="adults" />
                  <input type="hidden" id="children" name="childrens" />
                  <input type="hidden" id="infants" name="infants" />
                  <input type="hidden" id="flightClass" name="flight_class" value="economy" />
                  <input type="hidden" name="tripType" value="ONE_WAY">
                  <div class="trip-search-inner white-bg d-flex">
                    <ul class="col-lg-12 nav nav-tabs" id="tripTypeTabs" role="tablist" style="margin-bottom: 20px;">
                      <li class="nav-item">
                        <a class="nav-link active" id="oneway-tab" data-bs-toggle="tab" href="#oneway" role="tab" aria-controls="oneway" aria-selected="true">One Way</a>
                      </li>
                      <li class="nav-item">
                        <a class="nav-link" id="roundtrip-tab" data-bs-toggle="tab" href="#roundtrip" role="tab" aria-controls="roundtrip" aria-selected="false">Round Trip</a>
                      </li>
                    </ul>
                    <div class="tab-content col-lg-12" id="tripTypeContent">
                      <div class="tab-pane fade active show" id="oneway" role="tabpanel" aria-labelledby="oneway-tab">
                        <div style="display: flex; justify-content: center; align-items: flex-end; flex-wrap: wrap;">
                          <div class="input-group">
                            <label for="source">Origin Airport*</label>
                            <select type="text" class="source" name="sourceAirportCode" placeholder="Enter Origin"></select>
                          </div>
                          <div class="input-group">
                            <label for="destination">Destination Airport*</label>
                            <select type="text" class="destination" name="destinationAirportCode" placeholder="Enter Destination"></select>
                          </div>
                          <div class="input-group">
                            <label for="pax-number">Passengers*</label>
                            <input type="text" id="pax-number" class="togglePassenger" name="numAdults" placeholder="No. of People">
                            <div class="passenger-selector">
                                <div class="form-group">
                                    <label>Adults</label>
                                    <div class="passenger-selector-counter">
                                        <button type="button" class="passenger-selector-adults-minus">-</button>
                                        <span class="passenger-selector-adults-count">1</span>
                                        <button type="button" class="passenger-selector-adults-plus">+</button>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label>Children</label>
                                    <div class="passenger-selector-counter">
                                        <button type="button" class="passenger-selector-children-minus">-</button>
                                        <span class="passenger-selector-children-count">0</span>
                                        <button type="button" class="passenger-selector-children-plus">+</button>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label>Infants</label>
                                    <div class="passenger-selector-counter">
                                        <button type="button" class="passenger-selector-infants-minus">-</button>
                                        <span class="passenger-selector-infants-count">0</span>
                                        <button type="button" class="passenger-selector-infants-plus">+</button>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="class">Class</label>
                                    <select class="form-control passenger-selector-class">
                                        <option value="economy">Economy</option>
                                        <option value="premium_economy">Premium Economy</option>
                                        <option value="business">Business</option>
                                        <option value="first">First</option>
                                    </select>
                                </div>
                                <button class="btn btn-primary passenger-selector-done-button" type="button">Done</button>
                            </div>
                          </div>
                          <div class="input-group width-col-3">
                            <label for="checkin-date">Checkin Date*</label>
                            <i class="far fa-calendar"></i>
                            <input class="input-date-picker" type="text" id="checkin-date1" name="date" placeholder="MM / DD / YY" autocomplete="off" readonly="readonly">
                          </div>
                          <div class="input-group width-col-3">
                            <label class="screen-reader-text" for="search-submit">Search</label>
                            <button type="submit" class="btn-theme">INQUIRE NOW</button>
                          </div>
                        </div>
                      </div>
                      <div class="tab-pane fade" id="roundtrip" role="tabpanel" aria-labelledby="roundtrip-tab">
                        <div class="tab-pane fade active show" id="oneway" role="tabpanel" aria-labelledby="oneway-tab">
                          <div style="display: flex; justify-content: center; align-items: flex-end; flex-wrap: wrap;">
                            <div class="input-group">
                              <label for="source">Origin Airport*</label>
                              <select type="text" class="source" name="sourceAirportCode" placeholder="Enter Origin"></select>
                            </div>
                            <div class="input-group">
                              <label for="destination">Destination Airport*</label>
                              <select type="text" class="destination" name="destinationAirportCode" placeholder="Enter Destination"></select>
                            </div>
                            <div class="input-group">
                              <label for="pax-number">Passengers*</label>
                              <input type="text" id="pax-number" class="togglePassenger" name="numAdults" placeholder="No. of People">
                              <div class="passenger-selector">
                                  <div class="form-group">
                                      <label>Adults</label>
                                      <div class="passenger-selector-counter">
                                          <button type="button" class="passenger-selector-adults-minus">-</button>
                                          <span class="passenger-selector-adults-count">1</span>
                                          <button type="button" class="passenger-selector-adults-plus">+</button>
                                      </div>
                                  </div>
                                  <div class="form-group">
                                      <label>Children</label>
                                      <div class="passenger-selector-counter">
                                          <button type="button" class="passenger-selector-children-minus">-</button>
                                          <span class="passenger-selector-children-count">0</span>
                                          <button type="button" class="passenger-selector-children-plus">+</button>
                                      </div>
                                  </div>
                                  <div class="form-group">
                                      <label>Infants</label>
                                      <div class="passenger-selector-counter">
                                          <button type="button" class="passenger-selector-infants-minus">-</button>
                                          <span class="passenger-selector-infants-count">0</span>
                                          <button type="button" class="passenger-selector-infants-plus">+</button>
                                      </div>
                                  </div>
                                  <div class="form-group">
                                      <label for="class">Class</label>
                                      <select class="form-control passenger-selector-class">
                                          <option value="economy">Economy</option>
                                          <option value="premium_economy">Premium Economy</option>
                                          <option value="business">Business</option>
                                          <option value="first">First</option>
                                      </select>
                                  </div>
                                  <button class="btn btn-primary passenger-selector-done-button" type="button">Done</button>
                              </div>
                            </div>
                            <div class="input-group width-col-3">
                              <label for="checkin-date">Checkin Date*</label>
                              <i class="far fa-calendar"></i>
                              <input class="input-date-picker" type="text" id="checkin-date2" name="date" placeholder="MM / DD / YY" autocomplete="off" readonly="readonly">
                            </div>
                            <div class="input-group width-col-3">
                              <label for="checkin-date">Return Date*</label>
                              <i class="far fa-calendar"></i>
                              <input class="input-date-picker" type="text" id="returnDate" name="returnDate" placeholder="MM / DD / YY" autocomplete="off" readonly="readonly">
                            </div>
                            <div class="input-group width-col-3">
                              <label class="screen-reader-text" for="search-submit">Search</label>
                              <button type="submit" class="btn-theme">INQUIRE NOW</button>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </form>
              </div>
            </div>
            <!-- breadcrumb-area-end -->
<!-- why-choose-start -->
<section class="why-choose-us" style="background: #ffffff00; padding: 50px 0;">
    <div class="container">
        <!-- Heading -->
        <div class="row justify-content-center mb-4">
            <div class="col-12 text-center">
                 <h6>Encuentra tu vuelo ahora</h6>
                 <p>Explora paquetes vacacionales</p>
                <h2 style="color: #622243;">Tu Socio de Viajes Confiable</h2>
            </div>
        </div>
        <!-- Features -->
        <div class="row justify-content-center" style="display: flex; flex-wrap: wrap;">
            <!-- Feature 1 -->
            <div class="col-lg-3 col-md-6 col-sm-10 mb-4 d-flex">
                <div class="feature-item text-center" style="border: 1px solid #622243; border-radius: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); padding: 20px; background: #fff; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between;">
                    <div class="feature-icon mb-3">
                        <i class="fas fa-dollar-sign" style="font-size: 2rem; color: #622243;"></i>
                    </div>
                    <h6 style="color: #622243;">Precios Económicos</h6>
                    <p style="color: #333;">Ahorra en vuelos, hoteles y paquetes vacacionales.</p>
                </div>
            </div>
            <!-- Feature 2 -->
            <div class="col-lg-3 col-md-6 col-sm-10 mb-4 d-flex">
                <div class="feature-item text-center" style="border: 1px solid #622243; border-radius: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); padding: 20px; background: #fff; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between;">
                    <div class="feature-icon mb-3">
                        <i class="fas fa-mouse-pointer" style="font-size: 2rem; color: #622243;"></i>
                    </div>
                    <h6 style="color: #622243;">Proceso de Reserva Fácil</h6>
                    <p style="color: #333;">Asegura tu viaje ideal con solo unos clics.</p>
                </div>
            </div>
            <!-- Feature 3 -->
            <div class="col-lg-3 col-md-6 col-sm-10 mb-4 d-flex">
                <div class="feature-item text-center" style="border: 1px solid #622243; border-radius: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); padding: 20px; background: #fff; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between;">
                    <div class="feature-icon mb-3">
                        <i class="fas fa-headset" style="font-size: 2rem; color: #622243;"></i>
                    </div>
                    <h6 style="color: #622243;">Atención al Cliente 24/7</h6>
                    <p style="color: #333;">Estamos aquí para ayudarte en cada paso.</p>
                </div>
            </div>
            <!-- Feature 4 -->
            <div class="col-lg-3 col-md-6 col-sm-10 mb-4 d-flex">
                <div class="feature-item text-center" style="border: 1px solid #622243; border-radius: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); padding: 20px; background: #fff; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between;">
                    <div class="feature-icon mb-3">
                        <i class="fas fa-gift" style="font-size: 2rem; color: #622243;"></i>
                    </div>
                    <h6 style="color: #622243;">Ofertas Exclusivas</h6>
                    <p style="color: #333;">Obtén las mejores ofertas diseñadas para tus necesidades.</p>
                </div>
            </div>
        </div>
    </div>
</section>

      
<!-- why-choose-end -->
<!-- services-start -->
<section class="features-area">
    <div class="container">
        <!-- Headline -->
        <div class="row justify-content-center mb-4">
            <div class="col-12 text-center">
                <h2 class="section-title">Viajar Es Fácil con Viajeros Baratos</h2>
            </div>
        </div>
        <!-- Features -->
        <div class="row justify-content-center">
            <!-- Feature 1: Vuelos -->
            <div class="col-xl-4 col-lg-6 col-sm-10">
                <div class="features-item">
                    <div class="features-icon">
                        <i class="fas fa-plane"></i>
                    </div>
                    <div class="features-content">
                        <h6 class="title">Vuelos</h6>
                        <p>Reserva vuelos económicos a destinos nacionales e internacionales.</p>
                    </div>
                </div>
            </div>
            <!-- Feature 2: Hoteles -->
            <div class="col-xl-4 col-lg-6 col-sm-10">
                <div class="features-item">
                    <div class="features-icon">
                        <i class="fas fa-bed"></i>
                    </div>
                    <div class="features-content">
                        <h6 class="title">Hoteles</h6>
                        <p>Elige entre una amplia gama de alojamientos a precios inmejorables.</p>
                    </div>
                </div>
            </div>
            <!-- Feature 3: Paquetes Vacacionales -->
            <div class="col-xl-4 col-lg-6 col-sm-10">
                <div class="features-item">
                    <div class="features-icon">
                        <i class="fas fa-suitcase-rolling"></i>
                    </div>
                    <div class="features-content">
                        <h6 class="title">Paquetes Vacacionales</h6>
                        <p>Planea viajes completos con vuelos, hoteles y actividades incluidas.</p>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
<!-- services-end -->

<!-- how-it-works -->
<section class="about-area">
    <div class="container">
        <div class="row">
            <div class="col-lg-7 order-0 order-lg-2">
                <div class="about-img">
                    <img src="assets/images/hm-abt.jpg" alt="hm-abt" width="436" height="463">
                                <img src="assets/images/hm-abt2.jpg" alt="img" class="img-two" width="436" height="463">
                </div>
            </div>
            <div class="col-lg-5">
                <div class="about-content">
                    <div class="section-title">
                        <h2 class="title">¿Por qué reservar Southwest Airlines con Viajerosbaratos?</h2>
                        <p>Al elegir Viajerosbaratos para reservar tu vuelo con Southwest Airlines, obtienes más que un simple vuelo. Obtienes:</p>
                    </div>
                    
                    <ul>
                        <li>Ofertas exclusivas y tarifas con descuento</li>
                        <li>Un proceso de reserva sencillo y seguro que le ahorra tiempo y dinero</li>
                        <li>Atención al cliente 24 horas al día, 7 días a la semana para ayudarle durante todo su viaje.</li>
                    </ul>
                    <div class="cta-button mt-4">
                        <a href="tel:+18555570035" class="btn btn-primary" style="background-color: #622243; border-color: #622243; color: #fff; padding: 10px 20px; border-radius: 5px; text-transform: uppercase; font-weight: bold;">
                            <i class="fas fa-phone-alt"></i> Llámanos al +1-(855) 557-0035
                        </a>
                    </div>
                    
                </div>
            </div>
        </div>
    </div>
</section>
<!-- how-it-works-end -->


<!-- features-area -->
<section class="features-area">
    <div class="container">
        <!-- Headline -->
        <div class="row justify-content-center mb-4">
            <div class="col-12 text-center">
                <h2 class="section-title">Viajar Es Fácil con Viajeros Baratos</h2>
            </div>
        </div>
        <!-- Features -->
        <div class="row justify-content-center">
            <!-- Feature 1 -->
            <div class="col-xl-4 col-lg-6 col-sm-10">
                <div class="features-item">
                    <div class="features-icon">
                        <i class="fas fa-map-marker-alt"></i>
                    </div>
                    <div class="features-content">
                        <h6 class="title">Vuelos a Destinos Populares:</h6>
                        <p>Ofertas desde solo $199.</p>
                    </div>
                </div>
            </div>
            <!-- Feature 2 -->
            <div class="col-xl-4 col-lg-6 col-sm-10">
                <div class="features-item">
                    <div class="features-icon">
                        <i class="fas fa-suitcase-rolling"></i>
                    </div>
                    <div class="features-content">
                        <h6 class="title">Paquetes Vacacionales:</h6>
                        <p>Ahorra hasta un 30% en tu próxima escapada.</p>
                    </div>
                </div>
            </div>
            <!-- Feature 3 -->
            <div class="col-xl-4 col-lg-6 col-sm-10">
                <div class="features-item">
                    <div class="features-icon">
                        <i class="fas fa-clock"></i>
                    </div>
                    <div class="features-content">
                        <h6 class="title">Ofertas de Última Hora:</h6>
                        <p>Perfectas para viajeros espontáneos.</p>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>

<!-- features-area-end -->
<!-- customer-testimonials -->
<section class="testimonials-area">
    <div class="container">
        <!-- Heading -->
        <div class="row justify-content-center mb-4">
            <div class="col-12 text-center">
                <h2 class="section-title">Lo Que Dicen Nuestros Viajeros</h2>
            </div>
        </div>
        <!-- Testimonials -->
        <div class="row justify-content-center">
            <!-- Testimonial 1 -->
            <div class="col-lg-6 col-md-8">
                <div class="testimonial-item">
                    <p class="testimonial-text">"Viajeros Baratos me ayudó a encontrar las mejores ofertas en vuelos rápidamente. ¡Muy recomendable!"</p>
                    <h6 class="testimonial-author">– María G.</h6>
                </div>
            </div>
            <!-- Testimonial 2 -->
            <div class="col-lg-6 col-md-8">
                <div class="testimonial-item">
                    <p class="testimonial-text">"Reservas económicas y sin complicaciones. Definitivamente volveré a usar este servicio."</p>
                    <h6 class="testimonial-author">– Carlos R.</h6>
                </div>
            </div>
        </div>
    </div>
</section>
<!-- customer-testimonials-end -->

<!-- contact-us -->
<section class="contact-area">
    <div class="container">
        <!-- Heading -->
        <div class="row justify-content-center mb-4">
            <div class="col-12 text-center">
                <h2 class="section-title">¿Necesitas Ayuda? Estamos Aquí para Ti</h2>
            </div>
        </div>
        <!-- Contact Info -->
        <div class="row justify-content-center">
            <div class="col-lg-4 col-md-6 text-center">
                <div class="contact-item">
                    <i class="fas fa-phone-alt" style="color: #622243; font-size: 2rem;"></i>
                    <h6 class="contact-title">Teléfono</h6>
                    <p> +1-(855) 557-0035</p>
                </div>
            </div>
            <div class="col-lg-4 col-md-6 text-center">
                <div class="contact-item">
                    <i class="fas fa-envelope" style="color: #622243; font-size: 2rem;"></i>
                    <h6 class="contact-title">Correo Electrónico</h6>
                    <p>soporte@viajerosbaratos.com</p>
                </div>
            </div>
            <div class="col-lg-4 col-md-6 text-center">
                <div class="contact-item">
                    <i class="fas fa-comments" style="color: #622243; font-size: 2rem;"></i>
                    <h6 class="contact-title">Chat en Vivo</h6>
                    <p>Disponible las 24 horas, todos los días</p>
                </div>
            </div>
        </div>
        <!-- Call to Action -->
       
    </div>
</section>
<!-- contact-us-end -->



<!-- footer-area -->

<footer>
    <div class="footer-area footer-bg">
        <!-- New Airlines Section -->
<div class="footer-airlines">
    <div class="container">
        <div class="row">
            <div class="col-12">
                <div class="footer-widget privacy">
                    <div class="fw-title text-center">
                        <h3>Aerolíneas Populares</h3>
                    </div>
                    <div class="fw-link">
                        <div class="airlines-grid">
                            <div class="airlines-row">
                                <a href="american.php">Aerolínea Estadounidense</a>
                                <a href="frontier-airlines.php">Aerolíneas Frontier</a>
                                <a href="iberia-airline.php">Aerolíneas Iberia</a>
                            </div>
                            <div class="airlines-row">
                                <a href="jetblue-airline.php">Jetblue Airline</a>
                                <a href="spirit-airlines.php">Aerolíneas Spirit</a>
                                <a href="united-airline.php">Aerolíneas United</a>
                            </div>
                            <div class="airlines-row">
                                <a href="viva-airline.php">Aerolíneas Viva</a>
                                <a href="volaris-airlines.php">Aerolíneas Volaris</a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- End Airlines Section -->
        
        <div class="footer-top">
            <div class="container">
                <div class="row">
                    <div class="col-xl-3 col-lg-4 col-md-6">
                        <div class="footer-widget">
                            <div class="footer-logo">
                                <a href="/"><img src="assets/images/viajerosbaratos.png" alt="footerlogo" width="278" height="49"></a>
                            </div>
                            <div class="footer-content">
                                <p><span translate="no"> viajerosbaratos.com </span>es una compañía de viajes global que ofrece reservas de vuelos independiente asequibles, experiencias de viaje personalizadas y soporte las 24 horas, los 7 días de la semana, lo que garantiza viajes fluidos y memorables en todo el mundo.</p>
                            </div>
                        </div>
                    </div>

                    <div class="col-xl-2 col-lg-4 col-sm-4 ftr-hed">
                        <div class="footer-widget privacy">
                            <div class="fw-title">
                                <h4 class="title">Enlaces Rápidos</h4>
                            </div>
                            <div class="fw-link">
                                <ul>
                                  <li><a href="last-minute-trip">Viaje de último minuto</a></li>
                                  <li><a href="student-trips">Viajes para estudiantiles</a></li>
                                  <li><a href="travel-for-seniors">Viajes para mayores</a></li>
                                  <li><a href="military-trips">Viajes militares</a></li>
                                  <li><a href="domestic-flights">Vuelos domésticos</a></li>
                                  <li><a href="one-way-flights">Vuelos de ida</a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class="col-xl-2 col-lg-4 col-sm-4 ftr-hed">
                        <div class="footer-widget privacy">
                            <div class="fw-title">
                                <h4 class="title">Destinos populares</h4>
                            </div>
                            <div class="fw-link">
                                <ul>
                                  <li><a href="orlando">Orlando</a></li>
                                  <li><a href="fort-lauderdale">Fort Lauderdale</a></li>
                                  <li><a href="atlanta">Atlanta</a></li>
                                  <li><a href="los-angeles">Los Angeles</a></li>
                                  <li><a href="saint-john">San Juan</a></li>
                                  <li><a href="miami">Miami</a></li>
                                  <li><a href="houston">Houston</a></li>
                                  <li><a href="newark">Newark</a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class="col-xl-2 col-lg-4 col-sm-4 ftr-hed">
                        <div class="footer-widget privacy">
                            <div class="fw-title">
                                <h4 class="title">Enlaces útiles</h4>
                            </div>
                            <div class="fw-link">
                                <ul>
                                  <li><a href="about-us.php">Sobre nosotras</a></li>
                                  <li><a href="contact.php">Contacta con nosotras</a></li>
                                  <li><a href="cancelation">Cancelación</a></li>
                                  <li><a href="privacy-policy">Política de privacidad</a></li>
                                  <li><a href="sitemap">Mapa del sitio</a></li>
                                  <li><a href="terms-conditions">Términos y condiciones</a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class="col-xl-3 col-lg-4 col-sm-8 ftr-hed">
                        <div class="footer-widget cnt-ftr">
                            <div class="fw-title">
                                <h4 class="title">Contacta con nosotras</h4>
                            </div>
                            <div class="footer-contact">
                              <ul>
                                <li><p><b>DIRECCIÓN</b><br> </p></li>
                                <li><a href="tel:+1-(855) 557-0035"><i class="fa fa-phone-alt"></i> +1-(855) 557-0035</a></li>
                                <li>
                                    <a href="mailto:info@viajerosbaratos.com">
                                        <i class="fa fa-envelope"></i> info@viajerosbaratos.com
                                    </a>
                                </li>
                                <li><a href=""><i class="fa fa-map-marker-alt"></i> Address :309 Coffeen Avenue STE 1200 Sheridan, Wyoming 82801</a></li>
                              </ul>
                            </div>
                        </div>
                    </div>
                </div>
                <p class="disclaimer"><strong>Descargo de responsabilidad:</strong> Estimados invitados, Bienvenidos a Viajerosbaratos. La información contenida en esta página está destinada únicamente a ser ejemplo. El sitio tiene información actualizada, precisa, completa y confiable que hemos trabajado arduamente para mantenerla actualizada. <span translate="no"> viajerosbaratos.com </span>generalmente analiza muchas cosas, como qué tan precisa es la información, cómo se conecta a otros sitios, qué tan disponible está el servicio y el contenido generado por el usuario. Garantizamos claridad y establecemos expectativas claras para todos los involucrados, minimizando sorpresas inesperadas. Si tiene alguna pregunta.</p>
              <div class="trust" bis_skin_checked="1">
                        <ul class="ftr-trustpilot">
                        <li><img src="assets/images/asta-logo.png" alt="asta" width="81" height="24"></li>
                        <li><img src="assets/images/cloudfare.png" alt="cloudfare" width="94" height="33"></li>
                        <li><img src="assets/images/godaddy-ssl.png" alt="godaddy" width="95" height="24"></li>
                        <li><img src="assets/images/mac2.png" alt="mac2" width="59" height="24"></li>
                        <li><img src="assets/images/newlogo.png" alt="newlogo" width="180" height="31"></li>
                        <li><img src="assets/images/arc.png" alt="trust" width="40" height="20"></li>
                        <li><img src="assets/images/trustpilot-logo.png" alt="trustpilot" width="115" height="28"></li>
                        </ul>
                        </div>
            </div>
        </div>
        <div class="footer-bottom">
            <div class="container">
                    <div class="col-lg-12">
                        <div class="copyright-text text-center">
                            <p>Derechos de autor © 2024 <span translate="no">viajerosbaratos.com</span> | Reservados todos los derechos | Empresa matriz: <span translate="no"> Airfare Service Hub LLC</span></p>
                        </div>
                    </div>
            </div>
        </div>
    </div>
</footer>



<style>
    /* Airlines Section Styles */
    .footer-airlines {
        background: #000000;
        padding: 30px 0;
        border-bottom: 1px solid #000000;
    }
    
    .fw-title h3 {
        color: #ffffff;
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 20px;
        text-transform: uppercase;
    }
    
    .airlines-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .airlines-row {
        display: flex;
        justify-content: center;
        gap: 30px;
        width: 100%;
    }
    
    .airlines-row a {
        color: #ffffff;
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
        padding: 8px 15px;
        border: 1px solid #333;
        border-radius: 4px;
        transition: all 0.3s ease;
        min-width: 180px;
        text-align: center;
    }
    
    .airlines-row a:hover {
        background: #333;
        color: #fff;
        transform: translateY(-2px);
    }
    
    /* Responsive adjustments */
    @media (max-width: 768px) {
        .airlines-row {
            flex-direction: column;
            gap: 10px;
            align-items: center;
        }
        
        .airlines-row a {
            width: 80%;
        }
    }
</style>
<!-- footer-area-end -->


<style>
    /* Make sure the button is hidden on larger screens */
.call-button-container {
    display: none; /* Initially hidden */
}

/* Style for the call button */
.call-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f39231;
    color: white;
    border: 2px solid white;
    width: 100%;
    padding: 1px 30px;
    box-sizing: border-box;
    text-decoration: none;
}

/* Circle phone icon */
.phone-icon {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.phone-icon img {
    width: 25px;
    height: 25px;
}

/* Content area */
.button-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

/* Small text above the phone number */
.call-text {
    font-size: 14px;
    margin-bottom: 5px;
}

/* Phone number */
.phone-number {
    font-size: 21px;
    font-weight: bold;
}

/* Media query to display the button only on mobile devices */
@media (max-width: 768px) {
    .call-button-container {
        display: block; /* Show on mobile */
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
    }
}


    
</style>   



<div class="call-button-container">
    <a href="tel:+1-(855) 557-0035" class="call-button">
        <div class="phone-icon">
<img src="/phone.gif" alt="Phone Icon" width="60" height="auto">
        </div>
        <div class="button-content">
            <div class="call-text">Save time & Get Our Best Deals</div>
            <div class="phone-number">+1-(855) 557-0035</div>
        </div>
    </a>
</div>










<style type="text/css">

.logo-container {
    display: flex;
    justify-content: center;  /* Horizontal center */
    align-items: center;      /* Vertical center */
    width: 100%;
    height: 100%; /* or define a specific height if necessary */
}

     /* Popup container */
.popup {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
    justify-content: center;
    align-items: center;
    display: flex;
}

/* Popup content */
.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    text-align: center;
}

/* Logo */
.logo {
    max-width: 220px;
    margin: 0 auto 10px;
}

/* Title */
.title {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
}

/* Subtitle container */
.subtitle-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

/* Subtitles */
.subtitle {
    padding: 10px;
    color: white;
    font-weight: bold;
    border-radius: 10px;
}

.booking { background-color: #42a9cb; }
.manage { background-color: #ef685f; }
.cancellation { background-color: #f0ad4e; }
.changes { background-color: #5bc0de; }

/* Small image */
.small-image {
    max-width: 320px;
    margin: 10px auto;
}

/* Telecaller image */
.telecaller {
    max-width: 80px;
    border-radius: 60px;
    margin: 15px auto;
}

/* Call button */
.call-btn {
    background-color: #42a9cb;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    margin-bottom: 10px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.call-btn i {
    margin-right: 0px;
}

/* Full width button */
.full-width-btn {
    background-color: #ef685f;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    font-size: 16px;
    cursor: pointer;
}


.round-image {
    width: 70px;
    height: 70px;
    border-radius: 50%; /* Makes the image round */
    border: 2px solid #000; /* Adds a black border around the image */
    position: relative; /* Allows positioning of the blue dot */
}

.round-image::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 15px;
    height: 15px;
    background-color: blue; /* Blue color for the dot */
    border-radius: 50%; /* Makes the dot round */
    border: 2px solid #fff; /* Optional: Adds white border around the dot */
}


/* Responsive */
@media (max-width: 600px) {
    .popup-content {
        padding: 15px;
    }
    
    .subtitle {
        padding: 8px;
        font-size: 14px;
    }

    .call-btn, .full-width-btn {
        font-size: 14px;
        padding: 8px;
    }
}

#popup {
    display: none; /* Hide by default */
}

@media (max-width: 768px) {
    #popup {
        display: flex; /* Show popup on mobile devices */
    }
}

</style>
 
 <div id="popup" class="popup">
    <div class="popup-content">
        <!-- Logo (Primera línea) -->
        <div class="logo-container">
            <img src="/assets/images/southwest logo.png" alt="Logo de Southwest" class="logo">
        </div>

        <!-- Título (Segunda línea) -->
        <h2 class="title">Reservaciones y Soporte 24/7</h2>

        <!-- Subtítulos (Tercera y Cuarta línea) -->
        <div class="subtitle-container">
            <div class="subtitle booking">Reservar Boletos</div>
            <div class="subtitle manage">Gestionar Reservación</div>
        </div>
        <div class="subtitle-container">
            <div class="subtitle cancellation">Cancelaciones</div>
            <div class="subtitle changes">Cambios</div>
        </div>

        <!-- Imagen Pequeña (Quinta línea) -->
        <img src="/assets/images/generic (1).png" alt="Imagen Ilustrativa" class="small-image">
        <img src="/assets/images/call (1).png" alt="Llamar" class="round-image">

        <!-- Botón de Llamada (Séptima línea) -->
        <a href="tel:+1-(855) 557-0035" style="text-decoration: none;">
            <button class="call-btn" style="display: block; margin: 10px auto; text-align: center;">
                <i class="fas fa-phone-alt"></i> +1-(855) 557-0035
            </button>
        </a>

        <!-- Botón de Llamada a Pantalla Completa (Pie de página) -->
        <a href="tel:+1-(855) 557-0035" style="text-decoration: none;">
            <button class="full-width-btn">
                <i class="fas fa-phone-alt"></i> Llámanos Ahora
            </button>
        </a>
    </div>
</div>


<script>
// Get the popup element
var popup = document.getElementById('popup');

// Show the popup only on mobile devices
window.onload = function() {
    // Check if the screen width is less than or equal to 768px (typical for mobile devices)
    if (window.innerWidth <= 768) {
        popup.style.display = "flex"; // Show popup for mobile devices
    }
}

// Close the popup when clicking anywhere outside of the popup content
window.onclick = function(event) {
    if (event.target == popup) {
        popup.style.display = "none";
    }
}
</script>








































<script>
if (window.innerWidth <= 768) {
    document.querySelector('.call-button-container').style.display = 'block';
} else {
    document.querySelector('.call-button-container').style.display = 'none';
}
    
</script>

<script>
    // Countdown timer
    let timeLeft = 30;
    const countdownElement = document.getElementById('countdown');

    const countdownInterval = setInterval(() => {
      if (timeLeft <= 0) {
        clearInterval(countdownInterval);
        countdownElement.innerText = '0 seconds';
      } else {
        countdownElement.innerText = `${timeLeft} seconds`;
        timeLeft--;
      }
    }, 1000);
  </script>

<!-- JS here -->
<script src="assets/js/flight-custom.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.4/moment.min.js" ></script>
<script src="assets/js/jquery-ui.js"></script>
<script src="assets/js/parsley.min.js"></script>
<script src="assets/js/search-result.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/slick.min.js"></script>
<script src="assets/js/main.js"></script>
<script src="assets/js/newsletter.js"></script>
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>
    <script type="text/javascript">
      $(document).ready(function() {
          $( ".input-date-picker" ).datepicker();
         let typingTimer;
         let doneTypingInterval = 5000;
         let destinationElement = $("#destination")
         var adults = 1;
         var children = 0;
         var infants = 0;
         var flightClass = "Economy";

         // Set the default value in the input field when the page loads
         $('.togglePassenger').val(adults + ' Adult, ' + children + ' Children, ' + infants + ' Infants, ' + flightClass);
         function updateCount(id, increment, parent) {
            console.log(id)
             var countElement = $(parent).parent().find('.passenger-selector-' + id + '-count');
             var count = parseInt(countElement.text());
             count = increment ? count + 1 : count - 1;
             count = Math.max(0, count); // Ensure the count doesn't go below 0
             if(id === 'adults' && count < 1) count = 1; // Ensure at least 1 adult
             countElement.text(count);

             // Update the stored value
             if (id === 'adults') {
                 adults = count;
                 $("#adults").val(count)
             } else if (id === 'children') {
                 children = count;
                 $("#children").val(count)
             } else if (id === 'infants') {
                 infants = count;
                 $("#infants").val(count)
             }
         }

         $('.passenger-selector-adults-plus').on('click', function () {
             updateCount('adults', true, $(this));
         });
         $('.passenger-selector-adults-minus').on('click', function () {
             updateCount('adults', false, $(this));
         });
         $('.passenger-selector-children-plus').on('click', function () {
             updateCount('children', true, $(this));
         });
         $('.passenger-selector-children-minus').on('click', function () {
             updateCount('children', false, $(this));
         });
         $('.passenger-selector-infants-plus').on('click', function () {
             updateCount('infants', true, $(this));
         });
         $('.passenger-selector-infants-minus').on('click', function () {
             updateCount('infants', false, $(this));
         });

         $('.passenger-selector-class').on('change', function () {
             // Update the stored class value when the dropdown changes
             flightClass = $(this).val();
             console.log(flightClass)
             $("#flightClass").val(flightClass)
         });

         $('.togglePassenger').on('click', function (e) {
             $(this).parent().find('.passenger-selector').toggle();
             e.stopPropagation(); // Prevent click event from bubbling up
         });

         $('.passenger-selector-done-button').on('click', function () {
             // Update the input field with the stored values
             $('.togglePassenger').val(adults + ' Adults, ' + children + ' Children, ' + infants + ' Infants, ' + flightClass);
             $('.passenger-selector').hide();
         });

         $(document).on('click', function (e) {
             if (!$(e.target).closest('.passenger-selector').length && !$(e.target).is('.togglePassenger')) {
               $('.passenger-selector').hide();
             }
         });
         $("#roundtrip-tab").click(function() {
           $("input[name='tripType']").val("ROUND_TRIP")
         })
         $("#oneway-tab").click(function() {
           $("input[name='tripType']").val("ONE_WAY")
         })
         $(".destination,.source").select2({
            selectionCssClass : "input_select",
            minimumInputLength: 3,
            width: "100%",
            ajax: {
               url: 'api.php',
               method: "POST",
               delay: 500,
               data: function(params) {
                  var query = {
                     search_airport: 1,
                     query: params.term
                  }
                  return query
               },
               processResults: function(data) {
                  let response = []
                  for(let d of data.airports) {
                     response.push({ 'text': d.relevantHotelParams.localizedName, 'id': d.relevantFlightParams.skyId, 'place': d.relevantHotelParams.localizedName, 'entity': d.relevantFlightParams.entityId })
                  }
                  return { results: response }
               }
            }
         })

         $(".source").on("change.select2", function(e) {
            let selectedData = $(this).select2('data');
            let nextSourceName = $("#sourceName")
            if (selectedData.length > 0) {
                let originalOption = selectedData[0];
                let place = originalOption.place
                if(place) {
                  $(nextSourceName).val(place)
                }
            }
            let nextSourceEntity = $("#sourceEntity")
            if (selectedData.length > 0) {
                let originalOption = selectedData[0];
                let entity = originalOption.entity
                if(entity) {
                  $(nextSourceEntity).val(entity)
                }
            }
        })

        $(".destination").on("change.select2", function(e) {
            let selectedData = $(this).select2('data');
            let nextDestinationName = $("#destinationName")
            if (selectedData.length > 0) {
                let originalOption = selectedData[0];
                let place = originalOption.place
                if(place) {
                  $(nextDestinationName).val(place)
                }
            }
            let nextDestinationEntity = $("#destinationEntity")
            if (selectedData.length > 0) {
                let originalOption = selectedData[0];
                let entity = originalOption.entity
                if(entity) {
                  $(nextDestinationEntity).val(entity)
                }
            }
        })
      })
    </script>
</body>
</html>