/* =============================================================
   Aerolink Shuttle — Shell (header + footer) redesign
   Scoped under .al-scope so legacy pages stay untouched.
   Brand: navy #041538 / green #2CB122
   ============================================================= */

:root {
  --al-navy: #041538;
  --al-navy-2: #071f4d;
  --al-navy-3: #0b2a66;
  --al-green: #2CB122;
  --al-green-dark: #219619;
  --al-green-soft: rgba(44, 177, 34, 0.12);
  --al-ink: #071B44;
  --al-ink-2: #3c4a68;
  --al-paper: #F6F8FC;
  --al-paper-2: #EEF3FA;
  --al-line: rgba(4, 21, 56, 0.12);
  --al-focus: rgba(44, 177, 34, 0.35);
  --al-shadow-sm: 0 6px 16px rgba(4, 21, 56, 0.12);
  --al-shadow-md: 0 12px 30px rgba(4, 21, 56, 0.16);
  --al-shadow-lg: 0 22px 60px rgba(4, 21, 56, 0.22);
  --al-radius-md: 14px;
  --al-radius-lg: 18px;
  --al-radius-xl: 26px;
  --al-header-h: 88px;
  --al-display: "Space Grotesk", "Winky Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --al-body: "IBM Plex Sans", "Winky Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.al-scope,
.al-scope p,
.al-scope a,
.al-scope li,
.al-scope span,
.al-scope div,
.al-scope button,
.al-scope input {
  font-family: var(--al-body);
  font-style: normal;
}

.al-scope h1,
.al-scope h2,
.al-scope h3,
.al-scope h4,
.al-scope h5,
.al-scope h6,
.al-scope .al-display {
  font-family: var(--al-display);
  letter-spacing: -0.015em;
}

.al-scope ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.al-scope a:focus-visible,
.al-scope button:focus-visible {
  outline: 2px solid var(--al-green);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------------------------------------------------------------
   HEADER
   --------------------------------------------------------------- */
.al-header {
  position: static;
  width: 100%;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--al-line);
  transition: box-shadow .35s ease;
}

.al-header.al-header--scrolled {
  box-shadow: 0 10px 30px rgba(4, 21, 56, 0.10);
}

.al-header__inner {
  max-width: 1240px;
  margin: 0 auto;
  height: var(--al-header-h);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* brand -------------------------------------------------------- */
.al-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.al-brand__mark {
  width: 44px;
  height: 44px;
  display: block;
}

.al-brand__word {
  height: 17px;
  width: auto;
  display: block;
  transition: filter .35s ease;
}

.al-header--ghost .al-brand__word {
  filter: brightness(1.7);
}

/* desktop nav -------------------------------------------------- */
.al-nav {
  display: none;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
}

.al-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 13px;
  font-size: 15px;
  font-weight: 500;
  color: var(--al-ink);
  text-decoration: none;
  border-radius: 10px;
  white-space: nowrap;
  transition: color .25s ease, background-color .25s ease;
}

.al-nav__link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--al-green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s ease;
}

.al-nav__link:hover {
  color: var(--al-green);
}

.al-nav__link:hover::after {
  transform: scaleX(1);
}

.al-header--ghost .al-nav__link {
  color: rgba(255, 255, 255, 0.92);
}

.al-header--ghost .al-nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
}

/* rides dropdown ------------------------------------------------- */
.al-nav__item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.al-nav__caret {
  margin-left: 6px;
  font-size: 11px;
  transition: transform .2s ease;
}

.al-nav__item:hover .al-nav__caret,
.al-nav__item:focus-within .al-nav__caret {
  transform: rotate(180deg);
}

.al-nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  display: flex;
  flex-direction: column;
  min-width: 220px;
  padding: 8px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(4, 21, 56, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 40;
}

.al-nav__item:hover .al-nav__dropdown,
.al-nav__item:focus-within .al-nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.al-nav__dropdown .al-nav__link {
  color: var(--al-ink);
  height: 38px;
  width: 100%;
}

.al-nav__dropdown .al-nav__link::after {
  display: none;
}

.al-nav__dropdown .al-nav__link:hover {
  color: var(--al-navy);
  background: var(--al-paper);
}

.al-header--ghost .al-nav__dropdown .al-nav__link {
  color: var(--al-ink);
}

.al-header--ghost .al-nav__dropdown .al-nav__link:hover {
  color: var(--al-navy);
  background: var(--al-paper);
}

/* right side actions ------------------------------------------- */
.al-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.al-phone {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--al-line);
  text-decoration: none;
  transition: border-color .25s ease, background-color .25s ease;
}

.al-phone i {
  color: var(--al-green);
  font-size: 15px;
}

.al-phone__label {
  display: block;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--al-ink-2);
  line-height: 1.2;
}

.al-phone__value {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--al-ink);
  line-height: 1.25;
}

.al-phone:hover {
  border-color: var(--al-green);
  background: var(--al-green-soft);
}

.al-header--ghost .al-phone {
  border-color: rgba(255, 255, 255, 0.28);
}

.al-header--ghost .al-phone__label {
  color: rgba(255, 255, 255, 0.7);
}

.al-header--ghost .al-phone__value {
  color: #fff;
}

.al-header--ghost .al-phone:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}

.al-social {
  display: none;
  align-items: center;
  gap: 6px;
}

.al-social a,
.icon-animation {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--al-ink);
  text-decoration: none;
  transition: color .25s ease, background-color .25s ease;
}

.al-social a i {
  font-size: 17px;
}

.al-social a:hover {
  color: var(--al-green);
  background: var(--al-green-soft);
}

.al-header--ghost .al-social a {
  color: rgba(255, 255, 255, 0.85);
}

.al-header--ghost .al-social a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

/* login / profile buttons (ids preserved elsewhere) ------------- */
.al-auth {
  display: none;
}

.login-btn {
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--al-green);
  color: #fff !important;
  font-family: var(--al-body);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--al-green);
  box-shadow: 0 8px 20px rgba(44, 177, 34, 0.25);
  transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.login-btn:hover {
  background: var(--al-green-dark);
  border-color: var(--al-green-dark);
  color: #fff !important;
}

.login-btn-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--al-green);
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  transition: background-color .25s ease;
}

.login-btn-2:hover {
  background: var(--al-green-dark);
  color: #fff !important;
}

/* hamburger ---------------------------------------------------- */
.al-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  border: 1px solid var(--al-line);
  background: #fff;
  color: var(--al-navy);
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

.al-burger i {
  font-size: 20px;
}

.al-burger:hover {
  background: var(--al-navy);
  border-color: var(--al-navy);
  color: #fff;
}

.al-header--ghost .al-burger {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.al-header--ghost .al-burger:hover {
  background: rgba(255, 255, 255, 0.22);
}

.rotate {
  transition: transform .4s ease;
}

.rotate.open {
  transform: rotate(90deg);
}

.hand,
.hand-2 {
  cursor: pointer;
}

/* news / alert ticker ------------------------------------------ */
.ticker-wrap {
  width: 100%;
  height: 3.5rem;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  background: linear-gradient(90deg, #c62828 0%, #e53935 55%, #c62828 100%);
  display: flex;
  align-items: center;
  z-index: 20;
}

.ticker {
  display: inline-block;
  animation: al-marquee 40s linear infinite;
}

.item-collection-1 {
  position: relative;
  left: 0;
  animation: al-swap 40s linear infinite;
}

.ticker .item {
  display: inline-block;
  font-family: var(--al-body);
  font-size: 0.95rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: .01em;
}

@keyframes al-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@keyframes al-swap {
  0%, 50% { left: 0; }
  50.01%, 100% { left: 100%; }
}

/* ---------------------------------------------------------------
   MOBILE SIDE PANEL
   --------------------------------------------------------------- */
.side-panel {
  position: fixed;
  top: 0;
  right: -340px;
  height: 100vh;
  width: 320px;
  max-width: 88vw;
  background: var(--al-navy);
  background-image: radial-gradient(120% 60% at 100% 0%, rgba(44, 177, 34, 0.18) 0%, rgba(4, 21, 56, 0) 60%);
  box-shadow: -18px 0 50px rgba(0, 0, 0, 0.35);
  transition: right .35s cubic-bezier(.22, .61, .36, 1);
  padding: 18px 20px 40px;
  z-index: 999999;
  overflow-y: auto;
}

.side-panel.open {
  right: 0;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.al-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.al-panel__logo {
  width: 38px;
  height: 38px;
}

.al-panel-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background-color .25s ease;
}

.al-panel-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.al-panel__label {
  margin: 22px 0 8px;
  font-family: var(--al-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--al-green);
}

.al-panel__links li a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 6px 10px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .22s ease, color .22s ease;
}

.al-panel__links li a i {
  width: 20px;
  text-align: center;
  color: var(--al-green);
  font-size: 15px;
}

.al-panel__links li a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.al-panel__cta {
  margin-top: 26px;
}

.al-panel__social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.al-panel__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  text-decoration: none;
  transition: background-color .25s ease;
}

.al-panel__social a:hover {
  background: var(--al-green);
}

/* ---------------------------------------------------------------
   FOOTER
   --------------------------------------------------------------- */
.al-footer {
  position: relative;
  background: var(--al-navy) !important;
  padding: 0 !important;
  color: #fff;
  overflow: hidden;
}

.al-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 55% at 8% 0%, rgba(44, 177, 34, 0.16) 0%, rgba(4, 21, 56, 0) 62%),
    radial-gradient(60% 50% at 95% 12%, rgba(11, 42, 102, 0.75) 0%, rgba(4, 21, 56, 0) 70%);
  pointer-events: none;
}

.al-footer__wrap {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 68px 20px 26px;
}

.al-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 8px;
}

.al-footer__topicon {
  width: 46px;
  height: 46px;
  display: block;
}

.al-footer__social-row {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.al-footer__social-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color .25s ease;
}

.al-footer__social-row a i {
  color: var(--al-green);
  font-size: 15px;
}

.al-footer__social-row a:hover {
  color: var(--al-green);
}

.al-footer__rule {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin: 26px 0 0;
}

.al-footer__ctacol h3 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.25;
}

.al-footer__ctacol p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14.5px;
  line-height: 1.65;
}

.al-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--al-body);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease, color .25s ease;
}

.al-btn--green {
  background: var(--al-green);
  color: #fff;
  box-shadow: 0 12px 30px rgba(44, 177, 34, 0.28);
}

.al-btn--green:hover {
  background: var(--al-green-dark);
  color: #fff;
  box-shadow: 0 16px 38px rgba(44, 177, 34, 0.34);
}

.al-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
  color: #fff;
}

.al-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.al-btn--navy {
  background: var(--al-navy);
  color: #fff;
}

.al-btn--navy:hover {
  background: var(--al-navy-3);
  color: #fff;
}

.al-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 38px;
  padding: 54px 0 44px;
}

.al-footer h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--al-green);
  margin: 0 0 16px;
}

.al-footer__links li {
  margin-bottom: 2px;
}

.al-footer__links li a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14.5px;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: color .25s ease;
}

.al-footer__links li a i {
  color: var(--al-green);
  font-size: 13px;
}

.al-footer__links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  height: 1px;
  width: 100%;
  background: var(--al-green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s ease;
}

.al-footer__links li a:hover {
  color: #fff;
}

.al-footer__links li a:hover::after {
  transform: scaleX(1);
}

.al-footer__support {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 22px 0 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.al-footer__support-text {
  font-family: 'Dancing Script', cursive;
  font-size: 23px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.al-footer__support a {
  display: block;
  max-width: 220px;
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.al-footer__support img {
  width: 100%;
  height: auto;
  transition: transform .4s ease;
}

.al-footer__support a:hover img {
  transform: scale(1.05);
}

.al-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 0 8px;
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.al-footer__wordmark {
  display: none !important;
}

.al-footer__bottomlogo {
  display: block;
  height: 26px;
  width: auto;
  opacity: .92;
  transition: opacity .25s ease, transform .25s ease;
}

.al-footer__bottomlogo:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.al-footer__copy {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13.5px;
  line-height: 1.7;
  margin: 0;
}

.al-footer__copy #year {
  color: rgba(255, 255, 255, 0.6);
  display: inline;
}

.al-footer__copy a {
  color: var(--al-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------- */
@media (max-width: 991px) {
  :root {
    --al-header-h: 72px;
  }

  .al-brand__mark {
    width: 38px;
    height: 38px;
  }

  .al-brand__word {
    height: 14px;
  }
}

@media (min-width: 576px) {
  .al-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .al-footer__ctacol h3 {
    font-size: 27px;
  }

  .al-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .al-footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
    gap: 44px;
  }

  .al-footer__wrap {
    padding: 84px 24px 30px;
  }
}

/* desktop navigation only kicks in when there is room for it */
@media (min-width: 1280px) {
  .al-nav,
  .al-social {
    display: flex;
  }

  .al-phone {
    display: inline-flex;
  }

  .al-auth {
    display: block;
  }

  .al-burger {
    display: none;
  }
}

/* keep the header on one line on mid-size desktops (no overflow) */
@media (min-width: 1280px) and (max-width: 1499px) {
  .al-header__inner {
    max-width: 100%;
    padding: 0 24px;
    gap: 10px;
  }

  .al-nav {
    min-width: 0;
    gap: 0;
  }

  .al-nav__link {
    font-size: 14.5px;
    padding: 0 9px;
  }

  .al-nav__link::after {
    left: 9px;
    right: 9px;
  }

  .al-actions {
    gap: 8px;
  }

  .al-phone {
    padding: 6px 12px 6px 9px;
  }
}

@media (min-width: 1500px) {
  .al-header__inner {
    max-width: 1440px;
    padding: 0 24px;
  }

  .al-nav__link {
    font-size: 15px;
    padding: 0 13px;
  }

  .al-nav__link::after {
    left: 13px;
    right: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .al-scope *,
  .al-scope *::before,
  .al-scope *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
