/* Global Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f0f0f0;
}
header {
  background-color: #001d3d;
  color: white;
  padding: 20px;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.logo img {
  height: 50px;
}
.menu ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.menu ul li {
  margin-left: 20px;
}
.menu ul li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}
main {
  overflow-x: hidden;
}
footer {
  background-color: #001d3d;
  color: white;
  text-align: center;
  padding: 20px;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 500px;
  background: no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}
.form-container {
  background: rgba(0, 0, 0, 0.7);
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  color: #fff;
  animation: glowing 2s infinite alternate;
}
@keyframes glowing {
  0% { box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); }
  50% { box-shadow: 0 0 20px rgba(0, 123, 255, 1); }
  100% { box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); }
}
.top-controls {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 15px;
  color: #fff;
}
.trip-type label,
.direct-flights label {
  font-size: 14px;
  margin: 5px;
}

/* Search Box */
.search-box {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}
.search-box input,
.search-box select,
.search-box button {
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 180px;
  box-sizing: border-box;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.search-box input,
.search-box select {
  animation: glowingInput 2s infinite alternate;
  background: #fff;
  color: #333;
}
.search-box button {
  background-color: #007bff;
  color: white;
  cursor: pointer;
  border: 1px solid #007bff;
  animation: none;
}
.search-box button:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}
@keyframes glowingInput {
  0% { border-color: #ccc; box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); }
  100% { border-color: #007bff; box-shadow: 0 0 15px rgba(0, 123, 255, 1); }
}

/* Suggestions */
.suggestions-box {
  position: absolute;
  background-color: #fff;
  border: 1px solid #ccc;
  z-index: 10;
  max-height: 150px;
  overflow-y: auto;
  width: calc(100% - 20px);
  color: #333;
  display: none;
}
.suggestions-box div {
  padding: 10px;
  cursor: pointer;
}
.suggestions-box div:hover {
  background-color: #f0f0f0;
}

/* Loader */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 29, 61, 0.95), rgba(29, 45, 68, 0.95));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.loader-overlay.visible {
  opacity: 1;
  visibility: visible;
}
.loader-animation {
  text-align: center;
  color: #fff;
  font-family: 'Courier New', monospace;
}
.spinner {
  border: 8px solid rgba(255, 255, 255, 0.2);
  border-top: 8px solid #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.loader-message {
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* Popular Section */
.popular-section {
  background-color: #fff;
  padding: 40px 20px;
  text-align: center;
}
.popular-section h2 {
  margin-bottom: 20px;
  color: #001d3d;
}
.popular-locations-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}
.popular-destination {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s;
  text-align: center;
}
.popular-destination:hover {
  transform: translateY(-5px);
}
.popular-destination img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 5px;
}
.popular-destination .destination-name {
  margin-top: 10px;
  font-weight: bold;
  font-size: 16px;
  color: #333;
}

/* Navigation Tabs */
.nav-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.nav-tabs a {
  padding: 8px 15px;
  border-radius: 20px;
  background-color: #0056b3;
  color: white;
  text-decoration: none;
  font-size: 14px;
}
.nav-tabs a:hover {
  background-color: #003f80;
}

/* MOBILE Responsive Enhancements */
@media (max-width: 768px) {
  .nav-tabs a {
    padding: 12px;
    font-size: 0;
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
  }
  .nav-tabs a::before {
    font-size: 18px;
    color: white;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .nav-tabs a:nth-child(1)::before { content: "✈️"; }
  .nav-tabs a:nth-child(2)::before { content: "🏨"; }
  .nav-tabs a:nth-child(3)::before { content: "🚗"; }
  .nav-tabs a:nth-child(4)::before { content: "🤖"; }

  .search-box {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }

  .search-box input,
  .search-box select,
  .search-box button {
    width: 100% !important;
    max-width: 100%;
    font-size: 16px;
  }

  .search-box button {
    text-indent: -9999px;
    position: relative;
    height: 48px;
  }
  .search-box button::before {
    content: "🔍";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    text-indent: 0;
  }

  .form-container {
    padding: 20px;
  }
}



.download-app-section {
  background: linear-gradient(135deg, #f9f9f9, #e8f0ff);
  padding: 60px 20px;
  text-align: center;
}

.download-app-content {
  max-width: 1200px;
  margin: 0 auto;
  background: #1d2d44; /* Changed from white to blue */
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  color: #ffffff; /* White text color for dark background */
}

.download-app-content h2 {
  font-size: 30px;
  color: #ffffff;
  margin-bottom: 10px;
}

.download-app-content h2 i {
  color: #ffffff;
  margin-right: 10px;
}

.download-subtitle {
  font-size: 18px;
  color: #e0e0e0; /* Slightly lighter white for subtitle */
  margin-bottom: 25px;
}

.app-logo {
  max-width: 100px;
  margin-bottom: 20px;
}

.download-features {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px;
  display: inline-block;
  text-align: left;
}

.download-features li {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 10px;
}

.download-features li i {
  color: #ffffff;
  margin-right: 10px;
}

.play-button img {
  height: 60px;
  transition: transform 0.3s ease;
}

.play-button img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .download-app-content {
    padding: 30px 20px;
  }

  .download-features {
    text-align: center;
  }

  .play-button img {
    height: 50px;
  }
}
