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

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

@font-face {
    font-family: 'Swissra';
    src: url('../fonts/Swissra-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

:root {
    --bg: #66674c;
    --cl: #a6a58e;
    --cl2: #494938;
    --cl3: #2f3122;
    --ff: #fff;
    --cc: #ccc;
}

*,
*::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(--cl2);
}

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

img,
video {
    width: 100%;
}

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

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

body.lang_ar {
    font-family: 'Swissra', sans-serif;
}

.container {
    max-width: 1280px;
    margin: 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(--bg);
}

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

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

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

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

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

    direction: ltr;
}

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

.text-custom2 {
    color: var(--cl2);
}

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

.form-control.border-custom {
    border-color: var(--cl2);
}

.login {
    width: 100%;
    max-width: 500px;
    margin: auto;
    padding: 10px;

    .click_eye {
        cursor: pointer;
    }

    .btn {
        background: var(--cl);
        color: var(--ff);

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

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

.main {
    max-width: 1440px;
    margin: auto;
}

.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(--cl);
    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 .navbar-toggler hr {
    border-color: var(--cl);
    opacity: 1;
}

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

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

.bg-custom-cl-package {
    background: var(--cl);
    color: var(--cl3);
}

.bg-custom-cl {
    background: var(--cl);
    color: var(--ff);

    &:hover {
        background: var(--cl);
        opacity: 0.7;
    }
}

a.nav-link.active {
    border-bottom: 1px solid var(--ff);
}

nav .offcanvas {
    background-color: var(--bg) !important;
    color: var(--ff);
}

.custom-header-section {
    min-height: 70vh;
    background: url("../images/header.webp") center center no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-header-section .image-section {
    max-width: 375px;
    z-index: 0;
}

.custom-header-section .text-section {
    z-index: 1;
}

body.lang_ar .custom-header-section .header-text {
    direction: rtl !important;
}

.custom-about-section {
    min-height: 70vh;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image .about-image-1 {
    max-width: 90%;
}

.about-image .about-image-2 {
    max-width: 40%;
}

body.lang_en .about-image .about-image-2 {
    transform: translateX(-40%);
    animation: enAboutImage2 20s infinite linear;
}

@keyframes enAboutImage2 {
    from {
        transform: translateX(-40%) rotate(0deg);
    }

    to {
        transform: translateX(-40%) rotate(360deg);
    }
}

body.lang_ar .about-image .about-image-2 {
    transform: translateX(40%);
    animation: arAboutImage2 20s infinite linear;
}

.swiper {
    width: 80%;
    height: 100%;
}

.swiper-button-next,
.swiper-button-prev {
    width: 25px;
    height: 25px;
    background: var(--cl);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 14px;
    line-height: 0;
    color: var(--cl2);
}

.div_myGallerySwiper {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.myGallerySwiper::before,
.myGallerySwiper::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 15%;
    height: 110%;
    background: var(--bg);
    transform: translateY(-50%);
    z-index: 9;
}

.myGallerySwiper::after {
    left: -15%;
}

.myGallerySwiper::before {
    right: -15%;
}

.div_myGallerySwiper .swiper {
    overflow: visible !important;
}

.myGallerySwiper .swiper-slide {
    transition: all 0.5s linear;
    max-width: 50%;
    z-index: 1;
    opacity: 0.7;
}

.myGallerySwiper .swiper-slide.swiper-slide-active {
    transform: scale(1.1);
    z-index: 3;
    opacity: 1;
}

@keyframes arAboutImage2 {
    from {
        transform: translateX(40%) rotate(0deg);
    }

    to {
        transform: translateX(40%) rotate(360deg);
    }
}

.custom-services-section {
    background: url("../images/services.webp") center center no-repeat;
    background-size: cover;
}

.div_myServicesSwiper p span.small {
    font-size: 11px;
}

.cursor-pointer {
    cursor: pointer;
}

.service_card .service_card_img,
.package_card .card-img {
    max-width: 300px;
    max-height: 375px;
    overflow: hidden;
}

.package_card_6 .card-img {
    max-width: 100% !important;
}

@media (min-width: 768px) {
    .custom-header-section .header-logo span {
        position: absolute;
        bottom: 0;
        white-space: nowrap;
        transform: translateX(-15%);
    }

    .custom-header-section .header-image img {
        transform: translateX(-10%);
    }

    footer .footer_text {
        max-width: 60%;
    }

    footer .footer_logo {
        max-width: 15%;
    }

    .div_myGallerySwiper {
        max-width: 80%;
        margin: 0 auto;
    }

    .div_myServicesSwiper .swiper {
        width: 80%;
    }
}

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

    .custom-header-section .header-image img {
        max-width: 50% !important;
    }

    .custom-header-section .text-section {
        padding-top: 20%;
    }

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

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

    .about-image .about-image-1 {
        max-width: 75%;
    }

    footer .footer_text {
        text-align: center;
    }

    footer .footer_logo {
        max-width: 30%;
    }

    .div_myGallerySwiper {
        max-width: 100%;
        margin: 0 auto;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 20px;
        height: 20px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 11px;
    }
}