/* ============================= */
  /* Base */
  /* ============================= */
  body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: #f8fafc;
    color: #0f172a;
  }
  
  /* ============================= */
  /* Header */
  /* ============================= */
  header {
    padding: 24px 48px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }
  
  .logo {
    font-size: 22px;
    font-weight: 700;
    color: #0ea5a4;
  }
  
  /* ============================= */
  /* Hero Section */
  /* ============================= */
  .hero {
    padding: 80px 48px;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }
  /* 🔹 Fare Insights should span full width */
  /* #fare-analysis {
    grid-column: 1 / -1;
  } */
  .hero h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 16px;
  }
  
  .hero p {
    font-size: 18px;
    color: #475569;
    margin-bottom: 32px;
  }
  
  .cta {
    display: inline-block;
    padding: 14px 28px;
    background: #0ea5a4;
    color: #ffffff;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
  }
  
  /* ============================= */
  /* Search Box */
  /* ============================= */
  .search-box {
    background: #ffffff;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }
  
  .search-box input {
    width: 100%;
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 15px;
  }
  
  .search-box button {
    width: 100%;
  }
  
  /* ============================= */
  /* Trust Section */
  /* ============================= */
  .trust {
    padding: 64px 48px;
    background: #ffffff;
    text-align: center;
  }
  
  .trust h2 {
    font-size: 32px;
    margin-bottom: 24px;
  }
  
  .trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: auto;
  }
  
  .trust-card {
    background: #f8fafc;
    padding: 24px;
    border-radius: 16px;
    font-size: 15px;
  }
  
  /* ============================= */
  /* Booking Section */
  /* ============================= */
  .booking-section {
    padding: 40px 48px;
    max-width: 1200px;
    margin: auto;
  }
  
  .booking-section + .booking-section {
    padding-top: 24px;
  }
  
  .booking-section h2 {
    font-size: 36px;
    margin: 0 0 12px;
  }
  
  .booking-section p {
    font-size: 17px;
    color: #475569;
    margin-bottom: 32px;
  }
  
  .booking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 16px;
    overflow: visible;
  }
  
  /* ============================= */
  /* Booking Card */
  /* ============================= */
  .booking-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    overflow: visible;
  }
  
  .booking-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  /* ============================= */
  /* Collapsible */
  /* ============================= */
  .collapsible {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 18px;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    color: #0f172a;
  }
  
  /* .collapse-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: 12px;
  }
  
  .booking-card.active .collapse-content {
    max-height: 5000px;
  } */
  /* ✅ Reliable collapsible for widgets */
.collapse-content {
    display: none;
    margin-top: 16px;
  }
  
  .booking-card.active .collapse-content {
    display: block;
  }

  .collapsible::after {
    content: "▼";
    float: right;
    transition: transform 0.3s ease;
  }
  
  .booking-card.active .collapsible::after {
    transform: rotate(180deg);
  }
  
  /* ============================= */
  /* Affiliate Widgets */
  /* ============================= */
  .affiliate-widget {
    width: 100%;
    overflow-x: auto;
  }
  
  .affiliate-widget iframe {
    width: 100%;
    max-width: 100%;
    border: none;
  }
  
  .affiliate-widget hr {
    margin: 32px 0;
    border: 0;
    border-top: 1px solid #e2e8f0;
  }
  
  /* ============================= */
  /* Widget Placeholder */
  /* ============================= */
  .widget-slot {
    border: 2px dashed #e2e8f0;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
    overflow: visible;
    position: relative;
    z-index: 1;
  }
  
  /* ============================= */
  /* Fare Confidence / Price Bar */
  /* ============================= */
  /* .fare-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    max-width: 800px;          
    margin: 20px auto;         
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  } */

  .fare-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  width: 100%;
}
  
  .fare-bar {
    position: relative;
    margin: 30px 0;
    height: 70px;              /* FIX: more vertical space */
    padding: 0 20px;           /* FIX: prevent clipping */
  }
  
  .fare-track {
    position: absolute;
    top: 32px;
    left: 20px;                /* FIX */
    right: 20px;               /* FIX */
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
  }
  
  .fare-dot {
    position: absolute;
    top: 8px;
    font-size: 12px;
    background: #ffffff;
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid #cccccc;
    white-space: nowrap;
  }
  
  /* Edge-safe positioning */
  .fare-dot.min {
    left: 0%;
    transform: translateX(0);
  }
  
  .fare-dot.first {
    left: 25%;
    transform: translateX(-50%);
  }
  
  .fare-dot.median {
    left: 50%;
    transform: translateX(-50%);
    font-weight: 600;
    border-color: #2563eb;
  }
  
  .fare-dot.third {
    left: 75%;
    transform: translateX(-50%);
  }
  
  .fare-dot.max {
    left: 100%;
    transform: translateX(-100%);
  }
  
  .fare-labels {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    margin-top: 6px;
    font-size: 12px;
    color: #6b7280;
  }
  
  .fare-note {
    font-size: 12px;
    color: #6b7280;
  }
  
  /* ============================= */
  /* Footer */
  /* ============================= */
  footer {
    padding: 32px;
    text-align: center;
    font-size: 14px;
    color: #64748b;
  }
  /* Footer enhancement */
.site-footer {
  padding: 32px;
  text-align: center;
  font-size: 14px;
  color: #64748b;
  background: #ffffff;
}

.site-footer p {
  margin: 0;
}

.footer-contact {
  margin-top: 8px;
  font-size: 13px;
}

.footer-contact a {
  color: #475569;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #0ea5a4;
}

.footer-contact span {
  margin: 0 6px;
  color: #cbd5f5;
}
.logo {
  font-size: 22px;
  font-weight: 700;
  color: #0ea5a4;
  line-height: 1.2;
}

.logo .tagline {
  display: block;          /* forces new line */
  font-size: 13px;
  font-weight: 400;
  color: #64748b;
  margin-top: 4px;
}
/* ============================= */
/* Flight Compensation Section */
/* ============================= */
.compensation-card {
  max-width: 720px;
  margin: auto;
  text-align: center;
  padding: 32px;
}

.compensation-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.compensation-text {
  font-size: 16px;
  color: #475569;
  margin-bottom: 24px;
  line-height: 1.6;
}

.compensation-action {
  margin-bottom: 16px;
}

/* Button style aligned with theme */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
}

.btn-primary {
  background: #0ea5a4;
  color: #ffffff;
}

.btn-primary:hover {
  background: #0891b2;
}

.compensation-note {
  font-size: 13px;
  color: #64748b;
}
/* ============================= */
/* Professional Header / Nav */
/* ============================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: 1200px;
  margin: auto;
  padding: 8px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo block */
.logo-wrap {
  display: flex;
  flex-direction: column;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: #0ea5a4;
  line-height: 1.2;
}

.tagline {
  font-size: 12px;
  color: #64748b;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #0f172a;
  text-decoration: none;
  position: relative;
}

.nav-link:hover {
  color: #0ea5a4;
}

/* Subtle underline hover effect */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #0ea5a4;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* CTA-style link */
.nav-cta {
  padding: 8px 16px;
  border-radius: 10px;
  background: #0ea5a4;
  color: #ffffff;
}

.nav-cta:hover {
  background: #0891b2;
  color: #ffffff;
}

.nav-cta::after {
  display: none;
}
/* ============================= */
/* About Section (Aligned) */
/* ============================= */
.about-section {
  padding: 40px 48px;
  max-width: 1200px;
  margin: auto;
}

.about-section h2 {
  font-size: 36px; /* same as booking-section */
  margin: 0 0 12px;
}

.about-section p {
  font-size: 17px;
  color: #475569;
  line-height: 1.7;
  max-width: 900px; /* improves readability */
}

.about-text {
  max-width: 1200px;
  margin: 0 auto 48px;
  text-align: left;
  font-size: 15px;
  line-height: 1.6;
}
.fare-result-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  font-size: 14px;
}

.fare-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.fare-airline {
  font-weight: 700;
  font-size: 16px;
}

.fare-price {
  font-weight: 700;
  font-size: 18px;
  color: #0ea5a4;
}

.fare-route {
  font-size: 14px;
  margin-bottom: 6px;
}

.fare-time {
  color: #475569;
  font-size: 13px;
}

.fare-stops {
  margin-top: 8px;
  font-size: 13px;
  color: #64748b;
}
/* ============================= */
/* Current Available Fares Table */
/* ============================= */

.current-fares {
  width: 100%;
  margin: 0 auto;
}

.fare-table-header,
.fare-table-row {
  display: grid;
  grid-template-columns:
    1.2fr   /* Flight No */
    1.6fr   /* Route */
    1.2fr   /* Departure */
    1.2fr   /* Arrival */
    1.8fr   /* Stops / Via */
    1fr;    /* Fare */
  gap: 16px;
  align-items: center;
}
.fare-table-header {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
}

/* .fare-row {
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
} */
.fare-table-row {
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
}

.fare-table-row:last-child {
  border-bottom: none;
}
.fare-row:last-child {
  border-bottom: none;
}
/*-----*/
/* .fare-table {
  background: #ffffff;
  margin-top: 24px;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.fare-table h3 {
  margin-bottom: 16px;
  font-size: 20px;
} */
.fare-price {
  font-weight: 700;
  color: #0ea5a4;
}

.fare-airline {
  font-weight: 600;
}
#fare-analysis-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}
/* .fare-row {
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
} */
.content-container {
  max-width: 1200px;   /* SAME as booking-section */
  margin: 0 auto;
  padding: 0 24px;
}
.fare-context {
  font-size: 13px;
  color: #64748b;
  margin-top: 4px;
  margin-bottom: 14px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fare-context.visible {
  opacity: 1;
}

/* ============================= */
/* Mobile Responsiveness */
/* ============================= */
@media (max-width: 768px) {

  /* Global spacing */
  body {
    font-size: 14px;
  }

  /* Header */
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px;
  }

  .main-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
  }

  .nav-link {
    font-size: 14px;
  }

  /* Hero Section */
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    gap: 32px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 15px;
  }

  /* Search box */
  .search-box {
    padding: 24px;
  }

  .search-box input,
  .search-box button {
    font-size: 14px;
  }

  /* Booking sections */
  .booking-section {
    padding: 32px 20px;
  }

  .booking-section h2 {
    font-size: 28px;
  }

  .booking-section p {
    font-size: 15px;
  }

  /* Cards */
  .booking-card,
  .fare-card,
  .fare-result-card {
    padding: 18px;
    border-radius: 14px;
  }

  /* Booking grid */
  .booking-grid {
    grid-template-columns: 1fr;
  }

  /* Fare bar */
  .fare-bar {
    height: 90px;
    padding: 0 12px;
  }

  .fare-track {
    left: 12px;
    right: 12px;
  }

  .fare-dot {
    font-size: 11px;
    padding: 5px 6px;
  }

  /* Fare labels */
  .fare-labels {
    font-size: 11px;
  }

  /* Fare table → stacked layout */
  .fare-table-header {
    display: none;
  }

  .fare-table-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 0;
  }

  .fare-table-row span {
    display: block;
    font-size: 13px;
  }

  .fare-table-row span::before {
    content: attr(data-label);
    font-size: 11px;
    color: #64748b;
    display: block;
  }

  /* Footer */
  .site-footer {
    padding: 24px 16px;
  }

  .footer-contact {
    font-size: 12px;
    text-align: center;
  }

}
/*------*/
.input-group {
    position: relative;
  }
  
  .suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    z-index: 50;
  }
  
  .suggestion-item {
    padding: 12px 14px;
    cursor: pointer;
    font-size: 14px;
  }
  
  .suggestion-item:hover {
    background: #f1f5f9;
  }
  
  .suggestion-item span {
    color: #64748b;
    font-size: 13px;
  }
  
  /*------*/
  .loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .loader-content {
    text-align: center;
    font-family: Inter, sans-serif;
    color: #0f172a;
  }
  
  .loader-content img {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
  }
.search-box input:disabled,
.search-box button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================= */
/* Blog Layout (FareGlider Theme) */
/* ============================= */

.blog-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 24px;
  }
  
  /* Blog header */
  .blog-header {
    margin-bottom: 32px;
  }
  
  .blog-header h1 {
    font-size: 40px;
    line-height: 1.25;
    margin-bottom: 12px;
  }
  
  .blog-header p {
    font-size: 17px;
    color: #475569;
  }
  
  /* Blog article */
  .blog-post article {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  }
  
  /* Headings */
  .blog-post h2 {
    font-size: 26px;
    margin: 40px 0 12px;
  }
  
  .blog-post h3 {
    font-size: 20px;
    margin: 28px 0 10px;
  }
  
  /* Text */
  .blog-post p {
    font-size: 16px;
    line-height: 1.75;
    color: #334155;
    margin-bottom: 18px;
  }
  
  .blog-post ul {
    padding-left: 20px;
    margin-bottom: 20px;
  }
  
  .blog-post li {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 10px;
  }
  
  /* Callout / CTA */
  .blog-cta {
    margin-top: 48px;
    padding: 32px;
    background: #f8fafc;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e2e8f0;
  }
  
  .blog-cta h3 {
    font-size: 22px;
    margin-bottom: 10px;
  }
  
  .blog-cta p {
    font-size: 15px;
    color: #475569;
    margin-bottom: 20px;
  }
  
  /* ============================= */
  /* Blog Listing Page */
  /* ============================= */
  
  .blog-list {
    max-width: 1100px;
    margin: auto;
    padding: 48px 24px;
  }
  
  .blog-list h1 {
    font-size: 36px;
    margin-bottom: 8px;
  }
  
  .blog-subtitle {
    font-size: 17px;
    color: #475569;
    margin-bottom: 32px;
  }
  
  .blog-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    margin-bottom: 24px;
  }
  
  .blog-card h2 {
    font-size: 22px;
    margin-bottom: 10px;
  }
  
  .blog-card a {
    text-decoration: none;
    color: #0f172a;
  }
  
  .blog-card a:hover {
    color: #0ea5a4;
  }
  
  .blog-card p {
    font-size: 15px;
    color: #475569;
    margin-bottom: 14px;
  }
  
  .read-more {
    font-size: 14px;
    font-weight: 600;
    color: #0ea5a4;
  }
  
  /* ============================= */
  /* Mobile Blog */
  /* ============================= */
  @media (max-width: 768px) {
    .blog-header h1 {
      font-size: 30px;
    }
  
    .blog-post article {
      padding: 24px;
    }
  
    .blog-list h1 {
      font-size: 28px;
    }
  }
  .date-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  
  .date-group label {
    font-size: 13px;
    color: #64748b;
  }
  /* Make currency selector match other inputs */
.input-group select {
    width: 100%;
    padding: 10px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    color: #333;
    appearance: none; /* removes default arrow in some browsers */
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
  }
  .input-group select {
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="10" width="10" xmlns="http://www.w3.org/2000/svg"><polygon points="0,0 10,0 5,5"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px;
    padding-right: 30px; /* space for arrow */
  }
  
  .input-group label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
  }
  
  .input-group.currency-group {
    flex: 1; /* if inside flex container with other inputs */
    min-width: 120px;
    margin-bottom: 12px;
  }
  
  @media (max-width: 768px) {

    .site-header {
      padding: 12px 16px;
    }
  
    .header-container {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
    }
  
    .logo-wrap {
      width: 100%;
    }
  
    .main-nav {
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
  
    .main-nav a {
      font-size: 14px;
      padding: 6px 8px;
    }
  }

  
  @media (max-width: 768px) {

    .search-box {
      display: flex;
      flex-direction: column;
      gap: 12px;
      width: 100%;
    }
  
    .input-group {
      width: 100%;
    }
  
    .input-group input,
    .input-group select {
      width: 100%;
    }
  
    .cta {
      width: 100%;
    }
  }

  
  @media (max-width: 768px) {

    .fare-bar {
      position: relative;
      overflow-x: auto;
      padding-bottom: 24px;
    }
  
    .fare-price {
      font-size: 12px;
      white-space: nowrap;
    }
  
    .fare-labels {
      font-size: 12px;
      display: flex;
      justify-content: space-between;
    }
  }

  @media (max-width: 480px) {

    .fare-bar {
      display: none;
    }
  
    .fare-labels {
      display: none;
    }
  
    .fare-card::after {
      content: "Scroll down for price breakdown";
      display: block;
      font-size: 13px;
      color: #777;
      margin-top: 8px;
    }
  }

  
  @media (max-width: 768px) {

    .fare-table-header {
      display: none;
    }
  
    #fare-rows {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
  
    .fare-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      row-gap: 6px;
      font-size: 14px;
    }
  }

  * {
    box-sizing: border-box;
  }
  
  body {
    overflow-x: hidden;
  }

  /* Logo text */
.logo {
    font-weight: 700;
    line-height: 1.1;
    font-size: clamp(22px, 3vw, 36px);
  }
  
  /* Tagline text */
  .tagline {
    display: block;
    margin-top: 4px;
    font-weight: 500;
    color: #666;
    font-size: clamp(12px, 1.6vw, 16px);
  }

  .logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  @media (max-width: 360px) {
    .logo {
      font-size: 20px;
    }
  
    .tagline {
      font-size: 11px;
    }
  }
  .main-nav a {
    font-size: clamp(13px, 1.4vw, 15px);
  }
  .logo {
    letter-spacing: 0.3px;
  }
  
  .tagline {
    opacity: 0.85;
  }
        

  .mobile-notice {
    display: none; /* hide by default */
    background-color: #fffae6;
    color: #333;
    text-align: center;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #f0e6c2;
  }
  
  @media (max-width: 768px) {
    .mobile-notice {
      display: block; /* show only on screens <= 768px */
    }
  }
  .fare-insights-notice {
    background: #0b2033;
    border-left: 4px solid #e8b917;
    padding: 12px 16px;
    margin-top: 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #ffffff;
  }
  