/* 
   Niyati Consultancy Services - Custom Stylesheet
   Design System:
   - ⬜ Backgrounds (80%): White (#FFFFFF) & Off-White (#F8F9FA)
   - 🟦 Primary (15%): Navy Blue (#0F2A4A) for headers, footers, titles, and main text
   - 🟨 Accent (5%): Gold (#C9A45E) exclusively for buttons, active links, highlights
   - ⬛ Body Text: Dark Charcoal (#2D3748) for modern look & low eye-strain
*/

:root {
  /* Color Tokens */
  --bg-white: #FFFFFF;
  --bg-offwhite: #F8F9FA;

  --primary-navy: #0F2A4A;
  --primary-navy-light: #1E3D60;
  --primary-navy-dark: #07172B;

  --accent-gold: #C9A45E;
  --accent-gold-light: #E8C98A;
  --accent-gold-pale: #F7EAD0;

  --text-charcoal: #2D3748;
  --text-muted: #718096;

  /* System Values */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --shadow-subtle: 0 4px 20px rgba(15, 42, 74, 0.04);
  --shadow-medium: 0 10px 30px rgba(15, 42, 74, 0.06);
  --shadow-hover: 0 20px 40px rgba(15, 42, 74, 0.12);
}

/* BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-y: scroll;
  /* Forces vertical scrollbar to always exist, stopping side-to-side twitch */
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-white);
  color: var(--text-charcoal);
  overflow-x: hidden;
  line-height: 1.6;
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-offwhite);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-navy-light);
  border: 2px solid var(--bg-offwhite);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* NAVIGATION */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
  border-bottom: 2px solid var(--accent-gold);
  box-shadow: var(--shadow-subtle);
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    backdrop-filter 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

nav.shrunk {
  height: 55px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1.5px solid var(--accent-gold);
  box-shadow: 0 4px 30px rgba(15, 42, 74, 0.08);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-navy);
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.nav-logo span {
  color: var(--accent-gold);
  font-weight: 300;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

nav.shrunk .logo-img {
  height: 36px;
}

.nav-links {
  position: relative;
  /* required for absolute coordinate calculation */
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: rgba(15, 42, 74, 0.85);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-gold);
}

/* Remove snapping hover underlines */
.nav-links a::after {
  display: none !important;
}

/* Floating Liquid Underline */
.nav-underline {
  position: absolute;
  bottom: 0;
  /* aligned perfectly on bottom header border baseline */
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--accent-gold);
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  transition: left 0.38s cubic-bezier(0.25, 1, 0.5, 1),
    width 0.38s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.35s ease;
  will-change: left, width, opacity;
  z-index: 5;
}

/* HERO SECTION */
.hero {
  min-height: 100svh;
  /* Using svh instead of vh prevents mobile browser URL bar from triggering layout jumps */
  background-color: var(--bg-white);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0 8%;
  padding-top: 75px;
  /* Offset for fixed nav */
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 75% 40%, rgba(201, 164, 94, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(15, 42, 74, 0.03) 0%, transparent 60%);
  z-index: 1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 42, 74, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 42, 74, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 1;
  transform: translate3d(0, 0, 0);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent-gold);
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7.5vw, 4.8rem);
  font-weight: 300;
  color: var(--primary-navy);
  line-height: 1.1;
  margin-bottom: 2rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-gold);
  font-weight: 400;
}

.hero-tagline {
  font-size: 1.05rem;
  color: var(--text-charcoal);
  letter-spacing: 0.02em;
  margin-bottom: 4rem;
  line-height: 1.8;
  max-width: 620px;
}

/* --- HERO SECTION MESSAGE REDESIGN --- */

/* Headline Rotator Wrapper */
.hero-rotator-wrapper {
  display: inline-flex;
  position: relative;
  height: 1.15em;
  vertical-align: bottom;
  overflow: hidden;
  margin-bottom: -0.12em;
  /* Accommodates font descenders without line shift */
  will-change: width;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-rotator-item {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(105%);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  visibility: hidden;
  display: inline-flex;
  gap: 0.35em;
}

.hero-rotator-item.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-rotator-item.exit {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-105%);
}

/* Rotator inner words staggered delays to follow "Your Trusted Partner for" */
.hero-rotator-item .word-wrapper:nth-child(1) .word {
  transition-delay: 0.37s;
}

.hero-rotator-item .word-wrapper:nth-child(2) .word {
  transition-delay: 0.45s;
}

.hero-rotator-item .word-wrapper:nth-child(3) .word {
  transition-delay: 0.53s;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 3.5rem;
}

.pill {
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(15, 42, 74, 0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary-navy);
  letter-spacing: 0.04em;
  background: rgba(15, 42, 74, 0.03);
  text-decoration: none;
  display: inline-block;
  transition: var(--transition-smooth);
}

.pill:hover {
  background: rgba(201, 164, 94, 0.08);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
  text-decoration: none;
}

/* BUTTONS */
.cta-group {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 1rem 2.2rem;
  background: var(--accent-gold);
  color: var(--primary-navy-dark);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 4px 14px rgba(201, 164, 94, 0.3);
  border: 1px solid var(--accent-gold);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background: var(--accent-gold-light);
  border-color: var(--accent-gold-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(201, 164, 94, 0.4);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-outline {
  padding: 1rem 2.2rem;
  border: 2px solid var(--primary-navy);
  color: var(--primary-navy);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
}

.btn-outline:hover {
  background: rgba(15, 42, 74, 0.05);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-3px);
}

.btn-outline:active {
  transform: translateY(-1px);
}

/* SECTIONS STRUCTURE */
section {
  padding: 5rem 8%;
  position: relative;
}

.section-label {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--accent-gold);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--primary-navy);
  margin-bottom: 2rem;
}

.section-title em {
  font-style: italic;
  color: var(--accent-gold);
  font-weight: 400;
}

.section-title .word-wrapper {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.section-title .word {
  display: inline-block;
  transform: translateY(105%);
  opacity: 0;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.85s ease;
  will-change: transform, opacity;
}

.section-title.reveal .word {
  transform: translateY(0);
  opacity: 1;
}

.gold-rule {
  width: 80px;
  height: 3px;
  background: var(--accent-gold);
  margin-bottom: 2.5rem;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.gold-rule.animate {
  transform: scaleX(1);
}

/* SECTION BACKGROUNDS (80% PROPORTION ALTERNATION) */
#about,
#mobility,
#trade,
#client-pathway,
#contact {
  background-color: var(--bg-offwhite);
}

#services-overview,
#immigration,
#business-enablement,
#niyati-roadmap {
  background-color: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.about-visual {
  position: relative;
}

.about-card {
  background: var(--primary-navy);
  padding: 4rem 3rem;
  border-radius: var(--border-radius-sm);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border-top: 4px solid var(--accent-gold);
}

.about-stat {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about-stat:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.about-stat-num {
  font-family: 'Futura', 'Trebuchet MS', Arial, sans-serif;
  font-size: 3.4rem;
  font-weight: 400;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.about-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.about-text {
  position: relative;
}

/* Thin vertical gold divider centred in the 6rem column gap */
.about-text::before {
  content: '';
  position: absolute;
  left: -3rem;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: linear-gradient(to bottom,
      transparent 0%,
      var(--accent-gold) 25%,
      var(--accent-gold) 75%,
      transparent 100%);
  opacity: 0.55;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-charcoal);
  margin-bottom: 1.8rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* SERVICES SECTIONS & CARDS */

.services-header {
  max-width: 750px;
  margin-bottom: 3.5rem;
}

.services-intro {
  font-size: 1.05rem;
  color: var(--text-charcoal);
  line-height: 1.8;
  margin-top: 1.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card-offwhite {
  background: var(--bg-offwhite);
  padding: 3rem 2.5rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(15, 42, 74, 0.05);
  box-shadow: var(--shadow-subtle);
  position: relative;
  overflow: hidden;
  opacity: 0;
  min-height: 380px;
  transform: translateY(35px);
  will-change: opacity, transform, box-shadow, border-color;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-offwhite::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--accent-gold);
  transition: var(--transition-smooth);
}

.card-offwhite:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(201, 164, 94, 0.3);
}

.card-offwhite:hover::after {
  width: 100%;
}

.service-icon {
  width: 54px;
  height: 54px;
  background: var(--primary-navy);
  color: var(--accent-gold);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(15, 42, 74, 0.15);
  transition: var(--transition-smooth);
}

.card-offwhite:hover .service-icon {
  background: var(--accent-gold);
  color: var(--primary-navy-dark);
  transform: scale(1.05);
}

.video-bg-card .service-icon {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--accent-gold-light);
  box-shadow: none;
  margin-bottom: 1.5rem;
}

.video-bg-card:hover .service-icon {
  background: var(--accent-gold);
  color: var(--primary-navy-dark);
  border-color: var(--accent-gold);
  transform: scale(1.05);
}

.card-offwhite h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

.card-offwhite p {
  font-size: 0.95rem;
  color: var(--text-charcoal);
  line-height: 1.8;
}

/* EXPORT-IMPORT & TRADE SECTION */

.card-white {
  background: var(--bg-white);
  border: 1px solid rgba(201, 164, 94, 0.2);
  padding: 3rem 2.2rem;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-subtle);
  opacity: 0;
  min-height: 380px;
  transform: translateY(35px);
  will-change: opacity, transform, box-shadow, border-color;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-white:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-hover);
}

.card-num {
  font-family: 'Futura', 'Trebuchet MS', Arial, sans-serif;
  font-size: 3.8rem;
  font-weight: 300;
  color: rgba(201, 164, 94, 0.06);
  line-height: 1;
  margin-bottom: 1.2rem;
  transition: color 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    text-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: left center;
}

.card-white h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  color: var(--primary-navy);
  margin-bottom: 1rem;
  font-weight: 700;
}

.card-white p {
  font-size: 0.95rem;
  color: var(--text-charcoal);
  line-height: 1.7;
}

/* CARD VIDEO INTEGRATION (OPTION C - CINEMATIC BACKGROUND) */
.video-bg-card {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  /* Overrides default card padding so video and overlay reach boundaries */
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(201, 164, 94, 0.2);
  box-shadow: var(--shadow-subtle);
  opacity: 0;
  transform: translateY(35px);
  will-change: opacity, transform, box-shadow, border-color;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 380px;
  display: flex;
}

.card-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-video-bg.left-video {
  width: 50%;
}

.card-video-bg.right-video {
  width: 50%;
  left: 50%;
}

.card-content-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 3rem 2.2rem;
  background: rgba(15, 42, 74, 0.78);
  /* High contrast Navy overlay */
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: background-color 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    backdrop-filter 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Text Colors on Dark Background for Extreme Legibility */
.video-bg-card .card-num {
  font-family: 'Futura', 'Trebuchet MS', Arial, sans-serif;
  font-size: 3.8rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.06);
  /* ultra faint index on dark overlay */
  line-height: 1;
  margin-bottom: 1.2rem;
  transition: color 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    text-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: left center;
}

.video-bg-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  color: var(--bg-white);
  /* High contrast white title */
  margin-bottom: 1rem;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.video-bg-card p {
  font-size: 0.95rem;
  color: #E2E8F0;
  /* Soft high contrast silver text */
  line-height: 1.7;
}

/* Hover Interactions */
.video-bg-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-hover);
}

.video-bg-card:hover .card-video-bg {
  transform: scale(1.08);
}

.video-bg-card:hover .card-content-overlay {
  background: rgba(15, 42, 74, 0.62);
  /* Lightens slightly on hover to reveal the movement */
}

.video-bg-card:hover h3 {
  color: var(--accent-gold);
}

/* Dramatic Service Card Number Morphs */
.card-white:hover .card-num,
.card-offwhite:hover .card-num,
.video-bg-card:hover .card-num {
  color: var(--accent-gold);
  transform: scale(1.22) translateY(-4px);
  text-shadow: 0 0 10px rgba(201, 164, 94, 0.3);
}

/* ==========================================================================
   SERVICE-SPECIFIC CINEMATIC WIDGET IDENTITIES
   ========================================================================== */

/* 1. Global Mobility: Corporate, Clean Sapphire Steel */
#mobility .video-bg-card .card-content-overlay {
  background: linear-gradient(135deg, rgba(15, 37, 65, 0.82), rgba(28, 59, 93, 0.9));
}

#mobility .video-bg-card:hover .card-content-overlay {
  background: linear-gradient(135deg, rgba(15, 37, 65, 0.65), rgba(28, 59, 93, 0.72));
}

/* 2. Immigration Assistance: Prestigious Deep Burgundy & Wine-Crimson (Passport/Clearance Theme) */
#immigration .video-bg-card .card-content-overlay {
  background: linear-gradient(135deg, rgba(64, 18, 28, 0.84), rgba(34, 9, 15, 0.92));
}

#immigration .video-bg-card:hover .card-content-overlay {
  background: linear-gradient(135deg, rgba(64, 18, 28, 0.68), rgba(34, 9, 15, 0.76));
}

/* 3. International Trade: Warmer, Rich Earthy Bronze & Copper */
#trade .video-bg-card {
  border-color: rgba(201, 164, 94, 0.35);
}

#trade .video-bg-card .card-content-overlay {
  background: linear-gradient(135deg, rgba(54, 38, 20, 0.84), rgba(30, 22, 12, 0.92));
}

#trade .video-bg-card:hover .card-content-overlay {
  background: linear-gradient(135deg, rgba(54, 38, 20, 0.68), rgba(30, 22, 12, 0.76));
}

#trade .video-bg-card .card-num {
  color: rgba(201, 164, 94, 0.08);
}

#trade .video-bg-card:hover .card-num {
  color: var(--accent-gold);
  text-shadow: 0 0 12px rgba(201, 164, 94, 0.45);
}

/* 4. Business Enablement: Cyber Tech Slate-Charcoal with Interactive Gold Code Grid Motif */
#business-enablement .video-bg-card {
  background-color: var(--primary-navy-dark);
  border-color: rgba(201, 164, 94, 0.25);
}

#business-enablement .video-bg-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 164, 94, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 164, 94, 0.015) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.6;
  transition: var(--transition-smooth);
}

#business-enablement .video-bg-card:hover::before {
  opacity: 0.95;
  background-size: 18px 18px;
  /* dynamic micro-zoom tech grid on hover */
}

#business-enablement .video-bg-card .card-content-overlay {
  background: linear-gradient(135deg, rgba(10, 20, 36, 0.88), rgba(5, 10, 18, 0.95));
  z-index: 3;
}

#business-enablement .video-bg-card:hover .card-content-overlay {
  background: linear-gradient(135deg, rgba(10, 20, 36, 0.72), rgba(5, 10, 18, 0.82));
}

/* Scroll entrance transition & services grids triggers */
.services-grid.animate>div {
  opacity: 1;
  transform: translateY(0);
}

.services-grid.animate:not(.fully-entered)>div {
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-grid.animate:not(.fully-entered)>div:nth-child(1) {
  transition-delay: 0s;
}

.services-grid.animate:not(.fully-entered)>div:nth-child(2) {
  transition-delay: 120ms;
}

.services-grid.animate:not(.fully-entered)>div:nth-child(3) {
  transition-delay: 240ms;
}

.services-grid.animate:not(.fully-entered)>div:nth-child(4) {
  transition-delay: 360ms;
}

/* ==========================================================================
   SERVICES OVERVIEW SECTION (WHAT WE DO)
   ========================================================================== */
#services-overview {
  /* Inherits var(--bg-white) from central alternation rules */
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.overview-card {
  background: var(--bg-white);
  border: 1px solid rgba(15, 42, 74, 0.08);
  border-radius: var(--border-radius-md);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-subtle);

  /* Scroll Entrance Initial State */
  opacity: 0;
  transform: translateY(35px);
  will-change: opacity, transform, box-shadow, border-color;

  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scroll entry reveal transitions */
.overview-grid.animate .overview-card {
  opacity: 1;
  transform: translateY(0);
}

.overview-grid.animate:not(.fully-entered) .overview-card:nth-child(1) {
  transition-delay: 0s;
}

.overview-grid.animate:not(.fully-entered) .overview-card:nth-child(2) {
  transition-delay: 120ms;
}

.overview-grid.animate:not(.fully-entered) .overview-card:nth-child(3) {
  transition-delay: 240ms;
}

.overview-grid.animate:not(.fully-entered) .overview-card:nth-child(4) {
  transition-delay: 360ms;
}

/* Desktop Hover Interactive States */
@media (min-width: 601px) {
  .overview-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-hover);
    border-color: rgba(201, 164, 94, 0.4);
  }

  .overview-card:hover .card-num {
    color: var(--accent-gold);
    transform: scale(1.15);
  }

  .overview-card:hover .service-icon {
    background: var(--primary-navy);
    color: var(--accent-gold);
    border-color: var(--primary-navy);
    transform: rotate(5deg) scale(1.05);
  }

  .overview-card:hover h3 {
    color: var(--primary-navy-light);
  }

  .overview-card:hover .overview-cta {
    color: var(--accent-gold);
  }

  .overview-card:hover .overview-cta .arrow {
    transform: translateX(8px);
  }

  .overview-card .overview-cta .arrow {
    transform: translateX(0);
    transition: transform 0.38s cubic-bezier(0.25, 1, 0.5, 1);
  }
}

/* Card Numbering */
.overview-card .card-num {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: 'Futura', 'Trebuchet MS', Arial, sans-serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(201, 164, 94, 0.08);
  line-height: 1;
  margin: 0;
  transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: right top;
}

/* Service Icon */
.overview-card .service-icon {
  width: 54px;
  height: 54px;
  background: var(--bg-offwhite);
  border: 1.5px solid rgba(201, 164, 94, 0.25);
  color: var(--primary-navy);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.overview-card .service-icon svg {
  display: block;
}

/* Card Title */
.overview-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.overview-card h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-gold);
}

/* Card Description */
.overview-desc {
  font-size: 0.98rem;
  color: var(--text-charcoal);
  line-height: 1.7;
  margin-bottom: 2rem;
  flex-grow: 1;
}

/* Card Call to Action */
.overview-cta {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
  margin-top: auto;
}

.overview-cta .arrow {
  font-size: 1.1rem;
  line-height: 1;
}

/* Responsive Overrides (Tablet & Mobile) */
@media (max-width: 900px) {
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .overview-card {
    padding: 2.2rem 2rem;
    border-left: 4px solid var(--accent-gold) !important;
    border-top: 1px solid rgba(15, 42, 74, 0.08) !important;
    border-right: 1px solid rgba(15, 42, 74, 0.08) !important;
    border-bottom: 1px solid rgba(15, 42, 74, 0.08) !important;
    transform: translateY(0);
    box-shadow: var(--shadow-subtle);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }

  /* Subtle active touch state */
  .overview-card:active {
    transform: scale(0.98);
    border-color: var(--accent-gold) !important;
    box-shadow: 0 4px 12px rgba(201, 164, 94, 0.15);
  }

  .overview-card .card-num {
    font-size: 1.8rem;
    color: var(--accent-gold);
    opacity: 0.35;
    top: 1.8rem;
    right: 2rem;
  }

  .overview-card .service-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 1.5rem;
  }

  .overview-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Mobile Collapsible description accordion style */
  .overview-desc {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
    overflow: hidden;
    font-size: 0.92rem;
    line-height: 1.6;
    transition: max-height 0.38s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.35s ease,
      margin-bottom 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .overview-card.is-expanded .overview-desc {
    max-height: 160px;
    /* Allow description to expand fully */
    opacity: 1;
    margin-bottom: 1.5rem;
  }

  /* Dropdown indicator icon mapping */
  .overview-card h3::after {
    content: '+';
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.4rem;
    color: var(--accent-gold);
    font-weight: 300;
    transition: transform 0.3s ease;
  }

  .overview-card.is-expanded h3::after {
    content: '−';
    transform: rotate(180deg);
  }

  /* Permanently visible CTA arrow and static color style on mobile */
  .overview-cta {
    color: var(--accent-gold);
  }
}

/* FIBC SOLUTIONS */
.fibc-section {
  margin-top: 5rem;
  background: var(--bg-white);
  padding: 4rem;
  border-radius: var(--border-radius-sm);
  border-left: 4px solid var(--accent-gold);
  box-shadow: var(--shadow-subtle);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.fibc-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  color: var(--primary-navy);
  font-weight: 600;
  margin-bottom: 1rem;
}

.fibc-sub {
  font-size: 1rem;
  color: var(--text-charcoal);
  margin-bottom: 2.5rem;
  max-width: 700px;
  line-height: 1.8;
}

.fibc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.fibc-tag {
  padding: 0.6rem 1.4rem;
  background: rgba(201, 164, 94, 0.08);
  border: 1px solid rgba(201, 164, 94, 0.3);
  color: var(--primary-navy);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  border-radius: 100px;
  transition: var(--transition-smooth);
}

.fibc-tag:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--primary-navy-dark);
  transform: translateY(-2px);
}

/* CONTACT SECTION */
#contact {}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-card {
  background: var(--bg-white);
  padding: 3rem 2rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(15, 42, 74, 0.04);
  box-shadow: var(--shadow-subtle);
  text-align: center;
  transition: var(--transition-smooth);
}

.contact-card:hover {
  transform: translateY(-6px);
  background: var(--bg-offwhite);
  border-color: rgba(201, 164, 94, 0.2);
  box-shadow: var(--shadow-medium);
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1.5rem auto;
  background: rgba(15, 42, 74, 0.05);
  color: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 1px solid rgba(15, 42, 74, 0.05);
  transition: var(--transition-smooth);
}

.contact-card:hover .contact-card-icon {
  background: var(--primary-navy);
  color: var(--accent-gold);
  transform: scale(1.05);
}

.contact-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-charcoal);
}

.contact-card p a {
  color: var(--primary-navy);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.contact-card p a:hover {
  color: var(--accent-gold);
}

/* Clickable maps contact card */
.contact-card.clickable-card {
  cursor: pointer;
}

.contact-card p a.address-link {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.contact-card p a.address-link:hover {
  color: inherit;
}

/* Map Choice Bottom Sheet Dialog for Mobile */
.map-choice-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 23, 43, 0.4); /* Navy tinted glass overlay */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-choice-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.map-choice-sheet {
  width: 100%;
  max-width: 480px;
  background: var(--bg-white);
  border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
  padding: 1.5rem 1.5rem 2.2rem 1.5rem;
  box-shadow: 0 -10px 35px rgba(15, 42, 74, 0.15);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.map-choice-overlay.open .map-choice-sheet {
  transform: translateY(0);
}

.sheet-handle {
  width: 40px;
  height: 4px;
  background: rgba(15, 42, 74, 0.12);
  border-radius: 2px;
  margin: 0 auto 1.2rem auto;
}

.sheet-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-navy);
  text-align: center;
  margin: 0 0 1.5rem 0;
}

.sheet-options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.sheet-btn {
  width: 100%;
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(15, 42, 74, 0.08);
  background: var(--bg-white);
  color: var(--primary-navy);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.sheet-btn:hover {
  background: var(--bg-offwhite);
  border-color: rgba(201, 164, 94, 0.3);
}

.sheet-btn.cancel-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.4rem;
}

.sheet-btn.cancel-btn:hover {
  color: var(--primary-navy);
  background: transparent;
}



@media (max-width: 900px) {
  .contact-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .contact-strip {
    grid-template-columns: 1fr;
  }
}





.form-submit {
  width: 100%;
  padding: 1.1rem;
  background: var(--primary-navy);
  color: var(--bg-white);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border-radius: var(--border-radius-sm);
  margin-top: 0.8rem;
  box-shadow: 0 4px 12px rgba(15, 42, 74, 0.2);
}

.form-submit:hover {
  background: var(--accent-gold);
  color: var(--primary-navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(201, 164, 94, 0.35);
}

.form-submit:active {
  transform: translateY(-1px);
}

/* FOOTER SECTION */
footer {
  background: var(--primary-navy-dark);
  padding: 4rem 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  border-top: 3px solid var(--accent-gold);
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--bg-white);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-logo span {
  color: var(--accent-gold);
  font-weight: 300;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
  opacity: 0.95;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-eyebrow {
  animation: fadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero h1:not(.staggered-heading) {
  animation: fadeUp 0.8s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-tagline {
  animation: fadeUp 0.8s 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-pills {
  animation: fadeUp 0.8s 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.cta-group {
  animation: fadeUp 0.8s 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* --- HERO VISUAL & MOTION UPGRADES --- */
.staggered-heading {
  font-size: clamp(3rem, 7.5vw, 4.8rem);
  font-weight: 300;
  color: var(--primary-navy);
  line-height: 1.15;
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.35em;
  row-gap: 0.1em;
}

.staggered-heading em {
  font-style: italic;
  color: var(--accent-gold);
  font-weight: 400;
}

.staggered-heading .word-wrapper {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.staggered-heading .word {
  display: inline-block;
  transform: translateY(105%);
  opacity: 0;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.85s ease;
}

.staggered-heading.reveal .word {
  transform: translateY(0);
  opacity: 1;
}

/* Vogue / Monocle staggered delays (80ms increments) */
.staggered-heading .word-wrapper:nth-child(1) .word {
  transition-delay: 0.05s;
}

.staggered-heading .word-wrapper:nth-child(2) .word {
  transition-delay: 0.13s;
}

.staggered-heading .word-wrapper:nth-child(3) .word {
  transition-delay: 0.21s;
}

.staggered-heading .word-wrapper:nth-child(4) .word {
  transition-delay: 0.29s;
}

.staggered-heading .word-wrapper:nth-child(5) .word {
  transition-delay: 0.37s;
}

.staggered-heading .word-wrapper:nth-child(6) .word {
  transition-delay: 0.45s;
}

/* Tagline Typewriter Suffix & Cursor */
.typewriter-cursor {
  color: var(--accent-gold);
  font-weight: 700;
  animation: blinkCursor 0.8s infinite;
  margin-left: 2px;
  display: inline-block;
}

.typewriter-cursor.finished {
  opacity: 0;
  transition: opacity 0.5s ease;
}

@keyframes blinkCursor {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* Decorative Spinning Globe Axis & Wireframe */
.hero-globe-container {
  position: absolute;
  right: 6%;
  top: 52%;
  transform: translateY(-50%);
  width: 440px;
  height: 440px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.95;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-globe {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 10px 30px rgba(201, 164, 94, 0.05));
}

.globe-rotator-outer {
  transform-origin: 200px 200px;
  animation: rotateGlobeClockwise 20s linear infinite;
}

.globe-rotator-inner {
  transform-origin: 200px 200px;
  animation: rotateGlobeCounterClockwise 30s linear infinite;
}

.globe-grid-tilted {
  transform-origin: 200px 200px;
  transform: rotate(23.5deg);
  /* Static premium tilt without rolling */
}

.globe-map-rotator {
  transform-origin: 200px 200px;
  animation: rotateGlobeMap 35s linear infinite;
  display: block;
}

.globe-map {
  opacity: 0.18;
  /* highly transparent elegant luxury feel */
  filter: sepia(1) saturate(2.5) hue-rotate(10deg) brightness(0.95) contrast(1.05);
  mix-blend-mode: multiply;
  /* smooth overlay blend */
}

@keyframes rotateGlobeClockwise {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotateGlobeCounterClockwise {
  0% {
    transform: rotate(360deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

@keyframes rotateGlobeTilted {
  0% {
    transform: rotate(23.5deg);
  }

  100% {
    transform: rotate(383.5deg);
  }
}

@keyframes rotateGlobeMap {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-640px, 0, 0);
  }
}

/* ── SCROLL INDICATOR ─────────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  z-index: 10;
  opacity: 0;
  animation: fadeUp 0.8s 2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  pointer-events: none;
}

.scroll-indicator-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.scroll-chevron {
  width: 20px;
  height: 20px;
  stroke: var(--accent-gold);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }

  50% {
    transform: translateY(7px);
    opacity: 1;
  }
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 1024px) {
  nav {
    padding: 0 5%;
  }

  /* Tablet: stack globe below hero text instead of faint overlap */
  .hero {
    padding: 0 5%;
    padding-top: 90px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
  }

  .hero-globe-container {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 260px;
    height: 260px;
    opacity: 0.85;
    margin-top: 3rem;
    align-self: center;
  }

  section {
    padding: 3rem 5%;
  }

  #niyati-roadmap {
    padding: 3rem 5% 2.5rem 5%;
  }

  .services-header {
    margin-bottom: 3rem;
  }

  .pathway-container {
    margin-top: 1.5rem;
  }

  .about-grid {
    gap: 4rem;
  }

  /* Hide the gold divider at tablet — columns stack single before 900px */
  .about-text::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .about-visual {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  nav {
    height: 70px;
  }

  .nav-links {
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  nav {
    padding: 0 1.5rem;
  }



  section {
    padding: 2.2rem 1.5rem;
  }

  .services-header {
    margin-bottom: 2rem;
  }

  .pathway-container {
    margin-top: 1rem;
  }

  .hero {
    padding: 0 1.5rem;
    padding-top: 100px;
    text-align: center;
    justify-content: center;
  }

  .hero-eyebrow {
    justify-content: center;
  }

  .hero-eyebrow::before {
    display: none;
  }

  .hero-pills {
    justify-content: center;
  }

  .cta-group {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }



  .fibc-section {
    padding: 2.5rem 1.5rem;
  }



  footer {
    padding: 3rem 1.5rem;
    flex-direction: column;
    text-align: center;
  }

  /* Mobile Globe & Heading Layout Responsiveness */
  .hero-globe-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 380px;
    opacity: 0.75;
    margin-top: 0;
    z-index: 2;
  }

  .staggered-heading {
    justify-content: center;
  }
}

/* ==========================================================================
   PREMIUM MODERNIZATIONS (MAP, TIMELINE, APP MOCKUP, CHATBOT WIDGET)
   ========================================================================== */

#niyati-roadmap {
  background: var(--bg-white);
  padding: 5rem 8% 4rem 8%;
}

.map-container {
  position: relative;
  display: block;
  margin-top: 4rem;
}

.map-graphic {
  background: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 1.5rem 2rem 2rem 2rem;
  border: 1px solid rgba(15, 42, 74, 0.05);
  box-shadow: var(--shadow-subtle);
  position: relative;
  overflow: hidden;
}

.abstract-map {
  width: 100%;
  height: auto;
  display: block;
}

.map-node {
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8);
  transform-origin: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

#niyati-roadmap.animate .node-india {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0s;
}

#niyati-roadmap.animate .node-na {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.3s;
}

#niyati-roadmap.animate .node-eu {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.6s;
}

#niyati-roadmap.animate .node-gcc {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.9s;
}

#niyati-roadmap.animate .node-oceania {
  opacity: 1;
  transform: scale(1);
  transition-delay: 1.2s;
}

.map-node text {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  fill: var(--primary-navy);
  letter-spacing: 0.05em;
  opacity: 0.75;
  transition: var(--transition-smooth);
}

.map-node:hover text,
.map-node.highlight text {
  opacity: 1;
  fill: var(--accent-gold);
}

.pulsing-pin {
  animation: pulsePin 2s infinite ease-in-out;
}

.pulsing-ring {
  transform-origin: center;
  opacity: 0;
  stroke: var(--accent-gold);
}

#niyati-roadmap.animate .node-na .pulsing-ring {
  animation: pulseRingIntense 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s 1,
    pulseRing 2.2s infinite ease-in-out 1.5s;
}

#niyati-roadmap.animate .node-eu .pulsing-ring {
  animation: pulseRingIntense 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s 1,
    pulseRing 2.2s infinite ease-in-out 1.8s;
}

#niyati-roadmap.animate .node-gcc .pulsing-ring {
  animation: pulseRingIntense 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.9s 1,
    pulseRing 2.2s infinite ease-in-out 2.1s;
}

#niyati-roadmap.animate .node-oceania .pulsing-ring {
  animation: pulseRingIntense 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1.2s 1,
    pulseRing 2.2s infinite ease-in-out 2.4s;
}

.map-node:hover .pulsing-ring,
.map-node.highlight .pulsing-ring {
  stroke: var(--accent-gold);
  stroke-width: 2;
  animation: pulseRing 1s infinite ease-in-out !important;
}

@keyframes pulsePin {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.9;
  }
}

@keyframes pulseRing {
  0% {
    transform: scale(0.85);
    opacity: 0.8;
    stroke-width: 1.5;
  }

  100% {
    transform: scale(1.35);
    opacity: 0;
    stroke-width: 0.5;
  }
}

@keyframes pulseRingIntense {
  0% {
    transform: scale(0.6);
    opacity: 0;
    stroke-width: 4;
  }

  30% {
    transform: scale(1.1);
    opacity: 1;
    stroke-width: 3.5;
  }

  100% {
    transform: scale(2.0);
    opacity: 0;
    stroke-width: 0.5;
  }
}

/* Flight Path Drawing Reveal Masks */
.mask-path {
  stroke-dasharray: 250;
  stroke-dashoffset: 250;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

#niyati-roadmap.animate .mask-na {
  stroke-dashoffset: 0;
  transition-delay: 0.3s;
}

#niyati-roadmap.animate .mask-eu {
  stroke-dashoffset: 0;
  transition-delay: 0.6s;
}

#niyati-roadmap.animate .mask-gcc {
  stroke-dashoffset: 0;
  transition-delay: 0.9s;
}

#niyati-roadmap.animate .mask-oceania {
  stroke-dashoffset: 0;
  transition-delay: 1.2s;
}

/* Animated Flight Planes */
.animated-plane {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

#niyati-roadmap.animate .plane-na {
  opacity: 1;
  transition-delay: 1.5s;
}

#niyati-roadmap.animate .plane-eu {
  opacity: 1;
  transition-delay: 2.1s;
}

#niyati-roadmap.animate .plane-gcc {
  opacity: 1;
  transition-delay: 2.7s;
}

#niyati-roadmap.animate .plane-oceania {
  opacity: 1;
  transition-delay: 3.3s;
}

.map-details-grid {
  position: absolute;
  /* Position inside the map graphic, elegantly overlapping the Antarctica space */
  bottom: 2.5rem;
  left: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 1.2rem;
  z-index: 10;
  pointer-events: none;
}

.map-tooltip-card {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 42, 74, 0.05);
  padding: 1.2rem;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-subtle);
  opacity: 0.4;
  transform: translateY(10px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.map-tooltip-card.active {
  opacity: 1;
  border-top: 3px solid var(--accent-gold);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-medium);
  transform: translateY(0);
}

.tooltip-badge {
  display: inline-block;
  background: var(--primary-navy);
  color: var(--bg-white);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.map-tooltip-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--primary-navy);
  margin-bottom: 0.4rem;
}

.map-tooltip-card p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-charcoal);
}

/* 4-Phase Pathway Styles */
.pathway-container {
  margin-top: 2rem;
}

.pathway-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  color: var(--primary-navy);
  text-align: center;
  font-weight: 700;
  margin-bottom: 3.5rem;
  letter-spacing: 0.02em;
}

/* Visibility helpers */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

/* Horizontal Timeline (Desktop) */
.timeline-wrapper {
  position: relative;
  max-width: 900px;
  margin: 2.5rem auto 3.5rem auto;
  padding: 0 10px;
}

.timeline-progress-bar {
  position: absolute;
  top: 21px;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(15, 42, 74, 0.06);
  border-radius: 2px;
  z-index: 1;
}

.timeline-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent-gold);
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(201, 164, 94, 0.5);
}

.timeline-steps {
  position: relative;
  display: flex;
  justify-content: space-between;
  z-index: 2;
}

.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  position: relative;
  user-select: none;
}

.node-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid rgba(15, 42, 74, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Futura', 'Trebuchet MS', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-navy);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-subtle);
}

.node-label {
  position: absolute;
  top: 52px;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-charcoal);
  opacity: 0.7;
  transition: var(--transition-smooth);
  letter-spacing: 0.02em;
}

/* Hover & Active States */
.timeline-node:hover .node-dot {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

.timeline-node.active .node-dot {
  background: var(--primary-navy);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: 0 0 18px rgba(201, 164, 94, 0.45);
}

.timeline-node.active .node-label {
  opacity: 1;
  color: var(--primary-navy);
  font-weight: 700;
}

/* Expandable Detail Panel */
.timeline-details-panel {
  background: rgba(15, 42, 74, 0.015);
  border: 1px solid rgba(15, 42, 74, 0.05);
  border-radius: var(--border-radius-md);
  padding: 3rem;
  max-width: 950px;
  margin: 0 auto;
  height: 350px;
  /* Fixed height guarantees the panel will NEVER expand/shrink based on text length */
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Timeline Navigation Buttons */
.timeline-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 1px solid rgba(15, 42, 74, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-navy);
  cursor: pointer;
  box-shadow: var(--shadow-subtle);
  /* Explicit transitions to prevent keyboard/repaint lag */
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.timeline-nav-btn:hover {
  background: var(--primary-navy);
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(15, 42, 74, 0.15);
}

.timeline-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.timeline-nav-btn.prev-btn {
  left: -24px;
}

.timeline-nav-btn.next-btn {
  right: -24px;
}

.timeline-nav-btn:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

/* Adjust timeline nav buttons on smaller viewports before vertical collapsing */
@media (max-width: 1100px) {
  .timeline-nav-btn.prev-btn {
    left: -12px;
  }

  .timeline-nav-btn.next-btn {
    right: -12px;
  }
}

.step-detail-content {
  display: none;
  opacity: 0;
  transform: translateX(30px);
}

.step-detail-content.active {
  display: block;
  animation: slideInForward 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.step-detail-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.step-timeline-duration {
  display: inline-block;
  background: rgba(201, 164, 94, 0.12);
  color: var(--accent-gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 5px rgba(201, 164, 94, 0.05);
}

.step-detail-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

.step-detail-info p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-charcoal);
  opacity: 0.9;
}

.step-detail-deliverables {
  background: var(--bg-white);
  padding: 1.8rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(15, 42, 74, 0.03);
  box-shadow: var(--shadow-subtle);
}

.step-detail-deliverables h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(15, 42, 74, 0.06);
  padding-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.step-detail-deliverables ul {
  list-style: none;
}

.step-detail-deliverables li {
  font-size: 0.88rem;
  color: var(--text-charcoal);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.4;
}

.step-detail-deliverables li:last-child {
  margin-bottom: 0;
}

.step-detail-deliverables .check-icon {
  color: var(--accent-gold);
  font-weight: bold;
}

/* Vertical Stepper (Mobile) */
.mobile-stepper {
  position: relative;
  margin: 2rem 0;
  padding-left: 2.8rem;
}

.mobile-progress-line {
  position: absolute;
  left: 17px;
  top: 10px;
  bottom: 10px;
  width: 4px;
  background: rgba(15, 42, 74, 0.06);
  border-radius: 2px;
  z-index: 1;
}

.mobile-progress-fill {
  width: 100%;
  height: 0%;
  background: var(--accent-gold);
  border-radius: 2px;
  transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(201, 164, 94, 0.5);
}

.mobile-steps-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  z-index: 2;
  position: relative;
}

.mobile-step {
  position: relative;
  cursor: pointer;
}

.mobile-node-dot {
  position: absolute;
  left: -41px;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid rgba(15, 42, 74, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Futura', 'Trebuchet MS', Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-navy);
  transition: var(--transition-smooth);
  z-index: 2;
  box-shadow: var(--shadow-subtle);
}

.mobile-step-header {
  display: flex;
  flex-direction: column;
  padding-top: 0.2rem;
  transition: var(--transition-smooth);
}

.mobile-step-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  transition: var(--transition-smooth);
}

.mobile-duration {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.15rem;
  transition: var(--transition-smooth);
}

.mobile-step-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, margin-top 0.3s ease;
  padding-right: 0.5rem;
}

.mobile-step-body p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-charcoal);
  margin-bottom: 0.8rem;
  opacity: 0.9;
}

.mobile-deliverables {
  list-style: none;
  background: rgba(15, 42, 74, 0.02);
  padding: 1rem 1.2rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(15, 42, 74, 0.03);
}

.mobile-deliverables li {
  font-size: 0.82rem;
  color: var(--text-charcoal);
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.4rem;
}

.mobile-deliverables li:last-child {
  margin-bottom: 0;
}

/* Mobile Active States */
.mobile-step.active .mobile-node-dot {
  background: var(--primary-navy);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(201, 164, 94, 0.35);
}

.mobile-step.active .mobile-step-header h3 {
  color: var(--accent-gold);
}

.mobile-step.active .mobile-duration {
  color: var(--accent-gold);
}

.mobile-step.active .mobile-step-body {
  max-height: 500px;
  opacity: 1;
  margin-top: 0.8rem;
}


/* FLOATING QUICK QUOTE WIDGET */
.quick-quote-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

@keyframes pulseWidget {
  0% {
    box-shadow: 0 4px 20px rgba(201, 164, 94, 0.4), 0 0 0 0 rgba(201, 164, 94, 0.4);
  }

  70% {
    box-shadow: 0 4px 20px rgba(201, 164, 94, 0.4), 0 0 0 10px rgba(201, 164, 94, 0);
  }

  100% {
    box-shadow: 0 4px 20px rgba(201, 164, 94, 0.4), 0 0 0 0 rgba(201, 164, 94, 0);
  }
}

.widget-btn {
  background: var(--accent-gold);
  color: var(--bg-white);
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(201, 164, 94, 0.4);
  /* Explicitly naming transitions prevents the browser from trying to transition the infinite animation frames */
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, box-shadow 0.3s ease;
  animation: pulseWidget 2s infinite;
}

.widget-btn:hover {
  transform: scale(1.08) rotate(5deg);
  background: var(--primary-navy);
  box-shadow: 0 4px 20px rgba(15, 42, 74, 0.3);
  animation: none;
}

.widget-back-btn {
  background: none;
  border: none;
  color: var(--accent-gold);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  margin-left: -0.5rem;
}

.widget-back-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-gold-light);
  transform: scale(1.08);
}

.widget-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 370px;
  height: auto;
  min-height: 380px;
  max-height: 85vh;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(201, 164, 94, 0.25);
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(15, 42, 74, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  will-change: transform, opacity;
  /* Forces GPU hardware acceleration to prevent backdrop-filter repainting the layout */
}

.widget-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.panel-header {
  background: var(--primary-navy);
  color: var(--bg-white);
  padding: 1.5rem 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.panel-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.panel-header p {
  font-size: 0.8rem;
  opacity: 0.8;
}

.widget-progress-bar {
  height: 3px;
  background: rgba(15, 42, 74, 0.08);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.widget-progress-fill {
  height: 100%;
  width: 16.66%;
  background: linear-gradient(90deg, var(--accent-gold) 0%, #E6C587 100%);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 8px rgba(201, 164, 94, 0.6);
}

.panel-body {
  padding: 1.8rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
}

.widget-step {
  display: none;
  flex-direction: column;
  width: 100%;
}

/* Premium forward/backward slide transitions */
.widget-step.active {
  display: flex;
  animation: slideInForward 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.widget-step.active-back {
  display: flex;
  animation: slideInBackward 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInForward {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInBackward {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.step-question {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 1.2rem;
  line-height: 1.4;
}

.widget-options {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.option-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-offwhite);
  border: 1px solid rgba(15, 42, 74, 0.08);
  color: var(--text-charcoal);
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.option-btn::after {
  content: "→";
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--accent-gold);
  font-weight: 700;
}

.option-btn:hover {
  background: var(--bg-white);
  border-color: var(--accent-gold);
  color: var(--primary-navy);
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(201, 164, 94, 0.1);
}

.option-btn:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.widget-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.widget-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.widget-input-icon {
  position: absolute;
  left: 1rem;
  color: var(--text-charcoal);
  opacity: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.widget-input-icon svg {
  width: 18px;
  height: 18px;
}

.widget-form input {
  width: 100%;
  padding: 0.9rem 1.2rem 0.9rem 2.5rem;
  border-radius: 8px;
  border: 1px solid rgba(15, 42, 74, 0.15);
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  color: var(--text-charcoal);
  outline: none;
  font-family: inherit;
  transition: all 0.3s ease;
}

.widget-form input:focus {
  border-color: var(--accent-gold);
  background: var(--bg-white);
  box-shadow: 0 0 12px rgba(201, 164, 94, 0.2);
}

.widget-phone-wrapper {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.widget-country-select {
  padding: 0.9rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(15, 42, 74, 0.15);
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  color: var(--text-charcoal);
  font-family: inherit;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 88px;
}

.widget-country-select:focus {
  border-color: var(--accent-gold);
  background: var(--bg-white);
  box-shadow: 0 0 12px rgba(201, 164, 94, 0.2);
}

.widget-form input:focus+.widget-input-icon {
  color: var(--accent-gold);
  opacity: 1;
}

.widget-error-msg {
  color: #d93838;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: -0.4rem;
  min-height: 16px;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.3s ease;
}

.widget-error-msg.visible {
  opacity: 1;
  transform: translateY(0);
}

.form-submit {
  background: var(--primary-navy);
  color: var(--bg-white);
  border: 1px solid var(--accent-gold);
  padding: 0.95rem;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(15, 42, 74, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: var(--accent-gold);
  color: var(--primary-navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(201, 164, 94, 0.3);
}

.form-submit:active {
  transform: translateY(0);
}

.success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(201, 164, 94, 0.15);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0.5rem auto 1.2rem auto;
}

.success-summary-grid {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(15, 42, 74, 0.08);
  padding-bottom: 0.35rem;
  font-size: 0.8rem;
}

.summary-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.summary-label {
  font-weight: 700;
  color: var(--primary-navy);
  opacity: 0.8;
}

.summary-val {
  color: var(--text-charcoal);
  font-weight: 500;
  text-align: right;
}

/* RESPONSIVE LAYOUT ADDITIONS */
@media (max-width: 900px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  .map-details-grid {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
    margin-top: 2rem;
    padding: 0;
    flex-direction: column;
    pointer-events: auto;
  }

  .map-tooltip-card {
    transform: translateY(0);
  }


}

@media (max-width: 600px) {
  #niyati-roadmap {
    padding: 2.2rem 1.5rem 1.8rem 1.5rem;
  }

  .quick-quote-widget {
    bottom: 1rem;
    right: 1rem;
  }

  .widget-panel {
    width: calc(100vw - 2rem);
    height: auto;
    min-height: 380px;
    max-height: 80vh;
    bottom: 75px;
  }
}

/* Widget Loading Spinner */
.widget-spinner {
  width: 45px;
  height: 45px;
  border: 3px solid rgba(201, 164, 94, 0.15);
  border-top: 3px solid var(--accent-gold);
  border-radius: 50%;
  animation: widgetSpin 1s linear infinite;
  box-shadow: 0 0 10px rgba(201, 164, 94, 0.1);
}

@keyframes widgetSpin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Prevent background scroll */
body.nav-lock {
  overflow: hidden;
}

/* Burger */
.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1200;
}

.burger-btn span {
  width: 24px;
  height: 2px;
  background: var(--primary-navy);
  transition: 0.3s ease;
}

/* Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 23, 43, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  will-change: transform, opacity;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.3s ease;
  z-index: 900;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Mobile */
@media (max-width: 768px) {
  nav {
    padding: 0 1.25rem;
  }

  .burger-btn {
    display: flex;
  }

  .nav-underline {
    display: none !important;
  }

  .scroll-indicator {
    display: none !important;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(82vw, 320px);
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--bg-white);
    padding: 6rem 2rem 2rem;
    border-left: 3px solid var(--accent-gold);
    box-shadow: -12px 0 30px rgba(0, 0, 0, 0.08);
    transition: right 0.35s ease;
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-links.mobile-open {
    right: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(15, 42, 74, 0.08);
  }

  /* Dropdown */
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    transition: all 0.3s ease;
  }

  .dropdown.mobile-dropdown-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 400px;
    padding: 0.75rem 0 0.75rem 1rem;
  }

  .dropdown-menu a {
    font-size: 0.9rem;
    padding: 0.65rem 0;
    border: none;
  }

  .chevron-icon {
    display: inline-block;
  }

  .dropdown.mobile-dropdown-open .chevron-icon {
    transform: rotate(180deg);
  }
}

/* DROPDOWN NAVIGATION BASE STYLING (DESKTOP) */
@media (min-width: 769px) {
  .dropdown {
    position: relative;
  }

  .dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .chevron-icon {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 1px;
  }

  .dropdown:hover .chevron-icon {
    transform: rotate(180deg);
    color: var(--accent-gold);
  }

  /* Glassmorphism Dropdown Box */
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(201, 164, 94, 0.25);
    border-top: 3px solid var(--accent-gold);
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 30px rgba(15, 42, 74, 0.12);
    padding: 0.8rem 0;
    min-width: 220px;
    list-style: none;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0.3s;
    z-index: 1000;
  }

  .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .dropdown-menu a {
    padding: 0.75rem 1.6rem !important;
    color: var(--primary-navy) !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: block;
    border-bottom: none !important;
  }

  .dropdown-menu a::after {
    display: none !important;
  }

  .dropdown-menu a:hover {
    background: rgba(201, 164, 94, 0.08) !important;
    color: var(--accent-gold) !important;
    padding-left: 2rem !important;
    /* Premium shifting micro-effect */
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    min-height: auto;
    padding-top: 100px;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    z-index: 2;
  }

  .cta-group {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .cta-group a {
    width: 100%;
    text-align: center;
  }

  .staggered-heading {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.15;
    justify-content: center;
  }

  /* Center dynamic rotator on mobile */
  .hero-rotator-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 1.25em;
    margin-bottom: 0;
  }

  .hero-rotator-item {
    left: 50%;
    transform: translate(-50%, 105%);
    width: 100%;
    display: inline-flex;
    justify-content: center;
  }

  .hero-rotator-item.active {
    transform: translate(-50%, 0);
  }

  .hero-rotator-item.exit {
    transform: translate(-50%, -105%);
  }
}

/* Globe Region Hotspots */
.globe-hotspot {
  fill: var(--accent-gold);
  stroke: var(--accent-gold);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 8px rgba(201, 164, 94, 0.8));
}

.globe-hotspot-pulse {
  fill: transparent;
  stroke: var(--accent-gold);
  stroke-width: 1;
  transform-origin: center;
  transform-box: fill-box;
  animation: globePulse 2.5s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

@keyframes globePulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(3.5);
    opacity: 0;
  }
}

/* Mobile Map Horizontal Scroll */
@media (max-width: 768px) {
  .map-container::after {
    content: "← Swipe map to explore →";
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1rem;
    font-style: italic;
    opacity: 0.7;
    letter-spacing: 0.05em;
  }

  .map-graphic {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 1.5rem 1rem;
    scrollbar-width: none;
  }

  .map-graphic::-webkit-scrollbar {
    display: none;
  }

  .abstract-map {
    width: 650px;
    max-width: none;
  }
}