.heroimg {
  background: url("/img/general/headerbg.png") center right / cover;
  width: 100%;
  height: 100%;
}

/* Update the button positioning CSS for secondary carousel */
.carousel-btn-desktop-2 {
  position: absolute;
  background: transparent;
  border: 1px solid #3498db;
  color: #3498db;
  cursor: pointer;
  padding: 15px;
  font-size: 24px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  z-index: 10;
}

/* Add specific positioning for prev/next buttons */
.prev-btn-desktop-2 {
  left: 2%;
  top: 60%;
  transform: translateY(-50%);
}

.next-btn-desktop-2 {
  right: 2%;
  top: 60%;
  transform: translateY(-50%);
}

/* Mobile button positioning */
@media (max-width: 768px) {
  .carousel-btn-mobile-2 {
    position: relative;
    bottom: -30px;
    display: inline-flex;
    margin: 10px 6px;
    width: 25px;
    height: 25px;
    font-size: 15px;
  }

  .mobile-carousel-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/*
  Design: off-white centre, DEEP vivid brand colors at 4 corners,
  light watercolour hints in mid-areas. Section glass at 30% white so
  corners are clearly visible. Travel-website friendly.
*/
html {
  background-color: #faf9f7;
}

html::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 65% 52% at 0% 0%, rgba(232, 33, 42, 0.52) 0%, rgba(232, 33, 42, 0.18) 40%, transparent 62%),
    radial-gradient(ellipse 62% 50% at 100% 0%, rgba(27, 76, 200, 0.48) 0%, rgba(27, 76, 200, 0.16) 40%, transparent 62%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(247, 200, 0, 0.52) 0%, rgba(247, 200, 0, 0.18) 38%, transparent 60%),
    radial-gradient(ellipse 62% 52% at 0% 100%, rgba(58, 170, 53, 0.46) 0%, rgba(58, 170, 53, 0.15) 40%, transparent 62%),
    radial-gradient(ellipse 40% 35% at 72% 38%, rgba(232, 33, 42, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 38% 33% at 28% 62%, rgba(27, 76, 200, 0.14) 0%, transparent 52%),
    radial-gradient(ellipse 36% 30% at 52% 80%, rgba(247, 200, 0, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 32% 28% at 48% 20%, rgba(58, 170, 53, 0.12) 0%, transparent 48%);
}

body {
  background: transparent !important;
}

main {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

main::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: rgba(250, 249, 247, 0.15);
}

main>* {
  position: relative;
  z-index: 1;
}

/* Keep sections transparent; the global blur layer sits behind all content */
main>section:not(.voices-section):not(.section-bg) {
  background: rgb(255 255 255 / 0%) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* === MOBILE: disable backdrop-filter (causes dark patches on mobile) === */
@media (max-width: 1199px) {
  main::before {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  main>section:not(.voices-section):not(.section-bg) {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.voices-section {
  background-color: #0d2857 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.section-bg {
  background: transparent !important;
  backdrop-filter: none !important;
}

/* Hero opening animation: smooth center pop-up */
.home-hero-section {
  overflow: hidden;
}

.home-hero-section .masthead__bg {
  opacity: 1;
  transform: none;
  filter: none;
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: auto;
  animation: none;
}

.home-hero-section .masthead__bg img {
  opacity: 1;
  transform: none;
  filter: none;
  -webkit-filter: none;
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: auto;
}

body.index-page-ready .home-hero-section .masthead__bg img {
  animation: none !important;
}

.masthead__bg picture,
.masthead__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Mobile-specific positioning */
@media (max-width: 767px) {
  .masthead__bg img {
    object-position: center top;
  }
}

.home-hero-section .text-center {
  opacity: 0;
  transform: translateY(28px) scale(0.9);
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: transform, opacity;
  animation: heroContentPopSmooth 1.15s cubic-bezier(0.2, 0.88, 0.2, 1) 0.52s both;
}

@keyframes heroImageBlurOut {
  from {
    opacity: 1;
    transform: scale(1.06);
    filter: blur(20px);
    -webkit-filter: blur(20px);
  }

  65% {
    opacity: 1;
    transform: scale(1.02);
    filter: blur(6px);
    -webkit-filter: blur(6px);
  }

  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    -webkit-filter: blur(0);
  }
}

@keyframes heroContentPopSmooth {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {

  .home-hero-section .masthead__bg,
  .home-hero-section .masthead__bg img,
  .home-hero-section .text-center h1,
  .home-hero-section .home-hero-subtitle {
    animation: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}

/* Index page header load animation */
body.index-page-load:not(.index-page-ready) .header.js-header {
  opacity: 0;
  transform: translateY(-36px);
}

body.index-page-ready .header.js-header {
  animation: indexHeaderPopFromTop 0.82s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

@keyframes indexHeaderPopFromTop {
  0% {
    opacity: 0;
    transform: translateY(-36px);
  }

  60% {
    opacity: 1;
    transform: translateY(5px);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

/* Neutralize transform containing block when menu, search, or call popup is active */
body.tz-mobile-call-open .header,
.header.is-menu-opened,
.header.is-menu-opened .header-menu {
  animation: none !important;
  transform: none !important;
}

/* === INDEX PAGE: MOBILE MENU OVERRIDE (max-width: 1199px) === */
@media (max-width: 1199px) {

  /* Prevent header from turning solid dark on scroll for index on mobile */
  .header.is-sticky {
    background-color: transparent !important;
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    animation: none !important;
    transform: none !important;
  }

  /* Hide the glassmorphic background capsule and border of the mobile header bar on the homepage on load */
  .header:not(.is-sticky):not(.is-menu-opened) .tz-mobile-header-bar {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* On mobile, if menu or search is active on index page, keep header transparent! */
  .header.is-menu-opened {
    background-color: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
  }

  .header .header-menu {
    transform: translateY(-50px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s ease !important;
  }

  .header .header-menu.is-menu-active {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .header .tz-mobile-menu-close-wrap {
    display: flex;
    justify-content: flex-end;
    padding: 16px 20px 0;
  }

  .header .tz-mobile-menu-close {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: rgba(11, 29, 74, 0.08);
    color: #0b1d4a;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
  }

  .header .tz-mobile-menu-close i {
    font-size: 12px;
  }
}

/* === INDEX PAGE: DESKTOP MENU OVERRIDE (min-width: 1200px) === */
@media (min-width: 1200px) {

  /* Hide mobile close button on desktop */
  .header .tz-mobile-menu-close-wrap {
    display: none !important;
  }

  /* Vertically center the nav row */
  .header .header-menu .menu__nav>li {
    padding: 0;
  }

  .header .header-menu .menu__nav>li>a {
    min-height: 53px;
    display: flex;
    align-items: center;
  }

  .menu__nav li:hover>.subnav,
  .menu__nav li:hover>.mega {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    transition: opacity 0.3s ease 0s, transform 0.3s ease 0s, pointer-events 0s linear 0s !important;
  }

  /* Dropdown default: hidden, closes immediately on mouse leave */
  .header .header-menu .menu .subnav,
  .header .header-menu .menu .mega {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.2s ease 0s, transform 0.2s ease 0s, pointer-events 0s linear 0s !important;
  }

  .header .header-menu .menu li:hover>.subnav,
  .header .header-menu .menu li.-has-mega-menu:hover>.mega,
  .header .header-menu .menu li.tz-dropdown-open>.subnav,
  .header .header-menu .menu li.tz-dropdown-open>.mega {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    transition: opacity 0.3s ease 0s, transform 0.3s ease 0s, pointer-events 0s linear 0s !important;
  }

  /* Invisible bridge area above dropdown to prevent gap hover-out */
  .header .header-menu .menu .subnav::after,
  .header .header-menu .menu .mega::after {
    content: "";
    position: absolute;
    top: -25px;
    left: 0;
    width: 100%;
    height: 25px;
    background: transparent;
  }
}

/* === INDEX PAGE: PHONE PILL (shared) === */
.tz_call_pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  padding: 8px 25px 8px 8px;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

/* === INDEX PAGE: DESKTOP PHONE PILL SHINY (min-width: 1200px) === */
@media (min-width: 1200px) {
  .tz_call_pill::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shiny-glint 3s infinite;
  }
}

@keyframes shiny-glint {
  0% {
    left: -150%;
  }

  50% {
    left: 150%;
  }

  100% {
    left: 150%;
  }
}

.tz_call_pill:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

.tz_call_icon_circle {
  width: 38px;
  height: 38px;
  background: #5fa32e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 15px;
  box-shadow: 0 4px 12px rgba(95, 163, 46, 0.3);
}

.tz_call_number {
  color: white;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* === INDEX PAGE: MOBILE PHONE PILL (max-width: 575px) === */
@media (max-width: 575px) {
  .tz_call_pill {
    padding: 6px 18px 6px 6px;
  }

  .tz_call_icon_circle {
    width: 32px;
    height: 32px;
    margin-right: 10px;
  }

  .tz_call_number {
    font-size: 14px;
  }
}

/* === INDEX PAGE: DESKTOP UTILITIES (min-width: 1200px) === */
@media (min-width: 1200px) {
  .tz-mobile-only {
    display: none !important;
  }
}

/* Header Vertical Alignment Fix */
.header .menu__nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.header .menu__nav>li {
  display: flex;
  align-items: center;
}

.header .menu__nav>li>a {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
}

/* === INDEX PAGE: DESKTOP HEADER LAYOUT (min-width: 1200px) === */
@media (min-width: 1200px) {
  .header-menu {
    display: flex;
    align-items: center;
  }
}

/* === INDEX PAGE: DESKTOP UTILITIES 2 (min-width: 1200px) === */
@media (min-width: 1200px) {
  .tz-mobile-only {
    display: none !important;
  }

  .custom-search-box {
    width: 300px !important;
  }
}

/* === INDEX PAGE: DESKTOP LIQUID GLASS SEARCH (min-width: 1200px) === */
@media (min-width: 1200px) {
  .index-page-load .desktop-search .custom-search-container {
    position: relative;
  }

  .index-page-load .desktop-search .custom-search-box {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 999px;
    padding: 12px 16px;
    width: 340px !important;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08));
    box-shadow: 0 12px 30px rgba(5, 15, 54, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
  }

  .index-page-load .desktop-search .custom-search-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.02) 45%, rgba(247, 200, 0, 0.12));
    pointer-events: none;
  }

  .index-page-load .desktop-search .custom-search-box:focus-within {
    border-color: rgba(247, 200, 0, 0.62);
    box-shadow: 0 16px 34px rgba(5, 15, 54, 0.3), 0 0 0 3px rgba(247, 200, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
  }

  .index-page-load .desktop-search .custom-search-box i {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.95) !important;
  }

  .index-page-load .desktop-search .custom-search-input {
    position: relative;
    z-index: 1;
    width: 100% !important;
    color: #ffffff !important;
    font-weight: 500;
    letter-spacing: 0.2px;
  }

  .index-page-load .desktop-search .custom-search-input::placeholder {
    color: rgba(255, 255, 255, 0.84) !important;
  }
}

.custom-flex-container {
  display: flex;
  flex-wrap: wrap;
}

.custom-video-container {
  flex: 0 0 60%;
  max-width: 60%;
}

.custom-form-container {
  flex: 0 0 40%;
  max-width: 40%;
  position: relative;
  z-index: 20;
}

@media (max-width: 1199.98px) {

  .custom-video-container,
  .custom-form-container {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 767.98px) {
  .custom-form-container {
    margin-left: 20px !important;
  }

  .home-hero-section {
    min-height: 420px;
  }

  .home-hero-section .masthead__bg,
  .home-hero-section .masthead__bg img {
    height: 100%;
  }

  .home-hero-section .masthead__bg img {
    object-fit: cover;
    object-position: center top;
  }

  .home-hero-section .container {
    padding-top: 32px;
    padding-bottom: 38px;
  }

  .home-hero-subtitle {
    margin-top: 16px !important;
    font-size: 19px;
    line-height: 1.45;
    font-weight: 300;
    max-width: 290px;
    margin-left: auto;
    margin-right: auto;
  }

  .home-story-title {
    text-align: center;
    font-size: 24px !important;
    line-height: 1.2;
  }

  .home-story-title-line1 {
    display: block;
    white-space: nowrap;
  }

  .home-story-title-line2 {
    display: block;
    margin-top: 4px;
  }
}

/* Add to your existing styles */
.video-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.custom-form-container .select {
  position: relative;
  z-index: 40;
}

.custom-form-container .select__dropdown {
  z-index: 200;
}

.ratio-16\:9 {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

@media (max-width: 768px) {
  .video-wrapper {
    max-width: 100%;
    margin: 0 15px;
  }
}

.tz-video-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tz-video-card:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.tz-video-thumb {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.tz-video-overlay {
  position: absolute;
  inset: 0;
  background: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 12px;
  transition: background 0.3s ease;
}

.tz-video-card:hover .tz-video-overlay {
  background: none;
}

.tz-play-btn {
  width: 44px;
  height: 44px;
  background: rgba(255, 0, 0, 0.85);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tz-video-card:hover .tz-play-btn {
  background: #cc0000;
  transform: scale(1.15);
}

.tz-video-iframe {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced Modal */
.tz-video-modal {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.85));
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: all 0.3s ease;
}

.tz-video-modal.is-active {
  display: flex;
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.tz-modal-content {
  width: 100%;
  max-width: 1000px;
  position: relative;
  aspect-ratio: 16/9;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tz-video-modal.is-active .tz-modal-content {
  transform: scale(1);
}

.tz-modal-content.is-short {
  max-width: 420px;
  aspect-ratio: 9/16;
}

/* Premium Close Button */
.tz-modal-close {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 45px;
  height: 45px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 10001;
  color: #333;
  font-size: 24px;
  font-weight: 300;
}

.tz-modal-close:hover {
  background: #5fa42e;
  color: white;
  transform: rotate(90deg) scale(1.1);
}

@media (max-width: 768px) {
  .tz-video-thumb {
    height: 200px;
  }

  .tz-modal-content {
    aspect-ratio: 16/9;
  }

  .tz-modal-content.is-short {
    width: 90%;
  }
}

.custom-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  background: #f1e5d6;
  color: rgb(241, 139, 15);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 50;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(255, 140, 0, 0.3);
}

.custom-badge .badge-icon {
  margin-right: 6px;
  font-size: 14px;
}

.custom-badge .badge-text {
  line-height: 1;
}

/* Dynamic Placeholder Animation */
.search-rotator-host {
  position: relative;
}

.search-rotator-input {
  position: relative;
  z-index: 2;
}

.search-rotator-text {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 0.2s ease;
  z-index: 1;
}

.search-rotator-text.is-hidden {
  opacity: 0;
}

.search-rotator-host:focus-within .search-rotator-text {
  display: none !important;
}

.search-rotator-text.is-enter {
  animation: searchWordSlideIn 0.24s ease forwards;
}

.search-rotator-text.is-exit {
  animation: searchWordSlideOut 0.38s ease forwards;
}

@keyframes searchWordSlideIn {
  from {
    opacity: 0;
    transform: translate(-10px, -50%);
  }

  to {
    opacity: 0.9;
    transform: translate(0, -50%);
  }
}

@keyframes searchWordSlideOut {
  from {
    opacity: 0.9;
    transform: translate(0, -50%);
  }

  to {
    opacity: 0;
    transform: translate(-14px, -50%);
  }
}

/* =========================================
   LIQUID GLASSMORPHISM STYLES (INDEX REDESIGN)
   ========================================= */

.liquid-bg-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #050f36 0%, #15337b 50%, #030822 100%);
  color: #ffffff;
}

.liquid-bg-section::before,
.liquid-bg-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.6;
  animation: liquid-blob 20s infinite alternate ease-in-out;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.liquid-bg-section::before {
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(53, 84, 209, 0.7) 0%, rgba(53, 84, 209, 0) 70%);
  top: -20vw;
  left: -10vw;
}

.liquid-bg-section::after {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(247, 200, 0, 0.3) 0%, rgba(247, 200, 0, 0) 70%);
  bottom: -10vw;
  right: -10vw;
  animation-delay: -10s;
}

@keyframes liquid-blob {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(5%, 10%) scale(1.1);
  }

  66% {
    transform: translate(-5%, 5%) scale(0.9);
  }

  100% {
    transform: translate(-10%, -10%) scale(1.05);
  }
}

.liquid-glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
}

.liquid-glass-card .form-input input,
.liquid-glass-card .modern-input {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  backdrop-filter: blur(10px);
}

.liquid-glass-card .form-input input:focus,
.liquid-glass-card .modern-input:focus {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(247, 200, 0, 0.6) !important;
  box-shadow: 0 0 15px rgba(247, 200, 0, 0.2) !important;
}

.liquid-glass-card .form-input label {
  color: rgba(255, 255, 255, 0.7) !important;
}

.liquid-glass-card .radio__mark {
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.liquid-glass-card .radio__icon {
  background-color: #f7c800 !important;
}

.liquid-glass-card .text-dark-1,
.liquid-glass-card .text-light-1,
.liquid-glass-card p,
.liquid-glass-card h2,
.liquid-glass-card .radio+div {
  color: #ffffff !important;
}

.liquid-glass-card h2 {
  background: linear-gradient(135deg, #ffffff 0%, #dcdcdc 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.liquid-glass-card .js-services-dropdown {
  background: rgba(10, 26, 90, 0.95) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.liquid-glass-card .services-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

.liquid-glass-card .services-dropdown-item label {
  color: #ffffff !important;
}

/* Update hero specific text */
.liquid-hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #ffffff, #c5d6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.liquid-hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
}

.liquid-hero-container {
  padding: 120px 0 160px 0;
  position: relative;
  z-index: 10;
}

/* Force center align all section headers and subheaders on mobile */
@media (max-width: 767.98px) {
  .sectionTitle,
  .sectionTitle__title,
  .sectionTitle__text,
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 0.2s ease;
  z-index: 1;
}

.search-rotator-text.is-hidden {
  opacity: 0;
}

.search-rotator-host:focus-within .search-rotator-text {
  display: none !important;
}

.search-rotator-text.is-enter {
  animation: searchWordSlideIn 0.24s ease forwards;
}

.search-rotator-text.is-exit {
  animation: searchWordSlideOut 0.38s ease forwards;
}

@keyframes searchWordSlideIn {
  from {
    opacity: 0;
    transform: translate(-10px, -50%);
  }

  to {
    opacity: 0.9;
    transform: translate(0, -50%);
  }
}

@keyframes searchWordSlideOut {
  from {
    opacity: 0.9;
    transform: translate(0, -50%);
  }

  to {
    opacity: 0;
    transform: translate(-14px, -50%);
  }
}

/* =========================================
   LIQUID GLASSMORPHISM STYLES (INDEX REDESIGN)
   ========================================= */

.liquid-bg-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #050f36 0%, #15337b 50%, #030822 100%);
  color: #ffffff;
}

.liquid-bg-section::before,
.liquid-bg-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.6;
  animation: liquid-blob 20s infinite alternate ease-in-out;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.liquid-bg-section::before {
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(53, 84, 209, 0.7) 0%, rgba(53, 84, 209, 0) 70%);
  top: -20vw;
  left: -10vw;
}

.liquid-bg-section::after {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(247, 200, 0, 0.3) 0%, rgba(247, 200, 0, 0) 70%);
  bottom: -10vw;
  right: -10vw;
  animation-delay: -10s;
}

@keyframes liquid-blob {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(5%, 10%) scale(1.1);
  }

  66% {
    transform: translate(-5%, 5%) scale(0.9);
  }

  100% {
    transform: translate(-10%, -10%) scale(1.05);
  }
}

.liquid-glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
}

.liquid-glass-card .form-input input,
.liquid-glass-card .modern-input {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  backdrop-filter: blur(10px);
}

.liquid-glass-card .form-input input:focus,
.liquid-glass-card .modern-input:focus {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(247, 200, 0, 0.6) !important;
  box-shadow: 0 0 15px rgba(247, 200, 0, 0.2) !important;
}

.liquid-glass-card .form-input label {
  color: rgba(255, 255, 255, 0.7) !important;
}

.liquid-glass-card .radio__mark {
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.liquid-glass-card .radio__icon {
  background-color: #f7c800 !important;
}

.liquid-glass-card .text-dark-1,
.liquid-glass-card .text-light-1,
.liquid-glass-card p,
.liquid-glass-card h2,
.liquid-glass-card .radio+div {
  color: #ffffff !important;
}

.liquid-glass-card h2 {
  background: linear-gradient(135deg, #ffffff 0%, #dcdcdc 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.liquid-glass-card .js-services-dropdown {
  background: rgba(10, 26, 90, 0.95) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.liquid-glass-card .services-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

.liquid-glass-card .services-dropdown-item label {
  color: #ffffff !important;
}

/* Update hero specific text */
.liquid-hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #ffffff, #c5d6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.liquid-hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
}

.liquid-hero-container {
  padding: 120px 0 160px 0;
  position: relative;
  z-index: 10;
}

/* Force center align all section headers and subheaders on mobile */
@media (max-width: 767.98px) {

  .sectionTitle,
  .sectionTitle__title,
  .sectionTitle__text,
  .sectionTitle__title *,
  .sectionTitle__text * {
    text-align: center !important;
  }

  /* Additional catch-all for any other heading blocks on index mobile */
  .home-story-title,
  .home-story-title-line1,
  .home-story-title-line2 {
    text-align: center !important;
  }
}

/* Force uniform even spacing across all sections to fix irregular gaps */
main>section:not(.home-hero-section):not(.masthead) {
  padding-top: 70px !important;
  padding-bottom: 70px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

@media (max-width: 991px) {
  main>section:not(.home-hero-section):not(.masthead) {
    padding-top: 45px !important;
    padding-bottom: 45px !important;
  }
}

/* Center align tour card content on mobile */
@media (max-width: 767.98px) {

  .tourCard__content,
  .tourCard__title,
  .tourCard__content p,
  .tourCard__content div {
    text-align: center !important;
  }

  .tourCard__content .d-flex.items-center {
    justify-content: center !important;
  }

  .tourCard__content .row {
    justify-content: center !important;
  }
}

/* ========================================
   TRAVELZIA CIRCLE SECTION - REDESIGNED
   ======================================== */
.tz-circle-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

/* Background image as <img> tag — works with parent overflow:hidden */
.tz-circle-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* Dark overlay for text readability */
.tz-circle-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.50) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Travelzia Circle logo */
.tz-circle-logo {
  display: block;
  max-width: 160px;
  margin: 0 auto 20px;
  filter: drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.4));
}

/* Main heading */
.tz-circle-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Sub-text */
.tz-circle-subtext {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.6;
  max-width: 600px;
  margin: 15px auto 30px;
}

/* CTA button */
.tz-circle-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  height: 60px;
  background: #ffffff;
  color: #0d2857 !important;
  font-weight: 600;
  font-size: 15px;
  border-radius: 100px;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.tz-circle-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  background: #f0f0f0;
}

/* Tablet responsive */
@media (max-width: 991.98px) {
  .tz-circle-section {
    padding: 70px 0;
  }

  .tz-circle-heading {
    font-size: 30px;
  }

  .tz-circle-subtext {
    font-size: 16px;
  }

  .tz-circle-logo {
    max-width: 130px;
  }
}

/* Mobile responsive */
@media (max-width: 575.98px) {
  .tz-circle-section {
    padding: 50px 0;
  }

  .tz-circle-heading {
    font-size: 24px;
  }

  .tz-circle-subtext {
    font-size: 15px;
    margin: 10px auto 24px;
  }

  .tz-circle-logo {
    max-width: 110px;
    margin-bottom: 16px;
  }

  .tz-circle-cta {
    padding: 12px 30px;
    height: 50px;
    font-size: 14px;
  }

  .tz-circle-bg-img {
    object-position: 65% center;
  }
}

/* ========================================
   MEDIA RECOGNITION - MODERN MARQUEE
   ======================================== */
.mr-section {
  background: transparent;
  overflow: hidden;
  padding: 60px 0;
}

.mr-subtitle {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #3554d1;
  margin-bottom: 10px;
}

.mr-title {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.mr-desc {
  font-size: 16px;
  color: #6b7280;
  max-width: 500px;
  margin: 0 auto 40px;
}

/* Marquee wrapper */
.mr-marquee-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 30px 0;
}

/* Fade edges - use transparent to white-ish but since background is complex, let's remove solid color fades */
.mr-marquee-wrap::before,
.mr-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.mr-marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
}

.mr-marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
}

/* Scrolling track */
.mr-marquee-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: mr-scroll 30s linear infinite;
}

.mr-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes mr-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Each logo card */
.mr-logo-card {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 100px;
  background: transparent;
  transition: all 0.3s ease;
  text-decoration: none;
}

.mr-logo-card:hover {
  transform: scale(1.1);
}

.mr-logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: scale(2.5);
  /* Zoom in the text of the logos (increase this number to make it bigger) */
}

/* Tablet */
@media (max-width: 991.98px) {
  .mr-title {
    font-size: 26px;
  }

  .mr-marquee-track {
    gap: 50px;
  }

  .mr-logo-card {
    width: 200px;
    height: 80px;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  .mr-title {
    font-size: 22px;
  }

  .mr-desc {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .mr-marquee-track {
    gap: 40px;
    animation: mr-scroll 15s linear infinite; /* Faster scroll for mobile */
  }

  .mr-logo-card {
    width: 150px;
    height: 60px;
  }

  .mr-logo-card img {
    transform: scale(3.0); /* Even bigger text for mobile */
  }

  .mr-marquee-wrap::before,
  .mr-marquee-wrap::after {
    width: 50px;
  }

  /* Universal Subhead fixes for mobile */
  .sectionTitle {
    text-align: center !important;
  }
  .sectionTitle__title {
    margin-bottom: 4px !important;
    text-align: center !important;
  }
  .sectionTitle__text {
    margin-top: 0 !important;
    text-align: center !important;
    line-height: 1.4 !important;
  }
  
  /* Fix off-center issue caused by nowrap on small screens */
  .home-story-title-line1 {
    white-space: nowrap !important; 
    font-size: 24px !important;
  }
}