/* ==========================================================================
   Help The Tourists — Homepage Modern Redesign
   Load this AFTER main.css. It only overrides/extends existing classes,
   using the theme's own CSS variables so brand colors never change.
   Safe to remove at any time (site falls back to the original main.css look).
   ========================================================================== */

/* ---------- 1. HERO / MASTHEAD SLIDER ---------- */

/* Prevent any full-bleed shadow/element from ever creating horizontal
   scroll / a stray sliver at the right edge of the viewport */
html,
body {
  overflow-x: hidden;
}

.masthead.-type-7 .masthead-slider {
  border-radius: 24px;
  /* Smaller blur/spread than before — a large blur on a near-full-width
     element can widen the page's scrollable area and expose a sliver of
     whatever sits past the visible edge. */
  box-shadow: 0 16px 30px -18px rgba(5, 16, 54, 0.45);
}

.masthead.-type-7 .masthead__content {
  height: 720px;
}

/* Richer, more cinematic scrim so the type stays legible on any photo */
.masthead.-type-7 .masthead__bg:after {
  background: linear-gradient(
    180deg,
    rgba(5, 16, 54, 0.15) 0%,
    rgba(5, 16, 54, 0.35) 45%,
    rgba(5, 16, 54, 0.8) 100%
  );
}

/* Slow "Ken Burns" zoom on whichever slide is active — driven purely by the
   swiper-slide-active class Swiper already applies, so no JS changes needed.
   Clip directly on the image's own parent (not just the far-away rounded
   .masthead-slider ancestor) — some browsers fail to apply an ancestor's
   border-radius/overflow clip to a will-change/transform composited layer
   several levels down, which is what caused the sliver on the right edge. */
.masthead.-type-7 .masthead__bg {
  overflow: hidden;
}
.masthead.-type-7 .masthead__bg img {
  transform: scale(1.06);
  transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.masthead.-type-7 .swiper-slide-active .masthead__bg img {
  transform: scale(1.16);
}

/* Eyebrow text becomes a modern glass pill above the headline */
.masthead.-type-7 .masthead__content > div[data-anim-child*="delay-1"] {
  display: inline-flex;
  align-items: center;
  align-self: center;
  width: -webkit-fit-content;
  width: fit-content;
  max-width: 100%;
  gap: 8px;
  padding: 8px 20px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 13px !important;
}

.masthead.-type-7 h1 {
  text-shadow: 0 6px 30px rgba(5, 16, 54, 0.55);
  letter-spacing: -0.5px;
}

/* Glassmorphic, brand-colored nav arrows */
.masthead.-type-7 .masthead-slider__nav button {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
}
.masthead.-type-7 .masthead-slider__nav button:hover {
  background: var(--color-yellow-3) !important;
  border-color: var(--color-yellow-3) !important;
  color: var(--color-dark-1) !important;
  transform: scale(1.08);
}

@media (max-width: 991px) {
  .masthead.-type-7 .masthead__content {
    height: 560px;
  }
  .masthead.-type-7 .masthead-slider {
    border-radius: 16px;
  } 
}

/* ---------- 2. TOP DESTINATIONS CARDS ---------- */

.citiesCard.-type-3 {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px -12px rgba(5, 16, 54, 0.25);
  transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.45s ease;
}
.citiesCard.-type-3:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 45px -14px rgba(5, 16, 54, 0.45);
}
.citiesCard.-type-3 .citiesCard__content:before {
  background: linear-gradient(
    180deg,
    rgba(5, 16, 54, 0.75) 0%,
    rgba(5, 16, 54, 0.15) 40%,
    rgba(5, 16, 54, 0.55) 100%
  );
}

/* ---------- 3. PROMO / CTA CARDS (Sikkim, Darjeeling, Bhutan) ---------- */

.ctaCard.-type-1 {
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.45s ease;
  box-shadow: 0 10px 30px -12px rgba(5, 16, 54, 0.25);
}
.ctaCard.-type-1:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 45px -14px rgba(5, 16, 54, 0.45);
}
.ctaCard.-type-1 .ctaCard__image img {
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.ctaCard.-type-1:hover .ctaCard__image img {
  transform: scale(1.08);
}

/* ---------- 4. SECTION TITLES — brand-accent kicker ---------- */

/* Default: left-aligned sections get a vertical accent bar */
.sectionTitle__title {
  position: relative;
  padding-left: 22px;
}
.sectionTitle__title:before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 5px;
  border-radius: 4px;
  background: var(--color-yellow-3);
}

/* Centered sections (e.g. "Why Choose Help The Tourists") get a centered
   horizontal underline instead, so it lines up with the centered text
   rather than sitting at the far edge of the container */
.text-center .sectionTitle__title,
.justify-center .sectionTitle__title {
  padding-left: 0;
  padding-bottom: 16px;
  display: inline-block;
}
.text-center .sectionTitle__title:before,
.justify-center .sectionTitle__title:before {
  left: 50%;
  top: auto;
  bottom: 0;
  transform: translateX(-50%);
  width: 420px;
  height: 4px;
}
@media (max-width: 991px) {  
  .text-center .sectionTitle__title:before,
  .justify-center .sectionTitle__title:before {
   width: 250px !important; 
}
}
.text-center .sectionTitle__text,
.justify-center .sectionTitle__text {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 5. ABROAD / COUNTRY CARDS (Bhutan, Nepal, Dubai...) ---------- */

.abroad-swiper-slide {
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s ease;
  box-shadow: 0 8px 24px -10px rgba(5, 16, 54, 0.3);
}
.abroad-swiper-slide:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 36px -14px rgba(5, 16, 54, 0.4);
}
.abroad-swiper-image {
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.abroad-swiper-slide:hover .abroad-swiper-image {
  transform: scale(1.08);
}