.slider {
    position: relative;
    max-width: 600px;
}

.slider-content {
    position: relative;
    overflow: hidden;
}

.slide {
    display: none;
    padding: 20px;
}

.slide.active {
    display: block;
}

.slide-heading {
    font-size: 1.8rem;
    color: #333;
    overflow: hidden;
    animation: blink-cursor 0.7s step-end infinite;
    white-space: normal;         /* Allows text to wrap onto the next line */
    word-wrap: break-word;       /* Breaks long words if necessary */
    line-height: 1.2;            /* Adjusts line spacing for readability */
    margin: 0 auto;              /* Centers heading within the slider */
    max-width: 100%;
}
.slide-paragraph {
    font-size: 1rem;
    color: #555;
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 0.5s;
}
/* .slide-paragraph {
    font-size: 1rem;
    color: #555;
    display: none;
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 0.5s;
} */

@keyframes blink-cursor {
    50% {
        border-color: transparent;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}


h2 {
    text-align: center;
    margin-bottom: 20px;
}

.step-container {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.step-container.active {
    display: block;
    opacity: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 17px;
}

input,
select {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

button {
    background-color: #007BFF;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #0056b3;
}

.error {
    color: red;
    font-size: 12px;
    margin-bottom: 10px;
}

#result {
    text-align: center;
    color: green;
    margin-top: 20px;
}

.full-height {
    min-height: 100%;
    display: flex;
    align-items: center;
    /* Vertical centering */
    justify-content: center;
    padding: 20px;
}
h1.form-title {
font-size: 24px;
margin-bottom: 3em;
text-align: center;
}

/* Background color section */
/* .bg-colored {
    background: linear-gradient(112deg, rgb(1, 186, 255) 0%, rgb(175, 75, 255) 76%, rgb(118, 112, 255) 100%);
    color: white;
} */

.bg-colored {
    background: linear-gradient(112deg, rgb(255 255 255) 0%, rgb(251 246 246) 20%, rgb(14 50 239) 100%);
    color: white;
}

.loan_benefit .icon img {
    height: 90px;
}