/* AI Theme Specific Styles - Blazing Customs
-------------------------------------------------- */

/* General Section Styles */
.section-padding {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  color: var(--off-white);
  text-shadow: 0 0 15px rgba(0, 194, 255, 0.5);
}

.section-subtitle {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  color: rgba(245, 249, 255, 0.7);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.bg-gradient {
  background: var(--gradient-primary);
}

.bg-dark {
  background-color: var(--dark-navy);
}

.bg-dark-accent {
  background-color: rgba(26, 26, 53, 0.9);
}

.text-white {
  color: var(--off-white);
}

/* Futuristic elements */
.circuit-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image:
    linear-gradient(rgba(0, 194, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 194, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

.glow-line {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--primary-teal), transparent);
  margin: 30px 0;
}

.tech-pipe {
  position: absolute;
  height: 5px;
  background: var(--gradient-secondary);
  border-radius: 5px;
  z-index: 1;
  box-shadow: 0 0 15px rgba(0, 194, 255, 0.7);
}

.tech-pipe.horizontal {
  width: 150px;
  left: 0;
}

.tech-pipe.vertical {
  width: 5px;
  height: 150px;
  top: 0;
}

.tech-node {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--primary-teal);
  box-shadow: 0 0 15px rgba(0, 194, 255, 0.7);
  z-index: 2;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-navy);
  overflow: hidden;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(42, 59, 143, 0.9), rgba(123, 66, 246, 0.8));
  z-index: 2;
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--off-white);
  margin-bottom: 1.5rem;
  text-transform: none;
  text-shadow: 0 0 20px rgba(0, 194, 255, 0.7), 0 0 40px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 10;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #ffffff, #00C2FF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding: 5px 15px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.hero-title::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  color: var(--off-white);
  -webkit-text-fill-color: var(--off-white);
  filter: blur(8px);
  opacity: 0.7;
}

.hero-title::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -10px;
  right: -10px;
  bottom: -5px;
  background: rgba(26, 26, 53, 0.5);
  border-radius: 8px;
  z-index: -2;
  border: 1px solid rgba(0, 194, 255, 0.3);
  box-shadow: 0 0 15px rgba(0, 194, 255, 0.15);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  margin-top: 2rem;
}

.hero-buttons .btn {
  margin: 0 10px;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
}

/* Navigation */
#main-navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

#navigation {
  transition: all 0.5s;
  padding: 10px 0;
  background-color: rgba(26, 26, 53, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 194, 255, 0.2);
  width: 100%;
  left: 0;
  right: 0;
}

#navigation.affix {
  background-color: rgba(26, 26, 53, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 194, 255, 0.2);
  width: 100%;
  left: 0;
  right: 0;
  padding: 5px 0;
}

/* Fix for container width in navbar */
#navigation .container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
}

#navigation.affix .container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
}

/* Ensure navbar is more compact */
#navigation, #navigation.affix {
  display: flex;
  align-items: center;
}

.navbar-brand, #navigation.affix .navbar-brand {
  padding: 3px 0;
}

.navbar-brand img {
  max-height: 35px;
  transition: all 0.3s;
}

#navigation.affix .navbar-brand img {
  max-height: 30px;
}

.navbar-nav, #navigation.affix .navbar-nav {
  margin-top: 2px;
}

.navbar-default .navbar-nav > li > a,
#navigation.affix .navbar-default .navbar-nav > li > a {
  padding: 10px 15px;
  font-size: 12px;
}

.navbar-default {
  background: transparent;
  border: none;
  margin: 0;
}

.navbar-brand {
  padding: 5px 0;
  margin-right: 30px;
}

.navbar-brand img {
  max-height: 40px;
  width: auto;
}

.navbar-default .navbar-nav {
  margin-top: 5px;
}

.navbar-default .navbar-nav > li > a {
  color: var(--off-white);
  font-family: var(--font-heading);
  font-weight: 500;
  padding: 15px;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > .active > a {
  color: var(--primary-teal);
  background: transparent;
  text-shadow: 0 0 10px rgba(0, 194, 255, 0.7);
}

.navbar-default .navbar-nav > .active > a {
  position: relative;
}

.navbar-default .navbar-nav > .active > a:after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 15px;
  right: 15px;
  height: 2px;
  background: var(--primary-teal);
  box-shadow: 0 0 10px rgba(0, 194, 255, 0.7);
}

.navbar-toggle .icon-bar {
  background-color: var(--off-white);
  height: 3px;
  transition: all 0.3s;
}

.navbar-toggle:hover .icon-bar {
  background-color: var(--primary-teal);
}

.social-icon {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  margin-left: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--off-white);
  transition: all 0.3s;
}

.social-icon:hover {
  background: var(--primary-teal);
  color: var(--dark-navy);
  transform: translateY(-3px);
}

/* Solutions Section */
.solutions-section {
  background-color: var(--dark-navy);
  position: relative;
  overflow: hidden;
  padding-top: 130px;
}

.solutions-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 30% 20%, rgba(25, 229, 217, 0.05) 0%, transparent 50%);
  z-index: 0;
}

.tech-pipe.solutions-pipe-1 {
  top: 150px;
  left: 40px;
  width: 200px;
  transform: rotate(25deg);
}

.tech-pipe.solutions-pipe-2 {
  bottom: 80px;
  right: 60px;
  width: 150px;
  transform: rotate(-15deg);
}

.tech-node.solutions-node-1 {
  top: 150px;
  left: 40px;
}

.tech-node.solutions-node-2 {
  bottom: 80px;
  right: 60px;
}

.solutions-container {
  margin-top: 50px;
  position: relative;
  z-index: 1;
}

.solution-card {
  background: rgba(30, 30, 50, 0.7);
  border: 1px solid rgba(0, 194, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 194, 255, 0.1);
  padding: 40px 30px;
  height: 500px; /* Fixed height */
  transition: all 0.3s;
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-bottom: 30px;
  color: var(--off-white);
  backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
}

.solution-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(circle at bottom right, rgba(0, 194, 255, 0.1), transparent 70%);
  z-index: -1;
}

.solution-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.1), rgba(123, 66, 246, 0.15));
  z-index: -1;
  transition: all 0.5s;
}

.solution-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 194, 255, 0.2);
  border-color: rgba(0, 194, 255, 0.4);
}

.solution-card:hover:before {
  height: 100%;
}

.solution-card.featured {
  border-top: 5px solid var(--primary-teal);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 194, 255, 0.2);
}

.solution-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  background: var(--gradient-primary);
  color: white;
  font-size: 32px;
  box-shadow: 0 0 25px rgba(0, 194, 255, 0.5);
  position: relative;
}

.solution-icon::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 1px solid rgba(0, 194, 255, 0.3);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    transform: scale(1.1);
    opacity: 0;
  }
}

.solution-card h3 {
  margin-bottom: 15px;
  color: var(--off-white);
  font-size: 22px;
  text-shadow: 0 0 10px rgba(0, 194, 255, 0.3);
}

.solution-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.solution-features li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 14px;
}

.solution-features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-teal);
  font-weight: bold;
}

.solution-link {
  display: inline-block;
  color: var(--primary-blue);
  font-weight: 600;
  margin-top: 15px;
  transition: all 0.3s;
}

.solution-link i {
  margin-left: 5px;
  transition: all 0.3s;
}

.solution-link:hover {
  color: var(--primary-purple);
}

.solution-link:hover i {
  transform: translateX(5px);
}

/* Feature Cards in Why Us Section */
.why-us-section {
  position: relative;
  overflow: hidden;
}

.why-us-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background-image: radial-gradient(circle at top right, rgba(123, 66, 246, 0.1), transparent 70%);
  z-index: 0;
}

.tech-pipe.why-us-pipe-1 {
  top: 50px;
  right: 100px;
  width: 120px;
  transform: rotate(-35deg);
}

.tech-pipe.why-us-pipe-2 {
  bottom: 70px;
  left: 80px;
  width: 180px;
  transform: rotate(15deg);
}

.tech-node.why-us-node-1 {
  top: 50px;
  right: 100px;
}

.tech-node.why-us-node-2 {
  bottom: 70px;
  left: 80px;
}

.features-container {
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

.feature-card {
  background: rgba(30, 30, 50, 0.6);
  border: 1px solid rgba(0, 194, 255, 0.2);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s;
  height: 300px; /* Fixed height to match across all cards */
  margin-bottom: 30px;
  color: var(--off-white);
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--primary-teal), transparent);
  opacity: 0.3;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 194, 255, 0.15);
  border-color: rgba(0, 194, 255, 0.4);
}

.feature-card:hover::before {
  opacity: 1;
  box-shadow: 0 0 20px rgba(0, 194, 255, 0.5);
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: var(--gradient-secondary);
  color: var(--dark-navy);
  font-size: 28px;
  box-shadow: 0 0 20px rgba(0, 194, 255, 0.4);
  position: relative;
  z-index: 1;
}

.feature-icon::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 12px;
  border: 1px solid rgba(0, 194, 255, 0.3);
  z-index: -1;
  animation: pulse-box 3s infinite;
}

@keyframes pulse-box {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    opacity: 0.2;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

.feature-card h3 {
  margin-bottom: 15px;
  color: var(--off-white);
  font-size: 20px;
  text-shadow: 0 0 10px rgba(0, 194, 255, 0.3);
}

.feature-card p {
  color: var(--off-white);
  font-size: 15px;
  line-height: 1.6;
}

/* How It Works - Futuristic AI Ecosystem */
.how-it-works-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 120px;
}

.tech-pipe.how-works-pipe-1 {
  top: 80px;
  left: 30px;
  height: 150px;
  width: 5px;
}

.tech-pipe.how-works-pipe-2 {
  bottom: 100px;
  right: 50px;
  width: 180px;
  transform: rotate(-15deg);
}

.tech-node.how-works-node-1 {
  top: 80px;
  left: 30px;
}

.tech-node.how-works-node-2 {
  bottom: 100px;
  right: 50px;
}

/* AI Ecosystem Display */
.ai-ecosystem {
  margin: 40px 0;
  position: relative;
  z-index: 2;
}

.ecosystem-display {
  position: relative;
  width: 100%;
  min-height: 600px;
  background: rgba(26, 26, 53, 0.7);
  border-radius: 20px;
  border: 1px solid rgba(0, 194, 255, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 50px rgba(0, 194, 255, 0.15) inset;
  padding: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ecosystem-display::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(0, 194, 255, 0.1), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(123, 66, 246, 0.1), transparent 40%);
  z-index: -1;
  pointer-events: none;
}

/* Rotating Gears */
.gear {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rotate linear infinite;
}

.gear-large {
  width: 120px;
  height: 120px;
  animation-duration: 20s;
}

.gear-medium {
  width: 90px;
  height: 90px;
  animation-duration: 15s;
  animation-direction: reverse;
}

.gear-small {
  width: 60px;
  height: 60px;
  animation-duration: 10s;
}

.gear-left {
  top: 30px;
  left: 50px;
}

.gear-right {
  top: 50px;
  right: 60px;
}

.gear-bottom-left {
  bottom: 40px;
  left: 80px;
}

.gear-bottom-right {
  bottom: 50px;
  right: 70px;
}

.gear-center {
  width: 40%;
  height: 40%;
  border-radius: 50%;
  background: var(--gradient-secondary);
  box-shadow: 0 0 20px rgba(0, 194, 255, 0.5);
  z-index: 2;
}

.gear-tooth {
  position: absolute;
  width: 20%;
  height: 8%;
  background: var(--primary-teal);
  box-shadow: 0 0 10px rgba(0, 194, 255, 0.3);
  transform-origin: 120% center;
}

.gear-large .gear-tooth {
  width: 25%;
  height: 10%;
}

.gear-large .gear-tooth:nth-child(2) { transform: rotate(60deg); }
.gear-large .gear-tooth:nth-child(3) { transform: rotate(120deg); }
.gear-large .gear-tooth:nth-child(4) { transform: rotate(180deg); }
.gear-large .gear-tooth:nth-child(5) { transform: rotate(240deg); }
.gear-large .gear-tooth:nth-child(6) { transform: rotate(300deg); }

.gear-medium .gear-tooth:nth-child(2) { transform: rotate(72deg); }
.gear-medium .gear-tooth:nth-child(3) { transform: rotate(144deg); }
.gear-medium .gear-tooth:nth-child(4) { transform: rotate(216deg); }
.gear-medium .gear-tooth:nth-child(5) { transform: rotate(288deg); }

.gear-small .gear-tooth:nth-child(2) { transform: rotate(90deg); }
.gear-small .gear-tooth:nth-child(3) { transform: rotate(180deg); }
.gear-small .gear-tooth:nth-child(4) { transform: rotate(270deg); }

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

/* Central Hub */
.central-hub {
  width: 90%;
  margin: 60px auto;
  background: rgba(26, 26, 53, 0.85);
  border: 1px solid rgba(0, 194, 255, 0.4);
  border-radius: 12px;
  padding: 25px;
  z-index: 10;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto auto auto;
  grid-gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 194, 255, 0.1) inset;
}

.hub-header {
  text-align: center;
  color: var(--primary-teal);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  letter-spacing: 3px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 194, 255, 0.3);
  text-shadow: 0 0 10px rgba(0, 194, 255, 0.5);
  font-weight: 600;
}

/* System Containers */
.system-container {
  padding: 15px;
  border: 1px solid rgba(0, 194, 255, 0.2);
  border-radius: 8px;
  background: rgba(30, 30, 60, 0.5);
  position: relative;
}

.system-label {
  position: absolute;
  top: -12px;
  left: 15px;
  background: var(--gradient-primary);
  color: white;
  padding: 4px 18px;
  border-radius: 15px;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: 0 0 15px rgba(0, 194, 255, 0.4);
}

.input-systems, .output-solutions {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 20px;
}

.process-tools {
  padding-top: 20px;
}

.tool-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.tool-row:last-child {
  margin-bottom: 0;
}

.system-module {
  width: 32%;
  background: rgba(26, 26, 53, 0.9);
  border: 1px solid rgba(0, 194, 255, 0.3);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 10px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.tool-row .system-module {
  width: 48%;
}

.system-module:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 194, 255, 0.2);
  border-color: rgba(0, 194, 255, 0.5);
}

.system-module.active-module {
  background: rgba(30, 30, 60, 0.95);
  border: 2px solid rgba(25, 229, 217, 0.6);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 194, 255, 0.3);
  height: auto;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 22px;
  transition: transform 0.3s, box-shadow 0.3s;
  z-index: 10;
  transform: translateY(-5px);
  backdrop-filter: blur(5px);
}

/* Force module content to be visible always */
.system-module.active-module i,
.system-module.active-module span,
.system-module.active-module .module-detail {
  opacity: 1 !important;
  visibility: visible !important;
  position: relative;
  z-index: 5;
}

/* Add glowing effect to active modules */
.system-module.active-module::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 8px;
  box-shadow: 0 0 25px rgba(25, 229, 217, 0.4);
  z-index: -1;
  opacity: 0.7;
  animation: glowPulse 2s infinite alternate;
}

@keyframes glowPulse {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 0.9;
  }
}

.system-module::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-secondary);
  opacity: 0.6;
  transition: all 0.3s;
}

.system-module:hover::before,
.system-module.active-module::before {
  opacity: 1;
  box-shadow: 0 0 15px rgba(0, 194, 255, 0.5);
}

.system-module i {
  display: block;
  font-size: 36px;
  color: var(--primary-teal);
  margin-bottom: 15px;
  text-shadow: 0 0 15px rgba(0, 194, 255, 0.7);
  background: rgba(25, 229, 217, 0.1);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(25, 229, 217, 0.3);
}

.system-module span {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--off-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  margin-bottom: 12px;
  text-shadow: 0 0 10px rgba(25, 229, 217, 0.5);
  letter-spacing: 0.5px;
}

.module-detail {
  font-size: 1.15rem;
  color: var(--off-white);
  line-height: 1.6;
  margin-top: 10px;
  display: block;
  min-height: 50px;
  transition: none;
  opacity: 1 !important;
  visibility: visible !important;
  text-shadow: 0 0 8px rgba(0, 194, 255, 0.4);
  padding: 0 5px;
}

/* Pathways */
.pathways-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 35px 15px;
}

.pathways-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  position: relative;
}

/* Futuristic design using hexagons instead of circles */
.pathway-node {
  width: 60px;
  height: 52px;
  background: #1A1A35; /* Dark base */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 18px;
  position: relative;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s;
  /* Create hexagon shape */
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  /* Inner border glow */
  box-shadow:
    0 0 15px rgba(0, 194, 255, 0.4),
    0 0 30px rgba(0, 194, 255, 0.2) inset;
  border: 2px solid rgba(25, 229, 217, 0.5);
}

/* Holographic number */
.pathway-node span {
  background: linear-gradient(135deg, #19E5D9, #7B42F6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Space Mono', monospace;
  font-size: 22px;
  text-shadow: 0 0 8px rgba(25, 229, 217, 0.7);
  position: relative;
  z-index: 3;
}

/* Outer glow on hover and active */
.pathway-node:hover, .pathway-node.active-node {
  transform: scale(1.1) translateY(-5px);
  box-shadow:
    0 0 20px rgba(0, 194, 255, 0.7),
    0 0 40px rgba(0, 194, 255, 0.3) inset;
  border-color: rgba(25, 229, 217, 0.9);
  background: linear-gradient(135deg, rgba(42, 59, 143, 0.8), rgba(26, 26, 53, 0.9));
}

/* Active state */
.pathway-node.active-node {
  background: linear-gradient(135deg, rgba(25, 229, 217, 0.2), rgba(123, 66, 246, 0.3));
}

/* Phase label */
.pathway-node::after {
  content: attr(data-phase);
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--primary-teal);
  white-space: nowrap;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(25, 229, 217, 0.5);
}

/* Always-visible flowing particles behind each node */
.pathway-node::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(25, 229, 217, 0.3), rgba(123, 66, 246, 0.3));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: -1;
  filter: blur(8px);
  opacity: 0.8;
  animation: nodeGlow 3s infinite alternate;
}

@keyframes nodeGlow {
  0% {
    opacity: 0.4;
    filter: blur(6px);
  }
  100% {
    opacity: 0.8;
    filter: blur(12px);
  }
}

/* Modern flat connector with data flow */
.pathway-connector {
  flex-grow: 1;
  height: 6px;
  background: rgba(25, 229, 217, 0.2);
  position: relative;
  box-shadow: 0 0 10px rgba(0, 194, 255, 0.3);
  overflow: hidden;
}

/* Data packet animation */
.pathway-connector::before {
  content: '';
  position: absolute;
  top: 0;
  left: -20px;
  width: 20px;
  height: 100%;
  background: linear-gradient(90deg, transparent, #00ffff, transparent);
  animation: dataPacket 3s infinite linear;
  opacity: 0.9;
}

/* Direction indicator */
.pathway-connector::after {
  content: '›';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--primary-teal);
  font-size: 20px;
  text-shadow: 0 0 8px rgba(0, 194, 255, 0.8);
}

@keyframes dataPacket {
  0% {
    left: -20px;
  }
  100% {
    left: 100%;
  }
}

.phase-description {
  background: rgba(26, 26, 53, 0.8);
  border: 2px solid rgba(0, 194, 255, 0.4);
  border-radius: 10px;
  padding: 18px;
  min-height: 90px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 194, 255, 0.2);
  transition: all 0.3s ease;
}

.phase-description:hover {
  box-shadow: 0 0 25px rgba(0, 194, 255, 0.4);
  border-color: rgba(0, 194, 255, 0.6);
}

.phase-title {
  color: var(--primary-teal);
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(0, 194, 255, 0.5);
}

.phase-detail {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Connection Lines */
.connection-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.connection-line {
  position: absolute;
  background: linear-gradient(90deg, var(--primary-teal), transparent);
  height: 3px;
  opacity: 0.8;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
}

.connection-line::after {
  content: '';
  position: absolute;
  top: -4px;
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background: #00ffff;
  animation: linePulse 2s infinite;
  box-shadow: 0 0 15px rgba(0, 255, 255, 1);
}

@keyframes linePulse {
  0% {
    left: 0%;
    opacity: 0.8;
  }
  100% {
    left: 100%;
    opacity: 0.2;
  }
}

.line-1 {
  top: 100px;
  left: 150px;
  width: 200px;
  transform: rotate(30deg);
  animation-delay: 0.5s;
}

.line-2 {
  top: 180px;
  right: 180px;
  width: 150px;
  transform: rotate(-25deg);
  animation-delay: 1s;
}

.line-3 {
  bottom: 150px;
  left: 100px;
  width: 180px;
  transform: rotate(-15deg);
  animation-delay: 1.5s;
}

.line-4 {
  bottom: 80px;
  right: 120px;
  width: 160px;
  transform: rotate(20deg);
  animation-delay: 0.8s;
}

/* Data Particles */
.data-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.data-particle {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #00ffff;
  animation: particleMove 5s linear infinite, pulseBrightness 2s infinite alternate;
  opacity: 1;
  box-shadow: 0 0 20px rgba(0, 255, 255, 1);
  z-index: 10;
}

@keyframes pulseBrightness {
  0% {
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
    transform: scale(0.8);
  }
  100% {
    box-shadow: 0 0 25px rgba(0, 255, 255, 1);
    transform: scale(1.2);
  }
}

.data-particle.p1 {
  top: 25%;
  left: 10%;
  animation-duration: 7s;
  animation-delay: 0.5s;
}

.data-particle.p2 {
  top: 40%;
  left: 85%;
  animation-duration: 6s;
  animation-delay: 1s;
}

.data-particle.p3 {
  top: 65%;
  left: 15%;
  animation-duration: 8s;
  animation-delay: 1.5s;
}

.data-particle.p4 {
  top: 75%;
  left: 80%;
  animation-duration: 5s;
  animation-delay: 2s;
}

.data-particle.p5 {
  top: 30%;
  left: 50%;
  animation-duration: 9s;
  animation-delay: 0s;
}

@keyframes particleMove {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(100px, 50px);
  }
  50% {
    transform: translate(50px, 100px);
  }
  75% {
    transform: translate(-50px, 30px);
  }
  100% {
    transform: translate(0, 0);
  }
}

/* Additional Utility Classes */
.mt-4 {
  margin-top: 2.5rem;
}

/* Responsive Adjustments */
@media screen and (max-width: 991px) {
  .ecosystem-display {
    min-height: 700px;
  }
  
  .gear-large {
    width: 90px;
    height: 90px;
  }
  
  .gear-medium {
    width: 70px;
    height: 70px;
  }
  
  .gear-small {
    width: 50px;
    height: 50px;
  }
}

@media screen and (max-width: 767px) {
  .ecosystem-display {
    padding: 20px 15px;
    min-height: 800px;
  }
  
  .central-hub {
    width: 100%;
    padding: 15px;
  }
  
  .hub-header {
    font-size: 1.2rem;
  }
  
  .input-systems, .output-solutions {
    flex-direction: column;
  }
  
  .system-module {
    width: 100%;
    margin-bottom: 15px;
  }
  
  .tool-row {
    flex-direction: column;
  }
  
  .tool-row .system-module {
    width: 100%;
    margin-bottom: 15px;
  }
  
  .pathway-node {
    width: 40px;
    height: 40px;
  }
  
  .pathway-node::after {
    font-size: 10px;
    bottom: -20px;
  }
  
  .gear {
    display: none;
  }
}

/* AI Demo Section */
.ai-demo-section {
  background-color: var(--dark-navy);
  position: relative;
  overflow: hidden;
}

.ai-demo-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 194, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 194, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 0;
}

.demo-container {
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.tech-pipe.demo-pipe-1 {
  top: 100px;
  left: 50px;
  width: 150px;
  transform: rotate(45deg);
}

.tech-pipe.demo-pipe-2 {
  bottom: 120px;
  right: 70px;
  width: 180px;
  transform: rotate(-30deg);
}

.tech-node.demo-node-1 {
  top: 100px;
  left: 50px;
}

.tech-node.demo-node-2 {
  bottom: 120px;
  right: 70px;
}

.demo-visual {
  position: relative;
  height: 400px;
  background: rgba(26, 26, 53, 0.7);
  border: 1px solid rgba(0, 194, 255, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 50px rgba(0, 194, 255, 0.15) inset;
}

.demo-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 194, 255, 0.05) 25%, transparent 25%, transparent 50%, rgba(0, 194, 255, 0.05) 50%, rgba(0, 194, 255, 0.05) 75%, transparent 75%, transparent);
  background-size: 30px 30px;
  opacity: 0.3;
  z-index: 0;
}

.demo-placeholder {
  position: relative;
  text-align: center;
}

.demo-icon {
  font-size: 120px;
  color: var(--primary-teal);
  opacity: 0.8;
}

.pulse-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(25, 229, 217, 0.1);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0.5;
  }
  50% {
    opacity: 0.2;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0;
  }
}

.demo-description {
  padding: 20px 0;
}

.demo-description h3 {
  margin-bottom: 20px;
}

.demo-features {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px;
}

.demo-features li {
  padding: 10px 0;
  position: relative;
  padding-left: 30px;
}

.demo-features li i {
  position: absolute;
  left: 0;
  top: 13px;
  color: var(--primary-teal);
}

/* Contact Section */
.contact-section {
  position: relative;
  background: var(--dark-navy);
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 194, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 194, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 0;
}

.tech-pipe.contact-pipe-1 {
  top: 100px;
  right: 80px;
  width: 120px;
  transform: rotate(-35deg);
}

.tech-pipe.contact-pipe-2 {
  bottom: 80px;
  left: 60px;
  width: 150px;
  transform: rotate(15deg);
}

.tech-node.contact-node-1 {
  top: 100px;
  right: 80px;
}

.tech-node.contact-node-2 {
  bottom: 80px;
  left: 60px;
}

.contact-info {
  padding: 40px 0;
  position: relative;
  z-index: 1;
  color: var(--off-white);
}

.contact-details {
  margin: 30px 0;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-item i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  box-shadow: 0 0 20px rgba(0, 194, 255, 0.4);
}

.contact-item span {
  color: var(--off-white);
}

.social-links {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  transition: all 0.3s;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-link:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 194, 255, 0.5);
}

.social-tag {
  margin-top: 15px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  letter-spacing: 0.5px;
}

.contact-form-container {
  background: rgba(30, 30, 50, 0.7);
  border: 1px solid rgba(0, 194, 255, 0.2);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 194, 255, 0.1);
  backdrop-filter: blur(5px);
  position: relative;
  z-index: 1;
}

.contact-form-container h3 {
  color: var(--off-white);
  margin-bottom: 30px;
  text-shadow: 0 0 10px rgba(0, 194, 255, 0.3);
}

.form-control {
  height: 54px;
  background-color: rgba(30, 30, 50, 0.5);
  border: 1px solid rgba(0, 194, 255, 0.2);
  border-radius: 8px;
  padding: 0 20px;
  font-size: 16px;
  transition: all 0.3s;
  color: var(--off-white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-control:focus {
  border-color: var(--primary-teal);
  box-shadow: 0 0 20px rgba(0, 194, 255, 0.3);
  background-color: rgba(30, 30, 50, 0.7);
}

.form-control::placeholder {
  color: rgba(245, 249, 255, 0.5);
}

textarea.form-control {
  height: auto;
  padding: 15px 20px;
}

select.form-control {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(0, 194, 255, 0.5) 50%),
                    linear-gradient(135deg, rgba(0, 194, 255, 0.5) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 15px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

/* AI Assistant Widget */
.ai-assistant-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.ai-assistant-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s;
}

.ai-assistant-button:hover {
  transform: scale(1.1);
}

.ai-assistant-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 500px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: none;
}

.ai-assistant-header {
  background: var(--gradient-primary);
  color: white;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-assistant-header h4 {
  margin: 0;
  color: white;
}

.close-assistant {
  background: transparent;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.ai-assistant-body {
  height: calc(100% - 60px);
  display: flex;
  flex-direction: column;
}

.ai-messages {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
}

.ai-message {
  display: flex;
  margin-bottom: 15px;
}

.message-content {
  max-width: 80%;
  padding: 12px 15px;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.05);
}

.message-content p {
  margin: 0;
}

.ai-input {
  padding: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
}

.ai-message-input {
  flex-grow: 1;
  border: none;
  padding: 10px 15px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.05);
  margin-right: 10px;
}

.ai-message-input:focus {
  outline: none;
}

.ai-send-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Footer */
.footer-section {
  background: var(--dark-navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-section h4 {
  color: white;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h4:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-teal);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s;
}

.footer-links a:hover {
  color: var(--primary-teal);
  padding-left: 5px;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 40px 0 30px;
}

.copyright {
  margin: 0;
}

.footer-bottom-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
}

.footer-bottom-links li {
  margin-left: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s;
}

.footer-bottom-links a:hover {
  color: var(--primary-teal);
}

/* Go to Top Button */
.go-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  z-index: 99;
  transition: all 0.5s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.go-top.show {
  opacity: 1;
  visibility: visible;
}

.go-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments */
@media screen and (max-width: 991px) {
  .section-padding {
    padding: 70px 0;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .navbar-nav > li > a {
    padding: 20px 10px;
  }
  
  .process-timeline:before {
    left: 30px;
  }
}

@media screen and (max-width: 767px) {
  .section-padding {
    padding: 60px 0;
  }
  
  .hero-section {
    height: auto;
    min-height: 600px;
    padding: 100px 0;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons .btn {
    margin: 5px;
  }
  
  .process-step {
    flex-direction: column;
  }
  
  .step-number {
    margin-bottom: 20px;
    margin-right: 0;
  }
  
  .process-timeline:before {
    display: none;
  }
  
  .contact-form-container {
    margin-top: 40px;
  }
  
  .ai-assistant-panel {
    width: 300px;
    height: 450px;
    right: -10px;
  }
  
  .footer-bottom-links {
    justify-content: center;
    margin-top: 20px;
  }
  
  .copyright {
    text-align: center;
  }
}