@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

:root {
    --bg: #171715;
    --cl: #e4f80c;
    --ff: #fff;
    --cc: #68624e;
    --bl: #000;
    --bs-border-width: 2px;
}

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

@font-face {
    font-family: "Mont";
    src: url("../fonts/mont_regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Mont";
    src: url("../fonts/mont_bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

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

img,
video {
    width: 100%;
}

body {
    overflow: hidden;
    overflow-y: auto;
}

.bi::before,
[class*=" bi-"]::before,
[class^="bi-"]::before {
    line-height: 0 !important;
}

.container {
    max-width: 1280px;
    margin: auto;
}

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

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

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

.gradient-text {
    background: linear-gradient(90deg, #e4f80c 0%, #869207 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

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

body.lang_ar {
    font-family: "Mont", 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;
}

.form-control::placeholder {
    color: var(--ff) !important;
}

#contact_us .form-control::placeholder {
    color: var(--cc) !important;
}

#contact_us .form-control:focus {
    box-shadow: none !important;
    border-color: var(--bl) !important;
}

#contact_us textarea {
    height: 60px;
}

section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 10px;
    max-width: 1280px;
    margin: auto;
    overflow: hidden;
    overflow-y: auto;
}

.section-height {
    min-height: 75vh;
}

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

.hasVerifiedEmail {
    width: 100%;
    height: 100%;
    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;
}

.button_send {
    background-color: var(--cl);
    color: var(--bg);
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    width: 100%;
    cursor: pointer;
    padding: 10px 30px;
}

.button_send:disabled,
.button_send:hover {
    opacity: 0.5;
}

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

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

.disabled {
    pointer-events: none;
    opacity: 0.3;
}

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(--bg);
    --bs-table-active-bg: var(--cl);
}

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

    input::placeholder {
        color: var(--bl) !important;
    }

    .click_eye {
        cursor: pointer;
    }

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

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

.rental_cars_form input::placeholder {
    color: var(--bl) !important;
}

body.lang_ar .login {
    direction: rtl;
}

.input-group {
    border-radius: var(--bs-border-radius-sm);
    overflow: hidden;
}

.input-group-text,
.input-group input {
    border-radius: 0 !important;
}

input:focus,
textarea:focus,
select:focus {
    box-shadow: none !important;
}

.card .card-img-top {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.logo {
    max-width: 80px;
    margin: 0;
}

.active>.page-link,
.page-link.active {
    background-color: var(--bg) !important;
    border-color: var(--bg) !important;
}

.unicode-bidi {
    direction: ltr;
    unicode-bidi: embed;
}

@media screen and (max-width: 475px) {
    .card {
        font-size: 80%;
    }
}

.slick-prev {
    left: 0 !important;
    z-index: 2;
}

[dir="rtl"] .slick-prev {
    right: 0 !important;
    left: auto !important;
}

.slick-next {
    right: 0 !important;
    z-index: 2;
}

[dir="rtl"] .slick-next {
    left: 0 !important;
    right: auto !important;
}

.slick-prev:before,
.slick-next:before {
    color: var(--cl);
}

.car-images-slider .slick-prev:before,
.car-images-slider .slick-next:before {
    color: var(--bg);
}

body.lang_ar .modal-header .btn-close,
body.lang_ar .offcanvas-header .btn-close {
    margin: 0 auto 0 0;
}

.size-option input[type="radio"] {
    display: none;
}

.size-option.active {
    background-color: var(--cl);
    color: var(--ff);
    border-color: var(--bl);
}

.size-option {
    cursor: pointer;
}

.size-option:hover {
    background-color: var(--cl);
}

body.lang_ar .search input,
body.lang_ar .card_product {
    direction: rtl;
}

.card_product:hover img {
    transform: scale(1.1);
}

.card_product .card_product_img {
    overflow: hidden;
}

.slick-track {
    margin-left: 0;
    margin-right: 0;
    height: 100%;
}

#handle_navbar_scroll .navbar_logo_site {
    max-width: 130px;
}

#handle_navbar_scroll.bg-transparent button,
#handle_navbar_scroll.bg-transparent a {
    text-transform: uppercase;
    color: var(--ff);
}

#handle_navbar_scroll .nav-link,
.categories-brands a {
    position: relative;
}

#handle_navbar_scroll .nav-link.active {
    font-weight: 500;
}

.categories-brands a.active::after,
#handle_navbar_scroll .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background-color: var(--cl);
}

#handle_navbar_scroll.bg-dark button,
#handle_navbar_scroll.bg-dark a {
    text-transform: uppercase;
    color: var(--ff);
}

.list-style-one li {
    position: relative;
    font-size: 16px;
    line-height: 26px;
    color: var(--cc);
    font-weight: 400;
    margin-bottom: 12px;
    display: flex;
    gap: 5px;
}

.long-description table {
    width: 100%;
    direction: ltr;
    font-size: 12px;
}

.long-description tr {
    text-transform: uppercase;
}

body.lang_ar .number_ar {
    direction: ltr;
    unicode-bidi: embed;
}

.home_stores {
    box-shadow: 0 -5px 5px #000;
    top: -3rem;
}

.special-price-section {
    background: url("../images/special-img.webp") center/cover no-repeat;
    position: relative;
}

.special-price-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.slick-dots li {
    width: 12px !important;
    height: 12px !important;
}

.slick-dots li button {
    padding: 0 !important;
    border: 1px solid var(--ff);
    border-radius: 50%;
    width: 12px !important;
    height: 12px !important;
    background: #0000007a;
}

.slick-dots li button:before {
    color: transparent !important;
}

.slick-dots li.slick-active button {
    background: var(--cl) !important;
    width: 10px !important;
    height: 10px !important;
}

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

table td {
    max-width: 200px;
}

.categories_home img {
    transition: all 5s ease-in-out;
}

.categories_home img:hover {
    transform: scale(1.5);
}

#handle_navbar_scroll .dropdown-menu {
    font-weight: 100 !important;
    font-size: 80% !important;
}

#handle_navbar_scroll .nav-item.dropdown:hover>.dropdown-menu {
    display: block;
}

#handle_navbar_scroll .dropdown-submenu {
    position: relative;
}

#handle_navbar_scroll .dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

#handle_navbar_scroll .dropdown-submenu:hover .dropdown-menu {
    display: block;
}

#handle_navbar_scroll .dropdown-submenu .dropdown-toggle::after {
    transform: rotate(-90deg);
}

body.lang_ar #handle_navbar_scroll .dropdown-submenu .dropdown-toggle::after {
    transform: rotate(90deg) !important;
}

body.lang_ar .dropdown-toggle::after {
    margin-left: 0 !important;
    margin-right: 0.255em !important;
}

body.lang_ar #handle_navbar_scroll .dropdown-submenu .dropdown-menu {
    left: auto !important;
    right: 100%;
    text-align: right;
}

#services img {
    width: 60px;
}

footer .home_pages a {
    color: var(--cc);
}

footer .nav-item {
    font-size: 12px;
}

footer .logo_footer {
    max-width: 150px;
}

.about_site {
    height: 509px;
}

.about_site_hero {
    height: 70vh;
    border-radius: 50px;
    max-height: 575px;
    background-position-x: center !important;
    background-position-y: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1%;
    padding: 1%;
}

.max-width-1280 {
    max-width: 1280px;
    margin: auto;
}

.max-width-950 {
    max-width: 950px;
    margin: auto;
}

.phone-error {
    font-size: 10px;
}

.title_description {
    color: var(--ff);
    font-size: 25px;
    z-index: 1;
}

small.why_us_small {
    display: flex;
    max-width: 75%;
    text-align: justify;
}

#navbarAuth a {
    color: var(--ff);
}

.our_services_p {
    font-size: 20px;
}

.image-preview .img_file_preview:not(:first-child):hover {
    cursor: all-scroll;
}

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

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

.img_file_preview:not(:first-of-type) input {
    cursor: grab !important;
}

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

.img_file_preview img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    object-fit: cover;
    padding: 5px;
    overflow: hidden;
}

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

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

.image-preview {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.image-preview label {
    cursor: pointer;
}

.image-preview .remove-image,
.image-preview .remove-file {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    cursor: pointer;
    z-index: 9;

    &:hover {
        transform: scale(1.5);
        opacity: 0.7;
    }
}

.image-preview label.remove-image {
    background: transparent;
    top: 0;
    right: 0;
}

.image-preview .img_file_preview {
    border: 1px solid var(--cl);
    background: #111;
}

.featured_image:hover img {
    transform: scale(1.1);
}

.categories-slider .slick-track {
    display: flex !important;
    align-items: center;
}

.btn-check:checked+.color-option {
    box-shadow: 0 0 2px 2px var(--cl) !important;
    transform: translateY(-3px);
}

input::placeholder {
    color: var(--bl) !important;
}

img.white-filter {
    filter: brightness(0) invert(1);
}

.filter-bar {
    border-radius: 50px;
}

.filter-bar select:focus,
.filter-bar input:focus {
    box-shadow: none !important;
}

body.lang_en .filter-bar .col {
    border-right: 1px solid var(--cc);
}

body.lang_ar .filter-bar .col {
    border-left: 1px solid var(--cc);
}

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

.form_advanced_filter_button {
    background: linear-gradient(180deg, #E4F80C 0%, #869207 100%) !important;
    aspect-ratio: 1 / 1;
    height: 100%;
    max-height: 50px;
}

.flatpickr_div {
    max-width: 175px;
}

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

body.lang_ar .phone_div_ar {
    flex-direction: row-reverse;
}

body.lang_ar .phone_div_ar input {
    text-align: left;
}

.flatpickr_div label {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: pointer;
}

.flatpickr_div input {
    font-size: 11px;
}

@media screen and (max-width: 768px) {

    .card-text:last-child,
    .font-size-custom,
    .cta-section .btn,
    table,
    body,
    .btn,
    p,
    .navbar-toggler {
        font-size: 80%;
    }

    .container-fluid {
        flex-direction: column;
        gap: 10px;
    }

    .navbar-nav {
        gap: 10px;
        flex-wrap: wrap;
    }

    section {
        width: 95%;
    }

    .navbar_all_button {
        margin-left: 0;
        width: 100%;
    }

    footer .container .row {
        text-align: center;
    }

    footer .container .row .logo {
        margin: auto;
    }

    footer .nav-item {
        font-size: 10px;
    }

    footer .navbar-nav {
        gap: 1rem;
    }

    .special-img {
        max-width: 90%;
    }

    .mobile-center {
        text-align: center;
        margin: auto;
    }

    footer .navbar-nav {
        gap: 1rem;
    }

    #services img {
        width: 30px;
    }

    footer .logo_footer {
        max-width: 100px;
    }

    #handle_navbar_scroll .offcanvas a {
        color: var(--ff) !important;
    }

    .title_description {
        font-size: 13px;
    }

    .why_us {
        margin-top: 20px;
    }

    small.why_us_small {
        max-width: 100%;
    }

    .our_services_p {
        font-size: 13px;
    }

    .col_form_select {
        min-width: 100px !important;
    }

    .about_site {
        height: 254px;
    }

    .about_site_hero {
        border-radius: 20px;
    }

    .filter-bar {
        border-radius: 30px;
    }

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

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

    .form_advanced_filter {
        font-size: 10px !important;
        max-width: 50px !important;
        padding: 0 ! important;
    }

    .form_advanced_filter.form-select {
        background-image: none ! important;
    }
}