/* Add custom styles here */
body {
    font-family: Arial, sans-serif;
    background-color: #b3cef1;
    background-image: url(../image/banner.jpg);
    background-repeat: repeat-x;
    background-position: center top;
}

main {
    background: linear-gradient(183deg, rgb(255 255 255 / 90%) 0%, rgb(255 255 255 / 84%) 60%);
    padding-top: 15px;
}

@media only screen and (max-width: 760px) {

    .form-check h3,
    #sliderValue {
        display: block;
        width: 100%;
    }
}

@media (min-width: 1200px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 50% !important;
    }
}

.container {
    max-width: 650px;
    margin: 0 auto;
    padding: 20px;
}

.container.fullwidth {
    max-width: 100%;
}

.header {
    text-align: center;
    padding: 20px 0;
}

.header img {
    width: 100px;
}

.header h1 {
    font-size: 2em;
    color: #333;
}

.loan-form {
    background-color: #004e08;
    padding: 20px;
    padding-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
}

.loan-form h2 {
    color: #007bff;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    /* Default font size */
}

/* For tablets (max-width: 768px) */
@media (max-width: 768px) {
    .form-group label {
        font-size: 14px;
        /* Slightly reduce font size */
        margin-bottom: 4px;
        /* Adjust spacing */
    }
}

/* For mobile screens (max-width: 480px) */
@media (max-width: 480px) {
    .form-group label {
        font-size: 13px;
        /* Smaller font size for smaller screens */
        margin: 10px 0;
        line-height: 1em;
    }
}


.form-group input,
.form-group select {
    display: block;
    padding: 10px;
    border-radius: 4px;
}

.form-group input[type="radio"] {
    width: auto;
    margin: -5px 5px 0 12px !important;
}

.form-group.bg-rounded {
    background-color: #4d8d54;
    border-radius: 4px;
    padding: 15px 20px 10px;
    color: white;
}


.form-check {
    /*display: inline-flex;*/
    /*margin-right: 20px;*/
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-evenly !important;
}

.form-check h3 {
    color: #fff;
    font-size: 18px;

}

.form-group.bg-rounded .form-check {
    justify-content: normal !important;
    padding: 0;
    text-transform: uppercase;
}

.form-group.bg-rounded .form-check input[type="radio"],
.form-group.bg-rounded .form-check label {
    margin: 0 5px 0 0;
    font-size: 18px;
}


.btn {
    /*background-color: #1abe29;*/
    background-color: #697e30 !important;
    color: #fff !important;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn:hover {
    background-color: #0a680e;
}


.footer {
    text-align: center;
    padding: 20px 0;
    background-color: #343a40;
    color: #fff;
}

.icon-card {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.icon-card img {
    width: 30px;
    margin-right: 10px;

}

#sliderValue {
    color: #ffd0b1;
    font-weight: 500;
    text-transform: uppercase;
}

.slider-values span {
    color: #ffd0b1 !important;
}

.features-section {
    text-align: center;
    padding: 50px 20px 0px;
    /* background-color: #fff; */
    margin-top: 30px;
    margin-bottom: 10px;
    border-radius: 8px;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
}

.features-section h2 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #632f0e;
    text-transform: uppercase;
}

.features-section p {
    color: #632f0e;
    line-height: 1.2em;
    padding-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.feature-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.feature-item h3 {
    font-size: 1.2em;
    color: #005419;
    margin: 10px 0 0;
    text-transform: uppercase;
}

.footer-section {
    text-align: justify;
}

.footer-section2 {
    padding-left: 57px;
    text-align: justify;
}

.footer-section2 a {
    color: #85ddff;
}

/* Responsive styles */
@media (max-width: 992px) {
    .container {
        max-width: 90%;
        padding: 15px;
    }

    .footer-section2 {
        padding-left: 30px;
    }

    .button-combo .btn-prev,
    .button-combo .btn-next,
    .button-combo .btn.space {
        width: 60% !important;
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 1.5em;
    }

    .features-section h2 {
        font-size: 1.5em;
    }

    .feature-item h3 {
        font-size: 1em;
    }

    .footer-section2 {
        padding-left: 20px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 10px;
    }

    .header img {
        width: 80px;
    }

    .btn {
        width: 25%;
    }

    .footer-section2 {
        padding-left: 10px;
    }
}

.text-info strong {
    color: #024a00 !important;
}


/* new style  */
.container {
    max-width: 800px;
    margin: auto;
    padding: 0px;
    /* background-color: #fff; */
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    border-radius: 10px;
    /* background-image: linear-gradient(-225deg, #FFFEFF 0%, #d7ffdd 100%); */
}

.header-logo img {
    width: 29%;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

h5 {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.loan-form .form-group {
    margin-bottom: 1rem;
}

.btn {
    background-color: #697e30 !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    width: 25%;
}


.btn:hover {
    background-color: #b74800 !important;
    color: #fff !important;
}



/* Styles for smaller screens */
@media (max-width: 768px) {
    .btn {
        width: 100%;
        /* Make the button take full width on smaller screens */
        font-size: 16px;
        /* Adjust font size if necessary */
    }
}

/* Styles for very small screens */
@media (max-width: 576px) {
    .btn {
        width: 100%;
        /* Make the button take full width on smaller screens */
        font-size: 14px;
        /* Adjust font size if necessary */
    }
}

.features-section {
    margin-top: 20px;
}

.features-grid {
    display: grid;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.feature-item {
    flex: 1 1 calc(25% - 20px);
    text-align: center;
}

.feature-item img {
    width: 75%;
    margin-bottom: 10px;
}

footer {
    background-color: #002803;
    padding: 20px;
    text-align: center;
    margin-top: 30px;
}

footer small {
    color: #b3a489;
}

footer .footer-content {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
    color: #bf7d00;
}

footer .footer-address,
footer .footer-mobile {
    margin: 0;
}

footer .footer-mobile {
    text-align: right;
}


.form-check {
    display: inline-flex;
    /*margin-right: 20px;*/
}

.text-center h1 {
    color: #024a00;
    /* Default color */
    font-size: 32px;
    /* Default size */
}

/* For tablets (max-width: 768px) */
@media (max-width: 768px) {
    .text-center h1 {
        font-size: 28px;
        /* Slightly smaller for tablets */
    }
}

/* For mobile screens (max-width: 480px) */
@media (max-width: 480px) {
    .text-center h1 {
        font-size: 24px;
        /* Smaller for mobile */
        color: #036900;
        /* Slightly brighter green for better visibility */
    }
}


.text-center h5 {
    color: #b74800;
}

.list-inline a {
    color: #bf7d00;
}

.list-inline a:hover {
    color: #fbb228;
}

.privacy-policy,
.terms-conditions {
    color: #632f0e;
}

.terms-conditions a {
    color: #024a00;
}

.terms-conditions a:hover {
    color: #40cf3c;
}