@media (prefers-color-scheme: dark) {
    /* Override dark mode behavior */
    body,
    html {
        background-color: #fff !important;
        color: #000 !important;
    }

    p {
        color: black;
    }

    html[data-bs-theme=dark] body > footer {
        background-color: white;
        
    }

    input:-internal-autofill-selected {
        background-color: #fff !important;
        color: #000 !important;
    }

    input,
    textarea,
    select,
    button {
        background-color: #fff;
        color: #000;
        border: 1px solid #ccc;
    }

    .nav-link, .footer-link {
        color: #1871B5 !important;
    }

    /* Width of the scrollbar */
    ::-webkit-scrollbar {
        width: 12px;
    }

    /* Track (background) */
    ::-webkit-scrollbar-track {
        background: #f0f0f0;
        border-radius: 6px;
    }




    /* WebKit scrollbar styling */
    ::-webkit-scrollbar {
        width: 12px;
    }

    ::-webkit-scrollbar-track {
        background: #f0f0f0;
        border-radius: 6px;
    }

    ::-webkit-scrollbar-thumb {
        background-color: #888;
        border-radius: 6px;
        border: 3px solid #f0f0f0;
    }

        ::-webkit-scrollbar-thumb:hover {
            background-color: #555;
        }

    /* Firefox scrollbar override (optional) */
    * {
        scrollbar-width: thin;
        scrollbar-color: #888 #f0f0f0;
    }

    .contact, .footer-link {
        color: #1871B5 !important;
    }

    /*---------------------------------------------*/
    * {
        box-sizing: border-box;
    }

    body {
        margin: 0;
        font-family: Arial, sans-serif;
        background-color: #f4f8fb;
    }

    header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
        background-color: #F7F7F7 !important;
        border-bottom: 1px solid #B9B9B9 !important;
    }

        header img {
            height: 30px;
        }

    .container {
        display: flex;
        flex-wrap: wrap;
        height: calc(100vh - 190px);
    }

    .login-section {
        flex: 1;
        min-width: 300px;
        padding: 60px 40px;
        background-color: white;
        margin: auto;
    }

    .home-section {
        /* flex: 1;
            min-width: 300px;
            padding: 60px 40px; */
        background-color: white;
    }


    .form-group {
        margin-bottom: 20px;
    }

        .form-group input {
            width: 100%;
            padding: 10px;
            font-size: 14px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }

        .form-group small {
            display: block;
            margin-top: 5px;
            font-size: 12px;
            color: #888;
        }

    .form-options {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 14px;
        margin-bottom: 20px;
    }

        .form-options a {
            text-decoration: none;
            color: #007bff;
        }

        .form-options input {
            margin-right: 5px;
        }

    .login-button {
        display: flex;
        width: 335px;
        height: 45px;
        padding: 10px 6px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
        border-radius: 4px;
        border: 1px solid #1EABE2;
        background: var(--Blue, #1871B5);
        color: #FFF;
        text-align: center;
        font-size: 18px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
    }

    .illustration-login_section {
        background-image: url('/media/siteImages/bg.png');
        background-size: 100%;
        background-repeat: no-repeat;
        display: flex;
        justify-content: space-around;
        padding: 5%;
    }

    .illustration-section {
        background-image: url('/media/siteImages/Ellipse112.png');
        background-size: 100%;
        background-repeat: no-repeat;
        display: flex;
        justify-content: space-around;
        padding: 5%;
    }

        .illustration-section img {
            /* max-width: 100%;
                height: auto; */
            width: 80%;
            margin-top: -60px;
            margin-right: -100px;
        }

    .illustration-section-home img {
        margin-top: -25% !important;
        width: 50% !important;
        height: 80%;
    }

    footer {
        background-color: white;
        border-top: 1px solid #ccc;
        padding: 10px 20px;
        text-align: center;
        font-size: 14px;
    }

        footer a {
            margin: 0 10px;
            text-decoration: none;
            color: #1871B5;
        }

    .home-button {
        display: flex;
        width: 142px;
        height: 50px;
        padding: 10px 6px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2px;
        margin-right: 50px;
        border-radius: 4px;
        border: 1px solid #1EABE2;
        /*background: #FFF;
    color: #1EABE2;*/
        background: #FFF;
        color: #1871B5;
        text-align: center;
        font-family: Arial, sans-serif;
        font-size: 18px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        margin-bottom: 20px;
    }

        .home-button:hover {
            /*color: #FFF;
        background: #1EABE2;*/
            background: #1871B5;
            color: #FFF;
        }



    .disable {
        display: flex;
        width: 142px;
        height: 50px;
        padding: 10px 6px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2px;
        border-radius: 4px;
        border: 1px solid #B9B9B9;
        background: #FFF;
        color: #B9B9B9;
        text-align: center;
        font-family: Arial, sans-serif;
        font-size: 18px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        margin-right: 50px;
    }

    .contact {
        color: #1871B5;
        text-align: center;
        font-family: Arial, sans-serif;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 81px;
        text-decoration-line: underline;
        text-decoration-style: solid;
        text-decoration-skip-ink: auto;
        text-decoration-thickness: auto;
        text-underline-offset: auto;
        text-underline-position: from-font;
    }

    .container-custom {
        background-color: white;
        display: flex;
        flex-wrap: wrap;
        height: calc(100vh - 100px);
    }

    .custom {
        height: calc(100vh - 100px);
        overflow: auto;
    }

    .card-custom {
        margin-bottom: 50px !important;
    }

    .video-card {
        border-radius: 10px;
        box-shadow: 0px 4px 4px 0px #00000040;
        overflow: hidden;
        margin-bottom: 30px;
        /*background-image: url('/OrchardCore.Contents/images/Rectangle.png');*/
        background-image: url('/media/siteImages/Rectangle.png');
        background-size: 100%;
        background-repeat: no-repeat;
        height: 350px;
        max-width: 320px;
        margin: auto;
        /*margin-bottom: 20px;*/
    }

        .video-card img {
            box-shadow: 0px 4px 4px 0px #00000040;
            border-radius: 8px; /* optional: smooth corners */
        }

    .video-header {
        color: white;
        padding: 10px;
        text-align: center;
        font-weight: bold;
        font-size: 1.2rem;
        height: 70px;
    }

    .video-content {
        padding: 15px;
        text-align: center;
        height: 100px;
        overflow: hidden;
    }

    .video-btn {
        padding: 15px;
        text-align: center;
        position: relative;
        bottom: 30px;
    }


    .video-image {
        width: 90%;
        height: 145px;
        display: block;
        margin: auto;
    }

    .btn-learn {
        background-color: #f37d4d;
        border: none;
        padding: 10px 20px;
        font-weight: 600;
        color: #FFF;
        leading-trim: both;
        text-edge: cap;
        font-family: Arial, sans-serif;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        border-radius: 4px;
        background: var(--orange, #E17346);
        display: flex;
        width: 234px;
        height: 32px;
        padding: 10px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
        margin: auto;
    }

        .btn-learn:hover {
            background-color: #e86c3a;
            font-weight: bold !important;
            color: #FFF !important;
        }


    .Link {
        color: var(--dark-blue, #1871B5);
        leading-trim: both;
        text-edge: cap;
        font-family: Arial, sans-serif;
        font-size: 14px;
        font-style: normal;
        font-weight: 400; /* 242.857% */
        text-decoration-line: underline;
        text-decoration-style: solid;
        text-decoration-skip-ink: auto;
        text-decoration-thickness: auto;
        text-underline-offset: auto;
        text-underline-position: from-font;
        float: right;
    }

    .login-header {
        color: #1871B5;
        leading-trim: both;
        text-edge: cap;
        font-family: Inter;
        font-size: 40px;
        font-style: normal;
        font-weight: 600;
        line-height: 73px; /* 182.5% */
    }

    .login-text {
        color: #494949;
        leading-trim: both;
        text-edge: cap;
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
    }

    .footer-link {
        color: #1871B5;
        text-align: center;
        leading-trim: both;
        text-edge: cap;
        font-family: Arial, sans-serif;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
    }

    .brand-name {
        color: #000;
        leading-trim: both;
        text-edge: cap;
        font-family: Arial, sans-serif;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
    }

    .login-input {
        display: flex;
        width: 484px;
        padding: 10px 6px;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 10px;
        border-radius: 4px !important;
        border: 1px solid #1EABE2 !important;
        background: #FFF;
    }

    .welcome {
        color: #000;
        leading-trim: both;
        text-edge: cap;
        font-family: Arial, sans-serif;
        font-size: 40px;
        font-style: normal;
        font-weight: 700; /* 182.5% */
    }

    .user-home-header {
        color: #237CC0;
        leading-trim: both;
        text-edge: cap;
        font-family: Arial, sans-serif;
        font-size: 60px;
        font-style: normal;
        font-weight: 700;
    }

    #AIText {
        width: 576px;
        height: 41px;
        flex-shrink: 0;
        border-radius: 4px;
        border: 1px solid #1871B5;
        background: #FFF;
    }

    /*.card-header {
    color: #FFF;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
}*/

    #user-input:focus {
        outline: none; /* Remove the default browser outline */
        border-color: inherit; /* Inherit the initial border color */
        box-shadow: none; /* Remove any default box shadow */

        background: #F8F8F8 0% 0% no-repeat padding-box;
        border: 1px solid #77bad8;
    }


    .login_content {
        margin: auto;
        /*width: 468px;*/
        width: 70%;
        /*height: 475px;*/
        flex-shrink: 0;
        border-radius: 20px;
        border: 1px solid #1871B5;
        background: #FFF;
        box-shadow: 0px 4px 30.2px -4px #A5DDF3;
        padding: 10%;
    }
}

/********************************/


input,
textarea,
select,
button {
    background-color: #fff;
    color: #000;
    border: 1px solid #ccc;
}

.nav-link, .footer-link {
    color: #1871B5 !important;
}

/* Width of the scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

/* Track (background) */
::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 6px;
}




/* WebKit scrollbar styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 6px;
    border: 3px solid #f0f0f0;
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: #555;
    }

/* Firefox scrollbar override (optional) */
* {
    scrollbar-width: thin;
    scrollbar-color: #888 #f0f0f0;
}

.contact, .footer-link {
    color: #1871B5 !important;
}

/*---------------------------------------------*/
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f8fb;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #F7F7F7 !important;
    border-bottom: 1px solid #B9B9B9 !important;
}

    header img {
        height: 30px;
    }

.container {
    display: flex;
    flex-wrap: wrap;
    height: calc(100vh - 190px);
}

.login-section {
    flex: 1;
    min-width: 300px;
    padding: 60px 40px;
    background-color: white;
    margin: auto;
}

.home-section {
    /* flex: 1;
            min-width: 300px;
            padding: 60px 40px; */
    background-color: white;
}


.form-group {
    margin-bottom: 20px;
}

    .form-group input {
        width: 100%;
        padding: 10px;
        font-size: 14px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    .form-group small {
        display: block;
        margin-top: 5px;
        font-size: 12px;
        color: #888;
    }

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin-bottom: 20px;
}

    .form-options a {
        text-decoration: none;
        color: #007bff;
    }

    .form-options input {
        margin-right: 5px;
    }

.login-button {
    display: flex;
    width: 335px;
    height: 45px;
    padding: 10px 6px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 4px;
    border: 1px solid #1EABE2;
    background: var(--Blue, #1871B5);
    color: #FFF;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.illustration-login_section {
    background-image: url('/media/siteImages/bg.png');
    background-size: 100%;
    background-repeat: no-repeat;
    display: flex;
    justify-content: space-around;
    padding: 5%;
}
.illustration-section {
    background-image: url('/media/siteImages/Ellipse112.png');
    background-size: 100%;
    background-repeat: no-repeat;
    display: flex;
    justify-content: space-around;
    padding: 5%;
}

    .illustration-section img {
        /* max-width: 100%;
                height: auto; */
        width: 80%;
        margin-top: -60px;
        margin-right: -100px;
    }

.illustration-section-home img {
    margin-top: -25% !important;
    width: 50% !important;
    height: 80%;
}

footer {
    background-color: white;
    border-top: 1px solid #ccc;
    padding: 10px 20px;
    text-align: center;
    font-size: 14px;
}

    footer a {
        margin: 0 10px;
        text-decoration: none;
        color: #1871B5;
    }

.home-button {
    display: flex;
    width: 142px;
    height: 50px;
    padding: 10px 6px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
    margin-right: 50px;
    border-radius: 4px;
    border: 1px solid #1EABE2;
    /*background: #FFF;
    color: #1EABE2;*/
    background: #FFF;
    color: #1871B5;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 20px;
}

    .home-button:hover {
        /*color: #FFF;
        background: #1EABE2;*/
        background: #1871B5;
        color: #FFF;
    }



.disable {
    display: flex;
    width: 142px;
    height: 50px;
    padding: 10px 6px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
    border-radius: 4px;
    border: 1px solid #B9B9B9;
    background: #FFF;
    color: #B9B9B9;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-right: 50px;
}

.contact {
    color: #1871B5;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 81px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.container-custom {
    background-color: white;
    display: flex;
    flex-wrap: wrap;
    height: calc(100vh - 100px);
}

.custom {
    height: calc(100vh - 100px);
    overflow: auto;
}
.card-custom {
    margin-bottom: 50px !important;
}
.video-card {
    border-radius: 10px;
    box-shadow: 0px 4px 4px 0px #00000040;
    overflow: hidden;
    margin-bottom: 30px;
    /*background-image: url('/OrchardCore.Contents/images/Rectangle.png');*/
    background-image: url('/media/siteImages/Rectangle.png');
    background-size: 100%;
    background-repeat: no-repeat;
    height: 350px;
    max-width: 320px;
    margin: auto;
    /*margin-bottom: 20px;*/
}

.video-card img {
    box-shadow: 0px 4px 4px 0px #00000040;
    border-radius: 8px; /* optional: smooth corners */
}

.video-header {
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    height: 70px;
}

.video-content {
    padding: 15px;
    text-align: center;
    height: 100px;
    overflow:hidden;
}

.video-btn {
    padding: 15px;
    text-align: center;
    position: relative;
    bottom: 30px;
}


.video-image {
    width: 90%;
    height: 145px;
    display: block;
    margin: auto;
}

.btn-learn {
    background-color: #f37d4d;
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    color: #FFF;
    leading-trim: both;
    text-edge: cap;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    border-radius: 4px;
    background: var(--orange, #E17346);
    display: flex;
    width: 234px;
    height: 32px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin: auto;
}

    .btn-learn:hover {
        background-color: #e86c3a;
        font-weight: bold !important;
        color: #FFF !important;
    }


.Link {
    color: var(--dark-blue, #1871B5);
    leading-trim: both;
    text-edge: cap;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400; /* 242.857% */
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    float: right;
}

.login-header {
    color: #1871B5;
    leading-trim: both;
    text-edge: cap;
    font-family: Inter;
    font-size: 40px;
    font-style: normal;
    font-weight: 600;
    line-height: 73px; /* 182.5% */
}

.login-text {
    color: #494949;
    leading-trim: both;
    text-edge: cap;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
}

.footer-link {
    color: #1871B5;
    text-align: center;
    leading-trim: both;
    text-edge: cap;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
}

.brand-name {
    color: #000;
    leading-trim: both;
    text-edge: cap;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
}

.login-input {
    display: flex;
    width: 484px;
    padding: 10px 6px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    border-radius: 4px !important;
    border: 1px solid #1EABE2 !important;
    background: #FFF;
}

.welcome {
    color: #000;
    leading-trim: both;
    text-edge: cap;
    font-family: Arial, sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 700; /* 182.5% */
}

.user-home-header {
    color: #237CC0;
    leading-trim: both;
    text-edge: cap;
    font-family: Arial, sans-serif;
    font-size: 60px;
    font-style: normal;
    font-weight: 700;
}

#AIText {
    width: 576px;
    height: 41px;
    flex-shrink: 0;
    border-radius: 4px;
    border: 1px solid #1871B5;
    background: #FFF;
}

/*.card-header {
    color: #FFF;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
}*/

#user-input:focus {
    outline: none; /* Remove the default browser outline */
    border-color: inherit; /* Inherit the initial border color */
    box-shadow: none; /* Remove any default box shadow */

    background: #F8F8F8 0% 0% no-repeat padding-box;
    border: 1px solid #77bad8;
}


.login_content {
    margin: auto;
    /*width: 468px;*/
    width: 70%;
    /*height: 475px;*/
    flex-shrink: 0;
    border-radius: 20px;
    border: 1px solid #1871B5;
    background: #FFF;
    box-shadow: 0px 4px 30.2px -4px #A5DDF3;
    padding: 10%;
}