@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Colors - Light Theme (Default) */
  --bg-light: #F3F3F3;
  /* Light Gray */
  --bg-white: #FFFFFF;
  --bg-dark: #002147;
  /* Primary Navy */
  --bg-dark-secondary: #001630;

  --text-dark: #1A1A1A;
  --text-dark-muted: #555555;
  --text-light: #FFFFFF;
  --text-light-muted: #A3B5C6;

  --accent-primary: #4A6B8C;
  /* Premium Steel Blue */
  --accent-hover: #334E68;
  --accent-secondary: #5C7A99;
  --accent-gradient: #4A6B8C;
  /* Fallback to solid for clean look */

  --border-light: rgba(0, 0, 0, 0.08);
  --border-dark: rgba(255, 255, 255, 0.1);

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;

  /* Spacing & Layout */
  --container-width: 1320px;
  --section-padding: 100px 24px;

  /* Effects */
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.15);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   Preloader
   ========================================= */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  background: rgba(7, 21, 21, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.8, 0, 0.2, 1), visibility 0.8s cubic-bezier(0.8, 0, 0.2, 1), transform 0.8s cubic-bezier(0.8, 0, 0.2, 1);
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
}

.preloader-glass {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.preloader-brand {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 4px;
  text-transform: uppercase;
  animation: pulse-brand 2s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
  will-change: transform, opacity;
}

.preloader-line {
  width: 120px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.preloader-line-inner {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 50%;
  background: var(--accent-primary);
  border-radius: 2px;
  animation: sweep-line 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  will-change: transform;
}

@keyframes pulse-brand {
  0% {
    opacity: 0.6;
    transform: scale(0.98);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0);
  }

  100% {
    opacity: 1;
    transform: scale(1.02);
    text-shadow: 0 0 20px rgba(142, 164, 184, 0.5);
  }
}

@keyframes sweep-line {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(250%);
  }
}

@media (max-width: 768px) {
  .preloader-brand {
    font-size: 1.5rem;
  }
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  /* Prevent horizontal scroll without breaking GSAP/Lenis */
  overflow-x: clip;
  max-width: 100vw;
}



/* Theme Classes */
.theme-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.theme-light {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.15;
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

.font-serif {
  font-family: var(--font-heading);
  font-weight: 300;
}

.font-sans {
  font-family: var(--font-body);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.03em;
  font-weight: 300;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  letter-spacing: -0.02em;
  font-weight: 400;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

.subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  max-width: 600px;
}

.theme-dark .subtitle {
  color: var(--text-light-muted);
}

.theme-light .subtitle {
  color: var(--text-dark-muted);
}

.label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1.5rem;
}

.theme-dark .label {
  color: var(--text-light-muted);
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 5px;
}

.theme-light .label {
  color: var(--text-dark-muted);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 5px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

/* Layout */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
}

.section {
  padding: var(--section-padding);
  position: relative;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: #e8294c;
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0 4px 12px rgba(232, 41, 76, 0.15);
  /* Soft, grounded shadow */
  text-shadow: none;
}

.btn-primary:hover {
  background: #c81d3a;
  /* Darker shade of #e8294c */
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 41, 76, 0.25);
}

.btn-large {
  padding: 1.1rem 2.5rem;
}

.btn-outline-light {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  background: #e8294c;
  color: #fff;
  border-color: #e8294c;
  box-shadow: 0 4px 12px rgba(232, 41, 76, 0.2);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text-dark);
  border-color: rgba(0, 0, 0, 0.2);
}

.btn-outline-dark:hover {
  background: #e8294c;
  color: #fff;
  border-color: #e8294c;
  box-shadow: 0 4px 12px rgba(232, 41, 76, 0.2);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 24px;
  z-index: 100;
  color: var(--text-light);
  transition: box-shadow 0.4s ease, padding 0.4s ease;
}

/* Blur lives on a pseudo-element. backdrop-filter on .header itself
   becomes the containing block for the fixed mobile menu and traps it
   inside the header bar. */
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(18, 31, 40, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.header.is-scrolled {
  padding: 1rem 24px;
}

.header.is-scrolled::before {
  opacity: 1;
}

.header-nav {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: space-evenly;
  margin-left: 3rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.nav-links a:not(.btn) {
  position: relative;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  background: transparent;
  transition: all 0.3s ease;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 40px 24px;
  overflow: hidden;
  color: var(--text-light);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-bg.slide-active {
  opacity: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.hero-bg:nth-of-type(1) img {
  filter: brightness(0.7);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(7, 21, 21, 0.9) 0%, rgba(7, 21, 21, 0.2) 60%, transparent 100%);
}

.hero-carousel-contents {
  position: relative;
  min-height: 450px;
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 700px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.6s ease;
  transform: translateY(20px);
}

.hero-content.slide-active {
  position: relative;
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.hero-controls {
  display: flex;
  gap: 12px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: #fff;
  transform: scale(1.3);
}

.hero-content h1 {
  font-family: var(--font-heading);
  margin-bottom: 1.5rem;
}

.hero-content h1 span {
  font-style: italic;
  color: #fff;
}

/* Floating Search Bar */
.search-bar-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  transform: translateY(50%);
  z-index: 10;
  padding: 0 24px;
}

.search-bar {
  background: var(--bg-white);
  border-radius: var(--radius-full);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-glass);
  max-width: 1000px;
  margin: 0 auto;
}

.search-item {
  flex: 1;
  padding: 0 1.5rem;
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.search-item:last-of-type {
  border-right: none;
}

.search-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dark-muted);
  text-transform: uppercase;
}

.search-input {
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  outline: none;
  background: transparent;
  padding: 0.25rem 0;
}

/* Staggered Images (Section 2) */
.staggered-grid {
  position: relative;
  height: 500px;
}

.stagger-img {
  position: absolute;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.img-1 {
  width: 50%;
  height: 60%;
  top: 0;
  left: 0;
  z-index: 2;
}

.img-2 {
  width: 45%;
  height: 50%;
  top: 15%;
  right: 0;
  z-index: 1;
}

.img-3 {
  width: 60%;
  height: 40%;
  bottom: 0;
  right: 10%;
  z-index: 3;
}

.overlay-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* Timeline (Section 3) */
.timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin-top: 4rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 40px;
  right: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 0;
}

.timeline-item {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
  padding: 0 1rem;
}

.timeline-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-light);
}


/* Data Cards */
.data-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.theme-dark .data-card {
  background: var(--bg-dark-secondary);
  border-color: var(--border-dark);
}

.data-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin: 0.5rem 0;
}

/* World Network (Section 9) */
.network-map {
  margin-top: 4rem;
  text-align: center;
  position: relative;
}

.network-nodes {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 2rem;
}

.node-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.node-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Matcher UI */
.matcher-ui {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-glass);
  max-width: 800px;
  margin: 0 auto;
}

.matcher-progress {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: var(--border-light);
  border-radius: 2px;
}

.progress-bar.active {
  background: var(--accent-primary);
}

.matcher-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.matcher-option {
  padding: 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}

.matcher-option:hover {
  border-color: var(--accent-primary);
  background: rgba(15, 90, 80, 0.05);
}

.matcher-back-btn {
  background: none;
  border: none;
  color: var(--text-dark-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.matcher-back-btn:hover {
  color: var(--accent-primary);
}

.form-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  background: #f9f9f9;
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(15, 90, 80, 0.1);
  background: #fff;
}

/* Footer / Forms */
.contact-form {
  max-width: 800px;
  background: rgba(255, 255, 255, 0.03);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.contact-form .form-input {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  color: var(--text-light);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

/* Utilities */
.text-accent {
  color: var(--accent-primary);
}

.text-gold {
  color: var(--accent-primary);
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Premium / Next-Gen Enhancements */
.next-gen-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 15px 35px rgba(15, 90, 80, 0.1);
  border-radius: var(--radius-md);
}

.theme-dark .next-gen-glass {
  background: rgba(7, 21, 21, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-primary) 0%, #083c34 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Bento Grid Layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: minmax(320px, auto) minmax(280px, auto);
  gap: 1.5rem;
}

.bento-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.bento-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(15, 90, 80, 0.12);
}

.bento-image-main {
  grid-column: span 5;
  grid-row: span 2;
  position: relative;
}

.bento-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.bento-image-main:hover img {
  transform: scale(1.05);
}

.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 22, 48, 0.95) 0%, rgba(0, 22, 48, 0.2) 50%, transparent 100%);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.bento-text-main {
  grid-column: span 7;
  grid-row: span 1;
  padding: 3rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
}

.bento-credibility {
  grid-column: span 4;
  grid-row: span 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--accent-primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.bento-credibility::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.bento-stat {
  grid-column: span 3;
  grid-row: span 1;
  position: relative;
}

.bento-stat img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  filter: brightness(0.6) sepia(0.2) hue-rotate(130deg);
}

.bento-stat:hover img {
  transform: scale(1.08);
}


@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .search-bar {
    flex-direction: column;
    gap: 1rem;
    border-radius: var(--radius-md);
  }

  .search-item {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 0;
    width: 100%;
  }

  .search-bar-container {
    position: relative;
    transform: none;
    margin-top: -50px;
  }

  .hero {
    padding-bottom: 100px;
  }

  .timeline {
    flex-direction: column;
    gap: 2rem;
  }

  .timeline::before {
    display: none;
  }

  .timeline-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
  }

  .timeline-number {
    margin: 0;
  }

  .network-nodes {
    flex-wrap: wrap;
    gap: 2rem;
  }
}

/* Horizontal Carousel (Section 4) - Expanding Accordion */
.destinations-carousel {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  width: 100%;
  height: 400px;
}

.dest-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex: 1;
  height: 100%;
  cursor: pointer;
  transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Expand hovered card */
.dest-card:hover {
  flex: 5;
}

/* Expand first card by default when container is NOT hovered */
.destinations-carousel:not(:hover) .dest-card:first-child {
  flex: 5;
}

.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dest-card:hover img,
.destinations-carousel:not(:hover) .dest-card:first-child img {
  transform: scale(1.05);
}

.dest-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  opacity: 0.7;
  transition: opacity 0.5s ease;
}

.dest-card:hover::after,
.destinations-carousel:not(:hover) .dest-card:first-child::after {
  opacity: 1;
}

.dest-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 2rem;
  z-index: 2;
  color: #fff;
  width: 100%;
  white-space: nowrap;
}

.dest-card-content h3 {
  margin: 0;
}

.dest-card-content p,
.dest-card-content a {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
}

.dest-card:hover .dest-card-content p,
.dest-card:hover .dest-card-content a,
.destinations-carousel:not(:hover) .dest-card:first-child .dest-card-content p,
.destinations-carousel:not(:hover) .dest-card:first-child .dest-card-content a {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  max-height: 100px;
}

.dest-main,
.dest-small {
  width: auto;
  /* Override static widths for flex to take over */
}

/* Section 05: Pathways Sticky Stack */
.sticky-stack-container {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  position: relative;
  max-width: var(--container-width);
  margin: 0 auto;
}

.sticky-stack-title {
  width: 40%;
  position: sticky;
  top: 25vh;
}

.sticky-stack-cards {
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 5vh;
  padding-bottom: 10vh;
}

.pathway-card {
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
  /* Top shadow gives sense of stacking */
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.pathway-card.card-dark {
  background: var(--bg-dark);
  color: #fff;
  border-top-color: rgba(255, 255, 255, 0.1);
}

.pathway-card.card-light {
  background: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  border-top-color: #fff;
}

.pathway-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(142, 164, 184, 0.1);
  color: var(--accent-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: transform 0.4s ease, background 0.4s ease;
}

.card-dark .pathway-icon {
  background: rgba(255, 255, 255, 0.1);
}

.pathway-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pathway-content h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.pathway-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  flex-grow: 1;
  opacity: 0.8;
}

.pathway-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: auto;
}

.card-light .pathway-link {
  color: var(--text-dark);
}

.card-dark .pathway-link {
  color: #fff;
}

/* Hover Effects */
.pathway-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.1);
}

.card-dark:hover {
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.4);
}

.pathway-card:hover .pathway-icon {
  transform: scale(1.1);
  background: var(--accent-secondary);
  color: #fff;
}

.pathway-card:hover .pathway-link {
  color: var(--accent-primary);
}

@media (max-width: 992px) {
    .sticky-stack-container {
      flex-direction: column;
      gap: 2rem;
    }
    .sticky-stack-title {
      width: 100%;
      padding-bottom: 2rem;
    }
    .sticky-stack-cards {
      width: 100%;
    }

  .sticky-stack-title {
    padding-bottom: 2rem;
  }

  .sticky-stack-title>div {
    position: static !important;
  }

  .pathway-card {
    position: static !important;
  }
}

/* Section 06: Trust List */
.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.trust-icon {
  color: var(--accent-secondary);
  flex-shrink: 0;
  margin-top: 4px;
}

.trust-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-dark-muted);
}

.trust-text strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* Section 06: Collage Container */
.collage-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 500px;
}

.collage-img {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease;
}

.collage-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.collage-img:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  z-index: 10 !important;
}

.collage-img:hover img {
  transform: scale(1.05);
}

/* Specific Image Positioning */
.img-1 {
  width: 55%;
  height: 60%;
  top: 0;
  left: 0;
  z-index: 2;
}

.img-2 {
  width: 65%;
  height: 50%;
  bottom: 0;
  right: 0;
  z-index: 3;
}

.img-3 {
  width: 45%;
  height: 45%;
  top: 10%;
  right: 5%;
  z-index: 1;
}

@media (max-width: 992px) {
  .collage-container {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .collage-container {
    min-height: 300px;
    margin-top: 3rem;
  }
}

/* Section 07: Global Network Marquee */
.marquee-wrapper {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Gradient fade on edges for smooth entry/exit */
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 15%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-dark), transparent);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-dark), transparent);
}

.marquee {
  width: 100%;
  overflow: hidden;
}

.marquee-content {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scroll 40s linear infinite;
  gap: 4rem;
  padding: 0 2rem;
}

.marquee-reverse .marquee-content {
  animation: scroll-reverse 35s linear infinite;
}

/* Pause animation on hover */
.marquee:hover .marquee-content {
  animation-play-state: paused;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 190px;
  height: 84px;
  padding: 0.75rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.partner-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
}

.partner-logo:hover {
  background: #fff;
  transform: scale(1.05);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.partner-logo svg {
  width: 32px;
  height: 32px;
  opacity: 0.7;
}

.partner-logo:hover svg {
  color: var(--accent-secondary);
  opacity: 1;
}

.testimonial-rating {
  margin-bottom: 1rem;
  color: var(--accent-secondary);
  font-size: 1.1rem;
}

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

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

@keyframes scroll-reverse {
  0% {
    transform: translateX(calc(-50% - 2rem));
  }

  100% {
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .partner-logo {
    width: 148px;
    height: 68px;
    padding: 0.55rem 0.85rem;
  }

  .partner-logo img {
    max-height: 36px;
  }
}

/* Section 08: Success Stories Grid */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.stories-grid.page-grid {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.story-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.story-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 992px) {
  .stories-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1.5rem;
    gap: 1.5rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
    /* Optional: To make first item align with container padding if needed */
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .stories-grid::-webkit-scrollbar {
    display: none;
  }

  .story-card {
    min-width: 85vw;
    max-width: 85vw;
    scroll-snap-align: center;
    flex: 0 0 auto;
  }

  /* Premium mobile view for dedicated stories page */
  .stories-grid.page-grid {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    padding: 0;
    margin: 0;
    max-width: none;
  }

  .stories-grid.page-grid .story-card {
    min-width: 100%;
    max-width: 100%;
    border-radius: 24px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin-bottom: 1rem;
  }

  .stories-grid.page-grid .story-content {
    padding: 1.8rem 1.5rem;
  }

  .stories-grid.page-grid .journey-header h3 {
    font-size: 1.4rem;
    letter-spacing: -0.02em;
  }

  .stories-grid.page-grid .journey-step p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .stories-slider-dots {
    display: flex !important;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
  }

  .story-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-light-muted);
    cursor: pointer;
    transition: background 0.3s;
  }

  .story-dot.active {
    background: var(--accent-primary);
  }
}

.stories-slider-dots {
  display: none;
}

.story-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  transition: transform 0.6s ease;
}

.story-image img.photo-ayesha {
  object-position: center 15%;
}

.story-image img.photo-arjun {
  object-position: center 72%;
}

@media (min-width: 993px) {
  .story-image img.photo-arjun {
    object-position: center 94%;
  }
}

.story-card:hover .story-image img {
  transform: scale(1.05);
}

.story-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.journey-header {
  margin-bottom: 1.5rem;
}

.journey-header h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.journey-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(142, 164, 184, 0.1);
  color: var(--bg-dark);
  border: 1px solid rgba(142, 164, 184, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Journey Flow Timeline */
.journey-flow {
  position: relative;
  padding-left: 28px;
  margin-top: 1rem;
}

.journey-flow::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 25px;
  width: 2px;
  background: var(--border-light);
}

.journey-step {
  position: relative;
  margin-bottom: 1rem;
}

.journey-step:last-child {
  margin-bottom: 0;
}

.journey-step::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--border-light);
}

.journey-step.final-step::before {
  background: #e8294c;
  box-shadow: 0 0 0 2px rgba(232, 41, 76, 0.2);
  width: 16px;
  height: 16px;
  left: -30px;
  top: 4px;
}

.step-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dark-muted);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.journey-step p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-dark);
  margin: 0;
}


/* Graceful scaling for smaller laptops/tablets before breaking */
@media (max-width: 1200px) and (min-width: 901px) {
  .nav-links {
    margin-left: 1rem;
  }
  .nav-links a:not(.btn) {
    padding: 0.4rem 0.5rem;
    font-size: 0.75rem;
  }
  .nav-links a.btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}

/* Mobile Responsive Overrides */

@media (max-width: 900px) {

  /* Mobile Menu */
  .logo,
  .mobile-menu-btn {
    position: relative;
    z-index: 110;
  }

  .mobile-menu-btn {
    display: block !important;
  }

  body.menu-open {
    overflow: hidden;
  }

  .nav-links {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100dvh;
      margin: 0;
      flex: none;
      background: rgba(0, 22, 48, 0.96);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      transition: opacity 0.5s cubic-bezier(0.2, 1, 0.3, 1), visibility 0.5s cubic-bezier(0.2, 1, 0.3, 1);
      z-index: 100;
      padding: 96px 40px 40px;
      opacity: 0;
      visibility: hidden;
      gap: 1.25rem !important;
      overflow-y: auto;
    }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
      font-family: var(--font-serif);
      font-size: 1.6rem;
      font-weight: 400;
      text-transform: capitalize;
      letter-spacing: 0px;
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.5s cubic-bezier(0.2, 1, 0.3, 1), transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    }
    
    .nav-links a:not(.btn) {
      padding: 0 !important;
    }

    .nav-links a:not(.btn):hover,
    .nav-links a:not(.btn).active {
      background: transparent !important;
      color: var(--accent-secondary) !important;
    }
    
    .nav-links a.btn {
      margin-top: 1rem;
      font-family: var(--font-body);
      font-size: 1rem;
      text-transform: none;
      padding: 0.8rem 2rem !important;
      width: auto;
      text-align: center;
      letter-spacing: 0;
      border-radius: 8px !important;
      font-weight: 500;
      transform: translateY(20px);
    }

  .nav-links.active a {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger the nav links animation */
  .nav-links.active a:nth-child(1) {
    transition-delay: 0.1s;
  }

  .nav-links.active a:nth-child(2) {
    transition-delay: 0.15s;
  }

  .nav-links.active a:nth-child(3) {
    transition-delay: 0.2s;
  }

  .nav-links.active a:nth-child(4) {
    transition-delay: 0.25s;
  }

  .nav-links.active a:nth-child(5) {
    transition-delay: 0.3s;
  }

  .nav-links.active a:nth-child(6) {
    transition-delay: 0.35s;
  }

  .nav-links.active a:nth-child(7) {
    transition-delay: 0.4s;
  }

  .nav-links.active a:nth-child(8) {
    transition-delay: 0.45s;
  }

  .mobile-menu-btn svg {
    transition: transform 0.3s ease;
  }

  .mobile-menu-btn.active svg {
    transform: rotate(90deg);
  }

  /* Section 2 Tweaks */
  .gsap-clean-text {
    padding-right: 0 !important;
  }

  .gsap-clean-visuals {
    min-height: 400px !important;
    margin-top: 2rem;
  }

  /* Section 4 Destinations Carousel Mobile */
  .destinations-carousel {
    flex-direction: column;
    height: auto;
    gap: 1rem;
  }

  .dest-card {
    height: 300px;
    flex: none !important;
  }

  .dest-card-content p,
  .dest-card-content a {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    max-height: none;
  }

  .dest-card::after {
    opacity: 0.8 !important;
  }
}

/* =========================================
   Section 10: Classic Horizontal Journey
   ========================================= */
.horizontal-journey {
  position: relative;
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 4rem auto;
  padding-top: 3rem;
  /* space for numbers above the track */
}

.hj-track {
  position: absolute;
  top: calc(6.5rem + 9px);
  /* Perfect vertical center of the 20px dot (3rem padding + 3.5rem num + 10px half-height - 1px line half-height) */
  left: 5%;
  right: 5%;
  height: 2px;
  background: rgba(15, 90, 80, 0.1);
  z-index: 1;
}

.hj-track-progress {
  height: 100%;
  width: 0;
  background: #e8294c;
}

.hj-step {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  z-index: 2;
  cursor: default;
}

.hj-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(232, 41, 76, 0.05);
  /* very light red watermark */
  margin-bottom: 0.5rem;
  transition: all 0.4s ease;
  line-height: 1;
}

.hj-dot {
  width: 20px;
  height: 20px;
  background: #fff;
  border: 4px solid #e8294c;
  border-radius: 50%;
  margin-bottom: 2rem;
  box-shadow: 0 0 0 6px #fff;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hj-content h4 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 0.8rem;
  transition: color 0.3s ease;
  min-height: 2.8rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.hj-content p {
  font-size: 0.85rem;
  color: var(--text-dark-muted);
  line-height: 1.6;
}

.hj-step:hover .hj-num,
.hj-step.active .hj-num {
  color: #e8294c;
  transform: translateY(-5px);
}

.hj-step:hover .hj-dot,
.hj-step.active .hj-dot {
  background: #e8294c;
  box-shadow: 0 0 0 4px #fff, 0 8px 20px rgba(232, 41, 76, 0.3);
  transform: scale(1.3);
}

.hj-step:hover .hj-content h4,
.hj-step.active .hj-content h4 {
  color: #e8294c;
}

@media (max-width: 992px) {
  .horizontal-journey {
    flex-direction: column;
    padding-top: 0;
    margin: 2rem auto;
    max-width: 600px;
    padding-left: 0;
    /* Remove container padding */
  }

  .hj-track {
    top: 0;
    bottom: 0;
    left: 29px;
    /* Center of the 20px border-box dot (20px left pos + 10px half-width - 1px line half-width) */
    width: 2px;
    height: auto;
  }

  .hj-track-progress {
    width: 100%;
    height: 0;
  }

  .hj-step {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 2.5rem;
    padding: 0 1rem 0 70px;
    /* Space on left for absolute dot */
    position: relative;
    /* For absolute dot */
  }

  .hj-num {
    display: none;
  }

  .hj-dot {
    position: absolute;
    left: 20px;
    /* Fixed dot position */
    top: 2px;
    margin: 0;
    transform: none;
    z-index: 2;
  }

  .hj-step:hover .hj-dot {
    transform: scale(1.3);
  }

  .hj-content h4 {
    font-size: 1.15rem;
    margin-top: 0;
  }

  .hj-content p {
    font-size: 0.95rem;
  }
}

/* =========================================
   Section 11: FAQ Accordion
   ========================================= */
.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-header {
  padding: 1.5rem 0;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.faq-header:hover {
  color: var(--accent-secondary);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.faq-item.active .faq-header {
  color: var(--accent-secondary);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-content {
  padding-bottom: 1.5rem;
  opacity: 1;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #e8294c;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(232, 41, 76, 0.2);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #c81d3a;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(232, 41, 76, 0.3);
}

/* =========================================
   Footer Styling
   ========================================= */
.site-footer {
  padding: 80px 24px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-dark-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 450px;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-desc {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  color: var(--text-light);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-socials a:hover {
  opacity: 1;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.95rem;
}

.footer-links nav a {
  color: var(--text-light-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links nav a:hover {
  color: var(--accent-primary);
}

.contact-details {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-details a {
  color: var(--text-light-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-details a:hover {
  color: var(--accent-primary);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}

.legal-links a {
  color: var(--text-light-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-links a:hover {
  color: var(--accent-primary);
}

/* =========================================
   Global Responsive Fallbacks (Mobile)
   ========================================= */
@media (max-width: 768px) {

  /* Typography Scaling */
  h1 {
    font-size: 2.5rem !important;
  }

  h2 {
    font-size: 2rem !important;
  }

  h3 {
    font-size: 1.5rem !important;
  }

  .subtitle {
    font-size: 1rem !important;
  }

  /* Utilities */
  .hide-mobile {
    display: none !important;
  }

  /* Global Grids */
  .grid-2 {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  /* Section Spacing */
  .section {
    padding: 60px 24px !important;
  }

  /* removed tight mobile header padding */

  /* Matcher Form */
  .matcher-ui {
    padding: 1.5rem !important;
  }

  .matcher-options-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  /* Cinematic Timeline (Methodology) */
  .cinematic-timeline {
    padding: 2rem 10px !important;
  }

  .timeline-row {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .timeline-card {
    width: 100% !important;
    margin-bottom: 2rem !important;
    text-align: left !important;
    padding: 2rem !important;
  }

  /* Contact Form */
  .contact-form {
    padding: 1.5rem !important;
  }

  .contact-form>div {
    grid-template-columns: 1fr !important;
  }

  /* Success Stories Slider Fixes */
  .gsap-horizontal-section {
    flex-direction: column !important;
    height: auto !important;
    padding: 4rem 0 !important;
  }

  .intro-slide .container {
    padding: 1rem !important;
  }

  .gsap-story-slide {
    padding: 1rem 5px !important;
    height: 100% !important;
  }

  .story-panel-inner {
    flex-direction: column !important;
    height: 100% !important;
    max-height: none !important;
    padding: 1.5rem !important;
    justify-content: center !important;
  }

  .story-image {
    width: 100% !important;
    height: 220px !important;
    border-radius: var(--radius-sm) !important;
    margin-bottom: 1rem !important;
    flex: none !important;
  }

  .story-image img {
    border-radius: var(--radius-sm) !important;
  }

  .story-content {
    width: 100% !important;
    padding: 1.5rem !important;
  }

  .journey-step {
    margin-bottom: 0.75rem !important;
  }

  .journey-step p {
    font-size: 0.9rem !important;
  }

  /* Mobile Footer Refinements for Premium Look */
  .site-footer {
    padding: 60px 24px 30px !important;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem !important;
  }

  .footer-brand {
    margin: 0 auto;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-bottom-bar {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 1.5rem !important;
  }

  .legal-links {
    justify-content: center;
    width: 100%;
  }

  /* Hero Mobile Padding */
  .hero {
    padding-top: 130px !important;
    padding-bottom: 80px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  /* Remove Map Background on Mobile for How It Works */
  #how-it-works {
    background: #ffffff !important;
  }

  /* Reduce padding on large buttons on mobile */
  .btn-large {
    padding: 0.8rem 1.5rem !important;
  }

  /* Sticky Stack Layout Mobile Fix */
  .sticky-stack-container {
    flex-direction: column;
    gap: 2rem;
  }

  .sticky-stack-title {
    width: 100%;
    position: relative !important;
    top: auto !important;
    margin-bottom: 2rem;
    padding-bottom: 0;
  }

  .sticky-stack-cards {
    width: 100%;
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .pathway-card {
    position: relative !important;
    top: auto !important;
    margin-bottom: 0 !important;
    z-index: 1 !important;
  }
}