@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

:root {
    --bg: #2a514e;
    --cl: #111;
    --ff: #fff;
    --cc: #ccc;
    --bs-dark: #2a514e;
}


*,
*::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(--bl);
}

::-webkit-scrollbar-thumb {
    background: var(--cl);
    border-radius: 20px;
}

img,
video {
    width: 100%;
}

body {
    overflow: hidden;
    overflow-y: auto;
    max-width: 1280px;
    margin: auto;
}

.bg-dark,
.text-bg-dark {
    background: var(--bg) !important;
}

.nav-link {
    color: var(--ff);
}

body.lang_ar {
    direction: rtl;
    font-family: "Cairo", sans-serif;
}

body.lang_en {
    direction: ltr;
    font-family: "Rubik", 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;
}

section {
    min-height: 75vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 10px;
    max-width: 1280px;
    margin: auto;
    overflow: hidden;
    overflow-y: auto;
}

.alert {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    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;
}

.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(--cl);
    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(--cl);
    --bs-table-active-bg: var(--cl);
    --bs-table-hover-bg: var(--cl);
}

.login {
    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 .login {
    direction: rtl;
}

body.lang_en .login .input-group,
body.lang_ar .login .input-group {
    flex-direction: row-reverse;
}


.card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    background: #2a514e53;
}

.card .card-img-top {
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.slick-slide img {
    object-fit: contain;
}

.slick-initialized .slick-slide {
    display: flex !important;
}
.slick-initialized .slick-slide {
    margin: 10px;
}

.all_product .slick-initialized .slick-slide {
    aspect-ratio: 1 / 1;
}

.logo {
    display: flex;
    max-width: 150px;
    max-height: 50px;
    margin: 0;
}

@media screen and (max-width: 475px) {
    .card {
        font-size: 80%;
    }
}


.slider_item,
.slider_home {
    direction: ltr;
}

.slick-prev:before,
.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;
}

.thumbnail-slider .slick-slide.slick-current img {
    border: 2px solid var(--cl);
    transform: translateY(-5px);
    border-radius: 5px;
    aspect-ratio: 1 / 1;
}

.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);
}

.navbar_all_button {
    margin-left: 20px;
}

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;
}

.slider_home,
.slider_home .slick-list,
.slider_home .slick-slide img,
.slider_home .slick-slide {
    height: 75vh !important;
    max-height: 800px;
}

.slider_home {
    height: 100%;
    margin-bottom: 40px !important;
}

.slider_home .slick-list {
    height: 100%;
}

.slider_home .slick-slide {
    margin: 0;
    height: 100%;
}

.slider_home .slick-slide img {
    height: 100%;
    object-fit: cover;
}

.slider_home .slick-next {
    right: 0;
    z-index: 2;
    width: auto;
    height: auto;
}

.slider_home .slick-prev {
    left: 0;
    z-index: 2;
    width: auto;
    height: auto;
}

.slider_home .slick-prev:before,
.slider_home .slick-next:before {
    font-size: 30px;
}


.sec-title {
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}

.sec-title .title {
    position: relative;
    display: block;
    font-size: 18px;
    line-height: 24px;
    color: var(--bg);
    font-weight: 500;
    margin-bottom: 15px;
}

.sec-title h2 {
    position: relative;
    display: block;
    font-size: 40px;
    color: var(--bg);
    font-weight: 600;
    padding-bottom: 18px;
}

.sec-title h2:before {
    position: absolute;
    content: '';
    left: 0px;
    bottom: 0px;
    width: 50px;
    height: 3px;
    background-color: var(--bg);
}

.sec-title .text {
    position: relative;
    font-size: 16px;
    line-height: 26px;
    color: var(--cc);
    font-weight: 400;
    margin-top: 35px;
}

.sec-title.light h2 {
    color: var(--ff);
}

.sec-title.text-center h2:before {
    left: 50%;
    margin-left: -25px;
}

.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;
}

.about-section a {
    font-size: 20px;
}

.about-section a:hover {
    opacity: 0.7;
}

.about-section {
    position: relative;
    padding: 120px 0 70px;
    width: 100%;
}

.about-section .sec-title {
    margin-bottom: 45px;
}

.about-section .content-column .inner-column {
    position: relative;
    padding-left: 30px;
}

.lang_ar .about-section .content-column .inner-column {
    padding-left: 0;
    padding-right: 30px;
}

.about-section .text {
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 26px;
    color: var(--cc);
    font-weight: 400;
}

.about-section .list-style-one {
    margin-bottom: 45px;
}

.about-section .image-column {
    position: relative;
}

.about-section .image-column .text-layer {
    position: absolute;
    right: -110px;
    top: 50%;
    font-size: 325px;
    line-height: 1em;
    color: var(--ff);
    margin-top: -175px;
    font-weight: 500;
}

.about-section .image-column .inner-column {
    position: relative;
    padding-left: 130px;
    padding-bottom: 60px;
    height: 85%;
}

.about-section .image-column .inner-column img {
    height: 100%;
    object-fit: cover;
}

.lang_ar .about-section .image-column .inner-column {
    padding-left: 0;
    padding-right: 130px;
}

.about-section .image-column .inner-column:before {
    content: "";
    position: absolute;
    left: -50px;
    top: 65px;
    height: 420px;
    width: 420px;
    background-image: url("../images/about-circle-1.png");
    background-repeat: no-repeat;
}

.lang_ar .about-section .image-column .inner-column:before {
    left: auto;
    right: -50px;
    transform: rotateY(180deg);
}

.about-section .image-column .image-1 {
    position: relative;
    height: 100%;
    object-fit: cover;
}

.about-section .image-column .image-1 .lightbox-image {
    height: 100%;
}

.about-section .image-column .image-2 {
    position: absolute;
    left: 0;
    bottom: 0;
    max-width: 300px;
}

.lang_ar .about-section .image-column .image-2 {
    left: auto;
    right: 0;
}


.about-section .image-column .video-link {
    position: absolute;
    left: 70px;
    top: 170px;
}

.about-section .image-column .video-link .link {
    position: relative;
    display: block;
    font-size: 22px;
    color: var(--bg);
    font-weight: 400;
    text-align: center;
    height: 100px;
    width: 100px;
    line-height: 100px;
    background-color: var(--ff);
    border-radius: 50%;
    box-shadow: 0 30px 50px var(--bg);
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.about-section .image-column .video-link .link:hover {
    background-color: var(--bg);
    color: var(--ff);
}

.lang_ar .sec-title h2:before {
    left: auto;
    right: 0;
}

.home_categories .square-image,
.home_categories .wide-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.home_categories {
    margin-top: 70px;
    padding: 0 5%;
}

.home_categories .row a {
    padding: 2px;
    position: relative;
    overflow: hidden;
}

.home_categories .row a::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    background: #2a514e53;
}

.home_categories .row a:hover img {
    transform: scale(1.2);
}

.home_categories .card-title {
    position: absolute;
    bottom: 5%;
    left: 5%;
    color: var(--ff);
    z-index: 2;
    direction: ltr;
}

.lang_ar .home_categories .card-title {
    left: auto;
    right: 5%;
    direction: rtl;
}

.long-description table {
    width: 100%;
    direction: ltr;
    font-size: 12px;
}

.long-description tr {
    text-transform: uppercase;
}

@media screen and (max-width: 768px) {
    .about-section {
        position: relative;
        padding: 60px 0 35px;
        overflow: hidden;
    }

    .card-text:last-child {
        font-size: 80%;
    }

    .container-fluid {
        flex-direction: column;
        gap: 10px;
    }

    .navbar-nav {
        gap: 10px;
        flex-wrap: wrap;
    }

    .cta-section .btn {
        font-size: 80%;
    }

    section {
        width: 95%;
    }

    .navbar_all_button {
        margin-left: 0;
        width: 100%;
    }

    table {
        font-size: 75%;
    }

    footer .container .row {
        text-align: center;
    }

    footer .container .row .logo {
        margin: auto;
    }

    .about-section .content-column .inner-column {
        padding-left: 0;
    }

    .about-section .image-column .inner-column {
        padding-left: 50px;
        padding-bottom: 50px;
    }

    .about-section .image-column .inner-column:before {
        height: 100em;
        left: 0;
    }

    .div_about_service {
        max-width: 90%;
        margin: auto;
    }

    .home_categories .square-image,
    .home_categories .wide-image {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    .about-section .image-column .image-2 {
        max-width: 200px;
    }
}
