/* ==========================================================================
   NexTour — Theme overrides (loaded AFTER main.css on every page)
   Branding: neutral blue/teal travel palette (replaces Turie orange).
   The heavy lifting of the recolor is done in main.css (token + compiled
   shades already swapped). This file documents the palette, re-asserts the
   tokens defensively, and holds NexTour-specific polish.
   ========================================================================== */

/* ---- Boxed content width: give the site clear left/right gutters ----
   (the template stretched .container to 1630px at large screens) */
@media (min-width: 1400px) {
  .container { max-width: 1300px; }
  .container-1856, .container-1800, .container-1876, .container-1630, .container-1350 { max-width: 1340px; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .container { max-width: 1120px; }
}

:root {
  /* Primary brand — blue #1781FE (CTAs, links, accents) */
  --tp-theme-1: #1781FE;
  --nx-theme-dark: #0F63D6;   /* hover / pressed */
  --nx-theme-light: #E7F1FF;  /* pale section tint */
  --nx-theme-soft: #CFE2FF;   /* borders / chips */

  /* Secondary warm accent — used ONLY for discount / "sale" badges */
  --nx-accent: #0B3D91;

  /* Neutral section tints (cool) */
  --tp-common-petals: #E7F1FF;
  --nx-tint-2: #EEF5FF;

  /* Kept from template */
  --tp-common-black: #071516;
  --tp-common-yellow: #FFC107; /* rating stars */
  --nx-success: #2FA36B;
  --nx-warning: #E0A100;
  --nx-danger: #D64545;
}

/* Prevent horizontal scroll from the off-screen (position:fixed) offcanvas panel
   and decorative shapes. Use `clip` (not `hidden`) — `hidden` creates a scroll
   container that breaks position:sticky (the stacking service cards / sticky titles). */
html, body { overflow-x: clip; }

/* The .tp-tour-badge is only a positioned flex CONTAINER; the coloured pill is
   its .discount / .trending child (already blue). No bg on the container, or a
   square shows behind the rounded pill. */
.tp-tour-badge { background-color: transparent; }

/* Card CTA stays on a single line (outline style — matches the original template) */
.tp-tour-btn { flex: 0 0 auto; }
.tp-tour-btn a,
.tp-tour-btn .tp-btn-sm { white-space: nowrap; }

/* Homepage package tabs: 3 wider cards per row on large screens so titles fit two
   lines (matches the original template's proportions) and rows keep their gap. */
@media (min-width: 1400px) {
  .tp-tour-area .tab-content .row > [class*="col-"] {
    flex: 0 0 auto; max-width: 33.3333%; width: 33.3333%;
  }
}

/* Taller hero + form seated lower on the hero's bottom edge */
.tp-hero-6-spacing { padding-top: 150px; padding-bottom: 250px; }
@media (max-width: 991px) { .tp-hero-6-spacing { padding-top: 120px; padding-bottom: 200px; } }

/* Compact hero booking form + vertically-centred fields.
   Less negative pull => the form sits lower, straddling the hero's bottom edge. */
/* full container width (1300px at >=1400; narrower containers just clamp it) */
.tp-booking-6-form { max-width: 1300px; margin-left: auto; margin-right: auto; margin-top: -90px; }

/* Remove the white band between the hero water and the services section:
   pull the light-blue services block up under the floating booking form. */
.tp-booking-form-area { position: relative; z-index: 3; }
/* light-blue connects up under the form (no white band) + comfortable breathing
   room between the floating form and the section content. margin-top tracks the
   form's new -70px pull so the light-blue still meets the form with no white gap. */
.nx-services-redirect { margin-top: -70px; padding-top: 180px; padding-bottom: 20px; position: relative; z-index: 1; }

/* Preloader: recolor the orange plane + earth to the blue brand */
#loading .plane-img,
#loading .earth { filter: hue-rotate(186deg) saturate(1.15); }
#loading .earth { border-color: rgba(23, 129, 254, 0.09); }

/* Offer banner cards: match the original's wide-rectangle look. The promo banners
   use a wider container (like the original) + trimmed height so they read as
   landscape rectangles rather than squares at the boxed width. */
.tp-offer-3-banner { padding-top: 36px; padding-bottom: 36px; display: flex; align-items: center; }
.tp-offer-3-banner .tp-offer-banner-title.fs-62 { font-size: 52px; margin-bottom: 6px; }
@media (min-width: 1400px) {
  /* promo banners keep the original template's wide container so they read as
     landscape rectangles (the rest of the site stays boxed) */
  .tp-offer-banner-area .container { max-width: 1630px; }
}
/* 'Save Up To 50%' brush badge is an orange raster image — shift it to blue */
.tp-offer-banner-subtitle img { filter: hue-rotate(195deg) saturate(1.1); }

/* Sticky-stacking service cards — 2 per row, stacking in PAIRS (halves scroll).
   The pair is the sticky unit; its opaque bg fully covers the pair below. */
.tp-chose-area .tp-chose-item { position: static; height: 100%; }
/* transparent pair (each card reads as its own unit) + STAGGERED sticky tops so
   each pair settles a little lower than the last — a stacked "book pages" look */
.nx-chose-pair { position: sticky; background-color: transparent; }
.nx-chose-pair:nth-child(1) { top: 110px; }
.nx-chose-pair:nth-child(2) { top: 140px; }
/* 4-up row: compact tile so four fit the col-xl-9 track */
.nx-chose-mini { height: 100%; min-height: 182px; }
/* tighter gaps between stacking groups → shorter sticky scroll zone (less empty space) */
.nx-chose-pair.mb-40 { margin-bottom: 24px; }
.nx-chose-mini-inner { padding: 22px 20px 20px; display: flex; flex-direction: column; height: 100%; }
.nx-chose-mini-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; }
.nx-chose-mini .tp-chose-numbar { font-size: 40px; margin-bottom: 0; }
.nx-chose-mini .tp-chose-title { font-size: 17px; }
.nx-chose-mini .tp-chose-title a { line-height: 1.3; }
.nx-chose-mini .tp-chose-dec { font-size: 13px; line-height: 1.55; }
.nx-chose-mini .tp-chose-dec.mb-20 { margin-bottom: 14px; }
.nx-chose-mini .tp-chose-title.mb-10 { margin-bottom: 6px; }
.nx-chose-mini-btn { margin-top: auto; }
.nx-chose-icon-sm {
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .8);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(7, 21, 22, .06); flex: 0 0 auto;
}
.nx-chose-icon-sm i { font-size: 19px; color: var(--tp-theme-1); }
/* left title matches the other section titles (52px) instead of being shrunk */
.tp-chose-area .tp-chose-section-title .tp-section-title { line-height: 1.06; }
.tp-chose-area .tp-chose-section-title p { font-size: 16px; }
/* container is 1120px here, so the 52px heading would overflow the col-xl-3 track */
@media (min-width: 1200px) and (max-width: 1399px) {
  .tp-chose-area .tp-chose-section-title .tp-section-title { font-size: 42px; }
}
@media (max-width: 991px) { .nx-chose-pair { position: static; background: transparent; } }

/* Blog-details 'Latest Posts' sidebar thumbnails — constrain size (no desktop size in template) */
.rc-post-thumb img { width: 92px; height: 92px; object-fit: cover; }

/* Review/comment avatars (blog-details, package/homestay reviews) — constrain size */
.tp-tour-review-avater-thumb img { width: 76px; height: 76px; object-fit: cover; border-radius: 50%; }

/* Slightly darker teal on primary button hover for contrast */
.tp-btn:hover { background-color: var(--nx-theme-dark); }

/* Fix: tp-btn + tp-btn-sm combo (small SOLID button). tp-btn-sm alone is an
   outline button with teal text; combined with tp-btn's teal bg it was invisible. */
.tp-btn.tp-btn-sm {
  color: #fff; background: var(--tp-theme-1); border: none;
  padding: 9px 20px; font-size: 14px; border-radius: 50px;
}
.tp-btn.tp-btn-sm:hover { color: #fff; background: var(--nx-theme-dark); }
/* Outline variant used on some CTAs */
.tp-btn-border {
  color: var(--tp-common-black); background: transparent;
  border: 1px solid var(--tp-border-1); border-radius: 50px; padding: 14px 24px;
  display: inline-block; line-height: 1; transition: all .3s ease; font-weight: 500;
}
.tp-btn-border:hover { border-color: var(--tp-theme-1); color: var(--tp-theme-1); }

/* Focus ring for accessibility (keyboard nav) on interactive controls */
a:focus-visible,
button:focus-visible,
.tp-input:focus-visible,
.tp-select:focus-visible {
  outline: 2px solid var(--tp-theme-1);
  outline-offset: 2px;
}

/* "Book Services" redirect tiles — subtle teal hover lift (reuses tp-service markup) */
.nx-redirect-item { transition: transform .3s ease, box-shadow .3s ease; }
.nx-redirect-item:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(23,129,254,.12); }

/* --- Dark footer (NexTour) link + input styling --- */
.tp-footer-6 { background-color: #0A2540; }
.nx-footer-menu ul { list-style: none; margin: 0; padding: 0; }
.tp-footer-6 .nx-footer-menu a,
.nx-footer-menu a { color: #c4d2d4; transition: color .2s ease; }
.tp-footer-6 .nx-footer-menu a:hover,
.nx-footer-menu a:hover { color: var(--tp-theme-1); }
.nx-footer-contact a:hover { color: var(--tp-theme-1) !important; }
.nx-footer-menu ul li { margin-bottom: 12px; }
.nx-footer-menu ul li:last-child { margin-bottom: 0; }

/* footer logo: NexTour only (light variant — the footer is #0A2540).
   It used to be sized by the template's data-width JS; the PNG needs a width. */
.nx-footer-logo { width: 200px; max-width: 100%; height: auto; }

/* brand column: logo + address + circular social buttons */
.nx-footer-brand-title { color: #fff; font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.nx-footer-address { color: #b7c5c7; max-width: 330px; margin-bottom: 26px; line-height: 1.8; }
.nx-footer-social { display: flex; gap: 12px; }
.nx-footer-social a {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: #fff; font-size: 15px; transition: all .25s ease;
}
.nx-footer-social a:hover {
  background: var(--tp-theme-1); border-color: var(--tp-theme-1); transform: translateY(-3px);
}

/* contact column: coloured circular icon + label/value rows */
.nx-footer-contact-list { display: flex; flex-direction: column; gap: 22px; }
.nx-footer-contact-row { display: flex; align-items: center; gap: 14px; }
.nx-footer-contact-icon {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; transition: transform .25s ease;
}
.nx-footer-contact-icon.is-whatsapp { background: #25D366; }
.nx-footer-contact-icon.is-mail { background: #34B27B; }
.nx-footer-contact-icon.is-phone { background: var(--tp-theme-1); }
.nx-footer-contact-row:hover .nx-footer-contact-icon { transform: translateY(-3px); }
.nx-footer-contact-meta .label { display: block; color: #b7c5c7; font-size: 14px; line-height: 1.5; }
.nx-footer-contact-meta strong { color: #fff; font-size: 17px; font-weight: 600; transition: color .2s ease; }
.nx-footer-contact-row:hover .nx-footer-contact-meta strong { color: var(--tp-theme-1); }

/* --- Redirect service tiles section --- */
.nx-redirect-item {
  display: block; background: #fff; border: 1px solid var(--tp-border-1); border-radius: 16px;
  padding: 30px 24px; text-align: center; height: 100%;
}
.nx-redirect-icon {
  width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--nx-theme-light); color: var(--tp-theme-1); font-size: 26px;
}
.nx-redirect-item h4 { font-size: 18px; margin-bottom: 8px; color: var(--tp-common-black); }
.nx-redirect-item p { font-size: 14px; color: var(--tp-grey-1); margin-bottom: 16px; }
.nx-redirect-item .nx-redirect-link { font-weight: 600; color: var(--tp-theme-1); font-size: 14px; }
.nx-redirect-item .nx-redirect-link i { font-size: 12px; margin-left: 4px; }

/* Testimonial avatar: template sized it by the image's natural dimensions;
   constrain to a small circle so replaced (large) photos render correctly. */
.tp-testimonial-user img {
  width: 56px; height: 56px; min-width: 56px; border-radius: 50%;
  object-fit: cover; flex: 0 0 auto;
}

/* ==========================================================================
   Navbar logo cross-fade swap  (NexTour  <->  Click2Pays)
   Two logos stacked in one fixed-size box; they alternate opacity forever.
   Fixed box width = the wider logo at this height, so the nav never reflows.
   ========================================================================== */
.nx-logo-swap {
  position: relative; display: inline-block; vertical-align: middle;
  height: 46px; width: 172px;                 /* fits the wider of the two logos */
}
.nx-logo-swap.nx-logo-offcanvas { height: 38px; width: 142px; }
.nx-logo-swap img {
  position: absolute; top: 50%; left: 0; transform: translateY(-50%);
  height: 100%; width: auto; max-width: 100%; object-fit: contain;
  opacity: 0;
  animation-duration: 10s; animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.nx-logo-swap .nx-logo-a { animation-name: nxLogoSwapA; opacity: 1; }  /* NexTour first */
.nx-logo-swap .nx-logo-b { animation-name: nxLogoSwapB; }              /* then Click2Pays */
@keyframes nxLogoSwapA { 0%,42% { opacity: 1 } 50%,92% { opacity: 0 } 100% { opacity: 1 } }
@keyframes nxLogoSwapB { 0%,42% { opacity: 0 } 50%,92% { opacity: 1 } 100% { opacity: 0 } }
@media (max-width: 767px) {
  .nx-logo-swap { height: 34px; width: 126px; }
  .nx-logo-swap.nx-logo-offcanvas { height: 32px; width: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .nx-logo-swap img { animation: none; }
  .nx-logo-swap .nx-logo-a { opacity: 1; }
  .nx-logo-swap .nx-logo-b { opacity: 0; }
}

/* ==========================================================================
   Floating action buttons (bottom-right): AI chat + WhatsApp
   ========================================================================== */
.nx-fab-stack {
  position: fixed; right: 28px; bottom: 28px; z-index: 98;
  display: flex; flex-direction: column; gap: 14px;
}
.nx-fab {
  position: relative; width: 58px; height: 58px; border-radius: 50%; border: 0; padding: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 27px; text-decoration: none; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.nx-fab:hover { color: #fff; transform: translateY(-3px) scale(1.05); }
.nx-fab-wa { background: #25D366; box-shadow: 0 10px 26px rgba(37, 211, 102, .45); font-size: 30px; }
.nx-fab-wa:hover { box-shadow: 0 14px 32px rgba(37, 211, 102, .55); }
.nx-fab-chat { background: var(--tp-theme-1); box-shadow: 0 10px 26px rgba(23, 129, 254, .45); }
.nx-fab-chat:hover { box-shadow: 0 14px 32px rgba(23, 129, 254, .55); }
/* pulse ring */
.nx-fab::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: inherit; z-index: -1; animation: nxFabPulse 2.2s ease-out infinite;
}
.nx-fab-chat::before { animation-delay: 1.1s; }
@keyframes nxFabPulse { 0% { transform: scale(1); opacity: .55 } 70%,100% { transform: scale(1.9); opacity: 0 } }
/* unread badge */
.nx-fab-badge {
  position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: #EF4A00; color: #fff;
  font-size: 11px; font-weight: 700; line-height: 20px; text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}
.nx-fab-badge.is-hidden { display: none; }
/* when the chat panel is open the trigger becomes a close button */
.nx-fab-chat.is-open i::before { content: "\f00d"; }        /* fa-xmark */
.nx-fab-chat.is-open::before { animation: none; }

/* keep the back-to-top button clear of the FAB stack (only on pages that have it) */
.nx-has-fabs .back-to-top-wrapper.back-to-top-btn-show { bottom: 160px; right: 35px; }

@media (prefers-reduced-motion: reduce) { .nx-fab::before { animation: none; } }
@media (max-width: 575px) {
  .nx-fab-stack { right: 18px; bottom: 18px; gap: 12px; }
  .nx-fab { width: 52px; height: 52px; font-size: 25px; }
  .nx-fab-wa { font-size: 27px; }
  .nx-has-fabs .back-to-top-wrapper.back-to-top-btn-show { bottom: 140px; right: 21px; }
}

/* ==========================================================================
   Chat widget panel (placeholder UI for the planned AI assistant)
   ========================================================================== */
.nx-chat {
  /* clears the whole FAB stack (2 x 58px + 14px gap + 28px offset) so the
     trigger stays visible and clickable while the panel is open */
  position: fixed; right: 28px; bottom: 172px; z-index: 99;
  width: 370px; max-width: calc(100vw - 36px);
  height: 520px; max-height: calc(100vh - 210px);
  background: #fff; border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 60px rgba(7, 21, 22, .22);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.98);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.nx-chat.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.nx-chat-head {
  background: linear-gradient(115deg, var(--nx-theme-dark) 0%, var(--tp-theme-1) 100%);
  color: #fff; padding: 18px 18px 22px; flex: 0 0 auto;
  border-radius: 0 0 22px 22px;
}
.nx-chat-head-top { display: flex; align-items: center; gap: 12px; }
.nx-chat-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto;
  background: rgba(255, 255, 255, .18); border: 2px solid rgba(255, 255, 255, .5);
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.nx-chat-id { flex: 1 1 auto; }
.nx-chat-id strong { font-size: 19px; font-weight: 600; color: #fff; }
.nx-chat-min {
  background: transparent; border: 0; color: #fff; font-size: 17px;
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer; transition: background .2s ease;
}
.nx-chat-min:hover { background: rgba(255, 255, 255, .18); }
.nx-chat-sub { margin: 12px 0 0; font-size: 14px; color: rgba(255, 255, 255, .85); }

.nx-chat-body { flex: 1 1 auto; overflow-y: auto; padding: 18px 16px; background: #fff; }
.nx-chat-msg { display: flex; margin-bottom: 12px; }
.nx-chat-msg.is-bot { justify-content: flex-start; }
.nx-chat-msg.is-me { justify-content: flex-end; }
.nx-chat-bubble {
  max-width: 82%; padding: 11px 14px; border-radius: 14px;
  font-size: 14px; line-height: 1.55;
}
.is-bot .nx-chat-bubble { background: #F1F4F7; color: var(--tp-common-black); border-top-left-radius: 4px; }
.is-me .nx-chat-bubble { background: var(--tp-theme-1); color: #fff; border-top-right-radius: 4px; }

.nx-chat-quick { display: flex; flex-direction: column; gap: 1px; background: #E7EBEF; border-radius: 12px; overflow: hidden; margin-bottom: 12px; }
.nx-chat-quick-btn {
  background: #fff; border: 0; padding: 12px 14px; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--tp-theme-1); text-align: center;
  transition: background .2s ease;
}
.nx-chat-quick-btn:hover { background: var(--nx-tint-2); }

.nx-chat-cta {
  display: inline-block; margin: 0 0 12px; padding: 9px 16px; border-radius: 22px;
  background: var(--tp-theme-1); color: #fff; font-size: 13px; font-weight: 600;
  transition: background .2s ease;
}
.nx-chat-cta:hover { background: var(--nx-theme-dark); color: #fff; }

.nx-chat-typing .nx-chat-bubble { display: flex; gap: 4px; padding: 14px; }
.nx-chat-typing span {
  width: 7px; height: 7px; border-radius: 50%; background: #9AA6B2;
  animation: nxDot 1.2s infinite ease-in-out;
}
.nx-chat-typing span:nth-child(2) { animation-delay: .15s; }
.nx-chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes nxDot { 0%,60%,100% { transform: translateY(0); opacity: .45 } 30% { transform: translateY(-4px); opacity: 1 } }

.nx-chat-foot {
  flex: 0 0 auto; display: flex; align-items: center; gap: 8px;
  padding: 12px 14px; border-top: 1px solid #E7EBEF; background: #fff;
}
/* .nx-chat prefix needed: the template styles inputs via input[type="text"],
   which out-specifies a lone class selector and would re-add a border/height. */
.nx-chat .nx-chat-input {
  flex: 1 1 auto; border: 0; outline: 0; font-size: 14px; height: 40px;
  padding: 0; background: transparent; color: var(--tp-common-black);
}
.nx-chat .nx-chat-input::placeholder { color: #9AA6B2; }
.nx-chat-send {
  flex: 0 0 auto; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--tp-theme-1); color: #fff; font-size: 15px; cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.nx-chat-send:hover { background: var(--nx-theme-dark); transform: scale(1.06); }

@media (max-width: 575px) {
  .nx-chat { right: 18px; left: 18px; width: auto; bottom: 152px; height: auto; max-height: calc(100vh - 190px); }
}

/* ==========================================================================
   Book Services dropdown — compact: 8 icons only, 4 x 2, no labels.
   Names live on title/aria-label (native tooltip + screen-reader safe).
   ========================================================================== */
/* explicit width: an absolutely-positioned `width:auto` shrink-to-fits against its
   containing block (the narrow <li>), which squeezes the grid. 4*48 + 3*8 + 2*14 */
.tp-menu-dropdown nav ul li .sub-menu.nx-svc-menu {
  width: 244px; min-width: 0; padding: 14px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
/* The class is repeated on purpose. The template styles nav links with
   `.tp-header-one .tp-main-menu nav ul li a` (0,2,4) — display:inline-block and
   padding:23px 0. A single `.nx-svc-menu .nx-svc-item` (0,2,0) loses on element
   count; doubling the class (0,3,0) wins in ANY context (desktop nav or the
   cloned mobile menu) without reaching for !important. */
.nx-svc-menu .nx-svc-item.nx-svc-item {
  display: flex; align-items: center; justify-content: center;
  padding: 0; border-radius: 10px; border: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.nx-svc-menu .nx-svc-item:hover { background: var(--nx-tint-2); border-color: var(--nx-theme-soft); transform: translateY(-2px); }
.nx-svc-icon {
  width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: var(--nx-theme-light); color: var(--tp-theme-1); font-size: 19px;
  transition: background .25s ease, color .25s ease;
}
.nx-svc-menu .nx-svc-item:hover .nx-svc-icon { background: var(--tp-theme-1); color: #fff; }

/* mobile off-canvas: plain full-width grid */
@media (max-width: 1199px) {
  .tp-menu-dropdown nav ul li .sub-menu.nx-svc-menu,
  .nx-svc-menu { display: grid; grid-template-columns: repeat(4, 1fr); justify-items: center; padding: 10px 0; gap: 8px; }
  .nx-svc-icon { width: 42px; height: 42px; font-size: 17px; }
}

/* ==========================================================================
   Honeymoon feature section (image left, content right) — new, on-brand,
   built from the template's tokens (.tp-section-subtitle/.tp-section-title/.tp-btn)
   ========================================================================== */
.nx-honeymoon-area { background: #fff; overflow: hidden; }

/* image composition: large portrait + overlapping accent + stat badge + faint word */
.nx-hm-gallery { padding-left: 18px; padding-bottom: 30px; }
.nx-hm-img-main { position: relative; z-index: 2; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px rgba(7,21,22,.16); }
.nx-hm-img-main img { width: 100%; height: auto; display: block; border-radius: 18px; }
.nx-hm-img-sub {
  position: absolute; z-index: 3; left: -18px; bottom: -30px; width: 44%;
  border-radius: 16px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 20px 40px rgba(7,21,22,.18);
}
.nx-hm-img-sub img { width: 100%; height: auto; display: block; }
/* faint outlined vertical word, echoing the reference's "TRAVEL" */
.nx-hm-word {
  position: absolute; top: 50%; right: -30px; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; font-family: var(--tp-ff-heading);
  font-size: 88px; font-weight: 800; letter-spacing: 4px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(23,129,254,.16); z-index: 1; pointer-events: none; user-select: none;
}
/* stat badge on the main image */
.nx-hm-badge {
  position: absolute; z-index: 4; right: 16px; top: 22px;
  background: rgba(255,255,255,.95); border-radius: 14px; padding: 14px 18px;
  box-shadow: 0 18px 34px rgba(7,21,22,.16); text-align: center; backdrop-filter: blur(2px);
}
.nx-hm-badge-num { display: block; font-family: var(--tp-ff-heading); font-size: 30px; font-weight: 700; color: var(--tp-theme-1); line-height: 1; }
.nx-hm-badge-label { display: block; margin-top: 4px; font-size: 12px; line-height: 1.4; color: var(--tp-common-black); }

/* content side */
.nx-hm-content .tp-section-title { line-height: 1.08; }
.nx-hm-lead { font-size: 16px; color: var(--tp-grey-1); max-width: 560px; }
.nx-hm-features { display: flex; flex-direction: column; gap: 22px; }
.nx-hm-feature { display: flex; align-items: flex-start; gap: 16px; }
.nx-hm-feature-icon {
  flex: 0 0 auto; width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--nx-theme-light); color: var(--tp-theme-1); font-size: 22px;
  transition: background .25s ease, color .25s ease;
}
.nx-hm-feature:hover .nx-hm-feature-icon { background: var(--tp-theme-1); color: #fff; }
.nx-hm-feature-title { font-size: 19px; font-weight: 600; margin-bottom: 6px; color: var(--tp-common-black); }
.nx-hm-feature-text p { font-size: 14px; color: var(--tp-grey-1); margin-bottom: 0; line-height: 1.6; }

/* image now sits in the RIGHT column: give the gallery right-side breathing room
   for the outlined word, keep the accent image overlapping toward the text (left). */
.nx-hm-gallery { padding-left: 0; padding-right: 30px; }
.nx-hm-word { right: 6px; }
@media (max-width: 1199px) { .nx-hm-content.pr-40 { padding-right: 0; } .nx-hm-word { font-size: 66px; } }
@media (max-width: 991px) {
  .nx-hm-gallery { margin-bottom: 70px; max-width: 520px; }
  .nx-hm-word { display: none; }
}
@media (max-width: 575px) {
  .nx-hm-img-sub { width: 50%; left: -8px; bottom: -22px; }
  .nx-hm-badge { right: 10px; top: 12px; padding: 10px 14px; }
  .nx-hm-badge-num { font-size: 24px; }
}

/* ==========================================================================
   Script (display) subtitles — 'Book Travel Services' / 'Honeymoon Packages'
   styled like the hero's "Popular Destination" (Dancing Script), not a pill.
   ========================================================================== */
.tp-section-subtitle.nx-subtitle-script {
  font-family: var(--tp-ff-dancing);
  font-size: 28px; font-weight: 700; line-height: 1.2;
  text-transform: none; letter-spacing: 0;
  color: var(--tp-theme-1);
  border: none; background: transparent; padding: 0; border-radius: 0;
}
@media (max-width: 575px) { .tp-section-subtitle.nx-subtitle-script { font-size: 24px; } }

/* ==========================================================================
   Top secondary nav bar — blue background, light text
   ========================================================================== */
.tp-header-top-area { background: var(--tp-theme-1); }
.tp-header-top-area .tp-header-top-spacing { border-bottom-color: rgba(255, 255, 255, .18); }
.tp-header-top-area .tp-header-top-info ul li a,
.tp-header-top-area .tp-header-top-menu-item > span,
.tp-header-top-area .tp-header-top-discount p { color: #fff; }
.tp-header-top-area .tp-header-top-discount p span { color: #fff; font-weight: 600; }
.tp-header-top-area .tp-header-top-info ul li a:hover,
.tp-header-top-area .tp-header-top-menu-item > span:hover { color: rgba(255, 255, 255, .78); }
/* vertical dividers between phone / email */
.tp-header-top-area .tp-header-top-info ul li:not(:last-child)::after { background: rgba(255, 255, 255, .3); }
/* language / currency dropdown popovers stay light with dark text (default) for readability */

/* ==========================================================================
   HOMEPAGE hero (index.html only, scoped to body.nx-home-hero)
   Header stays as the standard site header (white bg, colored logo, blue
   secondary bar). Only the HERO is customised: centered copy over a darkened
   video + a compact glassy search form seated over it.
   ========================================================================== */
/* very light tint over the hero video (just enough for white-text legibility) */
.nx-home-hero .tp-hero-6-video::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(7,21,22,.20) 0%, rgba(7,21,22,.05) 42%, rgba(7,21,22,.22) 100%);
  pointer-events: none;
}
/* lift the intrinsically dark ocean footage so the hero reads bright */
.nx-home-hero .tp-hero-6-video video { filter: brightness(1.18) saturate(1.04); }
/* soft shadow keeps the centered white copy readable without a heavy overlay */
.nx-home-hero .tp-hero-6-content .tp-hero-6-title,
.nx-home-hero .tp-hero-6-content .tp-hero-6-subtitle,
.nx-home-hero .tp-hero-6-content .tp-hero-6-dec { text-shadow: 0 2px 14px rgba(7,21,22,.45); }
.nx-home-hero .tp-hero-6-spacing > .container { position: relative; z-index: 2; }

/* centered hero copy (header now sits above in normal flow, so less top padding) */
.nx-home-hero .tp-hero-6-spacing { padding-top: 110px; padding-bottom: 250px; }
.nx-home-hero .tp-hero-6-content { text-align: center; }
.nx-home-hero .tp-hero-6-content .tp-hero-6-subtitle { font-size: 34px; }

/* ---- compact glassy search form, seated over the hero ---- */
.nx-home-hero .tp-booking-form-area { margin-top: -210px; }
.nx-home-hero .tp-booking-6-form {
  max-width: 940px; margin-left: auto; margin-right: auto; margin-top: 0;
  padding: 16px 26px;
  background: rgba(12, 16, 22, .42);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .36);
}
.nx-home-hero .tp-booking-6-form .tp-booking-wrap { background: transparent; padding: 0; }
.nx-home-hero .tp-booking-6-form .tp-booking-6-title { color: #fff; font-size: 14px; margin-bottom: 2px; }
.nx-home-hero .tp-booking-6-form .tp-input { color: #fff; background: transparent; height: 42px; }
.nx-home-hero .tp-booking-6-form .tp-input::placeholder { color: rgba(255, 255, 255, .72); }
.nx-home-hero .tp-booking-6-form .tp-booking-input-icon { color: rgba(255, 255, 255, .82); }
.nx-home-hero .tp-booking-6-form .tp-booking-location-input::before { background: rgba(255, 255, 255, .22); }
/* clear gap between the hero and the services section (extra top padding so the
   'Book Travel Services' block isn't cramped against the hero's dark edge) */
.nx-home-hero .nx-services-redirect { margin-top: -60px; padding-top: 280px; }

@media (max-width: 991px) {
  .nx-home-hero .tp-hero-6-spacing { padding-top: 80px; padding-bottom: 200px; }
  .nx-home-hero .tp-hero-6-content .tp-hero-6-subtitle { font-size: 28px; }
  .nx-home-hero .tp-booking-form-area { margin-top: -170px; }
}


/* Home section loaders (packages / testimonials / blog) */
.nx-home-loading{display:flex;align-items:center;justify-content:center;min-height:180px;width:100%}
.nx-home-spin{width:44px;height:44px;border:4px solid #e5e7eb;border-top-color:#1781FE;border-radius:50%;animation:nx-home-spin .8s linear infinite}
@keyframes nx-home-spin{to{transform:rotate(360deg)}}
