body {
  font-family: "Poppins", sans-serif;
  background-color: #f9f9f9;
  margin: 0;
}

/* Header */
.navbar {
  background-color: #1a1f36;
}

.navbar-brand,
.nav-link {
  color: white !important;
}

.navbar-nav .nav-link:hover {
  color: #00cfff !important;
}
.navbar-toggler {
  background: aliceblue;
}
/* Tagline badge */
.tagline {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(to right, #3b82f6, #8b5cf6);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  margin: 2rem 0;
  font-size: 1rem;
  transition: background 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tagline:hover {
  background: linear-gradient(to right, #2563eb, #7c3aed);
}

.icon {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
}

/* Button group layout */
.button-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .button-group {
    flex-direction: row;
  }
}

/* Flight Search Section */

.flight-form {
  position: relative;
  top: -99px;
  background: white;
  padding: 30px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.trip-type {
  display: flex;
  gap: 20px;
}

.trip-type input {
  accent-color: #ff9800;
}

.bg-light {
  background-color: #f8f9fa !important;
}

/* step-card why book with us*/
.step-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.speed-icon {
  background-color: #210340;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.speed-icon:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.security-icon {
  background-color: #6d28d9;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.security-icon:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.price-icon {
  background-color: #63362f;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-icon:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.support-icon {
  background: linear-gradient(to right, #dc2626, #ea580c);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-icon:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.step-card {
  background: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

/* Base section styling */
.stats-section {
  text-align: center;
  padding: 3rem 1rem;
  background-color: #f9fafb;
  font-family: "Segoe UI", sans-serif;
}

/* Hero */
.hero {
  background: linear-gradient(to right, #1a1f36, #00cfff);
  color: white;
  padding: 120px 20px 100px;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
}

.cta-btn {
  background-color: #fff;
  color: #1a1f36;
  border-radius: 30px;
  padding: 12px 30px;
  font-weight: 600;
  margin-top: 20px;
}

.card {
  border: none;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.03);
}

/* Flight Carousel*/
.flight-carousel .card-img-top {
  height: 180px;
  object-fit: cover;
}

.flight-carousel .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.flight-carousel .card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Trending Cities*/
.trending-card img {
  height: 200px;
  object-fit: cover;
  /* Ensures the images fill the container uniformly */
}

.trending-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* Ensures text content stays aligned in the card */
}

.trending-card:hover {
  transform: scale(1.05);
}

.trending-card-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.trending-card-body h5 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.trending-card-body p {
  font-size: 0.9rem;
  margin: 0;
  color: #666;
}

/*Popular Flight Routes*/

.trending-city-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.trending-city-card:hover {
  transform: scale(1.05);
}

.trending-city-card-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.trending-city-card-body h5 {
  font-size: 1.2rem;
  font-weight: bold;
}

.trending-city-card-body p {
  font-size: 1rem;
  color: #555;
}

/*Exclusive Flash Deals*/
.exclusive-flash-deals {
  background: linear-gradient(to right, #1d4ed8, #6d28d9);
}

.flash-deals {
  background: linear-gradient(to right, #ef4444, #f97316);
  display: inline-flex;
  align-items: center;
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  margin: 2rem 0;
  font-size: 1rem;
  transition: background 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Container Grid */
.flight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1rem;
}

@media (min-width: 640px) {
  .flight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .flight-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .flight-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Card Styling */
.flight-card {
  border-radius: 1rem;
  overflow: hidden;
  color: #fff;
  transition: background 0.4s ease, transform 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  padding: 1.5rem;
}

/* Example Gradient Themes */
.blue-purple {
  background: linear-gradient(to bottom right, #2563eb, #7c3aed);
}

.blue-purple:hover {
  background: linear-gradient(to bottom right, #1e40af, #6b21a8);
}

.green-teal {
  background: linear-gradient(to bottom right, #059669, #0d9488);
}

.green-teal:hover {
  background: linear-gradient(to bottom right, #047857, #0f766e);
}

.purple-pink {
  background: linear-gradient(to bottom right, #9333ea, #db2777);
}

.purple-pink:hover {
  background: linear-gradient(to bottom right, #7e22ce, #be185d);
}

.yellow-red {
  background: linear-gradient(to bottom right, #f59e0b, #ef4444);
}

.yellow-red:hover {
  background: linear-gradient(to bottom right, #d97706, #dc2626);
}

/* Text Styling */
.flight-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.flight-card p {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Price */
.flight-card .price {
  font-size: 2rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem;
}

/* Discount badge */
.discount-badge {
  background: #f97316;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: bold;
  color: #fff;
  display: inline-block;
  margin-left: auto;
}

/* CTA Button */
.flight-card .cta {
  background: #fff;
  color: black;

  font-weight: 700;
  width: 100%;
  border: none;
  padding: 0.75rem;
  font-size: 0.95rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flight-card .cta:hover {
  background: #f3f4f6;
}
/*Ready to travel*/
@keyframes bluePurpleBackground {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.ready-to-travel {
  background: linear-gradient(
    270deg,
    #312e81,
    #4f46e5,
    #c562af,
    #312e81,
    #7e22ce,
    #be185d
  );
  background-size: 800% 800%;
  animation: bluePurpleBackground 15s ease infinite;
  padding: 60px 20px;
}

/* Footer */
footer {
  background-color: #1a1f36;
  color: white;
  padding: 40px 0;
}

footer a {
  color: #00cfff;
  text-decoration: none;
}

footer a:hover {
  color: #00cfff;
  text-decoration: underline;
}

.footer-social a {
  font-size: 20px;
  margin: 0 10px;
  color: #00cfff;
}
