/* =========================================================
   RESET
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
  overflow-x: hidden;
}

#departureDate,
#returnDate {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='1.6'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'/%3E%3Cg fill='%23666'%3E%3Ccircle cx='8' cy='9' r='1'/%3E%3Ccircle cx='12' cy='9' r='1'/%3E%3Ccircle cx='16' cy='9' r='1'/%3E%3Ccircle cx='8' cy='13' r='1'/%3E%3Ccircle cx='12' cy='13' r='1'/%3E%3Ccircle cx='16' cy='13' r='1'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1px center;
  background-size: 16px;
  cursor: pointer;
  box-shadow: none;
  border: none;
  color: #001b4e;
  font-size: 14px;
  font-weight: 600;
  max-width: 220px;
  width: 100%;
}
/* Passenger popup default hidden */
.passenger-control {
  display: none;
  position: absolute;
  background: #fff;
  z-index: 99999;
      padding: 10px;
}

/* Show popup */
.passenger-control.active {
  display: block;
}

/* Make summary input clickable */
#passengerSummary {
  cursor: pointer;
      box-shadow: none;
    border: none;
    color: #001b4e;
    font-size: 14px;
    font-weight: 600;
}
.result-img
{
	width:70px;
}
.result-img img
{
	width:70px;
}
/******************************** header start **********************************************/
/* Header positioning */
.header {
  position: relative;
  z-index: 1000;
}

/* Dropdown container */
.signin-dropdown {
  position: absolute;
  top: 100%;
  right: 10px;
  width: min(360px, 90vw);
  background: #001f54;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  margin-top: 12px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px);
  transition: all 0.3s ease;
}

/* Active state */
.signin-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Popup box reuse */
.popup-box {
  padding: 24px;
}

/* Title */
.popup-box h2 {
  margin-bottom: 16px;
  color: #fff;
}

/* Inputs */
.popup-box input,
.popup-box select {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

/* Two column row */
.popup-box .row {
  display: flex;
  gap: 10px;
}

.popup-box .row input {
  width: 100%;
}

/* Agreement row */
.popup-box .agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 16px;
}

/* Checkbox */
.popup-box .agree input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  cursor: pointer;
}

/* Agreement link */
.popup-box .agree a {
  color: #3b5bfd;
  text-decoration: none;
  font-weight: 500;
}

.popup-box .agree a:hover {
  text-decoration: underline;
}

/* Button */
.popup-box button {
  width: 100%;
  padding: 14px;
  background: #163b7a;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
}

/*************************************** header end ******************************************************/
/***************************************** mobile menu *******************************************/
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 9998;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: #fff;
  padding: 20px;
  transition: 0.3s ease;
  z-index: 9999;
}

.mobile-menu.active {
  right: 0;
}

/*******************************************8 mobile menu close ******************************************/
/****************************************** round trip css *******************************************/
.roundtrip-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.roundtrip-toggle input {
  display: none;
}

.roundtrip-toggle .slider {
  width: 42px;
  height: 22px;
  background: #ccc;
  border-radius: 20px;
  position: relative;
  transition: 0.3s;
}

.roundtrip-toggle .slider::after {
  content: '';
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: 0.3s;
}

.roundtrip-toggle input:checked + .slider {
  background: #001f54;
}

.roundtrip-toggle input:checked + .slider::after {
  transform: translateX(20px);
}

.toggle-text {
  font-size: 14px;
  font-weight: 500;
  color:#001b4e;
  font-weight:600;
  min-width:70px;
}

/**************************************** round trip css close *******************************************/
/**************************************************** Pessanger List Css Start ****************************************/
.passenger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.passenger-row span {
  /*min-width: 70px;*/
  color: #001b4e;
    font-size: 14px;
    font-weight: 600;
}

.passenger-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

/************************************************** Pessanger List Css End **********************************************/
/* =========================================================
   HERO SECTION
========================================================= */
.hero {
  min-height: 100vh !important;
  height: auto !important;
  padding: 120px 20px 60px !important;

  /* Matching background color */
  background-color: transparent;

  /* The hero background image */
  background-image: none;
  
  /* Plane positioned so contrails end at navy bar */
  background-size: cover !important; 
  background-position: center 100% !important;
  background-repeat: no-repeat !important;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  color: #fff;

  /* Ensure the whole hero section sits above footer, etc. */
  z-index: 9;
}

/* =========================================================
   HEADER
========================================================= */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 22px 32px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  border-bottom: 1px solid rgba(255,255,255,0.35);
  z-index: 1000;
}
.menu-open .header {
  border-bottom-color: transparent;
}

/* Currency label - closer to select box */
label[for="currencies"] {
  margin-right: 5px !important;
}

#currencies {
  background: #06060600; /* Matches your navy bars */
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}

#currencies:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* This styles the actual list that drops down */
#currencies option {
  background-color: #001b4e;
  color: #fff;
}

/* Logo */
.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  width:50%;
}
.logo-img {
  width: 220px;
  object-fit: contain;
  display: block;
}

/* Desktop navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.header-nav a,
.header-nav label {
  position: relative;
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  padding-bottom: 3px;
  transition: transform .25s ease, opacity .25s ease;
}

/* Hover Animation */
.header-nav a:hover {
  opacity: 0.75;
  transform: translateY(-2px);
}
.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #fff;
  transition: width .3s ease;
}
.header-nav a:hover::after {
  width: 100%;
}


/* =========================================================
   MOBILE MENU
========================================================= */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span {
  width: 22px;
  height: 2.5px;
  background: #fff;
  display: block;
  margin: 4px 0;
}
.menu-open .burger {
  opacity: 0;
  pointer-events: none;
}

/* Overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  z-index: 90;
}
.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Slide Menu */
.mobile-menu {
  position: fixed;
  right: -100%;
  top: 0;
  width: 70%;
  max-width: 330px;
  height: 100vh;
  background: #001a4d;
  padding: 80px 28px;
  transition: 0.4s ease;
  z-index: 100;
}
.mobile-menu.open {
  right: 0;
}
.menu-close {
  position: absolute;
  right: 18px;
  top: 40px !important;
  color: #fff;
  background: none;
  border: none;
  font-size: 48px;
  font-weight: 300;
  cursor: pointer;
}

.mobile-menu a {
  display: block;
  margin: 20px 0;
  font-size: 18px;
  text-decoration: none;
  color: #fff;
}


/* =========================================================
   HERO CONTENT (HEADING + SUBTEXT + CIRCLES)
========================================================= */
.hero-content {
  max-width: 440px;
  margin-top: -20px;
}
.hero-content h1 {
  font-size: 28px;
  line-height: 1.15;
  margin-bottom: 4px;
}
.hero-desc {
  margin-top: 6px;
  max-width: 400px;
  font-size: 14px;
}

/* Circles */
.hero-circles {
  margin-top: 26px;
  display: flex;
  gap: 22px;
}
.circle-link {
  width: 110px;
  height: 220px;
  border-radius: 50%;
  background: #fff;
  color: #18306d;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 13px;
  font-weight: 700;
  text-decoration: none;

  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
  transition: 0.2s;
}
.circle-link:hover {
  transform: translateY(-6px) scale(1.05);
}


/* =========================================================
   SEARCH CARD
========================================================= */
.search-card {
  position: relative !important;   /* keep card above plane image */
  z-index: 50 !important;
  overflow: visible !important;
  /*padding-bottom: 25px !important;*/
  width: min(100%);
  background: #fff;
  border-radius: 12px;
  margin-top: 140px !important;
  /*box-shadow: 0 24px 38px rgba(0,0,0,0.4);*/
}



/* =========================================================
   TABS
========================================================= */
.search-tabs {
  position: relative;
  display: flex;
}

/* Tab Buttons */
.tab-btn {
  text-align: center !important;
  flex: 1;
  padding: 14px 0;
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #001b4e;
  cursor: pointer;
  z-index: 2;
}
.tab-btn.active {
  color: #fff;
  background: #001b4e;
	border-radius: 10px 10px 0px 0px;
}

/* Indicator slider – covers current tab */
.tab-indicator {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100% !important;
  height: 100%;
  background: #001b4e;
  transition: 0.3s;
  z-index: 1;
  border-top-left-radius :10px;
  border-top-right-radius :10px;
}

/* Tab content */
.tab-wrapper {
  padding: 50px 25px;
  margin-top: -50px;
}
.tab-content { display: none; }
.tab-content.active { display: block;
    margin-top: 24px;
    background: #ffffff;
	border-radius:0px 0px 10px 10px;
}


/* =========================================================
   FORM FIELDS
========================================================= */
.fields-row {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 15px;
  flex-wrap: nowrap;
  max-width: 95%;
  margin: 0 auto;
}
.field label {
  font-size: 11px;
  text-transform: uppercase;
  color: #8a92a3;
  margin-bottom: 4px;
}
.field select,
.field input[type="text"],
.field input[type="date"] {
  width: 100%;
  font-size: 14px;
  font-weight: 600;
  color: #001b4e;
  border: none;
  background: transparent;
  font-family: Arial, Helvetica, sans-serif;
}

.field input[type="text"]::placeholder,
.field input[type="date"]::placeholder {
  color: #8a92a3;
  font-weight: 400;
}

.field input[type="text"]::-webkit-input-placeholder,
.field input[type="date"]::-webkit-input-placeholder {
  color: #8a92a3;
  font-weight: 400;
}

.field input[type="date"]::-webkit-datetime-edit {
  font-weight: 600;
  color: #001b4e;
  font-family: Arial, Helvetica, sans-serif;
}

.field input[type="date"]::-webkit-datetime-edit-text,
.field input[type="date"]::-webkit-datetime-edit-month-field,
.field input[type="date"]::-webkit-datetime-edit-day-field,
.field input[type="date"]::-webkit-datetime-edit-year-field {
  font-weight: 600;
  color: #001b4e;
  font-family: Arial, Helvetica, sans-serif;
}

/* Ensure all date fields align at baseline */
.field input[type="date"] {
  padding: 0;
  height: 24px;
  line-height: 24px;
  vertical-align: baseline;
}

/* Specific field widths for proper alignment */
.field {
  display: flex;
  flex-direction: column;
}

/* Date picker fields - narrower */
.field:has(#departureDate),
.field:has(#returnDate) {
  max-width: 220px;
  flex-shrink: 0;
}

/* FROM and TO country selects - smaller */
.field:has(select[id*="from"]),
.field:has(select[id*="From"]),
.field:has(select[name*="from"]),
.field:has(select[id*="to"]),
.field:has(select[id*="To"]),
.field:has(select[name*="to"]) {
  flex: 0 0 140px;
  min-width: 140px;
}

/* Date fields - narrower width for better alignment */
.field:has(input[type="date"]) {
  flex: 0 0 115px;
  min-width: 115px;
}

/* Passengers field - smaller */
.field:has(input[id*="passenger"]),
.field:has(input[id*="Passenger"]) {
  flex: 0 0 110px;
  min-width: 110px;
}

/* Class select - smaller */
.field:has(select[id*="class"]),
.field:has(select[id*="Class"]) {
  flex: 0 0 120px;
  min-width: 120px;
}

/* Passenger controls */
.passenger-control {
  align-items: center;
  gap: 8px;
}
.passenger-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eef1f7;
  border: none;
  cursor: pointer;
}
#p-count {
  font-weight: 600;
  color: #001b4e;
}

/* =========================================================
   SEARCH BUTTON - "BUTTONY" STYLE (Line 508)
========================================================= */
.search-btn {
  /* Size: Small and centered */
  width: auto !important;
  min-width: 160px;
  padding: 10px 25px !important;

  /* Position: Centered on top of the navy bar */
  position: absolute;
  bottom: 40px; 
 // left: 38% !important;
  transform: translateX(-50%);
  z-index: 60; 

  /* Styling */
  background: #001b4e;
  color: #fff;
  font-size: 14px !important;
  font-weight: 700;
  text-transform: uppercase;
  
  /* The "Buttony" Look */
  border: 2px solid #002e86 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 0 #000c24;
  
  cursor: pointer;
  transition: all 0.1s ease;
}

.search-btn:active {
  transform: translateX(-50%) translateY(2px);
  box-shadow: 0 2px 0 #000c24;
}

/* =========================================================
   Reset BUTTON - "BUTTONY" STYLE 
========================================================= */


input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #001b4e;
}

/* =========================================================
   RESPONSIVE — TABLET (1000px)
========================================================= */
@media (max-width: 1000px) {
  .fields-row {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* =========================================================
   RESPONSIVE — TABLET
========================================================= */
@media (max-width: 900px) {

  .hero {
    padding: 110px 20px 10px !important;
    background-position: top center;
  }

  .header-nav a { display: none; }
  .burger { display: block; }

  .fields-row {
    grid-template-columns: repeat(3,1fr);
  }
}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */
@media (max-width: 600px) {
	.footer-col h3
	{
		display:none;
	}
	.footer-inner
	{
		gap:25px !important;
	}
	
	.footer-logo{
		width: 170px !important;
	}
	.footer-about{
		font-size: 17px !important;
	}
	.footer-col a{
		font-size: 17px !important;
	}
	.footer-social{
		justify-content: center;
	}
	.footer-bottom{
		font-size: 16px !important;
	}

  .logo-img{
    width: 240px !important;
  }

  .hero {
    min-height: 100vh !important;
    height: auto !important;
    padding: 120px 18px 60px !important;
    background-position: center 35% !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    overflow: hidden !important;
    text-align: center !important;
  }
  .header-nav{
	  gap: 18px;
  }
  
  /* Currency select - narrower on mobile to prevent burger menu overlap */
  .currency-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  /* Hide the label on mobile portrait - select shows the value */
  label[for="currencies"] {
    display: none !important;
  }
  
  #currencies {
    max-width: 85px !important;
    font-size: 12px !important;
    padding: 4px 6px !important;
    margin-right: 8px !important;
    position: relative !important;
    z-index: 5 !important;
  }
  /* Force the burger menu to stay on top and clickable */
  .burger {
    display: block !important;
    position: relative !important;
    z-index: 10000 !important;
    pointer-events: auto !important;
    padding: 10px !important;
  }
  
  /* Ensure the header right container doesn't squash items */
  .header-right {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
  }

  .hero-content {
    text-align: center !important;
    margin: 0 auto !important;
  }

  .hero-content h1 {
    font-size: 32px !important;
    text-align: center !important;
  }

  .hero-desc {
    text-align: center !important;
    margin: 12px auto 0 auto !important;
	font-size: 18px;
  }

  .hero-circles {
    justify-content: center !important;
  }

  .circle-link {
    width: 80px;
    height: 80px;
    font-size: 11px;
  }

  .search-card {
   width: 100% !important;
   margin: 60px auto 0 auto !important;
   left: 0 !important;
   transform: none !important;
  }

  .fields-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .result-section
  {
	 padding: 30px 20px 80px !important;
  }
  .field
  {
	  text-align:left;
	  max-width:100%;
	  padding: 7px 0px;
  }
  .fields-row
  {
	  display:block;
	  margin-top: -50px;
  }
  .field label{
	font-size: 18px;
    padding : 15px 0px;
  }
   .tab-btn.active{
	   font-size: 20px !important;
	   padding: 20px 0px;
   }
   .toggle-text{
	   font-size: 17px;
   }
   .search-form-wrapper input, .search-form-wrapper select{
	   font-size: 18px !important;
	   margin: 5px 0px;
	   padding: 10px !important;
   }
   #submitButton.search-btn{
	   padding: 11px 150px !important;
	   font-size: 20px !important;
	   bottom: -53px !important;
	   left: 50% !important;
	   transform: translateX(-50%) !important;
   }
   .section-thanks h2{
	   font-size: 20px;
	   margin-bottom: 20px;
   }
   .payment-icons img{
	   height: 60px;
	   margin-top: 25px;
   }
   .donate-btn{
	   margin-top: 25px;
	   padding: 20px 60px !important;
   }
   .section-thanks{
	   margin: 50px auto !important;
   }
   .section-thanks p{
	   font-size: 17px;
   }
   .newsletter-field {
		flex: 1;
   }
   .newsletter-field input{
	   font-size: 18px;
	   width: 100% !important;
   }
   .newsletter-form{
	   display: flex;
	   flex-direction: column;
   }
   .newsletter-field {
    width: 100%;
  }
   
   .btn-primary{
	   padding: 20px 60px !important;
	   width: 100%;
	   font-size: 18px;
   }
   .contact-form input, .contact-form textarea{
	   padding: 17px 10px;
	   font-size: 18px;
   }
   .attach-btn{
	   padding: 15px 34px !important;
	   font-size: 14px;
   }
   .tab-wrapper{
	   margin-top: -25px;
   }
   .contact-checkbox{
	   font-size: 18px;
   }
}


/* =========================================================
   MID-SCREENS RESPONSIVE FIX (600px – 1200px)
========================================================= */

/* 600px – 768px */
@media (min-width: 600px) and (max-width: 768px) {

  .hero {
    padding: 140px 30px 80px !important;
    background-position: center 25% !important;
    background-size: cover !important;
  }

  .hero-content h1 {
    font-size: 34px !important;
  }

  .circle-link {
    width: 100px;
    height: 100px;
    font-size: 12px;
  }

  .search-card {
    width: 100% !important;
    margin-top: 40px !important;
  }

  .fields-row {
    grid-template-columns: repeat(3,1fr) !important;
  }
  .tab-content.active
  {
	  margin-top:0;
  }
  .result-section
  {
	  padding:30px 20px 80px;
  }
  .reset-btn{
	  left: 73% !important;
  }
}

/* 768px – 1024px */
@media (min-width: 768px) and (max-width: 1024px) {

  .hero {
    padding: 160px 40px 100px !important;
    background-position: center 18% !important;
    background-size: cover !important;
  }

  .hero-content h1 {
    font-size: 48px !important;
  }

  .hero-circles {
    position: absolute;
    top: 30vh;
    left: 60%;
    right: 0;
    margin: 0 auto;
    justify-content: center !important;
    z-index: 25;
  }

  .circle-link {
    width: 100px;
    height: 100px;
    font-size: 14px;
  }
  .fields-row {
    grid-template-columns: repeat(4,1fr) !important;
  }
  .tab-content
{
	margin-top:0 !important;
}
.search-card
{
	margin-top: 20px !important;
}
  .result-section
  {
	  padding:30px 40px 80px !important;
  }
  .reset-btn{
	  left: 66% !important;
  }
}

/* 1024px – 1200px */
@media (min-width: 1024px) and (max-width: 1200px) {

  .hero {
    padding: 160px 60px 260px !important;
    background-position: center 15% !important;
   // background-size: cover !important;
  }

  .hero-content h1 {
    font-size: 46px !important;
  }

  .hero-circles {
    position: absolute;
    top: 30vh;
    left: 50%;
    right: 0;
    margin: 0 auto;
    justify-content: center;
    z-index: 30;
  }

  .search-card {
    width: 100% !important;
    margin: 8% auto 0 auto !important;
  }
.tab-content
{
	margin-top:0 !important;
}
  .fields-row {
    grid-template-columns: repeat(5,1fr) !important;
  }
}


/* =========================================================
   VERY SMALL SCREENS
========================================================= */
@media (max-width: 420px) {
  .fields-row {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   BIG SCREENS (Laptop + Desktop)
========================================================= */
@media (min-width: 1200px) {

  .hero {
    min-height: auto !important;
    padding: 150px 60px 110px !important;
  }

  .hero-content {
    margin-top: 70px !important;
  }

  .search-card {
    margin-top: 0% !important;
    transform: translateY(40px);
    /*min-width: 1200px;*/
  }

  .hero-circles {
    position: absolute;
    top: 30vh;
    left: 50vh;
    right: 0;
    margin: 0 auto;
    justify-content: center;
    z-index: 20;
  }
}


/* =========================================================
   ULTRA-WIDE (2K / 4K)
========================================================= */
@media (min-width: 1600px) {

  .hero {
    min-height: auto !important;
    padding-top: 180px !important; 
    background-position: 48% 35% !important;
  }
  .hero-content {
    max-width: 520px !important;
  }

  .hero-content h1 {
    font-size: 64px !important;
  }

  .search-card {
    margin-top: 80px !important;
  }
}

/* =========================================================
   RESPONSIVE — ULTRA-WIDE MONITORS (1920px+)
========================================================= */
@media (min-width: 1920px) {
  .hero {
    background-size: 1920px auto !important;
    background-position: center 20% !important;
  }
  .search-card {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================================================
   RESPONSIVE — LANDSCAPE MOBILE
========================================================= */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 100vh !important;
    padding-top: 100px !important;
  }
}


/* =========================================================
   Z-INDEX FIX
========================================================= */
.menu-close { z-index: 9999 !important; }
.mobile-menu { z-index: 9998 !important; }
.menu-overlay { z-index: 9997 !important; }


/* ========================= FOOTER ========================= */
.site-footer {
  background: #001f3f;
  color: #fff;
  padding: 60px 50px 20px;
  position: relative;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: auto;
}

.footer-logo {
  width: 120px;
  margin-bottom: 15px;
}

.footer-about {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;
}

.footer-col h3 {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  margin-bottom: 10px;
  color: #d6e6ff;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s ease;
}

.footer-col a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 14px;
  opacity: 0.8;
}

.footer-bottom strong {
  color: #4ecbff;
}

/* Footer responsive */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col a {
    margin-bottom: 12px;
  }
}

/* =========================================================
   RESULTS SECTION – UNDER SEARCH CARD
========================================================= */
.hidden { display: none; }

/* Old .results-grid remains here for reference – not used now */
/*
.results-grid {
  max-width: 1200px;
  background: #fff;
  margin: 40px auto;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
*/

/* Collapsible area + toggle */
.result-section{
	       padding: 30px 60px 80px;
		  background: #3582bd;
		  Z-INDEX:999;
		  position:relative;
}
.results-toggle {
    margin-top: -72px;
    text-align: center;
    background: #001b4e;
    padding: 14px 0; /* Matches .tab-btn height */
    font-size: 14px; /* Matches .tab-btn font size */
    font-weight: 600; /* Matches .tab-btn font weight */
    border-radius: 10px 10px 0px 0px;
    color: #fff;
    text-transform: uppercase; /* Optional: keeps it looking like a clean header */
}
.results-toggle.hidden {
  display: none;
}

/* ORIGINAL: text was white on white background
.results-toggle-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 13px;
  cursor: pointer;
  opacity: 0.9;
}
*/

/* NEW: darker text so it is visible on white card */
.results-toggle-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  opacity: 0.9;
}

.results-wrapper {
    transition: max-height 0.45s ease, opacity 0.45s ease;
    background: #f5f7fb;
    border-radius: 0px 0px 10px 10px;
    margin-top: 0;
    padding: 20px 24px 20px 24px;
    position: relative;
    z-index: 40;
    border-bottom: 14px solid #001b4e !important;
}
.results-wrapper.expanded {
  max-height: 1000px;
  opacity: 1;
  padding-bottom: 22px;
}

/* Skeleton loading */
.results-loading {
  margin-top: 18px;
}
.skeleton-card {
  height: 80px;
  border-radius: 10px;
  margin-bottom: 12px;
  background: linear-gradient(
    90deg,
    #e2e6f2 0%,
    #f5f7ff 50%,
    #e2e6f2 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.15s infinite linear;
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Flight result cards */
.results-list {
  display: block;
  grid-template-columns: repeat(2, 1fr); /* two columns */
  gap: 24px;
  margin-top: 20px;
}

/* Make each card same height */
.result-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 20px 10px 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
margin-bottom: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  min-height: 105px;
}

/* Responsive for mobile */
@media (max-width: 900px) {
  .results-list {
    grid-template-columns: 1fr; /* one column on mobile */
  }
}

.result-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.15);
}

.result-main {
  border-right: 1px solid #eef0f7;
  padding-right: 12px;
}
.result-main h3 {
  font-size: 16px;
  font-weight: 600;
  color: #001b4e;
  margin-bottom: 4px;
}
.result-main .time {
  font-size: 14px;
  color: #212224;
  
}
.result-main .meta {
  font-size: 12px;
  color: #212224;
  margin-top: 4px;
}

.result-middle {
  font-size: 13px;
  color: #212224;
}
.result-middle div {
  margin-bottom: 4px;
}

.result-right {
  text-align: right;
}
.result-price {
  font-size: 20px;
  font-weight: 700;
  color: #001b4e;
}
.result-currency {
  font-size: 12px;
  color: #7f8baa;
}
.result-book-btn {
  margin-top: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  background: #001b4e;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
}
.footer-bottom a
{
	color:#fff;
}
/*************************************************** donate section **********************************************/
.section-thanks {
  max-width: 600px;
  margin: 80px auto;
  text-align: center;
  padding: 20px;
}

.section-thanks h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color:#ffffff;
}

.section-thanks p {
  color: #ffffff;
  margin-bottom: 30px;
}

/* Donate */
.donate-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #001f54;
  color: #fff;
  padding: 14px 26px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
}

.donate-arrow {
  background: #fff;
  color: #001f54;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-icons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.payment-icons img {
  /*height: 26px;*/
}

/* Newsletter */
.newsletter-form {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: center;
}

.newsletter-field {
  flex: 1;
  text-align: left;
}

.newsletter-field input {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* Contact */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.attach-btn {
  background: #001f54;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 20px;
  cursor: pointer;
}

.contact-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
}

/* Buttons */
.btn-primary {
  margin-top: 10px;
  background: #001f54;
  color: #fff;
  padding: 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}

/************************************************************************ footer social start ***************************/
.footer-social {
  display: flex;
  gap: 14px;
}

.social-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.social-icon:hover svg {
  opacity: 0.8;
  transform: translateY(-2px);
}
/* Card responsiveness */
@media (max-width: 768px) {
  .result-card {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  .result-main {
    border-right: none;
    border-bottom: 1px solid #eef0f7;
    padding-bottom: 8px;
    margin-bottom: 6px;
  }

  .result-right {
    text-align: left;
  }
}
/* SORT + FILTER BAR */
.sort-select {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #d2d8e6;
  background: #fff;
  font-size: 13px;
  margin-right: 10px;
}

.filter-check {
  font-size: 13px;
  margin-right: 20px;
  color: #fff;
}

.filter-check input {
  margin-right: 4px;
}
.load-more-btn {
  display: block;
  margin: 25px auto;
  padding: 10px 30px;
  border-radius: 8px;
  border: none;
  background: #00285f;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s ease;
}

.load-more-btn:hover {
  background: #0042a8;
}
/* ========================= FOOTER ========================= */
.site-footer {
  background: #001f3f;
  color: #fff;
  padding: 60px 50px 20px;
  position: relative;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: auto;
}

.footer-logo {
  width: 120px;
  margin-bottom: 15px;
}

.footer-about {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;
}

.footer-col h3 {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
  min-height: 34px;
}

.footer-col a {
  display: block;
  margin-bottom: 10px;
  color: #d6e6ff;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s ease;
}

.footer-col a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 14px;
  opacity: 0.8;
}

.footer-bottom strong {
  color: #4ecbff;
}

/* ------------ Footer Responsive ------------ */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col a {
    margin-bottom: 12px;
  }
}
.results-wrapper.expanded {
  max-height: none !important;   /* FIX */
  opacity: 1;
  padding-bottom: 22px;
}
.pagination-controls {
  margin: 30px auto 0 auto;
  text-align: center;
}

.page-btn {
  padding: 8px 14px;
  margin: 0 4px;
  border-radius: 6px;
  border: 1px solid #00285f;
  background: #fff;
  color: #00285f;
  cursor: pointer;
  font-size: 14px;
  transition: 0.2s;
}

.page-btn:hover {
  background: #00285f;
  color: #fff;
}

.page-btn.active {
  background: #00285f;
  color: #fff;
  font-weight: bold;
}
/* Smooth page transition animation */
.results-list {
  opacity: 1;
  transition: opacity 0.35s ease-in-out;
}

.results-list.fade-out {
  opacity: 0;
}

.results-list.fade-in {
  opacity: 1;
}
@media (max-width: 768px) {
  .signin-dropdown {
    left: 5%;
    right: auto;
    transform: translate(-50%, 0);
    width: 90%;
  }
}
/* 1. THE MAIN OUTER CONTAINER */
.search-form-wrapper {
    display: block !important;
    background-color: #ffffff !important;
    position: relative !important;
    /* This creates the ONLY navy bar at the bottom */
    border-bottom: 60px solid #001b4e !important; 
    border-radius: 10px !important;
    margin-top: 30px !important;
    padding: 0 !important;
    overflow: visible !important;
}

/* 2. THE INNER CONTENT (Removes the middle bar) */
.search-form-wrapper .tab-content.active {
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    padding: 20px 20px 0 20px !important;
    margin: 0 !important;
}

/* 3. THE BUTTON (Centered on the navy border) */
#submitButton.search-btn {
    position: absolute !important;
    bottom: -50px !important; /* Forces it down onto the navy bar */
    left: 43%;
    transform: translateX(-50%) !important;
    z-index: 9999 !important;
    
    /* Style & Clickability */
    background-color: #001b4e !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
    padding: 10px 45px !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    
    /* Font Conformity */
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    
    /* Remove shadow */
    box-shadow: none !important;
    border-radius: 8px !important;
}

/* 4. FIX FIELD VISIBILITY */
.search-form-wrapper input, 
.search-form-wrapper select {
    background-color: #ffffff !important;
    border: 1px solid #ccc !important;
    color: #333 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 1. SYNC ALL WHITE TEXT ON NAVY (Tabs, Search Button, Load More) */
.tab-btn, 
.search-btn, 
.load-more-btn, 
.donate-btn {
    color: #ffffff !important;
    text-transform: uppercase !important; /* Forces EVERYTHING to be ALL CAPS */
    font-weight: 700 !important;          /* Makes it bold and professional */
    letter-spacing: 1.5px !important;    /* Adds that modern 'spaced out' look */
    font-size: 14px !important;           /* Keeps size consistent */
    font-family: sans-serif !important;   /* Replace with your main font if known */
}

/* 2. FIX THE "FLIGHTS" TAB SPECIFICALLY */
.tab-btn.active {
    color: #ffffff !important;
    border-bottom: 2px solid #ffffff !important; /* Highlights the active tab */
}

.result-section {
    display: none;
}

.result-img {
    width: 60px !important;
    height: 60px !important;
    background-color: #d1d1d1 !important; /* Force grey color */
    border-radius: 4px;
    flex-shrink: 0;
    display: block; /* Ensures it renders as a box */
}
/* Hide any ghost image icons if the src is empty */
.result-img img {
    display: none;
}

/* Full-screen overlay to block interaction during search */
#spinner-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 27, 78, 0.7); /* Matching your navy blue color */
    z-index: 10001; /* Above everything including nav */
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #ffffff;
    font-family: sans-serif;
}

/* Professional Spinner */
.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin-animation 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin-animation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.reset-btn {
  /* Position: to the right of search button */
  position: absolute !important;
  bottom: -50px !important; /* Same as search button - on navy bar */
  left: 57% !important; /* To the right of search button */
  transform: translateX(-50%) !important;
  z-index: 9999 !important;

  /* Style: matches search button exactly */
  background-color: #001b4e !important;
  color: #ffffff !important;
  border: 1px solid #ffffff !important;
  padding: 10px 45px !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  
  /* Font: matches search button */
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  
  /* Remove shadow */
  box-shadow: none !important;
  border-radius: 8px !important;
  transition: all 0.1s ease;
}

.reset-btn:active {
  transform: translateX(-50%) translateY(2px);
}

/* ===== GENERAL MOBILE BUTTON FIX ===== */
@media (max-width: 600px) {
  .search-btn, 
  .reset-btn,
  #submitButton.search-btn,
  #resetButton.reset-btn {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    box-shadow: none !important;
  }
}

/* ===== MOBILE FIXES - PORTRAIT ===== */
@media (max-width: 600px) and (orientation: portrait) {
  /* Header logo - make smaller on mobile */
  .logo-img {
    width: 150px !important;
  }
  
  .header-left {
    width: auto !important;
    max-width: 60% !important;
  }
  
  .header {
    padding: 15px 20px !important;
  }
  
  /* Currency select - even smaller on portrait to prevent header crowding */
  label[for="currencies"] {
    display: none !important;
  }
  
  #currencies {
    max-width: 70px !important;
    font-size: 10px !important;
    padding: 3px 4px !important;
    margin-right: 8px !important;
  }
  
  .search-btn, 
  .reset-btn,
  #submitButton.search-btn,
  #resetButton.reset-btn {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    display: inline-block !important;
    width: 45% !important;
    margin: 10px 2% !important;
    box-shadow: none !important;
  }
}

/* ===== MOBILE FIXES - LANDSCAPE ===== */
@media (max-height: 500px) and (orientation: landscape) {
  /* Fix blue background bleeding on margins */
  
  
  /* Header logo - make smaller on mobile */
  .logo-img {
    width: 150px !important;
  }
  
  .header-left {
    width: auto !important;
    max-width: 55% !important;
  }
  
  .header {
    padding: 12px 20px !important;
  }
  
  .fields-row {
    display: block !important;
  }
  
  .field {
    margin-bottom: 15px;
    width: 100% !important;
  }
  
  .search-card {
    max-height: none !important;
    overflow-y: auto !important;
  }
  
  .hero {
    min-height: 100vh !important;
    padding-top: 100px !important;
  }
  
  /* Currency select - narrower on mobile to prevent burger menu overlap */
  .currency-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  /* Hide the label on mobile landscape - select shows the value */
  label[for="currencies"] {
    display: none !important;
  }
  
  #currencies {
    max-width: 85px !important;
    font-size: 12px !important;
    padding: 4px 6px !important;
    margin-right: 8px !important;
    position: relative !important;
    z-index: 5 !important;
  }
  
  .search-btn, 
  .reset-btn,
  #submitButton.search-btn,
  #resetButton.reset-btn {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin: 10px auto !important;
    display: block !important;
    width: 80% !important;
    box-shadow: none !important;
  }
}
 

/* Reset button - small icon on far right */
.reset-btn {
  position: absolute !important;
  right: 30px !important;
  bottom: -50px !important;
  left: auto !important;
  transform: none !important;
  width: 45px !important;
  height: 45px !important;
  min-width: 45px !important;
  padding: 0 !important;
  border-radius: 10px !important;
  font-size: 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #001b4e !important;
  color: #ffffff !important;
  border: 1px solid #ffffff !important;
  box-shadow: none !important;
  cursor: pointer !important;
  z-index: 9999 !important;
}
/* Hero text and search card positioning */
.hero-content { margin-top: -35px !important; }
.search-card { margin-top: 200px !important; }
#submitButton.search-btn { left: 50% !important; }
.footer-bottom { opacity: 1 !important; color: #ffffff !important; }
.footer-bottom p { color: #ffffff !important; }
.footer-bottom strong a { color: #ffffff !important; }
footer .footer-bottom, .footer-bottom, .footer-bottom p, .footer-bottom span, .footer-bottom strong, .footer-bottom a { color: #fff !important; opacity: 1 !important; }
.hero { background-image: url(/static/img/hero-bg.jpg) !important; background-color: transparent !important; }
.result-section { background-color: transparent !important; }
.section-how { background: transparent !important; }
.section-thanks { background: transparent !important; }
.newsletter-section { background: transparent !important; }
footer, .footer { background: rgba(0,15,40,0.85) !important; }
.header { background: transparent !important; }


.hero { min-height: auto !important; padding-bottom: 80px !important; }
.hero { min-height: auto !important; padding-bottom: 40px !important; }
.hero { padding-left: 32px !important; }
.hero { padding-left: 20px !important; }
.header { padding-left: 65px !important; }
.hero { padding-left: 20px !important; }
.header { padding-left: 20px !important; }
.logo-img { margin-left: 35px !important; }
.hero { padding: 120px 20px 40px 20px !important; }
.header { padding: 22px 32px !important; }
.logo-img { margin-left: 35px !important; }
.hero { padding: 120px 20px 40px 20px !important; }
.hero-content { margin-left: 47px !important; }
.hero-content { padding-top: 30px !important; }
.search-card { margin-left: 47px !important; margin-right: 47px !important; width: auto !important; }
.hero-desc { margin-top: 16px !important; }
.hero-content { padding-top: 50px !important; }
.search-card { margin-top: 170px !important; }
body, input, select, button, textarea { font-family: "Inter", sans-serif !important; }
.hero-desc { font-family: "Inter", sans-serif !important; font-weight: 500 !important; }
.search-btn, .tab-btn, .load-more-btn { font-family: "Inter", sans-serif !important; font-weight: 600 !important; }
.result-price { font-family: "Inter", sans-serif !important; font-weight: 600 !important; }
.header { border-bottom: none !important; }
.hero-content { text-align: center !important; margin-left: auto !important; margin-right: auto !important; max-width: 600px !important; }
.search-card { border-radius: 16px !important; box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important; overflow: visible !important; }
.tab-content { padding: 15px 25px !important; }
.tab-btn, .tab-bar, .search-tabs { display: none !important; }
.tab-content.active { display: block !important; border-radius: 16px !important; }
.search-form-wrapper { background: transparent !important; border: none !important; }
.search-form-wrapper .tab-content.active { background: #fff !important; border-radius: 16px !important; padding: 20px 30px !important; }
.fields-row { gap: 12px !important; }
.fields-row input, .fields-row select { border: 1px solid #e0e0e0 !important; border-radius: 10px !important; padding: 10px 12px !important; font-size: 13px !important; }
.fields-row label { font-size: 10px !important; font-weight: 600 !important; color: #888 !important; letter-spacing: 0.5px !important; }
#submitButton.search-btn { border-radius: 12px !important; padding: 12px 50px !important; font-size: 14px !important; bottom: -25px !important; }
.reset-btn { border-radius: 12px !important; bottom: -25px !important; }
.toggle-group, .search-toggle, .trip-toggle, .search-by-toggle { display: flex !important; align-items: center !important; gap: 8px !important; }
.fields-row { align-items: flex-end !important; display: flex !important; }
.fields-row > div { display: flex !important; flex-direction: column !important; justify-content: flex-end !important; }
.fields-row > div label { margin-bottom: 4px !important; }
#cabinType { min-width: 110px !important; }
.search-card { padding: 0 10px !important; }
.field { display: flex !important; flex-direction: column !important; justify-content: flex-end !important; }
.field > label:first-child { font-size: 10px !important; font-weight: 600 !important; color: #888 !important; letter-spacing: 0.5px !important; text-transform: uppercase !important; margin-bottom: 4px !important; white-space: nowrap !important; }
.roundtrip-toggle { display: flex !important; align-items: center !important; gap: 6px !important; height: 38px !important; }
.roundtrip-toggle .slider { flex-shrink: 0 !important; }
.roundtrip-toggle .toggle-text { font-size: 13px !important; font-weight: 600 !important; white-space: nowrap !important; }
.hero-content { padding-top: 50px !important; }
.fields-row { align-items: flex-end !important; }
.field select, .field input { height: 38px !important; }
.field > label:first-child { font-weight: 800 !important; }
.roundtrip-toggle { height: 38px !important; display: flex !important; align-items: center !important; }
.field:has(.roundtrip-toggle) { padding-top: 16px !important; }
.field > label:first-child { margin-bottom: 6px !important; line-height: 1 !important; }
.field select, .field input[type="text"], .field input[type="number"] { margin-top: 0 !important; }
.roundtrip-toggle { margin-top: 0 !important; }
.field { text-align: center !important; }
.field > label:first-child { display: block !important; text-align: center !important; }
.field select, .field input { text-align: left !important; }
.field:has(.roundtrip-toggle) > label:first-child { text-align: center !important; }
.roundtrip-toggle { justify-content: center !important; }
.field:not(:has(.roundtrip-toggle)) > label:first-child { margin-bottom: 14px !important; }
.field:not(:has(.roundtrip-toggle)) > label:first-child { margin-bottom: 10px !important; }
.field > label:first-child { text-align: left !important; }
.field:has(.roundtrip-toggle) > label:first-child { text-align: left !important; }
.field > label:first-child { color: #001b4e !important; }
.field:not(:has(.roundtrip-toggle)) > label:first-child { padding-left: 12px !important; }
.field:not(:has(.roundtrip-toggle)) > label:first-child { padding-left: 16px !important; }
.field:not(:has(.roundtrip-toggle)) > label:first-child { padding-left: 18px !important; }
.field select, .field input[type="text"], .field input[type="number"] { padding-left: 10px !important; }
.field:not(:has(.roundtrip-toggle)) > label:first-child { padding-left: 10px !important; }
.hero { padding-top: 160px !important; }
.search-card { margin-top: 220px !important; }
.search-card { margin-top: 190px !important; }
.search-card { margin-top: 175px !important; }
.search-card { margin-top: 140px !important; }
/* FINAL HERO POSITION */


.hero-desc { text-align: center !important; }
.hero-desc { text-align: center !important; max-width: 100% !important; margin-left: auto !important; margin-right: auto !important; }
.hero-content { padding-top: 35px !important; }
.search-form-wrapper .tab-content.active { padding-top: 12px !important; padding-bottom: 8px !important; }
.search-card { margin-top: 155px !important; }
.search-form-wrapper .tab-content.active { padding-top: 8px !important; padding-bottom: 4px !important; }
.search-card { margin-top: 165px !important; }
.search-card { margin-top: 180px !important; }
.hero-content h1 { font-size: 48px !important; font-weight: 900 !important; font-family: "Inter", sans-serif !important; }
.hero-desc { font-size: 32px !important; }
.search-card { margin-top: 140px !important; }
.search-card { margin-top: 100px !important; }
.hero-desc { font-size: 18px !important; }
.hero-desc { font-size: 18px !important; }
.hero-content { padding-top: 10px !important; }
.search-card { margin-top: 160px !important; }
.hero { min-height: 120vh !important; }
.hero { min-height: 110vh !important; }
.hero { min-height: 105vh !important; }
.hero { min-height: 105vh !important; }
.hero-desc { font-size: 15px !important; }
.hero-content h1 { font-style: italic !important; }
.search-card { margin-top: 175px !important; }
.search-card { margin-top: 195px !important; }
.search-card { margin-top: 215px !important; }
.hero-desc { font-size: 17px !important; white-space: nowrap !important; }
.hero-content h1 { text-align: center !important; }
.header-nav { margin-right: 47px !important; }
.hero-desc { font-size: 19px !important; white-space: nowrap !important; margin-left: auto !important; margin-right: auto !important; padding-right: 20px !important; }
.hero-desc { padding-right: 0px !important; padding-left: 0px !important; }
.hero-content { padding-left: 0 !important; padding-right: 0 !important; margin-left: auto !important; margin-right: auto !important; max-width: 800px !important; }











}












  100% { transform: translateX(-50%); }
}














  100% { transform: translateX(-50%); }
}

  100% { transform: translateX(0); }
}















  100% { transform: translateX(-50%); }
}

.airline-carousel-section {
  padding: 50px 0 40px;
  text-align: center;
  overflow: hidden;
}
.airline-carousel-section h2 {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}
.airline-carousel-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.airline-carousel-wrapper::before,
.airline-carousel-wrapper::after {
  content: none;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.airline-carousel-wrapper::before {
  left: 0;
  background: none;
}
.airline-carousel-wrapper::after {
  right: 0;
  background: none;
}
.airline-carousel-track {
  display: flex;
  gap: 8px;
  align-items: stretch;
  width: max-content;
  animation: scroll-airlines 90s linear infinite;
}
.airline-carousel-track:hover {
  animation-play-state: paused;
}
.airline-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}
.airline-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 16px;
  padding: 0 24px;
  width: 140px;
}
.airline-logo-item img {
  height: 60%;
  width: auto;
  max-width: 90%;
  object-fit: contain;
}
.airline-tile-short {
  height: 140px;
}
.airline-tile-tall {
  height: 220px;
}
@keyframes scroll-airlines {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}











/* SINGLE BACKGROUND - full 2000x4000 image on body */
body {
  background-image: url(/static/img/sky-bottom.jpg) !important;
  background-size: 110% auto !important;
  background-position: 70% top !important;
  background-repeat: no-repeat !important;
  background-color: #013465 !important;
  background-attachment: scroll !important;
}

/* Hero is transparent - body image shows through */
.hero {
  background-image: none !important;
  background-color: transparent !important;
}

.header {
  background: transparent !important;
}


/* === HERO + BODY BACKGROUND === */
body {
  background: #013465 !important;
  background-image: none !important;
}
.hero {
  background-image: url(/static/img/hero-bg.jpg) !important;
  background-size: cover !important; background-position: center 45% !important;
  background-position: 80% top !important;
  background-repeat: no-repeat !important;
  background-color: #013465 !important;
}
.header {
  background: transparent !important;
}
.hero {
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%) !important;
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%) !important;
}
.hero {
  -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%) !important;
  mask-image: linear-gradient(to bottom, black 90%, transparent 100%) !important;
}

/* === MOBILE FIXES === */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 28px !important;
    white-space: normal !important;
  }
  .hero-desc {
    font-size: 14px !important;
    white-space: normal !important;
    padding: 0 10px !important;
  }
  .hero-content {
    padding-top: 10px !important;
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .hero {
    padding: 80px 10px 30px 10px !important;
  }
  .search-card {
    margin-left: 10px !important;
    margin-right: 10px !important;
    margin-top: 30px !important;
    width: auto !important;
  }
  .search-form-wrapper .tab-content.active {
    padding: 10px !important;
  }
  .fields-row {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .field {
    width: 100% !important;
    min-width: 0 !important;
  }
  .field select, .field input {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .search-form-wrapper {
    border-bottom: none !important;
    overflow: visible !important;
  }
  #submitButton.search-btn,
  .reset-btn {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    display: inline-block !important;
    width: 45% !important;
    margin: 10px 2% !important;
  }
  .search-card {
    padding-bottom: 15px !important;
    text-align: center !important;
  }
  .logo-img {
    margin-left: 0 !important;
  }
  .header {
    padding: 15px 15px !important;
  }
  .header-nav {
    margin-right: 10px !important;
  }
  .newsletter-form {
    flex-direction: column !important;
    gap: 10px !important;
    padding: 0 20px !important;
  }
  .section-thanks {
    margin: 40px auto !important;
    padding: 20px 15px !important;
  }
}
@media (max-width: 768px) {
  .hero {
    padding-top: 100px !important;
    min-height: auto !important;
  }
  .search-card {
    margin-top: 80px !important;
  }
  .hero {
    background-position: 80% 20% !important;
  }
}
@media (max-width: 768px) {
  .search-card {
    margin-top: 120px !important;
  }
}
@media (max-width: 768px) {
  .field input.flatpickr-input,
  .field input[name="departureDate"],
  .field input[name="returnDate"] {
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 10px 12px !important;
  }
}
@media (max-width: 768px) {
  .search-card {
    margin-top: 180px !important;
  }
}

/* === MOBILE CLEANUP === */
@media (max-width: 768px) {
  .hero {
    background-size: cover !important;
    background-position: 60% top !important;
    padding: 80px 15px 30px 15px !important;
  }
  .hero-content {
    padding-top: 5px !important;
  }
  .hero-content h1 {
    font-size: 26px !important;
    margin-bottom: 5px !important;
  }
  .hero-desc {
    font-size: 13px !important;
    margin-top: 5px !important;
    margin-bottom: 0 !important;
  }
  .search-card {
    margin-top: 40px !important;
    padding: 0 5px 10px !important;
  }
  .search-form-wrapper .tab-content.active {
    padding: 8px 10px !important;
  }
  .fields-row {
    gap: 6px !important;
  }
  .field > label:first-child {
    font-size: 9px !important;
    margin-bottom: 3px !important;
    padding-left: 10px !important;
  }
  .field select,
  .field input,
  .field input.flatpickr-input {
    height: 34px !important;
    font-size: 12px !important;
    padding: 6px 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .roundtrip-toggle {
    height: 34px !important;
  }
  .roundtrip-toggle .toggle-text {
    font-size: 11px !important;
  }
  #submitButton.search-btn {
    padding: 10px 30px !important;
    font-size: 13px !important;
    margin-top: 8px !important;
  }
  .reset-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }
}
@media (max-width: 768px) {
  .hero {
    min-height: 150vh !important;
    padding-top: 100px !important;
  }
  .search-card {
    margin-top: 200px !important;
  }
}
@media (max-width: 768px) {
  .hero {
    background-position: 60% 30% !important;
  }
}
@media (max-width: 768px) {
  .hero-content {
    padding-top: 80px !important;
  }
  .search-card {
    margin-top: 250px !important;
  }
}
@media (max-width: 768px) {
  .hero {
    background-size: 250% auto !important;
    background-position: 55% 15% !important;
  }
}
@media (max-width: 768px) {
  .hero {
    background-size: 250% 60% !important;
    background-position: 55% 0% !important;
    background-color: #013465 !important;
  }
}
@media (max-width: 768px) {
  .hero {
    background-size: 250% auto !important;
    background-position: 55% 0% !important;
  }
}

/* === TABLET FIX (768px - 1100px) === */
@media (max-width: 1100px) {
  .fields-row {
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  .field {
    flex: 0 0 calc(25% - 10px) !important;
    min-width: 120px !important;
  }
  .search-card {
    margin-left: 20px !important;
    margin-right: 20px !important;
  }
}

/* === IPAD / TABLET PORTRAIT (768px - 1024px) === */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    background-size: 180% auto !important;
    background-position: 65% 20% !important;
  }
}

/* === IPAD FIX - plane position === */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    background-size: 220% auto !important;
    background-position: 60% 35% !important;
  }
  .search-card {
    margin-top: 200px !important;
  }
}

/* === IPAD FIX v2 === */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    background-size: 220% auto !important;
    background-position: 60% 0% !important;
  }
  .hero-content {
    padding-top: 60px !important;
  }
  .search-card {
    margin-top: 280px !important;
  }
}

/* === IPAD FIX v3 - plane centered === */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    background-size: 200% auto !important;
    background-position: 50% 0% !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    background-position: 55% 0% !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%) !important;
    mask-image: linear-gradient(to bottom, black 90%, transparent 100%) !important;
  }
}
.hero {
  -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%) !important;
  mask-image: linear-gradient(to bottom, black 85%, transparent 100%) !important;
}
.hero::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 150px !important;
  background: linear-gradient(to bottom, transparent, #013465) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}
.search-card {
  z-index: 50 !important;
}
.hero::after {
  height: 300px !important;
}
.hero::after {
  height: 40% !important;
  background: linear-gradient(to bottom, transparent, #013465) !important;
}
body {
  background: linear-gradient(to bottom, #013465 0%, #013465 100%) !important;
}
.hero::after {
  display: none !important;
  content: none !important;
}
.hero {
  -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%) !important;
  mask-image: linear-gradient(to bottom, black 85%, transparent 100%) !important;
}
body {
  background: #013465 !important;
  background-image: none !important;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    background-size: 200% 100% !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .search-card {
    margin-top: 350px !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    background-size: 250% auto !important;
    background-position: 55% 0% !important;
    min-height: 130vh !important;
  }
  .search-card {
    margin-top: 300px !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    background-size: 300% auto !important;
    background-position: 50% 0% !important;
    min-height: 110vh !important;
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%) !important;
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%) !important;
  }
  .search-card {
    margin-top: 280px !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-content {
    padding-top: 30px !important;
  }
  .search-card {
    margin-top: 400px !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    background-position: 50% 25% !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    background-position: 50% 40% !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    background-position: 50% 70% !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .search-card {
    margin-top: 450px !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    background-position: 50% 85% !important;
  }
  .search-card {
    margin-top: 350px !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    background-position: 50% 55% !important;
    min-height: 140vh !important;
  }
  .search-card {
    margin-top: 380px !important;
  }
}
.airline-carousel-wrapper::before,
.airline-carousel-wrapper::after {
  display: none !important;
}
.airline-carousel-wrapper::before {
  background: none !important;
  width: 0 !important;
  opacity: 0 !important;
}
.airline-carousel-wrapper::after {
  background: none !important;
  width: 0 !important;
  opacity: 0 !important;
}
.airline-carousel-wrapper::before,
.airline-carousel-wrapper::after {
  content: none !important;
}

/* === MOBILE SEARCH COMPACT === */
@media (max-width: 768px) {
  .search-card {
    margin-top: 200px !important;
  }
  .field {
    padding: 2px 0 !important;
  }
  .field > label:first-child {
    font-size: 8px !important;
    margin-bottom: 2px !important;
    padding-left: 10px !important;
  }
  .field select,
  .field input,
  .field input.flatpickr-input {
    height: 30px !important;
    font-size: 11px !important;
    padding: 4px 8px !important;
  }
  .roundtrip-toggle {
    height: 30px !important;
  }
  .roundtrip-toggle .toggle-text {
    font-size: 10px !important;
  }
  .roundtrip-toggle .slider {
    width: 36px !important;
    height: 18px !important;
  }
  .roundtrip-toggle .slider::after {
    width: 14px !important;
    height: 14px !important;
  }
  .fields-row {
    gap: 4px !important;
  }
  .search-form-wrapper .tab-content.active {
    padding: 6px 10px !important;
  }
}

/* === MOBILE FORM ALIGNMENT === */
@media (max-width: 768px) {
  .field:has(.roundtrip-toggle) {
    padding-top: 0 !important;
  }
  .field > label:first-child {
    margin-bottom: 4px !important;
    line-height: 1.2 !important;
  }
  .field:not(:has(.roundtrip-toggle)) > label:first-child {
    margin-bottom: 4px !important;
    padding-left: 8px !important;
  }
  .field {
    margin-bottom: 0 !important;
    padding: 3px 0 !important;
  }
  #submitButton.search-btn {
    padding: 8px 25px !important;
    font-size: 12px !important;
    margin-top: 5px !important;
  }
  .reset-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
  }
}
@media (max-width: 768px) {
  .field > label:first-child,
  .field:has(.roundtrip-toggle) > label:first-child,
  .field:not(:has(.roundtrip-toggle)) > label:first-child {
    padding-left: 0 !important;
    margin-left: 0 !important;
    text-indent: 0 !important;
  }
  .field select,
  .field input,
  .field input.flatpickr-input,
  .field input[name="departureDate"],
  .field input[name="returnDate"],
  .field textarea {
    padding-left: 8px !important;
    margin-left: 0 !important;
  }
}
@media (max-width: 768px) {
  .field:has(#departureDate),
  .field:has(#returnDate) {
    max-width: 100% !important;
    width: 100% !important;
  }
  #departureDate,
  #returnDate {
    max-width: 100% !important;
    width: 100% !important;
  }
}
@media (max-width: 768px) {
  .search-card {
    margin-top: 160px !important;
  }
}
@media (max-width: 768px) {
  .hero {
    -webkit-mask-image: linear-gradient(to bottom, black 95%, transparent 100%) !important;
    mask-image: linear-gradient(to bottom, black 95%, transparent 100%) !important;
  }
}
@media (max-width: 768px) {
  .hero {
    -webkit-mask-image: linear-gradient(to bottom, black 98%, transparent 100%) !important;
    mask-image: linear-gradient(to bottom, black 98%, transparent 100%) !important;
  }
}
@media (max-width: 768px) {
  .section-thanks,
  .newsletter-section,
  .airline-carousel-section,
  .result-section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  .section-thanks h2 {
    margin-bottom: 15px !important;
  }
  .section-thanks p {
    margin-bottom: 20px !important;
  }
}
@media (max-width: 768px) {
  .section-thanks,
  .newsletter-section,
  .airline-carousel-section,
  .result-section {
    padding-top: 60px !important;
    padding-bottom: 50px !important;
  }
  .section-thanks + .section-thanks {
    margin-top: 30px !important;
  }
}

/* === SECTION SPACING — ALL DEVICES === */
.section-thanks,
.newsletter-section,
.airline-carousel-section,
.result-section {
  padding-top: 60px !important;
  padding-bottom: 50px !important;
}
.section-thanks + .section-thanks {
  margin-top: 30px !important;
}
.result-price {
  margin-bottom: 6px !important;
}
.result-book-btn {
  margin-top: 12px !important;
}

/* === FIX FROM/TO CLIPPING AT 1920x1080 === */
@media (min-width: 1024px) {
  .fields-row {
    max-width: 95% !important;
  }
  #originLocationCode,
  #destinationLocationCode {
    min-width: 140px !important;
  }
}

/* === FIX FROM/TO CLIPPING === */
@media (min-width: 1024px) {
  .fields-row {
    max-width: 95% !important;
    gap: 10px !important;
  }
  .field:has(#originLocationCode),
  .field:has(#destinationLocationCode) {
    min-width: 120px !important;
    flex: 1.3 !important;
  }
  .field:has(.roundtrip-toggle) {
    flex: 0.8 !important;
  }
}

/* === EXPAND FIELDS ROW TO USE FULL CARD WIDTH === */
@media (min-width: 1024px) {
  .fields-row {
    max-width: 100% !important;
    padding: 0 20px !important;
  }
}

/* === FORCE FIELDS TO FILL FULL WIDTH === */
@media (min-width: 1024px) {
  .fields-row {
    max-width: none !important;
    width: 100% !important;
    justify-content: space-between !important;
    gap: 15px !important;
    padding: 0 30px !important;
  }
  .fields-row .field {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }
  .fields-row .field select {
    width: 100% !important;
    min-width: 0 !important;
  }
  .field:has(#originLocationCode),
  .field:has(#destinationLocationCode) {
    flex: 1.5 1 0 !important;
  }
}

/* === FORCE SELECT DROPDOWNS WIDER === */
#originLocationCode,
#destinationLocationCode {
  min-width: 150px !important;
  width: auto !important;
}

/* === HERO AND SEARCH CARD FIX FOR ALL VIEWPORTS === */
@media (min-width: 1400px) {
  .search-card {
    margin-top: 350px !important;
  }
  .hero {
    background-size: 120% auto !important;
    background-position: center 35% !important;
  }
}
@media (min-width: 2500px) {
  .search-card {
    margin-top: 500px !important;
  }
  .hero {
    background-size: 110% auto !important;
    background-position: center 35% !important;
  }
}

/* === ULTRA-WIDE / 50% ZOOM FIX === */
@media (min-width: 1800px) {
  .search-card {
    margin-top: 40vh !important;
  }
}

/* === SEARCH CARD POSITION BY VIEWPORT === */
.search-card {
  margin-top: 25vh !important;
}
@media (min-width: 1800px) {
  .search-card {
    margin-top: 45vh !important;
  }
}

/* === HERO CONTENT POSITION === */
@media (min-width: 769px) and (max-width: 1800px) {
  .hero-content {
    padding-top: 20px !important;
  }
}

@media (min-width: 769px) and (max-width: 1800px) {
  .hero {
    padding-top: 60px !important;
  }
  .hero-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
}
