/* ==========================================================================
   Air Arabia - Premium Next-Gen Design System
   Accent Color: #FF0041 (Air Arabia Crimson Red)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Brand Palette */
  --aa-primary: #FF0041;
  --aa-primary-hover: #e00039;
  --aa-primary-glow: rgba(255, 0, 65, 0.35);
  --aa-primary-subtle: rgba(255, 0, 65, 0.08);
  --aa-primary-border: rgba(255, 0, 65, 0.25);
  
  --aa-secondary: #00bcd4;
  --aa-accent-gold: #ffb703;
  --aa-success: #10b981;
  --aa-warning: #f59e0b;
  --aa-info: #3b82f6;

  /* Dark Mode (Default) */
  --bg-main: #0b0e14;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-hover: rgba(26, 34, 52, 0.85);
  --bg-card-solid: #121826;
  --bg-glass: rgba(15, 20, 32, 0.65);
  --bg-input: rgba(255, 255, 255, 0.04);
  --bg-input-focus: rgba(255, 255, 255, 0.08);

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 25px rgba(255, 0, 65, 0.25);
  --shadow-glass: 0 16px 32px rgba(0, 0, 0, 0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: #ffffff;
  --bg-card-solid: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.75);
  --bg-input: rgba(0, 0, 0, 0.03);
  --bg-input-focus: rgba(0, 0, 0, 0.06);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;

  --border-light: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.16);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 25px rgba(255, 0, 65, 0.15);
  --shadow-glass: 0 16px 32px rgba(0, 0, 0, 0.08);
}

/* Base resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 0, 65, 0.4);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--aa-primary);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, var(--aa-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-accent {
  color: var(--aa-primary);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--aa-primary-subtle);
  color: var(--aa-primary);
  border: 1px solid var(--aa-primary-border);
}

/* Banner / Topbar */
.top-ticker {
  background: linear-gradient(90deg, #110307 0%, #26000a 50%, #110307 100%);
  color: #fff;
  border-bottom: 1px solid var(--aa-primary-border);
  padding: 0.65rem 0;
  font-size: 0.825rem;
  line-height: 1.4;
  position: relative;
  z-index: 100;
}
.ticker-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.ticker-pulse {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--aa-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--aa-primary);
  animation: pulse 1.5s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 0, 65, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(255, 0, 65, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 0, 65, 0); }
}

.ticker-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}
.ticker-links a {
  color: #d1d5db;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition);
}
.ticker-links a:hover {
  color: var(--aa-primary);
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
  position: relative;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  flex-shrink: 0;
}
.logo-icon-wrap {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--aa-primary), #b3002d);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}
.logo-icon-wrap svg {
  fill: #ffffff;
  width: 26px;
  height: 26px;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}
.brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--aa-primary);
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}
.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}
.nav-link.active::after, .nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--aa-primary);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-glow);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--aa-primary) 0%, #d60037 100%);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ff1a53 0%, var(--aa-primary) 100%);
  box-shadow: 0 6px 20px rgba(255, 0, 65, 0.45);
}
.btn-secondary {
  background: var(--bg-input);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}
.btn-secondary:hover {
  background: var(--bg-input-focus);
  border-color: var(--border-strong);
}
.btn-outline-accent {
  background: transparent;
  color: var(--aa-primary);
  border: 1px solid var(--aa-primary-border);
}
.btn-outline-accent:hover {
  background: var(--aa-primary-subtle);
  border-color: var(--aa-primary);
}

.theme-toggle {
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.theme-toggle:hover {
  color: var(--text-main);
  border-color: var(--border-strong);
}

/* HERO SECTION */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 4rem 0 6rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.75) contrast(1.05);
  transform: scale(1.02);
  transition: transform 10s ease;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at 25% 45%, rgba(7, 10, 15, 0.65) 0%, transparent 65%),
              radial-gradient(circle at 80% 20%, rgba(255, 0, 65, 0.12) 0%, transparent 50%),
              linear-gradient(to bottom, rgba(11, 14, 20, 0.2) 0%, transparent 45%, var(--bg-main) 100%);
}

/* Light Theme Hero Smooth Dissolve Transition */
[data-theme="light"] .hero-overlay {
  background: radial-gradient(circle at 25% 45%, rgba(15, 23, 42, 0.55) 0%, transparent 65%),
              radial-gradient(circle at 80% 20%, rgba(255, 0, 65, 0.1) 0%, transparent 50%),
              linear-gradient(to bottom, transparent 30%, rgba(248, 250, 252, 0.55) 65%, var(--bg-main) 100%);
}
.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}
.hero-text {
  max-width: 780px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: #ffffff !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}
.hero-description {
  font-size: 1.15rem;
  color: #f1f5f9 !important;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 640px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.hero-section .btn-secondary {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}
.hero-section .btn-secondary:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(255, 255, 255, 0.4);
}
.hero-section .btn-outline-accent {
  background: rgba(255, 0, 65, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  border-color: rgba(255, 0, 65, 0.45);
}
.hero-section .btn-outline-accent:hover {
  background: var(--aa-primary);
  border-color: var(--aa-primary);
  color: #ffffff;
}

/* Booking Widget Box */
.booking-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-glass);
  position: relative;
  overflow: hidden;
}
.booking-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--aa-primary), var(--aa-accent-gold));
}

.booking-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.75rem;
}
.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.925rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tab-btn:hover {
  color: var(--text-main);
  background: var(--bg-input);
}
.tab-btn.active {
  color: #fff;
  background: var(--aa-primary);
  box-shadow: var(--shadow-glow);
}

.booking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.input-label {
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.input-field, .select-field {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  outline: none;
  transition: var(--transition);
}
.input-field:focus, .select-field:focus {
  border-color: var(--aa-primary);
  background: var(--bg-input-focus);
  box-shadow: 0 0 0 3px var(--aa-primary-subtle);
}
.select-field option {
  background: var(--bg-card-solid);
  color: var(--text-main);
}

/* SECTION TITLES */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-tag {
  color: var(--aa-primary);
  font-weight: 800;
  font-size: 0.825rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* NETWORK / DESTINATIONS SECTION */
.destinations-section {
  padding: 6rem 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 0, 65, 0.04) 0%, transparent 50%);
}
.hub-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.hub-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}
.hub-btn:hover {
  border-color: var(--border-strong);
  color: var(--text-main);
}
.hub-btn.active {
  background: var(--aa-primary);
  border-color: var(--aa-primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.route-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.route-card:hover {
  transform: translateY(-5px);
  border-color: var(--aa-primary-border);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3), var(--shadow-glow);
}
.route-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.route-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 0, 65, 0.12);
  color: var(--aa-primary);

}
.route-nodes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.route-node {
  display: flex;
  flex-direction: column;
}
.node-code {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.node-city {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.route-line {
  flex: 1;
  margin: 0 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.line-graphic {
  width: 100%;
  height: 2px;
  background: var(--border-strong);
  position: relative;
  margin: 0.4rem 0;
}
.line-graphic::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 30%;
  height: 2px;
  background: var(--aa-primary);
  transform: translateY(-50%);
  box-shadow: 0 0 8px var(--aa-primary);
}
.plane-icon {
  font-size: 0.9rem;
  color: var(--aa-primary);
}
.duration-text {
  font-size: 0.725rem;
  color: var(--text-dim);
  font-weight: 600;
}

.route-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}
.route-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.route-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--aa-primary);
}

/* FLEET SHOWCASE */
.fleet-section {
  padding: 6rem 0;
  background: var(--bg-card-solid);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}
.fleet-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.fleet-card:hover {
  border-color: var(--aa-primary-border);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glass);
}
.fleet-img-wrap {
  height: 220px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #000;
}
.fleet-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.fleet-card:hover .fleet-img {
  transform: scale(1.05);
}
.fleet-badge-top {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid var(--border-light);
}
.fleet-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.fleet-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.fleet-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}
.fleet-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 0.65rem;
  background: var(--bg-card);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}
.spec-item {
  display: flex;
  flex-direction: column;
}
.spec-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 700;
}
.spec-value {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--text-main);
}

.photo-credit-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 0.6rem;
  background: var(--aa-primary-subtle);
  border: 1px solid var(--aa-primary-border);
  color: var(--aa-primary);
  border-radius: var(--radius-md);
  font-size: 0.775rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: var(--transition);
}
.photo-credit-link:hover {
  background: var(--aa-primary);
  color: #ffffff;
  border-color: var(--aa-primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* LIVE STATUS / VIRTUAL PILOT SECTION */
.ops-section {
  padding: 6rem 0;
}
.ops-container {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
}
@media (max-width: 992px) {
  .ops-container {
    grid-template-columns: 1fr;
  }
}
.ops-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(16px);
}
.table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.status-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.status-table th {
  padding: 0.85rem 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 800;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-light);
}
.status-table td {
  padding: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border-light);
}
.status-pill {
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}
.status-pill.airborne {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}
.status-pill.scheduled {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}
.status-pill.landed {
  background: rgba(156, 163, 175, 0.15);
  color: #9ca3af;
}

.pilot-side-card {
  background: linear-gradient(145deg, rgba(255, 0, 65, 0.08) 0%, rgba(18, 24, 38, 0.9) 100%);
  border: 1px solid var(--aa-primary-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.pilot-side-card::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: var(--aa-primary-glow);
  filter: blur(50px);
  border-radius: 50%;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.stat-box {
  background: var(--bg-main);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--aa-primary);
}
.stat-lbl {
  font-size: 0.725rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}

/* SKYCAFE & SERVICES SECTION */
.services-section {
  padding: 6rem 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 0, 65, 0.05) 0%, transparent 60%);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.service-card:hover {
  border-color: var(--aa-primary-border);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glass);
}
.service-icon {
  width: 54px;
  height: 54px;
  background: var(--aa-primary-subtle);
  border: 1px solid var(--aa-primary-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--aa-primary);
  margin-bottom: 1.25rem;
}
.service-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.service-desc {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* FOOTER */
.site-footer {
  background: #06080d;
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2rem;
  color: var(--text-muted);
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
}
.footer-col h4 {
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.footer-col a:hover {
  color: var(--aa-primary);
}

.legal-bar {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.825rem;
}
.legal-notice-box {
  background: rgba(255, 0, 65, 0.05);
  border: 1px solid var(--aa-primary-border);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.legal-notice-box strong {
  color: var(--aa-primary);
}

/* MODAL OVERLAY */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--aa-primary-border);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  padding: 2.25rem;
  position: relative;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), var(--shadow-glow);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active .modal-card {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
}
.modal-close:hover {
  background: var(--aa-primary);
  color: #fff;
}

/* ROUTE MAP SECTION */
.routemap-section {
  padding: 6rem 0;
  background: var(--bg-main);
  position: relative;
}
.map-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(16px);
}
#airarabia-map {
  width: 100%;
  height: 520px;
  border-radius: var(--radius-md);
  background: var(--bg-card-solid);
  border: 1px solid var(--border-light);
  z-index: 10;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.map-hub-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.map-hub-btn {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}
.map-hub-btn:hover {
  border-color: var(--aa-primary-border);
  color: var(--text-main);
}
.map-hub-btn.active {
  background: var(--aa-primary);
  border-color: var(--aa-primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.leaflet-popup-content-wrapper {
  background: var(--bg-card-solid) !important;
  color: var(--text-main) !important;
  border: 1px solid var(--aa-primary-border) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-glass) !important;
}
.leaflet-popup-tip {
  background: var(--bg-card-solid) !important;
}

/* Interactive SVG Map Panning & Zoom Controls */
#airarabia-map {
  position: relative;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
  user-select: none;
  contain: layout paint;
  will-change: transform;
  transform: translateZ(0);
}
#airarabia-map:active {
  cursor: grabbing;
}
#svg-map-viewport {
  will-change: transform;
}

.route-arc-path {
  vector-effect: non-scaling-stroke;
}

.map-node-group .node-scaler {
  transform: scale(var(--map-inv-scale, 1));
  transform-origin: 0px 0px;
  transition: opacity 0.15s ease;
}

.map-node-group.hub-node:hover rect {
  stroke-width: 2.2px;
  filter: drop-shadow(0 4px 8px rgba(255, 0, 65, 0.45));
}

/* GPU Hardware-Accelerated CSS Keyframe Animation for Hub Pulse Rings */
.hub-pulse-ring {
  animation: hubPulseRing 2.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  transform-origin: center;
}
@keyframes hubPulseRing {
  0% {
    r: 9px;
    opacity: 0.85;
  }
  50% {
    r: 22px;
    opacity: 0.1;
  }
  100% {
    r: 9px;
    opacity: 0.85;
  }
}
.map-controls-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 25;
}
.map-ctrl-btn {
  width: 38px;
  height: 38px;
  background: var(--bg-glass, rgba(15, 20, 30, 0.85));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong, rgba(255, 255, 255, 0.15));
  color: var(--text-main);
  border-radius: var(--radius-md);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  user-select: none;
}
.map-ctrl-btn:hover {
  background: var(--aa-primary);
  color: #ffffff;
  border-color: var(--aa-primary);
  transform: translateY(-1px);
}
.map-ctrl-btn:active {
  transform: scale(0.95);
}

/* Light Theme Overrides for Map Container and Controls */
[data-theme="light"] #airarabia-map {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .map-ctrl-btn {
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .map-ctrl-btn:hover {
  background: var(--aa-primary);
  color: #ffffff;
  border-color: var(--aa-primary);
}

/* Hub Base Cards with Images */
.hub-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.hub-img-wrap {
  position: relative;
  height: 200px;
  width: 100%;
  overflow: hidden;
  background: var(--bg-card-solid);
}
.hub-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hub-card:hover .hub-img {
  transform: scale(1.06);
}
.hub-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, var(--bg-card-solid) 100%);
}
.hub-card-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}
.hub-code-badge {
  font-weight: 800;
  font-size: 0.825rem;
  color: var(--aa-primary);
  background: var(--bg-card-solid);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

/* Light Theme Specific Adjustments for Hub Image Overlays & Badges */
[data-theme="light"] .hub-img-overlay {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0%, var(--bg-card-solid) 100%);
}
[data-theme="light"] .hub-code-badge {
  background: rgba(255, 255, 255, 0.92);
  color: var(--aa-primary);
  border: 1px solid var(--border-strong);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .route-badge {
  background: rgba(255, 0, 65, 0.1);
  color: #d60037;
  border: 1px solid rgba(255, 0, 65, 0.25);
}
.hub-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.hub-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.hub-sub {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.hub-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex: 1;
}
.hub-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  text-align: right;
}

/* Footer & Legal Notice Theme-Adaptive Styles */
.site-footer {
  background: var(--bg-card-solid);
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2rem;
  color: var(--text-main);
  transition: var(--transition);
}
.legal-notice-box {
  background: var(--bg-main);
  border: 1px solid var(--aa-primary-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 3rem;
}
.legal-notice-box strong {
  color: var(--aa-primary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 0.75rem;
  line-height: 1.5;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}
.footer-col a:hover {
  color: var(--aa-primary);
}
.legal-bar {
  border-top: 1px solid var(--border-light);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.825rem;
  color: var(--text-dim);
}

/* ==========================================
   Header Navigation & Hamburger Mobile Menu
   ========================================== */
.desktop-nav {
  display: block;
}

.header-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Base Mobile Hamburger Toggle — HIDDEN ON DESKTOP BY DEFAULT (> 991px) */
.menu-toggle {
  display: none !important;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: var(--bg-input);
  color: var(--text-main);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 101;
}

.menu-toggle:hover, .menu-toggle.is-active {
  background: var(--aa-primary-subtle);
  border-color: var(--aa-primary);
  color: var(--aa-primary);
}

.hamburger-line {
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.menu-toggle.is-active .line-top {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle.is-active .line-mid {
  opacity: 0;
}
.menu-toggle.is-active .line-bot {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Navigation Drawer Overlay — HIDDEN BY DEFAULT ON ALL SCREENS UNLESS TOGGLED */
.mobile-menu-drawer {
  display: none !important;
  position: absolute !important;
  top: calc(100% + 8px);
  right: 1.5rem;
  width: 270px;
  background: var(--bg-card-solid);
  border: 1px solid var(--aa-primary-border);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  z-index: 1000;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), var(--shadow-glow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s;
  pointer-events: none;
}

/* Active State when toggled open on Mobile */
.mobile-menu-drawer.is-open {
  display: flex !important;
  flex-direction: column;
  gap: 0.35rem;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.mobile-drawer-link {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: var(--transition);
}

.mobile-drawer-link:hover {
  background: var(--aa-primary-subtle);
  color: var(--aa-primary);
}

.mobile-drawer-link.accent {
  color: var(--aa-primary);
  background: var(--aa-primary-subtle);
  border: 1px solid var(--aa-primary-border);
  margin-top: 0.25rem;
}

.mobile-drawer-divider {
  height: 1px;
  background: var(--border-light);
  margin: 0.35rem 0;
}

/* MOBILE BREAKPOINT: ONLY SHOW HAMBURGER & HIDE DESKTOP NAV & HEADER CREW CENTER BUTTON FOR SCREENS <= 991px */
@media (max-width: 991px) {
  .desktop-nav {
    display: none !important;
  }
  .menu-toggle {
    display: flex !important;
  }
  #pilot-portal-btn, .nav-crew-btn {
    display: none !important;
  }
}

/* RESPONSIVE ROUTE MAP LABEL & BADGE BOOST FOR MOBILE VIEWPORTS */
@media (max-width: 768px) {
  .map-node-group .node-scaler {
    transform: scale(calc(var(--map-inv-scale, 1) * 1.35));
  }
  #svg-region-labels text {
    font-size: 19px !important;
    letter-spacing: 2px !important;
    opacity: 0.7 !important;
  }
}

@media (max-width: 480px) {
  .map-node-group .node-scaler {
    transform: scale(calc(var(--map-inv-scale, 1) * 1.55));
  }
  #svg-region-labels text {
    font-size: 21px !important;
    letter-spacing: 1.5px !important;
    opacity: 0.8 !important;
  }
}

/* DESTINATION NODE HOVER & TAP HIGHLIGHTS */
.map-node-group.dest-node {
  transition: transform 0.15s ease;
}

.map-node-group.dest-node:hover rect,
.map-node-group.dest-node:active rect {
  stroke: #FF0041 !important;
  stroke-width: 1.8px !important;
  fill: #111827 !important;
  opacity: 1 !important;
  filter: drop-shadow(0 2px 6px rgba(255, 0, 65, 0.4));
}

[data-theme="light"] .map-node-group.dest-node:hover rect,
[data-theme="light"] .map-node-group.dest-node:active rect {
  stroke: #0284c7 !important;
  fill: #ffffff !important;
  filter: drop-shadow(0 2px 6px rgba(2, 132, 199, 0.3));
}

.map-node-group.dest-node:hover text,
.map-node-group.dest-node:active text {
  fill: #ffb703 !important;
  font-weight: 900 !important;
}

[data-theme="light"] .map-node-group.dest-node:hover text,
[data-theme="light"] .map-node-group.dest-node:active text {
  fill: #0284c7 !important;
}

.map-node-group.dest-node:hover circle,
.map-node-group.dest-node:active circle {
  r: 5.5px !important;
  fill: #ffb703 !important;
  stroke: #FF0041 !important;
}










