html {
  scroll-behavior: smooth;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer.open {
  max-height: 200px;
}

nav.scrolled,
nav:hover {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

nav.scrolled a,
nav.scrolled .nav-link,
nav:hover a,
nav:hover .nav-link {
  color: #293278 !important;
}

nav.scrolled a:hover,
nav:hover a:hover {
  color: rgba(41, 50, 120, 0.7) !important;
}

nav.scrolled .nav-divider,
nav:hover .nav-divider {
  background: rgba(41, 50, 120, 0.2);
}

nav.scrolled .nav-line,
nav:hover .nav-line {
  background: rgba(41, 50, 120, 0.15);
}

nav.scrolled .nav-arrow,
nav:hover .nav-arrow {
  fill: #293278;
}

nav.nav-hidden {
  transform: translateY(-100%);
}

/* CTA button hover animation */
.cta-btn {
  transition: border-color 0.3s ease;
}

.cta-btn:hover {
  border-color: white !important;
}

.cta-btn .cta-plane {
  transition: transform 0.3s ease;
}

.cta-btn:hover .cta-plane {
  transform: rotate(-15deg);
}

/* Talk to Expert button hover */
.expert-btn {
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.expert-btn:hover {
  background-color: white !important;
  border-color: white !important;
}

.expert-btn .expert-text {
  transition: color 0.3s ease;
}

.expert-btn:hover .expert-text {
  color: #293278 !important;
}

.expert-btn .expert-icon {
  transition: transform 0.3s ease;
}

.expert-btn:hover .expert-icon {
  transform: rotate(-90deg);
}

/* Floating button hover - expand with label, icon slides right */
.float-btn {
  transition: background-color 0.3s ease, padding-right 0.3s ease;
  padding-right: 0;
}

.float-btn:hover {
  background-color: white;
  padding-right: 10px;
}

.float-btn .float-label {
  max-width: 0;
  padding: 0;
  overflow: hidden;
  transition: max-width 0.3s ease, padding 0.3s ease;
}

.float-btn:hover .float-label {
  max-width: 130px;
  padding-left: 10px;
  padding-right: 10px;
}

.float-btn .float-icon {
  transition: transform 0.3s ease;
}

.float-btn:hover .float-icon {
  transform: translateX(8px);
}

/* Fleet mega menu dropdown */
.fleet-dropdown:hover .fleet-mega-menu {
  display: flex;
}

.fleet-mega-menu {
  animation: megaMenuFadeIn 0.25s ease;
}

@keyframes megaMenuFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile menu */
.mobile-nav-overlay.open {
  display: flex !important;
}

/* Hamburger animation */
#mobileMenuBtn.open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

#mobileMenuBtn.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

#mobileMenuBtn.open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Scrolled nav hamburger color */
nav.scrolled #mobileMenuBtn .hamburger-line,
nav:hover #mobileMenuBtn .hamburger-line {
  background: #293278;
}

/* Mobile fleet carousel arrows */
.fleet-arrow {
  transition: background-color 0.2s ease;
}

.fleet-arrow:hover {
  background-color: rgba(255, 255, 255, 0.3);
}
