/* First Fold Section */
.first-fold {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #5e48ff;
    flex-wrap: wrap; /* Allow content to wrap on smaller screens */
}

.theme-btn.theme-btn-alt {
    background-color: #5e48ff !important;
    color: #ffffff;
}
.manage-c-finance img {
    width: 50px;
    border-radius: 50%;
}

/* Left Side (Slider Section) */
.slider-container {
    width: 60%;
    position: relative;
    height: 82vh; /* Full viewport height */
}

/* Slider Section */
.slider {
    position: relative;
    height: 100%;
    background-image: url('../img/apply-banner2.webp'); /* Your background image */
    background-size: cover;
    background-position: center;
}

/* Adding a Gradient Overlay to the Background */
.slider:before {
    content: "";
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8)); /* Dark gradient overlay */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Ensure it stays behind the text */
}

/* Slide Styles */
.slide {
    display: flex; /* Ensure the slide is shown */
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    height: 100%;
    width: 100%;
    opacity: 1;
    transform: scale(1); /* Normal scale for active slide */
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

/* Text Styles */
.text {
    color: white;
    text-align: center;
    max-width: 100%;
    position: relative;
    z-index: 1; /* Ensure the text stays above the gradient overlay */
    margin: 0 auto;
    padding: 30px; /* Add padding for better readability */
}
.text h1 span {
    background: #5e48ff;
    border-radius: 20px;
    padding: 0 20px;
    line-height: 0px;
}
.text h1 {
    font-size:45px; /* Increase font size for better visibility */
    margin-bottom:5px;
    font-weight: 600;
    color: #fff;
 
}

.text p {
    font-size: 1.4rem; /* Increase font size for better visibility */
    font-weight: 400;
    margin-bottom: 30px;
}

/* Right Side: Login Section */
.login-section {
    width: 40%;
    padding:20px 20px 20px 20px;
    background-color: #5e48ff;
}

.login-form {
    text-align: center;
}

.login-form h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.login-form p {
    margin-bottom: 20px;
    font-size: 1rem;
}

input {
    padding: 12px;
    width: 100%;
    max-width: 350px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
}

input:focus {
    border-color: #ff7f50;
}

 
select {
    padding: 12px;
    width: 100%;
    max-width: 350px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
}

select:focus {
    border-color: #ff7f50;
}

button {
    width: 100%;
    max-width: 350px;
    padding: 12px;
    background-color: #ff7f50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

button:hover {
    background-color: #ff5722;
}

/* Loan Info Section */
.loan-details {
    margin-top: 0px;
    text-align: left;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.loan-info {
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.loan-info h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
}

.loan-info p {
    font-size: 1rem;
    color: #555;
}

/* Ensure the rupee symbol (₹) is positioned correctly */
.d-flex {
    display: flex;
    align-items: center;
}

input[type="number"] {
    padding-left: 10px; /* Space between the currency symbol and the input text */
    font-size: 1rem;
    width: 100%;
}


.loan-apply-widget {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-direction: column;
    padding: 20px 20px 20px 25px;
    border-radius: 4px;
    box-shadow: var(--theme-dropshadow);
    border-bottom: 2px solid transparent;
    background-color: var(--bs-white);
    transition: all 0.3s 
ease-out;
    position: relative;
    align-content: space-between;
    justify-items: stretch;
    align-items: center;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {

    .loan-apply-widget {
    display: grid;
    grid-template-columns: 1fr;
    flex-direction: column;
    padding: 20px 20px 20px 25px;
    border-radius: 4px;
    box-shadow: var(--theme-dropshadow);
    border-bottom: 2px solid transparent;
    background-color: var(--bs-white);
    transition: all 0.3s ease-out;
    position: relative;
    align-content: space-between;
    justify-items: stretch;
    align-items: center;
    width: 100%;
}


    .first-fold {
        flex-direction: column; /* Stack the sections vertically on smaller screens */
        height: auto; /* Adjust height for mobile */
    }

    .slider-container {
        width: 100%;
        height: 300px; /* Reduce height on mobile */
    }

    .login-section {
        width: 100%;
        padding: 20px;
        box-shadow: none;
        
    }

    
    .loan-details {
        
    text-align: left;
    display: flex;
    gap: 0;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

    /* Adjust the text for mobile */
    .text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    .text h1 span {
    background: transparent;
    border-radius: 0px;
    padding: 0px;
    line-height: 1.3;
}

    .text p {
        font-size: 1rem; /* Adjust paragraph size for smaller screens */
    }
}

 
.apply-slider-gradient {    background: linear-gradient(45deg, #cccaff, #ffffff);
    padding: 35px;
    border-radius: 21px;
    color: #fff;}

    .apply-slider-gradient2 {    background: linear-gradient(307deg, #cccaff, #fff);
    padding: 35px;
    border-radius: 21px;
    color: #fff;}



    .loan-details-widget h3 {
    font-size: 24px;
    line-height: 1.8;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.loan-info img {width: 50px; border-radius: 50%;}

header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9997;
}



 .feature-card-widget-3 h5 {
    font-size: 16px !important;
    color: #fff;
    margin-top: 13px;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    line-height: 1.5;
}

.feature-card-widget-3 {flex: 0 0 auto; /* prevent shrinking */
    padding: 25px;
    border-radius: 10px;
    transition: all 0.3s 
ease-out;
    overflow: hidden;
    position: relative;
    margin: 0 12px;
    outline: none;
    height: 290px;
}
 
.saas-feature-card {
    text-align: left;
    border-radius: 16px;
    background: #F7F9FF;
    padding: 30px 25px;
}
.saas-feature-card h4 {
    font-size: 22px;
    letter-spacing: 0;
    font-family: 'Mulish';
}
.img-res {width: 100%;}
.bank-section-title h1 {
    font-weight: 700;
    font-size: 35px;
    margin-bottom: 30px;
}

