/* ===================================================================
   JetBlue Alaska Flight Deals - Modern Design System & Stylesheet
   Replicating and elevating all components from reservationsdeal.com/international-ticket-to/alaska
   =================================================================== */

:root {
  --jb-primary: #0033a0;       /* JetBlue TrueBlue */
  --jb-navy: #00205b;          /* JetBlue Deep Navy */
  --jb-sky: #00a3e0;           /* JetBlue Cyan / Sky */
  --jb-sky-light: #e0f2fe;     /* Light Sky Tint */
  --jb-accent: #ff6600;        /* Reservations Deal Orange Accent */
  --jb-accent-hover: #eb5e00;  /* Orange Hover */
  --jb-success: #10b981;       /* Success Green */
  --jb-warning: #f59e0b;       /* Gold / Star / Warning */
  --jb-danger: #ef4444;        /* Error Red */
  
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border-light: #e2e8f0;
  --border-focus: #0033a0;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 32, 91, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 32, 91, 0.12);
  --shadow-xl: 0 20px 35px rgba(0, 32, 91, 0.16);
  
  --font-main: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 100%;
  overflow-x: clip;
}

a {
  color: var(--jb-primary);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--jb-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===================================================================
   1. TOP ANNOUNCEMENT & UTILITIES BAR
   =================================================================== */
.top-notice-bar {
  background: var(--jb-navy);
  color: #ffffff;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-notice-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-notice-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-trueblue {
  background: linear-gradient(135deg, #00a3e0, #0033a0);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.top-notice-text {
  font-weight: 500;
  color: #e2e8f0;
}

.top-notice-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-phone-link {
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.top-phone-link:hover {
  color: #38bdf8;
}

.top-phone-link svg {
  stroke: #ff6600;
}

/* ===================================================================
   2. MAIN HEADER
   =================================================================== */
.main-header {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-mobile-nav {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
}

.btn-mobile-nav:hover {
  background: var(--bg-alt);
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 26px;
  font-weight: 900;
  color: var(--jb-primary);
  letter-spacing: -0.8px;
  line-height: 1;
}

.brand-title span {
  color: var(--jb-accent);
}

.brand-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 3px;
}

/* ===================================================================
   2.1 HEADER NAVIGATION LINKS (PAGE SECTIONS)
   =================================================================== */
.header-nav-menu {
  display: flex;
  align-items: center;
}

.header-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav-link {
  display: inline-block;
  padding: 6px 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
  position: relative;
}

.header-nav-link:hover {
  color: var(--jb-primary);
  background: rgba(0, 51, 160, 0.06);
}

.header-nav-link.active {
  color: var(--jb-primary);
  background: rgba(0, 51, 160, 0.08);
  font-weight: 700;
}

.header-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--jb-primary);
  border-radius: 2px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-call-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff8f3;
  border: 1px solid #ffd8bf;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  transition: transform 0.2s, box-shadow 0.2s;
}

.header-call-box:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(255, 102, 0, 0.15);
}

.call-pulse-icon {
  width: 36px;
  height: 36px;
  background: var(--jb-accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(255, 102, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 102, 0, 0); }
}

.call-numbers {
  display: flex;
  flex-direction: column;
}

.call-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--jb-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.call-phone-link {
  font-size: 15px;
  font-weight: 800;
  color: var(--jb-navy);
  line-height: 1.2;
}

.call-phone-link:hover {
  color: var(--jb-accent);
}

.call-phone-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.header-select-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dropdown-custom {
  position: relative;
}

.dropdown-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.dropdown-btn:hover {
  border-color: var(--jb-primary);
  background: #f8fafc;
}

.dropdown-menu-box {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 140px;
  z-index: 100;
  display: none;
  overflow: hidden;
}

.dropdown-menu-box.show {
  display: block;
  animation: fadeInDown 0.2s ease;
}

.dropdown-item {
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.15s;
}

.dropdown-item:hover {
  background: var(--jb-sky-light);
  color: var(--jb-primary);
}

.btn-signin {
  background: var(--jb-primary);
  color: #ffffff;
  border: none;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-signin:hover {
  background: var(--jb-navy);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 51, 160, 0.25);
}

/* ===================================================================
   3. NAVIGATION TABS BAR
   =================================================================== */
.nav-tabs-bar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 20px -2px rgba(0, 32, 91, 0.05);
  position: relative;
  z-index: 950;
  transition: all 0.3s ease;
}

.nav-tabs-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-tabs-list {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 8px;
  padding: 8px 0;
  -webkit-overflow-scrolling: touch;
}

.nav-tabs-list::-webkit-scrollbar {
  display: none;
}

.nav-tab-item {
  position: relative;
  flex-shrink: 0;
}

.nav-tab-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  white-space: nowrap;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
  border: 1px solid transparent;
  text-decoration: none;
}

.nav-tab-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: var(--jb-navy);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.nav-tab-icon svg,
.nav-tab-link > svg {
  stroke: var(--jb-navy);
  transition: stroke 0.25s ease, transform 0.25s ease;
}

.nav-tab-text {
  transition: color 0.25s ease;
  font-weight: 600;
}

.nav-tab-link:hover {
  color: var(--jb-primary);
  background: rgba(0, 51, 160, 0.05);
  border-color: rgba(0, 51, 160, 0.1);
  transform: translateY(-1px);
}

.nav-tab-link:hover .nav-tab-icon {
  background: var(--jb-sky-light);
  color: var(--jb-primary);
  transform: scale(1.06);
}

.nav-tab-link:hover .nav-tab-icon svg,
.nav-tab-link:hover > svg {
  stroke: var(--jb-primary);
}

.nav-tab-link.active {
  color: var(--jb-primary);
  font-weight: 700;
  background: linear-gradient(135deg, rgba(0, 51, 160, 0.08), rgba(0, 163, 224, 0.08));
  border-color: rgba(0, 51, 160, 0.18);
  box-shadow: 0 2px 8px rgba(0, 51, 160, 0.08);
}

.nav-tab-link.active .nav-tab-icon {
  background: linear-gradient(135deg, var(--jb-primary), #0052cc);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 51, 160, 0.28);
}

.nav-tab-link.active .nav-tab-icon svg,
.nav-tab-link.active > svg {
  stroke: #ffffff;
}

.nav-tab-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--jb-accent), #ff8533);
  box-shadow: 0 2px 6px rgba(255, 102, 0, 0.5);
}

.badge-new {
  background: linear-gradient(135deg, #ff2d55, #ff6b3d);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(255, 45, 85, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
  margin-left: 2px;
  animation: pulse-badge 1.8s infinite ease-in-out;
}

@keyframes pulse-badge {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(255, 45, 85, 0.4);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 3px 12px rgba(255, 45, 85, 0.65);
  }
}

.nav-tabs-extra {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-extra-deal-link {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #fff8f0;
  border: 1px dashed rgba(255, 102, 0, 0.45);
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--jb-navy);
  text-decoration: none;
  transition: all 0.25s ease;
}

.nav-extra-deal-link:hover {
  background: var(--jb-accent);
  border-color: var(--jb-accent);
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(255, 102, 0, 0.35);
  transform: translateY(-1px);
}

.nav-extra-deal-link:hover svg {
  stroke: #ffffff;
}

/* ===================================================================
   4. MOBILE OFF-CANVAS DRAWER
   =================================================================== */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-drawer.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-panel {
  width: 310px;
  max-width: 85%;
  height: 100%;
  background: #ffffff;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 5px 0 25px rgba(0, 0, 0, 0.2);
}

.mobile-nav-drawer.open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

.mobile-close-btn {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.mobile-nav-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.mobile-menu-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--text-dark);
}

.mobile-menu-links a:hover, .mobile-menu-links a.active {
  background: var(--jb-sky-light);
  color: var(--jb-primary);
}

.mobile-support-box {
  background: #fff7ed;
  border: 1px solid #ffedd5;
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.mobile-support-box p {
  font-size: 12px;
  font-weight: 600;
  color: var(--jb-accent);
  margin-bottom: 6px;
}

.mobile-phone-btn {
  display: block;
  background: var(--jb-accent);
  color: #fff;
  padding: 10px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
}

/* ===================================================================
   4.5 SPECIAL FLIGHT OFFER BANNER (TFN HEADER COMPONENT)
   =================================================================== */
.tfn_banner_header {
  background-color: #fff4f4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 50px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #fee2e2;
  min-height: 280px;
}

.tfn_content_wrap {
  width: 320px;
  flex-shrink: 0;
  text-align: center;
  padding: 20px 0;
  z-index: 2;
}

.tfn_assist_title {
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 10px;
  text-align: center;
  letter-spacing: 0.1px;
}

.btn_wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.tfn_header_btn {
  background-color: #000000;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  height: 44px;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  width: 100%;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.tfn_header_btn:hover {
  background-color: #ff6600;
  transform: translateY(-1px);
}

.tfn_header_btn_flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.tfn_header_btn_flag img {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 3px;
}

.lc_label {
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
  margin: 4px 0 6px 0;
  text-align: center;
  letter-spacing: 0.4px;
}

.right-arrowap-wrp {
  position: relative;
  width: 100%;
  margin-bottom: 12px;
}

.right-arrowap-wrp .tfn_header_btn {
  margin-bottom: 0;
}

.tfn-down-pointer {
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #000000;
  z-index: 5;
}

/* Slider / carousel for country tabs */
.buttonContainer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  position: relative;
}

.btn-slider-arrow {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.btn-slider-arrow:hover {
  background: rgba(0, 0, 0, 0.08);
}

.country-slider-track {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px;
  flex: 1;
}

.country-slider-track::-webkit-scrollbar {
  display: none;
}

.country-chip-btn {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: #111827;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.country-chip-btn img {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}

.country-chip-btn.active {
  border: 2px solid #ff6600;
  font-weight: 700;
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.14);
}

/* Center Content */
.content_wrap {
  flex: 1;
  text-align: center;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.offer_subheading {
  font-size: 26px;
  font-weight: 700;
  color: #222222;
  margin: 0 0 4px 0;
  letter-spacing: -0.3px;
}

.offer_heading {
  font-size: 32px;
  font-weight: 800;
  color: #222222;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
}

.span_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.offer_perk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.booking_badge {
  display: inline-block;
  color: #6b3a30;
  border-radius: 8px;
  padding: 8px 22px;
  border: 1px dashed #e2c0b8;
  background-color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}

/* Right Angled Airplane Image */
.tfn_header_banner_img {
  background-image: url('assets/images/tfn_header_popup.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center right;
  width: 34%;
  height: 280px;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0% 100%);
  flex-shrink: 0;
  z-index: 1;
}

/* ===================================================================
   5. HERO BANNER & SEARCH ENGINE (WITH UNSPLASH BEACH BACKGROUND)
   =================================================================== */
.hero-banner-section {
  position: relative;
  background: #0284c7 url('assets/images/hero-unsplash-bg.jpg') center 35% / cover no-repeat;
  padding: 44px 0 64px 0;
  color: #ffffff;
  overflow: visible;
}

.hero-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 20, 60, 0.4) 0%, rgba(0, 0, 0, 0.12) 50%, rgba(0, 0, 0, 0.28) 100%);
  pointer-events: none;
}

.hero-banner-content {
  position: relative;
  z-index: 10;
}

.hero-headline-group {
  text-align: center;
  margin-bottom: 28px;
}

.hero-main-title {
  font-size: 38px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-main-title span {
  color: #ff9933;
  text-decoration: underline;
  text-decoration-color: var(--jb-sky);
  text-underline-offset: 6px;
}

.hero-subtitle {
  font-size: 17px;
  font-weight: 400;
  color: #e2e8f0;
  max-width: 680px;
  margin: 0 auto;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ===================================================================
   5. SEARCH ENGINE (PIXEL-PERFECT MATCH TO REFERENCE SCREENSHOT)
   =================================================================== */

.search-engine-wrapper {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  z-index: 20;
}

/* Center Service Tabs */
.tabs-center-engine {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  position: relative;
  z-index: 5;
  margin-bottom: -1px;
}

.engine-service-tabs {
  display: inline-flex;
  align-items: stretch;
  background: #ffffff;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  position: relative;
  height: 50px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.04);
}

/* Concave corner scoops seamlessly merging tabs to the card */
.engine-service-tabs::before {
  content: '';
  position: absolute;
  right: 100%;
  bottom: 0;
  width: 22px;
  height: 22px;
  background: transparent;
  border-bottom-right-radius: 20px;
  box-shadow: 6px 10px 0 0 #ffffff;
  pointer-events: none;
}

.engine-service-tabs::after {
  content: '';
  position: absolute;
  left: 100%;
  bottom: 0;
  width: 22px;
  height: 22px;
  background: transparent;
  border-bottom-left-radius: 20px;
  box-shadow: -6px 10px 0 0 #ffffff;
  pointer-events: none;
}

.engine-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: #4b5563;
  cursor: pointer;
  position: relative;
  height: 100%;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.engine-tab-btn:hover {
  color: #ff6600;
}

.engine-tab-btn.active {
  color: #1e293b;
  font-weight: 700;
  border-bottom: 3px solid #ff6600;
}

.tab-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.tab-svg-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.engine-tab-sep {
  width: 1px;
  height: 22px;
  background: #eaeaea;
  align-self: center;
}

/* Main Search Card */
.search-engine-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  padding: 24px 32px 28px 32px;
  position: relative;
  z-index: 2;
}

/* Trip Type Radio Buttons */
.engine-trip-type {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 18px;
}

.trip-radio-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: #333333;
  user-select: none;
  position: relative;
}

.trip-radio-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.custom-radio-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #9ca3af;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  background: #ffffff;
}

.trip-radio-label input[type="radio"]:checked + .custom-radio-circle {
  border-color: #ff6600;
}

.trip-radio-label input[type="radio"]:checked + .custom-radio-circle::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ff6600;
}

.radio-text {
  letter-spacing: 0.1px;
}

/* Main Input Fields Grid */
.flight-form-grid {
  display: grid;
  grid-template-columns: 2.15fr 26px 2.15fr 1.35fr 1.35fr 1.75fr;
  align-items: end;
  gap: 8px;
  position: relative;
}

.engine-field-group {
  position: relative;
}

.engine-field-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.engine-input-box {
  height: 50px;
  border: 1px solid #9ca3af;
  border-radius: 6px;
  background: #ffffff;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.engine-input-box:focus-within {
  border-color: #ff6600;
  box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.15);
}

.engine-icon-location {
  flex-shrink: 0;
}

.engine-text-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
  font-family: inherit;
}

.engine-text-input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

/* Airport Swap Button with Opposing Planes */
.swap-airports-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
}

.btn-swap-airports {
  width: 26px;
  height: 50px;
  border-top: 1px solid #9ca3af;
  border-bottom: 1px solid #9ca3af;
  border-left: none;
  border-right: none;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  color: #374151;
  font-size: 11px;
  line-height: 1;
  transition: color 0.2s ease, transform 0.25s ease;
  padding: 0;
}

.btn-swap-airports:hover {
  color: #ff6600;
}

.swap-plane-top {
  display: inline-block;
  transform: rotate(0deg);
}

.swap-plane-bottom {
  display: inline-block;
  transform: rotate(180deg);
}

/* Date Box */
.engine-input-box.date-box {
  cursor: pointer;
  position: relative;
  user-select: none;
}

.engine-icon-calendar {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.engine-date-display {
  font-size: 15px;
  font-weight: 700;
  color: #222222;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.engine-hidden-date {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 5;
}

/* Travellers & Class Box */
.engine-input-box.pax-box {
  cursor: pointer;
  position: relative;
  user-select: none;
}

.engine-icon-user {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.pax-summary-text {
  font-size: 14px;
  font-weight: 700;
  color: #222222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.engine-chevron {
  margin-left: auto;
  flex-shrink: 0;
  stroke: #717171;
}

/* Autocomplete Dropdown */
.autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  max-height: 280px;
  overflow-y: auto;
  z-index: 1050;
  display: none;
}

.autocomplete-list.show {
  display: block;
  animation: fadeInDown 0.2s ease;
}

.autocomplete-item {
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.selected {
  background: #eff6ff;
}

.ac-city-name {
  font-weight: 600;
  font-size: 14px;
  color: #1e293b;
}

.ac-airport-name {
  font-size: 12px;
  color: #64748b;
}

.ac-code {
  background: #f1f5f9;
  color: #00205b;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
}

/* Travellers Popover Box */
.traveller-selector-card {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 18px;
  width: 300px;
  z-index: 1050;
  display: none;
}

.traveller-selector-card.show {
  display: block;
  animation: fadeInDown 0.2s ease;
}

.cabin-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
  letter-spacing: 0.5px;
}

.cabin-class-select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
  outline: none;
  background: #f8fafc;
}

.pax-counter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.pax-info-col label {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  display: block;
}

.pax-info-col span {
  font-size: 11px;
  color: #64748b;
}

.pax-counter-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-counter {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #ff6600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-counter:hover {
  background: #fff7ed;
  border-color: #ff6600;
}

.btn-counter:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pax-count-display {
  font-size: 15px;
  font-weight: 700;
  min-width: 24px;
  text-align: center;
}

.traveller-card-footer {
  border-top: 1px solid #e2e8f0;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pax-note {
  font-size: 11px;
  color: #64748b;
}

.btn-done-pax {
  background: #ff6600;
  color: #ffffff;
  border: none;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-done-pax:hover {
  background: #eb5e00;
}

/* Submit Row with Right-Aligned Search Flights Button */
.engine-submit-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 22px;
}

.btn-search-flights {
  background: #ff6600;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  height: 48px;
  padding: 0 42px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.3);
  transition: all 0.2s ease;
}

.btn-search-flights:hover {
  background: #eb5e00;
  box-shadow: 0 6px 18px rgba(255, 102, 0, 0.4);
  transform: translateY(-1px);
}

.btn-search-flights:active {
  transform: translateY(0);
}

.btn-search-flights .btn-arrow {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn-search-flights:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-search-flights .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}

/* ===================================================================
   6. SPECIAL FLIGHT OFFER STRIP
   =================================================================== */
.special-offer-strip {
  background: linear-gradient(90deg, #00205b, #0033a0);
  color: #ffffff;
  padding: 14px 0;
  border-bottom: 2px solid var(--jb-sky);
}

.special-offer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.offer-message {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.offer-tag {
  background: var(--jb-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.offer-cta-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #ff9933;
  font-size: 15px;
}

.offer-cta-phone:hover {
  color: #ffffff;
}

/* ===================================================================
   7. MAIN CONTENT & SIDEBAR LAYOUT
   =================================================================== */
.main-content-layout {
  padding: 44px 0 60px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: stretch;
}

.article-body-column,
.sidebar-column {
  min-width: 0;
  max-width: 100%;
}

.sidebar-column {
  height: 100%;
}

/* Breadcrumb */
.breadcrumb-nav {
  margin-bottom: 18px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb-list a {
  color: var(--jb-primary);
}

/* Title & Section Styling matching reference Cust_heading */
.article-main-title {
  position: relative;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
  line-height: 1.3;
}

.Cust_heading {
  position: relative;
  width: 100%;
  font-size: 24px !important;
  font-weight: 800;
  color: var(--text-dark);
  margin: 36px 0 20px 0;
  padding-bottom: 12px;
}

.Cust_heading::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 3px;
  background: var(--jb-accent);
}

.Cust_heading::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--jb-sky);
}

.article-paragraph {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 18px;
}

/* Fast Facts Cards */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 24px 0 32px 0;
}

.fact-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--jb-primary);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.fact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.fact-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fact-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 4px;
}

/* Routes Table */
.deal-table-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  width: 100%;
  box-shadow: var(--shadow-sm);
  margin: 20px 0 28px 0;
}

.deal-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  text-align: left;
}

.deal-table th {
  background: var(--jb-navy);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 14px 16px;
  letter-spacing: 0.5px;
}

.deal-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  vertical-align: middle;
}

.deal-table tr:hover {
  background: var(--jb-sky-light);
}

.route-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--text-dark);
}

.route-arrow {
  color: var(--jb-accent);
}

.fare-price {
  font-size: 17px;
  font-weight: 900;
  color: var(--jb-primary);
}

.btn-book-deal {
  background: var(--jb-accent);
  color: #fff;
  border: none;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-book-deal:hover {
  background: var(--jb-accent-hover);
}

/* Amenities Grid */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 20px 0 30px 0;
}

.amenity-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.amenity-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--jb-sky-light);
  color: var(--jb-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.amenity-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.amenity-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* Seasonal Cards */
.season-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 20px 0 30px 0;
}

.season-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.season-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.season-card.summer { border-top: 4px solid #f59e0b; }
.season-card.spring { border-top: 4px solid #10b981; }
.season-card.winter { border-top: 4px solid #00a3e0; }
.season-card.fall { border-top: 4px solid #f97316; }

.season-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.season-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
}

.season-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--bg-alt);
  color: var(--text-muted);
}

.season-card p {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.6;
}

/* Destination Highlights with Images */
.visual-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0 30px 0;
}

.showcase-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.showcase-image-wrapper {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.showcase-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.showcase-card:hover .showcase-image-wrapper img {
  transform: scale(1.05);
}

.showcase-body {
  padding: 18px;
}

.showcase-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.showcase-text {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.6;
}

/* Cost & Budget Section */
.budget-tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin: 20px 0 30px 0;
}

.budget-tier-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.budget-tier-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--jb-navy);
  margin-bottom: 6px;
}

.budget-cost-range {
  font-size: 20px;
  font-weight: 800;
  color: var(--jb-accent);
  margin-bottom: 8px;
}

.budget-tier-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Accordion FAQ */
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 35px 0;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.faq-question-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 14px;
}

.faq-question-btn:hover {
  background: #f8fafc;
  color: var(--jb-primary);
}

.faq-chevron {
  stroke: var(--jb-accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  background: #fdfdfd;
}

.faq-item.active .faq-answer-panel {
  max-height: 350px;
  padding: 0 20px 18px 20px;
  border-top: 1px solid #f1f5f9;
}

.faq-answer-panel p {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.7;
}

/* Review / Comment Form matching reference */
.review-form-section {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 36px;
  box-shadow: var(--shadow-sm);
}

.review-form-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.review-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.review-input-group {
  position: relative;
}

.review-input-group.full-width {
  grid-column: 1 / -1;
}

.review-input-field {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-md);
  font-size: 14px;
  background: #f9fafb;
  outline: none;
  transition: border-color 0.2s;
}

.review-input-field:focus {
  border-color: var(--jb-primary);
  background: #ffffff;
}

.review-input-field.error {
  border-color: var(--jb-danger) !important;
}

.field-error-msg {
  color: var(--jb-danger);
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.btn-post-comment {
  background: var(--jb-accent);
  color: #ffffff;
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-post-comment:hover {
  background: var(--jb-accent-hover);
  transform: translateY(-1px);
}

.review-success-alert {
  background: #10b981;
  color: #ffffff;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-top: 18px;
  display: none;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

/* ===================================================================
   8. SIDEBAR COMPONENTS & STICKY CALLOUTS
   =================================================================== */
.sidebar-sticky-wrapper {
  position: -webkit-sticky;
  position: sticky;
  top: 120px;
  height: max-content;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Sidebar Accordion (Nearest Airport to Alaska) */
.side-accordion-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.side-accordion-header {
  background: var(--jb-navy);
  color: #ffffff;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.side-acc-item {
  border-bottom: 1px solid var(--border-light);
}

.side-acc-toggle {
  width: 100%;
  padding: 12px 18px;
  text-align: left;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.side-acc-toggle:hover {
  background: #f8fafc;
  color: var(--jb-primary);
}

.side-acc-content {
  display: none;
  padding: 12px 18px 16px 18px;
  font-size: 13px;
  color: var(--text-body);
  background: #fdfdfd;
  line-height: 1.6;
}

.side-acc-item.active .side-acc-content {
  display: block;
}

.side-acc-item.active .side-acc-toggle svg {
  transform: rotate(180deg);
}

/* Sidebar Call Box */
.side-call-agent-card {
  background: linear-gradient(135deg, #00205b, #0033a0);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.side-call-agent-card::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.side-call-agent-card h4 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.side-call-agent-card p {
  font-size: 13px;
  color: #e2e8f0;
  margin-bottom: 16px;
}

.side-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--jb-accent);
  color: #ffffff;
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.35);
  transition: background 0.2s, transform 0.2s;
}

.side-call-btn:hover {
  color: #ffffff;
  background: var(--jb-accent-hover);
  transform: translateY(-2px);
}

/* Floating Sidebar Call Bar matching rwt_sidebar_call from reference */
.rwt_sidebar_call {
  position: fixed;
  right: 0;
  top: 45%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rwt_sidebar_call a {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--jb-navy);
  padding: 8px 12px;
  border-radius: 20px 0 0 20px;
  box-shadow: -3px 3px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-light);
  border-right: none;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.rwt_sidebar_call a:hover {
  transform: translateX(-6px);
  background: var(--jb-accent);
  color: #ffffff;
}

.rwt_sidebar_call .flag-icon {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}

/* ===================================================================
   9. FOOTER SECTION
   =================================================================== */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 50px 0 24px 0;
  border-top: 4px solid var(--jb-primary);
}

.footer-why-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 36px;
}

.footer-why-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-why-text {
  font-size: 13.5px;
  line-height: 1.7;
  color: #cbd5e1;
}

/* Contact Cards Strip */
.footer-contact-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.footer-contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #ffffff;
}

.footer-contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 102, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--jb-accent);
  flex-shrink: 0;
}

.footer-contact-info h5 {
  font-size: 11px;
  font-weight: 700;
  color: var(--jb-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-contact-info a, .footer-contact-info span {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.footer-contact-info a:hover {
  color: var(--jb-sky);
}

/* Links 4-column Grid */
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 36px;
}

.footer-col-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--jb-accent);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  font-size: 13.5px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, transform 0.2s;
}

.footer-links-list a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-links-list a svg {
  stroke: var(--jb-accent);
  flex-shrink: 0;
}

/* Disclaimer & Terms */
.footer-disclaimers {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  font-size: 12px;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 24px;
}

.footer-disclaimers h6 {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-copyright-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===================================================================
   10. MODALS & POPUPS
   =================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.open {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.modal-dialog-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 460px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  position: relative;
  animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header-strip {
  background: var(--jb-navy);
  color: #ffffff;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header-strip h3 {
  font-size: 18px;
  font-weight: 800;
}

.btn-close-modal {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.modal-body-content {
  padding: 24px;
}

.modal-auth-step {
  display: none;
}

.modal-auth-step.active {
  display: block;
}

.modal-auth-step p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.modal-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 15px;
  margin-bottom: 16px;
  outline: none;
}

.modal-input:focus {
  border-color: var(--jb-primary);
}

.btn-modal-action {
  width: 100%;
  background: var(--jb-primary);
  color: #ffffff;
  border: none;
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-modal-action:hover {
  background: var(--jb-navy);
}

/* ===================================================================
   11. ANIMATIONS & MEDIA QUERIES
   =================================================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Tablet & Mobile Breakpoints */
@media (max-width: 1200px) {
  .header-nav-link {
    padding: 5px 6px;
    font-size: 12.5px;
  }
}

@media (max-width: 1024px) {
  .header-nav-menu {
    display: none;
  }
  
  .btn-mobile-nav {
    display: block;
  }
}

@media (max-width: 1100px) {
  .flight-form-grid {
    grid-template-columns: 1fr 40px 1fr;
    row-gap: 16px;
  }
  
  .engine-field-group.date-field,
  .engine-field-group.pax-field {
    grid-column: span 1;
  }
  
  .content-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
  }
  
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .tfn_banner_header {
    flex-direction: column;
    padding: 24px 16px;
    align-items: center;
  }

  .tfn_content_wrap {
    width: 100%;
    max-width: 380px;
    order: 2;
    padding: 12px 0 0 0;
  }

  .content_wrap {
    order: 1;
    padding: 0 0 16px 0;
    width: 100%;
    max-width: 100%;
  }

  .offer_subheading {
    font-size: 20px;
  }

  .offer_heading {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .tfn_header_banner_img {
    display: none;
  }

  .flight-form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  
  .swap-airports-container {
    display: none;
  }

  .tabs-center-engine {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
    scrollbar-width: none;
  }

  .tabs-center-engine::-webkit-scrollbar {
    display: none;
  }

  .engine-service-tabs::before,
  .engine-service-tabs::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  
  .sidebar-sticky-wrapper {
    position: static;
    margin-top: 36px;
  }
  
  .btn-mobile-nav {
    display: block;
  }
  
  .nav-tabs-bar {
    display: block;
    overflow: hidden;
  }

  .nav-tabs-extra {
    display: none;
  }

  .nav-tabs-list {
    padding: 8px 0;
    gap: 6px;
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
  }

  .nav-tab-link {
    padding: 6px 12px;
    font-size: 13px;
  }

  .nav-tab-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
  }

  .nav-tab-icon svg {
    width: 15px;
    height: 15px;
  }
  
  .header-call-box .call-phone-sub {
    display: none;
  }
  
  .header-select-group,
  .header-lang-dropdown {
    display: none;
  }
  
  .visual-showcase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .deal-table {
    min-width: 480px;
  }

  .deal-table th, .deal-table td {
    padding: 10px 12px;
    font-size: 13px;
  }

  .tfn_banner_header {
    padding: 20px 12px;
  }

  .tfn_content_wrap {
    max-width: 340px;
  }

  .flight-form-grid {
    grid-template-columns: 1fr;
  }

  .swap-airports-container {
    display: flex;
    justify-content: center;
    margin: -4px 0 -4px 0;
  }

  .btn-swap-airports {
    transform: rotate(90deg);
  }
  
  .search-engine-card {
    padding: 18px 16px;
    border-radius: 12px;
  }
  
  .search-engine-wrapper {
    padding: 0;
  }
  
  .hero-main-title {
    font-size: 26px;
  }
  
  .hero-subtitle {
    font-size: 14px;
  }
  
  .btn-search-flights {
    width: 100%;
    justify-content: center;
  }
  
  .engine-submit-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .review-form-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links-grid {
    grid-template-columns: 1fr;
  }
  
  .rwt_sidebar_call {
    display: none;
  }
  
  .top-notice-bar {
    display: none;
  }
  
  .header-call-box {
    padding: 4px 10px;
  }
  
  .call-phone-link {
    font-size: 13px;
  }
  
  .brand-title {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 8px 0;
    gap: 8px;
  }

  .brand-title {
    font-size: 18px;
  }

  .brand-subtitle {
    display: none;
  }

  .header-call-box {
    padding: 4px 8px;
    gap: 6px;
  }

  .call-pulse-icon {
    width: 28px;
    height: 28px;
  }

  .call-pulse-icon svg {
    width: 14px;
    height: 14px;
  }

  .call-label {
    font-size: 9px;
  }

  .call-phone-link {
    font-size: 12px;
  }

  .deal-table {
    min-width: 420px;
  }

  .container {
    padding: 8px 8px;
  }
}