/* ba777 shared navigation and footer chrome */

.ba777-navbar {
  min-height: 74px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, .96), rgba(10, 20, 38, .9)) !important;
  border-bottom: 1px solid rgba(167, 243, 208, .2) !important;
  box-shadow: 0 14px 34px rgba(2, 8, 23, .34), 0 1px 0 rgba(20, 184, 166, .12);
  isolation: isolate;
}

.ba777-navbar::after {
  position: absolute;
  right: 5%;
  bottom: -1px;
  left: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20, 184, 166, .8), rgba(167, 243, 208, .75), transparent);
  content: '';
  pointer-events: none;
}

.ba777-navbar .container {
  position: relative;
  z-index: 1;
}

.ba777-navbar .navbar-brand {
  position: relative;
  min-width: 164px;
  padding: .45rem .7rem;
  border: 1px solid transparent;
  border-radius: 16px;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.ba777-navbar .navbar-brand::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 112px;
  height: 34px;
  border-radius: 50%;
  background: rgba(20, 184, 166, .18);
  content: '';
  filter: blur(18px);
  transform: translate(-50%, -50%);
  z-index: -1;
}

.ba777-navbar .navbar-brand:hover {
  background: rgba(20, 184, 166, .08);
  border-color: rgba(167, 243, 208, .2);
  transform: translateY(-1px);
}

.ba777-navbar .navbar-brand img {
  position: relative;
  z-index: 1;
  height: 48px;
  width: auto;
  max-width: 178px;
  object-fit: contain;
  filter: drop-shadow(0 5px 13px rgba(20, 184, 166, .25));
}

.ba777-navbar .navbar-collapse {
  align-items: center;
}

.ba777-navbar .navbar-nav {
  gap: .15rem;
  flex-wrap: nowrap;
}

.ba777-navbar .nav-link {
  position: relative;
  overflow: hidden;
  margin: 0 !important;
  padding: .65rem .62rem !important;
  border: 1px solid transparent;
  border-radius: 13px;
  color: #dffaf4 !important;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.ba777-navbar .nav-link::after {
  position: absolute;
  right: .62rem;
  bottom: .3rem;
  left: .62rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #14b8a6, #a7f3d0);
  content: '';
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity .25s ease, transform .25s ease;
}

.ba777-navbar .nav-link:hover,
.ba777-navbar .nav-link:focus,
.ba777-navbar .nav-link.active {
  background: linear-gradient(135deg, rgba(20, 184, 166, .2), rgba(167, 243, 208, .1));
  border-color: rgba(167, 243, 208, .22);
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(2, 8, 23, .18), inset 0 1px 0 rgba(255, 255, 255, .08);
  transform: translateY(-1px);
}

.ba777-navbar .nav-link:hover::after,
.ba777-navbar .nav-link:focus::after,
.ba777-navbar .nav-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.ba777-navbar .ba777-navbar-actions {
  flex: 0 0 auto;
  margin-left: .7rem;
  padding-left: .85rem;
  border-left: 1px solid rgba(167, 243, 208, .16);
}

.ba777-navbar .ba777-navbar-actions .btn {
  min-width: 76px;
  padding: .62rem .9rem;
  border-radius: 12px;
  font-size: .82rem;
}

.ba777-navbar .ba777-navbar-actions .btn-primary-custom {
  background: linear-gradient(135deg, #14b8a6, #0ea5a3);
  box-shadow: 0 8px 18px rgba(20, 184, 166, .24);
}

.ba777-navbar .ba777-navbar-actions .btn-primary-custom:hover {
  background: linear-gradient(135deg, #2dd4bf, #14b8a6);
  box-shadow: 0 10px 22px rgba(20, 184, 166, .36);
  transform: translateY(-1px);
}

.ba777-navbar .ba777-navbar-actions .btn-outline-custom {
  border-color: rgba(167, 243, 208, .48);
  color: #a7f3d0;
}

.ba777-navbar .ba777-navbar-actions .btn-outline-custom:hover {
  background: rgba(167, 243, 208, .12);
  border-color: #a7f3d0;
  color: #fff;
}

.ba777-navbar .navbar-toggler {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(167, 243, 208, .3) !important;
  border-radius: 14px;
  background: rgba(20, 184, 166, .12);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.ba777-navbar .navbar-toggler:hover,
.ba777-navbar .navbar-toggler:focus {
  background: rgba(20, 184, 166, .22);
  border-color: rgba(167, 243, 208, .65) !important;
  box-shadow: 0 0 0 .2rem rgba(20, 184, 166, .14) !important;
  transform: translateY(-1px);
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
  padding: clamp(3.25rem, 6vw, 5rem) 0 clamp(1.25rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 8% 0%, rgba(20, 184, 166, .16), transparent 28%),
    radial-gradient(circle at 92% 16%, rgba(167, 243, 208, .1), transparent 24%),
    linear-gradient(180deg, #0b172b 0%, #081221 100%);
  border-top: 1px solid rgba(167, 243, 208, .22);
  box-shadow: 0 -18px 45px rgba(2, 8, 23, .18);
}

.site-footer::before {
  position: absolute;
  top: 0;
  right: 6%;
  left: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20, 184, 166, .85), rgba(167, 243, 208, .7), transparent);
  content: '';
}

.site-footer::after {
  position: absolute;
  right: -100px;
  bottom: -140px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(20, 184, 166, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(20, 184, 166, .035), 0 0 0 48px rgba(20, 184, 166, .025);
  content: '';
  pointer-events: none;
}

.ba777-body-image {
  display: block;
  width: 100% !important;
  max-width: 920px;
  height: 360px;
  margin-inline: auto;
  object-fit: cover;
}

.ba777-body-image-wrap {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.image-frame.glass {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.35fr) repeat(3, minmax(130px, .8fr)) minmax(190px, 1fr);
  gap: 2rem 2.25rem;
  align-items: start;
}

.site-footer .footer-brand {
  margin-bottom: 1rem;
}

.site-footer .footer-brand a {
  display: inline-flex;
  align-items: center;
  padding: .35rem .6rem;
  border: 1px solid rgba(167, 243, 208, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
}

.site-footer .footer-brand img {
  height: 46px;
  width: auto;
  filter: drop-shadow(0 5px 13px rgba(20, 184, 166, .22));
}

.site-footer .footer-desc {
  max-width: 360px;
  margin-bottom: 1.1rem;
  color: #afc7cb;
  font-size: .93rem;
  line-height: 1.8;
}

.site-footer .footer-title {
  margin-bottom: 1rem;
  color: #a7f3d0;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.site-footer .footer-links,
.site-footer .footer-contact {
  display: flex;
  flex-direction: column;
  gap: .68rem;
}

.site-footer .footer-links a,
.site-footer .footer-contact a {
  position: relative;
  width: fit-content;
  color: #d9eeeb;
  font-size: .9rem;
  text-decoration: none;
  transition: color .25s ease, transform .25s ease;
}

.site-footer .footer-links a::before {
  display: inline-block;
  margin-right: .38rem;
  color: #14b8a6;
  content: '↗';
  font-size: .78rem;
  opacity: .85;
  transition: transform .25s ease;
}

.site-footer .footer-links a:hover,
.site-footer .footer-contact a:hover {
  color: #fff;
  transform: translateX(3px);
}

.site-footer .footer-links a:hover::before {
  transform: translate(2px, -2px);
}

.site-footer .footer-contact p {
  max-width: 220px;
  margin: 0;
  color: #afc7cb;
  font-size: .9rem;
  line-height: 1.75;
}

.site-footer .footer-contact .footer-contact-link {
  display: inline-flex;
  width: fit-content;
  padding: .55rem .78rem;
  border: 1px solid rgba(167, 243, 208, .22);
  border-radius: 11px;
  background: rgba(20, 184, 166, .1);
  color: #dffaf4;
  font-weight: 700;
}

.site-footer .footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.site-footer .footer-badge {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  justify-content: center;
  padding: 0 .72rem;
  border: 1px solid rgba(167, 243, 208, .2);
  border-radius: 999px;
  background: rgba(20, 184, 166, .1);
  color: #c9f9ed;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .03em;
}

.site-footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(167, 243, 208, .14);
  color: #8faeb3;
  font-size: .82rem;
}

.site-footer .footer-bottom p {
  margin: 0;
  color: inherit;
}

@media (max-width: 1399.98px) and (min-width: 1200px) {
  .ba777-navbar .navbar-brand { min-width: 132px; padding-inline: .25rem; }
  .ba777-navbar .navbar-brand img { height: 43px; max-width: 138px; }
  .ba777-navbar .navbar-nav { gap: 0; }
  .ba777-navbar .nav-link { padding-inline: .25rem !important; font-size: .72rem; }
  .ba777-navbar .nav-link::after { right: .25rem; left: .25rem; }
  .ba777-navbar .ba777-navbar-actions { margin-left: .2rem; padding-left: .4rem; }
  .ba777-navbar .ba777-navbar-actions .btn { min-width: 58px; padding-inline: .5rem; font-size: .72rem; }
}

@media (max-width: 1199.98px) {
  .ba777-navbar .navbar-collapse {
    margin-top: .7rem !important;
    padding: .7rem;
    border: 1px solid rgba(167, 243, 208, .16);
    border-radius: 18px;
    background: rgba(10, 20, 38, .97);
    box-shadow: 0 18px 36px rgba(2, 8, 23, .3);
  }

  .ba777-navbar .navbar-nav {
    align-items: stretch !important;
    gap: .2rem;
  }

  .ba777-navbar .nav-link { padding: .72rem .82rem !important; }

  .ba777-navbar .ba777-navbar-actions {
    margin: .55rem 0 0;
    padding: .85rem 0 .1rem;
    border-top: 1px solid rgba(167, 243, 208, .14);
    border-left: 0;
  }

  .site-footer .footer-grid {
    grid-template-columns: repeat(3, minmax(160px, 1fr));
  }

  .site-footer .footer-brand-column {
    grid-column: 1 / -1;
  }

  .site-footer .footer-desc { max-width: 560px; }
}

@media (max-width: 767.98px) {
  .ba777-body-image { height: 220px; }

  .ba777-navbar { min-height: 68px; }
  .ba777-navbar .navbar-brand { min-width: 0; padding-inline: .35rem; }
  .ba777-navbar .navbar-brand img { height: 43px; max-width: 160px; }
  .ba777-navbar .navbar-collapse { margin-inline: .15rem; }
  .ba777-navbar .ba777-navbar-actions { display: grid !important; grid-template-columns: 1fr 1fr; }
  .ba777-navbar .ba777-navbar-actions .btn { width: 100%; }

  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.7rem 1.25rem; }
  .site-footer .footer-brand-column,
  .site-footer .footer-contact { grid-column: 1 / -1; }
  .site-footer .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
  .ba777-navbar .navbar-brand img { max-width: 142px; }
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .site-footer .footer-brand-column,
  .site-footer .footer-contact { grid-column: auto; }
}
