.home{
    position: relative;
    
}
.home .bg-img{
    width: 100%;
}
.home .bg-img img{
    width: 100%;
    height: 360px;
}
body{
    overflow-x: hidden;
}

.home-content{
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translate(-60%, -50%);
}
.home-content .containt{
    width: max-content;
    margin: auto;
}
.home-content .containt h5{
    font-size: 24px;
    font-weight: 500;
    font-style: normal;
    padding-bottom:20px;
}
.home-content .containt h1{
    font-size: 72px;
    line-height: 84px;
    font-weight: normal;
    font-style: normal;
    width: 60%;
}

.form-button{
    
}
.form-button a:first-child{
    padding: 10px 20px;
    background-color: #68572c;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1.2px;
    margin: 0px;
}
.form-button a{
    padding: 10px 20px;
    background-color: #68572c;
    /* color: white; */
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1.2px;
    margin: 10px;
    transition: 0.4s;
}
.form-button a:hover{
    background-color: #c9d15c;
    color: #515702 !important;
    transition: 0.4s;
}
.form-button a.active{
    background-color: #c9d15c;
}

.color-main{
    color: #969b46 !important;
}
.color-main-3{
    color: #515702 !important;
}
.color-main-lite{
    color: #c9d15c !important;
}
.color-main-2{
    color: #68572c !important;
}
.color-white{
    color: white !important;
}
.home-content .home-form{
    width: 60%;
    padding: 30px;
    padding-bottom: 15px;
    background-color: #ffffff;
    justify-self: center;
    margin: auto;
}
.home-content .home-form h5{
    font-size: 30px;
    font-weight: 500;
    font-style: normal;
}
.home-content .home-form input{
    width: 100%;
    padding:8px 12px ;
    margin: 10px 0;
    outline: none;
    border: none;
    border-bottom: 1px solid #68572c;
}
.form-button button{
    padding: 10px 20px;
    background-color: #68572c;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1.2px;
    margin: 10px 0;
    border: none;
}
.form-button button:hover{
    background-color: #c9d15c;
    color: #515702 !important;
    transition: 0.4s;
}

.service-card{
    margin: 15px;
    box-shadow: 0px 0px 2px #68572c;
    background-color: white;
}
.service-card:hover{
    margin: 15px;
    box-shadow: 0px 0px 5px #68572c;
}

.apply-loan-left{
    position:relative;
}

.appy-content{
    position: absolute;
    top: 50%;
    left: 9%;
    transform: translate(-10%, -60%);
}
.appy-content h1{
    /* font-size: 72px; */
    line-height: 160px;
width: 100%;
    font-weight: normal;
    font-style: normal;
}
.appy-content h3{
    /* font-size: 72px; */
    line-height: 160px;
width: 100%;
    font-weight: normal;
    font-style: normal;
    color: #0e65af;
}

.home-service h2.loan{
    position: relative;
    margin-bottom: 20px;
}
.home-service h2.loan::after{
    content: "";
    position: absolute;
    width: 5%;
    top: 60%;
    left: 7%;
    border-bottom: 3px solid #c9d15c;
}
.home-service h2.insu{
    position: relative;
    margin-bottom: 20px;
}
.home-service h2.insu::after{
    content: "";
    position: absolute;
    width: 5%;
    top: 60%;
    left: 11.5%;
    border-bottom: 3px solid #c9d15c;
}
h2.contact{
    position: relative;
    margin-bottom: 20px;
}
h2.contact::after{
    content: "";
    position: absolute;
    width: 5%;
    top: 60%;
    left: 13.5%;
    border-bottom: 3px solid #c9d15c;
}

.heading{
    position: relative;
    margin-bottom: 20px;
}
.heading::after{
    content: "";
    position: absolute;
    width: 10%;
    top: 50%;
    left: 30%;
    border-bottom: 3px solid #c9d15c;
}
.appy-content p{
    font-size: 18px;
}
.heading-2{
    position: relative;
    margin-bottom: 20px;
}
.heading-2::after{
    content: "";
    position: absolute;
    width: 5%;
    top: 50%;
    left: 19%;
    border-bottom: 3px solid #c9d15c;
}

.autoplay .img img{
    padding: 0 15px;
    border-radius: 12px;
}
.testi-card
{
    margin: 15px;
    box-shadow: 0px 0px 2px #68572c;
    border-radius: 16px;
    background-color: white;
}
.testi-card .img img
{
    width: 50%;
    padding: 025px;
}

.home-contact .img img{
    width: 100%;
    transform: rotateY(180deg);
    padding: 20px;
}

.contact-us .home-form input{
    width: 80%;
    padding: 10px 12px ;
    margin: 10px 0;
    outline: none;
}
.contact-us .home-form input::placeholder{
    color: #969b46;
}
.contact-us .home-form textarea{
    width: 80%;
    padding: 10px 12px ;
    margin: 10px 0;
    outline: none;
    resize: vertical;
}
.contact-us .home-form textarea::placeholder{
    color: #969b46;
}
.form-button button{
    padding: 10px 20px;
    background-color: #68572c;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1.2px;
    margin: 10px 0;
    border: none;
}
.form-button button:hover{
    background-color: #c9d15c;
    color: #515702 !important;
    transition: 0.4s;
}

.img1{
    background: url(../img/1img.jpeg);
    height: 360px;
    width: 100%;
    text-align: center;
    background-size: cover;
    background-position:bottom;
    background-repeat: no-repeat;
}
.img2{
    background: url(../img/od-limit.webp);
    height: 360px;
    width: 100%;
    text-align: center;
    background-size: cover;
    background-position:bottom;
    background-repeat: no-repeat;

}
.img3{
    background: url(../img/real-estate-agent-with-house-model-keys.webp );
    height: 360px;
    width: 100%;
    text-align: center;
    background-size: cover;
    background-position:top;
    background-repeat: no-repeat;

}
.img4{
    background: url(../img/handshake-close-up-executives_1098-1384.webp);
    height: 360px;
    width: 100%;
    text-align: center;
    background-size: cover;
    background-position:bottom;
    background-repeat: no-repeat;
}
.img5{
    background: url(../img/happy-family-lying-row.webp);
    height: 360px;
    width: 100%;
    text-align: center;
    background-size: cover;
    background-position:bottom;
    background-repeat: no-repeat;
}



@media(max-width:1024px) and (min-width:870px){
    .home-content {
        transform: translate(-60%, -45%);
    }
    .home-service h2.loan::after {
        left: 9%;
    }
    .home-service h2.insu::after {
        left: 15%;
    }
    .heading::after {
        left: 35%;
    }
    .heading-2::after {
        left: 25%;
    }
    h2.contact::after {
        left: 17%;
    }
}
@media(max-width:870px) and (min-width:500px){
    .home {
        background-color: #e5e5e5;
    }
    .color-white {
        color: rgb(49, 49, 49) !important;
    }
    
    .home-content {
        position: static;
        top: 50%;
        left: 60%;
        transform: translate(0, 0);
    }
    .home-content .home-form input {
        width: 100%;
        padding: 10px 12px;
        margin: 10px 2px;
        outline: none;
    }
    .home-service h2.loan::after {
        display: none;
    }
    .home-service h2.insu::after {
        display: none;
    }
    .heading::after {
        display: none;
    }
    .heading-2::after {
        display: none;
    }
    h2.contact::after {
        display: none;
    }

}
@media(max-width:500px) and (min-width:375px){
    .home .bg-img img{
        height: 160px;
    }
    .home {
        background-color: #e5e5e5;
    }
    .img1{
        height: 160px;
width: 100%;}
    .img2{
        height: 160px;
width: 100%;
    }
    .img3{
        height: 160px;
width: 100%;   
    }
    .img4{
        height: 160px;
width: 100%;
    }
    .img5{
        height: 160px;
width: 100%;
    }
    .color-white {
        color: rgb(49, 49, 49) !important;
    }
    
    .main-menu ul li {
        padding: 25px 10px;
    }
    .main-menu ul li a {
        font-size: 16px;
        font-weight: 400;
    }
    .home-content {
        position: static;
        top: 50%;
        left: 60%;
        transform: translate(0, 0);
        text-align: center;
        padding-top: 20px;
    }
    .home-content .home-form input {
        width: 100%;
        padding: 10px 12px;
        margin: 10px 2px;
        outline: none;
    }
    .home-content .containt h1 {
        font-size: 52px;
        width: 100%;
    }
    .home-service h2.loan::after {
        display: none;
    }
    .home-service h2.insu::after {
        display: none;
    }
    .heading::after {
        display: none;
    }
    .heading-2::after {
        display: none;
    }
    h2.contact::after {
        display: none;
    }
    .home-content .home-form {
        width: 100%;
        padding: 10px;
        padding-top: 40px;
    }
    .appy-content {
        text-align: center;
        position: static;
        top: 50%;
        left: 9%;
        transform: translate(0%, 0%);
    }
    .home-form{
        text-align: center;
    }
}
@media(max-width:375px) and (min-width:320px){
    .img1{
        height: 160px;
width: 100%;}
    .img2{
        height: 160px;
width: 100%;
    }
    .img3{
        height: 160px;
width: 100%;   
    }
    .img4{
        height: 160px;
width: 100%;
    }
    .img5{
        height: 160px;
width: 100%;
    }
    .home .bg-img img{
        height: 160px;
    }
    .home {
        background-color: #e5e5e5;
    }
    .color-white {
        color: rgb(49, 49, 49) !important;
    }
    
    .main-menu ul li {
        padding: 25px 10px;
    }
    .main-menu ul li a {
        font-size: 16px;
        font-weight: 400;
    }
    .home-content {
        position: static;
        top: 50%;
        left: 60%;
        transform: translate(0, 0);
        text-align: center;
        padding-top: 20px;
    }
    .home-content .home-form input {
        width: 100%;
        padding: 10px 12px;
        margin: 10px 2px;
        outline: none;
    }
    .home-content .containt h1 {
        font-size: 42px;
        line-height: 65px;
        width: 100%;
    }
    .home-content .containt h5 {
        font-size: 18px;
        padding-bottom: 10px;

    }
    .home-service h2.loan::after {
        display: none;
    }
    .home-service h2.insu::after {
        display: none;
    }
    .heading::after {
        display: none;
    }
    .heading-2::after {
        display: none;
    }
    h2.contact::after {
        display: none;
    }
    .home-content .home-form {
        width: 100%;
        padding: 10px;
        padding-top: 40px;
    }
    .appy-content {
        text-align: center;
        position: static;
        top: 50%;
        left: 9%;
        transform: translate(0%, 0%);
    }
    .home-form{
        text-align: center;
    }
}