/* =========================================================
   Desh Air Travels — custom styles
   Tailwind CDN handles layout/utilities; this file adds
   motion, decorative elements and component states.
   ========================================================= */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: "Anek Bangla", system-ui, sans-serif;
}

.font-english {
  font-family: "Outfit", "Inter", sans-serif;
}

/* ---------- top accent ---------- */
.accent-bar {
  height: 4px;
  background: linear-gradient(90deg, #05162f 0%, #1266e3 28%, #38d3f2 50%, #1266e3 72%, #05162f 100%);
}

/* ---------- airlines marquee ---------- */
.airline-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.airline-track {
  display: inline-flex;
  align-items: center;
  animation: airlineMove 80s linear infinite;
  will-change: transform;
}

.airline-set {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  padding-right: 2.25rem;
  white-space: nowrap;
}

.airline-marquee:hover .airline-track,
.airline-marquee:focus-within .airline-track {
  animation-play-state: paused;
}

@keyframes airlineMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.airline-logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #0b2a5e;
}

.airline-img {
  width: 36px;
  height: 36px;
  padding: 3px;
  background: #fff;
  border: 1px solid #dceeff;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}

.airline-name {
  font-size: 15px;
}

/* ---------- hero ---------- */
.hero-flight {
  z-index: 0;
}

.hero-flight-svg {
  opacity: .55;
}

.hero-copy {
  position: relative;
  z-index: 10;
}

.hero-section {
  background:
    radial-gradient(1000px 620px at 88% -10%, rgba(43, 135, 255, .42), transparent 62%),
    radial-gradient(720px 560px at -6% 108%, rgba(56, 211, 242, .18), transparent 60%),
    linear-gradient(155deg, #04142c 0%, #072447 42%, #0b2a5e 78%, #05162f 100%);
  isolation: isolate;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(138, 198, 255, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 198, 255, .075) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 58% 34%, #000 10%, rgba(0,0,0,.55) 58%, transparent 84%);
  mask-image: radial-gradient(ellipse at 58% 34%, #000 10%, rgba(0,0,0,.55) 58%, transparent 84%);
  pointer-events: none;
  z-index: 0;
}

.hero-section::after {
  content: "";
  position: absolute;
  right: -180px;
  top: -260px;
  width: 680px;
  height: 680px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(43, 135, 255, .38), rgba(43, 135, 255, 0) 68%);
  filter: blur(24px);
  pointer-events: none;
  z-index: 0;
}

.hero-section .hero-globe {
  opacity: .75;
}

@media (max-width: 640px) {
  .hero-section .hero-globe {
    opacity: .45;
    top: -1rem;
    right: -0.75rem;
  }
}

.hero-section .text-gradient {
  background: linear-gradient(90deg, #8ac6ff 0%, #55a8ff 38%, #7ce7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-map {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 64%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 64%, transparent 100%);
}

.hero-map-img {
  opacity: .58;
  -webkit-mask-image: radial-gradient(ellipse at 50% 42%, #000 18%, rgba(0, 0, 0, .55) 58%, transparent 86%);
  mask-image: radial-gradient(ellipse at 50% 42%, #000 18%, rgba(0, 0, 0, .55) 58%, transparent 86%);
}

.flight-map {
  opacity: .95;
}

/* ---------- digital travel card ---------- */
.card-globe {
  opacity: .96;
}

.card-globe svg {
  display: block;
  overflow: visible;
}

.globe-land {
  animation: globeDrift 20s linear infinite;
  will-change: transform;
}

@keyframes globeDrift {
  from { transform: translateX(0); }
  to { transform: translateX(-200px); }
}

/* official visiting card — flip card */
.vcard {
  position: relative;
  perspective: 1800px;
}

.vcard-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 1458 / 918;
  transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.4, .12, .2, 1);
  cursor: pointer;
  border-radius: 1rem;
}

.vcard-inner:focus-visible {
  outline: 2px solid #38d3f2;
  outline-offset: 4px;
}

.vcard.is-flipped .vcard-inner {
  transform: rotateY(180deg);
}

.vcard-face {
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-shadow: 0 28px 60px -30px rgba(2, 10, 24, .9), 0 0 0 1px rgba(56, 211, 242, .28);
  transition: box-shadow .3s ease;
}

.vcard:hover .vcard-face,
.vcard-inner:focus-visible .vcard-face {
  box-shadow: 0 34px 70px -30px rgba(2, 10, 24, .95), 0 0 0 1px rgba(56, 211, 242, .6), 0 0 34px -8px rgba(56, 211, 242, .35);
}

.vcard-face img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vcard-face-back {
  transform: rotateY(180deg);
  background: #06182f;
}

.vcard-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem .8rem;
  border-radius: .7rem;
  font-weight: 700;
  line-height: 1.2;
  color: #dbeafe;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.vcard-chip:hover {
  color: #fff;
  background: rgba(18, 102, 227, .3);
  border-color: rgba(56, 211, 242, .55);
}

.vcard-chip:active {
  transform: translateY(1px);
}

.vcard-chip:focus-visible {
  outline: 2px solid #38d3f2;
  outline-offset: 2px;
}

/* official visiting card — full-size viewer */
.vcard-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(3, 11, 24, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.vcard-modal.open {
  display: flex;
}

.vcard-modal-panel {
  display: flex;
  flex-direction: column;
  width: min(96vw, 880px);
  max-height: 94vh;
  border-radius: 1rem;
  overflow: hidden;
  background: #071a33;
  border: 1px solid rgba(86, 168, 255, .3);
  box-shadow: 0 40px 90px -34px rgba(0, 0, 0, .95);
}

.vcard-modal-stage {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: auto;
  background: radial-gradient(ellipse at 50% 0%, rgba(18, 102, 227, .22), transparent 70%);
}

.vcard-modal-stage img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(94vh - 140px);
  border-radius: .55rem;
  cursor: pointer;
  box-shadow: 0 22px 48px -22px rgba(0, 0, 0, .95);
}

.vcard-modal-close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  transition: background .2s ease, color .2s ease;
}

.vcard-modal-close:hover {
  color: #fff;
  background: rgba(18, 102, 227, .45);
}

.vcard-modal-close:focus-visible,
.vcard-modal-stage img:focus-visible {
  outline: 2px solid #38d3f2;
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .vcard-modal {
    padding: 10px;
  }

  .vcard-modal-stage {
    justify-content: flex-start;
    padding: 10px 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .vcard-modal-stage img {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    max-height: calc(94vh - 168px);
    margin: 0 10px;
    touch-action: pan-x;
  }
}

/* ---------- generic hover lift ---------- */
.lift {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 55px -30px rgba(5, 22, 47, .5);
}

/* ---------- bank logo tiles (payment section) ---------- */
.bank-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  padding: 5px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #dbe7f5;
  box-shadow: 0 10px 20px -16px rgba(5, 22, 47, .6);
  transition: box-shadow .25s ease, border-color .25s ease;
}

.bank-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lift:hover .bank-logo {
  border-color: #b9d7f8;
  box-shadow: 0 12px 24px -14px rgba(18, 102, 227, .45);
}

.bank-code {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 6px;
  border: 1px solid #cfe2fb;
  background: #eff7ff;
  color: #1266e3;
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.6;
  white-space: nowrap;
}

@media (max-width: 359px) {
  .bank-logo {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    padding: 4px;
  }
}

.stat-card {
  transition: transform .25s ease, box-shadow .25s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
}

/* ---------- boarding pass ---------- */
.bp-perf {
  position: relative;
  border-top: 2px dashed #dceeff;
}

.bp-perf::before,
.bp-perf::after {
  content: "";
  position: absolute;
  top: -12px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #f6faff;
}

.bp-perf::before { left: -11px; }
.bp-perf::after { right: -11px; }

/* ---------- ticket search ---------- */
.ticket-trip-btn.active {
  background: #1266e3;
  color: #fff;
  box-shadow: 0 4px 10px -4px rgba(18, 102, 227, .5);
}

.ticket-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%231266e3' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 2.2rem;
}

.ticket-date-btn:disabled {
  opacity: .55;
  background: #f8fafc;
}

.ticket-cal {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 40;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 24px 50px -20px rgba(5, 22, 47, .28);
  padding: 12px;
}

.ticket-cal-nav {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #1266e3;
  transition: background .15s;
}
.ticket-cal-nav:hover { background: #eff7ff; }
.ticket-cal-nav:disabled { opacity: .35; }

.ticket-cal-day {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-family: Outfit, Inter, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  transition: background .15s, color .15s;
}
.ticket-cal-day:hover:not(:disabled) { background: #dceeff; }
.ticket-cal-day:disabled { opacity: .28; }
.ticket-cal-day.is-selected { background: #1266e3; color: #fff; }
.ticket-cal-day.is-today { box-shadow: inset 0 0 0 2px #8ac6ff; }

.pax-btn {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid #dceeff;
  background: #fff;
  color: #1266e3;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.pax-btn:hover:not(:disabled) { background: #eff7ff; }
.pax-btn:disabled { opacity: .35; }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .7s cubic-bezier(.22, .61, .36, 1),
    transform .7s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

/* ---------- trust strip: left-to-right quick slide with settle wobble ---------- */
.trust-item {
  opacity: 0;
  will-change: opacity, transform;
}

.trust-item.is-visible {
  animation: trustSlideIn 0.6s cubic-bezier(.34, 1.56, .64, 1) forwards;
}

.trust-item:nth-child(1).is-visible { animation-delay: 0s; }
.trust-item:nth-child(2).is-visible { animation-delay: 0.18s; }
.trust-item:nth-child(3).is-visible { animation-delay: 0.36s; }
.trust-item:nth-child(4).is-visible { animation-delay: 0.54s; }
.trust-item:nth-child(5).is-visible { animation-delay: 0.72s; }
.trust-item:nth-child(6).is-visible { animation-delay: 0.90s; }

@keyframes trustSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-64px);
  }
  60% {
    opacity: 1;
    transform: translateX(6px);
  }
  80% {
    transform: translateX(-3px);
  }
  90% {
    transform: translateX(1.5px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 640px) {
  @keyframes trustSlideIn {
    0% {
      opacity: 0;
      transform: translateX(-28px);
    }
    60% {
      opacity: 1;
      transform: translateX(3px);
    }
    80% {
      transform: translateX(-2px);
    }
    90% {
      transform: translateX(1px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
}

/* ---------- nav underline ---------- */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #1266e3, #38d3f2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

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

.nav-link.active {
  color: #0d51bd;
}

/* ---------- gallery filter ---------- */
.gallery-item {
  transition: opacity .35s ease, transform .35s ease;
}

.gallery-item.is-hidden {
  display: none;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(4, 14, 30, .88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-height: 72vh;
  width: 100%;
  object-fit: cover;
}

/* ---------- FAQ ---------- */
.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-item.open .faq-panel {
  max-height: 480px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-icon {
  transition: transform .3s ease;
}

/* ---------- floating WhatsApp ---------- */
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.float-wa {
  animation: waPulse 2.4s infinite;
}

/* ---------- body lock for drawer/lightbox ---------- */
body.no-scroll {
  overflow: hidden;
}

/* ---------- form fields ---------- */
.field {
  width: 100%;
  border-radius: .75rem;
  border: 1px solid #dceeff;
  background: #fff;
  padding: .7rem .9rem;
  font-size: .95rem;
  color: #0f172a;
  transition: border-color .2s, box-shadow .2s;
}

.field:focus {
  outline: none;
  border-color: #2b87ff;
  box-shadow: 0 0 0 4px rgba(43, 135, 255, .16);
}

.field::placeholder {
  color: #94a3b8;
}

.lbl {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: .35rem;
}

/* ---------- misc ---------- */
.text-gradient {
  background: linear-gradient(90deg, #0b2a5e, #1266e3, #38d3f2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bg-pattern-soft {
  background-image:
    radial-gradient(rgba(138, 198, 255, .2) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* subtle scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #eff7ff; }
::-webkit-scrollbar-thumb { background: #8ac6ff; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #55a8ff; }

/* ---------- theme: aviation blue surfaces ---------- */
.topbar-theme {
  background:
    radial-gradient(620px 160px at 12% 0%, rgba(43, 135, 255, .28), transparent 70%),
    linear-gradient(90deg, #05162f, #08224a 55%, #05162f);
}

.section-dark {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(43, 135, 255, .34), transparent 64%),
    radial-gradient(720px 520px at -6% 105%, rgba(56, 211, 242, .16), transparent 62%),
    linear-gradient(140deg, #04142c 0%, #08224a 46%, #0b2a5e 72%, #04142c 100%);
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(138, 198, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 198, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 12%, rgba(0,0,0,.5) 60%, transparent 88%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 12%, rgba(0,0,0,.5) 60%, transparent 88%);
}

.footer-theme {
  position: relative;
  background:
    radial-gradient(760px 380px at 8% -20%, rgba(43, 135, 255, .22), transparent 68%),
    radial-gradient(640px 340px at 92% 0%, rgba(56, 211, 242, .1), transparent 70%),
    #04142c;
}

.footer-theme::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #05162f, #1266e3, #38d3f2, #1266e3, #05162f);
}

.lift {
  position: relative;
  overflow: hidden;
}

.lift::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1266e3, #38d3f2);
  opacity: 0;
  transition: opacity .25s ease;
}

.lift:hover::before {
  opacity: 1;
}

.hero-globe svg {
  filter: drop-shadow(0 0 26px rgba(56, 211, 242, .18));
}

@media (max-width: 640px) {
  .hero-section::before { background-size: 44px 44px; }
  .hero-section::after { width: 380px; height: 380px; right: -150px; top: -120px; }
}

/* ---------- small screens ---------- */
@media (max-width: 640px) {
  .hero-map-img { opacity: .46; }
  .flight-map { opacity: .88; }
}

