/* ==========================================================================
   AirTravelz — 3D / eye-catching visual layer
   Loaded after all theme stylesheets. Purely additive: animations, depth,
   gradients and hover interactions on top of the existing layout/markup.
   ========================================================================== */

:root {
  --at-cyan: #25c3e0;
  --at-blue: #0a72e8;
  --at-navy: #0c1f52;
  --at-gold: #ffb020;
  --at-gold-light: #ffd166;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- Scroll reveal --------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Buttons: 3D bevel + shine sweep ---------------------------------- */
button.btn-large, input[type="button"].button.btn-large, a.button.btn-large,
button.btn-medium, input[type="button"].button.btn-medium, a.button.btn-medium,
button.btn-small, input[type="button"].button.btn-small, a.button.btn-small,
button, input[type="button"].button, a.button {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--at-cyan) 0%, var(--at-blue) 55%, var(--at-navy) 100%) !important;
  border: none;
  box-shadow: 0 6px 0 #071638, 0 10px 18px rgba(4, 20, 56, 0.45);
  transform: translateY(0);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.2s ease;
  z-index: 1;
}
button.btn-large:before, input[type="button"].button.btn-large:before, a.button.btn-large:before,
button.btn-medium:before, input[type="button"].button.btn-medium:before, a.button.btn-medium:before,
button.btn-small:before, input[type="button"].button.btn-small:before, a.button.btn-small:before,
button:before, input[type="button"].button:before, a.button:before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
button.btn-large:hover, input[type="button"].button.btn-large:hover, a.button.btn-large:hover,
button.btn-medium:hover, input[type="button"].button.btn-medium:hover, a.button.btn-medium:hover,
button.btn-small:hover, input[type="button"].button.btn-small:hover, a.button.btn-small:hover,
button:hover, input[type="button"].button:hover, a.button:hover {
  background: linear-gradient(160deg, var(--at-cyan) 0%, var(--at-blue) 45%, var(--at-navy) 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #071638, 0 16px 26px rgba(4, 20, 56, 0.55);
}
button.btn-large:hover:before, input[type="button"].button.btn-large:hover:before, a.button.btn-large:hover:before,
button.btn-medium:hover:before, input[type="button"].button.btn-medium:hover:before, a.button.btn-medium:hover:before,
button.btn-small:hover:before, input[type="button"].button.btn-small:hover:before, a.button.btn-small:hover:before,
button:hover:before, input[type="button"].button:hover:before, a.button:hover:before {
  left: 130%;
}
button.btn-large:active, input[type="button"].button.btn-large:active, a.button.btn-large:active,
button.btn-medium:active, input[type="button"].button.btn-medium:active, a.button.btn-medium:active,
button.btn-small:active, input[type="button"].button.btn-small:active, a.button.btn-small:active,
button:active, input[type="button"].button:active, a.button:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 #071638, 0 6px 10px rgba(4, 20, 56, 0.4);
}

/* ---- Hero search card: glassy 3D panel -------------------------------- */
.search-box-wrapper.style1 .search-tab-content .title-container {
  background: linear-gradient(135deg, var(--at-cyan) 0%, var(--at-blue) 55%, var(--at-navy) 100%) !important;
  overflow: hidden;
}
.search-box-wrapper.style1 .search-tab-content .title-container:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% -10%, rgba(255, 255, 255, 0.5), transparent 55%);
  pointer-events: none;
}
.search-box-wrapper.style1 .search-tab-content {
  box-shadow: 0 24px 48px rgba(6, 22, 58, 0.28), 0 4px 14px rgba(6, 22, 58, 0.18);
  border-radius: 6px;
  overflow: hidden;
  transform: perspective(1200px) rotateX(0deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.search-box-wrapper.style1 .search-tab-content:hover {
  box-shadow: 0 32px 60px rgba(6, 22, 58, 0.34), 0 6px 18px rgba(6, 22, 58, 0.22);
}

/* ---- Deal / info cards: tilt-on-hover depth ---------------------------- */
.tilt-3d {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.tilt-3d:hover {
  box-shadow: 0 22px 34px rgba(6, 22, 58, 0.22), 0 6px 10px rgba(6, 22, 58, 0.12) !important;
}

/* ---- Section headings: subtle gradient shimmer ------------------------- */
.search-title,
h1.title,
.call-now h2 {
  background: linear-gradient(90deg, #ffffff 0%, var(--at-gold-light) 50%, #ffffff 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: at-shimmer 6s linear infinite;
}
h1.title {
  background: linear-gradient(90deg, var(--at-navy) 0%, var(--at-blue) 45%, var(--at-navy) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes at-shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 220% center; }
}

/* ---- Header logo: subtle float + hover pop ----------------------------- */
#header .logo img {
  animation: at-float 4.5s ease-in-out infinite;
  transition: transform 0.25s ease, filter 0.25s ease;
}
#header .logo a:hover img {
  transform: scale(1.08) rotate(-3deg);
  filter: drop-shadow(0 6px 10px rgba(10, 114, 232, 0.45));
}
@keyframes at-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* ---- Decorative floating plane trail (hero) ---------------------------- */
#content.image-bg3 {
  position: relative;
}
.at-hero-plane {
  position: absolute;
  top: 32px;
  right: 5%;
  width: 90px;
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 14px 18px rgba(4, 20, 56, 0.35));
  animation: at-drift 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes at-drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-14px, -18px) rotate(-4deg); }
}
@media (max-width: 991px) {
  .at-hero-plane { display: none; }
}

/* ---- Header: depth, animated nav underline, 3D social badges ----------- */
#header {
  transition: box-shadow 0.3s ease;
}
#header.style7 .main-navigation {
  position: relative;
  box-shadow: 0 2px 18px rgba(6, 22, 58, 0.08);
}
#header.style7 .main-navigation:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--at-cyan), var(--at-blue) 45%, var(--at-gold));
  opacity: 0.9;
}
#header.at-scrolled .main-navigation {
  box-shadow: 0 10px 28px rgba(6, 22, 58, 0.18);
}

#header.style7 #main-menu > ul.menu > li > a {
  position: relative;
}
#header.style7 #main-menu > ul.menu > li > a:after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 14px;
  height: 2px;
  background: linear-gradient(90deg, var(--at-blue), var(--at-gold));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
#header.style7 #main-menu > ul.menu > li.active > a,
#header.style7 #main-menu > ul.menu > li:hover > a {
  border-bottom: none;
}
#header.style7 #main-menu > ul.menu > li.active > a:after,
#header.style7 #main-menu > ul.menu > li:hover > a:after {
  transform: scaleX(1);
}

#header .social-icons.style2 li > a {
  background: linear-gradient(150deg, var(--at-cyan), var(--at-blue) 60%, var(--at-navy)) !important;
  box-shadow: 0 4px 0 #071638, 0 8px 14px rgba(6, 22, 58, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#header .social-icons.style2 li > a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 0 #071638, 0 12px 20px rgba(6, 22, 58, 0.4);
}
#header .social-icons.style2 li.whatsapp > a {
  background: linear-gradient(150deg, #34d399, #17a06b 60%, #0b5c3d) !important;
  animation: at-pulse-glow 2.6s ease-in-out infinite;
}
@keyframes at-pulse-glow {
  0%, 100% { box-shadow: 0 4px 0 #06371f, 0 8px 14px rgba(11, 92, 61, 0.4); }
  50% { box-shadow: 0 4px 0 #06371f, 0 8px 22px rgba(52, 211, 153, 0.65); }
}

/* ---- Footer: gradient depth + glowing back-to-top ----------------------- */
#footer.style6 {
  position: relative;
  background: linear-gradient(135deg, var(--at-navy) 0%, #071638 55%, var(--at-blue) 160%);
}
#footer.style6:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--at-cyan), var(--at-gold), var(--at-cyan));
  background-size: 200% auto;
  animation: at-gradient-pan 8s linear infinite;
}
#footer.style6 .bottom.gray-area {
  border-top: none;
  padding-top: 34px;
}
#footer.style6 .copyright p,
#footer.style6 .copyright {
  color: rgba(255, 255, 255, 0.78) !important;
}
#footer.style6 .copyright a {
  color: #ffffff !important;
  transition: color 0.2s ease;
}
#footer.style6 .copyright a:hover {
  color: var(--at-gold-light) !important;
}
#footer.style6 .copyright p {
  line-height: 1.7;
  font-size: 13px;
  margin-bottom: 8px;
}
#footer.style6 .cards {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border-radius: 10px;
  padding: 10px 16px;
  margin-bottom: 16px;
  box-shadow: 0 10px 20px rgba(6, 22, 58, 0.35);
}
#footer.style6 .cards img {
  max-width: none !important;
  width: auto !important;
  height: 26px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block;
}
#footer.style6 .copyright > div[style*="justify-content"] {
  margin-top: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

#footer .bottom #back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 950;
  opacity: 0;
  transform: translateY(14px) scale(0.85);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
#footer .bottom #back-to-top.at-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
#footer .bottom #back-to-top i {
  background: linear-gradient(150deg, var(--at-cyan), var(--at-blue) 60%, var(--at-navy)) !important;
  box-shadow: 0 6px 0 #071638, 0 10px 20px rgba(6, 22, 58, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#footer .bottom #back-to-top:hover i {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 #071638, 0 16px 26px rgba(6, 22, 58, 0.5);
}

/* ---- Newsletter / call-now section: gradient depth + 3D input group ---- */
.call-now {
  background: linear-gradient(135deg, var(--at-navy) 0%, #0d2f76 45%, var(--at-blue) 85%, var(--at-cyan) 140%) !important;
}
.global-map-area.call-now {
  position: relative;
  overflow: hidden;
}
.global-map-area.call-now:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 35%, rgba(255, 176, 32, 0.14));
  background-size: 200% 200%;
  animation: at-gradient-pan 10s ease infinite;
  pointer-events: none;
}
.global-map-area.call-now:after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  top: -220px;
  right: -140px;
  background: radial-gradient(circle, rgba(37, 195, 224, 0.35), transparent 70%);
  pointer-events: none;
}
@keyframes at-gradient-pan {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Fuse the email input + subscribe button into one 3D pill group,
   regardless of whether the markup wraps them in a <form> or not. */
.global-map-area.call-now .container,
.global-map-area.call-now .container form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.global-map-area.call-now div[class*="col-md-5"],
.global-map-area.call-now div[class*="col-md-2"] {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

.global-map-area.call-now input#subscriber_email {
  height: 52px !important;
  min-width: 300px;
  padding: 0 20px 0 46px !important;
  border-radius: 26px !important;
  border: none !important;
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a72e8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16v16H4z' stroke='none'/%3E%3Cpath d='M22 6l-10 7L2 6'/%3E%3Cpath d='M2 6v12h20V6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: 16px center !important;
  background-size: 18px 18px !important;
  box-shadow: inset 0 2px 6px rgba(6, 22, 58, 0.25), 0 10px 20px rgba(6, 22, 58, 0.25) !important;
  font-size: 14px;
  transition: box-shadow 0.25s ease;
}
.global-map-area.call-now input#subscriber_email::placeholder {
  color: #8a97ac;
}
.global-map-area.call-now input#subscriber_email:focus {
  outline: none;
  box-shadow: inset 0 2px 6px rgba(6, 22, 58, 0.25), 0 0 0 4px rgba(255, 176, 32, 0.45), 0 10px 22px rgba(6, 22, 58, 0.3) !important;
}

.global-map-area.call-now .btn.btn-md {
  height: 52px !important;
  min-width: 140px;
  border-radius: 26px !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px !important;
}

/* ---- Landing page flight deal cards: brand colors + 3D depth ----------- */
.travelo-box.contact-box {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  padding-left: 18px !important;
}
.travelo-box.contact-box:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--at-cyan), var(--at-blue), var(--at-gold));
}
.top-deals img {
  border-radius: 8px;
  border: 2px solid #eef3fb;
  box-shadow: 0 4px 10px rgba(6, 22, 58, 0.2);
}
.top-deals .t-air {
  color: var(--at-navy) !important;
  font-weight: 700;
}
.top-deals .t-dest {
  color: #45526b;
}
.top-deals .t-cabin,
.top-deals .t-from,
.t-tax {
  color: #8493ab !important;
}
.top-deals .t-from {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.t-price {
  background: linear-gradient(135deg, var(--at-blue), var(--at-navy));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 28px !important;
  font-weight: 800 !important;
}
.top-deals hr {
  border-top: 1px dashed rgba(10, 114, 232, 0.25);
}
.top-deals .fa,
.top-deals .request-callback span {
  color: var(--at-blue);
}
.slider-call p {
  color: #8493ab;
}
.top-deals .request-callback {
  overflow: visible;
}
.top-deals .request-callback a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
  background: linear-gradient(150deg, var(--at-cyan), var(--at-blue) 60%, var(--at-navy));
  padding: 8px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 0 #071638, 0 8px 14px rgba(6, 22, 58, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.top-deals .request-callback a span {
  white-space: nowrap;
  font-size: 12px !important;
  font-weight: 700;
}
.top-deals .request-callback .fa {
  font-size: 13px !important;
  margin-right: 2px !important;
}
.top-deals .request-callback a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #071638, 0 12px 18px rgba(6, 22, 58, 0.35);
}
.top-deals .request-callback a,
.top-deals .request-callback a span,
.top-deals .request-callback a i {
  color: #ffffff !important;
}

/* ---- Content pages: About Us / Terms / Privacy hero + readable body ---- */
#content.s-pad h1.title {
  background: linear-gradient(135deg, var(--at-navy) 0%, var(--at-blue) 60%, var(--at-cyan) 140%);
  -webkit-text-fill-color: #ffffff;
  color: #ffffff;
  padding: 30px 34px;
  border-radius: 14px;
  box-shadow: 0 16px 32px rgba(6, 22, 58, 0.28);
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  animation: none;
}
#content.s-pad h1.title:before {
  content: "";
  position: absolute;
  top: -60%;
  left: -10%;
  width: 60%;
  height: 220%;
  background: rgba(255, 255, 255, 0.12);
  transform: rotate(20deg);
}

#content.s-pad .about-intro {
  max-width: 840px;
  margin: 0 auto;
}
#content.s-pad .about-intro > p.lead-intro {
  font-size: 16px;
  line-height: 1.8;
  color: #45526b;
}
#content.s-pad .about-intro p {
  line-height: 1.8;
  color: #566179;
  font-size: 14.5px;
}
#content.s-pad .about-intro h4 {
  position: relative;
  padding-left: 18px;
  color: var(--at-navy) !important;
  font-weight: 700 !important;
  font-size: 17px;
}
#content.s-pad .about-intro h4:before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--at-cyan), var(--at-blue));
}
#content.s-pad .about-intro li {
  position: relative;
  padding-left: 20px;
  color: #566179;
  line-height: 1.9;
}
#content.s-pad .about-intro li:before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--at-blue);
}
#content.s-pad .about-intro a {
  color: var(--at-blue);
  font-weight: 600;
}

/* About Us feature cards */
.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 28px;
}
@media (max-width: 767px) {
  .about-feature-grid { grid-template-columns: 1fr; }
}
.about-feature-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 26px 24px;
  box-shadow: 0 10px 24px rgba(6, 22, 58, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.about-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(6, 22, 58, 0.16);
}
.about-feature-card h4 {
  padding-left: 0 !important;
  margin-top: 4px;
}
.about-feature-card h4:before {
  display: none;
}
.about-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #ffffff;
  background: linear-gradient(150deg, var(--at-cyan), var(--at-blue) 60%, var(--at-navy));
  box-shadow: 0 6px 14px rgba(6, 22, 58, 0.3);
  margin-bottom: 12px;
}

html {
  scroll-behavior: smooth;
}

/* ---- Mobile nav: visible 3D hamburger + styled dropdown menu ----------- */
@media (max-width: 991px) {
  #header .mobile-menu-toggle {
    display: block !important;
    background: linear-gradient(150deg, var(--at-cyan), var(--at-blue) 60%, var(--at-navy)) !important;
    box-shadow: 0 4px 0 #071638, 0 8px 14px rgba(6, 22, 58, 0.35);
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    top: 12px !important;
    bottom: auto !important;
    right: 15px !important;
    border-radius: 10px;
    z-index: 1000;
  }
  #header .mobile-menu-toggle:before {
    content: "";
    position: absolute;
    left: 11px;
    right: 11px;
    top: 13px;
    height: 2px;
    background: #ffffff;
    box-shadow: 0 8px 0 #ffffff, 0 16px 0 #ffffff;
  }

  #header .mobile-menu {
    background: linear-gradient(165deg, var(--at-navy) 0%, #071638 80%);
    border: none;
    box-shadow: 0 16px 30px rgba(6, 22, 58, 0.35);
    padding: 10px 0;
  }
  #header .mobile-menu > ul.menu > li {
    padding-left: 20px;
    padding-right: 20px;
  }
  #header .mobile-menu > ul.menu > li > a {
    letter-spacing: 0.03em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  #header .mobile-menu > ul.menu > li.active > a {
    color: var(--at-gold-light) !important;
    opacity: 1;
  }
}
