.mid-field h2{
    position: relative;
    margin-bottom: 20px;
}
.mid-field h2::after{
    content: "";
    position: absolute;
    width: 5%;
    top: 60%;
    left: 11.5%;
    border-bottom: 3px solid #c9d15c;
}
.mid-field p{
    font-size: 18px;
    line-height: 30px;
    padding-left: 50px;
}

.heading{
    position: relative;
    margin-bottom: 20px;
}
.heading::after{
    content: "";
    position: absolute;
    width: 10%;
    top: 60%;
    left: 28%;
    border-bottom: 3px solid #c9d15c;
}
.apply-loan .img img{
    width: 100%;
}

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

.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;
}

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;
}
.autoplay .img img{
    padding: 0 15px;
    border-radius: 12px;
}
@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 .bg-img {
        width: 100%; 
        height:160px
    }
    .main-menu ul li {
        padding: 25px 10px;
    }
    .main-menu ul li a {
        font-size: 16px;
        font-weight: 400;
    }
    .contact-us  {
        position: static;
        top: 50%;
        left: 60%;
        transform: translate(0, 0);
    }
    .contact-us  .home-form input {
        width: 100%;
        margin: 10px 0;
    }
    .contact-us  .home-form textarea {
        width: 100%;
        margin: 10px 0;
    }
    .mid-field h2::after {
        width: 8%;
        left: 18%;
    }
    .heading::after {
        left: 24%;
    }
    h2.contact::after {
        left: 22%;
    }
}
@media(max-width:500px) and (min-width:375px){
    .home {
        background-color: #e5e5e5;
    }
    .color-white {
        color: rgb(49, 49, 49) !important;
    }
    .home .bg-img {
        width: 100%; 
        height:160px
    }
    .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;
    }
    .contact-us  .home-form input {
        width: 100%;
        margin: 10px 0;
    }
    .contact-us  .home-form textarea {
        width: 100%;
        margin: 10px 0;
    }
    .home-content .containt h1 {
        font-size: 52px;
        width: 100%;
    }
    .home-service h2.loan::after {
        left: 18%;
        width: 8%;
    }
    .home-service h2.insu::after {
        left: 30%;
        width: 10%;
    }
    .heading::after {
        left: 40%;
    }
    .heading-2::after {
        left: 53%;
        width: 10%;
    }
    h2.contact::after {
        left: 35%;
        top: 55%;
        width: 10%;
    }
    .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){
    .home {
        background-color: #e5e5e5;
    }
    .color-white {
        color: rgb(49, 49, 49) !important;
    }
    .home .bg-img {
        width: 100%; 
        height:160px
    }
    .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 {
        left: 18%;
        width: 8%;
    }
    .home-service h2.insu::after {
        left: 30%;
        width: 10%;
    }
    .heading::after {
        left: 40%;
    }
    .heading-2::after {
        left: 53%;
        width: 10%;
    }
    h2.contact::after {
        left: 35%;
        top: 55%;
        width: 10%;
    }
    .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;
    }
}