html[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

html[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

/* WebKit Browsers (Chrome, Safari) */
::-webkit-scrollbar {
    width: 2px;
    /* Even tinier scrollbar width */
    height: 2px;
    /* Even tinier scrollbar height (for horizontal scrollbars) */
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* Track color */
}

::-webkit-scrollbar-thumb {
    background: rgba(25, 71, 148, 0.2);
    /* Scrollbar thumb color with 0.2 opacity */
    border-radius: 10px;
    /* More rounded corners for the thumb */
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(25, 71, 148, 0.4);
    /* Slightly darker color on hover with 0.4 opacity */
}

/* Firefox */
* {
    scrollbar-width: thin;
    /* Thin scrollbar */
    scrollbar-color: rgba(25, 71, 148, 0.2) #f1f1f1;
    /* Thumb color with 0.2 opacity and track color */
}

/* Edge and Internet Explorer */
@supports (-ms-overflow-style: none) {
    ::-ms-scrollbar {
        width: 2px;
        /* Even tinier scrollbar width */
    }

    ::-ms-scrollbar-track {
        background: #f1f1f1;
        /* Track color */
    }

    ::-ms-scrollbar-thumb {
        background: rgba(25, 71, 148, 0.2);
        /* Scrollbar thumb color with 0.2 opacity */
        border-radius: 10px;
        /* More rounded corners for the thumb */
    }

    ::-ms-scrollbar-thumb:hover {
        background: rgba(25, 71, 148, 0.4);
        /* Slightly darker color on hover with 0.4 opacity */
    }
}

@font-face {
    font-family: "jannaltbold";
    src: url("/fonts/JannaLT-Regular.eot");
    src: url("/fonts/JannaLT-Regular.eot?") format("eot"),
        url("/fonts/JannaLT-Regular.ttf") format("truetype"),
        url('/fonts/JannaLT-Regular.woff') format('woff'),
        url("/fonts/JannaLT-Regular.svg#JannaLT-Regular") format("svg");
}

i {
    margin: 0 5px !important;
}

.simCard {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

.simCard>h3 {
    height: 36px;
}

.viewAll {
    width: 100%;
    margin: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.SubjectFilter {
    display: flex;
    justify-content: center;
    align-items: center;
}

.SubjectFilter>div {
    margin: 10px 4px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.7s;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    color: #f56a6a;
    font-size: 1rem;
    border: 1px solid #f56a6a;
    white-space: nowrap;
}

@media screen and (max-width: 768px) {
    .SubjectFilter>div {
        font-size: 0.7rem;
    }

}

.viewButton {
    width: 100%;
    background-color: #f56a6a;
    border: 1px solid #f56a6a;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: 0.7s;
    margin-top: 20px;
    font-weight: bold;
}

.viewButton:hover {
    background-color: #fff;
    color: #f56a6a;
}

.changeLang {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.changeLang>div {
    margin: 0 10px;
    font-weight: bold;
    flex: 1;
    cursor: pointer;
    transition: 0.7s;
    border: 1px solid #f56a6a;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    color: #f56a6a;
    font-weight: bold;
}

.changeLang>div:hover {
    background-color: #f56a6a1a;
}

.lang-active {
    background-color: #f56a6a;
    color: #fff !important;
}

.subCard>span {
    padding: 7px 10px;
    margin: 3px;
    border-radius: 5px;
    background-color: #f1f1f1;
    color: #333;
    white-space: nowrap;
}

.subCard {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.arabic {
    font-family: 'jannaltbold', arial, sans-serif !important;
    direction: rtl;
}

@media screen and (min-width: 1280px) {
    .arabic.inactive {
        margin-left: 0 !important;
        margin-right: -26em !important;
        transition: 0.7s !important;
    }

    .arabic.toggle {
        margin-left: 0 !important;
        margin-right: 0;
        right: 26em !important;
    }
}

* {
    transition: 0.3s;
}

.arabic.icons {
    text-align: left !important;
}

.arabic.icons>li {
    padding: 0 0 0 1em !important;
}

.load {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 10000;
}

.loader {
    --r1: 154%;
    --r2: 68.5%;
    width: 150px;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(var(--r1) var(--r2) at top, #0000 79.5%, #f56a6a 80%),
        radial-gradient(var(--r1) var(--r2) at bottom, #f56a6a 79.5%, #0000 80%),
        radial-gradient(var(--r1) var(--r2) at top, #0000 79.5%, #f56a6a 80%),
        #ccc;
    background-size: 50.5% 220%;
    background-position: -100% 0%, 0% 0%, 100% 0%;
    background-repeat: no-repeat;
    animation: l9 2s infinite linear;
}

@keyframes l9 {
    33% {
        background-position: 0% 33%, 100% 33%, 200% 33%
    }

    66% {
        background-position: -100% 66%, 0% 66%, 100% 66%
    }

    100% {
        background-position: 0% 100%, 100% 100%, 200% 100%
    }
}

.OriginalSim {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

@media screen and (max-width: 768px) {
    .OriginalSim {
        flex-direction: column;
    }

    .OriginalSim>div {
        width: 100% !important;
    }
}

.OriginalSim>div {
    width: calc(50% - 10px);
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-direction: column;
    flex-wrap: wrap;
    margin: 10px;
}

.simImage {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 0 10px #0000001a;
}

.simImageOverlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #50505080;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #F56A6A;
    font-size: 6.5em;
    font-weight: bold;
    cursor: pointer;
    transition: 0.4s !important;
    opacity: 0;
}

.simImage:hover .simImageOverlay {
    opacity: 1;
}

.simImage>img {
    width: 100%;
    border-radius: 5px;
}

.simClSub {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    align-content: flex-start;
}

.simClSub>span {
    padding: 7px 10px;
    margin: 3px;
    border-radius: 5px;
    background-color: #f1f1f1;
    color: #333;
    white-space: nowrap;
}

.simTopic {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
    align-content: flex-start;
}

.simTopic>span {
    padding: 7px 10px;
    margin: 3px;
    border-radius: 5px;
    background-color: #F56A6A;
    color: #fff;
    white-space: nowrap;
    font-size: 14px;
}


@media screen and (max-width: 768px) {

    .simClSub,
    .simTopic {
        justify-content: center;
    }

}


.simDescription {
    margin-top: 30px;
    font-size: 1.2rem;
    line-height: 1.5;
}

.simDescription>li {
    margin: 10px 0;
}



.privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
}

.privacy-policy h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
}

.privacy-policy p,
.privacy-policy span {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #555;
}

.privacy-policy p::before {
    content: "•";
    color: #f56a6a;
    display: inline-block;
    width: 1em;
    margin: 0 1em;
}

.privacy-policy p:last-child {
    margin-bottom: 0;
}

.privacy-policy a {
    color: #0066cc;
    text-decoration: none;
}

.privacy-policy a:hover {
    text-decoration: underline;
}

.imageHolder {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.imageHolder>img {
    max-height: 100px;
    padding: 0 20px;
    max-width: 50%;
}

.imageHolder>img:nth-child(1) {
    border-right: 1px solid #f56a6a;
}

.imageHolder>img:nth-child(2) {
    border-left: 1px solid #f56a6a;
}