:root {
  --primary: #004AAD;
  --secondary: #00FF7F;
  --accent: #7C3AED;
  --neutral-900: #0a0a0a;
  --neutral-800: #171717;
}

/* Base Styles */
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

.font-space {
  font-family: 'Space Grotesk', sans-serif;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes gradient-pulse {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Components */
.nav-link {
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-btn.primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  box-shadow: 0 4px 15px rgba(0, 74, 173, 0.3);
}

.cta-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 74, 173, 0.4);
}

.solution-card {
  background: var(--neutral-800);
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-10px);
}

/* Project Showcase */
.project-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
  padding: 4rem 0;
}

.project-visual {
  position: relative;
  min-height: 400px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--neutral-800);
}

/* Responsive Design */
@media (max-width: 768px) {
  .project-showcase {
      grid-template-columns: 1fr;
  }
  
  .hero-headline {
      font-size: 3.5rem;
  }
}

/* Loader Animation */
.nexforz-loader {
  position: relative;
  width: 120px;
  height: 120px;
}

.orbit {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary);
  border-radius: 50%;
  animation: rotate 6s linear infinite;
}

.core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 255, 127, 0.4);
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Add 1500+ more lines of detailed styling */
/* Navbar link hover effects */
nav a:not(.bg-gradient-to-r) {
  position: relative;
}

nav a:not(.bg-gradient-to-r)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #00FF7F, #004AAD);
  transition: width 0.3s ease;
}

nav a:not(.bg-gradient-to-r):hover::after {
  width: 100%;
}

/* Mobile menu transitions */
#mobile-menu {
  will-change: transform;
}

/* Ensure navbar stays on top of other content */
nav {
  z-index: 1000;
}

/* Fix for any potential overflow issues */
html, body {
  overflow-x: hidden;
}

@media (max-width: 640px) {
  .hero-description {
    min-height: 150px;
  }
  .animate-text-slide-up {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}




  /* Keyframe Animations */
  @keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
  }
  
  @keyframes title-slide-up {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes text-slide-up {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes fade-in {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }
  
  @keyframes typing {
    from { width: 0 }
    to { width: 100% }
  }
  
  @keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #3B82F6 }
  }
  
  /* Animation Classes */
  .animate-float {
    animation: float 8s ease-in-out infinite;
  }
  
  .animate-title-slide-up {
    animation: title-slide-up 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  
  .animate-text-slide-up {
    animation: text-slide-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  
  .animate-fade-in {
    animation: fade-in 1s ease-out forwards;
  }
  
  /* Animation Delays */
  .animation-delay-300 {
    animation-delay: 0.3s;
  }
  
  .animation-delay-600 {
    animation-delay: 0.6s;
  }
  
  .animation-delay-900 {
    animation-delay: 0.9s;
  }
  
  .animation-delay-1200 {
    animation-delay: 1.2s;
  }
  
  .animation-delay-1500 {
    animation-delay: 1.5s;
  }
  
  .animation-delay-2000 {
    animation-delay: 2s;
  }
  
  .animation-delay-3000 {
    animation-delay: 3s;
  }
  
  /* Cursor tracking particles */
  .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.5);
    pointer-events: none;
    transform: translate(-50%, -50%);
  }

  /* Mobile Menu Styles */
  .mobile-menu-hidden {
    display: none;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .mobile-menu-visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  /* Additional Animations */
  @keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
  
  @keyframes spin-reverse-slow {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
  }
  
  .animate-spin-slow {
    animation: spin-slow 20s linear infinite;
  }
  
  .animate-spin-reverse-slow {
    animation: spin-reverse-slow 15s linear infinite;
  }
  
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
  }
  
  .floating-element {
    animation: float 3s ease-in-out infinite;
  }
  
  .glowing-text {
    background: linear-gradient(to right, #00FF7F, #004AAD, #00FF7F);
    background-size: 200% auto;
    color: transparent;
    background-clip: text;
    animation: pulse 3s infinite;
  }



    /* Animation Keyframes */
    @keyframes slide-up {
      0% { opacity: 0; transform: translateY(20px); }
      100% { opacity: 1; transform: translateY(0); }
    }
    
    @keyframes scale-x {
      0% { opacity: 0; transform: scaleX(0); }
      100% { opacity: 1; transform: scaleX(1); }
    }
    
    /* Animation Classes */
    .animate-slide-up {
      animation: slide-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
    
    .animate-scale-x {
      animation: scale-x 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
    
    .animation-delay-200 {
      animation-delay: 0.2s;
    }
    
    .animation-delay-400 {
      animation-delay: 0.4s;
    }
    
    .animation-delay-600 {
      animation-delay: 0.6s;
    }
  

    .animation-delay-200 {
      animation-delay: 200ms;
    }
    .animation-delay-400 {
      animation-delay: 400ms;
    }
    .animation-delay-600 {
      animation-delay: 600ms;
    }
  



    /* Animation Keyframes */
    @keyframes slide-up {
      0% { opacity: 0; transform: translateY(20px); }
      100% { opacity: 1; transform: translateY(0); }
    }
    
    @keyframes scale-x {
      0% { opacity: 0; transform: scaleX(0); }
      100% { opacity: 1; transform: scaleX(1); }
    }
    
    /* Animation Classes */
    .animate-slide-up {
      animation: slide-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
    
    .animate-scale-x {
      animation: scale-x 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
    
    .animation-delay-200 {
      animation-delay: 0.2s;
    }
    
    .animation-delay-2000 {
      animation-delay: 2s;
    }






  .animation-delay-200 {
    animation-delay: 200ms;
  }
  .animation-delay-400 {
    animation-delay: 400ms;
  }
  
  /* Custom animation for award cards */
  @keyframes float-up {
    0% {
      transform: translateY(20px);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  .animate-float-up {
    animation: float-up 0.6s ease-out forwards;
  }





    /* Card Shuffling Animation */
    @keyframes shuffle1 {
      0% { transform: translateX(-100%) rotate(-15deg); opacity: 0; }
      20% { transform: translateX(-50%) rotate(-10deg); opacity: 0.5; }
      40% { transform: translateX(0) rotate(-5deg); opacity: 1; }
      60% { transform: translateX(50%) rotate(5deg); opacity: 1; }
      80% { transform: translateX(100%) rotate(10deg); opacity: 0.5; }
      100% { transform: translateX(0) rotate(0); opacity: 1; }
    }
    
    @keyframes shuffle2 {
      0% { transform: translateY(100%) rotate(15deg); opacity: 0; }
      20% { transform: translateY(50%) rotate(10deg); opacity: 0.5; }
      40% { transform: translateY(0) rotate(5deg); opacity: 1; }
      60% { transform: translateY(-50%) rotate(-5deg); opacity: 1; }
      80% { transform: translateY(-100%) rotate(-10deg); opacity: 0.5; }
      100% { transform: translateY(0) rotate(0); opacity: 1; }
    }
    
    @keyframes shuffle3 {
      0% { transform: translateX(100%) rotate(15deg); opacity: 0; }
      20% { transform: translateX(50%) rotate(10deg); opacity: 0.5; }
      40% { transform: translateX(0) rotate(5deg); opacity: 1; }
      60% { transform: translateX(-50%) rotate(-5deg); opacity: 1; }
      80% { transform: translateX(-100%) rotate(-10deg); opacity: 0.5; }
      100% { transform: translateX(0) rotate(0); opacity: 1; }
    }
    
    /* Initial state */
    .service-card {
      opacity: 0;
      transform: translateY(50px);
    }
    
    /* Animation classes */
    .card-1 {
      animation: shuffle1 4.5s ease-out forwards;
    }
    
    .card-2 {
      animation: shuffle2 4.5s ease-out 1s forwards;
    }
    
    .card-3 {
      animation: shuffle3 4.5s ease-out 2s forwards;
    }
    
    /* Hover effects */
    .service-card:hover {
      transform: translateY(-5px) rotate(1deg);
      box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
      z-index: 40 !important;
    }
    
    /* Consistent font styling */
    .font-sans {
      font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    }


    .animation-delay-200 {
      animation-delay: 200ms;
    }
    .animation-delay-400 {
      animation-delay: 400ms;
    }
  

  /* Improved Flip Card Styling */
  .project-flip-card {
    perspective: 1200px;
    height: 100%;
    min-height: 280px;
  }

  .project-flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
  }

  .project-flip-card:hover .project-flip-card-inner {
    transform: rotateY(180deg);
  }

  .project-flip-card-front,
  .project-flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
  }

  .project-flip-card-front {
    transform: rotateY(0deg);
    z-index: 2;
  }

  .project-flip-card-back {
    transform: rotateY(180deg);
  }

  /* Smooth hover effects */
  .project-flip-card:hover .project-flip-card-front {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  }

  .project-flip-card:hover .project-flip-card-back {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  }

  /* Padding and margin adjustments */
  .project-flip-card-front,
  .project-flip-card-back {
    padding: 1.75rem;
  }

  /* Animation timing */
  .animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Ensure consistent height */
  @media (min-width: 768px) {
    .project-flip-card {
      min-height: 320px;
    }
  }

  
  /* Animation Keyframes */
  @keyframes grow {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
  }
  
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  
  @keyframes title-slide-up {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
  }
  
  /* Animation Classes */
  .animate-grow {
    animation: grow 1s ease-out forwards;
  }
  
  .animate-float {
    animation: float 3s ease-in-out infinite;
  }
  
  .animate-title-slide-up {
    animation: title-slide-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  
  /* 3D Effects */
  .perspective-1000 {
    perspective: 1000px;
  }
  
  .transform-style-preserve-3d {
    transform-style: preserve-3d;
  }
  
  /* Project Flip Cards */
  .project-flip-card {
    perspective: 1000px;
    height: 100%;
  }
  
  .project-flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
  }
  
  .project-flip-card:hover .project-flip-card-inner {
    transform: rotateY(180deg);
  }
  
  .project-flip-card-front,
  .project-flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
  }
  
  .project-flip-card-back {
    transform: rotateY(180deg);
  }
  
  /* Counter Animation */
  .counter {
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
  }

  
    .animation-delay-200 {
      animation-delay: 200ms;
    }
    .animation-delay-400 {
      animation-delay: 400ms;
    }
    @keyframes float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-20px); }
    }
    .animate-float {
      animation: float 3s ease-in-out infinite;
    }
 


    /* Animation Keyframes */
    @keyframes grow {
      0% { transform: scaleX(0); }
      100% { transform: scaleX(1); }
    }
    
    @keyframes title-slide-up {
      0% { opacity: 0; transform: translateY(20px); }
      100% { opacity: 1; transform: translateY(0); }
    }
    
    @keyframes slide-up {
      0% { opacity: 0; transform: translateY(30px); }
      100% { opacity: 1; transform: translateY(0); }
    }
    
    @keyframes fade-in {
      0% { opacity: 0; }
      100% { opacity: 1; }
    }
    
    /* Animation Classes */
    .animate-grow {
      animation: grow 0.8s ease-out forwards;
    }
    
    .animate-title-slide-up {
      animation: title-slide-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
    
    .animate-slide-up {
      animation: slide-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
    
    .animate-fade-in {
      animation: fade-in 0.8s ease-out forwards;
    }
    
    .animation-delay-200 {
      animation-delay: 0.2s;
    }
    
    .animation-delay-400 {
      animation-delay: 0.4s;
    }
    
    /* Interactive Elements */
    .benefit-card:hover {
      transform: translateY(-5px);
    }
    
    .job-card:hover {
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }
 

 
    .animation-delay-200 {
      animation-delay: 200ms;
    }
    .animation-delay-400 {
      animation-delay: 400ms;
    }



      /* Animation Keyframes */
      @keyframes grow {
        0% { transform: scaleX(0); }
        100% { transform: scaleX(1); }
      }
      
      @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
      }
      
      /* Animation Classes */
      .animate-grow {
        animation: grow 0.8s ease-out forwards;
      }
      
      .animate-float {
        animation: float 4s ease-in-out infinite;
      }
      
      /* 3D Effects */
      .perspective-1000 {
        perspective: 1000px;
      }
      
      .transform-style-preserve-3d {
        transform-style: preserve-3d;
      }
      
      /* Animation Delays */
      .animation-delay-200 {
        animation-delay: 0.2s;
      }
      
      .animation-delay-400 {
        animation-delay: 0.4s;
      }
      
      .animation-delay-2000 {
        animation-delay: 2s;
      }
      
      .animation-delay-3000 {
        animation-delay: 3s;
      }
      
      /* Hover Effects */
      .group:hover .transform-style-preserve-3d {
        transform: rotateY(5deg);
      }
      
      /* Animation Keyframes */
      @keyframes grow {
        0% { transform: scaleX(0); }
        100% { transform: scaleX(1); }
      }
      
      @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
      }
      
      /* 3D Effects */
      .perspective-1000 {
        perspective: 1000px;
      }
      
      .transform-style-preserve-3d {
        transform-style: preserve-3d;
      }
      
      /* Animation Classes */
      .animate-grow {
        animation: grow 0.8s ease-out forwards;
      }
      
      .animate-float {
        animation: float 4s ease-in-out infinite;
      }
      
      .animation-delay-2000 {
        animation-delay: 2s;
      }
      
      .animation-delay-3000 {
        animation-delay: 3s;
      }
      
      /* Testimonial Carousel */
      .testimonial-carousel-container {
        overflow: hidden;
      }
      
      .testimonial-carousel-track {
        display: flex;
        will-change: transform;
      }
      
      .testimonial-card {
        transition: transform 0.3s ease;
      }
      
      .project-indicator.active {
        background: linear-gradient(to right, #3b82f6, #10b981);
      }
    

      .swiper-slide {
        height: auto;
      }
    
      /* Animation Keyframes */
      @keyframes grow {
        0% { transform: scaleX(0); }
        100% { transform: scaleX(1); }
      }
      
      @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
      }
      
      /* 3D Effects */
      .perspective-1000 {
        perspective: 1000px;
      }
      
      .transform-style-preserve-3d {
        transform-style: preserve-3d;
      }
      
      /* Animation Classes */
      .animate-grow {
        animation: grow 0.8s ease-out forwards;
      }
      
      .animate-float {
        animation: float 3s ease-in-out infinite;
      }
      
      .animation-delay-200 {
        animation-delay: 0.2s;
      }
      
      .animation-delay-400 {
        animation-delay: 0.4s;
      }
      
      .animation-delay-2000 {
        animation-delay: 2s;
      }
      
      .animation-delay-200 {
        animation-delay: 200ms;
      }
      .animation-delay-400 {
        animation-delay: 400ms;
      }
    
      /* Animation Keyframes */
      @keyframes grow {
        0% { transform: scaleX(0); }
        100% { transform: scaleX(1); }
      }
      
      @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
      }
      
      /* 3D Effects */
      .perspective-1000 {
        perspective: 1000px;
      }
      
      .transform-style-preserve-3d {
        transform-style: preserve-3d;
      }
      
      /* Animation Classes */
      .animate-grow {
        animation: grow 0.8s ease-out forwards;
      }
      
      .animate-float {
        animation: float 3s ease-in-out infinite;
      }
      
      .animation-delay-200 {
        animation-delay: 0.2s;
      }
      
      .animation-delay-400 {
        animation-delay: 0.4s;
      }
      
      .animation-delay-2000 {
        animation-delay: 2s;
      }
      
      .animation-delay-3000 {
        animation-delay: 3s;
      }
   