/* ========================================================
   CITY LINE TOURS AND TRAVELS - BRAND DESIGN SYSTEM
   Brand Colors: Primary Blue #145DA0 | Deep Navy #0B2545
   Typography: Georgia Bold (Headings) | Inter (Body & UI)
   ======================================================== */

:root {
  --deep-navy: #102A43;        /* Main headings and dark sections */
  --primary-blue: #145DA0;     /* Primary brand colour (Royal Blue) */
  --royal-blue: #145DA0;
  --elegant-blue: #2563A6;     /* Buttons and interactive elements */
  --soft-sky-blue: #EAF3FB;    /* Background highlights */
  --light-blue: #EAF3FB;
  --ice-blue: #F4F8FC;         /* Alternate sections */
  --off-white: #F4F8FC;
  --white: #FFFFFF;            /* Main backgrounds */
  --slate-text: #526579;       /* Secondary text */
  --muted-text: #526579;
  --dark-text: #172B4D;        /* Body text */
  --border-color: #DCE6EF;     /* Borders and separators */
  --success: #16A34A;
  --error: #DC2626;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--dark-text);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}

::selection {
  background-color: var(--soft-sky-blue);
  color: var(--deep-navy);
}

/* Georgia Serif Headings - Crisp Editorial Typography */
.font-georgia,
h1.font-serif,
h2.font-serif,
h3.font-serif,
.heading-georgia {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1.font-serif {
  line-height: 1.15;
}

h2.font-serif {
  line-height: 1.25;
}

h3.font-serif {
  line-height: 1.35;
}

/* Color utility overrides */
.bg-deep-navy { background-color: var(--deep-navy); }
.text-deep-navy { color: var(--deep-navy); }
.bg-primary-blue { background-color: var(--primary-blue); }
.text-primary-blue { color: var(--primary-blue); }
.border-primary-blue { border-color: var(--primary-blue); }
.bg-light-blue { background-color: var(--light-blue); }
.text-sky-blue { color: var(--sky-blue); }
.bg-off-white { background-color: var(--off-white); }
.border-brand { border-color: var(--border-color); }
.text-muted { color: var(--muted-text); }

/* Consistent Button Component System (Standardized 3-Level Luxury Hierarchy) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--royal-blue);
  color: #ffffff;
  font-weight: 600;
  border-radius: 0.5625rem;
  border: 1px solid transparent;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  transition: background-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 1px 3px rgba(16, 42, 67, 0.08);
  will-change: transform;
}
.btn-primary:hover {
  background-color: #0f4a82;
  transform: translate3d(0, -1.5px, 0);
  box-shadow: 0 4px 14px rgba(20, 93, 160, 0.22);
}
.btn-primary:active {
  transform: scale(0.985);
  box-shadow: 0 1px 2px rgba(16, 42, 67, 0.08);
}
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-outline:focus-visible {
  outline: 2px solid var(--royal-blue);
  outline-offset: 2px;
}
.btn-primary:disabled,
.btn-secondary:disabled,
.btn-outline:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* Secondary Button: White background with blue border */
.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #ffffff;
  color: var(--royal-blue);
  border: 1.5px solid var(--royal-blue);
  font-weight: 600;
  border-radius: 0.5625rem;
  padding: 0.5625rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  transition: background-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
              color 220ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 1px 2px rgba(16, 42, 67, 0.04);
  will-change: transform;
}
.btn-secondary:hover,
.btn-outline:hover {
  background-color: var(--soft-sky-blue);
  border-color: var(--royal-blue);
  color: var(--deep-navy);
  transform: translate3d(0, -1.5px, 0);
  box-shadow: 0 3px 8px rgba(16, 42, 67, 0.06);
}
.btn-secondary:active,
.btn-outline:active {
  transform: scale(0.985);
}

/* Tertiary Button / Text Link */
.btn-tertiary,
.link-tertiary {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: transparent;
  color: var(--royal-blue);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0;
  border: none;
  transition: color 180ms ease, transform 180ms ease;
}
.btn-tertiary:hover,
.link-tertiary:hover {
  color: var(--deep-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Card Hover Elevation - Subtle & Refined (Hospitality Standard: 14-18px Radius, Soft Shadow) */
.card-hover {
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(16, 42, 67, 0.05);
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1), 
              box-shadow 400ms cubic-bezier(0.22, 1, 0.36, 1), 
              border-color 300ms ease;
  will-change: transform, box-shadow;
}
.card-hover:hover {
  transform: translate3d(0, -4px, 0);
  box-shadow: 0 14px 28px -6px rgba(16, 42, 67, 0.08);
  border-color: #cbd5e1;
}

/* Image zoom inside cards - Constrained to 1.00 - 1.04 range for premium feel */
.img-zoom-container {
  overflow: hidden;
}
.img-zoom-container img {
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  transform: translate3d(0, 0, 0);
  object-fit: cover;
  object-position: center;
}
.card-hover:hover .img-zoom-container img {
  transform: scale(1.035);
}

/* Destination Cards - Premium Motion */
.dest-card {
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(16, 42, 67, 0.05);
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1), 
              box-shadow 400ms cubic-bezier(0.22, 1, 0.36, 1), 
              border-color 300ms ease;
  will-change: transform, box-shadow;
}
.dest-card:hover {
  transform: translate3d(0, -4px, 0);
  box-shadow: 0 14px 28px -6px rgba(16, 42, 67, 0.08);
  border-color: #cbd5e1;
}
.dest-card img {
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  transform: translate3d(0, 0, 0);
  object-fit: cover;
  object-position: center;
}
.dest-card:hover img {
  transform: scale(1.035);
}

/* Experiences Page Cards - Premium Motion */
.exp-card {
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(16, 42, 67, 0.05);
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1), 
              box-shadow 400ms cubic-bezier(0.22, 1, 0.36, 1), 
              border-color 300ms ease;
  will-change: transform, box-shadow;
}
.exp-card:hover {
  transform: translate3d(0, -4px, 0);
  box-shadow: 0 14px 28px -6px rgba(16, 42, 67, 0.08);
  border-color: #cbd5e1;
}
.exp-card img {
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  transform: translate3d(0, 0, 0);
  object-fit: cover;
  object-position: center;
}
}
.exp-card:hover img {
  transform: scale(1.035);
}

/* Arrow transition on hover */
.arrow-hover {
  transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.card-hover:hover .arrow-hover,
.dest-card:hover .arrow-hover,
.exp-card:hover .arrow-hover,
a:hover .arrow-hover,
button:hover .arrow-hover {
  transform: translate3d(4px, 0, 0);
}

/* Cinematic Slow Zoom on Hero Image */
@keyframes heroZoom {
  0% { transform: scale(1); }
  50% { transform: scale(1.045); }
  100% { transform: scale(1); }
}
.hero-zoom {
  animation: heroZoom 24s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate;
  will-change: transform;
}

/* Light Blue Icon Containers */
.icon-container-light {
  width: 52px;
  height: 52px;
  border-radius: 9999px;
  background-color: var(--light-blue);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 300ms cubic-bezier(0.22, 1, 0.36, 1),
              color 300ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.card-hover:hover .icon-container-light {
  background-color: var(--primary-blue);
  color: #ffffff;
  transform: scale(1.04);
}

/* Soft Float Micro-animation */
@keyframes softFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -5px, 0); }
}
.animate-float {
  animation: softFloat 5s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  will-change: transform;
}

/* Floating WhatsApp button removed as requested */
.whatsapp-float {
  display: none !important;
}

/* ========================================================
   SCROLL REVEAL ANIMATIONS (IntersectionObserver - 600-750ms)
   ======================================================== */
.reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 650ms cubic-bezier(0.22, 1, 0.36, 1), transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-fade {
  opacity: 0;
  transition: opacity 650ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity;
}
.reveal-fade.revealed {
  opacity: 1;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.97) translate3d(0, 10px, 0);
  transition: opacity 650ms cubic-bezier(0.22, 1, 0.36, 1), transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1) translate3d(0, 0, 0);
}

/* Stagger delay children (80ms natural rhythm) */
.reveal-stagger > * {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1), transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0.04s; opacity: 1; transform: translate3d(0, 0, 0); }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.12s; opacity: 1; transform: translate3d(0, 0, 0); }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.20s; opacity: 1; transform: translate3d(0, 0, 0); }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.28s; opacity: 1; transform: translate3d(0, 0, 0); }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.36s; opacity: 1; transform: translate3d(0, 0, 0); }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.44s; opacity: 1; transform: translate3d(0, 0, 0); }
.reveal-stagger.revealed > *:nth-child(7) { transition-delay: 0.52s; opacity: 1; transform: translate3d(0, 0, 0); }
.reveal-stagger.revealed > *:nth-child(8) { transition-delay: 0.60s; opacity: 1; transform: translate3d(0, 0, 0); }

/* Hero Staggered Entrance on Load (Premium Hospitality Motion: 500-650ms) */
@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.hero-badge-enter {
  animation: heroFadeUp 550ms cubic-bezier(0.22, 1, 0.36, 1) 60ms both;
  will-change: opacity, transform;
}
.hero-title-enter {
  animation: heroFadeUp 620ms cubic-bezier(0.22, 1, 0.36, 1) 140ms both;
  will-change: opacity, transform;
}
.hero-text-enter {
  animation: heroFadeUp 600ms cubic-bezier(0.22, 1, 0.36, 1) 220ms both;
  will-change: opacity, transform;
}
.hero-cta-enter {
  animation: heroFadeUp 550ms cubic-bezier(0.22, 1, 0.36, 1) 300ms both;
  will-change: opacity, transform;
}

/* ==========================================================================
   TOP LOADING / NAVIGATION PROGRESS BAR (FAST, ELEGANT, HIGH-Z)
   ========================================================================== */
.top-loading-bar,
.navigation-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
  z-index: 999999; /* Higher than sticky headers, modals, and drawers */
  opacity: 0;
  transition: opacity 250ms ease-out;
  will-change: opacity;
}

.top-loading-bar.is-active,
.navigation-progress.is-loading,
.navigation-progress.is-complete {
  opacity: 1;
}

.top-loading-bar-indicator {
  position: relative;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0% 50%;
  background: linear-gradient(90deg, #145DA0 0%, #2563EB 60%, #60A5FA 100%);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.75), 0 0 4px #60A5FA;
  transition: transform 200ms cubic-bezier(0.1, 0.85, 0.25, 1);
  will-change: transform;
}

.top-loading-bar-glow {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 120px;
  box-shadow: 0 0 12px 2px #60A5FA, 0 0 6px 1px #2563EB;
  border-radius: 50%;
  opacity: 0.9;
  transform: rotate(3deg) translate(0px, -2px);
  pointer-events: none;
}

/* Page Transition - Lightweight & Immediate (250-300ms) */
@keyframes pageFadeIn {
  0% {
    opacity: 0.94;
    transform: translate3d(0, 4px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
body > section:first-of-type,
#heroSection {
  animation: pageFadeIn 280ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-slide {
    transition: none !important;
    opacity: 1 !important;
  }
  .hero-slide:not(.active) {
    display: none !important;
  }
  .reveal,
  .reveal-scale,
  .reveal-stagger > * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Mobile Animation & Visual Polish Optimization (360px - 640px) */
@media (max-width: 640px) {
  .reveal {
    transform: translate3d(0, 12px, 0);
    transition-duration: 500ms;
  }
  .reveal-stagger > * {
    transform: translate3d(0, 10px, 0);
    transition-duration: 450ms;
  }
  .reveal-stagger.revealed > *:nth-child(n) {
    transition-delay: 0.03s !important;
  }
  .card-hover:hover,
  .dest-card:hover,
  .exp-card:hover {
    transform: none !important;
  }
  /* Form input sizing to prevent iOS Safari auto-zoom */
  .form-input {
    font-size: 16px !important;
  }
  /* Buttons touch target accessibility */
  .btn-primary,
  .btn-secondary,
  .btn-outline {
    min-height: 42px;
  }
  /* Mobile typography balance */
  h1.font-serif {
    font-size: clamp(1.85rem, 7vw, 2.75rem);
    line-height: 1.2;
  }
  h2.font-serif {
    font-size: clamp(1.5rem, 5.5vw, 2.15rem);
    line-height: 1.28;
  }
}

/* Sticky Header transitions */
#main-header {
  transition: background-color 300ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 300ms cubic-bezier(0.22, 1, 0.36, 1),
              backdrop-filter 300ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
#main-header.scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px -2px rgba(11, 37, 69, 0.08);
  border-color: rgba(226, 232, 240, 0.8);
}

/* Mobile Drawer transitions */
#mobileDrawer {
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1) !important;
  will-change: transform;
}
#mobileDrawerBackdrop {
  transition: opacity 300ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* Accordion FAQ */
.faq-item .faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 380ms cubic-bezier(0.22, 1, 0.36, 1), opacity 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
}
.faq-item .faq-icon {
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Modal styling */
.modal-backdrop {
  background-color: rgba(11, 37, 69, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 280ms cubic-bezier(0.22, 1, 0.36, 1), visibility 280ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity;
}
.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  transform: translate3d(0, 10px, 0) scale(0.97);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 320ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
.modal-backdrop.active .modal-content {
  transform: translate3d(0, 0, 0) scale(1);
}

/* Form input styling */
.form-input {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 15px;
  background-color: #ffffff;
  color: var(--dark-text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(20, 93, 160, 0.15);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ========================================================
   1. KEN-BURNS MULTI-SCENE HERO SLIDER
   ======================================================== */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
  transform: translate3d(0, 0, 0);
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}
.hero-slide.active .kenburns-1 {
  animation: kenBurns1 16s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate;
}
.hero-slide.active .kenburns-2 {
  animation: kenBurns2 16s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate;
}
.hero-slide.active .kenburns-3 {
  animation: kenBurns3 16s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate;
}
.hero-slide.active .kenburns-4 {
  animation: kenBurns4 16s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate;
}

@keyframes kenBurns1 {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  100% { transform: scale(1.045) translate3d(-0.6%, -0.8%, 0); }
}
@keyframes kenBurns2 {
  0% { transform: scale(1.04) translate3d(0.6%, -0.5%, 0); }
  100% { transform: scale(1) translate3d(0, 0, 0); }
}
@keyframes kenBurns3 {
  0% { transform: scale(1) translate3d(-0.5%, 0, 0); }
  100% { transform: scale(1.045) translate3d(0.6%, -0.6%, 0); }
}
@keyframes kenBurns4 {
  0% { transform: scale(1.04) translate3d(-0.6%, 0.5%, 0); }
  100% { transform: scale(1) translate3d(0.3%, -0.3%, 0); }
}

/* Hero Slide Progress Indicator */
.hero-indicator-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  overflow: hidden;
}
.hero-indicator-fill {
  width: 0%;
  height: 100%;
  background: #60A5FA;
  transition: width 0.1s linear;
}

/* ========================================================
   2. 3D TILT & SPECULAR SHEEN FOR CARDS
   ======================================================== */
.card-tilt {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease;
  position: relative;
  will-change: transform;
}
.card-sheen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.16) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 20;
}
.card-tilt:hover .card-sheen {
  opacity: 1;
}

/* ========================================================
   3. ANIMATED ITINERARY TIMELINE (Package Detail Page)
   ======================================================== */
.timeline-track {
  position: absolute;
  left: 12px;
  top: 14px;
  bottom: 0;
  width: 2px;
  background: #E2E8F0;
}
.timeline-progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #145DA0 0%, #2563EB 100%);
  transition: height 0.4s ease-out;
}
.timeline-dot {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.timeline-node.active .timeline-dot {
  background-color: #145DA0;
  color: #ffffff;
  transform: scale(1.15);
  box-shadow: 0 0 0 6px rgba(20, 93, 160, 0.2), 0 0 16px rgba(37, 99, 235, 0.4);
}
.timeline-node.active .timeline-box {
  border-color: #93C5FD;
  box-shadow: 0 8px 24px -6px rgba(20, 93, 160, 0.12);
}

/* ========================================================
   4. FLOATING GLASSMORPHISM QUICK-BAR
   ======================================================== */
#floatingQuickBar.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

/* ========================================================
   5. REAL-TIME SRINAGAR WEATHER CANVAS & TOGGLE PILL
   ======================================================== */
#snowCanvas {
  pointer-events: none;
  mix-blend-mode: screen;
}
.snow-toggle-btn,
.hero-weather-pill {
  background: rgba(11, 37, 69, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.snow-toggle-btn:hover,
.hero-weather-pill:hover {
  background: rgba(20, 93, 160, 0.8);
  border-color: #60A5FA;
}
#heroWeatherMenu {
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

/* ========================================================
   6. GLOBAL PRINT & PDF GENERATION STYLING
   ======================================================== */
@media print {
  header, footer, .whatsapp-float, #floatingQuickBar, #scrollProgressBar,
  #enquiryModal, #snowCanvas, .snow-toggle-btn, .ajax-enquiry-form,
  .hero-indicator-bar, .hero-scene-dot, #confettiCanvas {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #0f172a !important;
  }

  .shadow-md, .shadow-lg, .shadow-xl, .shadow-2xl {
    box-shadow: none !important;
  }

  .border {
    border-color: #cbd5e1 !important;
  }
}

/* ========================================================
   7. HIGH-CONVERTING BUTTON SHIMMER WAVE
   ======================================================== */
/* Subtle optional shimmer effect for special accent pills */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}
.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -70%;
  width: 45%;
  height: 220%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
}

/* ========================================================
   8. WEATHER & ALPINE MICRO-ANIMATIONS
   ======================================================== */
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.animate-spin-slow {
  animation: spinSlow 20s linear infinite;
  display: inline-block;
}

@keyframes snowDrift {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-3px) rotate(18deg);
  }
}
.animate-drift {
  animation: snowDrift 3.2s ease-in-out infinite;
  display: inline-block;
}

@keyframes cloudDrift {
  0%, 100% {
    transform: translateX(0px);
  }
  50% {
    transform: translateX(4px);
  }
}
.animate-cloud-drift {
  animation: cloudDrift 4s ease-in-out infinite;
  display: inline-block;
}

/* ========================================================
   9. ROUTE PATHFINDER TRAIL ANIMATION
   ======================================================== */
.route-path-line {
  stroke-dasharray: 8 6;
  animation: pathDashMove 1.4s linear infinite;
}
@keyframes pathDashMove {
  from {
    stroke-dashoffset: 28;
  }
  to {
    stroke-dashoffset: 0;
  }
}
.route-pin-pulse {
  animation: pinPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pinPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.8;
  }
}


/* ========================================================
   11. CONFETTI CANVAS
   ======================================================== */
#confettiCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}

/* ========================================================
   12. CRAFTED & DEVELOPED BY ZTM — SIGNATURE MICRO-ANIMATION
   ======================================================== */
.ztm-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  line-height: 1;
  vertical-align: middle;
}

.ztm-prefix {
  font-size: 0.6875rem; /* 11px */
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #94A3B8; /* Slate 400 */
  display: inline-block;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.ztm-brand {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  cursor: default;
  padding: 0 1px;
}

.ztm-wordmark {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.75rem; /* 12px */
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #DFC17B;
  background: linear-gradient(
    115deg,
    #DFC17B 0%,
    #C5A059 25%,
    #FFF8E1 48%,
    #FFFFFF 52%,
    #DFC17B 70%,
    #B88E3E 100%
  );
  background-size: 260% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 2px;
}

.ztm-letter {
  display: inline-block;
  will-change: transform, opacity;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
}

.ztm-underline {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 1px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.2) 0%, #D4AF37 50%, rgba(212, 175, 55, 0.2) 100%);
  border-radius: 9999px;
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, height 0.3s ease;
}

/* --- STATE: PREPARED FOR VIEWPORT REVEAL --- */
.ztm-credit.ztm-ready .ztm-prefix {
  opacity: 0;
  transform: translateX(-4px);
}

.ztm-credit.ztm-ready .ztm-letter {
  opacity: 0;
  transform: translateY(6px);
}

.ztm-credit.ztm-ready .ztm-underline {
  transform: scaleX(0);
}

/* --- STATE: ANIMATING ON VIEWPORT ENTRY --- */
.ztm-credit.ztm-animate .ztm-letter {
  animation: ztmLetterReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--l-idx, 0) * 0.1s + 0.05s);
}

.ztm-credit.ztm-animate .ztm-underline {
  animation: ztmDrawUnderline 0.55s cubic-bezier(0.25, 1, 0.5, 1) 0.35s forwards;
}

.ztm-credit.ztm-animate .ztm-prefix {
  animation: ztmPrefixFadeIn 0.55s ease-out 0.45s forwards;
}

.ztm-credit.ztm-animate .ztm-wordmark {
  animation: ztmLightSweep 0.85s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

@keyframes ztmLetterReveal {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ztmDrawUnderline {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes ztmPrefixFadeIn {
  0% {
    opacity: 0;
    transform: translateX(-4px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes ztmLightSweep {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0% 0;
  }
}

/* --- STATE: SETTLED / COMPLETED (Static, sharp, performant) --- */
.ztm-credit.ztm-settled .ztm-prefix {
  opacity: 1;
  transform: none;
}

.ztm-credit.ztm-settled .ztm-letter {
  opacity: 1;
  transform: none;
}

.ztm-credit.ztm-settled .ztm-underline {
  transform: scaleX(1);
  opacity: 1;
}

.ztm-credit.ztm-settled .ztm-wordmark {
  background-position: 0% 0;
}

/* --- DESKTOP HOVER INTERACTION --- */
@media (hover: hover) and (pointer: fine) {
  .ztm-brand {
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .ztm-credit:hover .ztm-brand,
  .ztm-brand:hover {
    transform: translateY(-1px) scale(1.05);
  }

  .ztm-credit:hover .ztm-wordmark,
  .ztm-brand:hover .ztm-wordmark {
    filter: drop-shadow(0 0 6px rgba(223, 193, 123, 0.45));
    transition: filter 0.28s ease;
  }

  .ztm-credit:hover .ztm-underline,
  .ztm-brand:hover .ztm-underline {
    height: 1.5px;
    background: linear-gradient(90deg, #D4AF37 0%, #FFF5D0 50%, #D4AF37 100%);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.65);
    transform: scaleX(1.1);
  }
}

/* --- ACCESSIBILITY: REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
  .ztm-prefix,
  .ztm-letter,
  .ztm-underline,
  .ztm-wordmark,
  .ztm-brand {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ========================================================
   KASHMIR INTERACTIVE MAP HIGHWAY ANIMATION
   ======================================================== */
@keyframes dashTravel {
  to {
    stroke-dashoffset: -20;
  }
}

.map-highway-path {
  animation: dashTravel 2s linear infinite;
  transition: stroke 0.3s ease, stroke-width 0.3s ease, opacity 0.3s ease;
}





/* ========================================================
   SECTION: MOUNTAIN CLIMATE & ADVISORY (MOBILE REDESIGN)
   Strictly scoped to mobile screens (< 640px)
   ======================================================== */
@media (max-width: 639.98px) {
  .weather-mobile-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .weather-mobile-header {
    width: 100% !important;
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .weather-mobile-header h2 {
    font-size: 1.125rem !important;
    line-height: 1.35 !important;
    text-align: center !important;
  }

  .weather-mobile-header p {
    text-align: center !important;
    font-size: 0.72rem !important;
    line-height: 1.45 !important;
  }

  .weather-mobile-scroll-container {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 12px !important;
    padding: 4px 4px 10px 4px !important;
    max-height: none !important;
  }

  .weather-mobile-scroll-container .weather-card {
    min-width: 205px !important;
    max-width: 205px !important;
    width: 205px !important;
    flex-shrink: 0 !important;
    scroll-snap-align: start !important;
    padding: 14px !important;
    border-radius: 16px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05) !important;
  }

  .weather-mobile-scroll-container .weather-card .text-2xl {
    font-size: 1.35rem !important;
    line-height: 1.45rem !important;
  }
}

/* ========================================================
   CUSTOMER PHOTO CAROUSEL COMPONENT STYLES
   Desktop & Mobile Smooth Sliding
   ======================================================== */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.traveller-photo-card {
  will-change: transform;
}

@media (min-width: 640px) {
  .traveller-photo-card:hover {
    transform: translateY(-4px);
  }
}

/* ========================================================
   REQUIREMENT 4: MOBILE HEADING & SUBHEADING CENTRE-ALIGNMENT
   Applies across EVERY PAGE of the website strictly on mobile (< 640px)
   Desktop and tablet layouts remain 100% untouched
   ======================================================== */
@media (max-width: 639.98px) {
  /* Main Hero Headings & Subheadings on every page */
  h1,
  .hero-title,
  .page-hero h1,
  .page-hero p,
  .page-title,
  .page-hero-subtitle {
    text-align: center !important;
  }

  /* Section Headings on every page */
  h2,
  .section-title,
  .section-heading {
    text-align: center !important;
  }

  /* Section introductory subtitles & descriptive introductory text */
  section > div > div > p.text-brand-muted,
  section > div > div > p.text-brand-slate,
  section > div > div > p.text-slate-200,
  section > div > div > p.text-slate-300,
  .section-subtitle,
  .section-intro,
  .section-desc,
  .section-header p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Badges and pills accompanying section headings */
  section > div > div > .inline-flex,
  section > div > div > span[class*="uppercase tracking-widest"],
  .section-badge,
  .section-badge-pill {
    margin-left: auto !important;
    margin-right: auto !important;
    display: inline-flex !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Page Hero badge alignment */
  .page-hero span[class*="uppercase tracking-widest"],
  .page-hero .inline-flex {
    margin-left: auto !important;
    margin-right: auto !important;
    display: inline-flex !important;
    justify-content: center !important;
  }

  /* Ensure natural heading text wrap on mobile */
  h1, h2, h3 {
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: manual;
  }
}

/* ========================================================
   SMOOTH BUTTER PERFORMANCE & SCROLLING OPTIMIZATIONS
   Native fluid scrolling, GPU acceleration & zero jank
   ======================================================== */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Clean offset for in-page anchor links */
}

/* Hardware accelerated smooth performance */
.hero-slide,
.card-hover,
.weather-card,
.dest-card {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Accessibility: Respect user reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
