@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --color-primary: #2c2d74;
    --color-secondary: #141d45;
    --color-accent: #7f133b;
    --color-text-dark: #2c2d74;
    --color-text-light: #384260;
    --ff: #fff;
    --border-width: 2px;

    --fs-h1: 65px;
    --fs-h1-mobile: 30px;
    --fs-p: 12px;
    --fs-p-mobile: 10px;

    --header-height: 100vh;
    --width-custom: 12%;
    --width-custom-mobile: 25%;
    --arrow-size: 75px;
    --icon-size: 75px;
}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    outline: 0;
    border: none;
    text-decoration: none !important;
    list-style: none;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: var(--ff);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 20px;
}

img {
    width: 100%;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
}

video {
    width: 100%;
}

body[dir="ltr"] {
    font-family: "Inter", sans-serif;
}

body[dir="rtl"] {
    font-family: "Alexandria", sans-serif;
}

body {
    background-color: var(--color-primary);
    overflow: hidden;
    overflow-y: auto;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.alert {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999999;
    max-width: 280px;
}

.hasVerifiedEmail {
    width: 100%;
    height: 100%;
    min-height: 80vh;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
    text-align: center;
    gap: 10px;
    color: var(--bs-danger);
    font-weight: bold;
}

textarea {
    resize: none;
    height: 150px;
}

.table-active {
    --bs-table-color-state: var(--ff);
    --bs-table-bg-state: var(--color-primary);
}

.table {
    --bs-table-border-color: var(--color-primary);
    --bs-table-striped-bg: var(--color-primary);
    --bs-table-active-bg: var(--color-accent);
    --bs-table-hover-bg: var(--color-accent);
}

.pagination {
    --bs-pagination-color: var(--ff);
    --bs-pagination-bg: var(--color-primary);
    --bs-pagination-border-width: 1px;
    --bs-pagination-border-color: var(--color-accent);
    --bs-pagination-border-radius: 0.375rem;

    --bs-pagination-hover-color: var(--ff);
    --bs-pagination-hover-bg: var(--color-accent);
    --bs-pagination-hover-border-color: var(--color-accent);

    --bs-pagination-focus-color: var(--ff);
    --bs-pagination-focus-bg: var(--color-accent);
    --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(166, 165, 142, 0.25);

    --bs-pagination-active-color: var(--ff);
    --bs-pagination-active-bg: var(--color-accent);
    --bs-pagination-active-border-color: var(--color-accent);

    --bs-pagination-disabled-color: var(--color-accent);
    --bs-pagination-disabled-bg: var(--color-primary);
    --bs-pagination-disabled-border-color: var(--color-accent);

    direction: ltr;
}

body.lang_ar .dropdown-item {
    text-align: right;
}

body.lang_en .dropdown-item {
    text-align: left;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--color-accent) !important;
}

.dropdown-item:focus,
.dropdown-item:hover {
    color: var(--ff) !important;
    background-color: var(--color-accent) !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--color-accent) !important;
}

.swiper-pagination-bullet-active {
    background-color: var(--color-accent) !important;
}

.text-custom-cl {
    color: var(--color-accent) !important;
}

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

.nav-item {
    width: fit-content;
}

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

.style_title {
    font-family: sansita-one, sans-serif;
    border-bottom: 1px solid var(--ff);
    width: fit-content;
}

.border-bg {
    border: 1px solid var(--color-primary) !important;
}

.border-bg:hover {
    background: var(--color-primary) !important;
    color: var(--ff) !important;
}

.border-cl-3 {
    border: 3px solid var(--color-accent) !important;
}

[id*="_ar"] {
    direction: rtl;
}

.arrow-red_services {
    bottom: -50%;
    left: 5%;
    max-width: 40px;
    height: auto;
}

.login {
    width: 100%;
    max-width: 500px;
    margin: auto;
    background: var(--color-primary);
    color: var(--ff);
    padding: 15px;
    border-radius: 10px;

    .click_eye {
        cursor: pointer;
    }

    .input-group {
        background: var(--color-secondary);
    }

    .form-control,
    .form-select,
    .input-group-text {
        background: var(--color-secondary);
        border: 0 !important;
        color: var(--ff);
        border-radius: 0 !important;
    }

    .form-control:focus,
    .form-select:focus {
        box-shadow: none;
        border: 0 !important;
    }

    .form-control::placeholder,
    .form-select::placeholder {
        color: var(--ff);
    }

    .btn {
        background: var(--color-secondary);
        color: var(--ff);
        border: 0 !important;
        border-radius: 0 !important;

        &:hover {
            opacity: 0.7 !important;
        }
    }
}

body.lang_ar .input-group-ar {
    flex-direction: row-reverse !important;
}

body.lang_ar .unicode-bidi {
    direction: ltr;
    unicode-bidi: embed;
    width: fit-content;
}

.section_main {
    min-height: 75vh;
    display: flex;
}

.img_blog {
    position: relative;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 50%;
}

.img_blog input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    cursor: pointer;
}

.img_blog input[type="file"] {
    border: 0;
    border-radius: 0;
    padding: 0;
    margin-top: 0;
}

.img_blog img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 5px;
    border-radius: 50%;
}

.img_blog .upload {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 30px;
    height: 30px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    padding: 5px;
    cursor: pointer;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.img_blog .upload:hover {
    opacity: 0.7;
}

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

.bg-custom-cl {
    background: var(--color-accent) !important;
}


.cursor-pointer {
    cursor: pointer;
}

.form-control:focus {
    box-shadow: none !important;
}

.company_intro {
    max-width: 380px;
    text-align: justify;
}

.navbar-nav .nav-link.active {
    color: var(--color-accent) !important;
}

.see_more i {
    padding: 5px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background: #324a76;
    color: var(--ff);
    transition: all 0.3s ease-in-out;
}

.corner-triangle-bottom {
    bottom: 0;
    left: 0;
    min-width: 150px;
    max-height: 80px;
    width: 12%;
    height: 9%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.corner-triangle-bottom::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 100%;
    max-width: 115px;
    width: 75%;
    height: 100%;
    background-color: var(--color-primary);
    clip-path: polygon(0 0, 100% 100%, 0 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 10px;
}

.corner-triangle-top {
    top: 0;
    left: 0;
    max-width: 440px;
    max-height: 115px;
    width: 38%;
    height: 20%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.corner-triangle-top::after {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    max-width: 155px;
    width: 35%;
    height: 100%;
    background-color: var(--color-primary);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 10px;
}

.achievement-circle {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    overflow: hidden;
}

.achievement-circle::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 8px;
    background: conic-gradient(from 230deg,
            #89abce,
            transparent 270deg 360deg,
            #89abce 270deg);
    -webkit-mask: radial-gradient(farthest-side,
            transparent calc(100% - 8px),
            white 0);
    mask: radial-gradient(farthest-side, transparent calc(100% - 8px), white 0);
    transition: opacity 1s ease-in-out;
    opacity: 0;
    z-index: 0;
}

.achievement-circle.animated::before {
    opacity: 1;
}

.achievement-circle .counter,
.achievement-circle .plus {
    position: relative;
    z-index: 1;
}

body.lang_ar .arrow-red_services,
body.lang_ar .arrow-what_makes_us {
    transform: rotateY(180deg);
}

.border-services {
    width: 1px;
    height: 75%;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    z-index: 99;
}

.services-circle_1 {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    top: 12.5%;
    right: 4px;
    transform: translate(50%, -50%);
    z-index: 99;
}

i.bi {
    line-height: 1;
}

.services-circle_2 {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    bottom: 12.5%;
    right: 4px;
    transform: translate(50%, 50%);
    z-index: 99;
}

body.lang_ar .border-services {
    right: auto;
    left: 0;
    transform: translateY(-50%);
}

body.lang_ar .services-circle_1 {
    right: auto;
    left: 0;
    transform: translate(-50%, -50%);
}

body.lang_ar .services-circle_2 {
    right: auto;
    left: 0;
    transform: translate(-50%, 50%);
}

.corner_our_vision {
    left: 0;
    max-height: 183px;
    width: 33%;
    height: 32%;
    background: var(--color-primary);
    border-top-right-radius: 30px;
    z-index: 1;
    overflow: hidden;
}

.corner_our_vision::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-top-right-radius: 30px;
    border-top: 0.5rem solid var(--ff);
    border-right: 0.5rem solid var(--ff);
    z-index: -1;
}

.p_h1_vision {
    top: 0;
    transform: translateY(-100%);
    z-index: 5;
}

body.lang_ar .about_top_image {
    transform: rotateY(180deg);
}

.about_top_text_img {
    max-width: 15%;
    aspect-ratio: 1 / 1;
    right: 0;
    transform: translate(20%, -70%);
}

.values_absolute {
    top: 5px;
    width: 2px;
    left: 15%;
    max-height: 90%;
}

.values_absolute::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-accent);
    transform: translate(-50%, -50%);
}

.values_absolute::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-accent);
    transform: translateX(-50%);
}

body.lang_ar .values_absolute {
    left: auto;
    right: 15%;
}

body.lang_ar .offcanvas-header .btn-close {
    margin: calc(-.5 * var(--bs-offcanvas-padding-y)) auto calc(-.5 * var(--bs-offcanvas-padding-x)) calc(-.5 * var(--bs-offcanvas-padding-y)) !important;
}

body.lang_ar .modal-header .btn-close {
    margin: calc(-.5 * var(--bs-modal-header-padding-y)) auto calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) !important;
}

/* ========== Backgrounds ========== */
.size-arrow {
    width: var(--arrow-size);
    height: var(--arrow-size);
}

.bg-custom-primary {
    background: var(--color-primary);
}

.bg-custom {
    background: var(--color-secondary);
}

/* ========== Typography ========== */
.text-custom {
    color: var(--color-secondary);
}

.adrress-custom {
    color: var(--color-accent);
}


/* ========== Borders ========== */
.custom-border-all {
    border: var(--border-width) solid var(--color-primary);
}

.custom-border-accent {
    border: var(--border-width) solid var(--color-accent);
}

.custom-border {
    border-bottom: var(--border-width) solid var(--color-primary);
}

.w-h {
    width: 30px;
    height: 30px;
}


/* ========== Font Sizes ========== */
.fs-h1-custom {
    font-size: var(--fs-h1);
    font-weight: 700;
}

.fs-p-custom {
    font-size: var(--fs-p);
    font-weight: 400;
}

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

/* ========== Widths & Icons ========== */
.custom-width {
    width: var(--width-custom);
}

.Custom-right-left {
    left: 9%;
}

body.lang_en .Custom-right {
    left: 9%;
    transform: translateX(-50%);
}

body.lang_ar .Custom-right {
    right: -6%;
    transform: rotateY(180deg);
}

.custom-width-icons {
    width: inherit;
}

.custom-icons {
    aspect-ratio: 1/1;
    height: 100%;
}

.h-custom-400 {

    height: 400px !important;
}

.img-cover {
    object-fit: cover;

}

/* ========== Positioning ========== */
body.lang_en .Custom-arrow {
    transform: translateX(-30%);
}

body.lang_ar .Custom-arrow {
    transform: translateX(30%);
}

.custom-left {
    left: 91% !important;
}

.w-25 {
    width: 25% !important;
}

.w-18 {
    width: 19% !important;
}

.k {
    display: flex;
    justify-content: center;
    align-items: center;
    height: var(--header-height);
    padding: 10px;
}



.Custom-arrow-header {
    top: 165px !important;
    left: -44px !important;
}


.custom-h {
    height: -webkit-fill-available;
}

.custom-width30 {
    width: 30px !important;
}

.w-h75 {
    width: 70px;
    height: 70px;
    aspect-ratio: 1 / 1;
}

.w-h90 {
    width: 90px;
    height: 90px;
    aspect-ratio: 1 / 1;
}


/* ========== Notch Box (Clip Path) ========== */
body.lang_en .notch-box {
    -webkit-mask: radial-gradient(circle 45px at calc(100% - calc(-30px/2)) 50%,
            transparent 100%,
            #000 105%);
    mask: radial-gradient(circle 45px at calc(100% - calc(-30px/2)) 50%,
            transparent 100%,
            #000 105%);
}

body.lang_ar .notch-box {
    -webkit-mask: radial-gradient(circle 45px at calc(0% + calc(-30px/2)) 50%,
            transparent 100%,
            #000 105%);
    mask: radial-gradient(circle 45px at calc(0% + calc(-30px/2)) 50%,
            transparent 100%,
            #000 105%);
}

.custom-width-arroe-header {
    width: 50% !important;
}

.object-position-top {
    object-position: top;
}

.form-control:active,
.form-control:focus {
    box-shadow: none !important;
}

.navbar-toggler {
    padding: 5px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    aspect-ratio: 1 / 1;
    display: flex;
}

.navbar.bg-transparent {
    background-color: #ffffff50 !important;
}

.navbar.bg-transparent .nav-link {
    font-weight: bold;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-toggler .navbar-toggler-icon {
    width: 1em;
    height: 1em;
}

.aspect-ratio-1-1 {
    aspect-ratio: 1 / 1;
}

.aspect-ratio-16-9 {
    aspect-ratio: 16 / 9;
}

.page_header_div {
    min-height: 300px;
}

.custom-font-9-all {
    font-size: 9px !important;
}

.custom-font-11-all {
    font-size: 11px !important;
}

.dropdown-menu {
    min-width: 250px !important;
}

.dropdown-item {
    white-space: normal;
}

.div-view-member img {
    transition: all 0.5s ease-in-out;
}

.div-view-member:hover {
    transform: translateY(-15px);
    border-bottom: 1px solid var(--ff);
}

.div-view-member:hover img {
    transform: scale(1.3);
}

.animation-scaleLoop {
    animation: scaleLoop 75s ease-in-out infinite;
    will-change: transform;
    transform-origin: center center;
}

@keyframes scaleLoop {

    0% {
        transform: scale(1) translateX(0) translateY(0);
    }

    10% {
        transform: scale(1.3) translateX(0) translateY(0);
    }

    15% {
        transform: scale(1.4) translateX(6%) translateY(-4%);
    }

    20% {
        transform: scale(1.5) translateX(-7%) translateY(-5%);
    }

    25% {
        transform: scale(1.35) translateX(8%) translateY(6%);
    }

    30% {
        transform: scale(1.7) translateX(-8%) translateY(6%);
    }

    35% {
        transform: scale(1.8) translateX(9%) translateY(-6%);
    }

    40% {
        transform: scale(1.7) translateX(-9%) translateY(-7%);
    }

    45% {
        transform: scale(1.95) translateX(10%) translateY(7%);
    }

    50% {
        transform: scale(2) translateX(0) translateY(0);
    }

    55% {
        transform: scale(1.95) translateX(-10%) translateY(-7%);
    }

    60% {
        transform: scale(1.9) translateX(9%) translateY(6%);
    }

    65% {
        transform: scale(1.8) translateX(-9%) translateY(6%);
    }

    70% {
        transform: scale(1.9) translateX(8%) translateY(-5%);
    }

    75% {
        transform: scale(1.6) translateX(-8%) translateY(-4%);
    }

    80% {
        transform: scale(1.5) translateX(7%) translateY(5%);
    }

    85% {
        transform: scale(1.7) translateX(-6%) translateY(4%);
    }

    90% {
        transform: scale(1.3) translateX(0) translateY(0);
    }

    100% {
        transform: scale(1) translateX(0) translateY(0);
    }
}

@media (min-width: 900px) and (max-width: 1200px) {
    .custom-font-lg-11 {
        font-size: 11px !important;
    }
}

@media (min-width: 770px) {
    .w-md-50 {
        width: 50% !important;
    }
}

@media (max-width: 768px) {
    .custom-font-sm {
        font-size: 80% !important;
    }

    .custom-font-11 {
        font-size: 11px !important;
    }

    .custom-font-16 {
        font-size: 16px !important;
    }

    .corner-triangle {
        width: 100px;
        height: 50px;
        padding: 5px;
    }

    .corner-triangle::after {
        width: 80px;
        height: 50px;
        padding: 5px;
    }

    .achievement-circle {
        width: 80px;
        height: 80px;
        font-size: 20px;
    }

    .corner_our_vision,
    .corner_our_vision::before {
        border-top-right-radius: 14px;
    }

    .values_absolute {
        left: 5%;
    }

    body.lang_ar .values_absolute {
        left: auto;
        right: 5%;
    }

    .arrow-red_services {
        display: none;
    }

    .custom-width {
        width: var(--width-custom-mobile);
    }

    .fs-h1-custom {
        font-size: var(--fs-h1-mobile);
        font-weight: 500;
    }

    .fs-p-custom {
        font-size: var(--fs-p-mobile);
        font-weight: 300;
    }

    .custom-w {
        width: 12%;
    }

    .custom-width-arroe-header {
        width: 15% !important;
    }

    .w-h75 {
        width: 55px;
        height: 55px;
    }

    body.lang_ar .Custom-arrow {
        transform: translateX(40%);
    }

    .w-h-res {
        width: 70px !important;
        height: 70px !important;
    }

    .custom-mx {
        max-width: 90% !important;
    }

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

    .h-custom-400 {
        height: 250px !important;
    }

    .w-h {
        width: 15px;
        height: 15px;
        font-size: 10px !important;
    }

    .fs-md-16 {
        font-size: 16px !important;
    }

    .fs-md-10 {
        font-size: 10px !important;
    }

    .w-h90 {
        width: 45px;
        height: 45px;
    }

    .m-md-auto-center {
        margin: auto !important;
    }

    .gap_sm_0 {
        gap: 0 !important;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 15px !important;
    }
}