/*!
 * enhance.css — Safarnama UI & animation enhancement layer
 * ---------------------------------------------------------------------------
 * A progressive-enhancement stylesheet that adds motion, depth and
 * micro-interactions on top of the existing theme (css/style.css).
 *
 * Every rule in here is additive: with JavaScript disabled (or with
 * "prefers-reduced-motion: reduce" enabled) the site falls back to the
 * original, fully usable design.
 *
 * Animation families included
 *   01. Design tokens & base polish ......... (colour, selection, scrollbar)
 *   02. Reading progress bar ................ scrollytelling
 *   03. Branded preloader ................... loading animation
 *   04. Hero motion ......................... Ken Burns, ambient aurora,
 *                                             split-text, gradient type
 *   05. Glass navigation .................... glassmorphism + link underline
 *   06. Buttons ............................. shine sweep, ripple, magnetic
 *   07. Cards ............................... curtain reveal, 3D tilt, glare,
 *                                             image zoom, gradient edge
 *   08. Scroll reveals ...................... staggered float-in
 *   09. Sections ............................ ambient orbs, heading accents
 *   10. Services, counters & testimonials ... micro-interactions
 *   11. Destination ticker .................. infinite marquee
 *   12. Travel route divider ................ line animation (self drawing)
 *   13. Forms ............................... focus ring, morphing submit
 *   14. Footer & floating UI ................ link arrows, back-to-top ring
 *   15. Page transitions .................... fade between pages
 *   16. Accessibility & fallbacks ........... reduced motion, no-JS
 * ---------------------------------------------------------------------------
 */

/* ==========================================================================
   01. Design tokens & base polish
   ========================================================================== */
:root {
  --ex-accent: #f85959;
  --ex-accent-2: #ff9f1a;
  --ex-teal: #2ebdc4;
  --ex-teal-2: #68e5b2;
  --ex-ink: #10202f;
  --ex-ink-soft: rgba(16, 32, 47, 0.62);
  --ex-grad-warm: linear-gradient(120deg, #f85959 0%, #ff9f1a 100%);
  --ex-grad-cool: linear-gradient(120deg, #2ebdc4 0%, #68e5b2 100%);
  --ex-grad-sunset: linear-gradient(120deg, #2ebdc4 0%, #68e5b2 45%, #ff9f1a 100%);
  --ex-shadow-sm: 0 10px 24px -14px rgba(16, 32, 47, 0.45);
  --ex-shadow-md: 0 26px 50px -24px rgba(16, 32, 47, 0.55);
  --ex-shadow-glow: 0 18px 40px -18px rgba(248, 89, 89, 0.55);
  --ex-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ex-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

::selection {
  background: rgba(248, 89, 89, 0.22);
  color: var(--ex-ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--ex-accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Slim, on-brand scrollbar (WebKit / Blink) */
body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-track {
  background: #f1f3f5;
}
body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f85959, #ff9f1a);
  border-radius: 10px;
  border: 2px solid #f1f3f5;
}

/* Motion helpers ---------------------------------------------------------- */
@keyframes ex-fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes ex-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -26px, 0) scale(1.06);
  }
}
@keyframes ex-float-slow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1.04);
  }
  50% {
    transform: translate3d(-24px, 20px, 0) scale(0.96);
  }
}
@keyframes ex-grad-pan {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}
@keyframes ex-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes ex-pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(248, 89, 89, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(248, 89, 89, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(248, 89, 89, 0);
  }
}

/* ==========================================================================
   02. Reading progress bar
   ========================================================================== */
.ex-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 2050;
  pointer-events: none;
  background: rgba(16, 32, 47, 0.06);
}
.ex-progress__bar {
  position: relative;
  height: 100%;
  width: 0;
  background: var(--ex-grad-warm);
  box-shadow: 0 0 14px rgba(248, 89, 89, 0.55);
  transition: width 0.12s linear;
}
.ex-progress__bar::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translate(50%, -50%);
  background: #fff;
  box-shadow: 0 0 12px 3px rgba(255, 159, 26, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ex-progress.ex-active .ex-progress__bar::after {
  opacity: 1;
}

/* ==========================================================================
   03. Branded preloader (first paint of a session only)
   ========================================================================== */
#ex-preloader {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  background: radial-gradient(120% 100% at 50% 0%, #ffffff 0%, #f4f7f9 60%, #eef3f5 100%);
  animation: ex-preloader-out 0.7s var(--ex-ease) 1.45s forwards;
}
#ex-preloader.ex-done {
  animation: ex-preloader-out 0.5s var(--ex-ease) forwards;
}
@keyframes ex-preloader-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
.ex-preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: ex-fade-up 0.8s var(--ex-ease) both;
}
.ex-preloader__brand {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ex-ink);
}
.ex-preloader__tag {
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--ex-ink-soft);
}
.ex-preloader__route {
  width: 190px;
  height: 46px;
  overflow: visible;
}
.ex-preloader__route path {
  fill: none;
  stroke: url(#ex-preloader-grad);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: ex-draw 1.5s var(--ex-ease) 0.15s forwards;
}
.ex-preloader__route circle {
  fill: var(--ex-accent);
  opacity: 0;
  animation: ex-fade-up 0.5s ease 0.9s forwards;
}
.ex-preloader__plane {
  animation: ex-plane-hop 1.4s ease-in-out infinite;
  transform-origin: center;
}
@keyframes ex-draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes ex-plane-hop {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(-6deg);
  }
}
/* Original spinner-based loader is replaced by the branded one */
#ftco-loader {
  display: none !important;
}

/* ==========================================================================
   04. Hero motion
   ========================================================================== */
.hero-wrap.ex-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero-wrap.ex-hero .ex-hero-bg {
  position: absolute;
  top: -6%;
  left: -2%;
  right: -2%;
  bottom: -6%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
  animation: ex-kenburns 30s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes ex-kenburns {
  0% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.14) translate3d(-1.5%, -1.5%, 0);
  }
}
/* Ambient colour bloom drifting over the photograph */
.hero-wrap.ex-hero .ex-hero-aurora {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.75;
}
.hero-wrap.ex-hero .ex-hero-aurora span {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(60px);
}
.hero-wrap.ex-hero .ex-hero-aurora span:nth-child(1) {
  width: 46vw;
  height: 46vw;
  top: -14vw;
  left: -8vw;
  background: radial-gradient(circle, rgba(46, 189, 196, 0.55), transparent 68%);
  animation: ex-float 18s ease-in-out infinite;
}
.hero-wrap.ex-hero .ex-hero-aurora span:nth-child(2) {
  width: 38vw;
  height: 38vw;
  bottom: -14vw;
  right: -6vw;
  background: radial-gradient(circle, rgba(255, 159, 26, 0.5), transparent 68%);
  animation: ex-float-slow 22s ease-in-out infinite;
}
.hero-wrap.ex-hero .ex-hero-aurora span:nth-child(3) {
  width: 28vw;
  height: 28vw;
  top: 30%;
  right: 26%;
  background: radial-gradient(circle, rgba(248, 89, 89, 0.4), transparent 70%);
  animation: ex-float 26s ease-in-out infinite reverse;
}
/* Legibility scrim: the theme ships an invisible overlay, so we add a soft
   cinematic wash to keep the white headline crisp over any photograph */
.hero-wrap.ex-hero .ex-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
      105deg,
      rgba(7, 17, 28, 0.74) 0%,
      rgba(7, 17, 28, 0.46) 45%,
      rgba(7, 17, 28, 0.22) 68%,
      rgba(7, 17, 28, 0.58) 100%
    ),
    linear-gradient(to bottom, rgba(7, 17, 28, 0.38) 0%, rgba(7, 17, 28, 0) 34%, rgba(7, 17, 28, 0.42) 100%);
}

/* Pointer spotlight */
.hero-wrap.ex-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    420px circle at var(--ex-mx, 50%) var(--ex-my, 40%),
    rgba(255, 255, 255, 0.16),
    transparent 62%
  );
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hero-wrap.ex-hero:hover::after {
  opacity: 1;
}
.hero-wrap.ex-hero .container,
.hero-wrap.ex-hero .slider-text {
  position: relative;
  z-index: 3;
}
/* Bottom fade so the hero melts into the page */
.hero-wrap.ex-hero .ex-hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 90px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.85));
}

/* Split-text word reveal ------------------------------------------------- */
.ex-split .ex-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.ex-split .ex-word-i {
  display: inline-block;
  transform: translate3d(0, 110%, 0) rotate(4deg);
  opacity: 0;
  animation: ex-word-up 0.95s var(--ex-ease) forwards;
  animation-delay: calc(var(--ex-i, 0) * 80ms + 200ms);
}
@keyframes ex-word-up {
  to {
    transform: none;
    opacity: 1;
  }
}
/* Animated gradient headline (expressive typography) */
.slider-text h1 strong {
  background-image: var(--ex-grad-sunset);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: ex-grad-pan 9s linear infinite;
  filter: drop-shadow(0 8px 26px rgba(0, 0, 0, 0.28));
}

/* Hero badge with rotating word */
.ex-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: ex-fade-up 0.9s var(--ex-ease) 0.15s both;
}
.ex-hero-badge .ex-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ex-accent-2);
  animation: ex-pulse-dot 2.2s ease-out infinite;
}
.ex-rotator {
  position: relative;
  display: inline-block;
  min-width: 5.4em;
  height: 1.4em;
  overflow: hidden;
  vertical-align: middle;
  text-align: left;
}
.ex-rotator b {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #fff;
  opacity: 0;
  transform: translateY(80%) skewY(6deg);
  transition: opacity 0.5s var(--ex-ease), transform 0.6s var(--ex-ease);
}
.ex-rotator b.ex-on {
  opacity: 1;
  transform: none;
}
.ex-rotator b.ex-off {
  opacity: 0;
  transform: translateY(-80%) skewY(-6deg);
}

/* Scroll cue */
.ex-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: color 0.4s ease;
}
.ex-scroll-cue:hover {
  color: #fff;
}
.ex-scroll-cue__rail {
  position: relative;
  width: 26px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
}
.ex-scroll-cue__dot {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: #fff;
  animation: ex-scroll-dot 1.8s var(--ex-ease) infinite;
}
@keyframes ex-scroll-dot {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  75% {
    transform: translateY(18px);
    opacity: 1;
  }
  100% {
    transform: translateY(24px);
    opacity: 0;
  }
}
@media (max-width: 767.98px) {
  .ex-scroll-cue {
    display: none;
  }
}

/* ==========================================================================
   05. Glass navigation
   ========================================================================== */
.ftco-navbar-light {
  transition: background 0.45s ease, box-shadow 0.45s ease, top 0.45s ease;
}
.ftco-navbar-light.scrolled {
  background: rgba(255, 255, 255, 0.82) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(16, 32, 47, 0.07);
  box-shadow: 0 12px 40px -24px rgba(16, 32, 47, 0.55);
}
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
  position: relative;
  transition: color 0.35s ease;
}
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0.5rem;
  height: 2px;
  border-radius: 2px;
  background: var(--ex-grad-warm);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.45s var(--ex-ease);
}
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover::after,
.ftco-navbar-light .navbar-nav > .nav-item.active > .nav-link::after {
  transform: scaleX(1);
}
.ftco-navbar-light .navbar-brand {
  transition: letter-spacing 0.45s var(--ex-ease), text-shadow 0.45s ease;
}
.ftco-navbar-light .navbar-brand:hover {
  letter-spacing: 0.07em;
  text-shadow: 0 6px 24px rgba(255, 255, 255, 0.45);
}
.ftco-navbar-light.scrolled .navbar-brand:hover {
  text-shadow: none;
}
/* Mobile menu panel gets the glass treatment too */
@media (max-width: 991.98px) {
  .ftco-navbar-light .navbar-collapse.show,
  .ftco-navbar-light .navbar-collapse.collapsing {
    background: rgba(16, 32, 47, 0.96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 0 0 14px 14px;
    padding: 0 12px 12px;
  }
}

/* ==========================================================================
   06. Buttons — shine sweep, ripple, magnetic pull
   ========================================================================== */
.btn,
.search-submit,
.subscribe-form .submit,
input[type="submit"] {
  position: relative;
  overflow: hidden;
  will-change: transform;
  transition: transform 0.4s var(--ex-ease), box-shadow 0.4s var(--ex-ease),
    background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
.btn::before,
.search-submit::before,
.subscribe-form .submit::before,
input[type="submit"]::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -140%;
  width: 55%;
  height: 140%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-18deg);
  transition: left 0.75s var(--ex-ease);
  pointer-events: none;
}
.btn:hover::before,
.search-submit:hover::before,
.subscribe-form .submit:hover::before,
input[type="submit"]:hover::before {
  left: 140%;
}
.btn:hover,
.search-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--ex-shadow-glow);
}
.btn-primary {
  background-image: var(--ex-grad-warm);
  border-color: transparent;
  color: #fff !important;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.btn-primary:hover,
.btn-primary:focus {
  background-image: var(--ex-grad-warm);
  background-position: 100% 50%;
  color: #fff !important;
}
.btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(248, 89, 89, 0.25);
}
.btn-outline-primary {
  border-color: var(--ex-accent);
  color: var(--ex-accent);
  background-image: none;
}
.btn-outline-primary:hover {
  background-image: var(--ex-grad-warm);
  border-color: transparent;
  color: #fff !important;
}
/* click ripple (injected by enhance.js) */
.ex-ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  animation: ex-ripple 0.7s ease-out forwards;
}
.btn-outline-primary .ex-ripple,
.btn-ghost .ex-ripple {
  background: rgba(248, 89, 89, 0.3);
}
@keyframes ex-ripple {
  to {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* ==========================================================================
   07. Cards — curtain reveal, tilt, glare, zoom, gradient edge
   ========================================================================== */
.ex-img-host {
  position: relative;
  overflow: hidden;
}
.ex-img-host > .ex-img-zoom {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #eef2f5;
  clip-path: inset(0 0 0 0);
  transform: scale(1.02);
  transition: transform 1.1s var(--ex-ease), clip-path 1.1s var(--ex-ease),
    opacity 0.7s ease, filter 0.6s ease;
  will-change: transform;
}
/* shimmer while the image is still travelling */
/* keeps circular hosts (testimonial avatars) circular while zooming */
.ex-img-zoom {
  border-radius: inherit;
}
/* extra bleed so the parallax drift never exposes an edge */
.ex-img-zoom.ex-img-parallax {
  top: -14%;
  bottom: -14%;
}
.ex-img-zoom.ex-img-pending {
  background-image: linear-gradient(100deg, #eef2f5 30%, #e2e9ee 50%, #eef2f5 70%) !important;
  background-size: 220% 100% !important;
  animation: ex-shimmer 1.5s linear infinite;
  filter: blur(0);
}
@keyframes ex-shimmer {
  from {
    background-position: 120% 0;
  }
  to {
    background-position: -120% 0;
  }
}
.ex-img-zoom.ex-img-reveal:not(.ex-in) {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.12);
}
.ex-img-zoom::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      260px circle at var(--ex-mx, 50%) var(--ex-my, 30%),
      rgba(255, 255, 255, 0.32),
      rgba(255, 255, 255, 0) 62%
    ),
    linear-gradient(180deg, rgba(10, 22, 36, 0) 45%, rgba(10, 22, 36, 0.42) 100%);
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}
.ex-img-host:hover .ex-img-zoom::after {
  opacity: 1;
}
.ex-img-host:hover .ex-img-zoom.ex-in {
  transform: scale(1.09);
}
/* keep interactive children above the image layer */
.destination .img > .icon,
.testimony-wrap .user-img > .quote,
.ex-img-host > .icon {
  position: relative;
  z-index: 2;
}

/* Card shells ------------------------------------------------------------- */
.destination,
.blog-entry,
.block-6.services,
.block-5,
.media-custom {
  border-radius: 12px;
}
.destination {
  position: relative;
  overflow: hidden;
  background: #fff;
  transition: transform 0.6s var(--ex-ease), box-shadow 0.6s var(--ex-ease);
}
.destination::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  z-index: 4;
  background: var(--ex-grad-warm);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.6s var(--ex-ease);
}
.destination:hover::before {
  transform: scaleX(1);
}
.destination:hover {
  box-shadow: var(--ex-shadow-md);
}
.destination .text {
  border-radius: 0 0 12px 12px;
  transition: border-color 0.5s ease;
}
.destination:hover .text {
  border-color: rgba(248, 89, 89, 0.35);
}
.destination .text h3 a,
.blog-entry .text .heading a {
  transition: color 0.35s ease, background-size 0.45s var(--ex-ease);
  background-image: linear-gradient(var(--ex-accent), var(--ex-accent));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
}
.destination .text h3 a:hover,
.blog-entry .text .heading a:hover {
  background-size: 100% 1px;
  color: var(--ex-accent);
}
.destination .text .rate i {
  transition: transform 0.35s var(--ex-ease-spring), color 0.35s ease;
}
.destination:hover .text .rate i {
  transform: translateY(-2px) scale(1.12);
}
.destination:hover .text .rate i:nth-child(2) {
  transition-delay: 40ms;
}
.destination:hover .text .rate i:nth-child(3) {
  transition-delay: 80ms;
}
.destination:hover .text .rate i:nth-child(4) {
  transition-delay: 120ms;
}
.destination:hover .text .rate i:nth-child(5) {
  transition-delay: 160ms;
}
.destination .text .two .price {
  transition: transform 0.45s var(--ex-ease-spring), color 0.4s ease;
}
.destination:hover .text .two .price {
  transform: scale(1.06);
  color: var(--ex-accent);
}
.destination .icon {
  transform: translateY(10px) scale(0.7);
  transition: opacity 0.45s ease, transform 0.5s var(--ex-ease-spring),
    background 0.4s ease;
}
.destination:hover .icon {
  transform: none;
  background: var(--ex-grad-warm);
}
.destination:hover .icon span {
  color: #fff;
  transition: color 0.4s ease;
}
.destination .bottom-area a {
  position: relative;
  transition: color 0.35s ease;
}
.destination .bottom-area a::after {
  content: "\2192";
  display: inline-block;
  margin-left: 4px;
  transform: translateX(-4px);
  opacity: 0;
  transition: transform 0.4s var(--ex-ease), opacity 0.4s ease;
}
.destination .bottom-area a:hover {
  color: var(--ex-accent);
}
.destination .bottom-area a:hover::after {
  transform: none;
  opacity: 1;
}

/* Blog cards ------------------------------------------------------------- */
.blog-entry {
  overflow: hidden;
  transition: transform 0.55s var(--ex-ease), box-shadow 0.55s var(--ex-ease),
    border-color 0.55s ease;
}
.blog-entry:hover {
  transform: translateY(-6px);
  border-color: rgba(248, 89, 89, 0.35);
  box-shadow: var(--ex-shadow-md);
}
.blog-entry .block-20 {
  transition: transform 0.6s var(--ex-ease);
}
.blog-entry .text .tag {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 999px;
  background: rgba(248, 89, 89, 0.1);
  color: var(--ex-accent);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* full-bleed editorial blog card (.block-5) */
.block-5 {
  overflow: hidden;
}
.block-5 .text {
  transition: transform 0.7s var(--ex-ease);
}
.block-5:hover .text {
  transform: translateY(-6px);
}
.block-5::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  background: var(--ex-grad-warm) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.block-5:hover::after {
  opacity: 1;
}

/* 3D tilt (JS adds .ex-tilt on pointer:fine devices) --------------------- */
.ex-tilt {
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--ex-rx, 0deg)) rotateY(var(--ex-ry, 0deg))
    translate3d(0, 0, 0);
  transition: transform 0.5s var(--ex-ease), box-shadow 0.5s var(--ex-ease);
}
.ex-tilt:hover {
  transition: transform 0.12s linear;
}
.ex-tilt > * {
  transform: translateZ(0.01px);
}

/* ==========================================================================
   08. Scroll reveals (staggered float-in)
   ========================================================================== */
html.ex-js .ex-reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
}
html.ex-js .ex-reveal.ex-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.85s var(--ex-ease), transform 0.85s var(--ex-ease);
  transition-delay: var(--ex-d, 0ms);
}
html.ex-js .ex-reveal-left {
  transform: translate3d(-34px, 0, 0);
}
html.ex-js .ex-reveal-right {
  transform: translate3d(34px, 0, 0);
}

/* ==========================================================================
   09. Sections — ambient orbs & heading accents
   ========================================================================== */
.ftco-section.bg-light {
  position: relative;
  overflow: hidden;
}
.ftco-section.bg-light::before,
.ftco-section.bg-light::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.ftco-section.bg-light::before {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -120px;
  background: radial-gradient(circle, rgba(46, 189, 196, 0.18), transparent 66%);
  animation: ex-float 20s ease-in-out infinite;
}
.ftco-section.bg-light::after {
  width: 360px;
  height: 360px;
  bottom: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(248, 89, 89, 0.14), transparent 66%);
  animation: ex-float-slow 24s ease-in-out infinite;
}
.ftco-section.bg-light > .container,
.ftco-section.bg-light > .container-fluid {
  position: relative;
  z-index: 1;
}

.heading-section .subheading {
  position: relative;
  padding-left: 34px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ex-accent);
  transition: color 0.4s ease;
}
.heading-section .subheading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--ex-grad-warm);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.9s var(--ex-ease) 0.15s;
}
.heading-section .subheading::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ex-accent);
  opacity: 0;
  transition: opacity 0.6s ease 0.9s;
}
.heading-section.ex-in .subheading::before,
.heading-section.ftco-animated .subheading::before {
  transform: scaleX(1);
}
.heading-section.ex-in .subheading::after,
.heading-section.ftco-animated .subheading::after {
  opacity: 1;
}
.heading-section.heading-section-white .subheading {
  color: rgba(255, 255, 255, 0.9);
}
.heading-section h2 strong {
  position: relative;
  display: inline-block;
}
.heading-section h2 strong::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.06em;
  height: 4px;
  border-radius: 4px;
  background: var(--ex-grad-warm);
  opacity: 0.85;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1s var(--ex-ease) 0.2s;
}
.heading-section.ex-in h2 strong::after,
.heading-section.ftco-animated h2 strong::after {
  transform: scaleX(1);
}

/* ==========================================================================
   10. Services, counters & testimonials
   ========================================================================== */
.services {
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.55s var(--ex-ease), background 0.55s ease,
    box-shadow 0.55s var(--ex-ease), color 0.4s ease;
}
.services:hover {
  background-image: var(--ex-grad-warm);
  transform: translateY(-8px);
  box-shadow: var(--ex-shadow-md);
}
.services .icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 108px;
  margin: 0 auto;
  border-radius: 50%;
  transition: transform 0.6s var(--ex-ease-spring), background 0.5s ease;
}
.services .icon::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  padding: 1px;
  background: conic-gradient(
    from 0deg,
    rgba(46, 189, 196, 0.9),
    rgba(104, 229, 178, 0.5),
    rgba(248, 89, 89, 0.85),
    rgba(255, 159, 26, 0.6),
    rgba(46, 189, 196, 0.9)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: ex-spin 9s linear infinite;
  opacity: 0.9;
}
.services .icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(46, 189, 196, 0.12), rgba(248, 89, 89, 0.12));
  transition: background 0.5s ease, transform 0.5s var(--ex-ease);
}
.services .icon span {
  position: relative;
  z-index: 1;
  transition: color 0.45s ease, transform 0.6s var(--ex-ease-spring);
}
.services:hover .icon {
  transform: translateY(-6px);
}
.services:hover .icon::after {
  background: rgba(255, 255, 255, 0.22);
}
.services:hover .icon span {
  color: #fff;
  transform: scale(1.08) rotate(-6deg);
}
.services .media-body h3 {
  position: relative;
  transition: color 0.4s ease;
}
.services .media-body p {
  transition: color 0.4s ease;
}

/* Counters --------------------------------------------------------------- */
#section-counter .block-18 {
  position: relative;
  padding: 26px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  overflow: hidden;
  transition: transform 0.5s var(--ex-ease), background 0.5s ease,
    box-shadow 0.5s ease;
}
#section-counter .block-18::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    120px circle at var(--ex-mx, 50%) var(--ex-my, 50%),
    rgba(255, 255, 255, 0.22),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
#section-counter .block-18:hover::after {
  opacity: 1;
}
#section-counter .block-18:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 26px 50px -30px rgba(0, 0, 0, 0.8);
}
#section-counter .text strong.number {
  display: inline-block;
  font-weight: 600;
  background-image: var(--ex-grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 8px 20px rgba(248, 89, 89, 0.35));
}
#section-counter.ex-counting .text strong.number {
  animation: ex-counter-pop 1.8s var(--ex-ease) 1;
}
@keyframes ex-counter-pop {
  0% {
    transform: scale(0.8);
  }
  45% {
    transform: scale(1.14);
  }
  100% {
    transform: scale(1);
  }
}
#section-counter .text span {
  display: block;
  margin-top: 6px;
  letter-spacing: 0.06em;
}

/* Testimonials ----------------------------------------------------------- */
.testimony-wrap {
  position: relative;
}
.testimony-wrap .user-img {
  box-shadow: 0 0 0 6px #fff, 0 22px 40px -24px rgba(16, 32, 47, 0.6);
  transition: transform 0.6s var(--ex-ease), box-shadow 0.6s ease;
}
.testimony-wrap .user-img::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid rgba(248, 89, 89, 0.45);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease, transform 0.6s var(--ex-ease);
  pointer-events: none;
}
.testimony-wrap:hover .user-img {
  transform: translateY(-4px);
}
.testimony-wrap:hover .user-img::after {
  opacity: 1;
  transform: scale(1);
  animation: ex-ring 2.6s ease-out infinite;
}
@keyframes ex-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(248, 89, 89, 0.35);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(248, 89, 89, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(248, 89, 89, 0);
  }
}
.testimony-wrap .user-img .quote {
  transition: transform 0.6s var(--ex-ease-spring), background 0.5s ease;
}
.testimony-wrap:hover .user-img .quote {
  transform: scale(1.12) rotate(-8deg);
  background-image: var(--ex-grad-warm);
}
.testimony-wrap .text p {
  position: relative;
  transition: color 0.4s ease;
}
.testimony-wrap .text p::before {
  content: "\201C";
  position: absolute;
  left: -0.5em;
  top: -0.45em;
  font-size: 3em;
  line-height: 1;
  color: rgba(248, 89, 89, 0.15);
  font-family: Georgia, serif;
  pointer-events: none;
}

/* Carousel controls ------------------------------------------------------ */
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: var(--ex-shadow-sm);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 0.45s var(--ex-ease), background 0.45s ease,
    box-shadow 0.45s ease;
}
.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
  background-image: var(--ex-grad-warm);
  transform: scale(1.08);
  box-shadow: var(--ex-shadow-glow);
}
.owl-carousel .owl-nav button span {
  transition: color 0.4s ease;
}
.owl-carousel .owl-nav button:hover span,
.owl-carousel .owl-nav button:hover span:before {
  color: #fff !important;
}
.owl-carousel .owl-dots .owl-dot {
  transition: transform 0.4s var(--ex-ease-spring), background 0.4s ease;
}
.owl-carousel .owl-dots .owl-dot.active {
  background: var(--ex-accent) !important;
  transform: scale(1.12);
}

/* ==========================================================================
   11. Destination ticker (infinite marquee)
   ========================================================================== */
.ex-ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background-image: var(--ex-grad-cool);
  color: #fff;
  padding: 13px 0;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.ex-ticker__track {
  display: flex;
  width: max-content;
  animation: ex-marquee 34s linear infinite;
}
.ex-ticker:hover .ex-ticker__track {
  animation-play-state: paused;
}
@keyframes ex-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}
.ex-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.ex-ticker__item svg {
  width: 16px;
  height: 16px;
  opacity: 0.85;
  flex: none;
}

/* ==========================================================================
   12. Travel route divider — self-drawing line animation
   ========================================================================== */
.ex-route {
  position: relative;
  z-index: 1;
  padding: 26px 0 6px;
  background: transparent;
  overflow: hidden;
}
.ex-route svg {
  display: block;
  width: 100%;
  height: 84px;
  overflow: visible;
}
.ex-route path.ex-route__line {
  fill: none;
  stroke: rgba(16, 32, 47, 0.16);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 8 10;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 3.4s linear;
}
.ex-route.ex-in path.ex-route__line {
  stroke-dashoffset: 0;
}
.ex-route circle {
  fill: #fff;
  stroke: rgba(16, 32, 47, 0.25);
  stroke-width: 2;
}
.ex-route text {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  fill: rgba(16, 32, 47, 0.6);
}
.ex-route .ex-route__glow {
  animation: ex-fade-up 0.8s ease both;
}

/* ==========================================================================
   13. Forms — focus ring + morphing submit
   ========================================================================== */
.form-group {
  position: relative;
}
.form-control {
  transition: border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.form-control:focus {
  border-color: rgba(248, 89, 89, 0.55);
  box-shadow: 0 0 0 4px rgba(248, 89, 89, 0.12);
}
.subscribe-form .form-group {
  border: 1px solid rgba(255, 255, 255, 0.65) !important;
  border-radius: 999px !important;
  padding: 5px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}
.subscribe-form .form-group:focus-within {
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.18);
}
.subscribe-form .form-group .submit {
  border-left: none !important;
  border-radius: 999px !important;
  background: #fff;
  color: var(--ex-ink) !important;
  font-weight: 600;
  min-width: 132px;
  letter-spacing: 0.04em;
}
.subscribe-form .form-group .submit:hover {
  background: var(--ex-ink);
  color: #fff !important;
}
/* morphing success state */
.ex-submit-busy,
.ex-submit-sent {
  pointer-events: none;
}
.ex-submit-busy .ex-submit-label,
.ex-submit-sent .ex-submit-label {
  opacity: 0;
}
.ex-submit-busy::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  animation: ex-spin 0.7s linear infinite;
}
.ex-submit-sent::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translate(-50%, -65%) rotate(-45deg) scale(0.4);
  animation: ex-check 0.45s var(--ex-ease-spring) forwards;
}
@keyframes ex-check {
  to {
    transform: translate(-50%, -65%) rotate(-45deg) scale(1);
  }
}
.ex-confetti {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  pointer-events: none;
  animation: ex-confetti 1.1s var(--ex-ease) forwards;
}
@keyframes ex-confetti {
  0% {
    transform: translate(-50%, -50%) scale(0.4);
    opacity: 1;
  }
  100% {
    transform: translate(calc(-50% + var(--ex-cx, 0px)), calc(-50% + var(--ex-cy, -60px)))
      rotate(var(--ex-cr, 180deg)) scale(1);
    opacity: 0;
  }
}
.ex-form-note {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  animation: ex-fade-up 0.5s var(--ex-ease) both;
}

/* ==========================================================================
   14. Footer & floating UI
   ========================================================================== */
.ftco-footer .ftco-footer-widget h2.ftco-heading-2 {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 22px;
}
.ftco-footer .ftco-footer-widget h2.ftco-heading-2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38px;
  height: 2px;
  border-radius: 2px;
  background: var(--ex-grad-warm);
  transform: scaleX(0.25);
  transform-origin: 0 50%;
  transition: transform 0.9s var(--ex-ease);
}
.ftco-footer .ftco-footer-widget.ex-in h2.ftco-heading-2::after,
.ftco-footer .ftco-footer-widget:hover h2.ftco-heading-2::after {
  transform: scaleX(1);
}
.ftco-footer .list-unstyled li a {
  position: relative;
  transition: color 0.35s ease, padding-left 0.4s var(--ex-ease);
}
.ftco-footer .list-unstyled li a::before {
  content: "\203A";
  position: absolute;
  left: -12px;
  opacity: 0;
  color: var(--ex-accent-2);
  transition: opacity 0.35s ease, left 0.4s var(--ex-ease);
}
.ftco-footer .list-unstyled li a:hover {
  color: #fff;
  padding-left: 10px;
}
.ftco-footer .list-unstyled li a:hover::before {
  opacity: 1;
  left: -2px;
}
.ftco-footer .block-23 ul li .icon {
  color: var(--ex-accent-2);
  transition: transform 0.4s var(--ex-ease-spring);
}
.ftco-footer .block-23 ul li:hover .icon {
  transform: translateY(-2px) scale(1.1);
}
.ftco-footer-social li a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.45s var(--ex-ease-spring), background 0.45s ease,
    box-shadow 0.45s ease;
}
.ftco-footer-social li a:hover {
  background-image: var(--ex-grad-warm);
  transform: translateY(-6px) rotate(-6deg);
  box-shadow: var(--ex-shadow-glow);
}
.ftco-footer .ftco-animate {
  opacity: 1;
  visibility: visible;
}

/* Back to top with circular progress -------------------------------------- */
.ex-totop {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 1600;
  width: 54px;
  height: 54px;
  border: none;
  padding: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ex-ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 20px 40px -20px rgba(16, 32, 47, 0.65);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.9);
  transition: opacity 0.45s var(--ex-ease), transform 0.45s var(--ex-ease),
    visibility 0.45s, box-shadow 0.4s ease, background 0.4s ease;
}
.ex-totop.ex-show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.ex-totop:hover {
  box-shadow: var(--ex-shadow-glow);
  background-image: var(--ex-grad-warm);
  color: #fff;
}
.ex-totop svg {
  position: absolute;
  inset: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  transform: rotate(-90deg);
}
.ex-totop .ex-totop__ring-bg {
  fill: none;
  stroke: rgba(16, 32, 47, 0.12);
  stroke-width: 2;
}
.ex-totop .ex-totop__ring {
  fill: none;
  stroke: url(#ex-totop-grad);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 163;
  stroke-dashoffset: 163;
  transition: stroke-dashoffset 0.15s linear;
}
.ex-totop__icon {
  position: relative;
  z-index: 1;
  transition: transform 0.4s var(--ex-ease-spring);
}
.ex-totop:hover .ex-totop__icon {
  transform: translateY(-3px);
}

/* ==========================================================================
   15. Page transitions
   ========================================================================== */
#ex-transition {
  position: fixed;
  inset: 0;
  z-index: 2550;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(120% 100% at 50% 0%, #ffffff 0%, #f2f6f8 100%);
  transition: opacity 0.32s var(--ex-ease);
  display: flex;
  align-items: center;
  justify-content: center;
}
body.ex-leaving #ex-transition {
  opacity: 1;
}
/* the arriving page starts opaque and dissolves — no body opacity animation,
   which would turn <body> into a containing block for fixed elements */
body.ex-entering #ex-transition {
  opacity: 1;
  transition: none;
  /* belt and braces: the curtain dissolves even if the script never wakes up */
  animation: ex-curtain-out 0.6s var(--ex-ease) 0.05s forwards;
}
@keyframes ex-curtain-out {
  to {
    opacity: 0;
  }
}
#ex-transition .ex-transition__mark {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ex-ink);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease 0.05s, transform 0.35s var(--ex-ease) 0.05s;
}
body.ex-leaving #ex-transition .ex-transition__mark {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  body.ex-entering #ex-transition {
    opacity: 0;
  }
}

/* ==========================================================================
   16. Accessibility & fallbacks
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html.ex-js .ex-reveal,
  html.ex-js .ex-reveal-left,
  html.ex-js .ex-reveal-right {
    opacity: 1;
    transform: none;
  }
  .ex-img-zoom.ex-img-reveal:not(.ex-in) {
    clip-path: inset(0 0 0 0);
    transform: none;
  }
  .ex-split .ex-word-i {
    opacity: 1;
    transform: none;
  }
  #ex-preloader,
  #ex-transition {
    display: none !important;
  }
  .ex-progress {
    display: none;
  }
}

@media print {
  .ex-progress,
  .ex-totop,
  #ex-preloader,
  #ex-transition,
  .ex-ticker {
    display: none !important;
  }
}

/* Small screens: keep motion light ---------------------------------------- */
@media (max-width: 767.98px) {
  .ex-tilt {
    transform: none !important;
  }
  .hero-wrap.ex-hero .ex-hero-aurora {
    opacity: 0.45;
  }
  #section-counter .block-18 {
    margin-bottom: 14px;
  }
}

/* ==========================================================================
   99. Accessibility overrides (WCAG 1.4.3 text contrast, measured on rendered pixels)
   The layer re-colours text with the template's coral (#f85959 is only 3.2:1 on white), puts white text on a
   coral-to-amber gradient (3.2:1 falling to 2.0:1), lets the hero glow brighten the photo behind the headline,
   and forces white text on the outlined "Read more" button, which made it invisible on a light section.
   Same look, darker shades. If you ever drop the layer, drop this section with it.
   ========================================================================== */
:root {
  --ex-accent-text: #c22a2a; /* 5.7:1 on white, 4.6:1 on the tinted background blobs behind the light sections */
  --ex-grad-warm: linear-gradient(120deg, #d63232 0%, #b8500a 100%); /* white on it: 4.8:1 to 5.0:1 */
}

/* the outlined button keeps coloured text (the layer's "color: #fff !important" hit every .btn-primary) */
.btn-primary.btn-outline-primary {
  color: var(--ex-accent-text) !important;
}
.btn-primary.btn-outline-primary:hover,
.btn-primary.btn-outline-primary:focus {
  color: #fff !important;
}

/* text that used the plain accent colour */
.heading-section .subheading,
.blog-entry .text .tag {
  color: var(--ex-accent-text);
}
.destination .text h3 a:hover,
.blog-entry .text .heading a:hover,
.destination:hover .text .two .price,
.destination .bottom-area a:hover {
  color: var(--ex-accent-text);
}

/* counters: the warm gradient digits sit on the dark teal band, so they need the light version of it */
#section-counter .text strong.number {
  background-image: linear-gradient(120deg, #ffc9c9 0%, #ffe8b8 100%);
}
#section-counter .text span {
  color: #fff;
}

/* destination ticker: white text needs a dark band, not the bright teal-to-mint one */
.ex-ticker {
  background-image: linear-gradient(120deg, #0a6872 0%, #066a46 100%);
}

/* hero: a scrim that stays dark behind the headline, and a gentler glow */
.hero-wrap.ex-hero .ex-hero-scrim {
  background: linear-gradient(105deg, rgba(7, 17, 28, 0.82) 0%, rgba(7, 17, 28, 0.68) 45%, rgba(7, 17, 28, 0.6) 68%, rgba(7, 17, 28, 0.72) 100%),
    linear-gradient(to bottom, rgba(7, 17, 28, 0.4) 0%, rgba(7, 17, 28, 0.2) 34%, rgba(7, 17, 28, 0.5) 100%);
}
.hero-wrap.ex-hero .ex-hero-aurora {
  opacity: 0.3;
}
