/** Color Code:
    #1E201E - grey          //footer -old  
    #2A004E-                //footer
    #FF6500 - orange        //login title  
    #DDEB9D - lightgreen    // <strong> element color
    #8E1616 - maroon        //termspage title
    #F5EFFF - lavender      // termspage background
    #2A004E - dark purple   // terms content
    #008170 - peach         // form-title
**/
/* Font Styling */
@font-face {
    font-family: 'jost-variablefont_wght';
    src: url('../font/jost-variablefont_wght.ttf') format('truetype');
}

@font-face {
    font-family: 'jost-italic-variablefont_wght';
    src: url('../font/jost-italic-variablefont_wght.ttf') format('truetype');
}

@font-face {
    font-family: 'Montserrat-SemiBold';
    src: url('../font/Montserrat-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'NunitoSans_10pt-SemiBold';
    src: url('../font/NunitoSans_10pt-SemiBold.ttf') format('truetype');
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

.topbar {
    height: 130px !important;
}

body {
    font-family: 'jost-variablefont_wght', sans-serif;
    /*    font-family: 'Montserrat-SemiBold', sans-serif;
    font-family: 'NunitoSans_10pt-SemiBold', sans-serif;*/
}

* {
    box-sizing: border-box;
}

.background {
    position: relative;
    height: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevent inner overflow */
    width: 100%;
}
/* This is the blurred gradient */
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0; /* Add this */
    bottom: 0;
    /*    width: 100%;
    height: 100%;*/
    background: linear-gradient( 155deg, #FF9933 0%, #FF9933 10%, #FFFFFF 30%, #FFFFFF 70%, #138808 90%, #138808 100% );
    filter: blur(15px);
    z-index: 0;
    opacity: 0.8;
    overflow: hidden;
}

.banner-img {
    position: relative;
    z-index: 1;
    /*object-fit: contain;*/
    /*    max-width: 80%;*/
    max-width: 100%; /* updated from 80% to avoid overflow */
    height: auto;
    padding: 10px;
    display: block;
}

header {
    border-bottom: 3px solid #ff6a00;
}

span .navbar-toggler-icon {
    color: white !important;
}
/** NavBar Styling **/
.link_div {
    background-color: #2A004E;
}

.nav-link {
    color: antiquewhite;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.navbar-toggler i {
    width: 30px;
    height: 30px;
}

svg, a {
    color: #FF8225;
    font-weight: 500;
}

a {
    text-decoration: none;
}

    a:hover {
        color: #80C4E9;
    }

.nav-link:hover {
    color: white !important;
}

.navbar .dropdown .dropdown-menu {
    transition: all 0.3s ease;
}

.navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.dropdown-menu {
    background-color: white;
}

.dropdown-item {
    color: #FF6500;
    font-size: 1.1rem;
}

    .dropdown-item:hover {
        background-color: #FF6500;
        color: white;
    }

svg:hover {
    color: white;
}
/** Main Container **/

#main-wrapper[data-layout=horizontal][data-sidebar-position=fixed] .page-wrapper {
    padding-top: 0px;
}

.page-title {
    color: #0F828C;
    font-size: 1.3rem !important;
}

.breadcrumb-item {
    font-size: 1.1rem !important;
}

.breadcrumb .active {
    font-size: 1.1rem !important;
}

.text-info {
    font-size: 1rem;
    color: #096B68 !important;
}

.form-select, .form-control, .form-control-lg {
    border: 1px solid #C9BEFF;
    border-radius: 10px;
    font-size: 1rem !important;
    color: #1E201E;
}

    .form-control:focus, .form-select:focus {
        border-color: #5A4FCF;
        box-shadow: 0 0 0 0.2rem rgba(90, 79, 207, 0.25);
    }

.input-group span {
    border: 1px solid #C9BEFF;
}

label {
    font-size: 1.1rem;
    color: #1E201E;
}
/***** Grants Form Styling ****/
.grantName {
    font-size: 24px;
    font-weight: 500 !important;
    color: #FF6500;
}

.grantFormDiv {
    display: flex;
    justify-content: center;
}

.grantFormCard {
    width: 90%;
    background-color: #EDEEF7;
    border-radius: 20px;
    border: 2px solid #867AE9;
    /*    box-shadow: 2px #C9BEFF;*/
    box-shadow: 0 0 10px #867AE9;
}

    .grantFormCard .grantFormTitle {
        border-bottom: 1px solid #C9BEFF;
    }


.formSectionTitle {
    font-size: 20px;
    font-weight: 600 !important;
    color: #6900FF;
}

.docCard {
    border-radius: 10px;
}

.form-column-left {
    padding-right: 40px;
}

.form-column-right {
    padding-left: 40px;
}

.schemeLabel {
    font-size: 17px !important;
    font-weight: 500 !important;
    color: #35374B;
}

.docTitle {
    font-size: 17px;
    font-weight: 600 !important;
}

small {
    font-size: 1rem;
}

.document-view-link {
    display: inline-block;
    padding: 6px 10px;
    background: linear-gradient(135deg, #17594A, #1f7a63);
    color: #fff !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

    .document-view-link:hover {
        background: linear-gradient(135deg, #FF6500, #ff8533);
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.25);
        text-decoration: none;
        color: #fff !important;
    }

    .document-view-link i {
        margin-right: 6px;
    }
/** Footer Styling **/
footer {
    width: 100%;
    text-align: center;
    background-color: #2A004E;
    /*    background-color: #1E201E;*/
    padding: 10px 0;
}

    footer .row {
        margin: 0;
    }

.copywrite, .footer-text {
    /*    font-family: 'jost-variablefont_wght', sans-serif;*/
    /*    font-family: 'Montserrat-Regular', sans-serif;*/
    padding: 5px 0px;
    font-size: 0.9rem;
    color: #FF9933;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.footer-text {
    /*    font-family: 'jost-variablefont_wght', sans-serif;*/
    /*    font-family: 'Montserrat-Regular', sans-serif;*/
    padding: 5px 0px;
    font-size: 1rem;
    color: #FF9933;
}

.copywrite a {
    /*    font-family: 'jost-variablefont_wght', sans-serif;*/
    /*    font-family: 'Montserrat-Regular', sans-serif;*/
    color: white !important;
    text-decoration: none;
}

.footer-text a {
    color: #FF9933 !important;
    text-decoration: none;
    letter-spacing: 0.7px !important;
}

.footer-icon {
    color: white;
    padding: 0 2px;
}

.icon-text {
    /*    font-family: 'jost-variablefont_wght', sans-serif;*/
    /*    font-family: 'Montserrat-Regular', sans-serif;*/
    font-size: 0.9rem;
}

@media (max-width: 560px) {
    footer .row {
        flex-direction: column;
        text-align: center;
    }
}
/**** Captcha Styling *****/
.captcha-wrapper {
    position: relative;
    border: 1.5px solid #C9BEFF;
    border-radius: 10px;
    padding: 10px 8px 8px;
    background: #fff;
}

.captcha-label {
    position: absolute;
    top: -10px;
    left: 12px;
    background: #fff;
    padding: 0 8px;
    font-size: 13px;
    font-weight: 600;
    color: #FF6500;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 12px;
    /*    flex-wrap: nowrap;*/
}

/*#captchaCanvas {
    border: 1px solid #C9BEFF;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}*/

.captcha-refresh {
    width: 42px;
    height: 42px;
    border: 2px solid #FF6500;
    border-radius: 8px;
    background: #FFD09B;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .3s ease;
}

    .captcha-refresh:hover {
        background: #FF6500;
        transform: rotate(180deg);
    }

    .captcha-refresh i {
        font-size: 1.2rem;
    }

.captcha-input {
    width: 180px;
    letter-spacing: 2px;
    font-weight: 500;
}
