/* Custom Animations and Styling */

/* Background Animation */
@keyframes blob {
  0% { transform: translate(0px, 0px) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(0px, 0px) scale(1); }
}

.animate-blob {
  animation: blob 7s infinite;
}

.animation-delay-2000 {
  animation-delay: 2s;
}

.animation-delay-4000 {
  animation-delay: 4s;
}

/* Base animation for elements appearing */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Custom Input Field Focus Glow */
.input-field {
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.01);
}
.input-field:focus {
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
}

/* Step container adjustments */
.step-content {
    /* To prevent form collapse during position absolute transitions */
    overflow-y: auto;
    overflow-x: hidden;
}

/* Scrollbar customization for webkit */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}

/* Green Particles Floating Up */
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background-color: #1BAA56;
    border-radius: 50%;
    bottom: -10px;
    box-shadow: 0 0 15px 3px rgba(27, 170, 86, 0.5);
    animation: floatUp 8s infinite linear;
    opacity: 0;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    80% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100vh) scale(0.2);
        opacity: 0;
    }
}

.animation-delay-0 { animation-delay: 0s; }
.animation-delay-1000 { animation-delay: 1s; }
.animation-delay-2000 { animation-delay: 2s; }
.animation-delay-3000 { animation-delay: 3s; }
.animation-delay-4000 { animation-delay: 5s; }
