/* FINAL FIX: Landing Page Hero */
.landing-hero {
    background: #0d47a1;
    color: #ffffff;
    padding: 20px 10px !important;    /* FORCE override */
    text-align: center;
    border-radius: 0 0 18px 18px;
    margin: 0 !important;             /* Remove extra outside spacing */
}

/* Remove global hero spacing */
.landing-hero h1,
.landing-hero p {
    padding: 0 !important;       /* Remove inherited padding */
    margin-top: 4px !important;  /* Tight spacing */
    margin-bottom: 6px !important;
    line-height: 1.3;
}

.landing-hero h1 {
    font-size: 1.9rem !important;
}

.landing-hero p {
    font-size: 1rem !important;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
/* Make Travelpayouts search widget smaller on landing pages */
.widget-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 25px 20px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.06);
}

/* Reduce the height of the input bar */
.widget-box .tp-field, 
.widget-box input[type="text"] {
    height: 45px !important;    /* default is ~60px */
    font-size: 0.95rem !important;
}

/* Reduce Search Button height */
.widget-box button {
    height: 50px !important;
    font-size: 1rem !important;
}

/* Optional: reduce spacing above and below widget */
.tp-widget-search {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}
/* Reduce overall widget padding */
.widget-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 20px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.06);
}

/* Make all input fields shorter */
.widget-box input,
.widget-box select,
.widget-box .tp-field {
    height: 42px !important;
    padding: 6px 10px !important;
    font-size: 0.95rem !important;
}

/* Make the Search Flights button shorter */
.widget-box button {
    height: 48px !important;
    font-size: 1rem !important;
    border-radius: 10px !important;
}

/* Reduce top & bottom spacing inside widget */
.tp-widget-search {
    margin-top: 0 !important;
    margin-bottom: 5px !important;
}
/* ============================================
   LANDING PAGE HERO (Smaller + Clean)
   ============================================ */
.landing-hero {
    background: #0d47a1;
    color: white;
    text-align: center;
    padding: 15px 10px !important;   /* smaller top banner */
    border-radius: 0 0 18px 18px;
    margin-bottom: 10px;             /* reduced gap to widget */
}

.landing-hero h1 {
    font-size: 1.6rem !important;
    margin-bottom: 6px;
}

.landing-hero p {
    font-size: 1rem;
    max-width: 750px;
    margin: 0 auto;
}


/* ============================================
   WIDGET BOX STYLING (Cleaner + Premium)
   ============================================ */
.widget-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08) !important;
}


/* ============================================
   FORM FIELDS — Make them compact
   ============================================ */
#tpwl-search .tp-field,
#tpwl-search input,
#tpwl-search select {
    height: 40px !important;          /* compact height */
    padding: 5px 10px !important;      /* tighter spacing */
    font-size: 0.95rem !important;
}

#tpwl-search .tp-field svg {
    width: 18px !important; 
    height: 18px !important;
}


/* ============================================
   SEARCH BUTTON — smaller + rounded
   ============================================ */
#tpwl-search button {
    height: 44px !important;          /* shorter button */
    font-size: 1rem !important;
    border-radius: 10px !important;
    margin-top: 10px !important;
}


/* ============================================
   WIDGET SPACING — tighter overall layout
   ============================================ */
.tp-widget-search {
    margin-top: 0 !important;
    margin-bottom: 5px !important;
}


/* ============================================
   MULTI-CITY + HOTELS LINK — make smaller
   ============================================ */
.widget-box a {
    font-size: 0.9rem !important;
}

/* ===== Landing hero – shorter, cleaner ===== */
.landing-hero {
    background: #083e9e;
    color: #ffffff;
    text-align: center;
    padding: 18px 10px;
    border-radius: 0 0 18px 18px;
    margin-bottom: 12px;
}

.landing-hero h1 {
    font-size: 1.7rem;
    margin-bottom: 6px;
}

.landing-hero p {
    font-size: 1rem;
    max-width: 760px;
    margin: 0 auto;
}

/* ===== Widget container – width & shadow ===== */
.widget-box {
    max-width: 920px;
    margin: 0 auto;
    padding: 22px 22px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ===== Results help card spacing ===== */
.results-help-card {
    margin-top: 16px;
}

/* ===== SEO text section – nicer reading width ===== */
.seo-section {
    max-width: 920px;
    margin: 30px auto 60px auto;
    font-size: 1rem;
    line-height: 1.7;
}
.seo-section h2 {
    font-size: 1.4rem;
    margin: 0 0 10px;
}
.seo-section h3 {
    font-size: 1.15rem;
    margin: 24px 0 8px;
}
.seo-section ul {
    margin: 0 0 12px 20px;
}
.landing-hero {
    padding: 12px 10px;
}
/* ===============================
   AIRLINE LOGO BAR — PREMIUM STYLE (FIXED SPACING)
   =============================== */

.airline-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 26px;
  margin: 18px auto 10px auto;   /* <— reduced bottom margin */
  padding-bottom: 8px;           /* <— reduced padding */
  max-width: 1000px;
  border-bottom: 1px solid #eee;
}

.airline-logos img {
  height: 26px;
  object-fit: contain;
  filter: grayscale(18%);
  opacity: 0.90;
  transition: all 0.2s ease-in-out;
}

.airline-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.07);
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .airline-logos {
    gap: 16px;
    padding-bottom: 5px;
    margin-bottom: 6px;
  }

  .airline-logos img {
    height: 22px;
  }
}
.lp-search-container {
  margin-top: 5px !important; /* reduces space from logos */
}
/* ===== Premium Airline Logo Hover Animation ===== */
.airline-logos img {
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0.9;
}

.airline-logos img:hover {
  transform: translateY(-3px) scale(1.04);
  opacity: 1;
}
/* ===============================
   LANDING PAGE — Airline Bar Auto-Shrink
   =============================== */

.airline-logo-section {
  position: relative;
  z-index: 5;
  transition: padding 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.airline-logo-section.shrink {
  padding: 2px 0 !important;
  transform: scale(0.78); /* smaller than homepage */
  opacity: 0.92;          /* slight fade to show scroll started */
}

/* Prevent overlap with hero */
.airline-logos {
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Premium Hover Micro-Animations */
.airline-logos img {
  height: 50px;
  object-fit: contain;
  opacity: 0.9;
  filter: grayscale(20%);
  transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
}

.airline-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-3px) scale(1.06);
}

/* Mobile */
@media (max-width: 600px) {
  .airline-logo-section.shrink {
    transform: scale(0.72); /* shrink more on mobile */
  }

  .airline-logos img {
    height: 22px;
  }
}
.airline-logos {
  border-bottom: none !important;
  padding-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.airline-logo-section {
  background: #ffffff;
  padding: 8px 0;
}

.airline-logos {
  background: #fff;
  padding: 10px 20px;
  border-radius: 14px;
  box-shadow: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin: 10px auto 0 auto;
  max-width: 1050px;
}
/* Keep AI content nicely aligned & readable */
.ai-options-grid,
.steps-grid,
.links-grid {
  max-width: 900px;
  margin: 0 auto;
}

/* Make sure headings + text are left-aligned in content sections */
.section-alt .container,
.section .container {
  text-align: left;
}

/* Step layout: number + title on same line */
.step {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.step h3 {
  margin: 0;
}

.step-number {
  font-size: 1rem;
  background: #0d47a1;
  color: #fff;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
}
.popular-routes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.popular-routes a {
  padding: 10px 18px;
  background: #eaf2ff;
  color: #0d47a1;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid #c7dbff;
  transition: 0.2s ease-in-out;
}

.popular-routes a:hover {
  background: #0d47a1;
  color: #fff;
}
/* FAQ Accordion */
.faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
}

.faq-question {
  width: 100%;
  background: #f7f9fc;
  border: none;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
  color: #0d47a1;
  transition: background 0.2s;
}

.faq-question:hover {
  background: #eaf1ff;
}

.faq-question.active {
  background: #dce8ff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 10px 15px 10px;
  color: #333;
}

/* ===== Brand-Aligned Premium SEO Card ===== */
.seo-section {
    max-width: 780px;
    margin: 60px auto;
    padding: 50px 60px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(13, 71, 161, 0.10);
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #1a1a1a;
    border: 1px solid #e0ecff;
}

.seo-section h2,
.seo-section h3 {
    color: #0d47a1;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 14px;
}

.seo-section h2 {
    font-size: 1.6rem;
    letter-spacing: 0.4px;
}

.seo-section h3 {
    font-size: 1.25rem;
    letter-spacing: 0.2px;
}

.seo-section ul {
    padding-left: 0;
    list-style: none;
}

.seo-section li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
}

.seo-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: #0d47a1;
    border-radius: 50%;
}

/* Restore white page background */
body {
    background: #ffffff;
}

/* Keep footer blue */
footer#contact {
    background: #0d47a1;
}
/* remove the blank strip above the results card */
#tpwl-search + * {          /* first element after the widget header */
    margin-top: -4px !important;   /* tweak until headline kisses hero */
}

/* zero the first heading inside the SEO block */
.seo-section h2:first-of-type {
    margin-top: 0 !important;
}

/* optional: also tighten the card itself */
.seo-section { 
    margin-top: 20px !important;   /* instead of 60px */
    padding-top: 30px !important;  /* instead of 50px */
}

/* Collapsible Region */
.region {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f9ff;
  border: 1px solid #d0e2ff;
}

/* Region Header */
.region-header {
  width: 100%;
  background: #e9f2ff;
  color: #0d47a1;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 12px 20px;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.toggle-icon {
  font-size: 1.6rem;
  font-weight: bold;
}

/* Hidden by default */
.region-content {
  display: none;
  padding: 20px;
}

/* GRID */
.city-button-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

/* SKYSCANNER NEUMORPHIC BUTTON */
.city-btn {
  padding: 14px 18px;
  background: linear-gradient(145deg, #c5d9ff, #aecdff);
  border-radius: 18px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  color: #0d47a1;
  display: flex;
  align-items: center;
  gap: 10px;

  box-shadow:
    4px 4px 12px rgba(0,0,0,0.08),
    -4px -4px 12px rgba(255,255,255,0.9);

  transition: all .25s ease;
}

/* ICON NEXT TO TEXT */
.city-btn .icon {
  font-size: 1.2rem;
}

/* Hover effect */
.city-btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(145deg, #e0eeff, #ffffff);
  box-shadow:
    6px 6px 16px rgba(0,0,0,0.12),
    -6px -6px 16px rgba(255,255,255,0.9);
}

/* MOBILE */
@media (max-width: 600px) {
  .city-button-grid { grid-template-columns: 1fr; }
}


