body {
    margin: 0px;
    font-family: Arial, sans-serif;
    background-color: whitesmoke;
    color: rgb(1, 26, 58);
}



.navbar {
    background-color: rgb(1, 26, 58);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo img {
    max-width: 50%;
    height: auto;
}

.navbar-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
}

.navbar-links li {
    margin-left: 20px;
}

.navbar-links a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s;
}

.navbar-links a:hover {
    padding: 10px;
    border: solid 2px #41c6e7;
    border-radius: 12px;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
    transition: 0.3s;
}



.flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    background-color: #41c6e7;
}

.center-image {
    max-width: 100%;
    height: auto;
}

.car-selection {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 100px; 
    justify-items: center; 
}

.apply-online {
    display: grid;
    grid-template-columns: repeat(1fr); 
    gap: 0px; 
    justify-items: center; 
    background-color: whitesmoke;
    margin-bottom: 0px;
    padding-top: 10px;
    font-size: 24px;
}
.trusted {
    display: grid;
    
  
    justify-items: center; 
    background-color: whitesmoke;
    margin-left: 10%;
    margin-right: 10%;
    padding-top: 10px;
    margin-top: 20px;
    font-size: 20px;

    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    background-color: white;
    
}

.trusted2 {
   
    margin-left: 10%;
    margin-right: 10%;
   

   
    
}

#flag{
    width: 20%;
}

.cell{

    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-home{
    background-color: whitesmoke;
    padding-bottom: 10px;
}
.smaller-text{
    font-size: 16px;
}


.reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 0px; 
    justify-items: center; 
    background-color: whitesmoke;
    margin-bottom: 0px;
    padding-top: 10px;
    font-size: 16px;
    font-style: italic;
    gap: 10px;
    padding-left: 10%;
    padding-right: 10%;
}

.review{

    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    background-color: white;
   
}

#btn-home2{
    padding-top: 20px;
}




.car-option {
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent; 
    
    padding: 10px;
    border-radius: 10px;
    transition: border-color 0.3s ease;
    background-color: white;
 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.car-option:hover { 
    border-color: #41c6e7; 
}

.car-option img {
    max-width: 150px; 
    height: auto;
    border-radius: 10px;
}

.car-option p {
    margin-top: 10px;
    font-size: 18px;
    color: rgb(1, 26, 58);
}





h2{
    text-align: center;
    font-size: larger;
    color: rgb(1, 26, 58);
}
h3{
    text-align: center;
    font-size: larger;
    color: rgb(1, 26, 58);
}
h4{
    text-align: center;
    font-size: 24px;
    color: rgb(1, 26, 58);
}

.next{
    background-color: rgb(2, 145, 50);
    color: white;
    height: 40px;
    width: 130px;
    border-radius: 8px;
    font-size: large;
    border:none
}
.next:hover{
    background-color: rgb(4, 185, 64);
    
}

.button-container {
    display: flex; 
    justify-content: center; 
    
    
}

.pre-approved{
    background-color: #41c6e7;
    color: rgb(1, 26, 58);
    height: 40px;
    width:180px;
    border-radius: 8px;
    font-size: large;
    border:none
}
.pre-approved:hover{
    background-color: #8edcf0;
    
}

.previous{
    background-color: rgb(161, 161, 161);
    color: white;
    height: 40px;
    width: 70px;
    border-radius: 8px;
    font-size: large;
    border:none
}
.previous:hover{
    background-color: rgb(216, 216, 216);
    
}
.submit{
    background-color: rgb(2, 145, 50);
    color: white;
    height: 40px;
    width: 130px;
    border-radius: 8px;
    font-size: large;
    border: none;
    
}
.submit:hover{
    background-color: rgb(4, 185, 64);
    
}

.form-step {
    display: flex;
    flex-direction: column; 
    align-items: center; 
   
}

#contactForm {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    margin-left: 10%;
    margin-right: 10%;
    
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding-top: 1%;
    padding-bottom: 3%;
    margin-top: 3%;
    margin-bottom: 3%;
    background-color: white;
}

input[type="text"],
textarea {
    width: 40%; 
    padding: 10px;
    border: 1px solid rgb(1, 26, 58);
    border-radius: 5px;
    margin-bottom: 15px;
}

textarea {
    resize: vertical; 
    min-height: 100px; 
}

#submit{
    background-color: #41c6e7;
    color: rgb(1, 26, 58);
    height: 40px;
    width: 130px;
    border-radius: 8px;
    font-size: large;
    border: none;
    
}
#submit:hover{
    background-color: #8edcf0;
    
}



.radio-group {
    display: flex; 
    gap: 20px; 
}

#step2,
#step3,
#step4,
#step5,
#step6,
#step7,
#step8,
#step9,
#step10,
#step11,
#step12,
#step13,
#step14,
#step15,
#step16,
#step17,
#step18,
#step19,
#step20{
    text-align: center;
    line-height: 35px;
    font-size: larger;
    border: solid 1px rgb(224, 224, 224);
    box-shadow: 2px 2px 2px gray;
    margin-left: 20%;
    margin-right: 20%;
    margin-top: 25px;
    margin-bottom: 25px;
    border-radius: 12px;
    background-color: whitesmoke;
    color: rgb(1, 26, 58);
    padding-bottom: 15px;
    padding-top: 15px;
    

}

#step21{
    text-align: center;
    line-height: 35px;
    font-size: larger;
    border: solid 1px rgb(224, 224, 224);
    box-shadow: 2px 2px 2px gray;
    margin-left: 400px;
    margin-right: 400px;
    margin-top: 25px;
    margin-bottom: 25px;
    border-radius: 12px;
    background-color: rgb(236, 149, 149);
    color: rgb(1, 26, 58);
    padding-bottom: 15px;
    

}

.no-bullets {
    list-style-type: none; 
    padding: 0; 
    margin: 0;  
}






    





@media (max-width: 768px) {

    .pre-approved{
        
        width:220px;
        
    }

    .navbar-links {
        display: none;
        width: 100%;
        flex-direction: column;
    }

    .navbar-links li {
        margin: 10px 0;
        text-align: center;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-logo img {
        width: 50%; 
        height: auto;
    }

    .intro {
        margin: 0 20px;
        padding: 10px;
    }

    form {
        margin: 0 20px;
        padding: 20px;
        max-width: 100%; 
    }

    fieldset {
        padding: 10px;
    }

    .apply-online {
        display: block; 
        width: 100%; 
        border-radius: 5px; 
        text-align: center; 
    }

    .apply-online img {
        width: 90%; 
        margin-bottom: 10px; 
    }

    #title{
        margin-left: 10%;
        margin-right: 10%;
    }
    #title2{
        margin-left: 10%;
        margin-right: 10%;
    }
    #title3{
        margin-left: 10%;
        margin-right: 10%;
    }

    .reviews {
        display:block;
        
        
    }

    .review{
        margin-bottom: 10px;
    }

    input[type="text"],
textarea {
    width: 80%; 
    padding: 10px;
    border: 1px solid rgb(1, 26, 58);
    border-radius: 5px;
    margin-bottom: 15px;
}

   
}

@media (max-width: 480px) {
    .navbar-logo img {
        width: 50%; 
        height: auto;
    }

    form {
        margin: 0 10px;
        padding: 15px;
        max-width: 100%;
    }

    fieldset {
        padding: 10px;
    }
}


.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.loading-bar {
    width: 100%;
    background-color: #f3f3f3;
    
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 20px;
    height: 20px;
    max-width: 500px; 
}

.loading-progress {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgb(1, 26, 58),#41c6e7);
    border-radius: 25px;
    animation: loadingAnimation 5s linear forwards;
}

@keyframes loadingAnimation {
    from { width: 0%; }
    to { width: 100%; }
}

.post-loading-content {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.post-loading-content.visible {
    opacity: 1;
}

.qualify{
    color: rgb(1, 26, 58);
}

.terms{
    font-size: small;
    margin-left: 20%;
    margin-right: 20%;
}


.styled-date-picker {
    font-size: 18px;
    padding: 10px;
    border: 2px solid rgb(1, 26, 58);
    border-radius: 8px;
    background-color: #fff;
    color: rgb(1, 26, 58);
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

.styled-date-picker:hover {
    border-color: #41c6e7;
}

.styled-date-picker:focus {
    box-shadow: 0 0 5px #41c6e7;
    border-color: #41c6e7;
}

input[type="text"],
input[type="date"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="tel"],
input[type="url"] {
    font-size: 18px;
    padding: 10px;
    border: 2px solid rgb(1, 26, 58);
    border-radius: 8px;
    background-color: #fff;
    color: rgb(1, 26, 58);
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    width: 40%; 
    box-sizing: border-box; 
    
}


input[type="text"]:hover,
input[type="date"]:hover,
input[type="email"]:hover,
input[type="number"]:hover,
input[type="password"]:hover,
input[type="tel"]:hover,
input[type="url"]:hover {
    border-color: #41c6e7;
}

option,
select{
    font-size: 14px;
    padding: 10px;
    border: 2px solid rgb(1, 26, 58);
    border-radius: 8px;
    background-color: #fff;
    color: rgb(1, 26, 58);
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    width: 18%; 
    box-sizing: border-box;
}
option:hover,
select:hover{
    border-color: #41c6e7;
}

#month{
    font-size: 14px;
    padding: 10px;
    border: 2px solid rgb(1, 26, 58);
    border-radius: 8px;
    background-color: #fff;
    color: rgb(1, 26, 58);
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    width: 25%; 
    box-sizing: border-box; 
}
#day{
    font-size: 14px;
    padding: 10px;
    border: 2px solid rgb(1, 26, 58);
    border-radius: 8px;
    background-color: #fff;
    color: rgb(1, 26, 58);
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    width: 15%; 
    box-sizing: border-box; 
}


.custom-radio input[type="radio"] {
    display: none;
}


.radio-label {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid transparent;
    border-radius: 20px;
    background-color: whitesmoke;
    color: rgb(1, 26, 58);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.radio-label2 {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid transparent;
    border-radius: 20px;
    background-color: rgb(236, 149, 149);
    color: rgb(1, 26, 58);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;
}


.custom-radio:hover .radio-label {
    border-color: #41c6e7;
}


.custom-radio input[type="radio"]:checked + .radio-label {
    
    background-color: #41c6e7;
    color: white;
}

.custom-radio:hover .radio-label2 {
    border-color: rgb(1, 26, 58);
}


.custom-radio input[type="radio"]:checked + .radio-label2 {
    
    background-color: rgb(1, 26, 58);
    color: white;
}







html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}


main {
    flex: 1; 
    padding-bottom: 20px; 
}







#assigned{
    width: 200px;
}




@media (max-width: 768px) {
    .navbar {
        
        align-items: right;
    }

   

    .navbar-links {
        display: none;
        position: absolute;
        right: 0;
        top: 60px;
        width: 100%;
        background-color: #41c6e7;
        flex-direction: column;
        align-items: flex-start;
        padding: 0px 0;
    }
    .navbar-links.open {
        display: flex;
    }

    .navbar-links li {
        margin: 10px 0;
    }
    .navbar-links a {
        color: white;
        padding: 10px 20px;
        width: 100%;
        text-align: right;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    .navbar-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        position: absolute;
        right: 20px;
        top: 15px;
    }
    .bar {
        width: 25px;
        height: 3px;
        background-color: white;
        margin: 4px 0;
        transition: 0.3s;
    }
    .navbar-logo img {
        width: 100%; 
        height: auto;
    }

    .flex-container {
        padding: 0px;
    }

    .center-image {
        max-width: 100%;
    }

    .car-selection {
        grid-template-columns: repeat(2, 1fr); 
        gap: 35px;
        
        padding-left: 50px;
        padding-right: 50px;
    }

    .car-option {
        max-width: 100px;
        
    }

    
    .form-step {
        margin: 0 10px;
        padding: 20px;
    }

    #step2, #step3, #step4, #step5, #step6, #step7, #step8, #step9, #step10, #step11, #step12, #step13, #step14, #step15, #step16, #step17, #step18, #step19, #step20, #step21 {
        margin-left: 0;
        margin-right: 0;
        margin-top: 10px;
        margin-bottom: 10px;
        padding: 15px;
        font-size: 16px;
    }

    
    .next, .previous, .submit {
        width: 80%;
        font-size: medium;
        margin: 10px 0;
    }

    
    input[type="text"],
    input[type="date"],
    input[type="email"],
    input[type="number"],
    input[type="password"],
    input[type="tel"],
    input[type="url"],
    select {
        width: 80%;
        font-size: 16px;
        padding: 8px;
    }

    #month, #day, #year {
        width: 32%;
    }

    
    footer {
        font-size: 14px;
        padding: 15px;
    }

    
    .radio-label, .radio-label2 {
        width: 80%;
        text-align: center;
        font-size: 16px;
        padding: 10px;
        margin: 5px 0;
    }

   

    
}


@media (max-width: 480px) {
    

    

    .navbar-links {
        flex-direction: column;
    }

    .flex-container {
        padding: 0px;
    }

    .center-image {
        max-width: 100%;
    }

    

    .car-option img {
        max-width: 80px;
    }

    .form-step {
        padding: 10px;
        font-size: 14px;
    }

    #step2, #step3, #step4, #step5, #step8, #step11, #step12, #step13, #step14, #step15, #step16, #step17, #step18, #step19, #step20, #step21 {
        font-size: 14px;
        padding: 10px;
    }

    
    .next, .previous, .submit {
        font-size: small;
        padding: 8px;
    }

    input[type="text"],
    input[type="date"],
    input[type="email"],
    input[type="number"],
    input[type="password"],
    input[type="tel"],
    input[type="url"],
    select {
        
        font-size: 14px;
        padding: 6px;
    }

    #month, #day, #year {
        width: 30%;
    }

    footer {
        font-size: 12px;
    }
}

.thank-you{
    text-align: center;
}
.thank-you-p{
    text-align: center;
}


@media (max-width: 768px) {
    .navbar .navbar-logo img {
        width: 40%; 
        height: auto;
    }
}



.about-main {
    padding: 20px;
    background: whitesmoke;
}

.about-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-container h1 {
    text-align: center;
    color: rgb(1, 26, 58);
    margin-bottom: 20px;
}

.about-container p {
    line-height: 1.6;
    font-size: 18px;
    color: rgb(60, 60, 60);
    margin-bottom: 15px;
}

.process-section {
    max-width: 800px;
    margin: 25px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.process-container h1 {
    text-align: center;
    color: rgb(1, 26, 58);
    margin-bottom: 20px;
}



.process-container li {
    list-style-type: none;
    line-height: 1.6;
    font-size: 18px;
    color: rgb(60, 60, 60);
    margin-bottom: 15px;
}

.image-container {
    display: flex; 
    justify-content: center; 
    
    
}

.disclaimer{
    background-color: #c2fac2;
    margin-left: 10%;
    margin-right: 10%;
    border-radius: 8px;
}
.disclaimer p{
    margin-left: 5%;
    margin-right: 5%;
}

#secure{
    font-size: small;
    margin: 0px;
    padding: 0%;
}

.security {
    margin: 0;
    padding: 0;
    display: inline-block; 
    vertical-align: middle; 
}







footer {
    background-color: #41c6e7;
    text-align: center;
    color: rgb(1, 26, 58);
  
    font-style: italic;
}


@media (max-width: 768px) {
    .about-section {
        padding: 15px;
    }

    .about-container p {
        font-size: 16px;
    }

    
    .dealer{
        display: none;
    }
}

@media (max-width: 480px) {
    

    .about-section {
        padding: 10px;
    }

    .about-container p {
        font-size: 14px;
    }
}

.pageEnd {
    background-color: rgb(1, 26, 58);
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%; 
    box-sizing: border-box; 
    margin: 0; 
}

.footer-section {
    flex: 1;
    min-width: 150px;
    margin: 10px;
    text-align: left;
}



.footer-section a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    font-size: medium;
}

.footer-section a:hover {
    color: #41c6e7;
}

.footer-logo {
    text-align: center;
   
}



.footer-security {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5%;
    margin-top: 2%;
}

.footer-security img {
    width: 90px;
    transition: transform 0.3s ease;
}

.footer-security img:hover {
    transform: scale(1.1);
}

.articles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
}

.article-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-left: 20px;
    margin-right: 20px;
}

.article-card img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    padding: 15px;
}

.article-content-main {
    padding: 15px;
}

.article-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: rgb(1, 26, 58);
}

.article-content-main h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: rgb(1, 26, 58);
}

.article-date {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}

.article-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.article-content-main p {
    font-size: 16px;
    color: rgb(1, 26, 58);
    margin-bottom: 15px;
    
}

.read-more {
    text-decoration: none;
    background-color: #41c6e7;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s;
}

.read-more:hover {
    background-color: #8edcf0;
}

#article_header{
    color: rgb(1, 26, 58);
    text-align: center;
    background-color: #41c6e7;
    margin: 0;
    padding-top: 20px;
    padding-bottom: 20px;
}