/* =============================================
   FLYVIS - GLOBAL DESIGN SYSTEM
   Colors: Deep Green #0F172A | Emerald #0ea5e9 | White #FFFFFF
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* === CUSTOM FONT: KLARA SANS SERIF === */
@font-face {
  font-family: 'Klara';
  src: url('../assets/fonts/Klara.woff2') format('woff2'),
       url('../assets/fonts/Klara.woff') format('woff'),
       url('../assets/fonts/Klara.otf') format('opentype'),
       url('../assets/fonts/Klara.ttf') format('truetype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* === CSS CUSTOM PROPERTIES (BRAND GUIDELINES) === */
:root {
  --brand-black: #0D1B2A;
  --brand-navy: #1E3A46;
  --brand-teal: #2E7D7E;
  --brand-teal-light: #7EC0C5;
  --brand-ice: #DCECEC;
  --brand-bg: #F4F7F7;
  --brand-white: #FFFFFF;

  --navy: #0D1B2A;
  --navy-dark: #070F18;
  --navy-light: #1E3A46;
  --ocean: #2E7D7E;
  --ocean-light: #7EC0C5;
  --ocean-dark: #1F5F60;
  --white: #FFFFFF;
  --off-white: #F4F7F7;
  --light-gray: #EAF1F1;
  --border: #DCECEC;
  --border-dark: #B9D5D6;
  --text-dark: #0D1B2A;
  --text-medium: #1E3A46;
  --text-muted: #56727D;
  --text-light: #8BA2AC;
  --shadow-sm: 0 1px 3px rgba(13, 27, 42, 0.05);
  --shadow: 0 4px 10px rgba(13, 27, 42, 0.07);
  --shadow-md: 0 10px 25px rgba(13, 27, 42, 0.1);
  --shadow-lg: 0 20px 40px rgba(13, 27, 42, 0.12);
  --shadow-green: 0 10px 30px rgba(46, 125, 126, 0.25);
  --shadow-teal: 0 10px 30px rgba(46, 125, 126, 0.25);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .section-title, .hero h1, .browse-hero h1, .dt-hero h1, .ff-hero h1, .detail-section-title, .atl-hero-title, .detail-title, .dt-how-inner h2 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-main);
}

img {
  max-width: 100%;
  height: auto;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light-gray); }
::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 3px; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}


.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
}

.nav-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .nav-inner {
    display: flex;
    justify-content: space-between;
  }
}




/* Brand Logo */
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-icon {
  height: 48px;
  width: auto;
  max-width: 48px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.05;
}
.nav-logo-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 25px;
  font-weight: 700;
  color: #0D1B2A;
  letter-spacing: -0.4px;
}
.nav-logo-brand .brand-vis {
  color: #0D1B2A;
}
.nav-logo-brand .brand-dot {
  color: #2E7D7E;
}
.nav-logo-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 9.5px;
  font-weight: 500;
  color: #56727D;
  letter-spacing: 0.2px;
  margin-top: 2px;
}

/* Dark background variant (Footer & Admin Sidebar) */
.footer .nav-logo-brand,
.admin-sidebar .nav-logo-brand {
  color: #FFFFFF;
}
.footer .nav-logo-tagline,
.admin-sidebar .nav-logo-tagline {
  color: #7EC0C5;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-medium);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--light-gray);
  color: var(--navy);
  font-weight: 600;
}

/* Nav Right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Currency Selector */
.currency-selector-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.global-currency-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--white);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-full);
  padding: 6px 28px 6px 12px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  outline: none;
  transition: var(--transition);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232E7D7E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.global-currency-select:hover, .global-currency-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(46, 125, 126, 0.12);
}

.nav-search-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-dark);
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  cursor: pointer;
}

.nav-search-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
  box-shadow: var(--shadow);
}

.nav-btn-login {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--white);
  transition: var(--transition);
  color: var(--text-medium);
}

.nav-btn-login:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(135deg, #0D1B2A 0%, #1E3A46 50%, #2E7D7E 100%);
  color: white;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-green);
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #070F18 0%, #0D1B2A 100%);
  transform: translateY(-1px);
  box-shadow: 0 15px 35px rgba(15,23,42,0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  background: white;
  color: var(--navy);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--navy);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--navy);
  color: white;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  z-index: 999;
  padding: 24px;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-medium);
  border: 1px solid var(--border);
}

/* =============================================
/* Nav Animated Entrance (100% Seamless with Hero) */
.navbar-hero-seamless {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
  z-index: 1000;
}

.navbar-hero-seamless.scrolled {
  position: fixed !important;
  background: rgba(244, 247, 247, 0.94) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(220, 236, 236, 0.8) !important;
  box-shadow: 0 4px 20px rgba(13, 27, 42, 0.05) !important;
}

.navbar-animated {
  animation: navSlideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes navSlideDown {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.nav-inner-corner {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 36px !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-icon {
  height: 52px;
  width: auto;
  max-width: 52px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.nav-logo-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #0D1B2A;
  letter-spacing: -0.5px;
}

.nav-pill-center {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(220, 236, 236, 0.95);
  border-radius: var(--radius-full);
  padding: 5px 8px;
  box-shadow: 0 4px 20px rgba(13, 27, 42, 0.04);
  backdrop-filter: blur(10px);
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #0D1B2A 0%, #1E3A46 50%, #2E7D7E 100%);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(46, 125, 126, 0.25);
}

.nav-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(46, 125, 126, 0.35);
  color: #FFFFFF;
}

/* =============================================
   HERO SECTION (FULLSCREEN VIEWPORT - ELEVATED)
   ============================================= */
.hero.hero-fullscreen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 24px 35px;
  position: relative;
  overflow: hidden;
  background: 
    radial-gradient(ellipse at 50% 8%, rgba(126, 192, 197, 0.36) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 85%, rgba(46, 125, 126, 0.12) 0%, transparent 65%),
    linear-gradient(180deg, #F4F7F7 0%, #EAF1F1 50%, #DCECEC 100%);
}

.hero-aurora-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.65;
  pointer-events: none;
  animation: orbFloat 10s ease-in-out infinite alternate;
}

.glow-orb-1 {
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(126, 192, 197, 0.48) 0%, rgba(46, 125, 126, 0) 70%);
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
}

.glow-orb-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(46, 125, 126, 0.25) 0%, rgba(30, 58, 70, 0) 70%);
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: -5s;
}

@keyframes orbFloat {
  0% { transform: translate(-50%, 0) scale(1); }
  100% { transform: translate(-50%, -20px) scale(1.08); }
}

.hero-curved-lines {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.8;
}

.hero-inner {
  max-width: 960px;
  width: 100%;
  margin: -10px auto 0;
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Centered Glowing Main Logo (Transparent Canvas, Large Size) */
.hero-emblem-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-emblem-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(46, 125, 126, 0.48) 0%, rgba(126, 192, 197, 0.22) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(32px);
  animation: emblemAura 4s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none;
}

.hero-main-logo,
.hero-emblem-icon {
  width: 140px;
  height: 140px;
  max-width: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 10px 26px rgba(46, 125, 126, 0.38));
  animation: emblemFloat 5s ease-in-out infinite alternate;
  transition: transform 0.3s ease, filter 0.3s ease;
  display: block;
}

.hero-main-logo:hover,
.hero-emblem-icon:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 14px 34px rgba(46, 125, 126, 0.55));
}

@keyframes emblemAura {
  0% { transform: scale(0.9); opacity: 0.45; }
  100% { transform: scale(1.25); opacity: 0.85; }
}

@keyframes emblemFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.hero-title {
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -2px;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--navy) 0%, var(--ocean) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(15px, 1.7vw, 18px);
  color: var(--text-muted);
  margin-bottom: 26px;
  font-weight: 400;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

/* =============================================
   SEARCH BAR WITH STEADY RIGHT-TO-LEFT TICKER
   ============================================= */
.hero-search-slider-box {
  max-width: 660px;
  width: 100%;
  margin: 0 auto 26px;
  position: relative;
  z-index: 50;
}

.hero-search-form {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-radius: var(--radius-full);
  padding: 6px 20px 6px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1.5px solid rgba(46, 125, 126, 0.38);
  box-shadow: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  height: 58px;
}

.hero-search-form:focus-within {
  background: transparent !important;
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3.5px rgba(46, 125, 126, 0.15) !important;
  transform: translateY(-2px);
}

.hero-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}

.hero-search-input-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  overflow: hidden;
}

.hero-search-input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  color: var(--text-dark);
  position: relative;
  z-index: 2;
}

/* Continuous Steady Right-to-Left Ticker */
.search-ticker-wrap {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.search-ticker-track {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  animation: steadyTicker 26s linear infinite;
  will-change: transform;
}

@keyframes steadyTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ticker-pill {
  font-size: 15px;
  font-weight: 450;
  color: #718894;
  letter-spacing: 0.1px;
}

.ticker-divider {
  color: #A0B3BC;
  font-size: 13px;
}

.hero-search-input:focus ~ .search-ticker-wrap,
.hero-search-input-wrapper.has-value .search-ticker-wrap {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* =============================================
   UNIVERSAL SEARCH LIVE DROPDOWN (SOLID LAYER)
   ============================================= */
.universal-search-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  background: #FFFFFF !important;
  opacity: 1 !important;
  border: 1.5px solid rgba(46, 125, 126, 0.35);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(13, 27, 42, 0.25), 0 4px 20px rgba(0, 0, 0, 0.08);
  z-index: 1000 !important;
  max-height: 440px;
  overflow-y: auto;
  text-align: left;
  animation: searchDropFade 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes searchDropFade {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.search-drop-content {
  padding: 12px 14px;
}

.search-drop-group {
  margin-bottom: 12px;
}

.search-drop-group:last-child {
  margin-bottom: 0;
}

.search-drop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px 6px;
  border-bottom: 1px solid rgba(220, 236, 236, 0.7);
  margin-bottom: 6px;
}

.search-drop-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--brand-teal);
}

.search-drop-count {
  font-size: 11px;
  font-weight: 600;
  color: #718894;
}

.search-drop-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.search-drop-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.2s ease;
  background: transparent;
}

.search-drop-item:hover,
.search-drop-item.selected {
  background: rgba(46, 125, 126, 0.08);
  transform: translateX(3px);
}

.search-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.search-item-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(244, 247, 247, 0.9);
  border: 1px solid rgba(220, 236, 236, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.search-item-icon-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-item-texts {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.search-item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-item-title mark {
  background: rgba(46, 125, 126, 0.18);
  color: #0D1B2A;
  font-weight: 700;
  border-radius: 2px;
  padding: 0 2px;
}

.search-item-subtitle {
  font-size: 11.5px;
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-item-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.search-item-price {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-teal);
}

.search-item-tag {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(46, 125, 126, 0.1);
  color: var(--brand-teal);
}

.search-drop-empty {
  padding: 24px 16px;
  text-align: center;
  color: #718894;
  font-size: 13.5px;
}

.search-drop-footer {
  padding: 10px 14px;
  border-top: 1px solid rgba(220, 236, 236, 0.8);
  background: rgba(244, 247, 247, 0.6);
  border-radius: 0 0 18px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search-drop-footer a {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand-teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.search-drop-footer a:hover {
  text-decoration: underline;
}

/* =============================================
   3 QUICK CATEGORY SQUARE BOXES (HERO CANVAS MATCH)
   ============================================= */
.hero-category-cards {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  max-width: 660px;
  width: 100%;
  margin: 0 auto 30px;
  position: relative;
  z-index: 1;
}

.category-square-box {
  flex: 1;
  max-width: 140px;
  aspect-ratio: 1 / 1;
  min-height: 115px;
  background: transparent !important;
  border: 1.5px solid rgba(46, 125, 126, 0.32);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  box-shadow: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.category-square-box:hover {
  transform: translateY(-4px);
  border-color: var(--brand-teal);
  box-shadow: 0 10px 28px rgba(46, 125, 126, 0.15) !important;
}

.category-square-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: transparent !important;
  border: 1px solid rgba(46, 125, 126, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.category-square-box:hover .category-square-icon {
  transform: scale(1.1);
  border-color: var(--brand-teal);
}

.category-square-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.2px;
  text-align: center;
}

.hero-scroll-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand-teal);
  cursor: pointer;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(46, 125, 126, 0.08);
  transition: var(--transition);
  animation: bounceDown 2.5s infinite;
}

.hero-scroll-indicator:hover {
  background: rgba(46, 125, 126, 0.15);
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}

@media (max-width: 768px) {
  .hero-category-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .nav-pill-center {
    display: none;
  }
  .hero.hero-fullscreen {
    padding-top: 105px;
    min-height: auto;
    padding-bottom: 50px;
  }
  .nav-inner-corner {
    padding: 0 16px;
  }
}

.search-btn:hover {
  background: linear-gradient(135deg, #070F18 0%, #0D1B2A 100%);
  transform: scale(1.02);
  box-shadow: var(--shadow-green);
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.stat-item .stat-num {
  font-weight: 800;
  font-size: 16px;
  color: var(--navy);
}

.stat-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: rgba(14,165,233,0.1);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: var(--ocean-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* =============================================
   VISA CARDS SECTION
   ============================================= */
.visa-section {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.visa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

/* === VISA CARD === */
.visa-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.visa-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 5/8;
  transition: var(--transition-slow);
  background-color: #0f172a;
}

.visa-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.visa-card-bg {
  position: absolute;
  inset: 0;
  background-color: #0f172a;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.visa-card:hover .visa-card-bg {
  transform: scale(1.05);
}

.visa-card-overlay {
  position: absolute;
  inset-x: 0;
  bottom: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.visa-card:hover .visa-card-overlay {
  height: 75%;
}

.visa-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  z-index: 1;
}

.visa-card-flag {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.3);
  margin: 0 auto 10px;
}

.visa-card-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visa-card-country {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.visa-card-meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 10px;
  margin-top: 8px;
}

.visa-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.visa-meta-label {
  font-size: 8px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.visa-meta-value {
  font-size: 10px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
}

/* Hover reveal area */
.visa-card-hover {
  display: none;
  margin-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 12px;
  animation: fadeInUp 0.3s ease;
}

.visa-card:hover .visa-card-hover {
  display: block;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.visa-card-docs-label {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.visa-card-docs {
  font-size: 10px;
  font-weight: 600;
  color: white;
  margin-bottom: 10px;
}

.visa-card-apply-btn {
  width: 100%;
  padding: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: white;
  text-align: center;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.visa-card-apply-btn:hover {
  background: var(--ocean);
  color: white;
}

/* Card below info */
.visa-card-info {
  margin-top: 12px;
  padding: 0 4px;
}

.visa-card-info-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.visa-card-info-type {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.visa-type-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.visa-type-evisa { background: rgba(14,165,233,0.12); color: var(--ocean-dark); }
.visa-type-sticker { background: rgba(99,102,241,0.12); color: #4f46e5; }
.visa-type-arrival { background: rgba(249,115,22,0.12); color: #ea580c; }
.visa-type-eta { background: rgba(14,165,233,0.12); color: #0369a1; }

.visa-purpose-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: rgba(46, 125, 126, 0.12);
  color: #0F766E;
  border: 1px solid rgba(46, 125, 126, 0.25);
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-section {
  background: var(--off-white);
  padding: 80px 24px;
}

.how-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 56px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: linear-gradient(90deg, var(--navy), var(--ocean));
  z-index: 0;
}

@media (max-width: 768px) {
  .steps-grid::before { display: none; }
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
  background: white;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--ocean);
  box-shadow: 0 10px 30px rgba(14,165,233,0.1);
  transform: translateY(-4px);
}

.step-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--navy), var(--ocean));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(15,23,42,0.3);
}

.step-number {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   FEATURES / WHY US
   ============================================= */
.features-section {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
}

.feature-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-card:hover {
  border-color: var(--ocean);
  box-shadow: 0 10px 30px rgba(14,165,233,0.08);
  background: linear-gradient(135deg, rgba(240,253,244,0.5), white);
}

.feature-card.large {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #0D1B2A 0%, #1E3A46 50%, #2E7D7E 100%);
  color: white;
  border: none;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: rgba(14,165,233,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.feature-card.large .feature-icon {
  background: rgba(255,255,255,0.15);
}

.feature-text h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.feature-card.large .feature-text h3 { color: white; }
.feature-card.large .feature-text p { color: rgba(255,255,255,0.8); }

.feature-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section {
  background: linear-gradient(160deg, var(--navy) 0%, #020617 100%);
  padding: 80px 24px;
  color: white;
}

.testimonials-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.testimonials-section .section-tag {
  background: rgba(255,255,255,0.1);
  color: var(--ocean-light);
}

.testimonials-section .section-title { color: white; }
.testimonials-section .section-subtitle { color: rgba(255,255,255,0.7); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.review-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.review-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.review-stars {
  color: var(--ocean-light);
  font-size: 16px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean), var(--navy-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.review-name {
  font-size: 14px;
  font-weight: 700;
  color: white;
}

.review-location {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* =============================================
   APP SECTION
   ============================================= */
.app-section {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

@media (max-width: 768px) {
  .app-section { flex-direction: column; text-align: center; gap: 40px; }
}

.app-content { flex: 1; }

.app-content h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.15;
}

.app-content p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.app-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .app-badges { justify-content: center; }
}

.app-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--text-dark);
  color: white;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}

.app-badge:hover {
  background: var(--navy);
  transform: translateY(-2px);
}

.app-badge-icon { font-size: 24px; }

.app-badge-text { text-align: left; }
.app-badge-sub { font-size: 10px; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.05em; }
.app-badge-main { font-size: 15px; font-weight: 700; }

.app-visual {
  width: 280px;
  flex-shrink: 0;
}

.phone-mockup {
  background: linear-gradient(135deg, #0D1B2A 0%, #1E3A46 50%, #2E7D7E 100%);
  border-radius: 40px;
  padding: 24px 16px;
  box-shadow: 0 30px 80px rgba(15,23,42,0.3);
  position: relative;
  aspect-ratio: 9/16;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.phone-screen-content {
  color: white;
  text-align: center;
  width: 100%;
}

.phone-screen-logo {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 8px;
}

.phone-screen-sub {
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 20px;
}

.phone-mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.phone-mini-card {
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 10px 8px;
  font-size: 11px;
  text-align: left;
}

.phone-mini-card-flag { font-size: 18px; margin-bottom: 4px; }
.phone-mini-card-name { font-weight: 600; opacity: 0.9; }
.phone-mini-card-type { opacity: 0.6; font-size: 9px; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 24px 30px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand .nav-logo .logo-fly { color: white; }

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  transition: all 0.2s ease;
  cursor: pointer;
}

.social-btn:hover {
  background: #2E7D7E;
  border-color: #2E7D7E;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--ocean); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 13px; }

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--ocean); }

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
}

.trust-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-medium);
}

.trust-icon {
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

/* =============================================
   VISA BROWSE PAGE
   ============================================= */
.browse-hero {
  background: linear-gradient(160deg, #F4F7F7 0%, #EAF1F1 45%, #DCECEC 100%);
  padding: 80px 24px 75px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #E2E8F0;
}

.browse-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(14,165,233,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 20%, rgba(46,125,126,0.10) 0%, transparent 50%);
  pointer-events: none;
}

.browse-hero-inner { position: relative; z-index: 1; }

.browse-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -1.5px;
  color: #0D1B2A;
  margin-bottom: 16px;
}

.browse-hero p {
  font-size: 18px;
  color: #64748B;
  max-width: 500px;
  margin: 0 auto 40px;
}

.browse-search-bar {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  background: white;
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.browse-search-input {
  flex: 1;
  padding: 16px 24px;
  font-size: 15px;
  font-family: var(--font-main);
  border: none;
  outline: none;
  color: var(--text-dark);
}

.browse-search-btn {
  padding: 16px 28px;
  background: linear-gradient(135deg, #0D1B2A 0%, #1E3A46 50%, #2E7D7E 100%);
  color: white;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-main);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.browse-search-btn:hover { background: linear-gradient(135deg, #070F18 0%, #0D1B2A 100%); }

/* Browse Page Filters */
.browse-filters {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  position: sticky;
  top: 72px;
  z-index: 100;
}

.browse-filters-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 4px;
}

.filter-chip {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border-dark);
  background: white;
  color: var(--text-medium);
  cursor: pointer;
  transition: var(--transition);
}

.filter-chip:hover,
.filter-chip.active {
  background: #0D1B2A;
  color: white;
  border-color: #0D1B2A;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(13, 27, 42, 0.15);
}

.browse-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px;
}

.browse-results-count {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.browse-results-count span { font-weight: 700; color: var(--navy); }

.browse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}

/* =============================================
   ADMIN DASHBOARD
   ============================================= */
.admin-wrapper {
  min-height: 100vh;
  background: #f0f9ff;
  display: flex;
}

/* Admin Sidebar */
.admin-sidebar {
  width: 260px;
  background: linear-gradient(160deg, var(--navy), #020617);
  color: white;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  transition: var(--transition);
  overflow-y: auto;
}

.admin-sidebar-header {
  padding: 28px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-logo {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 4px;
}

.admin-logo .logo-vis { color: var(--ocean-light); }

.admin-subtitle {
  font-size: 11px;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.admin-nav {
  padding: 20px 12px;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 4px;
  text-decoration: none;
}

.admin-nav-item:hover,
.admin-nav-item.active {
  background: rgba(255,255,255,0.12);
  color: white;
}

.admin-nav-item.active {
  background: rgba(14,165,233,0.2);
  color: var(--ocean-light);
  font-weight: 700;
}

.admin-nav-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.admin-nav-item.active .admin-nav-icon {
  background: rgba(14,165,233,0.2);
}

/* Admin Main */
.admin-main {
  margin-left: 260px;
  flex: 1;
  min-height: 100vh;
}

.admin-topbar {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}

.admin-topbar-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--light-gray);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-medium);
  cursor: pointer;
}

.admin-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--ocean));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: white;
  font-weight: 700;
}

.admin-content {
  padding: 32px;
}

/* Admin Stats Cards */
.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.admin-stat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.admin-stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.admin-stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.admin-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.admin-stat-icon.green { background: rgba(14,165,233,0.1); }
.admin-stat-icon.blue { background: rgba(59,130,246,0.1); }
.admin-stat-icon.orange { background: rgba(249,115,22,0.1); }
.admin-stat-icon.purple { background: rgba(168,85,247,0.1); }

.admin-stat-badge {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  background: rgba(14,165,233,0.1);
  color: var(--ocean-dark);
}

.admin-stat-value {
  font-size: 36px;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.admin-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Admin Panel */
.admin-panel {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.admin-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.admin-panel-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

/* Admin Form */
.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 24px;
}

@media (max-width: 768px) {
  .admin-form-grid { grid-template-columns: 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-medium);
}

.form-label .required { color: #ef4444; margin-left: 2px; }

.form-input,
.form-select,
.form-textarea {
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border-dark);
  font-family: var(--font-main);
  font-size: 14px;
  color: var(--text-dark);
  background: white;
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15,23,42,0.08);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  background: var(--off-white);
}

/* Admin Table */
.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  background: var(--off-white);
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border);
}

.admin-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  vertical-align: middle;
}

.admin-table tr:hover td { background: var(--off-white); }
.admin-table tr:last-child td { border-bottom: none; }

.table-visa-name {
  display: flex;
  align-items: center;
  gap: 12px;
}

.table-flag {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.table-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.table-actions {
  display: flex;
  gap: 8px;
}

.action-btn {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: var(--font-main);
}

.action-btn.edit { background: rgba(59,130,246,0.1); color: #2563eb; }
.action-btn.edit:hover { background: #2563eb; color: white; }
.action-btn.delete { background: rgba(239,68,68,0.1); color: #dc2626; }
.action-btn.delete:hover { background: #dc2626; color: white; }
.action-btn.toggle { background: rgba(14,165,233,0.1); color: var(--ocean-dark); }
.action-btn.toggle:hover { background: var(--ocean); color: white; }
.action-btn.toggle.inactive { background: rgba(107,114,128,0.1); color: var(--text-muted); }

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
}

.status-badge.active { background: rgba(14,165,233,0.1); color: var(--ocean-dark); }
.status-badge.inactive { background: rgba(107,114,128,0.1); color: var(--text-muted); }

/* Card Preview */
.preview-container {
  padding: 24px;
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: center;
}

.preview-card {
  width: 180px;
  aspect-ratio: 5/8;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

/* Admin Login */
.admin-login-page {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--navy), #020617 60%, var(--ocean-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.admin-login-card {
  width: 100%;
  max-width: 420px;
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  text-align: center;
}

.admin-login-logo {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 8px;
}

.admin-login-logo .logo-fly { color: var(--navy); }
.admin-login-logo .logo-vis { color: var(--ocean); }

.admin-login-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.admin-login-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.login-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 13px;
  color: #dc2626;
  display: none;
}

.login-error.visible { display: block; }

/* =============================================
   NOTIFICATIONS / TOASTS
   ============================================= */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius);
  background: var(--text-dark);
  color: white;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.3s ease, fadeOut 0.3s ease 2.7s forwards;
  min-width: 280px;
  max-width: 380px;
}

.toast.success { background: var(--navy); }
.toast.error { background: #dc2626; }
.toast.info { background: #2563eb; }

@keyframes slideInRight {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(120%); }
}

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  background: white;
  border-radius: var(--radius-xl);
  padding: 36px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  animation: scaleIn 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

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

.modal-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: var(--text-muted);
  transition: var(--transition);
}

.modal-close:hover { background: var(--light-gray); }

/* =============================================
   EMPTY STATE
   ============================================= */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-medium);
  margin-bottom: 8px;
}

.empty-state p { font-size: 14px; }

/* =============================================
   LOADING
   ============================================= */
.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  /* Consumer responsive styles */
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-right .nav-search-btn { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 60px 20px 80px; }
  .hero h1 { letter-spacing: -1px; }

  .search-bar {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 16px;
    gap: 12px;
  }

  .search-field {
    width: 100%;
    border-right: none !important;
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
  }

  .search-field:last-of-type { border-bottom: none; }

  .search-btn {
    width: 100%;
    justify-content: center;
    border-radius: var(--radius);
    margin-top: 4px;
  }

  .stats-bar { gap: 20px; }
  .stat-divider { display: none; }

  .visa-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .browse-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .admin-content { padding: 20px; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-stats-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .visa-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .admin-stats-row { grid-template-columns: 1fr; }
}

/* =============================================
   ANIMATIONS
   ============================================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Floating animation for hero */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.float-anim { animation: float 4s ease-in-out infinite; }
.float-anim-delay { animation: float 4s ease-in-out infinite 2s; }

/* Shimmer effect */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* Color picker preview */
.color-preview {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
}

/* FLIGHT DEALS */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.flights-section {
  padding: 80px 0;
  background-color: var(--off-white);
  border-top: 1px solid var(--border);
}

/* =============================================
   AIRLINE BOARDING PASS FLIGHT TICKET CARDS
   ============================================= */
/* =============================================
   AIRLINE BOARDING PASS FLIGHT TICKET CARDS (High-Contrast Crisp Palette)
   ============================================= */
.ff-grid, .flights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 26px;
  margin-top: 30px;
}

.flight-ticket-card {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(13, 27, 42, 0.07), 0 2px 6px rgba(0, 0, 0, 0.04);
  display: flex;
  min-height: 210px;
  color: #0F172A;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  user-select: none;
}

.flight-ticket-card:hover {
  transform: translateY(-4px);
  border-color: #2E7D7E;
  box-shadow: 0 18px 42px rgba(46, 125, 126, 0.16), 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Optional Custom Photo Background Overlay */
.flight-ticket-card.has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--flight-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  z-index: 1;
  pointer-events: none;
}

/* 1. Left Stub (Tear-off Boarding Pass Stub) */
.ticket-stub {
  width: 95px;
  background: #F8FAFC;
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  border-right: 1px dashed #E2E8F0;
}

.stub-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.stub-brand {
  font-family: 'Courier New', monospace;
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #2E7D7E;
  text-transform: uppercase;
}

.stub-flight-num {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: 0.08em;
}

/* Barcode Graphics (Crisp Jet Black Bars) */
.stub-barcode-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  margin: 8px 0;
}

.stub-barcode {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 46px;
  width: 80px;
}

.stub-barcode span {
  display: inline-block;
  height: 100%;
  background: #0F172A;
  border-radius: 0.5px;
}

.stub-barcode span:nth-child(even) { width: 1.5px; }
.stub-barcode span:nth-child(odd) { width: 2.5px; }
.stub-barcode span:nth-child(3n) { width: 3.5px; }
.stub-barcode span:nth-child(5n) { width: 1px; }

.stub-code {
  font-family: 'Courier New', monospace;
  font-size: 9px;
  font-weight: 800;
  color: #64748B;
  letter-spacing: 0.1em;
}

/* Stub Meta Info */
.stub-meta {
  display: flex;
  width: 100%;
  justify-content: space-around;
  border-top: 1.5px solid #E2E8F0;
  padding-top: 6px;
}

.stub-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sm-lbl {
  font-family: 'Courier New', monospace;
  font-size: 8px;
  font-weight: 800;
  color: #64748B;
  letter-spacing: 0.06em;
}

.sm-val {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  font-weight: 900;
  color: #0F172A;
}

/* 2. Perforation Line & Notch Cutouts */
.ticket-perforation {
  position: relative;
  width: 0px;
  border-left: 2px dashed #CBD5E1;
  margin: 0;
  flex-shrink: 0;
  z-index: 5;
}

.ticket-notch {
  position: absolute;
  left: -11px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.ticket-notch.notch-top {
  top: -11px;
}

.ticket-notch.notch-bottom {
  bottom: -11px;
}

/* 3. Main Ticket Body */
.ticket-main {
  flex: 1;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  z-index: 2;
  min-width: 0;
  background: #FFFFFF;
}

/* Ticket Top */
.ticket-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ticket-airline {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 900;
  color: #0F172A;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-airline svg {
  color: #2E7D7E;
  flex-shrink: 0;
}

.ticket-tag {
  font-size: 9.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(46, 125, 126, 0.12);
  color: #0F766E;
  border: 1px solid rgba(46, 125, 126, 0.3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Ticket Route Corridor */
.ticket-route-corridor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 2px 0;
}

.route-origin, .route-dest {
  display: flex;
  flex-direction: column;
  min-width: 70px;
  max-width: 100px;
}

.route-dest {
  text-align: right;
  align-items: flex-end;
}

.route-city {
  font-size: 12px;
  font-weight: 700;
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.route-code {
  font-size: 24px;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: 0.05em;
  line-height: 1.15;
}

.route-flight-path {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 6px;
  max-width: 100px;
}

.flight-track-line {
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #94A3B8, #94A3B8 4px, transparent 4px, transparent 8px);
}

.route-plane-icon {
  position: absolute;
  color: #2E7D7E;
  filter: drop-shadow(0 2px 6px rgba(46, 125, 126, 0.4));
  transform: rotate(90deg);
}

/* Notes */
.ticket-notes {
  font-size: 12px;
  color: #475569;
  font-weight: 600;
  line-height: 1.4;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Ticket Footer */
.ticket-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1.5px solid #F1F5F9;
  padding-top: 8px;
  gap: 8px;
  margin-top: 2px;
}

.ticket-price-box {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}

.tprice-label {
  font-family: 'Courier New', monospace;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #64748B;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  margin-bottom: 2px;
}

.tprice-val {
  font-size: 17px;
  font-weight: 900;
  color: #0F766E;
  letter-spacing: -0.3px;
  line-height: 1.1;
  white-space: nowrap;
}

.ticket-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 11px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
  white-space: nowrap;
  flex-shrink: 0;
}

.ticket-book-btn:hover {
  background: #20BD5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

/* Flight Fares Live Search Bar */
.ff-search-section {
  max-width: 680px;
  margin: 36px auto 28px;
  position: relative;
  z-index: 10;
  padding: 0 16px;
}

.ff-search-bar {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 16px;
  padding: 6px 8px 6px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 36px rgba(13, 27, 42, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.ff-search-bar:focus-within {
  border-color: #2E7D7E;
  box-shadow: 0 16px 40px rgba(46, 125, 126, 0.16), 0 0 0 3px rgba(46, 125, 126, 0.15);
}

.ff-search-icon {
  color: #2E7D7E;
  flex-shrink: 0;
}

.ff-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  font-weight: 600;
  color: #0D1B2A;
  background: transparent;
  padding: 8px 0;
}

.ff-search-input::placeholder {
  color: #94A3B8;
  font-weight: 500;
}

.ff-search-clear {
  background: #F1F5F9;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ff-search-clear:hover {
  background: #E2E8F0;
  color: #0D1B2A;
}

.ff-tags-scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.ff-filter-tag {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.ff-filter-tag:hover {
  border-color: #2E7D7E;
  color: #2E7D7E;
  transform: translateY(-1px);
}

.ff-filter-tag.active {
  background: #2E7D7E;
  border-color: #2E7D7E;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(46, 125, 126, 0.3);
}

/* =============================================
   PAGE WATERMARK BACKGROUND & ORBITAL ANIMATIONS
   ============================================= */
.page-watermarks-container {
  background-color: #F8FAFC;
  background-image: radial-gradient(#CBD5E1 0.75px, transparent 0.75px);
  background-size: 24px 24px;
  position: relative;
  overflow: hidden;
  min-height: 70vh;
}

.detail-body-watermarks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.bg-watermark-icon {
  position: absolute;
  opacity: 0.09;
  filter: drop-shadow(0 4px 14px rgba(46, 125, 126, 0.15));
  will-change: transform;
}

@keyframes continuousOrbitClockwise {
  0% { transform: rotate(0deg) translate(32px) rotate(0deg); }
  100% { transform: rotate(360deg) translate(32px) rotate(-360deg); }
}

@keyframes continuousOrbitCounterClockwise {
  0% { transform: rotate(0deg) translate(35px) rotate(0deg); }
  100% { transform: rotate(-360deg) translate(35px) rotate(360deg); }
}

@keyframes continuousFlightOrbit {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(38px, -26px) rotate(14deg); }
  50% { transform: translate(12px, -50px) rotate(0deg); }
  75% { transform: translate(-34px, -24px) rotate(-14deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes continuousSealSpinOrbit {
  0% { transform: rotate(0deg) translate(30px) rotate(0deg); }
  50% { transform: rotate(180deg) translate(40px) rotate(-180deg); }
  100% { transform: rotate(360deg) translate(30px) rotate(-360deg); }
}

@keyframes continuousCompassOrbit {
  0% { transform: rotate(0deg) translate(28px) rotate(0deg); }
  100% { transform: rotate(-360deg) translate(28px) rotate(360deg); }
}

.wm-stamp-1 {
  top: 40px;
  left: -10px;
  animation: continuousOrbitClockwise 22s linear infinite;
}

.wm-flight-1 {
  top: 280px;
  right: -30px;
  animation: continuousFlightOrbit 18s ease-in-out infinite;
}

.wm-globe-1 {
  bottom: 180px;
  left: -10px;
  animation: continuousOrbitCounterClockwise 26s linear infinite;
}

.wm-seal-1 {
  bottom: 80px;
  right: -20px;
  animation: continuousSealSpinOrbit 24s ease-in-out infinite;
}

.wm-compass-1 {
  top: 45%;
  left: -20px;
  animation: continuousCompassOrbit 20s linear infinite;
}

@media (max-width: 600px) {
  .ff-grid, .flights-grid {
    grid-template-columns: 1fr;
  }
  .flight-ticket-card {
    min-height: auto;
  }
  .ticket-stub {
    width: 90px;
    padding: 12px 6px;
  }
  .stub-barcode {
    width: 60px;
    height: 38px;
  }
  .route-code {
    font-size: 18px;
  }
  .tprice-val {
    font-size: 17px;
  }
  .ticket-main {
    padding: 14px;
  }
}

/* =============================================
   CREDIT CARD FLIGHT MATCHER & DEALS UI
   ============================================= */
.card-matcher-banner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(244, 247, 247, 0.98));
  border: 1.5px solid rgba(46, 125, 126, 0.35);
  border-radius: 24px;
  padding: 24px 28px;
  margin-bottom: 32px;
  box-shadow: 0 16px 40px rgba(13, 27, 42, 0.08);
  position: relative;
  overflow: hidden;
  z-index: 3;
}

.card-matcher-banner::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(126, 192, 197, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.matcher-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

.matcher-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.matcher-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0D1B2A 0%, #2E7D7E 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(46, 125, 126, 0.3);
}

.matcher-heading {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.3px;
  margin: 0;
}

.matcher-sub {
  font-size: 13px;
  color: #64748B;
  margin: 2px 0 0;
}

.matcher-btn-manage {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(46, 125, 126, 0.12);
  border: 1px solid rgba(46, 125, 126, 0.3);
  color: var(--brand-teal);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.matcher-btn-manage:hover {
  background: var(--brand-teal);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.selected-cards-chips {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.card-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 12px;
  background: #0F172A;
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  transition: all 0.2s ease;
}

.card-chip .card-chip-remove {
  cursor: pointer;
  font-size: 14px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.card-chip .card-chip-remove:hover {
  opacity: 1;
  color: #F87171;
}

.card-chip-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 12px;
  border: 1.5px dashed rgba(46, 125, 126, 0.5);
  background: transparent;
  color: var(--brand-teal);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.card-chip-add:hover {
  background: rgba(46, 125, 126, 0.1);
  border-color: var(--brand-teal);
}

/* Card Offers Badge in Flight Ticket */
.ticket-card-offer-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(46, 125, 126, 0.08) 0%, rgba(126, 192, 197, 0.12) 100%);
  border: 1px solid rgba(46, 125, 126, 0.25);
  border-radius: 10px;
  padding: 6px 12px;
  margin: 6px 0;
  font-size: 12px;
}

.offer-badge-left {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-teal);
  font-weight: 700;
}

.offer-badge-save {
  background: #059669;
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

.ticket-net-price {
  color: #059669 !important;
  font-weight: 900 !important;
  font-size: 19px !important;
}

.ticket-base-strikethrough {
  text-decoration: line-through;
  opacity: 0.5;
  font-size: 12px;
  margin-left: 6px;
}

.ticket-breakdown-toggle {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brand-teal);
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 0;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ticket-breakdown-content {
  display: none;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 6px;
  font-size: 11.5px;
  animation: searchDropFade 0.2s ease forwards;
}

.ticket-breakdown-content.open {
  display: block;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  color: #475569;
}

.breakdown-row.highlight {
  font-weight: 700;
  color: #0F172A;
  border-top: 1px dashed #CBD5E1;
  margin-top: 4px;
  padding-top: 6px;
}

.promo-copy-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #0F172A;
  color: #FFFFFF;
  font-family: monospace;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  cursor: pointer;
  user-select: all;
}

/* Card Selection Modal */
.card-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
  animation: searchDropFade 0.25s ease forwards;
}

.card-modal-box {
  background: #FFFFFF;
  border-radius: 24px;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.card-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-modal-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
}

.card-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #64748B;
  cursor: pointer;
}

.card-modal-search {
  padding: 12px 24px;
  border-bottom: 1px solid #E2E8F0;
}

.card-modal-search input {
  width: 100%;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1.5px solid #CBD5E1;
  font-size: 14px;
  outline: none;
  font-family: inherit;
}

.card-modal-search input:focus {
  border-color: var(--brand-teal);
}

.card-modal-body {
  padding: 16px 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-select-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
  cursor: pointer;
  transition: all 0.2s ease;
}

.card-select-item:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
}

.card-select-item.selected {
  background: rgba(46, 125, 126, 0.08);
  border-color: var(--brand-teal);
}

.card-select-info {
  display: flex;
  flex-direction: column;
}

.card-select-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.card-select-multiplier {
  font-size: 12px;
  color: var(--brand-teal);
  font-weight: 600;
}

.card-select-checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--brand-teal);
}

.card-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #E2E8F0;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: #F8FAFC;
}

.btn-card-save {
  background: linear-gradient(135deg, #0D1B2A 0%, #2E7D7E 100%);
  color: #FFFFFF;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* =============================================
   FULL FLIGHT ROUTE SEARCH & ITINERARY CARDS
   ============================================= */
.flight-search-widget {
  background: #FFFFFF;
  border: 1.5px solid rgba(46, 125, 126, 0.35);
  border-radius: 24px;
  padding: 24px 28px;
  box-shadow: 0 20px 50px rgba(13, 27, 42, 0.1);
  margin-bottom: 28px;
  position: relative;
  z-index: 10;
}

.flight-search-grid {
  display: grid;
  grid-template-columns: 2fr auto 2fr 1.5fr 1.5fr auto;
  gap: 12px;
  align-items: center;
}

.search-field-box {
  position: relative;
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 16px;
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.search-field-box:focus-within {
  border-color: var(--brand-teal);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(46, 125, 126, 0.12);
}

.search-field-label {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--brand-teal);
  margin-bottom: 2px;
}

.search-field-input {
  border: none;
  background: transparent;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-dark);
  outline: none;
  font-family: inherit;
  width: 100%;
}

.btn-route-swap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(46, 125, 126, 0.12);
  border: 1px solid rgba(46, 125, 126, 0.3);
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-route-swap:hover {
  background: var(--brand-teal);
  color: #FFFFFF;
  transform: rotate(180deg);
}

.btn-flight-search-submit {
  padding: 14px 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0D1B2A 0%, #2E7D7E 100%);
  color: #FFFFFF;
  border: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(46, 125, 126, 0.35);
  transition: all 0.2s ease;
  height: 100%;
  white-space: nowrap;
}

.btn-flight-search-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(46, 125, 126, 0.45);
}

/* Airport Autocomplete Dropdown */
.airport-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 1.5px solid rgba(46, 125, 126, 0.3);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(13, 27, 42, 0.2);
  max-height: 260px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.airport-dropdown-item {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  border-bottom: 1px solid #F1F5F9;
  transition: background 0.15s ease;
}

.airport-dropdown-item:hover {
  background: rgba(46, 125, 126, 0.08);
}

.airport-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.airport-item-city {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
}

.airport-item-name {
  font-size: 11px;
  color: #64748B;
}

.airport-item-code {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-teal);
  background: rgba(46, 125, 126, 0.1);
  padding: 2px 6px;
  border-radius: 6px;
}

/* Results Sort & Summary Bar */
.results-summary-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  padding: 0 4px;
}

.results-count-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
}

.results-sort-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sort-chip {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: #475569;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sort-chip.active {
  background: var(--brand-teal);
  border-color: var(--brand-teal);
  color: #FFFFFF;
}

/* Modern Flight Itinerary Card */
.flight-itinerary-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 22px;
  padding: 20px 24px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(13, 27, 42, 0.05);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.flight-itinerary-card:hover {
  transform: translateY(-3px);
  border-color: #2E7D7E;
  box-shadow: 0 16px 36px rgba(46, 125, 126, 0.15);
}

.itinerary-main-row {
  display: grid;
  grid-template-columns: 2fr 3.5fr 2fr 1.8fr;
  gap: 20px;
  align-items: center;
}

.airline-brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.airline-logo-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #0F172A;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.airline-info-texts {
  display: flex;
  flex-direction: column;
}

.airline-name-text {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-dark);
}

.airline-flight-meta {
  font-size: 12px;
  color: #64748B;
}

.flight-timeline-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.timeline-point {
  text-align: center;
}

.timeline-time {
  font-size: 19px;
  font-weight: 900;
  color: var(--text-dark);
}

.timeline-city-code {
  font-size: 12px;
  font-weight: 700;
  color: #64748B;
}

.timeline-flight-path {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
}

.flight-duration-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748B;
}

.flight-path-graphic {
  width: 100%;
  height: 2px;
  background: #CBD5E1;
  position: relative;
}

.flight-path-graphic::after {
  content: '✈';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 11px;
  color: var(--brand-teal);
  background: #FFFFFF;
  padding: 0 4px;
}

.flight-stop-pill {
  font-size: 10.5px;
  font-weight: 700;
  color: #059669;
}

.flight-stop-pill.one-stop {
  color: #D97706;
}

.flight-pricing-block {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.flight-card-net-price {
  font-size: 22px;
  font-weight: 900;
  color: #059669;
  line-height: 1;
}

.flight-original-strikethrough {
  font-size: 13px;
  text-decoration: line-through;
  color: #94A3B8;
  margin-top: 3px;
}

.flight-action-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.btn-book-itinerary {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #0D1B2A 0%, #2E7D7E 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(46, 125, 126, 0.3);
  transition: all 0.2s ease;
}

.btn-book-itinerary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(46, 125, 126, 0.45);
}

.live-stream-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(5, 150, 105, 0.12);
  border: 1px solid rgba(5, 150, 105, 0.3);
  color: #059669;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.live-stream-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #059669;
  box-shadow: 0 0 8px #059669;
  animation: pulseLive 1.5s infinite;
}

.live-stream-badge.offline {
  background: rgba(100, 116, 139, 0.12);
  border-color: rgba(100, 116, 139, 0.3);
  color: #64748B;
}

.live-stream-badge.offline::before {
  background: #64748B;
  box-shadow: none;
  animation: none;
}

@keyframes pulseLive {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

@media (max-width: 900px) {
  .flight-search-grid {
    grid-template-columns: 1fr;
  }
  .btn-route-swap {
    margin: -4px auto;
    transform: rotate(90deg);
  }
  .itinerary-main-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .flight-pricing-block {
    align-items: flex-start;
    text-align: left;
  }
}

/* ==========================================================================
   FLYVIS LUXURY UNIFIED UI SUITE (CUSTOM DROPDOWNS, SELECTS & DATE PICKERS)
   ========================================================================== */

/* Universal Native Select Overhaul */
select, 
select.ac-select, 
select.dt-input, 
select.form-select, 
.fv-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-color: #FFFFFF !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232E7D7E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 14px !important;
  padding-right: 38px !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 12px !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #0D1B2A !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  cursor: pointer !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease !important;
}

select:hover, 
select.ac-select:hover, 
select.dt-input:hover, 
select.form-select:hover {
  border-color: #2E7D7E !important;
}

select:focus, 
select.ac-select:focus, 
select.dt-input:focus, 
select.form-select:focus {
  outline: none !important;
  border-color: #2E7D7E !important;
  box-shadow: 0 0 0 3.5px rgba(46, 125, 126, 0.15) !important;
}

/* Universal Native Date Picker Overhaul */
input[type="date"], 
input[type="date"].ac-input, 
input[type="date"].dt-input, 
.fv-date-input {
  position: relative !important;
  cursor: pointer !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 12px !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #0D1B2A !important;
  background-color: #FFFFFF !important;
  padding: 11px 14px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

input[type="date"]:hover, 
input[type="date"].ac-input:hover, 
input[type="date"].dt-input:hover {
  border-color: #2E7D7E !important;
}

input[type="date"]:focus, 
input[type="date"].ac-input:focus, 
input[type="date"].dt-input:focus {
  outline: none !important;
  border-color: #2E7D7E !important;
  box-shadow: 0 0 0 3.5px rgba(46, 125, 126, 0.15) !important;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer !important;
  opacity: 0.75 !important;
  filter: invert(41%) sepia(34%) saturate(760%) hue-rotate(134deg) brightness(91%) contrast(90%) !important;
  transition: transform 0.15s ease, opacity 0.15s ease !important;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
  transform: scale(1.2) !important;
  opacity: 1 !important;
}

/* Universal Custom Popover Dropdown Components */
.fv-custom-dropdown {
  position: relative;
}

.fv-dropdown-trigger,
.fv-sort-trigger,
.fv-calc-trigger,
.fv-pax-trigger,
.fv-stars-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  color: #0D1B2A;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  width: 100%;
  box-sizing: border-box;
}

.fv-dropdown-trigger:hover,
.fv-sort-trigger:hover,
.fv-calc-trigger:hover,
.fv-pax-trigger:hover,
.fv-stars-trigger:hover,
.fv-dropdown-trigger.open,
.fv-calc-trigger.open,
.fv-pax-trigger.open,
.fv-stars-trigger.open {
  border-color: #2E7D7E;
  background: #FAFCFC;
  box-shadow: 0 0 0 3.5px rgba(46, 125, 126, 0.12);
}

.fv-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 16px 36px -4px rgba(13, 27, 42, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.04);
  padding: 6px;
  z-index: 1050;
  min-width: 200px;
  animation: fvMenuSlide 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fvMenuSlide {
  from { opacity: 0; transform: translateY(-6px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.fv-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 700;
  color: #0D1B2A;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.fv-dropdown-item:hover {
  background: #F1F5F9;
  color: #2E7D7E;
}

.fv-dropdown-item.selected {
  background: #E8F3F3;
  color: #2E7D7E;
  font-weight: 800;
}

.fv-dropdown-item .fv-check-icon {
  display: none;
  color: #2E7D7E;
  flex-shrink: 0;
  margin-left: 8px;
}

.fv-dropdown-item.selected .fv-check-icon {
  display: block;
}





/* Consistent interface typography across Flyvis. */
html body { font-family: var(--font-main); -webkit-font-smoothing: antialiased; }
html body :is(h1, h2, h3, h4, h5, h6) { font-family: var(--font-heading); }
html body :is(button, input, select, textarea) { font-family: inherit; }

/* Approved soft-cloud brand mark; preserve existing logo sizing. */
img[src*="flyvis-logo-sky.jpeg"] {
  border-radius: 22%;
}
