@font-face {
    font-family: regular;
    src: url(../fonts/Poppins/Poppins-Regular.ttf);
}

@font-face {
    font-family: boldd;
    src: url(../fonts/Poppins/Poppins-Bold.ttf);
}

@font-face {
    font-family: mediumm;
    src: url(../fonts/Poppins/Poppins-Medium.ttf);
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

:root {
    --main-color: #e3d12d;
    --primary-color: #253158;
    --secondary-color: #ededed;
    --back-color: #eeeeee;
}

body {
    background-color: var(--back-color);
}


/*--- header-starts ---*/
header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(9, 30, 137, 0.258);
    position: relative;
    z-index: 10;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    flex-wrap: wrap;
    /* border: 2px solid green; */
}

.nav-left {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    /* border: 2px solid red; */
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    /* border: 2px solid red; */
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: var(--primary-color);
    font-family: regular;
    font-weight: 500;
    font-size: 16px;
    /* padding-bottom: 5px; */
    /* border: 2px solid red; */
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: var(--main-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 150px;
    display: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.dropdown-content a {
    display: block;
    padding: 10px 15px;
    color: var(--primary-color);
    font-size: 13px;
}

.dropdown-content a:hover {
    background-color: #f0f0f0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.apply-btn {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-top: 5px;
    font-family: 'mediumm';
}

.apply-btn:hover {
    background-color: var(--main-color);
    color: var(--primary-color);
}

/*--- header-ends ---*/


/*--- pop-up-form-starts ---*/

.form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0px 0px 15px var(--main-color);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    z-index: 1050;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.form-overlay h1 {
    color: var(--secondary-color);
}

.form-overlay button {
    color: var(--primary-color);
    background-color: var(--main-color);
    border: transparent;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
}

.form-overlay button:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.form-overlay.show {
    visibility: visible;
    opacity: 1;
}

.contact-form-container {
    position: relative;
    background: var(--primary-color);
    border-radius: 8px;
    max-width: 480px;
    width: 100%;
    padding: 30px 25px 25px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-100%);
    animation: slideDown 0.6s forwards;
}

@keyframes slideDown {
    to {
        transform: translateY(0);
    }
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    border: none;
    background: transparent;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #dc3545;
}

label {
    font-weight: 600;
    color: var(--secondary-color);
    display: block;
    margin-top: 15px;
}

input,
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

@media (max-width: 576px) {
    .contact-form-container {
        max-width: 95%;
        padding: 20px 15px 20px;
    }
}

/*--- pop-up-form-ends ---*/

/*---- banner-section-start ----*/

main {
    /* border: 5px solid red; */
    margin: 0 auto;
    max-width: 1920px;
    padding: 00px 0px;
    position: relative;
    z-index: 9;
}

main .banner {
    background-image: url(../img/banner-8.png);
    /*height: 85vh;*/
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 40px;
    aspect-ratio: 546 / 180;
}

main .banner .banner-text {
    width: 65%;
    padding: 20px;
    display: flex;
    margin-bottom:200px ;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
}

main .banner .banner-text p {
    font-family: boldd;
    color: var(--primary-color);
    text-align: center;
    font-size: 50px;
}

@media(max-width:500px){
    main .banner .banner-text p {
    font-size: 70px;
}
}

main .banner input::placeholder {
    font-family: regular;
}

/*---- banner-section-ends ----*/

/*--- loan-options-starts ---*/

main .loan-options {
    /* border: 2px solid red; */
    overflow:hidden;
    padding: 40px 30px;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    gap: 10px;
    background-color: #f5f5f5;
}

main .loan-options .owl-theme .item {
    background-color: var(--main-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 0px;
    gap: 15px;
    transition: all .3s;
    border-radius: 10px;
}

main .loan-options .owl-theme .item span img{
    height: 90px;

}

main .loan-options .owl-theme .item i {
    color: var(--primary-color);
    font-size: 35px;
}

main .loan-options .owl-theme .item p {
    color: var(--primary-color);
    font-size: 20px;
    font-family: mediumm;
}

main .loan-options .owl-theme .item:hover {
    background-color: var(--primary-color);
}

main .loan-options .owl-theme .item:hover i {
    color: var(--secondary-color);
}

main .loan-options .owl-theme .item:hover p {
    color: var(--secondary-color);

}

/*--- loan-options-ends ---*/

/*--- our-partnership-starts ---*/

main .our-partners {
    /* border: 5px solid green; */
    width: 100%;
    overflow:hidden;
}

main h1 {
    font-family: boldd;
    font-size: 32px;
    color: var(--primary-color);
    /* width: 900px; */
    /* border: 2px solid orange; */
}

main .our-partners .main-our-partners {
    /* border: 2px solid red; */
    padding: 10px;
    display: flex;
    justify-content: center;
}

main .our-partners .main-our-partners .text-area {
    /* border: 5px solid red; */
    width: 40%;
    display: flex;
    flex-direction: column;
}

main .our-partners .main-our-partners .text-area p {
    max-width: 900px;
    /* border: 2px solid green; */
}

/* main .our-partners .main-our-partners .text-area .bank-names {
    border: 2px solid rgb(217, 0, 255);
} */

.bank-names {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.bank-names a {
    /* background-color: var(--main-color); */
    padding: 12px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bank-names a img{
    width: 150px;
}

.bank-names a:hover {   
    color: var(--secondary-color);
}

/* Responsive (1 column on mobile, 2 on tablet) */
@media (max-width: 768px) {
    .bank-names {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .bank-names {
        /* grid-template-columns: 2fr; */
        grid-template-columns: repeat(2, 1fr);
    }

    .bank-names a img{
    width: 100px;
}
}

main .our-partners .main-our-partners .text-area p {
    font-family: regular;
    color: var(--primary-color);
}

main .our-partners .main-our-partners .image-area {
    /* border: 2px solid rgb(21, 255, 0); */
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.main-our-partners .image-area p {
    width: 70%;
    height: 200px;
    /* border: 5px solid red; */
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.553);
}

.main-our-partners .image-area p img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/*--- our-partnership-ends ---*/

/*--- discover-loans-starts ---*/


main .discover-loan {
    /* border: 5px solid green; */
    padding: 30px 30px;
    padding-bottom: 40px;
    width: 80%;
    margin: 0 auto;
    overflow:hidden;
}

.image-box {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: .3s;
    /* border: 2px solid green; */
}

.image-box:hover img {
    transform: scale(1.1);
}

.image-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: .3s;
}

.image-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 20px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .image-text {
        font-size: 1rem;
        padding: 10px;
    }
}

.image-text p {
    color: var(--secondary-color);
    font-family: regular;
    font-size: 22px;
}

.image-text span {
    color: var(--secondary-color);
    font-family: regular;
    padding-bottom: 10px;
    text-align: center;
    font-size: 16px;
}

.image-text a {
    background-color: var(--main-color);
    color: var(--primary-color);
    padding: 10px 25px;
    text-decoration: none;
    font-family: mediumm;
    transition: .3s;
    border-radius: 8px;
}

.image-text a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/*--- discover-loans-ends ---*/

/*--- why-us-starts ---*/

main .why-us {
    /* border: 5px solid red; */
    width: 80%;
    margin: 0 auto;
    padding: 30px 30px;
    overflow:hidden;
}

.text-box {
    background-color: var(--main-color);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 100%;
    transition: all .3s;
}

.text-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background-color: var(--primary-color);
}

.text-box:hover h3,
.text-box:hover p {
    color: var(--secondary-color);
}

.text-box h3 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 15px;
}

.text-box p {
    color: var(--primary-color);
    font-size: 15px;
}

/*--- why-us-ends ---*/

/*--- trophy-starts ---*/

main .trophies{
    /* border: 2px solid green;*/
    overflow:hidden;
}

/* main .trophies .owl-trophy {
    border: 5px solid rgba(0, 0, 0, 0.26);
} */

main .trophies .owl-trophy .item {
    border: 1px solid rgba(0, 0, 159, 0.659);
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
}

main .trophies .owl-trophy .item:hover img {
    translate: scale(2);
}

main .trophies .owl-trophy .item img {
    translate: scale(.8);
}

/*--- trophy-ends ---*/

/*--- our-vision starts---*/

main .our-vision {
    /* border: 5px solid rgb(0, 255, 8); */
    padding: 30px 30px;
    background-color: #f5f5f5;
    overflow:hidden;
}

main .our-vision .custom-section {
    max-width: 1200px;
    margin: auto;
    padding: 40px 15px;
}

main .our-vision .text-box {
    padding: 20px;
    background-color: var(--main-color);
    border-radius: 8px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

main .our-vision .text-box .vision-text {
    display: flex;
    flex-direction: column;
    /* border: 2px solid red; */
    width: 90%;
}

main .our-vision .text-box .vision-text p{
    text-align: center;
}

main .our-vision .text-box .text-img {
    padding: 4px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

main .our-vision .text-box .text-img img{
    height: 60px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    padding: 10px;

}

main .our-vision .text-box:hover {
    background-color: var(--primary-color);
}

/*--- our-vision ends---*/

/*--- testimonial-starts ---*/

main .testimonial {
    /* border: 3px solid red; */
    /* max-width: 1920px; */
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px 10px;
    overflow:hidden;
}

main .testimonial .owl-testimonial {
    /* border: 3px solid green; */
    max-width: 100%;
    margin: 0 auto;
    /* box-shadow: 2px 2px 10px var(--primary-color); */
}

main .testimonial .owl-testimonial .item {
    background: #fff;
    border: 2px solid var(--main-color);
    width: 100%;
    padding: 30px 20px;
    border-radius: 60px 00px 60px 00px;
    box-shadow: 1px 1px 5px var(--main-color);
    text-align: center;
    transition: 0.5s;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

main .testimonial .owl-testimonial .item:hover {
    /* transform: translateY(-5px); */
    border-radius: 00px 0px 00px 0px;
    box-shadow: 1px 1px 5px var(--primary-color);
    background-color: var(--main-color);
    /* border: 2px solid var(--primary-color); */
}

main .testimonial .owl-testimonial .item:hover h2, main .testimonial .owl-testimonial .item:hover p{
    color: var(--primary-color);
} 

main .testimonial .owl-testimonial .item h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

main .testimonial .owl-testimonial .item p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    text-align: justify;
}

main .testimonial .owl-nav button.owl-prev,
main .testimonial .owl-nav button.owl-next {
    position: absolute;
    top: 40%;
    background: #333;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    transform: translateY(-50%);
}

main .testimonial .owl-nav button.owl-prev {
    left: -30px;
}

main .testimonial .owl-nav button.owl-next {
    right: -30px;
}

main .testimonial .owl-nav button span {
    font-size: 1.2rem;
}

@media (max-width: 768px) {

    .owl-nav button.owl-prev,
    .owl-nav button.owl-next {
        display: none;
    }
}


/*--- testimonial-ends ---*/

/*--- footer-starts ---*/


/*--- footer-ends ---*/