﻿@charset "UTF-8";

/* ==========================================================================
   1. CONFIGURATION & SETUP
   ========================================================================== */

/* ---------- 1.1. Fonts ---------- */
@font-face {
    font-family: "Cairo";
    src: url(../fonts/Cairo-Regular.woff2) format("woff2");
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: "Cairo";
    src: url(../fonts/Cairo-Bold.woff2) format("woff2");
    font-weight: bold;
    font-display: swap;
}

@font-face {
    font-family: "Cairo";
    src: url(../fonts/Cairo-SemiBold.woff2) format("woff2");
    font-weight: 600;
    font-display: swap;
}

/* ---------- 1.2. Root Variables ---------- */
:root {
    /* Spacing */
    --spacer: 1rem;
    /* Colors */
    --bs-primary: #095b7b;
    --bs-dark: #212529;
    --bs-gray-600: #6c757d;
    --bs-white: #fff;
    --bs-border-color: #dee2e6;
    --c-primary-dark: #0d4e68;
    --c-primary-dark-hover: #116b8f;
    --c-primary-blue: #095B7B;
    --c-text-primary: #344054;
    --c-text-secondary: #4d4d4d;
    --c-text-light: #fff;
    --c-error: #ff0018;
    --c-sanad-green: hsl(152, 63%, 43%);
    --c-sanad-green-hover: hsl(152, 63%, 49%);
    --c-border-light: #d0d5dd;
    --c-focus-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
    --primary-soft-bg: #e7f1ff;
    --primary-soft-color: #004aab;
    /* Borders & Radius */
    --bs-border-radius: 0.25rem;
    --bs-border-radius-lg: 20px;
    --bs-border-radius-pill: 50rem;
    /* Scrollbar */
    --scrollbar-bg: #F2F2F2;
    --scrollbar-thumb: #ccc;
    --faq-primary-color: #008D85; /* Teal */
    --faq-text-primary: #101828;
    --faq-text-secondary: #475467;
    --faq-border-color: #ddd;
    --faq-bg-light: #F9FAFB;
    --faq-bg-white: #FFFFFF;
}

/* ---------- 1.3. Custom Scrollbars ---------- */
::-webkit-scrollbar,
::-webkit-scrollbar-corner {
    background: var(--scrollbar-bg);
    height: 12px;
    width: 12px;
    border-radius: 13px;
}

::-webkit-scrollbar-thumb {
    background: transparent;
    border: 0 solid transparent;
    border-radius: 9999px;
    min-height: 48px;
    min-width: 48px;
}

    :hover::-webkit-scrollbar-thumb,
    ::-webkit-scrollbar-thumb:active,
    ::-webkit-scrollbar-thumb:hover {
        background: var(--scrollbar-thumb);
    }

::-webkit-scrollbar-button {
    height: 0;
    width: 0;
}

@supports not selector(::-webkit-scrollbar) {
    * {
        scrollbar-color: var(--scrollbar-thumb) transparent;
        scrollbar-gutter: auto;
        scrollbar-width: auto;
    }

        *:hover {
            scrollbar-color: var(--scrollbar-thumb) transparent;
        }
}

/* ==========================================================================
   2. BASE & RESET STYLES
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: "Cairo", sans-serif !important;
    background-color: #4D4D4D;
    direction: rtl;
    text-align: start;
}

button,
input {
    font-family: inherit;
}

    input[type="submit"] {
        cursor: pointer
    }

    input[type="password"]::-ms-reveal,
    input[type="password"]::-ms-clear,
    input[type="password"]::-webkit-credentials-auto-fill-button,
    input[type="password"]::-webkit-textfield-decoration-container {
        display: none !important;
    }

/* ==========================================================================
   3. UTILITY & FRAMEWORK CLASSES
   ========================================================================== */
.LoginPage {
    padding-bottom: 134px;
    position: relative
}


/* --- Grid System --- */
[class^="itg-icons"], [class*="itg-icons"],
.itg-icons {
    font-family: 'itg-icons' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
}

    .itg-icons.chalkboardScreen:before {
        content: "\e95b";
    }

    .itg-icons.graduation:before {
        content: "\e958";
    }

    .itg-icons.planets:before {
        content: "\e959";
    }


.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-12,
.col-lg-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-12 {
    flex: 0 0 auto;
    width: 100%;
}

/* --- Flexbox & Sizing --- */
.d-flex {
    display: flex !important;
}

.flex-column {
    flex-direction: column !important;
}

.justify-content-center {
    justify-content: center !important;
}

.align-items-center {
    align-items: center !important;
}

.w-100 {
    width: 100% !important;
}

/* --- Spacing --- */
.mt-3 {
    margin-top: var(--spacer) !important;
}

.mt-4 {
    /* margin-top: calc(var(--spacer) * 1.5) !important; */
}

.my-4 {
    margin-top: calc(var(--spacer) * 1.5) !important;
    margin-bottom: calc(var(--spacer) * 1.5) !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-4 {
    margin-bottom: calc(var(--spacer) * 1.5) !important;
}

.py-2 {
    padding-top: calc(var(--spacer) * 0.5) !important;
    padding-bottom: calc(var(--spacer) * 0.5) !important;
}

.no_padding {
    padding: 0 !important;
}

/* --- Text & Typography --- */
.font-weight-bold {
    font-weight: 700 !important;
}

.logo-header .main-text,
.faq-header h1,
h2.font-weight-bold {
    font-family: 'Cairo';
    font-weight: 600 !important;
    font-size: 40px;
    line-height: 60px;
    text-align: right;
    vertical-align: middle;
    display: inherit
}

h2.font-weight-bold {
    margin-bottom: 16px;
    margin-top: 8px;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

.text-dark {
    color: var(--bs-dark) !important;
}

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f9f9f9;
    background-image: url(../images/particlesStaticImageWhite.png);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

.w-container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    align-items: center;
    height: 100%;
    min-height: calc(100dvh - 135px);
    padding-bottom: 16px;
}

    .w-container .col-lg-6:nth-child(1) {
        margin-top: 2rem
    }

@media(max-width:991px) {
    .w-container .col-lg-6:nth-child(2) {
        scale: .9;
        margin: 2rem auto !important;
    }

    .icon-bullet-text.one {
        top: 75px;
        right: -66px !important;
    }

    .icon-bullet.six {
        right: 374px !important;
    }
}


.headerLogo {
    display: block;
    width: fit-content;
}

.logo-container {
    display: flex;
    position: relative;
    justify-content: flex-start;
    gap: 20px;
    width: fit-content;
    padding-left: 20px;
}

    .logo-container > a {
        position: relative;
        width: fit-content;
        padding: 0;
        margin: 0;
        box-sizing: content-box;
        height: 104px;
        width: 104px;
    }

        #footer span.text-dark a:focus-within,
        .login-option:focus-within,
        .logo-container > a:focus-within {
            outline: 0;
            border-radius: 1rem;
            box-shadow: var(--c-focus-shadow) !important;
        }

        .logo-container > a:after {
            content: "";
            width: 1px;
            height: 48px;
            position: absolute;
            left: -10px;
            top: 24px;
            background-color: rgba(230, 230, 230, 1);
            pointer-events: none;
        }

.logo_new {
    width: 96px;
    height: 96px;
    padding: 3px;
    border: 1px solid rgba(242, 242, 242, 1);
    border-radius: 50%;
    background-color: #fff;
    box-sizing: content-box;
}

#footerContainer {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 14px;
    padding-left: 8px;
    background: linear-gradient(0deg, #FFFFFF 35.05%, rgba(255, 255, 255, 0.02) 100%);
    z-index: 12;
    box-sizing: content-box;
}

@media(max-height:600px) {
    #footerContainer {
        position: absolute;
        background: linear-gradient(0deg, #FFFFFF 35.05%, rgba(255, 255, 255, 0.02) 100%);
        right: 8px;
        bottom: -32px;
    }
}

#footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content !important;
    margin: 0 auto;
    padding-bottom: 16px;
    padding-left: 0;
    width: 100% !important;
}

    #footer .text-dark {
        color: var(--c-text-secondary) !important;
        text-decoration: none;
        font-size: 12px !important;
        font-weight: 600 !important;
        display: block;
    }

    #footer span.text-dark:first-of-type {
        padding-bottom: 4px;
        padding-top: 16px;
    }

/* ==========================================================================
   5. COMPONENTS
   ========================================================================== */

/* ---------- 5.1. Forms & Inputs ---------- */
.login_form_1 {
    max-width: 396px;
    width: 100%;
    margin: 0 auto;
}

.login_feild_label {
    color: var(--c-text-primary) !important;
    text-align: right;
    font-size: 14px;
    font-weight: 400;
    line-height: 36px;
    display: block;
}

.login-input {
    display: block;
    width: 100%;
    padding: .75rem 1.25rem;
    font-size: 18px !important;
    font-weight: 400;
    line-height: 1.6;
    color: #495057;
    background-color: var(--bs-white);
    background-clip: padding-box;
    border: 1px solid var(--c-border-light);
    appearance: none;
    border-radius: var(--bs-border-radius-lg);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, .05);
}

    .login-input:focus {
        border-color: #8bbafe;
        outline: 0;
        box-shadow: var(--c-focus-shadow) !important;
    }

.password-input-wrapper {
    position: relative;
    width: 100%;
}

.password-toggle {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    transition: color 0.2s ease;
}

    .password-toggle:hover {
        color: #495057;
    }

    .password-toggle:focus {
        outline: none;
    }

.login-input.has-toggle {
    padding-left: 48px;
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

.password-toggle .eye-open {
    display: block;
}

.password-toggle .eye-closed {
    display: none;
}

.password-toggle.show-password .eye-open {
    display: none;
}

.password-toggle.show-password .eye-closed {
    display: block;
}

.error_home span {
    color: var(--c-error);
    font-weight: 400;
    font-size: 13px;
}

#footer span.text-dark a,
.login-option {
    color: rgba(71, 84, 103, 1) !important;
    text-decoration: none;
    text-align: right;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: color ease .3;
}

    #footer span.text-dark a:hover,
    .login-option:hover {
        color: var(--c-primary-blue) !important;
    }

#footer span.text-dark a {
    font-size: inherit !important;
}

#tMbPAR1::placeholder,
#tMbPAN1::placeholder {
    font-weight: 500 !important;
    font-size: 16px !important;
    color: rgba(102, 112, 133, 1) !important;
}

.LoginForm-ForgetPass a {
    color: var(--c-primary-dark) !important;
}

.captch-holder {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
}

    .captch-holder > div:nth-child(1) {
        flex: 0 0 70%;
    }

        .captch-holder > div:nth-child(1) input {
            width: 100% !important;
        }

    .captch-holder > div:nth-child(2) {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        border: 1px solid var(--c-border-light);
        appearance: none;
        border-radius: var(--bs-border-radius-lg);
        background-color: #fff;
        flex: 0 0 calc(30% - 8px);
    }

        .captch-holder > div:nth-child(2) > img {
            width: 100%
        }
/* ---------- 5.2. Buttons ---------- */
.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: var(--bs-border-radius);
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-block {
    display: block;
    width: 100%;
}

.rounded-pill {
    border-radius: var(--bs-border-radius-pill) !important;
}

.submitBtn {
    background-color: var(--c-primary-dark);
    color: var(--c-text-light);
    border: 0;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, .05);
    height: 56px;
    font-size: 18px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color .3s ease-in-out;
    text-decoration: none
}

    .submitBtn:hover {
        background-color: var(--c-primary-dark-hover);
        color: var(--c-text-light);
    }

    .submitBtn:focus {
        outline: 0;
        box-shadow: var(--c-focus-shadow) !important;
    }

    .submitBtn img {
        width: 68px;
        height: 30px;
        flex-shrink: 0;
    }

.sanad-btn svg {
    width: 96px;
    height: 32px;
    flex-shrink: 0;
    margin-left: -12px
}

.office-btn svg {
    width: 96px;
    height: 26px;
    flex-shrink: 0;
}

.office-btn {
    background-color: #3F444D;
}

    .office-btn:hover {
        background-color: #586371;
    }

.sanad-btn {
    text-decoration: none !important;
    background-color: var(--c-sanad-green) !important;
}

    .sanad-btn:hover {
        background-color: var(--c-sanad-green-hover) !important;
    }

    .office-btn:focus,
    .sanad-btn:focus {
        box-shadow: var(--c-focus-shadow) !important;
    }

/* Student Login Highlight for Office 365 */
.student-login-wrapper {
    position: relative;
    margin-top: 32px !important;
}

.student-indicator {
    position: absolute;
    top: -18px;
    right: 20px;
    background: linear-gradient(135deg, #E53935, #C62828);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
    animation: bounce-indicator 2s infinite;
}

@keyframes bounce-indicator {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.student-indicator i {
    font-size: 16px;
}

.student-pulse {
    position: relative;
    overflow: visible;
    border: 2px solid #E53935;
    transition: all 0.3s ease;
}

.student-pulse::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50rem;
    border: 2px solid #E53935;
    animation: office-pulse 2s infinite;
    pointer-events: none;
}

@keyframes office-pulse {
    0% {
        transform: scale(0.98);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.05);
        opacity: 0;
    }
    100% {
        transform: scale(0.98);
        opacity: 0;
    }
}

/* ---------- 5.3. Sliders / Pages ---------- */
.slider-container {
    height: 100%;
    min-height: calc(100dvh - 135px);
    max-width: 2000px;
    margin: 0 auto;
}

.slidePg {
    width: 100%;
    height: 100%;
    display: none;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    transition: opacity .5s ease-in-out;
}

    .slidePg.active {
        display: flex;
        overflow: hidden;
        opacity: 1;
        transition: opacity .5s ease-in-out;
        overflow: visible;
    }

.slide2-head {
    color: #1A1A1A;
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    line-height: 60px;
    margin-top: 0;
}

.slide2-body {
    color: #1A1A1A;
    text-align: center;
    font-size: 20px;
    max-width: 750px;
    width: 100%;
    margin-bottom: 24px;
    font-weight: 400;
    line-height: 32px;
}

/* ---------- 5.4. Pagination (Slider) ---------- */
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
}

.LoginPage .pagination {
    gap: 10px;
    background: var(--bs-white);
    padding: 8px 24px;
    border-radius: 32px;
    width: 200px;
    justify-content: center;
    align-self: center;
    align-items: center;
    box-shadow: 0px 4px 40px 0px #A1A1A140;
    min-height: 64px;
}

    .LoginPage .pagination:empty {
        display: none;
    }

.bullet {
    outline: none;
    box-shadow: none;
    border: none;
    width: 20px;
    height: 20px;
    background: #e6e6e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all .3s ease-out;
}

    .bullet.active {
        width: 64px;
        height: 32px;
        background: var(--c-primary-blue);
        border-radius: 16px;
        position: relative;
    }

        .bullet.active::before,
        .bullet.active::after {
            content: "";
            position: absolute;
            top: 50%;
            width: 8px;
            height: 8px;
            border-style: solid;
            border-color: var(--bs-white);
            border-width: 2px 2px 0 0;
        }

        .bullet.active::before {
            left: 30%;
            transform: translateY(-50%) rotate(225deg);
        }

        .bullet.active::after {
            right: 30%;
            transform: translateY(-50%) rotate(45deg);
        }

/* ---------- 5.5. Accordion (FAQ) & FAQ Pagination ---------- */
.faq-body {
    min-height: calc(100dvh - 290px);
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    gap: 12px;
}

    .faq-body > * {
        width: 100%;
        max-width: 800px;
        display: flex;
        justify-content: center;
        align-content: center;
        flex-direction: column;
    }

    .faq-body > input {
        width: 100%;
        padding: 4px 16px;
        border-radius: 24px;
        font-family: "Cairo";
        font-style: normal;
        font-weight: 500;
        font-size: 16px;
        text-align: right;
        background-color: #fff !important;
        outline: none;
        border: 1px solid #ddd;
    }

.accordion {
    width: 100%;
}

    .accordion .card {
        margin-bottom: 0;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

        .accordion .card:not(:last-of-type) {
            border-bottom: 0;
        }

        .accordion .card:first-of-type {
            border-top-left-radius: var(--bs-border-radius);
            border-top-right-radius: var(--bs-border-radius);
        }

        .accordion .card:last-of-type {
            border-bottom-left-radius: var(--bs-border-radius);
            border-bottom-right-radius: var(--bs-border-radius);
        }

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: var(--bs-white);
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: var(--bs-border-radius);
}

.card-header {
    padding: 0.5rem 1rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-body {
    flex: 1 1 auto;
    padding: 1rem;
}

.collapse {
    display: none;
    overflow: hidden;
    transition: height 0.35s ease-out;
}

    .collapse.show {
        display: block;
    }

.collapsed .arrow-up {
    transform: rotate(-180deg);
}

.arrow-up {
    transition: transform 0.3s ease;
}

.alert {
    position: relative;
    padding: var(--spacer);
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: var(--bs-border-radius);
}

.bg-primary-soft {
    color: var(--primary-soft-color);
    background-color: var(--primary-soft-bg);
}

/* ==========================================================================
   6. PAGE-SPECIFIC STYLES
   ========================================================================== */

/* ---------- 6.1. Slider Page 1 (Login Form) ---------- */
.login-left {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 32px;
}

    .login-left .image-container {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 356px;
        height: 356px;
        scale: .9;
    }

        .login-left .image-container .bordered-circle {
            position: absolute;
            z-index: -1;
        }

        .login-left .image-container .icon-bullet,
        .login-left .image-container .icon-bullet-text {
            position: absolute;
            display: inline-flex;
            align-items: center;
            padding: 12px;
            border-radius: 20px;
            font-size: 16px;
        }

        .login-left .image-container .icon-bullet {
            background: var(--c-primary-blue);
            color: var(--bs-white);
            box-shadow: 0px 4px 40px 0px rgba(161, 161, 161, .25);
            font-size: 22px;
        }

.icon-bullet.one {
    bottom: -71px;
}

.icon-bullet.two {
    bottom: -3px;
    right: -6px;
}

.icon-bullet.three {
    top: -55px;
    right: 60px;
}

.icon-bullet.four {
    top: -37px;
    right: 278px;
}

.icon-bullet.five {
    top: 62px;
    right: 364px;
}

.icon-bullet.six {
    bottom: 115px;
    right: 379px;
}

.login-left .image-container .icon-bullet-text {
    background: #f2f2f2;
    color: var(--c-primary-blue);
    box-shadow: 2px 3px 8px 1px rgba(0, 0, 0, .15);
    font-weight: 400;
    text-wrap: nowrap;
}

.icon-bullet-text.one {
    top: 75px;
    right: -136px;
}

.icon-bullet-text.two {
    bottom: 0px;
    right: 280px;
}

/* ---------- 6.2. Slider Page 2 & 3 (Grids) ---------- */
.logo-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: 1200px;
    margin: 32px 0 32px auto;
    padding: 0 16px
}

    .logo-header .logo-text {
        text-align: right;
    }

.grid-4-cols-2-rows {
    display: grid;
    gap: 1.5rem;
    max-width: 1180px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    align-content: center;
}

.grid-3-cols {
    display: grid;
    gap: 1.5rem;
    max-width: 1180px;
    margin: 0 auto;
    overflow: visible;
}

div:has(>.grid-3-cols) {
    overflow: visible
}

.grid-4-cols-2-rows {
    grid-template-columns: repeat(3, 1fr);
}

.grid-3-cols {
    grid-template-columns: repeat(3, 1fr);
}

.grid-item {
    transition: all ease-in-out .3s
}

    .grid-item:not(.image-card):hover {
        background-color: var(--c-primary-blue);
    }

.grid-3-cols > .grid-item {
    padding: 24px !important;
}

    .grid-3-cols > .grid-item ul li {
        font-size: 14px !important;
        line-height: 20px !important;
        transition: all ease-in-out .3s;
    }

.grid-item.image-card {
}

.grid-4-cols-2-rows .card {
    height: 248px !important;
    overflow: hidden
}

    .grid-4-cols-2-rows .card:before {
        font-family: "itg-icons";
        font-size: 8rem;
        position: absolute;
        text-align: center;
        color: #fff;
        top: -1.45rem;
        right: -1.25rem;
        width: 50%;
        background-color: var(--c-primary-blue);
        border-radius: 50%;
        z-index: 0;
        opacity: .075;
        transition: all ease-in-out .3s;
    }

.grid-item:not(.image-card):hover.card:before {
    background-color: #fff;
    color: var(--c-primary-blue);
}

.graduation-bg:before {
    content: '\e958'
}

.stars-bg:before {
    content: '\e957'
}

.openbook-bg:before {
    content: '\e955'
}

.brain-bg:before {
    content: '\e956'
}

.card {
    background-color: var(--bs-white);
    padding: 16px 8px;
    border-radius: 24px;
    box-shadow: 0px 4px 40px 0px #A1A1A140;
    border: none;
}

.card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 56px;
    width: 56px;
    border-radius: 50%;
    background-color: var(--c-primary-blue);
    color: var(--c-text-light);
    margin-bottom: 12px;
    transition: all ease-in-out .3s;
}

.grid-item.image-card {
    padding: 0 !important;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.12) !important;
}

.grid-item:not(.image-card):hover .card-icon {
    background-color: #fff;
}

.grid-item:not(.image-card):hover li {
    color: #f6f6f6;
}

.card-icon i {
    font-size: 2rem;
    transition: all ease-in-out .3s;
}

.grid-item:not(.image-card):hover .card-icon i {
    color: var(--c-primary-blue);
}

.card h2 {
    font-weight: 700;
    font-size: 18px;
    color: var(--bs-dark);
    margin-top: 0;
    padding: 0 8px;
    margin-bottom: 12px;
    transition: all ease-in-out .3s;
}

.grid-item:not(.image-card):hover h2 {
    color: #fff
}

.card ul {
    list-style: none;
    padding: 0 8px;
    margin: 0;
    overflow: auto;
}

.card li {
    position: relative;
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    padding-right: 10px;
    text-align: right;
    padding-bottom: 12px;
    color: #4D4D4D;
    transition: all ease-in-out .3s;
}

    .card li:last-child {
        margin-bottom: 0;
    }

    .card li:before {
        content: '';
        position: absolute;
        right: 0;
        top: 6px;
        width: 4px;
        height: 4px;
        background-color: #777;
        border-radius: 1px;
    }

/* ==========================================================================
   7. FAQ SECTION STYLES
   ========================================================================== */
.faq-page-container {
    width: 100%;
    max-width: 1200px;
    min-width: min(1200px,90vw);
    margin: auto;
    direction: rtl;
    padding-bottom: 16px;
}

.faq-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-top: 32px;
}

.faq-header-title {
    display: flex;
    text-align: right;
    gap: 8px;
    margin-bottom: 2rem;
    justify-content: flex-start;
}

.sub-text,
.faq-header p {
    font-family: 'Cairo';
    font-size: 1.1rem;
    font-weight: 400;
    font-size: 20px;
    line-height: 32px;
    color: var(--faq-text-secondary);
    display: block;
    padding-top: 16px;
}

.faq-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

/* Sidebar for topics */
.faq-sidebar {
    flex: 0 0 240px;
}

@media(max-width:656px) {
    .faq-page-container {
        width: calc(100% - 32px) !important;
        min-width: calc(100% - 32px) !important;
        max-width: calc(100% - 32px) !important;
        overflow: hidden
    }

    .faq-header h1 {
        font-size: 2rem;
    }

    .faq-user-filters {
        gap: 4px !important;
        flex-wrap: nowrap !important;
        max-width: 100dvw;
        overflow-x: auto;
        padding-bottom: 8px !important;
    }

        .faq-user-filters > * {
            white-space: nowrap;
            min-width: fit-content !important;
        }

        .faq-user-filters > span {
            display: none
        }

    .faq-layout {
        flex-direction: column
    }

    .faq-sidebar {
        flex: 0 0 100% !important;
        max-width: 100vw;
        overflow-x: auto;
    }

    .faq-topic-list {
        flex-direction: row !important;
        padding-bottom: 8px;
        width: 100%;
    }

    .faq-topic-list {
        flex-wrap: nowrap;
        white-space: nowrap;
    }
}

.faq-topic-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.faq-topic-item {
    display: block;
    min-height: 42px;
    padding: 7px 20px 0 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    color: var(--faq-text-secondary);
    border: 1px solid var(--faq-border-color);
    background-color: var(--faq-bg-white);
    transition: background-color ease 0.2s, color ease 0.2s, border-color ease 0.5s;
}

    .faq-topic-item:hover {
        background-color: var(--faq-bg-light);
    }

    .faq-topic-item.active {
        color: var(--c-primary-blue);
        border-color: var(--c-primary-blue)
    }

/* Main content area */
.faq-main-content {
    flex: 1;
    min-width: 0;
    width: 100%;
}

.faq-user-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--bs-border-color);
    padding-bottom: 1.5rem;
}

    .faq-user-filters > span {
        font-family: 'Cairo';
        font-weight: 500;
        font-size: 15px;
        line-height: 24px;
        text-align: right;
        color: rgba(102, 102, 102, 1);
        line-height: 2rem;
    }

.faq-user-filter {
    font-weight: 600;
    font-size: 16px;
    padding: 3px 20px 5px 20px;
    border-radius: 20px;
    border: 1px solid var(--faq-border-color);
    background-color: var(--faq-bg-white);
    font-weight: 600;
    color: var(--faq-text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    min-width: 128px
}

    .faq-user-filter:hover {
        background-color: var(--faq-bg-light);
    }

    .faq-user-filter.active {
        background-color: var(--c-primary-blue);
        color: white;
        border-color: var(--c-primary-blue);
    }

.faq-search {
    margin-bottom: 1.5rem;
    position: relative;
}

#faqSearchInput {
    width: 100%;
    padding: 12px 20px 12px 45px; /* Padding on the right for icon */
    border: 1px solid var(--faq-border-color);
    border-radius: 24px;
    font-size: 16px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    padding-right: 48px;
    height: 46px
}

.faq-search::before {
    content: '';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236c757d'%3e%3cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: contain;
}

#faqSearchInput:focus {
    border-color: transparent;
    outline: 0;
    box-shadow: var(--c-focus-shadow);
}
/* Accordion styles */
#faqAccordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: none;
}

.faq-item {
    border: 1px solid var(--faq-border-color);
    border-radius: 24px;
    background-color: var(--faq-bg-white);
    overflow: hidden;
    transition: border 0.3s ease
}

    .faq-item:has(.show) {
        border-color: var(--c-primary-blue);
    }

.faq-item-header .faq-question-btn {
    width: 100%;
    padding: .75rem 1.5rem;
    text-align: right;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    position: relative;
    box-shadow: none;
}

    .faq-item-header .faq-question-btn[aria-expanded="true"] .faq-question-text {
        color: var(--c-primary-blue);
    }

.faq-question-btn::after {
    font-family: 'itg-icons';
    content: "\e95d";
    color: var(--c-text-secondary);
    position: absolute;
    left: 1.5rem;
    top: calc(50% - .4rem);
    transition: transform 0.3s ease,color 0.3s ease;
}

.faq-question-btn:not(.collapsed)::after {
    transform: rotate(-180deg);
    color: var(--c-primary-blue);
}


.faq-item-meta {
    display: flex;
    gap: 8px;
}

.faq-tag-topic,
.faq-tag-user {
    padding: 2px 10px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
}

.faq-tag-user,
.faq-tag-topic {
    border: 1px solid var(--c-border-light);
    color: rgb(102 102 102);
}

    .faq-tag-topic:before {
        content: '?';
        display: inline-block;
        padding-left: 3px;
        font-size: 16px;
        line-height: 1;
        font-family: 'Cairo';
        font-weight: 900;
        color: rgb(102 102 102 / 55%);
    }

.faq-question-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--faq-text-primary);
    transition: color 0.2s ease
}

.faq-item-body {
    padding: 0rem 1.5rem 1rem 1.5rem;
    color: var(--faq-text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.collapse:not(.show) {
    display: none;
}

/* Pagination */
.page-arrow {
    width: 40px;
    height: 40px;
    border: 1px solid var(--faq-border-color);
}

    .page-arrow:hover {
        background-color: var(--faq-bg-light);
    }

.page-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    background-color: var(--faq-border-color);
}

    .page-dot.active {
        background-color: var(--faq-primary-color);
    }

.no-results-message {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    color: var(--faq-text-secondary);
    font-size: 1.1rem;
    border-radius: 12px;
}
/* ==========================================================================
   8. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Large screens (up to 1200px) */
@media (max-width: 1200px) {
    .grid-3-cols,
    .grid-4-cols-2-rows {
        grid-template-columns: repeat(2, 1fr);
        padding-inline: 32px;
    }
}

/* Medium screens (up to 992px) */
@media (min-width: 992px) {
    .slidePg .w-container .col-lg-6:nth-child(2) {
        display: flex !important;
    }

    .col-lg-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .align-items-lg-start {
        align-items: flex-start !important;
    }

    .justify-content-lg-center {
        justify-content: center !important;
    }
}

@media (max-width: 991px) {
    .slidePg.active > div.justify-content-lg-center {
        height: 100%;
    }

    .slidePg {
        overflow-x: auto;
    }

    .LoginPage #container div:has(>.login-left) {
        display: none;
    }

    .headerLogo {
        text-align: center;
    }
}

/* Small screens (up to 768px) */
@media (max-width: 768px) {
    .faq-header-title,
    .logo-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 2rem;
    }

    .logo-container {
        justify-content: center !important;
        width: 100%;
        padding: 0;
    }

    .login_form_1 .logo-container {
        justify-content: flex-start !important;
        padding: 0 !important;
    }

    .logo-header .headerLogo {
        margin-left: 0;
        margin-bottom: 1rem;
    }

    .logo-header .main-text,
    .faq-header h1 {
        text-align: center !important;
        font-size: 2rem
    }

    h2.font-weight-bold {
        font-size: 2rem
    }

    .sub-text, .faq-header p {
        text-align: center;
        font-size: 1.15rem;
    }

    .grid-3-cols,
    .grid-4-cols-2-rows {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .grid-item.image-card {
    }

    .card {
        padding: 1rem;
    }
}

#itg-tooltip-container {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 14px;
    font-size: var(--font-12, 12px);
    pointer-events: none;
    opacity: 0;
    z-index: 9999;
    max-width: 250px;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    font-family: 'Cairo';
    font-weight: 900;
    line-height: 18px;
    letter-spacing: 0%;
    text-align: center;
}

    #itg-tooltip-container.active {
        opacity: 1;
        transform: translateY(0);
    }

.tooltip-content {
    padding: 9px 14px;
}

    .tooltip-content:empty {
        padding: 0 0;
    }

.tooltip-arrow {
    position: absolute;
    width: 0;
    height: 0;
}

#itg-tooltip-container[data-placement="top"] .tooltip-arrow {
    bottom: -6px;
    left: 50%;
    margin-left: -6px;
    border-width: 6px 6px 0;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}

#itg-tooltip-container[data-placement="bottom"] .tooltip-arrow {
    top: -8px;
    left: 50%;
    margin-left: -8px;
    border-width: 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent rgba(0, 0, 0, 0.8) transparent;
}

#itg-tooltip-container[data-placement="left"] .tooltip-arrow {
    right: -8px;
    top: 50%;
    margin-top: -8px;
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.8);
}

#itg-tooltip-container[data-placement="right"] .tooltip-arrow {
    left: -8px;
    top: 50%;
    margin-top: -8px;
    border-width: 8px 8px 8px 0;
    border-style: solid;
    border-color: transparent rgba(0, 0, 0, 0.8) transparent transparent;
}
/* ==========================================================================
   Paywall specific styles for the Verification Code page
   ========================================================================== */
/* ---------- 9.1. Paywall Header Message ---------- */
/*
 * Styles for the new header message that informs the user where the code was sent.
 * It's designed to look clean and be an integral part of the paywall header.
 */
.paywall-header-message {
    padding: 0.75rem 1.5rem; /* Consistent padding */
    text-align: center;
    font-size: 14px; /* Slightly smaller than main text for hierarchy */
    font-weight: 400; /* Regular weight for informational text */
    color: var(--c-text-secondary); /* Softer text color */
    background-color: #f8f9fa; /* Very light gray background to separate it */
    border-bottom: 1px solid var(--bs-border-color);
    margin: calc(var(--spacer) * -2) calc(var(--spacer) * -2) var(--spacer); /* Negative margin pulls it to the edges */
    border-top-left-radius: inherit; /* Inherits the parent's border radius */
    border-top-right-radius: inherit;
}

    /* Ensure the text inside the header message is also centered */
    .paywall-header-message > span {
        display: block;
    }
/* The semi-transparent background overlay that covers the entire screen */
.paywall-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../images/particlesStaticImageWhite.png);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1000;
    padding: var(--spacer);
}

.paywall-note {
    border: 1px dashed rgb(0 0 0 / 18%);
    padding: 8px 12px !important;
    border-radius: 7px !important;
    font-size: 14px !important;
}
/* The main paywall container box */
.paywall.verification-code-paywall {
    max-width: 400px;
    width: 100%;
    background-color: var(--bs-white);
    border-radius: calc(var(--bs-border-radius-lg) - 8px);
    padding: calc(var(--spacer) * 2);
    box-shadow: 0px 4px 40px 0px rgba(161, 161, 161, .4);
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacer) * 1.5);
}

.paywall-body {
    display: flex;
    flex-direction: column;
    gap: var(--spacer);
}

/* Container for all the form controls */
.paywall-controls {
    display: flex;
    flex-direction: column;
    gap: var(--spacer);
}

/* Wrapper for each input field */
.field-control {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Label for the input fields */
.feild-title {
    color: var(--c-text-primary);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-align: right;
}

/* Styles for the verification code input, based on .login-input */
.field-captcha #tbVerificationCaptcha,
.feild-data #tbAuthenticationCode {
    width: 100%;
    padding: .75rem 1.25rem;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #495057;
    background-color: var(--bs-white);
    border: 1px solid var(--c-border-light);
    border-radius: var(--bs-border-radius-lg);
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, .05);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .field-captcha #tbVerificationCaptcha:focus,
    .feild-data #tbAuthenticationCode:focus {
        border-color: #8bbafe;
        outline: 0;
        box-shadow: var(--c-focus-shadow) !important;
    }

/* Container for the CAPTCHA input and image */
.field-captcha {
    display: flex;
    align-items: center;
    gap: calc(var(--spacer) * 0.5);
}

    /* Styles for the CAPTCHA text input field */
    .field-captcha #tbVerificationCaptcha {
        width: 100%; /* Overriding inline style with a more robust rule */
        max-width: calc(100% - 108px) !important;
        margin-bottom: 0 !important;
    }

        .field-captcha #tbVerificationCaptcha::placeholder {
            font-size: 16px;
            color: #b7b2ca
        }

/* Container for the CAPTCHA image */
.LoGch {
    flex-shrink: 0;
    border: 1px solid var(--c-border-light);
    border-radius: var(--bs-border-radius);
    overflow: hidden;
}

/* Styles for the CAPTCHA image itself */
.field-captcha img {
    display: block;
    height: 51px;
    border-radius: var(--bs-border-radius-lg);
    border: 1px solid var(--c-border-light)
}

/* Styles for the operation message (e.g., error messages) */
.paywall-operation-message {
    text-align: center;
    color: var(--c-error);
    font-size: 14px;
    line-height: 1.5;
}

/* Footer container for the buttons */
.paywall-footer {
    display: flex;
    justify-content: flex-end;
    gap: calc(var(--spacer) * 0.5);
}

    /* Generic button styles within the paywall footer */
    .paywall-footer .btn {
        font-weight: 600;
        line-height: 1.5;
        padding: calc(var(--spacer) * 0.5) calc(var(--spacer) * 1.25);
        border-radius: var(--bs-border-radius-lg);
        text-align: center;
        cursor: pointer;
        box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, .05);
        border: 1px solid transparent;
        transition: background-color .3s ease-in-out, border-color .3s ease-in-out, color .3s ease-in-out;
    }

    /* Primary button style for 'GoButton' */
    .paywall-footer input {
        padding: 8px 24px;
        transition: background-color .3s ease-in-out;
        border-radius: calc(var(--bs-border-radius-lg) - 1px);
        border: none
    }

    .paywall-footer #btnAudit {
        background-color: var(--c-primary-dark);
        color: var(--c-text-light);
        border-color: transparent;
    }

        .paywall-footer #btnAudit:hover {
            background-color: var(--c-primary-dark-hover);
            color: var(--c-text-light);
        }

        .paywall-footer #btnAudit:disabled,
        .paywall-footer #btnAudit.disabled {
            background-color: var(--bs-gray-600); /* Use a standard gray for disabled state */
            color: var(--bs-white);
            opacity: 0.65; /* Standard practice for indicating a disabled element */
            cursor: not-allowed; /* Changes the cursor to show the button is non-interactive */
            border-color: transparent;
            box-shadow: none; /* Remove any shadow effects */
        }

            .paywall-footer #btnAudit:disabled:hover,
            .paywall-footer #btnAudit.disabled:hover {
                background-color: var(--bs-gray-600); /* Keep the background color the same as disabled */
            }

    .paywall-footer #btnCancel {
        background-color: var(--bs-white);
        color: var(--c-text-primary);
        border: 2px solid var(--c-border-light);
    }

        .paywall-footer #btnCancel:hover {
            background-color: #f2f2f2;
        }

.timer-message {
    font-size: 13px; /* Slightly smaller to not be too imposing */
    display: inline-block; /* Ensures it sits nicely in the flow */
    margin-top: 0.5rem; /* Adds a bit of space from the main error message */
}
/* ==========================================================================
   10. BUTTON LOADING & DISABLED STATES (REVISED FOR LINKBUTTON)
   ========================================================================== */

/* ---------- 10.1. General Button Disabled State ---------- */
/* A LinkButton doesn't have a 'disabled' attribute, so we rely on a .disabled class */
.submitBtn.disabled {
    background-color: var(--bs-gray-600) !important; /* Use !important to override base styles if needed */
    opacity: 0.75;
    cursor: not-allowed;
    pointer-events: none; /* Crucial for <a> tags to prevent clicks */
}

/* ---------- 10.2. Button Loading State with Spinner ---------- */
.submitBtn.loading {
    position: relative;
    cursor: wait;
    pointer-events: none; /* Prevent clicks while loading */
}

    /* Hide the text when loading */
    .submitBtn.loading .btn-text {
        visibility: hidden;
    }

    /* The spinner pseudo-element on the main button (the <a> tag) */
    .submitBtn.loading::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 24px;
        height: 24px;
        margin-top: -12px;
        margin-left: -12px;
        border: 3px solid rgba(255, 255, 255, 0.3);
        border-top-color: var(--bs-white);
        border-radius: 50%;
        animation: button-spinner 0.8s linear infinite;
    }

@keyframes button-spinner {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 470px) {
    .w-container {
        width: calc(100% - 32px);
    }

    h2.my-4,
    h2.mt-4 {
        margin-top: 0 !important;
    }

    .slidePg .slide2-body {
        padding-inline: 16px;
    }

    .slidePg {
        padding-top: 0;
    }

    .headerLogo {
        padding-top: 32px;
    }

        .headerLogo + h2 {
            font-size: 32px !important;
            padding-bottom: 16px;
        }
}

@media (max-width: 636px) {
    .w-container .col-lg-6:nth-child(2) {
        scale: .86 !important;
        padding-bottom: 16px !important;
    }

    .icon-bullet-text.two {
        right: 246px;
    }

    .grid-3-cols,
    .grid-4-cols-2-rows {
        margin-bottom: 6rem
    }
}
/* ==========================================================================
   11. LANGUAGE SWITCHER
   ========================================================================== */
.lang-switch-container {
    position: absolute;
    top: 24px;
    left: 24px; /* Default for RTL */
    z-index: 100;
}

html[dir="ltr"] .lang-switch-container {
    left: auto;
    right: 24px;
}

.lang-switch-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: var(--c-primary-blue) !important;
    border: 1px solid var(--c-border-light);
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

    .lang-switch-btn:hover {
        background-color: var(--primary-soft-bg);
        border-color: var(--c-primary-blue);
        transform: translateY(-2px);
        box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.1);
    }

    .lang-switch-btn svg {
        color: var(--c-primary-blue);
    }

@media (max-width: 768px) {
    .lang-switch-container {
        top: 16px;
        left: 16px;
    }

    html[dir="ltr"] .lang-switch-container {
        left: auto;
        right: 16px;
    }
}