/* ==========================================================================
   AEVRA PRODUCTION DESIGN SYSTEM & THEME — REFINEMENT ROUND 1
   Brand: AEVRA (aevra.in) | "Growth, engineered."
   Typography: Montserrat (Headings) + Inter (Body)
   Palette: Deep Navy (#0B1424), Electric Blue (#3869F6), Off-White (#F6F7F9),
            Slate (#252F40), White (#FFFFFF)
   ========================================================================== */

:root {
  /* Brand Core Palette */
  --navy-deep: #0B1424;
  --navy-surface: #0E182A;
  --navy-card: #132038;
  --navy-card-hover: #172642;
  
  --blue-electric: #3869F6;
  --blue-bright: #4F7DFF;
  --blue-glow: rgba(56, 105, 246, 0.28);
  --blue-subtle: rgba(56, 105, 246, 0.1);
  --blue-border: rgba(56, 105, 246, 0.26);
  --blue-border-hover: rgba(56, 105, 246, 0.5);
  
  --off-white: #F6F7F9;
  --off-white-card: #FFFFFF;
  --off-white-border: #E2E8F0;
  
  --slate: #252F40;
  --slate-light: #475569;
  --slate-muted: #64748B;
  
  --white: #FFFFFF;
  --text-dark: #0B1424;
  --text-dark-muted: #334155;
  --text-dark-subtle: #64748B;
  
  --text-light: #F8FAFC;
  --text-light-muted: #94A3B8;
  --text-light-subtle: #64748B;

  /* Typography */
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout & Animation */
  --max-w: 1240px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 9999px;
  --transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);

  /* Global Header & Layout Spacing Tokens */
  --header-height: 84px;
  --header-height-mobile: 72px;
  --page-top-spacing: calc(var(--header-height) + 4.5rem);
  --page-top-spacing-mobile: calc(var(--header-height-mobile) + 2.5rem);
  --section-scroll-offset: calc(var(--header-height) + 1.75rem);
  --section-scroll-offset-mobile: calc(var(--header-height-mobile) + 1.25rem);
}

/* ==========================================================================
   RESET & GLOBAL BASE
   ========================================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--section-scroll-offset);
  color-scheme: dark light;
}

/* Ensure all anchor target IDs scroll clear of the sticky navbar */
[id] {
  scroll-margin-top: var(--section-scroll-offset);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  background-color: var(--navy-deep);
  color: var(--text-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Base Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  font-weight: 700;
  color: inherit;
  line-height: 1.2;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Sections */
.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-dark {
  background-color: var(--navy-deep);
  color: var(--text-light);
}

.section-navy-surface {
  background-color: var(--navy-surface);
  color: var(--text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-light {
  background-color: var(--off-white);
  color: var(--text-dark);
  border-top: 1px solid var(--off-white-border);
  border-bottom: 1px solid var(--off-white-border);
}

.section-header {
  max-width: 720px;
  margin-bottom: 3.75rem;
}

.section-header.text-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1.15rem;
}

.section-header p {
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-dark .section-header p,
.section-navy-surface .section-header p {
  color: var(--text-light-muted);
}

.section-light .section-header p {
  color: var(--text-dark-muted);
}

/* Eyebrows / Badges */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
}

.eyebrow-blue {
  color: var(--blue-bright);
  background: var(--blue-subtle);
  border: 1px solid var(--blue-border);
}

.eyebrow-dark {
  color: var(--slate);
  background: rgba(37, 47, 64, 0.08);
  border: 1px solid rgba(37, 47, 64, 0.15);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 8px var(--blue-bright);
}

/* ==========================================================================
   NAVIGATION (PERFECT VERTICAL ALIGNMENT & PROPORTIONAL LOGO)
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  padding: 0 2.5rem;
  background: rgba(11, 20, 36, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  transition: height 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-nav.scrolled {
  height: 74px;
  background: rgba(11, 20, 36, 0.98);
  border-bottom-color: rgba(56, 105, 246, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.nav-container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Increased logo size and clean proportions */
.nav-logo img {
  height: 33px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  position: relative;
  padding: 0.3rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-electric);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav-toggle svg {
  width: 26px;
  height: 26px;
  stroke: var(--white);
}

/* Mobile Menu Drawer */
.mobile-nav-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: rgba(11, 20, 36, 0.98);
  border-bottom: 1px solid var(--blue-border);
  padding: 2.25rem 2rem;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  z-index: 999;
}

.mobile-nav-menu.open {
  display: flex;
}

.mobile-nav-menu a {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-light-muted);
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a.active {
  color: var(--white);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
  transition: transform 0.2s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background-color: var(--blue-electric);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(56, 105, 246, 0.35);
}

.btn-primary:hover {
  background-color: var(--blue-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(56, 105, 246, 0.5);
  color: var(--white);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--blue-bright);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--navy-deep);
  color: var(--white);
  border-color: var(--slate);
}

.btn-dark:hover {
  background-color: var(--blue-electric);
  border-color: var(--blue-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(56, 105, 246, 0.3);
}

/* ==========================================================================
   FORM ARCHITECTURE & STYLING (PREMIUM B2B FORM SYSTEM)
   ========================================================================== */
.form-card {
  background: linear-gradient(155deg, rgba(23, 37, 62, 0.75) 0%, rgba(11, 20, 36, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 35px rgba(56, 105, 246, 0.08);
  position: relative;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.form-row-2 .form-group {
  margin-bottom: 0;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--off-white);
  letter-spacing: 0.02em;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--white);
  background: rgba(11, 20, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  outline: none;
  transition: all 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.form-control::placeholder {
  color: rgba(148, 163, 184, 0.6);
}

.form-control:focus {
  border-color: var(--blue-bright);
  background: rgba(14, 24, 42, 0.98);
  box-shadow: 0 0 0 3px rgba(56, 105, 246, 0.25);
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  cursor: pointer;
}

select.form-control option {
  background-color: var(--navy-deep);
  color: var(--white);
  padding: 0.75rem;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

/* Submission Feedback State */
.form-feedback {
  display: none;
  text-align: center;
  padding: 3rem 1.5rem;
}

.form-feedback h4 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
}

.form-feedback p {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 500px;
  margin: 0 auto;
}

/* ==========================================================================
   HOMEPAGE HERO COMPOSITION & SPACING
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: var(--page-top-spacing);
  padding-bottom: 5rem;
  overflow: hidden;
  background-color: var(--navy-deep);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 620px;
}

.hero-content h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.1rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 1.35rem;
  color: var(--white);
}

.hero-content p.hero-lead {
  font-size: clamp(1.05rem, 1.75vw, 1.2rem);
  color: var(--text-light-muted);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

/* Brought tagline closer to buttons as requested */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-bright);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-tagline::after {
  content: "";
  display: block;
  width: 45px;
  height: 1px;
  background: var(--blue-electric);
}

/* 3D Earth Container: Full width, zero vertical boundary clipping */
.hero-globe-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

#globe-canvas-wrap canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.globe-fallback {
  display: none;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1d3557 0%, #0b1424 75%);
  box-shadow: inset -20px -20px 50px rgba(0, 0, 0, 0.9), 0 0 40px rgba(56, 105, 246, 0.3);
}

/* ==========================================================================
   HOMEPAGE REFINED INDUSTRIES SECTION
   ========================================================================== */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.industry-card {
  background: linear-gradient(180deg, rgba(19, 32, 56, 0.75) 0%, rgba(14, 24, 42, 0.9) 100%);
  border: 1px solid rgba(56, 105, 246, 0.18);
  border-radius: var(--radius-md);
  padding: 2.75rem 2.25rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-electric), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue-border-hover);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(56, 105, 246, 0.15);
}

.industry-card:hover::before {
  opacity: 1;
}

.industry-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(56, 105, 246, 0.12);
  border: 1px solid var(--blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
  margin-bottom: 1.5rem;
}

.industry-card-icon svg {
  width: 22px;
  height: 22px;
}

.industry-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.industry-card p {
  color: var(--text-light-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.card-link {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
}

.card-link:hover {
  color: var(--white);
  gap: 0.6rem;
}

/* ==========================================================================
   HOMEPAGE SIMPLIFIED SERVICES SECTION (BALANCED HEIGHTS & CONCISE TAGS)
   ========================================================================== */
.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card-home {
  background: var(--navy-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  height: 100%;
}

.service-card-home:hover {
  background: var(--navy-card-hover);
  border-color: var(--blue-border);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.service-pillar-num {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue-bright);
  margin-bottom: 1rem;
}

.service-card-home h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.service-card-home p.service-summary {
  font-size: 0.88rem;
  color: var(--text-light-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Concise capability highlights */
.capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cap-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.55rem;
  border-radius: 3px;
}

/* ==========================================================================
   HOMEPAGE APPROACH PROGRESSION EFFECT
   ========================================================================== */
.approach-track {
  position: relative;
}

/* Understated progression track line on desktop */
.approach-track::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, rgba(56, 105, 246, 0.1), var(--blue-electric), rgba(56, 105, 246, 0.1));
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-step-item {
  background: var(--navy-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: var(--transition);
}

.process-step-item:hover {
  border-color: var(--blue-border);
  transform: translateY(-3px);
}

.process-step-indicator {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.process-step-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 6px var(--blue-bright);
}

.process-step-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

.process-step-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.process-step-item p {
  font-size: 0.88rem;
  color: var(--text-light-muted);
  line-height: 1.6;
}

/* ==========================================================================
   HOMEPAGE EDITORIAL INSIGHTS SECTION (REFINED TYPOGRAPHY & LINKS)
   ========================================================================== */
.article-card {
  text-decoration: none;
  background: var(--off-white-card);
  border: 1px solid var(--off-white-border);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  border-color: var(--blue-electric);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(11, 20, 36, 0.08);
}

.article-category {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-electric);
  margin-bottom: 0.9rem;
}

.article-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 0.9rem;
}

.article-card p {
  font-size: 0.9rem;
  color: var(--text-dark-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.article-link {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-electric);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
}

.article-card:hover .article-link {
  gap: 0.65rem;
}

/* ==========================================================================
   FINAL CTA BAND
   ========================================================================== */
.cta-band {
  background: linear-gradient(135deg, var(--navy-surface) 0%, var(--navy-card) 100%);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-lg);
  padding: 4.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.cta-band h2 {
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.cta-band p {
  color: var(--text-light-muted);
  font-size: 1.1rem;
  max-width: 660px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ==========================================================================
   FOOTER (UNCLUTTERED, NO GMAIL, VERIFIED CONTACTS ONLY)
   ========================================================================== */
.site-footer {
  background-color: #070D18;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 5rem 0 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

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

.footer-brand img {
  height: 28px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  color: var(--text-light-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul a {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: var(--white);
}

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

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-light-muted);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.footer-social-link svg {
  transition: transform 0.25s ease;
}

.footer-social-link:hover {
  color: var(--white);
  background: rgba(56, 105, 246, 0.15);
  border-color: rgba(56, 105, 246, 0.5);
  box-shadow: 0 0 16px rgba(56, 105, 246, 0.25);
  transform: translateY(-2px);
}

.footer-social-link:hover svg {
  transform: scale(1.08);
}

/* ==========================================================================
   GLOBAL PAGE HERO & INTRODUCTION SYSTEM
   Used consistently across Services, Industries, Approach, About, Insights, Contact, Privacy
   ========================================================================== */

/* Hero Section */
.page-hero,
.inner-page-hero,
.services-hero {
  position: relative;
  padding-top: var(--page-top-spacing);
  padding-bottom: 5rem;
  background: radial-gradient(circle at 50% 0%, rgba(56, 105, 246, 0.14) 0%, transparent 65%), var(--navy-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.inner-hero-content,
.services-hero-content,
.page-hero-content {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.inner-hero-content h1,
.services-hero-content h1,
.page-hero-content h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.inner-hero-content p,
.services-hero-desc,
.page-hero-desc {
  font-size: 1.15rem;
  color: var(--text-light-muted);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.inner-hero-actions,
.services-hero-actions,
.page-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Service Pillar Rows */
.service-pillar-section {
  padding: 6.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
}

.service-pillar-section:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.015);
}

.service-pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

/* For alternating order on desktop */
.service-pillar-grid.reverse .pillar-col-content {
  order: 2;
}

.service-pillar-grid.reverse .pillar-col-visual {
  order: 1;
}

/* Pillar Content Column */
.pillar-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.pillar-number {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--blue-bright);
  background: rgba(56, 105, 246, 0.1);
  border: 1px solid rgba(56, 105, 246, 0.28);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
}

.pillar-name-badge {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light-subtle);
}

.pillar-col-content h2 {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.pillar-lead {
  font-size: 1.05rem;
  color: var(--text-light-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

/* Structured Blocks for Challenge & Approach */
.pillar-blocks-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.pillar-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  transition: all 0.25s ease;
}

.pillar-block:hover {
  border-color: rgba(56, 105, 246, 0.3);
  background: rgba(255, 255, 255, 0.035);
}

.pillar-block-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.pillar-challenge .pillar-block-header {
  color: #F87171; /* Subtle soft coral for business challenge */
}

.pillar-approach .pillar-block-header {
  color: var(--blue-bright);
}

.pillar-block p {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  line-height: 1.6;
  margin: 0;
}

/* Key Capabilities Chips */
.pillar-capabilities {
  margin-bottom: 1.75rem;
}

.pillar-cap-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light-subtle);
  margin-bottom: 0.75rem;
}

.capability-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.capability-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--off-white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  transition: all 0.2s ease;
}

.capability-chip:hover {
  background: rgba(56, 105, 246, 0.15);
  border-color: rgba(56, 105, 246, 0.4);
  color: var(--white);
  transform: translateY(-1px);
}

/* Business Objective Callout */
.pillar-objective {
  background: rgba(56, 105, 246, 0.06);
  border-left: 3px solid var(--blue-electric);
  border-radius: 0 8px 8px 0;
  padding: 0.85rem 1.25rem;
  margin-bottom: 2rem;
}

.objective-tag {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 0.25rem;
}

.pillar-objective p {
  font-size: 0.88rem;
  color: var(--off-white);
  line-height: 1.55;
  margin: 0;
}

/* Contextual CTA Link */
.contextual-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--blue-bright);
  text-decoration: none;
  transition: all 0.25s ease;
  padding: 0.4rem 0;
}

.contextual-link svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
  transition: transform 0.25s ease;
}

.contextual-link:hover {
  color: var(--white);
}

.contextual-link:hover svg {
  transform: translateX(4px);
}

/* Visual Column Cards */
.pillar-col-visual {
  position: relative;
}

.service-visual-card {
  background: linear-gradient(155deg, rgba(23, 37, 62, 0.7) 0%, rgba(11, 20, 36, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(56, 105, 246, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-visual-card:hover {
  border-color: rgba(56, 105, 246, 0.35);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 45px rgba(56, 105, 246, 0.15);
}

.visual-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.15rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.visual-card-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.visual-live-dot {
  width: 8px;
  height: 8px;
  background-color: #34D399;
  border-radius: 50%;
  box-shadow: 0 0 8px #34D399;
  display: inline-block;
}

.visual-badge {
  font-size: 0.72rem;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: rgba(56, 105, 246, 0.12);
  color: var(--blue-bright);
  border: 1px solid rgba(56, 105, 246, 0.25);
}

/* Visual Internal Schemas */
.visual-diagram-box {
  background: rgba(11, 20, 36, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.visual-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.visual-node {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 0.85rem;
  transition: all 0.2s ease;
}

.visual-node:hover {
  border-color: rgba(56, 105, 246, 0.35);
  background: rgba(56, 105, 246, 0.06);
}

.visual-node-label {
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-light-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.visual-node-val {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
}

.visual-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
  margin: 0.75rem 0;
  opacity: 0.75;
}

.visual-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  color: var(--text-light-subtle);
}

.visual-status-val {
  color: var(--blue-bright);
  font-weight: 600;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-globe-container {
    width: 52vw;
  }
  .footer-top {
    grid-template-columns: 1.5fr repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  :root {
    --page-top-spacing: calc(var(--header-height) + 3.25rem);
  }

  .nav-links {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-globe-container {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: 480px;
    margin: 1.5rem auto 0;
  }

  .card-grid-3,
  .card-grid-4,
  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .approach-track::before {
    display: none;
  }

  .service-pillar-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .service-pillar-grid.reverse .pillar-col-content {
    order: 1;
  }
  .service-pillar-grid.reverse .pillar-col-visual {
    order: 2;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: var(--header-height-mobile);
    --page-top-spacing: var(--page-top-spacing-mobile);
    --section-scroll-offset: var(--section-scroll-offset-mobile);
  }

  html {
    scroll-padding-top: var(--section-scroll-offset-mobile);
  }

  [id] {
    scroll-margin-top: var(--section-scroll-offset-mobile);
  }

  .site-nav {
    height: var(--header-height-mobile);
    padding: 0 1.5rem;
  }

  .site-nav.scrolled {
    height: var(--header-height-mobile);
  }

  .mobile-nav-menu {
    top: var(--header-height-mobile);
  }

  .section {
    padding: 4.5rem 0;
  }
  .hero-section {
    padding-top: var(--page-top-spacing-mobile);
    padding-bottom: 3.5rem;
    min-height: auto;
  }
  .hero-globe-container {
    height: 380px;
  }

  .card-grid-3,
  .card-grid-4,
  .process-steps-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 3rem 1.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .page-hero,
  .inner-page-hero,
  .services-hero {
    padding-top: var(--page-top-spacing-mobile);
    padding-bottom: 3.5rem;
  }

  .service-pillar-section {
    padding: 4.5rem 0;
  }

  .service-visual-card {
    padding: 1.5rem;
  }

  .visual-grid-2 {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 1.75rem 1.25rem;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height-mobile: 68px;
    --page-top-spacing-mobile: calc(var(--header-height-mobile) + 2.25rem);
  }

  .site-nav {
    padding: 0 1.15rem;
  }

  .hero-section {
    padding-top: var(--page-top-spacing-mobile);
    padding-bottom: 3rem;
  }

  .page-hero,
  .inner-page-hero,
  .services-hero {
    padding-top: var(--page-top-spacing-mobile);
    padding-bottom: 3rem;
  }
}
