/* Fade-in base state */
.fade-section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Fade-in active state */
.fade-section.show {
  opacity: 1;
  transform: translateY(0);
}

.card-img-top {
  width: 100%;  /* Makes sure the image fits the card */
  height: 200px; /* Maintains a uniform height */
  object-fit: cover; /* Ensures images don’t get distorted */
  border-radius: 8px; /* Slightly rounded corners for a premium look */
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-body h5 {
  margin-bottom: 10px;
}

.card-body p {
  flex-grow: 1;
}

.fleet-card-img-top {
  transition: all 0.3s ease-in-out;
}

.card:hover .fleet-card-img-top {
  filter: brightness(50%);
}

.btn-gold {
  background: linear-gradient(180deg, #D4AF37 0%, #E2C275 100%);
  color: #0B132B;
  font-weight: bold;
  border-radius: 6px;
  padding: 12px 20px;
  border: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.6);
  position: relative;
  animation: fadeInUp 0.8s ease-in-out;
  animation: pulseGlow 3s infinite alternate;
}

/* Add a subtle highlight for that "polished" look */
.btn-gold::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.4) 25%, rgba(255, 255, 255, 0) 60%);
  opacity: 0.8;
  transition: opacity 0.3s ease-in-out;
}

/* Make it shinier on hover */
.btn-gold:hover {
  background: linear-gradient(180deg, #FFC107 0%, #FFD700 50%, #B8860B 100%);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.9);
  transform: scale(1.05);
}

.btn-gold:hover::before {
  opacity: 1;
  animation: goldGlow 1.5s infinite alternate;
}

@keyframes goldGlow {
  0% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.6); }
  50% { box-shadow: 0 0 15px rgba(255, 215, 0, 0.8); }
  100% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.6); }
}

@keyframes fadeInUp {
  0% {
      opacity: 0;
      transform: translateY(10px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.7); }
  50% { box-shadow: 0 0 20px rgba(255, 215, 0, 1); }
  100% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.7); }
}

.text-gold {
  font-weight: bold;
  color: white; /* Pure white text */
  text-shadow: 0 0 4px #FFC107, 0 0 8px #FFD700, 0 0 12px #B8860B; /* Brighter gold glow */
  animation: glow 1.5s infinite alternate;
}

@keyframes glow {
  0% {
      text-shadow: 0 0 4px #FFC107, 0 0 8px #FFD700, 0 0 12px #B8860B;
  }
  50% {
      text-shadow: 0 0 6px #FFC107, 0 0 12px #FFD700, 0 0 16px #B8860B;
  }
  100% {
      text-shadow: 0 0 8px #FFC107, 0 0 15px #FFD700, 0 0 20px #B8860B;
  }
}

/* Form Styling */
.quote-form {
  background: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
  border-radius: 10px;
  padding: 20px;
}

/* Pop-Up Styling */
.popup {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 25px;
  border-radius: 10px;
  font-weight: bold;
  display: none;
  z-index: 9999;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Success Pop-Up */
.popup-success {
  background: linear-gradient(135deg, #ffcc00, #ffdb4d);
  color: black;
}

/* Error Pop-Up */
.popup-error {
  background: linear-gradient(135deg, #ff4d4d, #ff0000);
  color: white;
}

/* Fix for Mobile - Ensure Hero Resizes */
.hero-container {
  position: relative;
  min-height: 100vh; /* Ensure it resizes dynamically */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  max-width: 100%; /* Added max-width */
}

/* Prevent Clashing with Hero Form */
.quote-form {
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid #ffcc00;
  max-width: 500px;
  padding: 20px;
  overflow: hidden; /* Prevents breaking */
  transition: all 0.3s ease-in-out;
}

/* Fix for Round Trip Return Fields */
#returnFields {
  display: none;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

/* Activate the return fields when round trip is selected */
#returnFields.active {
  display: block !important;
  opacity: 1;
  max-height: 300px; /* Adjust for better spacing */
  overflow: visible;
}

/* Default styling for larger screens */
.hero-container h1 {
  font-size: 3rem; /* Desktop */
  font-weight: bold;
  text-align: center;
}

/* Ensure hero text and form are evenly spaced */
.hero-text-container {
  padding: 20px;
}

/* Fix overlapping issue by increasing spacing */
.position-relative {
  padding-bottom: 60px; /* Ensures space before next section */
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .hero-container h1 {
      font-size: 1.8rem; /* Reduce size for mobile */
      text-align: center;
  }

  .quote-form {
      padding: 15px;
      width: 100%;
      max-width: 350px;
      margin: 0 auto;
  }

  .hero-text-container h1 {
      font-size: 1.8rem;
      text-align: center;
  }
  
  .hero-text-container p {
      font-size: 1.2rem;
      text-align: center;
  }

  .btn-gold {
      font-size: 1rem; /* Ensure button remains easy to click */
      padding: 12px 18px;
  }
}



.btn-green {
  background: linear-gradient(180deg, rgba(11, 19, 43, 1) 0%, rgba(5, 10, 25, 1) 100%);
  color: white;
  font-weight: bold;
  border-radius: 6px;
  padding: 12px 20px;
  border: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(11, 19, 43, 0.5);
}

.btn-green:hover {
  box-shadow: 0 0 15px rgba(11, 19, 43, 0.7);
  transform: scale(1.03);
}


.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1) grayscale(100%);
}



#instantQuoteForm {
  background-color: #0B132B; /* Original color */
  border: 1px solid #ffc107; /* Matches Bootstrap "border-warning" */
  color: white; /* Text color */
  padding: 1rem; /* Bootstrap "p-4" equivalent */
  border-radius: 0.5rem; /* Rounded corners */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Bootstrap "shadow" equivalent */
}

/* Make it transparent on small screens */
@media (max-width: 768px) {
  #instantQuoteForm {
    background-color: rgba(29, 77, 79, 0.5); /* Green with 40% transparency */
  }
}


#front_hero {
    background: url('../images/hero.jpg') center center / cover no-repeat;
  }

@media (max-width: 768px) { /* Adjust for small screens */
    #front_hero {
      background: url('../images/small_hero.jpg') center center / cover no-repeat;
    }
  }


  .hero-front_text {
    background: linear-gradient(180deg, rgba(232, 194, 106, 1) 0%, rgba(201, 164, 77, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    font-size: 3rem;
  }


  .meet{
    background-color: #0B132B;
  }

  .card_jets{
    background-color: #0B132B;
    color: white;

  }


.qoute_bg{
  background-color: #0B132B;
  color: white;
}