html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: #fff;
    overflow: hidden;
    
}

.form-sec {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; 
    padding: 0;
}
.card {
    width: 100%;
    max-width: 900px;
    margin: auto;
    padding: 50px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border: none;
}
/*.card {
    width: 60%;
    margin: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: none;
}*/
@media (max-width: 576px) {
    #ReCaptchContainer1 {
        transform: scale(0.85); /* Adjust scale as needed */
        transform-origin: 0 0;
    }
    .card {
        width: 100%;
    }
}
@media (min-width: 768px) and (max-width: 820px) {
    .card {
        width: 100%;
    }
}

@media (min-width: 821px) and (max-width: 1300px) {
    .card {
        width: 100%;
    }
}
    @media (max-width: 768px) {
        .card-body.formSpace {
            padding: 20px;
        }
         
        .card {
            width: 100%;
        }

    }

    body {
        margin: 0;
        padding: 0;
        background: url(../images/banner1.jpg);
        background-size: cover;
    }

    .card-body.formSpace {
        padding: 40px;
    }

    .form-sec {
        margin: 0;
        padding: 0;
    }

    .input-group {
        margin-bottom: 15px;
    }

    img.brand_logo {
        margin-bottom: 20px;
        width: 100px;
    }

    .form-control {
        font-size: 15px;
    }

    .custom-control-label EditMyProfileTxt {
        font-size: 14px;
    }

    /*.login_btn {
    width: 100%;
    background: #1e7fb3 !important;
    color: white !important;
}*/

    .login_btn {
        width: 100%;
        color: white !important;
        background-image: linear-gradient(to right, #0099fe 0, #0c458c 100%);
        color: #fff;
        border: none;
        padding: 13px 25px;
        font-size: 18px;
    }

    /*.login_btn:focus {
     box-shadow: none !important;
     outline: 0px !important;
 }*/

    .login_container {
        padding: 0 2rem;
    }

    .input-group-text {
        background-image: linear-gradient(to right, #3262cc 0, #0c458c 100%);
        color: white !important;
        border: 0 !important;
        width: 45px;
        /*border-radius: 0px 40px 40px 0px !important;
    box-shadow: 0 1px 3px 0 rgb(143 123 123 / 30%) !important;*/
    }

    /*.input-group-text {
    background: #1e7fb3 !important;
    color: white !important;
    height: 40px;
    border: 0 !important;
    border-radius: 0.25rem 0 0 0.25rem !important;
    width: 40px;
}*/

    .input_user,
    .form-control,
    .input_pass:focus {
        box-shadow: none !important;
        outline: 0px !important;
    }

    .custom-checkbox .custom-control-input:checked ~ .custom-control-label EditMyProfileTxt::before {
        background-color: #001b54 !important;
    }
#forms {
    position: relative;
    top: 5%;
    /*display: flex;*/
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    /*#forms {
        position: relative;
        top: 5%;
    }*/

    /* #forgetPassword,
 #login {
     padding: 50px;
     margin: 0;
     position: absolute;
     top: 0;
     width: 100%;
 }*/

    #forgetPassword {
        z-index: 21;
        opacity: 0;
    }

    #login {
        z-index: 22;
    }
#toforgetPassword:target ~ #forms #forgetPassword {
    display: block !important;
    z-index: 22;
    animation-name: fadeInLeft;
}

#toforgetPassword:target ~ #forms #login {
    display: none !important;
    animation-name: fadeOutLeft;
}

#tologin:target ~ #forms #login {
    display: block !important;
    z-index: 22;
    animation-name: fadeInLeft;
}

#tologin:target ~ #forms #forgetPassword {
    display: none !important;
    animation-name: fadeOutLeft;
}

    #toforgetPassword:target ~ #forms #forgetPassword,
    #tologin:target ~ #forms #login {
        z-index: 22;
        -webkit-animation-name: fadeInLeft;
        -moz-animation-name: fadeInLeft;
        -ms-animation-name: fadeInLeft;
        -o-animation-name: fadeInLeft;
        animation-name: fadeInLeft;
        -webkit-animation-delay: .1s;
        -moz-animation-delay: .1s;
        -o-animation-delay: .1s;
        -ms-animation-delay: .1s;
        animation-delay: .1s;
    }

    #toforgetPassword:target ~ #forms #login,
    #tologin:target ~ #forms #forgetPassword {
        -webkit-animation-name: fadeOutLeft;
        -moz-animation-name: fadeOutLeft;
        -ms-animation-name: fadeOutLeft;
        -o-animation-name: fadeOutLeft;
        animation-name: fadeOutLeft;
    }


    .animate {
        -webkit-animation-duration: 0.5s;
        -webkit-animation-timing-function: ease;
        -webkit-animation-fill-mode: both;
        -moz-animation-duration: 0.5s;
        -moz-animation-timing-function: ease;
        -moz-animation-fill-mode: both;
        -o-animation-duration: 0.5s;
        -o-animation-timing-function: ease;
        -o-animation-fill-mode: both;
        -ms-animation-duration: 0.5s;
        -ms-animation-timing-function: ease;
        -ms-animation-fill-mode: both;
        animation-duration: 0.5s;
        animation-timing-function: ease;
        animation-fill-mode: both;
    }

    /*@media only screen and (max-width:576px) {

        #forgetPassword,
        #login {
            padding: 15px;
        }
    }*/

    .LoginBanner {
        height: 100vh;
        background-size: cover;
        background-position: center;
    }

    .input-field {
        /*box-shadow: 0 1px 3px 0 rgb(143 123 123 / 30%) !important;
    background: #fff;
    border-radius: 40px;*/
        color: #474747;
        padding: 14px 45px 14px 15px;
        border: 0;
        height: 44px;
    }

    .image-1 {
        position: absolute;
        bottom: -12px;
        left: -191px;
        z-index: 99;
    }

    .image-2 {
        position: absolute;
        bottom: 0;
        right: -165px;
    }

.download-section h4 {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 600;
    font-family: sans-serif;
    color: #000;
}

.download-section a {
    display: inline-block;
    margin: 5px 10px 10px 0;
}

.download-section img {
    width: 130px;
}

.download-section img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

    .download-section img:hover {
        transform: scale(1.08);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    }

.download-section hr {
    margin: 10px 0;
    border-top: 1px solid #ccc;
}

@media only screen and (max-width: 767px) {
    .card {
        overflow-x: hidden;
        overflow-y: auto;
        height: 98vh;
        padding:30px;
    }
    .login_btn {
        padding: 10px 20px;
        font-size: 15px;
        text-transform: uppercase;
    }
    .download-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
        border-left: none !important;
    }
}
@media only screen and (max-width: 991px) {
    .download-section img {
        width: 100px !important;
    }
    .download-section{
        margin-top:30px;
    }
    .image-1 {
        display: none;
    }

    .image-2 {
        display: none;
    }
}