  header{
   background: rgb(116, 64, 168);
  }
  
  .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  
  /* HERO SECTION */
  
  .hero {
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  
  .hero--visible {
    opacity: 1;
  }
  
/* log-reg eme */
 /* Enhanced Modal Animations */
.modal {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.19, 1, 0.22, 1), visibility 0.4s;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal > div {
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), 
              opacity 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.modal.active > div {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Add a subtle bounce effect on buttons */
button {
  transition: transform 0.2s, background-color 0.2s;
}

button:active {
  transform: scale(0.96);
}
  
  /* SECTIONS */
  
  .features,
  .about,
  .faq,
  .contact {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.8s ease, transform 0.6s ease;
  }
  
  .features--visible,
  .about--visible,
  .faq--visible,
  .contact--visible,
  .loginModal--visible {
    opacity: 1;
    transform: translateY(0);
  }

  

::-webkit-scrollbar {
  width: 5px; 
  height: 5px; 
}

/* Track */
::-webkit-scrollbar-track {
  background: rgb(255, 255, 255); 
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: rgb(255, 255, 255); 
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #843780; 
}

/* Firefox */
* {
  scrollbar-width: thin; 
  scrollbar-color: rgba(132, 55, 128, 0.5) rgba(0, 0, 0, 0.1);
}



.step-indicator {
    flex: 1;
    text-align: center;
    padding: 0.5rem 0;
    border-bottom: 2px solid #d1d5db; 
    color: #6b7280; 
    position: relative;
    transition: all 0.3s ease;
}

.step-indicator.active {
    border-bottom-color: #9333ea; 
    color: #9333ea; 
    font-weight: 500;
}

.step-indicator.completed {
    border-bottom-color: #10b981; 
    color: #10b981; 
}

.step-indicator.completed:not(:last-child)::after {
    background: #10b981; 
}

/* Add to your CSS file */
.password-toggle {
  transition: none !important; /* Disable any transitions */
  transform: none !important; /* Ensure no transforms are applied */
}

.password-toggle svg {
  pointer-events: none; /* Prevent SVG from intercepting clicks */
}

/* Reset any mobile-specific transforms */
@media (max-width: 768px) {
  .password-toggle {
      right: 0.75rem !important; /* Adjust as needed */
      transform: none !important;
  }
}

/* Add these if not already present */
.border-red-500 {
  border-color: #ef4444;
}
.text-red-500 {
  color: #ef4444;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.mt-1 {
  margin-top: 0.25rem;
}

#messageModal {
  transition: opacity 0.3s ease;
}

#messageModal.hidden {
  display: none;
}

#modalBackdrop {
  transition: opacity 0.3s ease;
}

#modalBackdrop.hidden {
  display: none;
}

.carousel-track { transform: translateZ(0); }

 .slider-container {
  position: relative;
  overflow: hidden;
  height: 400px;
}

@media (max-width: 768px) {
  .slider-container {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .slider-container {
    height: 250px;
  }
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
}

.slider-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  transition: transform 0.6s ease-in-out;
}

.slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  min-height: 100%;
  transform: scale(1);
  transition: transform 6s ease-out;
}

.slider-item.active img {
  transform: scale(1.1);
}

.slider-container:hover .slider-item img {
  transform: scale(1) !important;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: white;
  width: 24px;
  border-radius: 5px;
}




@media (max-width: 640px) {
  .step-indicator {
      font-size: 10px;
      padding: 0;
  }
  
  .password-requirements,
  .password-strength-text {
      font-size: 10px;
  }
  
  /* Make modals take up more space on mobile */
  #loginModal .max-w-md,
  #signupModal .max-w-md {
      width: 95%;
  }
}

/* Step indicators styling */
.step-indicator {
  position: relative;
  padding-bottom: 4px;
  color: #9ca3af;
}

.step-indicator.active {
  color: #8b5cf6;
  font-weight: 600;
}

.step-indicator.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #8b5cf6;
}

/* Password strength indicator */
.password-strength-meter {
  background-color: #e5e7eb;
  height: 4px;
  border-radius: 4px;
  overflow: hidden;
}

.password-strength-indicator {
  height: 100%;
  width: 0;
  transition: width 0.3s ease, background-color 0.3s ease;
}

/* Form transitions */
.form-step {
  transition: all 0.3s ease;
}

/* Custom scrollbar for mobile */
#signupModal::-webkit-scrollbar {
  width: 8px;
}

#signupModal::-webkit-scrollbar-track {
  background: #f1f1f1;
}

#signupModal::-webkit-scrollbar-thumb {
  background: #8b5cf6;
  border-radius: 10px;
}

/* Animation for form transitions */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-step.active {
  animation: fadeIn 0.3s ease forwards;
}
  
        
        .modal-backdrop {
            backdrop-filter: blur(8px);
        }
        
        .social-hover {
            transition: all 0.3s ease;
        }
        
        .social-hover:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
        }
        
        .footer-link {
            position: relative;
            transition: all 0.3s ease;
        }
        
        .footer-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -2px;
            left: 0;
            background: linear-gradient(90deg, #a855f7, #d946ef);
            transition: width 0.3s ease;
        }
        
        .footer-link:hover::after {
            width: 100%;
        }
        
        .glow-text {
            text-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
        } 
        
        
        /* Hover animations */
        .btn-primary {
            transition: all 0.3s ease;
        }
        
        .btn-secondary {
            transition: all 0.3s ease;
        }

        
        
       
 /* Mobile Slider Styles */
  .slider-container-mobile {
    position: relative;
    width: 100%;
    aspect-ratio: 21/9;
    max-height: 200px;
    touch-action: pan-y;
    background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 100%);
  }

  .slider-track-mobile {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .slider-item-mobile {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
  }

  .slider-item-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .dot-mobile {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }

  .dot-mobile.active {
    background-color: white;
    width: 28px;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  }

@media (min-width: 1024px) and (max-width: 1279px) {
  .slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    max-height: 300px; /* adjust as needed */
    touch-action: pan-y;
    background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 100%);
  }

  .slider-track {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .slider-item {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
  }

  .slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }

  .dot.active {
    background-color: white;
    width: 28px;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-10px); }
  40%, 80% { transform: translateX(10px); }
}

.shake {
  animation: shake 0.2s ease;
}

.modal-content {
  transition: all 0.3s ease-in-out;
}


@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.verification-success-animation {
  animation: bounceIn 0.6s ease-out;
}

/* Loading spinner animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

