  header{
    background: #8A3BD9;
  }
  
  .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;
}

.hero-pattern {
  background-image: 
    url("data:image/svg+xml,%3Csvg width='60' height='70' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}


@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;
}