/* Shared Airceleo styles: base layout, navbar, footer, and mobile menu */
:root {
  --nav-height: 82px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-y: scroll;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-main, #0d2c54);
  scroll-behavior: smooth;
  background: var(--page-bg, transparent);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("plane-outline-orange.png?v=1");
  background-repeat: no-repeat;
  background-position: center 30%;
  background-size: min(70vw, 780px);
  opacity: 0.32;
  pointer-events: none;
  z-index: 0;
}


body > * {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.btn-primary,
.btn-secondary,
.nav-cta,
.btn-cta-light,
.btn-cta-outline,
.how-cta-btn,
.ac-cta-btn,
.site-footer-btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease, border-color 0.2s ease;
}

/* Prevent all elements from moving by default */
button.btn-primary:hover,
button.btn-secondary:hover,
button.nav-cta:hover,
button.btn-cta-light:hover,
button.btn-cta-outline:hover,
button.how-cta-btn:hover,
button.ac-cta-btn:hover,
button.site-footer-btn:hover,
button.btn-primary:active,
button.btn-secondary:active,
button.btn-cta-light:active,
button.btn-cta-outline:active,
button.how-cta-btn:active,
button.ac-cta-btn:active {
  transform: translateY(0) !important;
  box-shadow: none;
}

/* Only apply hover/active/focus movement to anchor links (actual navigation links).
   Buttons (<button>) will not shift on hover to avoid unexpected movement of highlighted text. */
a.btn-primary:hover,
a.btn-secondary:hover,
a.nav-cta:hover,
a.btn-cta-light:hover,
a.btn-cta-outline:hover,
a.how-cta-btn:hover,
a.ac-cta-btn:hover,
a.site-footer-btn:hover {
  transform: translateY(-2px);
}

a.btn-primary:active,
a.btn-secondary:active,
a.nav-cta:active,
a.btn-cta-light:active,
a.btn-cta-outline:active,
a.how-cta-btn:active,
a.ac-cta-btn:active,
a.site-footer-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

a.btn-primary:focus-visible,
a.btn-secondary:focus-visible,
a.nav-cta:focus-visible,
a.btn-cta-light:focus-visible,
a.btn-cta-outline:focus-visible,
a.how-cta-btn:focus-visible,
a.ac-cta-btn:focus-visible,
a.site-footer-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}

.laser-cta {
  position: relative;
  isolation: isolate;
}

.laser-cta::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.28);
  box-shadow:
    0 0 18px rgba(245, 158, 11, 0.85),
    0 0 36px rgba(245, 158, 11, 0.7),
    0 0 80px rgba(245, 158, 11, 0.55);
  animation: laser-glow 1.4s ease-in-out infinite;
  z-index: -1;
}

@keyframes laser-glow {
  0%, 100% {
    opacity: 0.65;
    filter: blur(0);
  }
  50% {
    opacity: 1;
    filter: blur(1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .laser-cta::before {
    animation: none;
  }

}

.site-mega-footer {
  background: linear-gradient(135deg, #0b2342, #1d4ed8);
  color: #ffffff;
  padding: 70px 20px 26px;
}

.site-mega-wrap {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
}

.site-mega-brand h2 {
  font-size: 2.4rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.site-mega-brand p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 280px;
}

.site-mega-col h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.site-footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  margin: 4px 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.site-footer-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
}

.site-mega-bottom {
  max-width: 1120px;
  margin: 34px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.site-mega-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .site-mega-footer {
    padding: 56px 18px 24px;
  }

  .site-mega-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

section {
  padding: 70px 0;
}

.section-heading {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #0d2c54;
}

.section-subheading {
  max-width: 640px;
  font-size: 0.98rem;
  color: #64748b;
  margin-bottom: 32px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
  display: flex;
  justify-content: center;
  background: transparent;
  padding: 12px 0;
}

.navbar-container {
  width: 92%;
  max-width: 1250px;
  height: var(--nav-height);
  border-radius: 999px;
  padding: 0 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(220, 239, 255, 0.55));
  backdrop-filter: blur(28px);
  border: 1px solid rgba(59, 130, 246, 0.22);
  box-shadow:
    0 18px 42px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.65),
    0 0 28px rgba(14, 165, 233, 0.12);
  position: relative;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.nav-left * {
  pointer-events: none;
}

.nav-logo {
  width: 46px;
  height: 46px;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-weight: 600;
  font-size: 1.1rem;
  color: #0d2c54;
}

.brand-tagline {
  font-size: 0.75rem;
  color: #d8901f;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.9rem;
  color: #334155;
  font-weight: 600;
}

.nav-links a:hover {
  color: #0b2342;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.nav-caret {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 280px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.3);
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 25;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}

.nav-dropdown-menu a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  color: #0d2c54;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-dropdown-menu a:hover {
  background: rgba(14, 165, 233, 0.12);
  transform: translateY(-1px);
}

.nav-dd-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.16);
  color: #0d2c54;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.nav-dd-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-dd-text strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.nav-dd-text span {
  font-size: 0.78rem;
  color: #64748b;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  display: flex;
}

.nav-dropdown:hover .nav-caret,
.nav-dropdown.is-open .nav-caret {
  transform: rotate(180deg);
}

.nav-cta {
  padding: 10px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0b2342, #1d4ed8);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.25);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #0d2c54;
}

.nav-links-mobile {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.15);
  border-radius: 18px;
  padding: 12px 16px;
  flex-direction: column;
  gap: 12px;
  font-size: 0.95rem;
  min-width: 200px;
}

.nav-links-mobile.is-open {
  display: flex;
}

/* Footer */
footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding: 18px 0 26px;
  font-size: 0.8rem;
  color: #64748b;
  background: #ffffff;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

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

.footer-links a {
  color: #64748b;
}

.footer-links a:hover {
  color: #0d2c54;
}

/* Bottom logo alignment */
.page-logo {
  display: flex;
  justify-content: center;
  padding: 30px 0 10px;
}

.page-logo img {
  width: 90px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(15, 23, 42, 0.18));
}

@media (max-width: 880px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 960px) {
  .navbar-container {
    height: auto;
    padding: 12px 18px;
    border-radius: 24px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-links-mobile {
    left: 12px;
    right: 12px;
    width: auto;
    min-width: unset;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 28px 22px;
  }

  .hero-text {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .nav-cta {
    display: none;
  }
}

@media (max-width: 720px) {
  .navbar {
    padding: 8px 0;
  }

  .navbar-container {
    width: 94%;
    padding: 10px 14px;
  }

  .nav-logo {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-tagline {
    font-size: 0.7rem;
  }

  .nav-cta {
    order: 3;
    width: 100%;
    margin-top: 8px;
    justify-content: center;
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .nav-left {
    max-width: 70%;
  }

  .nav-brand-text {
    max-width: 140px;
  }

  .brand-name,
  .brand-tagline {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-title {
    font-size: clamp(1.9rem, 7.2vw, 2.6rem);
  }

  .hero-badges,
  .hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .feature-card {
    padding: 22px;
    min-height: auto;
  }

  .card-2 {
    padding-right: 22px;
  }

  .kyc-card,
  .package-icon,
  .package-shadow-ring {
    position: static;
    margin-top: 18px;
    transform: none;
  }
}

@media (max-width: 720px) {
  body {
    background-attachment: scroll !important;
  }

  body::before {
    background-size: min(90vw, 420px);
    opacity: 0.2;
  }

  .hero-badge,
  .hero-pill {
    font-size: 0.68rem;
    padding: 5px 8px;
  }

  .hero-card {
    padding: 18px;
  }

  .hero-card-text {
    font-size: 0.9rem;
  }

  .feature-card h3 {
    font-size: 1.05rem;
  }

  .feature-card p,
  .feature-card .tagline {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .card-2 {
    padding-right: 22px;
  }

  .kyc-card {
    width: 100%;
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 520px) {
  body::before {
    opacity: 0.14;
    background-size: min(100vw, 320px);
  }

  .hero-badges,
  .hero-pill-row {
    gap: 8px;
  }

  .hero-badge,
  .hero-pill {
    width: 100%;
    text-align: center;
  }

  .feature-card {
    padding: 20px;
  }
}

/* Hover pop for CTA cards (shared use in how/cta section) */
.ac-cta-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ac-cta-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.26);
  border-color: rgba(14, 165, 233, 0.35);
}

/* Logo trail transition for nav links (e.g., How it works) */
.nav-transition-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  pointer-events: none;
}

.nav-transition-overlay.is-active {
  display: flex;
}

.nav-transition-line {
  position: relative;
  width: 7px;
  height: 420px;
  border-radius: 999px;
  background: linear-gradient(180deg, #0ea5e9, #6366f1);
  box-shadow: 0 0 28px rgba(99, 102, 241, 0.45);
  transform: scaleY(0);
  transform-origin: top;
  animation: navLineGrow 0.35s ease-out forwards;
}

.nav-transition-logo {
  position: absolute;
  top: -34px;
  left: 50%;
  width: 92px;
  height: 92px;
  transform: translate(-50%, 0) scale(0.9);
  background: #ffffff;
  border-radius: 26px;
  box-shadow:
    0 14px 32px rgba(15, 23, 42, 0.25),
    0 0 0 1px rgba(14, 165, 233, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: navLogoSlide 0.6s ease-in-out forwards;
}

.nav-transition-logo img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

@keyframes navLineGrow {
  0% { transform: scaleY(0); opacity: 0; }
  100% { transform: scaleY(1); opacity: 1; }
}

@keyframes navLogoSlide {
  0% { transform: translate(-50%, -20px) scale(0.9); opacity: 0; }
  60% { transform: translate(-50%, 110px) scale(1.04); opacity: 1; }
  100% { transform: translate(-50%, 180px) scale(1); opacity: 1; }
}
/* === SCROLL ANIMATION BASE === */
.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease-out;
}

/* === WHEN IN VIEW === */
.scroll-animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

.ac-step-visual {
  font-size: 0;
  line-height: 0;
}
/* === MOBILE RESPONSIVENESS (Paste at the bottom of airceleo.css) === */

@media screen and (max-width: 768px) {
  /* 1. Stack the Navigation */
  .navbar-container {
    padding: 10px 20px;
    height: auto; /* Allow height to grow when menu opens */
  }

  .nav-links, .nav-cta {
    display: none; /* Hide desktop menu links */
  }

  .nav-toggle {
    display: flex; /* Show the hamburger button */
  }

  /* 2. Stack the Hero Section (Text on top, image/card on bottom) */
  .hero-inner, 
  .split, 
  .cards-grid, 
  .feature-grid, 
  .vision-story-grid,
  .sender-benefit-grid,
  .traveler-benefit-grid,
  .safety-feature-grid,
  .three-step-grid,
  .footer-inner {
    grid-template-columns: 1fr !important; /* Force single column */
    gap: 30px;
  }

  /* 3. Fix Padding for Mobile Screens */
  .page {
    padding: 0 20px 40px;
  }

  .section-heading {
    font-size: 1.8rem; /* Make big titles slightly smaller */
  }

  .hero-title, .vision-title {
    font-size: 2.2rem;
  }
  
  /* 4. Fix Images on Mobile */
  .split-right-illustration, .hero-card {
    order: -1; /* Optional: If you want images ABOVE text on mobile, use -1. If below, remove this line. */
  }
}