@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');

* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.loan-img{
    height: auto;
    width:5%;
}

.loan-section {
    padding: 111px 12px;
    position: relative;
}
.loan-heading {
    font-size: 35px;
    color: white;
    text-align: center;
    font-weight: 600;
}

  .loan-para {
        text-align: center;
        color: white;
        opacity: 0.7;
        font-weight: 500;
        padding: 14px 26px;
        margin-bottom: 52px;

    
}
.loanTypes-section {
    margin-top: 5%;
    margin-bottom: 13%;
}
.sec-color{
    background-color: #f0f0ff4a;
    padding: 25px 0px;
}
.type-heading {
    font-size: 35px;
    color: #2776B6;
    font-weight: 600;
    padding-left: 69px;
    margin-bottom: 50px;
}
.type-heading:after {
    content: "";
    display: block;
    width: 4%;
    padding-top: -3px;
    border-bottom: 2px solid #2776B6;
    margin-left: 6px;
}
.type-container {
    display: flex;
    justify-content: space-around;
    max-width: 100%;
    margin: 0px 9px 65px 5px;
}
.type-container1 {
    display: flex;
    justify-content: flex-start;
    max-width: 100%;
    margin: 0px 9px 26px 5px;
}

.type-service {
    box-shadow: 2px 13px 25px #e0eff9;
    transition: 0.3s;
    padding: 25px 25px;
    background-color: #E0EFFA;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 30px;
    width: 20%;
    text-decoration: none;
    color: black;
}


.type-service1 {
    box-shadow: 2px 13px 25px #e0eff9;
    transition: 0.3s;
    padding: 25px 25px;
    background-color: #E0EFFA;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 30px;
    width: 20%;
    margin-left: 72px;
    text-decoration: none;
    color: black;
}
.type-container :hover {
    background-color: #61B0F0 ;
    cursor: pointer;
    color: white;
}
.type-container1 :hover {
    background-color: #61B0F0 ;
    cursor: pointer;
    color: white;
}
.icon {
    padding: 5px 5px;
}
.type-img {
    width: 20%;
}
.type-content {
    padding: 5px 5px;
    font-size: 14px;
    color: #000000;
}
.type-content h6 {
    color: #092C44;
    font-weight: 600;
}
/*loan section css*/
.container-finance {
    margin-top: 99px;
}

.row-finance {
    width: 85%;
    margin: 50px auto auto auto;
    opacity: 1;
    padding: 40px 0 0px 0;
    background: #61B0F0  0% 0% no-repeat padding-box;
    border-radius: 17px;
}

.finance-col {
    align-self: center;
    text-align: center;
}

.finance-des {
    padding: 0 0px 70px 0;
    align-self: center;
    text-align: left;
    display: inline-block;
    margin-left: 116px
}

.resolve {
    color: white;
}

.finance-btn-top {
    text-align: left;
}
/* floating button css */
.float{
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #2776B6;
    color: #FFF;
    border-radius: 6px;
    text-align: center;
    box-shadow: 1px 1px 2px #2776b62e;
    padding: 11px 26px;
}

.my-float{
    margin-top:22px;
}
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content */
  .modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%!important;
  }
  
  /* The Close Button */
.cancel1 {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.cancel1:hover,
.cancel1:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
.cancel{
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.cancel:hover,
.cancel:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
  /* //model login btn */
  .login-btn button {
    width: 100%;
    padding: 12px 0;
    border: none;
    outline: none;
    background-color: #2776b6;
    color: #ffffff;
    border-radius: 8px;
}


@media screen and (min-width: 600px) and (max-width:700px){
    .type-service1 {
        box-shadow: 2px 13px 25px #e0eff9;
        transition: 0.3s;
        padding: 15px 16px;
        background-color: #E0EFFA;
        border-radius: 5px;
        cursor: pointer;
        margin-right: 5px;
        width: 32%;
        margin-left: 1px;
        text-decoration: none;
        color: black;
    }
    .type-service {
        box-shadow: 2px 13px 25px #e0eff9;
        transition: 0.3s;
        padding: 7px 7px;
        background-color: #E0EFFA;
        border-radius: 5px;
        cursor: pointer;
        margin-right: 12px;
        width: 68%;
        text-decoration: underline;
        color: black;
    }
    
}

@media screen and (min-width: 700px) and (max-width:1024px) {
    .loan-heading {
        font-size: 25px!important;
    }
    .loan-section {
        margin-top: 5% !important;
    }
    .loan-section {
        padding: 3px 3px !important;
        position: relative !important;
    }
    .loan-para {
        padding: 11px 60px 13px 60px!important;
    }
    .type-heading {
        padding-left: 8px !important;
        margin-bottom: 5px !important;
        font-size: 25px !important;
    }
    /*.type-container {*/
    /*    flex-direction: column!important;*/
    /*}*/
    .type-service {
        width: 100% !important;
        margin-bottom: 45px!important;
    }
    .type-container1 {
        flex-direction: column!important;
        display: flex!important;
        justify-content: flex-start!important;
        max-width: 100% !important;
        margin: -62px 9px 16px 5px!important;
    }
    .type-service1 {
        margin-right: 0px!important;
        width: 100% !important;
        margin-left: 0px!important;
    }
    .margin-b-type {
        margin-top: -61px!important;
    }
    /*footer css*/
    .f-content {
        padding: 56px 26px;
        margin-bottom: -81px;
    }
    .logo-footer {
        margin-bottom: -37px;
        margin-top: 31px;
        margin-left: 26px;
        width: 30%;
    }
    .footer-link{
        margin-bottom: -53px;
    }
}
/* media only screen and width upto 858px  */
@media screen and (max-width: 858px){
    .modal-content {
        background-color: #fefefe;
        margin: auto;
        padding: 20px;
        border: 1px solid #888;
        width: 80%!important;
    }
    .loan-img{
        height: auto;
        width:15%;
    }
}
