/* Enhanced background colors - Purple/Pink/Green palette */

/* .neural-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: radial-gradient(circle at 15% 85%, rgba(75, 0, 130, 0.7) 0%, transparent 50%), radial-gradient(circle at 85% 15%, rgba(139, 37, 99, 0.8) 0%, transparent 50%), radial-gradient(circle at 45% 60%, rgba(128, 0, 128, 0.6) 0%, transparent 50%), radial-gradient(circle at 70% 40%, rgba(34, 139, 34, 0.4) 0%, transparent 50%), linear-gradient(135deg, #0a0a0a 0%, #2d1b3d 50%, #000000 100%);
  animation: backgroundPulse 14s ease-in-out infinite;
} */

.neural-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: radial-gradient(circle at 20% 30%, rgba(0, 191, 255, 0.7) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(0, 255, 200, 0.6) 0%, transparent 50%), radial-gradient(circle at 50% 80%, rgba(135, 206, 250, 0.5) 0%, transparent 50%), radial-gradient(circle at 70% 20%, rgba(0, 128, 128, 0.5) 0%, transparent 50%), linear-gradient(135deg, #001f3f 0%, #004d61 50%, #009688 100%);
  animation: backgroundPulse 14s ease-in-out infinite;
}

@keyframes backgroundPulse {
  0%, 100% {
    filter: brightness(0.9) saturate(1.4) hue-rotate(0deg);
  }
  33% {
    filter: brightness(1.1) saturate(1.7) hue-rotate(15deg);
  }
  66% {
    filter: brightness(1.0) saturate(1.5) hue-rotate(-10deg);
  }
}

/* Floating geometric shapes */

.geometric-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border: 1px solid rgba(255, 145, 0, 0.3);
  animation: floatShape 20s linear infinite;
}

.shape:nth-child(1) {
  width: 100px;
  height: 100px;
  left: 10%;
  animation-delay: 0s;
  border-color: rgba(105, 255, 173, 0.781);
}

.shape:nth-child(2) {
  width: 60px;
  height: 60px;
  left: 70%;
  animation-delay: -5s;
  border-radius: 50%;
  border-color: rgba(219, 112, 112, 0.699);
}

.shape:nth-child(3) {
  width: 80px;
  height: 80px;
  left: 30%;
  animation-delay: -10s;
  transform: rotate(45deg);
  border-color: rgba(164, 163, 255, 0.829);
}

.shape:nth-child(4) {
  width: 120px;
  height: 120px;
  left: 50%;
  animation-delay: -15s;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.541), transparent);
}

@keyframes floatShape {
  from {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10%, 90% {
    opacity: 1;
  }
  to {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* Neural network lines */

.neural-lines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.neural-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, #00ffff, transparent);
  height: 1px;
  animation: neuralPulse 3s ease-in-out infinite;
}

.neural-line:nth-child(1) {
  top: 20%;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, transparent, #e0a3ff, transparent);
  animation-delay: 0s;
}

.neural-line:nth-child(2) {
  top: 60%;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, transparent, #ff69b4, transparent);
  animation-delay: -1s;
}

.neural-line:nth-child(3) {
  top: 40%;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, transparent, #9370db, transparent);
  animation-delay: -2s;
}

@keyframes neuralPulse {
  0%, 100% {
    opacity: 0.2;
    transform: scaleX(0.5);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* Glassmorphism styles */

.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-strong {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 1024px) {
  .feature-row {
    flex-direction: column;
    gap: 40px;
    min-height: 720px;
  }
}

@media (max-width: 1024px) {
  .feature-row:nth-child(even) {
    flex-direction: column;
  }
}

@media (max-width: 1024px) {
  .feature-content {
    flex: 0;
  }
}

@media (max-width: 1024px) {
  .feature-visual {
    height: 250px;
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .timeline-line {
    left: 30px;
  }
}

@media (max-width: 1024px) {
  .timeline-item, .timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 80px;
    padding-right: 0;
  }
}

@media (max-width: 1024px) {
  .timeline-dot {
    left: 30px;
  }
}

@media (max-width: 1024px) {
  .timeline-content {
    max-width: 100%;
  }
}

@media (max-width: 1000px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 1000px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding: 40px 20px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }
}

@media (max-width: 768px) {
  .hero-description p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px auto 35px;
  }
}

@media (max-width: 768px) {
  .hero-stat {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .hero-stat-number {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-subtitle::before, .hero-subtitle::after {
    width: 25px;
  }
}

@media (max-width: 768px) {
  .hero-subtitle::before {
    left: -35px;
  }
}

@media (max-width: 768px) {
  .hero-subtitle::after {
    right: -35px;
  }
}

@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .cta-button {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}

/* Update the existing hexagon styles for mobile */

@media (max-width: 768px) {
  .hexagon {
    width: 280px;
    height: 320px;
    margin: 30px auto;
  }
}

@media (max-width: 768px) {
  .hexagon-inner {
    padding: 60px 35px;
  }
}

@media (max-width: 768px) {
  .hexagon-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
  }
}

@media (max-width: 768px) {
  .hexagon h4 {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .hexagon p {
    font-size: 1.1rem;
    max-width: 200px;
    line-height: 1.6;
  }
}

@media (max-width: 768px) {
  .hexagon-container {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .section-title {
    margin-bottom: 60px;
  }
}

@media (max-width: 768px) {
  .features, .showcase, .timeline, .contact {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .timeline {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .footer-links {
    gap: 20px;
    margin-bottom: 25px;
  }
}

@media (max-width: 768px) {
  .footer-links a {
    font-size: 0.85rem;
  }
}

/* Enhanced scrollbar */

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.8);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #00ffff, #ff0080);
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #ff0080, #8000ff);
  box-shadow: 0 0 15px rgba(255, 0, 128, 0.7);
}

.card-body {
}

