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

@font-face {
    font-family: 'Zattoya-Signature-Regular';
    src: url('../fonts/Zattoya-Signature-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

:root {
    --bg: #010e39;
    --cl: #dda50e;
    --cl2: #a3a3a3;
    --bl: #000;
    --ff: #fff;
    --cc: #d8d8d8;
    --ee: #eeeeee;
}

*,
*::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(--bl);
    border-radius: 20px;
}

img,
video {
    width: 100%;
}

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

body.lang_en {
    font-family: "Montserrat", sans-serif;
}

body.lang_ar {
    font-family: "Alexandria", sans-serif;
}

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;
}

.zattoya-signature-regular {
    color: var(--cc);
}

body.lang_en .zattoya-signature-regular {
    font-family: 'Zattoya-Signature-Regular', cursive;
}

body.lang_en .zattoya-signature-regular {
    font-size: 9em;
    transform: translateY(-25%);
}

body.lang_ar .zattoya-signature-regular {
    font-size: 2.2em;
    transform: translateY(-90%);
}

.lang_ar .mil-no-wrap {
    direction: ltr;
    unicode-bidi: embed;
    width: fit-content;
}

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

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

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

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

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

    --bs-pagination-focus-color: var(--ff);
    --bs-pagination-focus-bg: var(--cl);
    --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(--cl);
    --bs-pagination-active-border-color: var(--cl);

    --bs-pagination-disabled-color: var(--cc);
    --bs-pagination-disabled-bg: var(--bl);
    --bs-pagination-disabled-border-color: var(--cl);

    direction: ltr;
}

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

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

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

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

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

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

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

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

    .click_eye {
        cursor: pointer;
    }

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

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

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

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

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

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

.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(--bl);
    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;
}

.navbar_logo_site {
    max-width: 100px;
}

nav.bg-transparent {
    padding-top: 2%;
}

nav.bg-transparent .btn-outline-light {
    border-color: var(--bl) !important;
    color: var(--bl) !important;
}


nav .navbar-toggler hr {
    border-color: var(--bl);
    opacity: 1;
}

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

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

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

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

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

.cursor-pointer {
    cursor: pointer;
}

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

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

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

.header_date {
    display: flex;
    flex-direction: column;
    height: 80%;
    justify-content: space-between;
    align-items: center;
    padding: 2%;
}

body.lang_en .header_date {
    right: 0 !important;
}

body.lang_ar .header_date {
    left: 0 !important;
}

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

.header_date p {
    transform: rotate(-90deg);
    color: var(--cl2);
}

.header_date b {
    height: 85%;
    width: 1px;
    background: var(--bl);
    display: block;
}

.header_date i {
    font-size: 35px;
    color: var(--cl2);
}

.about-title {
    display: flex;
    flex-direction: column;
    width: fit-content;
}

.vision-year {
    font-size: 150px;
    background: linear-gradient(to bottom, #999, transparent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.lang_en .vision-year {
    text-align: right;
}

body.lang_ar .vision-year {
    text-align: left;
}

.vision-points {
    position: relative;
    bottom: 50px;
}

.mySwiperService .title_service .span_border {
    height: 1px;
    background: var(--bl);
    margin-right: 10px;
    margin-left: 10px;
}

.support1_idea_img {
    width: 50%;
    max-width: 150px;
    z-index: -1;
    opacity: 0.8;
}

.quote_idea_img_right,
.quote_idea_img_left {
    max-width: 55px;
    z-index: -1;
    opacity: 0.8;
}

body.lang_en .quote_idea_img_right {
    transform: translateX(-50%);
}

body.lang_en .quote_idea_img_left {
    transform: translateX(50%);
}

body.lang_ar .quote_idea_img_right {
    transform: translateX(50%);
}

body.lang_ar .quote_idea_img_left {
    transform: translateX(-50%);
}

.investment-wrapper {
    max-width: 900px;
    margin: auto;
}

.investment-row {
    position: relative;
    overflow: hidden;
}

.investment-row::before {
    content: "";
    position: absolute;
    top: 0;
    width: 88%;
    height: 80%;
    z-index: 0;
}

body.lang_en .even.investment-row::before {
    background: linear-gradient(to right, var(--cc) 0%, var(--ee) 100%);
    inset-inline-end: 0;
}

body.lang_en .odd.investment-row::before {
    background: linear-gradient(to left, var(--cc) 0%, var(--ee) 100%);
    inset-inline-start: 0;
}

body.lang_ar .even.investment-row::before {
    background: linear-gradient(to left, var(--cc) 0%, var(--ee) 100%);
    inset-inline-end: 0;
}

body.lang_ar .odd.investment-row::before {
    background: linear-gradient(to right, var(--cc) 0%, var(--ee) 100%);
    inset-inline-start: 0;
}

/* Inset V on the right (top-right + bottom-right), and mirror on the left */
/* EN */
body.lang_en .even .investment-image {
    /* right-side V */
    -webkit-clip-path: polygon(0 0, 70% 0, 100% 60%, 45% 100%, 45% 100%);
    clip-path: polygon(0 0, 70% 0, 100% 60%, 45% 100%, 45% 100%);
}

body.lang_en .odd .investment-image {
    /* left-side V (mirrored) */
    -webkit-clip-path: polygon(100% 0, 25% 0, 0 60%, 55% 100%, 55% 100%);
    clip-path: polygon(100% 0, 25% 0, 0 60%, 55% 100%, 55% 100%);
}


/* AR (reversed) */
body.lang_ar .even .investment-image {
    /* left-side V (mirrored) */
    -webkit-clip-path: polygon(100% 0, 25% 0, 0 60%, 55% 100%, 55% 100%);
    clip-path: polygon(100% 0, 25% 0, 0 60%, 55% 100%, 55% 100%);
}

body.lang_ar .odd .investment-image {
    /* right-side V */
    -webkit-clip-path: polygon(0 0, 70% 0, 100% 60%, 45% 100%, 45% 100%);
    clip-path: polygon(0 0, 70% 0, 100% 60%, 45% 100%, 45% 100%);
}


/* iOS/legacy fallback */
@supports not ((-webkit-clip-path: polygon(0 0, 70% 0, 100% 60%, 45% 100%, 45% 100%)) or (clip-path: polygon(0 0, 70% 0, 100% 60%, 45% 100%, 45% 100%))) {
    .investment-image {
        -webkit-clip-path: none;
        clip-path: none;
    }
}

.investment-bg {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 20px;
    background: transparent;
}

.investment-image {
    width: 25%;
    aspect-ratio: 1 / 1;
}


.investment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.investment-content {
    width: 75%;
    border-radius: 0;
}

.areas_description .dot_header {
    position: relative;
    z-index: -1;
    display: inline-block;
    background: var(--cl);
    width: 25px;
    height: 40px;
    transform: rotate(30deg) skewX(-30deg);
    pointer-events: none;
    vertical-align: middle;
}

/* slightly overlap into the text area */
.areas_description .dot_header:first-child {
    margin-inline-end: -2%;
}

.areas_description .dot_header:last-child {
    margin-inline-start: -4%;
}

body.lang_ar .areas_description .dot_header {
    transform: rotate(-30deg) skewX(30deg);
}

@media (min-width: 768px) {
    body.lang_en .border-link-1 {
        border-right: 1px solid var(--bl);
    }

    body.lang_ar .border-link-1 {
        border-left: 1px solid var(--bl);
    }

    li.nav-item {
        min-width: 140px;
        text-align: center;
    }
}

@media (min-width: 992px) {
    .subtitle_scope_work .map-container {
        max-height: 430px;
    }
}

@media (max-width: 768px) {
    a.navbar_logo_site_sm {
        max-width: 70px;
    }

    .font-size-sm {
        font-size: 80% !important;
    }

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

    .font-size-14 {
        font-size: 14px !important;
    }

    .header_date {
        display: none;
    }

    .mySwiperService .title_service .span_border {
        display: none;
    }

    .quote_idea_img_right,
    .quote_idea_img_left {
        max-width: 15px;
    }

    .support1_idea_img {
        width: 50%;
        max-width: 50px;
    }

    .vision-year {
        font-size: 110px;
    }

    .investment-bg {
        flex-direction: column-reverse !important;
    }

    .investment-image,
    .investment-content {
        width: 100%;
    }

    .investment-row::before {
        width: 100%;
    }

    .areas_description .dot_header {
        width: 13px;
        height: 20px;
    }

    .areas_description .dot_header:first-child {
        margin-inline-end: -2%;
    }

    .areas_description .dot_header:last-child {
        margin-inline-start: -3%;
    }

    .header_img {
        max-width: 75%;
    }
}