/* ==========================================================================
   YOURFLYDAY.ONLINE - PREMIUM USA FLIGHT BOOKING WEBSITE CSS STYLESHEET
   ========================================================================== */

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

/* Color Variables and Theme Setup */
:root {
  /* Colors */
  --primary: #10B981;
  --primary-dark: #059669;
  --sky-blue: #38BDF8;
  --sky-blue-dark: #0EA5E9;
  --accent: #F59E0B;
  --accent-dark: #D97706;
  --bg: #F8FAFC;
  --card-bg: #FFFFFF;
  --text-heading: #0F172A;
  --text-body: #64748B;
  --border: #E2E8F0;
  
  /* Gradients */
  --hero-gradient: linear-gradient(135deg, #10B981, #14B8A6, #38BDF8);
  --btn-gradient: linear-gradient(135deg, #10B981, #059669);
  --accent-btn-gradient: linear-gradient(135deg, #F59E0B, #D97706);
  --dark-overlay: rgba(15, 23, 42, 0.65);
  
  /* Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Font Family */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Transition speed */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text-body);
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  font-weight: 700;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

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

/* Button Custom Styles */
.btn-emerald {
  background: var(--btn-gradient);
  color: #ffffff;
  border: none;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2);
  transition: var(--transition);
}

.btn-emerald:hover {
  background: linear-gradient(135deg, #059669, #047857);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.btn-orange {
  background: var(--accent-btn-gradient);
  color: #ffffff;
  border: none;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.2);
  transition: var(--transition);
}

.btn-orange:hover {
  background: linear-gradient(135deg, #D97706, #B45309);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

.btn-outline-emerald {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-outline-emerald:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-light-custom {
  border: 2px solid #ffffff;
  color: #ffffff;
  background: transparent;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-outline-light-custom:hover {
  background: #ffffff;
  color: var(--text-heading);
  transform: translateY(-2px);
}

/* ==========================================================================
   HEADER SECTION
   ========================================================================== */
.header-sticky {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
}

/* Solid header state for pages without hero/banners */
.header-solid {
  background-color: #0F172A !important;
  position: relative !important;
  padding: 12px 0;
}

.header-solid .navbar-brand {
  color: #ffffff !important;
}

.header-solid .nav-link {
  color: rgba(255, 255, 255, 0.95) !important;
}

.header-solid .nav-link:hover,
.header-solid .nav-link.active {
  color: var(--accent) !important;
}

/* Scroll active styles */
.header-scrolled {
  position: fixed;
  top: 0;
  background-color: var(--card-bg) !important;
  box-shadow: var(--shadow-md);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.header-scrolled .navbar-brand {
  color: var(--text-heading) !important;
}

.header-scrolled .navbar-toggler {
  border-color: rgba(15, 23, 42, 0.15) !important;
}

.header-scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815, 23, 42, 0.75%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.header-scrolled .nav-link {
  color: var(--text-body) !important;
}

.header-scrolled .nav-link:hover,
.header-scrolled .nav-link.active {
  color: var(--primary) !important;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  color: #ffffff;
  transition: var(--transition);
}

.navbar-brand .logo-dot {
  color: var(--accent);
}

.header-scrolled .navbar-brand .logo-dot {
  color: var(--accent);
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
  padding: 8px 16px !important;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent) !important;
}

.nav-cta-btn {
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--accent-btn-gradient);
  color: white !important;
  padding: 10px 20px !important;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.2);
  margin-left: 15px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-cta-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 15px rgba(245, 158, 11, 0.3);
  background: linear-gradient(135deg, #D97706, #B45309);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 55vh; /* Reduced height from 80vh */
  display: flex;
  align-items: center;
  background-image: url('../images/images.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 100px; /* Reduced from 130px */
  padding-bottom: 90px; /* Reduced from 120px */
  margin-bottom: -60px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-overlay);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.hero-badge {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(248, 250, 252, 0.85);
  margin-bottom: 35px;
  max-width: 600px;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: 15px;
}

/* ==========================================================================
   FLIGHT SEARCH ENGINE CARD
   ========================================================================== */
.booking-engine-wrapper {
  position: relative;
  z-index: 3;
  margin-top: -60px;
  padding: 0 15px;
}

.booking-card {
  background-color: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  padding: 24px;
}

/* Booking Tabs Styling */
.booking-tabs {
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  display: flex;
  gap: 8px;
}

.booking-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.booking-tab-btn:hover {
  color: var(--primary);
}

.booking-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Tight adjacent route fields styling */
.route-inputs-wrapper {
  display: flex;
  position: relative;
  width: 100%;
}

.route-input-col {
  flex: 1;
}

.route-input-col.from-col .search-field-group {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
}

.route-input-col.to-col .search-field-group {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* Swap button centered on intersection */
.swap-btn-overlap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease, border-color 0.3s, color 0.3s;
  z-index: 10;
}

.swap-btn-overlap:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-md);
}

.swap-btn-overlap:active {
  transform: translate(-50%, -50%) rotate(180deg) scale(0.9);
}

.swap-btn-overlap.rotated {
  transform: translate(-50%, -50%) rotate(180deg);
}

/* Fields & Inputs styling */
.search-field-group {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px 8px 14px;
  background-color: var(--card-bg);
  transition: var(--transition);
  height: 100%;
}

/* Disabled date field state */
.disabled-date-field {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
}

.disabled-date-field .search-field-group {
  background-color: #f1f5f9 !important;
}

.disabled-date-field input {
  color: var(--text-body) !important;
}

.search-field-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.search-field-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-body);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-field-label i {
  color: var(--primary);
}

.search-input-field {
  border: none;
  background: transparent;
  color: var(--text-heading);
  font-weight: 700;
  font-size: 0.95rem;
  outline: none;
  width: 100%;
  padding: 2px 0;
}

.search-input-field::placeholder {
  color: var(--text-body);
  font-weight: 500;
}

/* Dynamic Airport Autocomplete Dropdown overlay */
.autocomplete-container {
  position: relative;
}

.autocomplete-dropdown {
  position: absolute;
  top: 105%;
  left: 0;
  right: 0;
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  max-height: 320px;
  overflow-y: auto;
  overflow-x: hidden; /* Prevent horizontal scrollbars */
  display: none;
  padding: 8px 0;
}

/* Custom Scrollbar for Autocomplete Dropdown */
.autocomplete-dropdown::-webkit-scrollbar {
  width: 6px;
}
.autocomplete-dropdown::-webkit-scrollbar-track {
  background: transparent;
}
.autocomplete-dropdown::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 3px;
}
.autocomplete-dropdown::-webkit-scrollbar-thumb:hover {
  background-color: #94a3b8;
}

.autocomplete-item {
  padding: 10px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(226, 232, 240, 0.4);
  transition: var(--transition);
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.active {
  background-color: rgba(16, 185, 129, 0.08);
}

.autocomplete-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.autocomplete-icon-wrap {
  width: 32px;
  height: 32px;
  background-color: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.9rem;
}

.autocomplete-info {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  flex: 1;
}

.autocomplete-details {
  display: flex;
  flex-direction: column;
  max-width: 170px;
  overflow: hidden;
}

.autocomplete-city {
  font-weight: 700;
  color: var(--text-heading);
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.autocomplete-airport {
  font-size: 0.75rem;
  color: var(--text-body);
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.autocomplete-meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.autocomplete-iata {
  font-weight: 800;
  color: var(--primary);
  font-size: 0.95rem;
  background-color: rgba(16, 185, 129, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

.autocomplete-country {
  font-size: 0.7rem;
  color: var(--text-body);
  font-weight: 600;
  margin-top: 2px;
}

/* Combined Dropdown Select styling */
.custom-dropdown-select {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-dropdown-select .dropdown-icon {
  font-size: 0.85rem;
  color: var(--text-body);
  transition: var(--transition);
}

/* Combined Dropdown popup menu */
.dropdown-menu-custom {
  position: absolute;
  top: 105%;
  left: 0;
  right: 0;
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  display: none;
  padding: 18px;
  min-width: 320px;
}

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

.passenger-info {
  display: flex;
  flex-direction: column;
}

.passenger-type {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-heading);
}

.passenger-desc {
  font-size: 0.75rem;
  color: var(--text-body);
}

.passenger-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-counter {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background-color: var(--card-bg);
  color: var(--text-heading);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-counter:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
  background-color: rgba(16, 185, 129, 0.05);
}

.btn-counter:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.counter-value {
  font-weight: 700;
  color: var(--text-heading);
  min-width: 16px;
  text-align: center;
  font-size: 0.95rem;
}

/* cabin class list inside dropdown */
.cabin-class-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cabin-class-option {
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-heading);
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.cabin-class-option:hover {
  background-color: rgba(16, 185, 129, 0.08);
}

.cabin-class-option.selected {
  color: var(--primary);
  background-color: rgba(16, 185, 129, 0.05);
}

.cabin-class-option.selected i {
  display: block;
}

.cabin-class-option i {
  display: none;
  font-size: 0.8rem;
}

/* Validation message display */
.search-validation-error {
  color: #EF4444;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 10px;
  display: none;
  align-items: center;
  gap: 6px;
}

/* Recent searches horizontal bar */
.recent-searches-container {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.recent-searches-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-heading);
  text-transform: uppercase;
}

.recent-search-chip {
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-heading);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.recent-search-chip:hover {
  border-color: var(--primary);
  background-color: rgba(16, 185, 129, 0.05);
  color: var(--primary);
}

/* ==========================================================================
   ABOUT US SECTION (HOME)
   ========================================================================== */
.about-home-img-wrapper {
  position: relative;
}

.about-home-img-main {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 2;
  position: relative;
}

.about-home-img-sub {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  z-index: 1;
  position: absolute;
  bottom: -40px;
  right: -20px;
  width: 60%;
  border: 6px solid var(--card-bg);
}

.about-bullets {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.about-bullets li {
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-bullets li i {
  color: var(--primary);
  font-size: 1.1rem;
}

/* ==========================================================================
   POPULAR DESTINATIONS SECTION (USA ONLY)
   ========================================================================== */
.destination-card {
  position: relative;
  height: 360px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  cursor: pointer;
  margin-bottom: 24px;
}

.destination-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.8) 100%);
  z-index: 2;
  transition: var(--transition);
}

.destination-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.destination-card:hover .destination-img {
  transform: scale(1.08);
}

.destination-card:hover::before {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.destination-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  z-index: 3;
}

.destination-title {
  color: #ffffff !important;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.destination-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.destination-price-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  font-weight: 600;
}

.destination-price {
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 800;
}

.destination-price span {
  font-size: 0.85rem;
  color: #ffffff;
  font-weight: 500;
}

.destination-btn {
  background-color: var(--accent);
  color: #ffffff;
  border: none;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(10px);
}

.destination-card:hover .destination-btn {
  opacity: 1;
  transform: translateY(0);
}

.destination-btn:hover {
  background-color: var(--accent-dark);
}

/* ==========================================================================
   POPULAR ROUTES SECTION
   ========================================================================== */
.route-card {
  background-color: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: 24px;
}

.route-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.route-airports-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.route-airport-code {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-heading);
  display: flex;
  flex-direction: column;
}

.route-airport-city {
  font-size: 0.75rem;
  color: var(--text-body);
  font-weight: 600;
  margin-top: 2px;
}

.route-path-container {
  flex-grow: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 15px;
}

.route-path-line {
  height: 2px;
  background-color: var(--border);
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
}

.route-path-plane {
  position: relative;
  z-index: 2;
  background-color: var(--card-bg);
  padding: 0 8px;
  color: var(--primary);
  font-size: 1rem;
}

.route-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}

.route-price-label {
  font-size: 0.75rem;
  color: var(--text-body);
  font-weight: 600;
}

.route-price-amount {
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 800;
}

.route-book-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.route-book-link:hover {
  color: var(--primary-dark);
}

/* ==========================================================================
   WHY CHOOSE US & COUNTERS
   ========================================================================== */
.feature-card {
  background-color: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 24px;
  height: 100%;
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: rgba(245, 158, 11, 0.08);
  color: var(--accent);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--accent);
  color: #ffffff;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-body);
  margin-bottom: 0;
}

/* Counters section styling */
.counters-section {
  background: var(--hero-gradient);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.counter-item {
  text-align: center;
  padding: 20px 10px;
}

.counter-num {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 5px;
  line-height: 1;
}

.counter-lbl {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   TESTIMONIALS (SWIPER)
   ========================================================================== */
.testimonials-section {
  background-color: var(--bg);
}

.testimonial-card {
  background-color: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 30px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}

.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 24px;
  font-style: italic;
  flex-grow: 1;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 2px;
}

.testimonial-loc {
  font-size: 0.75rem;
  color: var(--text-body);
  font-weight: 600;
}

.swiper-pagination-bullet-active {
  background: var(--primary) !important;
}

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */
.newsletter-card {
  background: var(--hero-gradient);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.newsletter-card::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  right: -50px;
  bottom: -100px;
  pointer-events: none;
}

.newsletter-title {
  color: #ffffff !important;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.newsletter-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.newsletter-input {
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  outline: none;
  font-weight: 500;
  width: 100%;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.newsletter-input:focus {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
}

.newsletter-btn {
  background-color: var(--accent);
  color: #ffffff;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 30px;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
  white-space: nowrap;
}

.newsletter-btn:hover {
  background-color: #D97706;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(245, 158, 11, 0.4);
}

/* ==========================================================================
   CONTACT PAGE SPECIFICS
   ========================================================================== */
.contact-info-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(245, 158, 11, 0.08);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.contact-info-detail {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 0;
}

.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

/* ==========================================================================
   ABOUT PAGE SPECIFICS
   ========================================================================== */
.about-box-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: var(--transition);
}

.about-box-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.about-box-icon {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 20px;
}

/* ==========================================================================
   FLIGHT SEARCH RESULTS PAGE
   ========================================================================== */
.search-summary-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.summary-flight-detail {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.summary-route {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-heading);
}

.summary-badge-item {
  background-color: rgba(16, 185, 129, 0.08);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 20px;
}

/* Skeleton Loading cards with animated shimmer */
.skeleton-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.skeleton-shimmer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer-anim 1.5s infinite;
}

@keyframes shimmer-anim {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.skeleton-line {
  height: 14px;
  background-color: var(--border);
  border-radius: 4px;
  margin-bottom: 12px;
}

.skeleton-line.short { width: 40%; }
.skeleton-line.mid { width: 70%; }
.skeleton-line.title { height: 20px; width: 30%; margin-bottom: 20px; }

/* Empty State / No Flights Found */
.empty-state-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.empty-state-icon {
  font-size: 4rem;
  color: var(--accent);
  margin-bottom: 24px;
}

.empty-state-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.empty-state-desc {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
}

.empty-suggestions {
  text-align: left;
  max-width: 600px;
  margin: 40px auto 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.empty-suggestions-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 15px;
}

.empty-suggestions-list {
  list-style: none;
  padding: 0;
}

.empty-suggestions-list li {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.empty-suggestions-list li i {
  color: var(--accent);
  font-size: 0.85rem;
}

/* ==========================================================================
   FLOATING WIDGETS
   ========================================================================== */
.floating-widgets-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.btn-float-widget {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-float-widget:hover {
  transform: translateY(-4px) scale(1.05);
  color: #ffffff;
}

.btn-float-call {
  background-color: var(--accent);
  animation: float-pulse-orange 2s infinite;
}

.btn-float-whatsapp {
  background-color: #25D366;
  animation: float-pulse-green 2s infinite;
}

.btn-float-back-top {
  background-color: var(--text-heading);
  color: var(--card-bg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.btn-float-back-top.show {
  opacity: 0.85;
  visibility: visible;
  transform: translateY(0);
}

.btn-float-back-top:hover {
  opacity: 1;
  background-color: var(--primary);
  color: #ffffff;
}

@keyframes float-pulse-orange {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

@keyframes float-pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   BREADCRUMB & POLICY CONTENT
   ========================================================================== */
.page-title-banner {
  background-image: url('../images/images.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0 50px 0;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-title-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.5);
  z-index: 1;
}

.page-title-container {
  position: relative;
  z-index: 2;
}

.breadcrumb-custom {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
  font-size: 0.85rem;
  font-weight: 600;
}

.breadcrumb-custom a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb-custom a:hover {
  color: var(--sky-blue);
}

.breadcrumb-custom li::after {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-custom li:last-child::after {
  content: '';
}

.breadcrumb-custom li.active {
  color: #ffffff;
}

.policy-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}

.policy-card h2 {
  font-size: 1.4rem;
  margin-top: 30px;
  margin-bottom: 15px;
}

.policy-card h2:first-of-type {
  margin-top: 0;
}

.policy-card p {
  line-height: 1.7;
  margin-bottom: 16px;
  color: var(--text-body);
}

.policy-card ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

.policy-card ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.policy-card a {
  color: #0284c7;
  text-decoration: none;
  font-weight: 500;
}

.policy-card a:hover {
  color: #0369a1;
  text-decoration: underline;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer-section {
  background-color: #0F172A;
  color: #94A3B8;
  border-top: 1px solid #1E293B;
  font-size: 0.88rem;
  padding-top: 80px;
}

.footer-section h1,
.footer-section h2,
.footer-section h3,
.footer-section h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  display: block;
}

.footer-brand .logo-dot {
  color: var(--accent);
}

.footer-desc {
  line-height: 1.6;
  margin-bottom: 24px;
}

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

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #1E293B;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social-btn:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94A3B8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.footer-links a::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--primary);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-item i {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 3px;
}

.footer-contact-text {
  line-height: 1.5;
}

.footer-disclaimers {
  border-top: 1px solid #1E293B;
  padding: 24px 0;
  font-size: 0.78rem;
  line-height: 1.6;
}

.footer-disclaimers p {
  margin-bottom: 10px;
}

.footer-disclaimers p:last-child {
  margin-bottom: 0;
}

.footer-bottom {
  background-color: #0B0F19;
  padding: 20px 0;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright {
  margin-bottom: 0;
}

/* ==========================================================================
   MOBILE FIRST RESPONSIVENESS AND LAYOUT FIXES
   ========================================================================== */
@media (max-width: 991.98px) {
  .header-sticky {
    background-color: var(--card-bg) !important;
    position: fixed;
    padding: 10px 0;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border);
  }
  
  .navbar-brand {
    color: var(--text-heading) !important;
  }
  
  .navbar-toggler {
    border-color: rgba(15, 23, 42, 0.15) !important;
  }
  
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815, 23, 42, 0.75%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  }
  
  .navbar-brand .logo-dot {
    color: var(--accent);
  }
  
  .nav-link {
    color: var(--text-body) !important;
    padding: 10px 0 !important;
  }
  
  .nav-link:hover,
  .nav-link.active {
    color: var(--primary) !important;
  }
  
  .nav-cta-btn {
    margin-left: 0;
    margin-top: 10px;
    display: inline-flex;
    width: max-content;
  }
  
  .hero-section {
    padding-top: 90px; /* Reduced padding */
    padding-bottom: 70px; /* Reduced padding */
    min-height: auto;
  }
  
  .hero-title {
    font-size: 2.4rem;
  }
  
  .hero-btns {
    flex-direction: column;
  }
  
  .booking-card {
    padding: 18px;
  }
  
  .route-inputs-wrapper {
    flex-direction: column;
  }
  
  .route-input-col.from-col .search-field-group {
    border-top-right-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
    border-right: 1px solid var(--border);
    margin-bottom: 12px;
  }
  
  .route-input-col.to-col .search-field-group {
    border-top-left-radius: var(--radius-md);
    border-bottom-left-radius: var(--radius-md);
  }
  
  .swap-btn-overlap {
    top: 52px;
    transform: translate(-50%, -50%) rotate(90deg);
  }
  
  .swap-btn-overlap:active {
    transform: translate(-50%, -50%) rotate(270deg) scale(0.9);
  }
  
  .swap-btn-overlap.rotated {
    transform: translate(-50%, -50%) rotate(270deg);
  }
  
  .about-home-img-sub {
    position: static;
    width: 100%;
    margin-top: 20px;
    border: none;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .counter-num {
    font-size: 2.2rem;
  }
  
  .newsletter-card {
    padding: 24px;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .policy-card {
    padding: 20px;
  }
}
