@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@100..900&display=swap');

@media (max-width: 1024px) {
    body {
        font-size: 14px;
    }
}


/*@font-face {
    font-family: 'Noto Kufi Arabic';
    src: url('../fonts/NotoKufiArabic-VariableFont_wght.ttf') format('truetype');
    box-sizing: border-box;
    line-height: 1.5;
    font-weight: 400;
}*/

/*@font-face {
    font-family:'Roboto';
    src: url('../fonts/Roboto-Medium.ttf') format('truetype');
    box-sizing: border-box;
    line-height: 1.5;
    font-weight: 400;
}*/

/*body:lang(ar),
*:lang(ar) {
    font-family: 'Noto Kufi Arabic', sans-serif;
}*/

/*body:lang(en),
*:lang(en) {
    font-family: "Roboto";
}*/

@font-face {
    font-family: 'Tajawal';
    src: url('../fonts/Tajawal-Regular.ttf') format('truetype');
    box-sizing: border-box;
    line-height: 1.5;
    font-weight: 400;
}

* {
    font-family: 'Poppins', "Noto Kufi Arabic";
    box-sizing: border-box;
    line-height: 1.5;
    font-weight: 400;
    --mdb-box-shadow-color-rgb: none !important
}

.font-theme {
    font-family: 'Poppins', "Noto Kufi Arabic" !important;
}

.card {
    --mdb-card-border-width: none !important
}

.navbar {
    --mdb-navbar-toggler-border-color: none !important
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 4rem;
}

body {
    display: flex;

    flex-direction: column;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

::selection {
    background-color: var(--theme-color);
    color: white;
}


a {
    text-decoration: none;
}

.link {
    color: var(--theme-color);
}

.link:hover {
    text-decoration: underline;
}

.btn-white {
    background-color: white;
}

.btn-white:hover {
    background-color: rgba(189, 197, 209, .2) !important;
}

.btn-theme {
    background-color: var(--theme-color);
    color: white;
    font-weight: bold;
    transition: all 0.3s;
}

.btn:focus,
.btn:active {
    box-shadow: none;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected,
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[aria-selected=true]:not(.select2-results__option--highlighted),
.dropdown-item.active,
.dropdown-item:active {
    background-color: #eee !important;
    color: black !important;
}

.select2-container .select2-selection--single {
    border: 1px solid #e7eaed;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
}

.form-group-lg .select2-container .select2-selection--single {
    height: 48px !important;

}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 5px !important;
}

.form-group-lg .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 10px !important;
}

.btn-theme:hover {
    background-color: var(--theme-color2);
    color: white;
}

.logo {
    display: flex;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.row {
    margin: 0;
}

.form-label {
    font-weight: bold;
    color: var(--theme-color)
}

.form-group {
    margin: 0.5rem 0;
}

.form-control {
    border-radius: 4px;
}

.form-check-input:focus,
.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field:focus,
.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection,
.form-control:focus {
    box-shadow: none !important;
    border-color: var(--theme-color2) !important;
    background-color: white;

}

.form-check-input:checked {
    background-color: var(--theme-color) !important;
    ;
    border-color: var(--theme-color) !important;
}

.select2-container--bootstrap-5 .select2-dropdown {
    border-color: var(--theme-color) !important;
}

.w-95 {
    width: 95%;
}

.w-limit {
    max-width: 1500px;
}

.w-fit {
    width: fit-content !important;
}

.h-0 {
    height: 0;
}

.min-h-100 {
    min-height: 100%;
}

.bg-theme {
    background-color: var(--theme-color) !important;
}

.bg-theme-dark {
    background-color: var(--theme-color) !important;
}

.bg-theme-light {
    background-color: var(--theme-color-light) !important;
}

.bg-theme2 {
    background-color: var(--theme-color2) !important;
}

.text-theme {
    color: var(--theme-color) !important;
}

.text-theme2 {
    color: var(--theme-color2) !important;
}

.text-theme3 {
    color: var(--theme-color3) !important;
}


.text-theme-dark {
    color: var(--theme-color) !important;
}

.text-theme-light {
    color: var(--theme-color-light) !important;
}

.selected {
    background-color: var(--theme-color-dark) !important;
}

.of-contain {
    object-fit: contain;
}

.of-cover {
    object-fit: cover;
}

.space-y {
    margin: 10px 0;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.5)
}

.border-theme {
    border-color: var(--theme-color) !important;
}

.border-theme2 {
    border-color: var(--theme-color2) !important;
}

.border-theme3 {
    border-color: var(--theme-color3) !important;
}

.border-theme-width {
    border-width: 8px !important;
}


.no-wrap {
    white-space: nowrap;
}

.hide {
    display: none;
}

.container {
    max-width: 2000px !important;
}

.transition {
    transition: all 0.3s;
}

.no-select {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}



.hide-spin::-webkit-outer-spin-button,
.hide-spin::-webkit-inner-spin-button {
    display: none;
}

.clamp1,
.clamp2,
.clamp3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.clamp1 {
    -webkit-line-clamp: 1;
}

.clamp2 {
    -webkit-line-clamp: 2;
}


.pointer {
    cursor: pointer;
}

.zoom {
    cursor: zoom-in;
}

.grab {
    cursor: grab;
}

.bg-dark-transparent {
    background-color: rgba(0, 0, 0, 0.733);
}

.z-1 {
    z-index: 1;
}

.z-2 {
    z-index: 2;
}

.z-3 {
    z-index: 3;
}

.z-4 {
    z-index: 4;
}

.z-5 {
    z-index: 5;
}

.z-10 {
    z-index: 10;
}

.z-99 {
    z-index: 99;
}

.z-999 {
    z-index: 999;
}

.z-9999 {
    z-index: 9999;
}

.gradiant-bottom {
    background-image: linear-gradient(0deg, #000, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
}

.gradiant-top {
    background-image: linear-gradient(0deg, #0d0d0d00, rgba(0, 0, 0, 0.7), rgb(0, 0, 0));
}


@keyframes shimmer {
    100% {
        -webkit-mask-position: left
    }
}


.shake {
    animation: shake 0.82s cubic-bezier(.36, .07, .19, .97) both;
}

.paragraph p,
.paragraph {
    font-family: sans-serif !important;
    line-height: 1.7
}

.center,
.center-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.center-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.dark-layer {
    background-color: #0000004d;
}

.rounded-theme {
    border-radius: 25px;
    overflow: hidden !important;
}


.text-justify {
    text-align: justify;
}

.fs-7 {
    font-size: 14px;
}




*::placeholder {
    color: #a4acad !important;
}

.radio-selected {
    background-color: var(--theme-color) !important;
    color: white !important;
}

.hover-splash:hover {
    background-color: rgb(165 165 165 / 20%) !important;
}

.hover-shadow {
    transition: box-shadow 0.5s;
}

.hover-shadow:hover {
    box-shadow: 0 1rem 3rem rgb(0 0 0 / 18%) !important;
}

.hover-scale {
    transition: transform 0.5s;
}

.hover-scale:hover {
    transform: scale(1.1);
}

.hover-slide-up {
    transition: transform 0.5s;
}

.hover-slide-up:hover {
    transform: translateY(-20px);
}

.hover-underline-animation {
    display: inline-block;
    position: relative;
}

.hover-underline-animation::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px !important;
    bottom: 0;
    background-color: var(--theme-color);
    transition: all 0.25s ease-out;
}

.hover-underline-animation:hover::before {
    width: 100%;
}

.hover-bg-theme:hover {
    background-color: var(--theme-color) !important;
    color: white !important;

}

.hover-bg-theme:hover span {
    color: white !important;
}

.hover-text-theme:hover {
    color: var(--theme-color) !important;
}

.hover-text-theme2:hover {
    color: var(--theme-color2) !important;
}

.hover-border-bottom {
    border-bottom: 3px solid transparent !important;
    transition: all 0.3s;
}

.hover-border-bottom:hover {
    border-bottom-color: var(--theme-color) !important;
}

.hover-shimmer:hover,
.shimmer {
    -webkit-mask: linear-gradient(-60deg, #000 30%, #0005, #000 70%) right/300% 100%;
    background-repeat: no-repeat;
    animation: shimmer 2.5s infinite;
}

.hover-shimmer:hover {
    animation: shimmer 0.7s forwards;
}

.loader {
    height: 5px;
    background-color: black;
    width: 40%;
    border-radius: 20px;
    animation: 0.8s loader_animation linear infinite;
}


.splide__arrows {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    position: absolute;
    top: -48px;
    width: 98%;
}

.splide__arrow--prev,
.splide__arrow--next {
    position: relative !important;
    left: unset !important;
    right: unset !important;
    border: 1px solid #BDBDBD !important;
    background-color: white !important;
}

.splide__pagination {
    margin-top: 40px !important;
    position: relative !important;
}

.splide__pagination__page {
    background: #10A7E0 !important;
}

[data-invalid-input] {
    border-color: red !important;
}

[data-invalid-message] {
    font-weight: bold;
    font-size: 0.8rem;
    color: red !important;
}

.floating {
    animation: floating 0.5s infinite alternate;
}

@keyframes floating {
    0% {
        transform: translateY(5px)
    }

    100% {
        transform: translateY(0px)
    }
}

.htmx-indicator {
    display: none
}

.htmx-request.htmx-indicator {
    display: flex
}

.hover-filter-color {
    filter: grayscale(100%);
    transition: all 0.3s;
}

.hover-filter-color:hover {
    filter: grayscale(0%);
}