* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #F9F9F9;
}

/* Navbar styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 45px 0px;
}

.logo {
    height: auto;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #1E2833;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 5px;
    transition:  0.3s;
}

.nav-links a.active {
    color: #5CAC6E;
}

.nav-links a:hover {
    color: #5CAC6E;
}

.apply-btn {
    margin-left: 70px;
    background-color: #5CAC6E;
    padding: 10px 12px !important;
    color: #FFFFFF !important;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.banner {
    background: url('../images/bannerBg.svg') no-repeat center center/contain;
    background-position: 80%;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    color: black;
    padding: 50px 50px 50px 160px;
}

.banner-text {
    max-width: 693px;
}

.banner-text h1 {
    font-size: 54px;
    margin-bottom: 30px;
    line-height: 80px;
}

.banner-text h2 {
    font-size: 26px;
    margin-bottom: 10px;
    line-height: 39px;
    font-weight: 400;
}

.banner-apply-btn{
    margin-top: 40px;
    height: 53px;
    color: white;
    background-color: #5CAC6E ;
    width: 180px;
    font-size: 22px;
    font-weight: 500;
    border: none;
    border-radius: 12px;
    cursor: pointer;
}

.parent{
    width: 100%;
    padding: 0px 20px;
}
.container {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    height: auto;
    width: 100%;
    padding: 90px;
    border-radius: 50px;
    background: url('../images/secondContainerBackground.svg' ) no-repeat center center/cover;
    align-items: center;
}

.text-section h2 {
    font-size: 40px;
    line-height: 52px;
    font-weight: bold;
    width: max-content;
    color: #1E2833;
}

.grid-section {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, 0fr);
    gap: 15px;
    justify-content: end;
    margin: auto;
}

.grid-item {
    background: white;
    color: #1E2833;
    padding: 20px;
    width: 195px;
    text-align: center;
    font-size: 1.2rem;
    border-radius: 17px;
}
.grid-item img {
    width: 75px;
    height: 70px;
    object-fit: cover;
}

.text-section{
    height: fit-content;
}
.text-section p{
    width: max-content;
    margin-top: 20px;
    font-size: 20px;
    line-height: 36px;
    color: #1E2833;
}
.text-section-apply-btn {
    background-color: #5CAC6E;
    height: 60px;
    border-radius: 49px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    gap: 10px;
    margin-top: 30px;
    cursor: pointer;
    
}
.text-section-apply-btn p {
    margin: 0px 10px 0px 40px;
    font-size: 22px;
    color: white;   
    white-space: nowrap;
    overflow: hidden;
}
.text-section-apply-btn img {
    width: 48px;
    height: 48px;
}

.text-heading{
    font-size: 32px;
    line-height: 40px;
    font-weight: 600;
    margin-top: 40px;
    justify-self: center;
    text-align: center;
}
.service-conatiner-1{
    display: flex;
    width: 100%;
    gap: 90px;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    justify-self: center;
    margin-top: 70px;
    margin-bottom: 70px;
}
.service-container-image{
    height: 400px;
    width: 500px;
}
.service-text{
    max-width: 445px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}
.service-text h1{
    font-size: 38px;
    line-height: 45px;
    font-weight: 700;
    color: #5CAC6E;
}
.service-text p{
    font-size: 20px;
    line-height: 36px;
    color: #1E2833;
}
.service-text ul li{
    list-style-image: none;
    font-size: 18px;
    letter-spacing: 0.48;
    line-height: 30px;
    color: #1E2833;
    align-items: center;
    margin-bottom: 10px;

}

.service-text ul li::before{
    content: '';
    display: inline-block;
    height: 17px;
    width: 27px;
    background-image: url(../images/bullet.svg);
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.service-conatiner-2{
    display: flex;
    width: 100%;
    gap: 90px;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    justify-self: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.loan-journey-container{
    background: url('../images/secondContainerBackground.svg' ) no-repeat center center/cover;
    border-radius: 50px;
    padding: 90px 90px 40px 90px;
    justify-items: center
}
.loan-journey-container h1{
    font-size: 38px;
    line-height: 57px;
    font-weight: 600;
    color:#5CAC6E;
    margin-bottom: 10px;
    text-align: center;
}
.loan-journey-container p{
    font-size: 24px;
    line-height: 38px;
    color: #1E2833;
    text-align: center;
    margin-bottom: 60px;
}


.faq-container h2{
    font-size: 32px;
    line-height: 57px;
    font-weight: 700;
    color:#1E2833;
    margin: 40px 0px 20px;
    text-align: center;
}

.faq-container {
    max-width: 1000px;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
}

.faq-item {
    border-bottom: 1px solid #CDD6DA40;
    border-top: 1px solid #CDD6DA40;
    padding: 10px 0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    font-size: 19px;
    font-weight: 600;
    color: #1E2833;
    text-align: left;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}

.faq-question:hover {
    color: #5CAC6E;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #f9f9f9;
    padding: 0 20px;
    border-radius: 5px;
}

.faq-answer p {
    padding: 20px;
    color: rgba(60, 60, 67, 0.85);
    font-size: 16px;
    font-weight: 400;
}

.faq-answer ul {
    padding: 20px;
    color: rgba(60, 60, 67, 0.85);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 100px;      
    padding: 0 20px;
    border-top: 1px solid white;

}

.faq-item.active .icon {
    transform: rotate(180deg);
}

.testimonial-container{
    margin-top: 40px;
    width: 100%;
    background-color: rgba(236, 240, 240, 1);
    padding: 90px;

}

.testimonial-container h1{
    font-size: 40px;
    font-weight: 700;
    color: #1E2833;
    line-height: 52px;
    margin-bottom: 20px;
}

.testimonial-container p{
    font-size: 20px;
    line-height: 30px;
    color: #1E2833;
}

.carausel-buttons{
    text-align: right;
}

.carausel-buttons button{
    background-color: none;
    border: none;
    cursor: pointer;
}

.testimonial-cards{
    max-width: 578px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    background-color: white;
    border-radius: 15px;
    flex: 0 0 calc(100% - 10px);
    max-width: calc(100% - 10px);
    background: white;
    padding-right: 20px;
}

.testimonial-cards img{
    width: auto !important;
    border-radius: 15px 0px 0px 15px;
}

.name{
    font-size: 20px;
    font-weight: 500;
}


.testmonials h2{
    font-size: 24px;
    font-weight: 600;
    color: #1E2833;
    line-height: 38px;
    margin-bottom: 10px;
}

.testmonials h3{
    font-size: 18px;
    font-weight: 500;
    color: #1E2833;
    line-height: 21px;
    margin-bottom: 10px;
}

.testmonials p{
    font-size: 14px;
    color: #868686;
    line-height: 22px;
    margin-bottom: 10px;
}

.footer {
    background-color: #1E2833;
    color: white;
    padding: 50px 90px 30px;
    /* text-align: center; */
    position: relative;
    z-index: 2;
}

.footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 130px;
}
.footer-column {
    justify-items: start;
}

.footer-column h2 {
    font-size: 14px;
    text-align: left;
    margin-bottom: 10px;
}

.footer-column h3{
    color: #5CAC6E;
    font-size: 15px;
    margin-bottom: 10px;
}

.footer-column p,
.footer-column ul {

    font-size: 15px;
    text-align: left;
    line-height: 1.6;
}

.info-text{
    width: max-content;
    color: #A1A1A1;
    font-size: 14px;
    line-height: 24px;
    font-weight: 300;
    margin: 10px 0px 10px 0px;

}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 5px;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: #5CAC6E;
}

/* Divider */
.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 20px 0;
}

/* Website Links */
.footer-links {
   display: flex;
   justify-content: space-between;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-size: 16px;
}

.footer-links a:hover {
    color: #5CAC6E;
}

.right-links{
    display: flex;
    align-items: center;
}

.right-links a{
    font-size: 30px;
}

.parent-footer-col{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
}

.credit-limit-banner{
    background: url('') no-repeat center center/cover;
    min-height: 90vh;
    padding: 0px 0px 0px 90px ;
    display: flex;
    justify-content: space-between;
}

.credit-limit-banner-text img{
    width: 500px;
    margin-top: 30px;
}

.credit-limit-banner-text p{
    font-size: 25px;
    margin-bottom: 60px;
}

.credit-limit-banner h3{
    font-weight: 600;
    color: #5CAC6E;
    font-size: 25px;
    margin-bottom: 10px;
}

.credit-limit-banner-text ul{
    margin-bottom: 180px;
}

.credit-limit-banner-form{
    min-height: 90vh;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("../images/form-bg.svg") no-repeat center center/cover;
}


.form-container {
    height: min-content;
    background: white;
    padding: 20px;
    border-radius: 24px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    width: 500px;
}

.form-container h2 {
    text-align: left;
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}
.form-group label {
    color: #757575;
    font-weight: 500;
    font-size: 21px;
}

.input-box {
    display: flex;
    margin-top: 5px;
    align-items: center;
    border: 1px solid #D9D9D9; 
    border-radius: 12px;
    padding: 10px;
    height: 50px;
    width: 100%;
  }
  
  .input-box .prefix {
    font-weight: 300;
    font-size: 14px;
    color: #999; 
  }
  
  .input-box input {
    flex-grow: 1;
    font-size: 14px;
    background: #fff;
    border: none; 
    outline: none;
    padding: 0.5rem; 
    letter-spacing: .2rem;
  }
  
  .input-box:focus-within {
    border-color: #777;
  }
.error {
    color: red;
    font-size: 12px;
    margin-top: 5px;
}
.form-container button {
    background-color: #5CAC6E;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    cursor: pointer;
    border-radius: 10px;
    font-size: 16px;
    margin-top: 30px;
    height: 45px;
}
.form-container button:hover {
    background-color: #4A9B5A;
}

.credit-limit-banner-text ul li{
    list-style: none;
    font-size: 18px;
    letter-spacing: 0.48;
    line-height: 30px;
    color: #1E2833;
    align-items: center;
    display: flex;
    margin-bottom: 10px;
}
.credit-limit-banner-text ul li::before{
    content: url('../images/bullet-black.svg');
    height: 24px;
    width: 18px;
    margin-right: 10px;
}

.item {
    align-items: center;
    background-color: tomato;
    color: white;
    display: flex;
    height: 300px;
    justify-content: center;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-self: end;
    padding: 0px 10px;
    gap: 2px;
    font-size: 20px;
    cursor: pointer;
    background-color: rgba(233, 233, 233, 0.68);
    border-radius: 74px;
    width: fit-content;
}

.star-rating input {
    display: none;
}

.star-rating label {
    color: #ccc;
    font-size: 19px;
    cursor: not-allowed;
    transition: color 0.3s;
}

.star-rating input:checked ~ label,
.star-rating input:checked ~ label ~ label {
    color: rgba(62, 102, 223, 1);
}


.image-container img{
    position: absolute;
    height: 400px;
}

.image-container{
margin-bottom: -4px;
display: flex;
flex-direction: column;
align-items: flex-end;
justify-content: end;
margin-left: 192px;
position: relative;
bottom: 0;
}

.privacy-policy-container{
    background-color: #5CAC6E;
    padding: 100px 40px;
}

.privacy-policy-container p{
    font-size: 50px;
    color: white;
    font-weight: 600;
}

.privacy-policy-content{
    padding: 40px;
}

.privacy-policy-content p{
    color: #3b3b3b;
    line-height: 30px;
    margin-top: 20px;

}

.privacy-policy-content ul, ol li{
    margin-left: 30px;
    color: #3b3b3b;
    line-height: 30px;

}

.privacy-policy-content ul, ol{
    margin-top: 10px;
}

.privacy-policy-content h2, h3{
    margin-top: 15px;
    color: #3b3b3b;
}

table {
    width: 50%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    justify-self: center;
    margin-top: 20px;
}

th, td {
    border: 1px solid #7e7e7e;
    padding: 10px;
    text-align: left;
}

th {
    font-weight: bold;
    color: #3b3b3b;
}

tbody tr:nth-child(even) {
    background-color: #e7e7e7;

}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    z-index: 9999;
}
.modal-content {
    position: relative;
    background: white;
    padding: 20px;
    text-align: center;
    width: 400px;
    height: fit-content;
    border-radius: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.close {
    float: right;
    font-size: 20px;
    cursor: pointer;
}

.modal-content img{
    width: 230px;
    align-self: center;
    height: 100px;  
}
.modal-content h2{
    color: #5CAC6E;
    font-weight: 600;
}

.modal-text{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

body.modal-open{
    overflow: hidden;
}

.lending-partner-container{
    background-color: #ffffff;
    padding: 40px 40px;
    width: calc(100% - 40px);
    border-radius: 40px;
    margin: 50px auto;
}
.lending-partner-container h2{
    font-size: 32px;
    line-height: 57px;
    font-weight: 700;
    color: #1E2833;
    margin-bottom: 30px;
    text-align: center;
}
.lending-partner-container .owl-stage{
    margin-left: auto;
    margin-right: auto;
}

#partner-logos .p-logo {
    height: 100px;
}

#partner-logos .l-img{
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    max-width: 200px;
    height: 100%;
    margin: 0 auto;
}

.pointer{
    cursor: pointer;
}

.modal-logo .im{
    height: 70px;
    max-width: 140px;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0 auto;
}
.modal-text .partner-name{
    margin-top: 0;
}

.modal-text .partner-content p {
    margin-top: 0;
    margin-bottom: .9rem;
}

.modal-content.partner-modal{
    width: 700px;
    max-width: 100%;
}