.alignall{
    margin: 0 3%;
}

body{
    margin: 0;
    padding: 0;
}
.testimonial-container {
   
    height: 400px;
    perspective: 1500px;
    transform-style: preserve-3d;
}
.slide {
    position: absolute;
    width: 100%;
    max-width: 600px;
    left: 50%;
    transition: all 0.7s cubic-bezier(0.4, 0.0, 0.2, 1);
    opacity: 0;
    filter: blur(5px);
    transform: translateX(-50%) translateZ(-200px) scale(0.7);
}
.slide.prev {
    transform: translateX(-120%) translateZ(-150px) scale(0.8) rotateY(10deg);
    opacity: 0.4;
    z-index: 1;
}
.slide.active {
    transform: translateX(-50%) translateZ(0) scale(1);
    opacity: 1;
    filter: blur(0);
    z-index: 2;
    max-width: 80%;
}
.slide.next {
    transform: translateX(20%) translateZ(-150px) scale(0.8) rotateY(-10deg);
    opacity: 0.4;
    z-index: 1;
}
.slider-dots button.active {
    background-color: #ef4444;
    transform: scale(1.2);
    transition: all 0.3s ease;
}

/* Custom Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
  }
  

  
  .hero-gradient {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
  }
  
  .floating {
    animation: float 3s ease-in-out infinite;
  }
  
  .fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
  }
  
  .pulse {
    animation: pulse 2s infinite;
  }
  
  /* Smooth Scroll */
  html {
    scroll-behavior: smooth;
  }
  
  /* Navigation Styles */
  .nav-link {
    position: relative;
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #e7000b;
    transition: width 0.3s ease;
  }
  
  .nav-link:hover::after {
    width: 100%;
  }
  
  /* Card Hover Effects */
  .service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }
  

  
  /* Custom Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  
  ::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
  
  ::-webkit-scrollbar-thumb {
    background: #e7000b;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: #b30000;
  }
  
  #intro-screen canvas {
    position: absolute;
    width: 100%;
    height: 100%;
  }
  