/* VektorIQ – Vektor theme overrides (Bootstrap 5)
   Brand: vektoriq.theme.v2.css */

:root {
  --vi-navy: #1B2A41;
  --vi-blue: #0B74B8;
  --vi-teal: #18B6C5;
  --vi-green: #6CCB3B;
  --vi-slate: #2C3E50;
  --vi-bg: #F6F8FB;
  --vi-border: #E6EEF5;
  --vi-muted: rgba(44, 62, 80, 0.72);
}

/* Bootstrap theme mapping */
:root {
  --bs-primary: var(--vi-blue);
  --bs-primary-rgb: 11, 116, 184;
  --bs-secondary: var(--vi-teal);
  --bs-body-color: var(--vi-slate);
  --bs-body-bg: var(--vi-bg);
  --bs-heading-color: var(--vi-navy);
  --bs-border-color: var(--vi-border);
  --bs-link-color: var(--vi-blue);
  --bs-link-hover-color: #09619e;
}

/* Sticky footer: keep footer at bottom on short pages */
html {
  height: 100%;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
body > main {
  flex: 1 0 auto;
}

.navbar-vektor {
  background: var(--vi-navy) !important;
}

.navbar-vektor .navbar-brand,
.navbar-vektor .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-vektor .navbar-brand:hover,
.navbar-vektor .nav-link:hover {
  color: #fff !important;
}

.navbar-vektor .navbar-brand span {
  color: var(--vi-teal);
}

.navbar-vektor .navbar-logo {
  height: 36px;
  width: auto;
  display: block;
}

.btn-primary {
  background: var(--vi-blue);
  border-color: var(--vi-blue);
}

.btn-primary:hover {
  background: #09619e;
  border-color: #09619e;
}

.btn-outline-primary {
  color: var(--vi-blue);
  border-color: var(--vi-blue);
}

.btn-outline-primary:hover {
  background: var(--vi-blue);
  border-color: var(--vi-blue);
}

.card {
  border-color: var(--vi-border);
  box-shadow: 0 6px 18px rgba(27, 42, 65, 0.08);
}

.card:hover {
  box-shadow: 0 12px 28px rgba(27, 42, 65, 0.12);
}

.vi-hero-svg svg,
.vi-illus-svg svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Hero 80vh with background illustrations */
.hero-full {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: 3.5rem;
  padding-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-full .hero-content {
  position: relative;
  z-index: 2;
}

/* Background illustrations (behind content) */
.hero-bg-illus {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-illus svg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-illus-wrap {
  position: relative;
  max-width: 380px;
  min-width: 280px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
  opacity: 1;
}

.hero-illus-wrap .hero-illus-bg {
  position: absolute;
  inset: -16px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(27, 42, 65, 0.1);
  z-index: 0;
}

.hero-illus-wrap .vi-hero-svg {
  position: relative;
  z-index: 1;
  padding: 1rem;
}

.hero-illus-wrap .vi-hero-svg svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Hero image: larger, no card background so it sits on page background */
.hero-image-wrap {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Why VektorIQ: logo icon */
.why-vektor-icon {
  max-width: 240px;
  width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.hero-animate-in {
  opacity: 0;
  animation: heroFadeUp 0.8s ease forwards;
}

.hero-animate-in.hero-delay-1 {
  animation-delay: 0.15s;
}

.hero-animate-in.hero-delay-2 {
  animation-delay: 0.35s;
}

.hero-animate-in.hero-delay-3 {
  animation-delay: 0.5s;
}

.hero-animate-in.hero-delay-4 {
  animation-delay: 0.65s;
}

.hero-animate-in.hero-delay-5 {
  animation-delay: 0.8s;
}

/* In-SVG animations */
.hero-svg-animated .hero-svg-draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: svgDraw 1.2s ease-out forwards;
}

.hero-svg-animated .hero-svg-draw-delay {
  animation-delay: 0.4s;
}

.hero-svg-animated .hero-svg-draw-delay2 {
  animation-delay: 0.9s;
}

@keyframes svgDraw {
  to {
    stroke-dashoffset: 0;
  }
}

.hero-svg-animated .hero-svg-fade {
  opacity: 0;
  animation: svgFade 0.6s ease-out forwards;
}

.hero-svg-animated .hero-pm .hero-svg-fade {
  animation-delay: 0.1s;
}

.hero-svg-animated .hero-bm .hero-svg-fade {
  animation-delay: 0.35s;
}

.hero-svg-animated .hero-lab .hero-svg-fade {
  animation-delay: 0.6s;
}

@keyframes svgFade {
  to {
    opacity: 1;
  }
}

.hero-svg-animated .hero-svg-pop {
  opacity: 0;
  transform: scale(0.8);
  transform-origin: center center;
  animation: svgPop 0.5s ease-out forwards;
}

.hero-svg-animated .hero-svg-pop:nth-child(3) {
  animation-delay: 0.5s;
}

.hero-svg-animated .hero-svg-pop:nth-child(4) {
  animation-delay: 0.6s;
}

.hero-svg-animated .hero-svg-pop:nth-child(5) {
  animation-delay: 0.7s;
}

.hero-svg-animated .hero-svg-pop:nth-child(6) {
  animation-delay: 0.8s;
}

@keyframes svgPop {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-svg-animated .hero-svg-grow {
  transform: scaleY(0);
  transform-origin: bottom center;
  animation: svgGrow 0.7s ease-out forwards;
}

.hero-svg-animated .hero-svg-grow:nth-child(3) {
  animation-delay: 0.6s;
}

.hero-svg-animated .hero-svg-grow:nth-child(4) {
  animation-delay: 0.75s;
}

.hero-svg-animated .hero-svg-grow:nth-child(5) {
  animation-delay: 0.9s;
}

.hero-svg-animated .hero-svg-grow:nth-child(6) {
  animation-delay: 1.05s;
}

@keyframes svgGrow {
  to {
    transform: scaleY(1);
  }
}

.hero-svg-animated .hero-svg-pulse {
  opacity: 0;
  animation: svgFade 0.5s ease-out 0.85s forwards, svgPulse 2.5s ease-in-out 1.5s infinite;
}

@keyframes svgPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.9;
  }
}

.hero-svg-animated .hero-svg-float {
  animation: svgFloat 4s ease-in-out 1.2s infinite;
}

.hero-svg-animated .hero-svg-float-delay {
  animation-delay: 1.8s;
}

@keyframes svgFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
}

.hero-pill {
  font-size: 0.85rem;
  color: var(--vi-slate);
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  border: 1px solid var(--vi-border);
}

.hero-pill strong {
  color: var(--vi-navy);
}

footer.bg-vektor {
  background: var(--vi-navy);
  color: rgba(255, 255, 255, 0.85);
}

footer.bg-vektor a {
  color: var(--vi-teal);
}

.section-alt {
  background: #fff;
  border: 1px solid var(--vi-border);
}

/* Emotions Before/After – Vektor palette, soft contrast */
.emotion-box {
  min-height: 120px;
  border: 1px solid transparent;
}

.emotion-label {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--vi-navy);
}

.emotion-list {
  font-size: 0.9rem;
  color: var(--vi-muted);
}

.emotion-before {
  background: rgba(229, 72, 77, 0.12);
  border-color: rgba(229, 72, 77, 0.25);
}

.emotion-after {
  background: rgba(24, 182, 197, 0.12);
  border-color: rgba(24, 182, 197, 0.3);
}