/* ===================================
   RENDER ANALYTICS - MAIN STYLES
   =================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--gradient-bg);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 300;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 200;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

/* Container and Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
}

/* Background Effects */
.background-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-bg);
  z-index: -2;
  pointer-events: none;
}

#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Custom Cursor */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  background: var(--accent-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.1s ease;
}

.cursor-trail {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--accent-secondary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .cursor,
  .cursor-trail {
    display: none;
  }
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-data);
  z-index: 1000;
  transition: width 0.1s ease;
}

/* Navigation */
.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  padding: 1rem 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.95) !important;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}


.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(0, 0, 0, 0.95) !important;
  box-shadow: 0 4px 20px var(--shadow-color);
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}


.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  position: relative;
  height: 40px;
}

.nav-logo .logo {
  height: 100%;
  width: auto;
  position: absolute;
  top: 0;
  left: 0;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-data);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    padding: 1rem 0;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
  
  .nav-menu.active {
    display: flex !important;
  }
  
  .nav-link {
    color: white !important;
    text-decoration: none !important;
    font-size: 1.5rem !important;
    font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 300 !important;
    padding: 1rem 2rem !important;
    margin: 0 !important;
    text-align: left !important;
    display: block !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  
  .nav-link:hover,
  .nav-link:active,
  .nav-link:focus {
    color: var(--accent-primary) !important;
    background: rgba(255, 255, 255, 0.05) !important;
  }
  
  .nav-link:last-child {
    border-bottom: none !important;
  }
  
  .mobile-menu-toggle {
    display: flex;
    z-index: 1000;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 140px;
}

.btn-primary {
  background: var(--gradient-data);
  color: var(--bg-primary);
  box-shadow: var(--glow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-primary), 0 8px 25px var(--shadow-color);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-primary);
  border: 2px solid var(--accent-primary);
}

.btn-secondary:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: var(--glow-primary);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background: var(--card-bg);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 0 2rem;
  width: 100%;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-content {
  z-index: 2;
}

.hero-headline {
  margin-bottom: 2rem;
}

.hero-headline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 0.8s ease forwards;
}

.hero-headline .word:nth-child(1) { animation-delay: 0.1s; }
.hero-headline .word:nth-child(2) { animation-delay: 0.2s; }
.hero-headline .word:nth-child(3) { animation-delay: 0.3s; }
.hero-headline .word:nth-child(4) { animation-delay: 0.4s; }
.hero-headline .word:nth-child(5) { animation-delay: 0.5s; }
.hero-headline .word:nth-child(6) { animation-delay: 0.6s; }

.hero-subheading {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.8s forwards;
}

.hero-tagline {
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1s forwards;
}

.tagline-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  color: var(--accent-secondary);
  font-weight: 500;
  border-right: none !important;
  animation: none !important;
}

.tagline-text::after {
  display: none !important;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.2s forwards;
}

.hero-visual {
  position: relative;
  height: 500px;
}

#data-constellation {
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-visual {
    height: 300px;
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
}

/* Section Styles */
section {
  padding: 3rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  margin-bottom: 1.5rem;
}

.section-subtitle,
.section-intro {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

.section-emphasis {
  font-size: 1.25rem;
  color: var(--accent-primary);
  font-weight: 600;
  margin-top: 1rem;
}

.section-cta,
.section-ctas {
  text-align: center;
  margin: 3rem 0;
}

.section-ctas {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
  
  .section-header {
    margin-bottom: 3rem;
  }
  
  .section-ctas {
    flex-direction: column;
    align-items: center;
    margin: 2rem 0;
  }
  
  .deliverables-grid {
    margin: 2rem 0 0 0;
  }
  
  .deliverables-section {
    padding-bottom: 2rem;
  }
  
  .clients-section {
    padding-top: 2rem;
  }
}

/* Value Propositions Grid */

/* Card Icons */
.value-prop-card {
  text-align: center;
}

.card-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.icon-svg {
  width: 60px;
  height: 60px;
  transition: all 0.3s ease;
}

.value-prop-card:hover .icon-svg {
  transform: scale(1.1);
}
.value-props-container {
  margin-bottom: 3rem;
}

.value-props-top-three {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.value-props-bottom-two {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.value-props-bottom-two .value-prop-card {
  max-width: 400px;
  flex: 0 0 auto;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .value-props-top-three {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .value-props-bottom-two {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .value-props-bottom-two .value-prop-card {
    max-width: 100%;
    width: 100%;
  }
}

/* Custom styling for Our AI Approach button to match card title size */
.ai-approach-trigger {
  font-size: 1.5rem !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em !important;
  padding: 1.2rem 2.5rem !important;
  min-height: auto !important;
}

@media (max-width: 768px) {
  .ai-approach-trigger {
    font-size: 1.3rem !important;
    padding: 1rem 2rem !important;
  }
}

/* LinkedIn link styling for team bio */
.team-bio-content {
  position: relative;
}

.linkedin-link {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--accent-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 10;
}

.linkedin-link:hover {
  color: var(--accent-secondary);
  transform: scale(1.1);
}

.linkedin-link svg {
  width: 24px;
  height: 24px;
}

.value-prop-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.value-prop-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-primary);
  box-shadow: var(--glow-primary), 0 20px 40px var(--shadow-color);
}

.value-prop-card h3 {
  color: var(--accent-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.value-prop-card p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

.card-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-data);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.value-prop-card:hover .card-effect {
  opacity: 0.05;
}

@media (max-width: 768px) {
  .value-props-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .value-prop-card {
    padding: 1.5rem;
  }
  
  .card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  
  .icon-svg {
    width: 50px;
    height: 50px;
    margin: 0 auto;
  }
}

/* Process Timeline */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2rem;
  border-radius: 12px;
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.step-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.process-step:hover {
  transform: translateX(10px);
  border-color: var(--accent-primary);
  box-shadow: var(--glow-primary);
}

.step-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 3rem;
  font-weight: 500;
  color: var(--accent-primary);
  opacity: 0.7;
}

.step-content h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.step-content p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

.step-visual {
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.chart-canvas {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
}

/* Step 1 - Questions Visual */
.visual-questions {
  position: relative;
  width: 100%;
  height: 100%;
}

.question-bubble {
  position: absolute;
  background: var(--gradient-data);
  color: var(--bg-primary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
  box-shadow: var(--glow-primary);
}

.question-bubble:nth-child(1) {
  top: 10px;
  left: 10px;
}

.question-bubble:nth-child(2) {
  top: 50px;
  right: 10px;
}

.question-bubble:nth-child(3) {
  bottom: 10px;
  left: 20px;
}

.insight-spark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--accent-secondary);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--accent-secondary);
}

/* Step 2 - Build Visual */
.visual-build {
  position: relative;
  width: 100%;
  height: 100%;
}

.build-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 60px;
  height: 60px;
  margin: 0 auto;
}

.block {
  background: var(--gradient-data);
  border-radius: 4px;
  opacity: 0.8;
}

.block-1 { background: var(--accent-primary); }
.block-2 { background: var(--accent-secondary); }
.block-3 { background: var(--accent-primary); }
.block-4 { background: var(--accent-secondary); }

.progress-flow {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-data);
  border-radius: 2px;
}

.iteration-cycle {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  border: 2px solid var(--accent-primary);
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 2s linear infinite;
}

/* Step 3 - Integration Visual */
.visual-integration {
  position: relative;
  width: 100%;
  height: 100%;
}

.team-nodes {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}

.node {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: relative;
}

.existing-team {
  background: var(--text-secondary);
  opacity: 0.6;
}

.render-node {
  background: var(--gradient-data);
  box-shadow: var(--glow-primary);
}

.connection-lines {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  height: 2px;
}

.connection-line {
  position: absolute;
  height: 2px;
  background: var(--gradient-data);
  opacity: 0.6;
}

.connection-line:nth-child(1) {
  left: 20px;
  width: 20px;
}

.connection-line:nth-child(2) {
  left: 45px;
  width: 20px;
}

.connection-line:nth-child(3) {
  left: 70px;
  width: 20px;
}

.integration-effect {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.3;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .process-step {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .step-number {
    font-size: 2rem;
    margin-bottom: 0;
    order: -1;
    align-self: center;
  }
  
  .step-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .step-visual {
    width: 100%;
    height: 300px;
    margin: 0;
  }
}

/* Deliverables Grid */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0 0 0;
}

/* Reduce spacing between deliverables and client sections */
.deliverables-section {
  padding-bottom: 0.5rem;
}

.clients-section {
  padding: 4rem 0;
  width: 100%;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin: 4rem 0;
}

.deliverable-item {
  text-align: center;
  padding: 2rem;
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.deliverable-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent-secondary);
  box-shadow: var(--glow-secondary);
}

.deliverable-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-data);
  border-radius: 12px;
  margin: 0 auto 1.5rem;
  opacity: 0.8;
}

.deliverable-item h3 {
  color: var(--text-primary);
  font-size: 1.25rem;
  margin-bottom: 0;
}

/* Section Video */
.section-video {
  text-align: center;
  margin: 0 0 2rem 0;
}

.section-video {
  width: 100%;
  background: var(--bg-secondary);
  padding: 4rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin: 4rem 0;
}

.section-video .container {
  text-align: center;
}

.deliverables-video {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px var(--shadow-color);
  background: var(--card-bg);
  margin: 0 auto;
  display: block;
  /* Ensure video works on mobile devices */
  -webkit-playsinline: true;
  object-fit: contain;
}

.deliverables-video:hover {
  border-color: var(--accent-primary);
  box-shadow: var(--glow-primary), 0 8px 32px var(--shadow-color);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .section-video {
    margin: 0 0 1.5rem 0;
    padding: 3rem 0;
  }
  
  .deliverables-video {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 8px;
    margin: 2rem auto;
    box-shadow: 0 4px 16px var(--shadow-color);
    /* Ensure video content is visible on mobile */
    height: auto;
    min-height: 200px;
  }
}

/* Client Logos Carousel */
.clients-carousel-container {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 0;
  overflow: hidden;
  /* Mobile viewport constraints */
  box-sizing: border-box;
}

.clients-carousel {
  display: flex;
  gap: 1rem;
  padding: 0 3rem;
  transition: transform 0.3s ease;
  width: max-content;
}

.client-slide {
  width: calc(25vw - 1.5rem);
  max-width: 220px;
  min-width: 180px;
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.client-slide:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
}

.client-logo {
  max-height: 60px;
  max-width: 150px;
  width: auto;
  height: auto;
  opacity: 0.8;
  transition: all 0.3s ease;
  object-fit: contain;
}

/* Regular colored logos - no filters applied */
.client-logo {
  /* No filter - show original colors */
}

/* Keep specific logos with silver/blue tinting */
.client-logo[alt*="SBJ Capital"],
.client-logo[alt*="Westward Capital"] {
  filter: brightness(0) invert(1) sepia(1) saturate(3) hue-rotate(180deg) brightness(0.8) contrast(1.3);
}

/* Make Forward Capital logo slightly smaller */
.client-logo[alt*="Forward Capital"] {
  max-height: 90px;
  max-width: 220px;
  width: 75%;
  height: auto;
}


.client-slide:hover .client-logo {
  opacity: 1;
  transform: scale(1.05);
  filter: brightness(1.1) contrast(1.1);
}

/* Enhanced hover effect for the slide container */
.client-slide:hover {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.08) 0%, 
    rgba(0, 217, 255, 0.05) 50%, 
    rgba(0, 255, 136, 0.03) 100%);
}

/* Responsive Design for Client Carousel */
@media (max-width: 1024px) {
  .client-slide {
    width: calc(33.333vw - 1rem);
    max-width: 200px;
    min-width: 160px;
  }
  
  .clients-carousel {
    padding: 0 2rem;
    gap: 0.75rem;
  }
}

@media (max-width: 768px) {
  .clients-carousel-container {
    max-width: 100vw;
    overflow: hidden;
    padding: 2rem 0;
  }
  
  .client-slide {
    width: calc(90vw - 2rem);
    max-width: 300px;
    min-width: 200px;
    padding: 1rem;
  }
  
  .clients-carousel {
    padding: 0 1rem;
    gap: 1rem;
    width: 100%;
    max-width: calc(100vw - 2rem);
    /* Strict mobile constraints to prevent horizontal overflow */
    box-sizing: border-box;
    overflow: visible; /* Allow CSS transforms but constrain container */
  }
  
  .client-logo {
    max-height: 70px;
    max-width: 160px;
  }
}
  
  /* Override Forward Capital logo sizing for mobile */
  .client-logo[alt*="Forward Capital"] {
    max-height: 65px !important;
    max-width: 150px !important;
    width: auto !important;
  }
}

/* About Section */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Contact Form */
.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--border-color);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--accent-primary);
}

.form-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-data);
  transition: width 0.3s ease;
}

.form-group input:focus + .form-underline,
.form-group textarea:focus + .form-underline {
  width: 100%;
}

.btn-submit {
  margin-top: 1rem;
  position: relative;
}

.btn-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  opacity: 0;
  animation: spin 1s linear infinite;
}

.btn-submit.loading .btn-text {
  opacity: 0;
}

.btn-submit.loading .btn-loading {
  opacity: 1;
}

/* Footer */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
  width: 100%;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  position: relative;
  height: 30px;
}

.footer-logo .logo {
  height: 100%;
  width: auto;
  position: absolute;
  top: 0;
  left: 0;
}

.footer-text p {
  color: var(--text-tertiary);
  margin-bottom: 0;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .hero-headline .word {
    animation: none;
    opacity: 1;
    transform: none;
  }
  
  .hero-subheading,
  .hero-tagline,
  .hero-ctas {
    animation: none;
    opacity: 1;
  }
}

/* Focus Styles */
button:focus,
input:focus,
textarea:focus,
a:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* Selection Styles */
::selection {
  background: var(--accent-primary);
  color: var(--bg-primary);
}

::-moz-selection {
  background: var(--accent-primary);
  color: var(--bg-primary);
}

/* Case Studies Page Styles */
.case-studies-hero {
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, rgba(34, 176, 250, 0.05) 0%, rgba(138, 43, 226, 0.05) 100%);
}

.case-studies-hero .hero-content h1 {
  margin-bottom: 2rem;
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.case-studies-hero .hero-subheading {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.case-studies-section {
  padding: 4rem 0 6rem;
}

.case-studies-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-bottom: 6rem;
}

.case-study-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.case-study-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: var(--glow-primary), 0 20px 40px var(--shadow-color);
}

.case-study-header {
  margin-bottom: 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
}

.case-study-meta {
  margin-bottom: 1rem;
}

.industry-tag {
  display: inline-block;
  background: var(--gradient-data);
  color: var(--bg-primary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
}

.case-study-header h2 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.case-study-summary {
  color: var(--accent-primary);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0;
}

.case-study-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.case-study-content h3 {
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  position: relative;
}

.case-study-content h3::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--gradient-data);
}

.case-study-content h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.case-study-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.issues-box, .render-solution-box {
  background: rgba(34, 176, 250, 0.1);
  border: 1px solid var(--accent-primary);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
}

.issues-box h4, .render-solution-box h4 {
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.issues-box ul, .render-solution-box ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.issues-box li, .render-solution-box li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.issues-box li::before, .render-solution-box li::before {
  content: '•';
  color: var(--accent-primary);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.issues-box blockquote, .render-solution-box blockquote {
  font-style: italic;
  color: var(--accent-secondary);
  border-left: 3px solid var(--accent-primary);
  padding-left: 1rem;
  margin: 1.5rem 0 0 0;
  background: none;
}

.solution-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-number {
  background: var(--gradient-data);
  color: var(--bg-primary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.step p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center;
}

/* Center items when there are only 2 items */
.results-grid:has(.result-item:nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(300px, 400px));
  justify-content: center;
}

.result-item {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.result-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent-secondary);
  box-shadow: var(--glow-secondary);
}

.result-item h4 {
  color: var(--accent-secondary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.result-item p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.testimonial-section {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.testimonial-section::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8rem;
  color: var(--accent-primary);
  opacity: 0.1;
  font-family: 'Inter Tight', serif;
  line-height: 1;
}

.case-study-testimonial {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-style: italic;
  margin: 0;
  position: relative;
  z-index: 1;
}

.case-study-testimonial cite {
  display: block;
  margin-top: 2rem;
  color: var(--accent-primary);
  font-style: normal;
  font-weight: 600;
  font-size: 1rem;
}

.case-studies-cta {
  text-align: center;
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 4rem 3rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.case-studies-cta h2 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.case-studies-cta p {
  color: var(--text-secondary);
  font-size: 1.25rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

@media (max-width: 768px) {
  .case-studies-hero {
    padding: 6rem 0 3rem;
  }
  
  .case-study-card {
    padding: 2rem;
  }
  
  .case-study-header {
    margin-bottom: 2rem;
  }
  
  .case-study-content {
    gap: 2rem;
  }
  
  .results-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .result-item {
    padding: 1.5rem;
  }
  
  .testimonial-section {
    padding: 2rem;
  }
  
  .case-study-testimonial {
    font-size: 1.1rem;
  }
  
  .case-studies-cta {
    padding: 3rem 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .solution-steps .step {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .step-number {
    align-self: center;
  }
}

/* About Page Styles */
.about-hero {
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, rgba(34, 176, 250, 0.05) 0%, rgba(138, 43, 226, 0.05) 100%);
}

.about-hero .hero-content h1 {
  margin-bottom: 2rem;
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.about-hero .hero-subheading {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 900px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  display: block;
  visibility: visible;
  opacity: 1;
}

/* Projects Counter */
.projects-counter {
  margin: 3rem auto 0;
  max-width: 200px;
}

.counter-graphic {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.counter-visual {
  position: relative;
  width: 200px;
  height: 40px;
}

.progress-bar-container {
  position: relative;
  width: 100%;
  height: 12px;
  margin: 2rem 0 0.5rem 0;
}

.progress-bar-track {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.progress-bar-fill {
  position: absolute;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 6px;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

.progress-bar-glow {
  position: absolute;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.4), transparent);
  border-radius: 6px;
  animation: progress-glow 2s ease-in-out infinite alternate;
  opacity: 0;
}

@keyframes progress-glow {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.counter-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent-primary);
  z-index: 2;
}

.counter-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-align: center;
  margin-top: -1rem;
}

@media (max-width: 768px) {
  .projects-counter {
    margin: 2rem auto 0;
  }
  
  .counter-visual {
    width: 180px;
    height: 40px;
  }
  
  .counter-number {
    font-size: 1.5rem;
  }
  
  .counter-label {
    font-size: 0.8rem;
  }
}

.mission-section {
  padding: 4rem 0;
}

.mission-content {
  max-width: 1000px;
  margin: 0 auto;
}

.mission-text h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.mission-text > p {
  font-size: 1.25rem;
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.mission-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pillar {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pillar:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: var(--glow-primary);
}

.pillar h3 {
  color: var(--accent-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.pillar p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* Team Section */
.team-section {
  padding: 6rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem 2rem;
  margin-top: 3rem;
  align-items: start;
}

.team-member-card {
  perspective: 1200px;
  height: 400px;
  cursor: pointer;
  position: relative;
  transform-style: preserve-3d;
}

.team-flip-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
  transform-style: preserve-3d;
  transform-origin: center center;
}

.team-member-card:hover .team-flip-card {
  transform: rotateY(180deg);
}

.team-flip-card-front,
.team-flip-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px var(--shadow-color);
  transform-style: preserve-3d;
}

.team-flip-card-front {
  position: relative;
}

.team-flip-card-back {
  transform: rotateY(180deg);
  background: var(--gradient-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.team-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.team-photo-placeholder .initials {
  font-size: 4rem;
  font-weight: 600;
  color: var(--bg-primary);
  font-family: 'Inter Tight', sans-serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.team-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(10, 14, 39, 0.95));
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  text-align: center;
  color: white;
}

.team-overlay h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.team-overlay p {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent-primary);
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.team-bio-content {
  padding: 2.5rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.team-bio-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.team-bio-content .team-role {
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
}

.team-bio-content .team-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Hover Effects */
.team-flip-card-front,
.team-flip-card-back {
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.team-member-card:hover .team-flip-card-front,
.team-member-card:hover .team-flip-card-back {
  box-shadow: 0 12px 40px var(--shadow-color);
}

/* Values Section */
.values-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
  width: 100%;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.value-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-primary);
  box-shadow: var(--glow-primary), 0 20px 40px var(--shadow-color);
}

.value-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.value-card:hover .value-icon svg {
  transform: scale(1.1);
}

.value-card h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.value-card p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
  padding: 6rem 0;
  width: 100%;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin: 4rem 0;
}

/* Testimonials Carousel */
.testimonials-carousel-section {
  padding: 6rem 0;
  width: 100%;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin: 4rem 0;
  overflow: hidden;
}

.testimonials-carousel-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 0;
}

.testimonials-carousel {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

.testimonial-slide {
  min-width: calc(33.333% - 1.5rem);
  margin-right: 2rem;
  opacity: 0.6;
  transform: scale(0.9);
  transition: all 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.testimonial-slide.active {
  opacity: 1;
  transform: scale(1);
}

.testimonial-slide.center {
  opacity: 1;
  transform: scale(1.05);
  z-index: 2;
}

.testimonial-slide:last-child {
  margin-right: 0;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 3;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-card);
  border: 2px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.carousel-btn:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
  border-color: var(--accent-primary);
  transform: scale(1.1);
  box-shadow: var(--glow-primary);
}

.carousel-btn:active {
  transform: scale(0.95);
}

.carousel-prev {
  margin-left: 2rem;
}

.carousel-next {
  margin-right: 2rem;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 3rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(34, 176, 250, 0.4);
}

.indicator:not(.active):hover {
  transform: scale(1.2);
}

/* Responsive Design for Carousel */
@media (max-width: 1024px) {
  .testimonial-slide {
    min-width: calc(50% - 1rem);
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
  
  .carousel-prev {
    margin-left: 1rem;
  }
  
  .carousel-next {
    margin-right: 1rem;
  }
}

@media (max-width: 768px) {
  .testimonials-carousel-section {
    padding: 4rem 0;
  }
  
  .testimonials-carousel-container {
    padding: 2rem 0;
  }
  
  .testimonial-slide {
    min-width: calc(100% - 2rem);
    margin-right: 1rem;
  }
  
  .testimonial-slide.center {
    transform: scale(1);
  }
  
  .carousel-controls {
    position: static;
    transform: none;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .carousel-prev,
  .carousel-next {
    margin: 0;
  }
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 6rem;
  color: var(--accent-primary);
  opacity: 0.1;
  font-family: 'Inter Tight', serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-secondary);
  box-shadow: var(--glow-secondary);
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.testimonial-content blockquote {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-style: italic;
  margin: 0 0 2rem 0;
  position: relative;
}

.testimonial-content cite {
  color: var(--accent-primary);
  font-style: normal;
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-content cite strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.25rem;
}

/* About CTA Section */
.about-cta {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.cta-content p {
  color: var(--text-secondary);
  font-size: 1.25rem;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .about-hero {
    padding: 6rem 0 3rem;
  }
  
  .mission-pillars {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .team-member-card {
    height: 350px;
    margin: 0;
  }
  
  .team-bio-content {
    padding: 2rem 1.5rem;
  }
  
  .team-bio-content .team-description {
    font-size: 0.9rem;
  }
  
  .team-overlay {
    padding: 1.5rem 1rem 1rem 1rem;
  }
  
  .team-overlay h3 {
    font-size: 1.2rem;
  }
  
  .team-overlay p {
    font-size: 0.9rem;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .testimonial-card {
    padding: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}


/* AI Approach Modal */
.ai-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1rem;
}

/* Managed BI Modal */
.managed-bi-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1rem;
}

.managed-bi-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.managed-bi-modal {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: scale(0.9) translateY(-20px);
  transition: all 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.managed-bi-modal-overlay.active .managed-bi-modal {
  transform: scale(1) translateY(0);
}

.managed-bi-modal-header {
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: var(--gradient-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1;
}

.managed-bi-modal-header h2 {
  color: var(--text-primary);
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.managed-bi-modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.managed-bi-modal-close:hover {
  color: var(--text-primary);
  background: var(--card-bg);
}

.managed-bi-modal-content {
  padding: 2rem;
  overflow-y: auto;
  max-height: calc(90vh - 100px);
}

.managed-bi-intro {
  margin-bottom: 2rem;
  text-align: center;
}

.managed-bi-intro p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.managed-bi-platform-section {
  margin-bottom: 2rem;
  text-align: center;
}

.managed-bi-platform-section h3 {
  color: var(--accent-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.managed-bi-platform-section p {
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.platform-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.feature {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-3px);
  border-color: var(--accent-primary);
  box-shadow: var(--glow-primary);
}

.feature.power-bi:hover {
  border-color: #22b0fa;
  box-shadow: 0 0 20px rgba(34, 176, 250, 0.3);
}

.feature.tableau:hover {
  border-color: #f59e0b;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.feature.looker:hover {
  border-color: #10b981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.feature .feature-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  background: var(--gradient-data);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
}

.feature .feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.feature h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.feature p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

.managed-services-section {
  margin-bottom: 2rem;
}

.managed-services-section h3 {
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  text-align: center;
}

.managed-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.benefit {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: center;
  font-size: 0.95rem;
}

.benefit strong {
  color: var(--accent-secondary);
}

.benefit h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.middle-market-section {
  margin-bottom: 2rem;
  text-align: center;
}

.middle-market-section h3 {
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.middle-market-points {
  display: grid;
  gap: 1rem;
}

.point {
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: center;
}

.point strong {
  color: var(--accent-secondary);
}

.managed-bi-result {
  text-align: center;
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.managed-bi-result h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.managed-bi-result p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.managed-bi-cta {
  text-align: center;
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
}

.managed-bi-cta h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.managed-bi-cta p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.managed-bi-modal-cta {
  margin: 0;
}

.managed-bi-trigger {
  cursor: pointer;
  font-family: inherit;
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.ai-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.ai-modal {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: scale(0.9) translateY(-20px);
  transition: all 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.ai-modal-overlay.active .ai-modal {
  transform: scale(1) translateY(0);
}

.ai-modal-header {
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: var(--gradient-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1;
}

.ai-modal-header h2 {
  color: var(--text-primary);
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.ai-modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-modal-close:hover {
  color: var(--text-primary);
  background: var(--card-bg);
}

.ai-modal-content {
  padding: 2rem;
  overflow-y: auto;
  max-height: calc(90vh - 100px);
}

.ai-intro {
  margin-bottom: 2rem;
  text-align: center;
}

.ai-intro p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.ai-internal-section {
  margin-bottom: 2rem;
  text-align: center;
}

.ai-internal-section h3 {
  color: var(--accent-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.ai-internal-section p {
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.ai-stages-section {
  margin-bottom: 2rem;
}

.ai-stages-section h3 {
  color: var(--accent-primary);
  margin-bottom: 2rem;
  font-size: 1.5rem;
  text-align: center;
}

.ai-stages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.ai-stage-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.ai-stage-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-primary);
  box-shadow: var(--glow-primary);
}

.ai-stage-card.crawl:hover {
  border-color: #22b0fa;
  box-shadow: 0 0 20px rgba(34, 176, 250, 0.3);
}

.ai-stage-card.walk:hover {
  border-color: #f59e0b;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.ai-stage-card.run:hover {
  border-color: #10b981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.ai-stage-card .stage-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  background: var(--gradient-data);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
}

.ai-stage-card .stage-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.ai-stage-card h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.ai-stage-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

.ai-principles {
  margin-bottom: 2rem;
}

.ai-principles h3 {
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  text-align: center;
}

.principles-list {
  display: grid;
  gap: 1rem;
}

.principle {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: center;
}

.principle strong {
  color: var(--accent-secondary);
}

.ai-cta {
  text-align: center;
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
}

.ai-cta h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.ai-cta p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.ai-modal-cta {
  margin: 0;
}

.ai-approach-trigger {
  cursor: pointer;
  font-family: inherit;
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

@media (max-width: 768px) {
  .ai-modal {
    margin: 0.5rem;
    max-height: 95vh;
  }
  
  .ai-modal-header {
    padding: 1.5rem 1.5rem 1rem;
  }
  
  .ai-modal-content {
    padding: 1.5rem;
  }
  
  .ai-stages-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .ai-stage-card {
    padding: 1rem;
  }
  
  .principles-list {
    gap: 0.75rem;
  }
  
  /* Managed BI Modal Mobile Styles */
  .managed-bi-modal {
    margin: 0.5rem;
    max-height: 95vh;
  }
  
  .managed-bi-modal-header {
    padding: 1.5rem 1.5rem 1rem;
  }
  
  .managed-bi-modal-content {
    padding: 1.5rem;
  }
  
  .platform-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .feature {
    padding: 1rem;
  }
  
  .managed-benefits {
    gap: 0.75rem;
  }
  
  .middle-market-points {
    gap: 0.75rem;
  }
  
  .hero-ctas {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ===================================
   WHY RENDER ANALYTICS ICONS ANIMATIONS
   =================================== */

/* Icon 1: We've Been in Your Shoes (Operators) */
.why-icon-operators .animate-draw-line-1 {
  stroke-dasharray: 15;
  animation: draw-line-1 4s infinite;
}

.why-icon-operators .animate-draw-line-2 {
  stroke-dasharray: 12;
  animation: draw-line-2 4s infinite;
}

.why-icon-operators .animate-draw-line-3 {
  stroke-dasharray: 18;
  animation: draw-line-3 4s infinite;
}

.why-icon-operators .animate-seal {
  animation: scale-in-seal 4s infinite;
}

.why-icon-operators .animate-checkmark {
  stroke-dasharray: 10;
  animation: draw-checkmark 4s infinite;
}

.why-icon-operators .animate-indicator-1 {
  animation: scale-in-indicator-1 4s infinite;
}

.why-icon-operators .animate-indicator-2 {
  animation: scale-in-indicator-2 4s infinite;
}

.why-icon-operators .animate-text {
  animation: fade-in-text 4s infinite;
}

@keyframes draw-line-1 {
  0%, 5% { stroke-dashoffset: 15; }
  15%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 15; }
}

@keyframes draw-line-2 {
  0%, 10% { stroke-dashoffset: 12; }
  20%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 12; }
}

@keyframes draw-line-3 {
  0%, 15% { stroke-dashoffset: 18; }
  25%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 18; }
}

@keyframes scale-in-seal {
  0%, 20% { transform: scale(0); }
  30%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes draw-checkmark {
  0%, 30% { stroke-dashoffset: 10; }
  40%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 10; }
}

@keyframes scale-in-indicator-1 {
  0%, 35% { transform: scale(0); }
  45%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes scale-in-indicator-2 {
  0%, 40% { transform: scale(0); }
  50%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes fade-in-text {
  0%, 45% { opacity: 0; }
  55%, 85% { opacity: 1; }
  100% { opacity: 0; }
}

/* Icon 2: Focused on Time-to-Value (Speed/Racing) */
.why-icon-time-value .animate-track {
  stroke-dasharray: 150;
  animation: draw-track 5s infinite;
}

.why-icon-time-value .animate-marker-1 {
  animation: scale-marker-1 5s infinite;
}

.why-icon-time-value .animate-marker-2 {
  animation: scale-marker-2 5s infinite;
}

.why-icon-time-value .animate-marker-3 {
  animation: scale-marker-3 5s infinite;
}

.why-icon-time-value .animate-marker-4 {
  animation: scale-marker-4 5s infinite;
}

.why-icon-time-value .animate-car {
  animation: move-car 5s infinite;
}

.why-icon-time-value .animate-speed-line-1 {
  stroke-dasharray: 6;
  animation: speed-line-1 5s infinite;
}

.why-icon-time-value .animate-speed-line-2 {
  stroke-dasharray: 6;
  animation: speed-line-2 5s infinite;
}

.why-icon-time-value .animate-speed-line-3 {
  stroke-dasharray: 6;
  animation: speed-line-3 5s infinite;
}

.why-icon-time-value .animate-value-badge {
  animation: scale-badge 5s infinite;
}

.why-icon-time-value .animate-value-text {
  animation: fade-value-text 5s infinite;
}

@keyframes draw-track {
  0%, 5% { stroke-dashoffset: 150; }
  20%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 150; }
}

@keyframes scale-marker-1 {
  0%, 10% { transform: scale(0); }
  20%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes scale-marker-2 {
  0%, 15% { transform: scale(0); }
  25%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes scale-marker-3 {
  0%, 20% { transform: scale(0); }
  30%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes scale-marker-4 {
  0%, 25% { transform: scale(0); }
  35%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes move-car {
  0%, 30% { transform: translateX(-10px) scale(0.8); }
  50%, 85% { transform: translateX(0) scale(1); }
  100% { transform: translateX(-10px) scale(0.8); }
}

@keyframes speed-line-1 {
  0%, 45% { stroke-dashoffset: 6; }
  55%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 6; }
}

@keyframes speed-line-2 {
  0%, 47% { stroke-dashoffset: 6; }
  57%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 6; }
}

@keyframes speed-line-3 {
  0%, 49% { stroke-dashoffset: 6; }
  59%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 6; }
}

@keyframes scale-badge {
  0%, 60% { transform: scale(0); }
  70%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes fade-value-text {
  0%, 70% { opacity: 0; }
  80%, 85% { opacity: 1; }
  100% { opacity: 0; }
}

/* Icon 3: KPIs that Matter (Dashboard) */
.why-icon-kpis .animate-dashboard {
  stroke-dasharray: 140;
  animation: draw-dashboard 6s infinite;
}

.why-icon-kpis .animate-widget-1 {
  animation: slide-widget-1 6s infinite;
}

.why-icon-kpis .animate-widget-2 {
  animation: slide-widget-2 6s infinite;
}

.why-icon-kpis .animate-widget-3 {
  animation: slide-widget-3 6s infinite;
}

.why-icon-kpis .animate-bar-1 {
  transform-origin: bottom;
  animation: grow-bar-1 6s infinite;
}

.why-icon-kpis .animate-bar-2 {
  transform-origin: bottom;
  animation: grow-bar-2 6s infinite;
}

.why-icon-kpis .animate-bar-3 {
  transform-origin: bottom;
  animation: grow-bar-3 6s infinite;
}

.why-icon-kpis .animate-bar-4 {
  transform-origin: bottom;
  animation: grow-bar-4 6s infinite;
}

.why-icon-kpis .animate-pulse {
  animation: pulse-kpi 2s infinite 2s;
}

.why-icon-kpis .animate-target-ring {
  stroke-dasharray: 38;
  animation: draw-target-ring 6s infinite;
}

.why-icon-kpis .animate-target-center {
  animation: scale-target-center 6s infinite;
}

.why-icon-kpis .animate-performance-arrow {
  animation: fade-arrow 6s infinite;
}

@keyframes draw-dashboard {
  0%, 5% { stroke-dashoffset: 140; }
  15%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 140; }
}

@keyframes slide-widget-1 {
  0%, 10% { transform: translateY(-10px); opacity: 0; }
  20%, 85% { transform: translateY(0); opacity: 0.6; }
  100% { transform: translateY(-10px); opacity: 0; }
}

@keyframes slide-widget-2 {
  0%, 15% { transform: translateY(-10px); opacity: 0; }
  25%, 85% { transform: translateY(0); opacity: 0.6; }
  100% { transform: translateY(-10px); opacity: 0; }
}

@keyframes slide-widget-3 {
  0%, 20% { transform: translateY(-10px); opacity: 0; }
  30%, 85% { transform: translateY(0); opacity: 0.6; }
  100% { transform: translateY(-10px); opacity: 0; }
}

@keyframes grow-bar-1 {
  0%, 25% { transform: scaleY(0); }
  35%, 85% { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}

@keyframes grow-bar-2 {
  0%, 30% { transform: scaleY(0); }
  40%, 85% { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}

@keyframes grow-bar-3 {
  0%, 35% { transform: scaleY(0); }
  45%, 85% { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}

@keyframes grow-bar-4 {
  0%, 40% { transform: scaleY(0); }
  50%, 85% { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}

@keyframes pulse-kpi {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}

@keyframes draw-target-ring {
  0%, 55% { stroke-dashoffset: 38; }
  65%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 38; }
}

@keyframes scale-target-center {
  0%, 65% { transform: scale(0); }
  75%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes fade-arrow {
  0%, 75% { opacity: 0; }
  85% { opacity: 1; }
  100% { opacity: 0; }
}

/* Icon 4: Smart Tech, Human Results (AI Brain) */
.why-icon-ai-tech .animate-ai-brain {
  stroke-dasharray: 200;
  animation: draw-ai-brain 7s infinite;
}

.why-icon-ai-tech .animate-neural-node-1 {
  animation: scale-neural-1 7s infinite;
}

.why-icon-ai-tech .animate-neural-node-2 {
  animation: scale-neural-2 7s infinite;
}

.why-icon-ai-tech .animate-neural-node-3 {
  animation: scale-neural-3 7s infinite;
}

.why-icon-ai-tech .animate-neural-node-4 {
  animation: scale-neural-4 7s infinite;
}

.why-icon-ai-tech .animate-neural-node-5 {
  animation: scale-neural-5 7s infinite;
}

.why-icon-ai-tech .animate-neural-node-6 {
  animation: scale-neural-6 7s infinite;
}

.why-icon-ai-tech .animate-neural-node-7 {
  animation: scale-neural-7 7s infinite;
}

.why-icon-ai-tech .animate-connection-1 {
  stroke-dasharray: 15;
  animation: draw-connection-1 7s infinite;
}

.why-icon-ai-tech .animate-connection-2 {
  stroke-dasharray: 15;
  animation: draw-connection-2 7s infinite;
}

.why-icon-ai-tech .animate-connection-3 {
  stroke-dasharray: 15;
  animation: draw-connection-3 7s infinite;
}

.why-icon-ai-tech .animate-connection-4 {
  stroke-dasharray: 15;
  animation: draw-connection-4 7s infinite;
}

.why-icon-ai-tech .animate-connection-5 {
  stroke-dasharray: 15;
  animation: draw-connection-5 7s infinite;
}

.why-icon-ai-tech .animate-human-indicator {
  animation: scale-human-indicator 7s infinite;
}

.why-icon-ai-tech .animate-human-check {
  stroke-dasharray: 10;
  animation: draw-human-check 7s infinite;
}

@keyframes draw-ai-brain {
  0%, 5% { stroke-dashoffset: 200; }
  20%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 200; }
}

@keyframes scale-neural-1 {
  0%, 10% { transform: scale(0); }
  20%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes scale-neural-2 {
  0%, 15% { transform: scale(0); }
  25%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes scale-neural-3 {
  0%, 20% { transform: scale(0); }
  30%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes scale-neural-4 {
  0%, 25% { transform: scale(0); }
  35%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes scale-neural-5 {
  0%, 30% { transform: scale(0); }
  40%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes scale-neural-6 {
  0%, 35% { transform: scale(0); }
  45%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes scale-neural-7 {
  0%, 40% { transform: scale(0); }
  50%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes draw-connection-1 {
  0%, 50% { stroke-dashoffset: 15; }
  60%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 15; }
}

@keyframes draw-connection-2 {
  0%, 52% { stroke-dashoffset: 15; }
  62%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 15; }
}

@keyframes draw-connection-3 {
  0%, 54% { stroke-dashoffset: 15; }
  64%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 15; }
}

@keyframes draw-connection-4 {
  0%, 56% { stroke-dashoffset: 15; }
  66%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 15; }
}

@keyframes draw-connection-5 {
  0%, 58% { stroke-dashoffset: 15; }
  68%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 15; }
}

@keyframes scale-human-indicator {
  0%, 70% { transform: scale(0); }
  80%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes draw-human-check {
  0%, 80% { stroke-dashoffset: 10; }
  85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 10; }
}

/* Icon 5: Tailored for Middle Market (Puzzle) */
.why-icon-tailored .animate-puzzle-main {
  animation: scale-puzzle-main 6s infinite;
}

.why-icon-tailored .animate-puzzle-outline {
  animation: draw-puzzle-outline 6s infinite;
}

.why-icon-tailored .animate-market-indicator {
  animation: scale-market-indicator 6s infinite;
}

.why-icon-tailored .animate-market-text {
  animation: fade-market-text 6s infinite;
}

.why-icon-tailored .animate-fit-check-1 {
  stroke-dasharray: 8;
  animation: draw-fit-check-1 6s infinite;
}

.why-icon-tailored .animate-fit-check-2 {
  stroke-dasharray: 8;
  animation: draw-fit-check-2 6s infinite;
}

@keyframes scale-puzzle-main {
  0%, 5% { transform: scale(0); }
  15%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes draw-puzzle-outline {
  0%, 15% { stroke-dashoffset: 200; }
  30%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 200; }
}

@keyframes scale-market-indicator {
  0%, 40% { transform: scale(0); }
  50%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes fade-market-text {
  0%, 60% { opacity: 0; }
  70%, 85% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes draw-fit-check-1 {
  0%, 70% { stroke-dashoffset: 8; }
  80%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 8; }
}

@keyframes draw-fit-check-2 {
  0%, 75% { stroke-dashoffset: 8; }
  85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 8; }
}

/* Accessibility: Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .why-icon-operators *,
  .why-icon-time-value *,
  .why-icon-kpis *,
  .why-icon-ai-tech *,
  .why-icon-tailored * {
    animation: none !important;
  }
  
  /* Show all elements in their final state when animations are disabled */
  .animate-draw-line-1,
  .animate-draw-line-2,
  .animate-draw-line-3,
  .animate-checkmark,
  .animate-track,
  .animate-speed-line-1,
  .animate-speed-line-2,
  .animate-speed-line-3,
  .animate-dashboard,
  .animate-target-ring,
  .animate-ai-brain,
  .animate-connection-1,
  .animate-connection-2,
  .animate-connection-3,
  .animate-connection-4,
  .animate-connection-5,
  .animate-human-check,
  .animate-puzzle-outline,
  .animate-fit-check-1,
  .animate-fit-check-2 {
    stroke-dashoffset: 0 !important;
  }
  
  .animate-seal,
  .animate-indicator-1,
  .animate-indicator-2,
  .animate-marker-1,
  .animate-marker-2,
  .animate-marker-3,
  .animate-marker-4,
  .animate-value-badge,
  .animate-target-center,
  .animate-neural-node-1,
  .animate-neural-node-2,
  .animate-neural-node-3,
  .animate-neural-node-4,
  .animate-neural-node-5,
  .animate-neural-node-6,
  .animate-neural-node-7,
  .animate-human-indicator,
  .animate-puzzle-main,
  .animate-market-indicator {
    transform: scale(1) !important;
  }
  
  .animate-car {
    transform: translateX(0) scale(1) !important;
  }
  
  .animate-widget-1,
  .animate-widget-2,
  .animate-widget-3 {
    transform: translateY(0) !important;
    opacity: 0.6 !important;
  }
  
  .animate-text,
  .animate-value-text,
  .animate-market-text {
    opacity: 1 !important;
  }
}

/* ===================================
   ABOUT PAGE ICONS ANIMATIONS
   =================================== */

/* Icon 1: Former Operators */
.about-icon-operators .animate-briefcase {
  animation: scale-briefcase 5s infinite;
}

.about-icon-operators .animate-doc-1 {
  animation: fade-doc-1 5s infinite;
}

.about-icon-operators .animate-doc-2 {
  animation: fade-doc-2 5s infinite;
}

.about-icon-operators .animate-doc-3 {
  animation: fade-doc-3 5s infinite;
}

.about-icon-operators .animate-c-suite {
  animation: scale-c-suite 5s infinite;
}

.about-icon-operators .animate-c-text {
  animation: fade-c-text 5s infinite;
}

.about-icon-operators .animate-timeline {
  stroke-dasharray: 40;
  animation: draw-timeline 5s infinite;
}

.about-icon-operators .animate-milestone-1 {
  animation: scale-milestone-1 5s infinite;
}

.about-icon-operators .animate-milestone-2 {
  animation: scale-milestone-2 5s infinite;
}

.about-icon-operators .animate-milestone-3 {
  animation: scale-milestone-3 5s infinite;
}

.about-icon-operators .animate-milestone-4 {
  animation: scale-milestone-4 5s infinite;
}

.about-icon-operators .animate-pe-badge {
  animation: scale-pe-badge 5s infinite;
}

.about-icon-operators .animate-pe-text {
  animation: fade-pe-text 5s infinite;
}

@keyframes scale-briefcase {
  0%, 10% { transform: scale(0); }
  20%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes fade-doc-1 {
  0%, 25% { opacity: 0; }
  35%, 85% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes fade-doc-2 {
  0%, 30% { opacity: 0; }
  40%, 85% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes fade-doc-3 {
  0%, 35% { opacity: 0; }
  45%, 85% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes scale-c-suite {
  0%, 15% { transform: scale(0); }
  25%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes fade-c-text {
  0%, 25% { opacity: 0; }
  35%, 85% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes draw-timeline {
  0%, 40% { stroke-dashoffset: 40; }
  55%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 40; }
}

@keyframes scale-milestone-1 {
  0%, 55% { transform: scale(0); }
  65%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes scale-milestone-2 {
  0%, 60% { transform: scale(0); }
  70%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes scale-milestone-3 {
  0%, 65% { transform: scale(0); }
  75%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes scale-milestone-4 {
  0%, 70% { transform: scale(0); }
  80%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes scale-pe-badge {
  0%, 5% { transform: scale(0); }
  15%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes fade-pe-text {
  0%, 15% { opacity: 0; }
  25%, 85% { opacity: 1; }
  100% { opacity: 0; }
}

/* Icon 2: Business-First Approach */
.about-icon-business .animate-target-outer {
  animation: scale-target-outer 6s infinite;
}

.about-icon-business .animate-target-middle {
  animation: scale-target-middle 6s infinite;
}

.about-icon-business .animate-target-inner {
  animation: scale-target-inner 6s infinite;
}

.about-icon-business .animate-solution-arrow {
  stroke-dasharray: 25;
  animation: draw-solution-arrow 6s infinite;
}

.about-icon-business .animate-bullseye {
  animation: scale-bullseye 6s infinite;
}

.about-icon-business .animate-problem-1 {
  animation: fade-problem-1 6s infinite;
}

.about-icon-business .animate-problem-2 {
  animation: fade-problem-2 6s infinite;
}

.about-icon-business .animate-problem-3 {
  animation: fade-problem-3 6s infinite;
}

.about-icon-business .animate-results {
  animation: scale-results 6s infinite;
}

.about-icon-business .animate-results-text {
  animation: fade-results-text 6s infinite;
}

@keyframes scale-target-outer {
  0%, 5% { transform: scale(0); }
  15%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes scale-target-middle {
  0%, 10% { transform: scale(0); }
  20%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes scale-target-inner {
  0%, 15% { transform: scale(0); }
  25%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes draw-solution-arrow {
  0%, 20% { stroke-dashoffset: 25; }
  40%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 25; }
}

@keyframes scale-bullseye {
  0%, 40% { transform: scale(0); }
  50%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes fade-problem-1 {
  0%, 5% { opacity: 0.6; }
  20%, 25% { opacity: 0; }
  100% { opacity: 0.6; }
}

@keyframes fade-problem-2 {
  0%, 10% { opacity: 0.6; }
  25%, 30% { opacity: 0; }
  100% { opacity: 0.6; }
}

@keyframes fade-problem-3 {
  0%, 15% { opacity: 0.6; }
  30%, 35% { opacity: 0; }
  100% { opacity: 0.6; }
}

@keyframes scale-results {
  0%, 60% { transform: scale(0); }
  70%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes fade-results-text {
  0%, 70% { opacity: 0; }
  80%, 85% { opacity: 1; }
  100% { opacity: 0; }
}

/* Icon 3: Long-Term Partnerships */
.about-icon-partnerships .animate-center-partner {
  animation: scale-center-partner 7s infinite;
}

.about-icon-partnerships .animate-center-text {
  animation: fade-center-text 7s infinite;
}

.about-icon-partnerships .animate-client-1 {
  animation: scale-client-1 7s infinite;
}

.about-icon-partnerships .animate-client-2 {
  animation: scale-client-2 7s infinite;
}

.about-icon-partnerships .animate-client-3 {
  animation: scale-client-3 7s infinite;
}

.about-icon-partnerships .animate-client-4 {
  animation: scale-client-4 7s infinite;
}

.about-icon-partnerships .animate-client-5 {
  animation: scale-client-5 7s infinite;
}

.about-icon-partnerships .animate-connection-1 {
  stroke-dasharray: 10;
  animation: draw-connection-1 7s infinite;
}

.about-icon-partnerships .animate-connection-2 {
  stroke-dasharray: 10;
  animation: draw-connection-2 7s infinite;
}

.about-icon-partnerships .animate-connection-3 {
  stroke-dasharray: 10;
  animation: draw-connection-3 7s infinite;
}

.about-icon-partnerships .animate-connection-4 {
  stroke-dasharray: 8;
  animation: draw-connection-4 7s infinite;
}

.about-icon-partnerships .animate-connection-5 {
  stroke-dasharray: 10;
  animation: draw-connection-5 7s infinite;
}

.about-icon-partnerships .animate-growth-curve {
  stroke-dasharray: 50;
  animation: draw-growth-curve 7s infinite;
}

.about-icon-partnerships .animate-strategy-badge {
  animation: scale-strategy-badge 7s infinite;
}

.about-icon-partnerships .animate-strategy-text {
  animation: fade-strategy-text 7s infinite;
}

@keyframes scale-center-partner {
  0%, 5% { transform: scale(0); }
  15%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes fade-center-text {
  0%, 15% { opacity: 0; }
  25%, 85% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes scale-client-1 {
  0%, 20% { transform: scale(0); }
  30%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes scale-client-2 {
  0%, 25% { transform: scale(0); }
  35%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes scale-client-3 {
  0%, 30% { transform: scale(0); }
  40%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes scale-client-4 {
  0%, 35% { transform: scale(0); }
  45%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes scale-client-5 {
  0%, 40% { transform: scale(0); }
  50%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes draw-connection-1 {
  0%, 30% { stroke-dashoffset: 10; }
  45%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 10; }
}

@keyframes draw-connection-2 {
  0%, 35% { stroke-dashoffset: 10; }
  50%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 10; }
}

@keyframes draw-connection-3 {
  0%, 40% { stroke-dashoffset: 10; }
  55%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 10; }
}

@keyframes draw-connection-4 {
  0%, 45% { stroke-dashoffset: 8; }
  60%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 8; }
}

@keyframes draw-connection-5 {
  0%, 50% { stroke-dashoffset: 10; }
  65%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 10; }
}

@keyframes draw-growth-curve {
  0%, 60% { stroke-dashoffset: 50; }
  75%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 50; }
}

@keyframes scale-strategy-badge {
  0%, 5% { transform: scale(0); }
  15%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes fade-strategy-text {
  0%, 15% { opacity: 0; }
  25%, 85% { opacity: 1; }
  100% { opacity: 0; }
}

/* Icon 4: Proven Reliability */
.about-icon-reliability .animate-shield {
  stroke-dasharray: 60;
  animation: draw-shield 8s infinite;
}

.about-icon-reliability .animate-quality-check {
  stroke-dasharray: 20;
  animation: draw-quality-check 8s infinite;
}

.about-icon-reliability .animate-trust-1 {
  animation: scale-trust-1 8s infinite;
}

.about-icon-reliability .animate-trust-2 {
  animation: scale-trust-2 8s infinite;
}

.about-icon-reliability .animate-trust-3 {
  animation: scale-trust-3 8s infinite;
}

.about-icon-reliability .animate-trust-4 {
  animation: scale-trust-4 8s infinite;
}

.about-icon-reliability .animate-connect-1 {
  stroke-dasharray: 5;
  animation: draw-connect-1 8s infinite;
}

.about-icon-reliability .animate-connect-2 {
  stroke-dasharray: 5;
  animation: draw-connect-2 8s infinite;
}

.about-icon-reliability .animate-connect-3 {
  stroke-dasharray: 5;
  animation: draw-connect-3 8s infinite;
}

.about-icon-reliability .animate-connect-4 {
  stroke-dasharray: 5;
  animation: draw-connect-4 8s infinite;
}

.about-icon-reliability .animate-track-record {
  animation: scale-track-record 8s infinite;
}

.about-icon-reliability .animate-track-text {
  animation: fade-track-text 8s infinite;
}

.about-icon-reliability .animate-delivery {
  animation: scale-delivery 8s infinite;
}

.about-icon-reliability .animate-delivery-text {
  animation: fade-delivery-text 8s infinite;
}

@keyframes draw-shield {
  0%, 5% { stroke-dashoffset: 60; }
  20%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 60; }
}

@keyframes draw-quality-check {
  0%, 25% { stroke-dashoffset: 20; }
  40%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 20; }
}

@keyframes scale-trust-1 {
  0%, 15% { transform: scale(0); }
  25%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes scale-trust-2 {
  0%, 20% { transform: scale(0); }
  30%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes scale-trust-3 {
  0%, 25% { transform: scale(0); }
  35%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes scale-trust-4 {
  0%, 30% { transform: scale(0); }
  40%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes draw-connect-1 {
  0%, 25% { stroke-dashoffset: 5; }
  35%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 5; }
}

@keyframes draw-connect-2 {
  0%, 30% { stroke-dashoffset: 5; }
  40%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 5; }
}

@keyframes draw-connect-3 {
  0%, 35% { stroke-dashoffset: 5; }
  45%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 5; }
}

@keyframes draw-connect-4 {
  0%, 40% { stroke-dashoffset: 5; }
  50%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 5; }
}

@keyframes scale-track-record {
  0%, 60% { transform: scale(0); }
  70%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes fade-track-text {
  0%, 70% { opacity: 0; }
  80%, 85% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes scale-delivery {
  0%, 65% { transform: scale(0); }
  75%, 85% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes fade-delivery-text {
  0%, 75% { opacity: 0; }
  85% { opacity: 1; }
  100% { opacity: 0; }
}

/* Accessibility: Respect reduced motion preferences for about page icons */
@media (prefers-reduced-motion: reduce) {
  .about-icon-operators *,
  .about-icon-business *,
  .about-icon-partnerships *,
  .about-icon-reliability * {
    animation: none !important;
  }
  
  /* Show all elements in their final state when animations are disabled */
  .about-icon-operators .animate-briefcase,
  .about-icon-operators .animate-c-suite,
  .about-icon-operators .animate-milestone-1,
  .about-icon-operators .animate-milestone-2,
  .about-icon-operators .animate-milestone-3,
  .about-icon-operators .animate-milestone-4,
  .about-icon-operators .animate-pe-badge,
  .about-icon-business .animate-target-outer,
  .about-icon-business .animate-target-middle,
  .about-icon-business .animate-target-inner,
  .about-icon-business .animate-bullseye,
  .about-icon-business .animate-results,
  .about-icon-partnerships .animate-center-partner,
  .about-icon-partnerships .animate-client-1,
  .about-icon-partnerships .animate-client-2,
  .about-icon-partnerships .animate-client-3,
  .about-icon-partnerships .animate-client-4,
  .about-icon-partnerships .animate-client-5,
  .about-icon-partnerships .animate-strategy-badge,
  .about-icon-reliability .animate-trust-1,
  .about-icon-reliability .animate-trust-2,
  .about-icon-reliability .animate-trust-3,
  .about-icon-reliability .animate-trust-4,
  .about-icon-reliability .animate-track-record,
  .about-icon-reliability .animate-delivery {
    transform: scale(1) !important;
  }
  
  .about-icon-operators .animate-timeline,
  .about-icon-business .animate-solution-arrow,
  .about-icon-partnerships .animate-connection-1,
  .about-icon-partnerships .animate-connection-2,
  .about-icon-partnerships .animate-connection-3,
  .about-icon-partnerships .animate-connection-4,
  .about-icon-partnerships .animate-connection-5,
  .about-icon-partnerships .animate-growth-curve,
  .about-icon-reliability .animate-shield,
  .about-icon-reliability .animate-quality-check,
  .about-icon-reliability .animate-connect-1,
  .about-icon-reliability .animate-connect-2,
  .about-icon-reliability .animate-connect-3,
  .about-icon-reliability .animate-connect-4 {
    stroke-dashoffset: 0 !important;
  }
  
  .about-icon-operators .animate-doc-1,
  .about-icon-operators .animate-doc-2,
  .about-icon-operators .animate-doc-3,
  .about-icon-operators .animate-c-text,
  .about-icon-operators .animate-pe-text,
  .about-icon-business .animate-results-text,
  .about-icon-partnerships .animate-center-text,
  .about-icon-partnerships .animate-strategy-text,
  .about-icon-reliability .animate-track-text,
  .about-icon-reliability .animate-delivery-text {
    opacity: 1 !important;
  }
}

/* ===================================
   ENHANCED MOBILE OPTIMIZATIONS
   =================================== */

/* Tablet breakpoint improvements */
@media (max-width: 1024px) {
  /* Better hero section for tablets */
  .hero-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  /* Improved process steps for tablets */
  .process-step {
    grid-template-columns: auto 1fr;
    gap: 2rem;
  }
  
  .step-visual {
    width: 100%;
    height: 280px;
  }
}

/* Mobile-first improvements */
@media (max-width: 768px) {
  /* Enhanced hero section */
  .hero-container {
    padding: 2rem 0;
    min-height: 70vh;
  }
  
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  /* Better mobile navigation */
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
  }
  
  .nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--border-color);
    padding: 2rem;
    transition: left 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .nav-link {
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
  }
  
  .nav-link:hover {
    background: rgba(0, 217, 255, 0.1);
  }
  
  /* Mobile overlay for menu */
  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  .mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  /* Improved mobile typography */
  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    line-height: 1.2;
  }
  
  .section-subtitle {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .value-prop-card h3 {
    font-size: 1.3rem;
  }
  
  .value-prop-card p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  /* Better mobile spacing */
  section {
    padding: 3rem 0;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  /* Mobile form improvements */
  .contact-form {
    gap: 1.5rem;
  }
  
  .form-group input,
  .form-group textarea {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 1rem;
  }
  
  .form-group label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .btn-submit {
    padding: 1rem 2rem;
    font-size: 1rem;
    min-height: 48px; /* Better touch target */
  }
  
  /* Mobile carousel improvements */
  .carousel-btn {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
  
  .clients-carousel {
    padding: 0 1rem;
  }
  
  .testimonials-carousel {
    padding: 0 1rem;
  }
  
  /* Mobile card adjustments */
  .value-prop-card,
  .value-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .card-icon,
  .value-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem;
  }
  
  /* Mobile process steps */
  .step-number {
    font-size: 2rem;
  }
  
  .step-visual {
    width: 100%;
    height: 300px;
    margin: 0 auto 1rem;
  }
  
  /* Mobile footer */
  .footer {
    padding: 2rem 0;
  }
  
  /* Mobile AI modal */
  .ai-modal {
    margin: 1rem;
    max-height: 90vh;
    border-radius: 12px;
  }
  
  .ai-modal-header {
    padding: 1.5rem 1.5rem 1rem;
  }
  
  .ai-modal-header h2 {
    font-size: 1.3rem;
  }
  
  .ai-modal-content {
    padding: 0 1.5rem 1.5rem;
  }
  
  /* Mobile Managed BI modal */
  .managed-bi-modal {
    margin: 1rem;
    max-height: 90vh;
    border-radius: 12px;
  }
  
  .managed-bi-modal-header {
    padding: 1.5rem 1.5rem 1rem;
  }
  
  .managed-bi-modal-header h2 {
    font-size: 1.3rem;
  }
  
  .managed-bi-modal-content {
    padding: 0 1.5rem 1.5rem;
  }
  
  /* Touch-friendly interactions */
  .indicator {
    min-width: 20px;
    min-height: 20px;
  }
  
  .carousel-btn {
    min-width: 44px;
    min-height: 44px;
  }
  
  /* Disable animations on mobile for performance */
  .about-icon,
  .why-icon-operators,
  .why-icon-time-value,
  .why-icon-kpis,
  .why-icon-ai-tech,
  .why-icon-tailored {
    animation-duration: 8s; /* Slower animations on mobile */
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.2rem);
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .btn {
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
  }
  
  .section-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
  
  .value-prop-card,
  .value-card {
    padding: 1rem;
  }
  
  .card-icon,
  .value-icon {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem;
  }
  
  .icon-svg {
    margin: 0 auto;
  }
  
  .nav-menu {
    width: 90%;
    padding: 1.5rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 0.8rem;
  }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-container {
    min-height: 60vh;
    padding: 1rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .ai-modal {
    max-height: 85vh;
  }
  
  .managed-bi-modal {
    max-height: 85vh;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .client-logo,
  .logo {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects on touch devices */
  .value-prop-card:hover,
  .value-card:hover,
  .client-slide:hover {
    transform: none;
  }
  
  /* Add tap effects instead */
  .value-prop-card:active,
  .value-card:active {
    transform: scale(0.98);
  }
  
  .btn:active {
    transform: scale(0.95);
  }
  
  /* Better touch targets */
  .nav-link,
  .btn,
  .carousel-btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .indicator {
    min-height: 20px;
    min-width: 20px;
  }
}

/* Mobile Animation Performance Optimizations */
@media (max-width: 768px) {
  /* Reduce motion for mobile performance */
  @media (prefers-reduced-motion: no-preference) {
    /* Optimize animated icons for mobile */
    .why-icon,
    .about-icon {
      will-change: transform;
    }
    
    /* Reduce animation complexity on smaller screens */
    .why-icon svg,
    .about-icon svg {
      animation-duration: 6s; /* Slightly slower for mobile */
    }
    
    /* Optimize carousel animations */
    .testimonials-carousel,
    .clients-carousel {
      will-change: transform;
    }
    
    /* Reduce particle system complexity on mobile */
    #particle-canvas {
      opacity: 0.3; /* Reduce visual impact */
    }
  }
  
  /* Completely disable animations for reduced motion preference */
  @media (prefers-reduced-motion: reduce) {
    .why-icon *,
    .about-icon *,
    .fade-in,
    .stagger-item {
      animation: none !important;
      transition: none !important;
    }
    
    .testimonials-carousel,
    .clients-carousel {
      transition: transform 0.3s ease !important;
    }
  }
  
  /* Mobile-specific icon optimizations */
  .why-icon,
  .about-icon {
    /* Use GPU acceleration for smooth animations */
    transform: translateZ(0);
    backface-visibility: hidden;
  }
  
  /* Optimize mobile scrolling */
  .mobile-open {
    -webkit-overflow-scrolling: touch;
  }
  
  /* Reduce animation frequency for battery saving */
  .why-icon-time-value .animate-car {
    animation-duration: 7s;
  }
  
  .why-icon-real-time .animate-pulse {
    animation-duration: 3s;
  }
}

/* Enhanced Mobile Typography & Spacing */
@media (max-width: 768px) {
  /* Improved readability and spacing */
  h1, .hero-title {
    font-size: clamp(2.2rem, 9vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
  }
  
  h2, .section-header h2 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-bottom: 1.25rem;
  }
  
  h3 {
    font-size: clamp(1.2rem, 4.5vw, 1.6rem);
    line-height: 1.3;
    margin-bottom: 1rem;
  }
  
  p, .hero-subtitle, .section-subtitle {
    font-size: clamp(0.95rem, 3.5vw, 1.1rem);
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  
  /* Better section spacing */
  section {
    padding: 3rem 0;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .section-header {
    margin-bottom: 2.5rem;
    text-align: center;
  }
  
  /* Improved card spacing */
  .value-props-grid,
  .values-grid,
  .deliverables-grid {
    gap: 2rem;
  }
  
  .value-prop-card,
  .value-card,
  .deliverable-item {
    padding: 2rem 1.5rem;
  }
  
  /* Better mobile button sizing */
  .btn {
    font-size: 1rem;
    padding: 1rem 2rem;
    min-height: 48px;
    border-radius: 8px;
  }
  
  /* Optimize text blocks for mobile reading */
  .team-description,
  .testimonial-content blockquote {
    font-size: 0.95rem;
    line-height: 1.65;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  /* Tighter spacing for small screens */
  section {
    padding: 2.5rem 0;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  h1, .hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  
  h2 {
    font-size: clamp(1.4rem, 5.5vw, 2rem);
  }
  
  p {
    font-size: clamp(0.9rem, 3vw, 1rem);
  }
  
  .value-props-grid,
  .values-grid {
    gap: 1.5rem;
  }
  
  .value-prop-card,
  .value-card {
    padding: 1.5rem 1rem;
  }
  
  /* Compact navigation for very small screens */
  .nav-menu {
    width: 90%;
    padding: 1.5rem;
  }
  
  .hero-ctas {
    gap: 0.75rem;
  }
  
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* Ultra-low-end mobile optimization */
@media (max-width: 480px) and (max-resolution: 1dppx) {
  /* Further reduce animations on very low-end devices */
  .why-icon svg,
  .about-icon svg {
    animation-duration: 8s;
    animation-timing-function: ease-in-out;
  }
  
  /* Simplify complex animations */
  .why-icon *[class*="animate-"],
  .about-icon *[class*="animate-"] {
    animation-iteration-count: infinite;
    animation-fill-mode: both;
  }
  
  /* Reduce visual complexity */
  .background-gradient {
    opacity: 0.3;
  }
  
  /* Simpler shadows for better performance */
  .value-prop-card,
  .value-card,
  .team-member-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
}

/* Enhanced Mobile Carousel Controls */
@media (max-width: 768px) {
  /* Larger, more accessible carousel buttons */
  .carousel-btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: rgba(0, 217, 255, 0.9);
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.3);
  }
  
  .carousel-btn:active {
    transform: scale(0.95);
    background: rgba(0, 217, 255, 1);
  }
  
  /* Improved carousel indicators */
  .carousel-indicators,
  .indicator {
    margin-top: 1.5rem;
  }
  
  .indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 4px;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid transparent;
    min-width: 20px;
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    transition: all 0.3s ease;
  }
  
  .indicator.active::before {
    background: var(--accent-primary);
    box-shadow: 0 0 8px var(--accent-primary);
  }
  
  /* Better carousel spacing on mobile */
  .testimonials-carousel-container,
  .clients-carousel-container {
    padding: 0 1rem;
  }
  
  .carousel-controls {
    margin-top: 2rem;
    gap: 2rem;
  }
  
  /* Touch-friendly testimonial slides */
  .testimonial-slide {
    padding: 0 1rem;
  }
  
  .testimonial-card {
    padding: 2rem 1.5rem;
    min-height: auto;
  }
  
  /* Client slides optimization */
  .client-slide {
    padding: 1rem;
    min-width: 120px;
    height: 80px;
  }
  
  .client-slide img {
    max-width: 100px;
    max-height: 60px;
  }
}

/* Mobile carousel swipe indicators */
@media (max-width: 768px) and (hover: none) {
  /* Add subtle swipe hints */
  .testimonials-carousel-container::after,
  .clients-carousel-container::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 2rem;
    background: linear-gradient(to left, var(--bg-primary) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
  }
  
  .testimonials-carousel-container::before,
  .clients-carousel-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2rem;
    background: linear-gradient(to right, var(--bg-primary) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
  }
  
  /* Hide controls on touch devices, rely on swipe */
  .carousel-controls {
    display: none;
  }
  
  /* Keep indicators visible */
  .carousel-indicators {
    display: flex;
  }
}

/* Enhanced Mobile Form Interactions */
@media (max-width: 768px) {
  /* Better contact form on mobile */
  .contact-form {
    margin: 2rem auto 0 auto;
    padding: 2rem 1.5rem;
    background: var(--gradient-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    max-width: 100%;
  }
  
  .form-group {
    margin-bottom: 2rem;
    position: relative;
  }
  
  .form-group label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 500;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
    min-height: 48px; /* Accessible touch target */
  }
  
  .form-group textarea {
    min-height: 120px;
    resize: vertical;
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
  }
  
  .form-group input:invalid,
  .form-group textarea:invalid {
    border-color: var(--accent-primary);
  }
  
  .form-group input:valid,
  .form-group textarea:valid {
    border-color: var(--accent-secondary);
  }
  
  /* Hide the underline effect on mobile for cleaner look */
  .form-underline {
    display: none;
  }
  
  /* Enhanced submit button */
  .btn-submit {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
    margin: 1rem auto 0 auto;
  }
  
  .btn-submit:active {
    transform: translateY(1px);
  }
  
  .btn-loading {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    display: none;
    animation: spin 1s linear infinite;
  }
  
  .btn-submit.loading .btn-text {
    opacity: 0.7;
  }
  
  .btn-submit.loading .btn-loading {
    display: block;
  }
  
  @keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
  
  /* Mobile-specific form validation styles */
  .form-group.error input,
  .form-group.error textarea {
    border-color: var(--accent-primary);
    background: rgba(34, 176, 250, 0.05);
  }
  
  .form-group.success input,
  .form-group.success textarea {
    border-color: var(--accent-secondary);
    background: rgba(0, 255, 136, 0.05);
  }
  
  /* Form error messages */
  .form-error {
    color: #ff6b6b;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
  }
  
  .form-group.error .form-error {
    display: block;
  }
}

/* Small mobile form optimizations */
@media (max-width: 480px) {
  .contact-form {
    padding: 1.5rem 1rem;
    margin: 1.5rem auto 0 auto;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 0.875rem;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .btn-submit {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    min-height: 52px;
  }
}
