:root {
    --main: #015BA9;
    --sec: #E9F3FF;
    --text: #383838;
    --white: #fff;
    --black: #000;
    --animation: 2s ease-in-out infinite;
}

@font-face {
    font-family: 'ArbFONTS';
    src: url('../../webfonts/arab fonts/ArbFONTS-GE-SS-Two-Light_28.otf') format('opentype');
}


@font-face {
    font-family: 'En_Fonts';
    src: url('../../webfonts/en fonts/ClashDisplay_Complete/Fonts/TTF/ClashDisplay-Variable.ttf') format('opentype');
}

.d-contents {
    display: contents;
}

body:lang(ar):not(i),
*:lang(ar):not(i) {
    direction: rtl;
    font-family: 'ArbFONTS';
}

body:lang(en):not(i),
*:lang(en):not(i) {
    font-family: 'En_Fonts';
}

button,
a {
    font-family: 'ArbFONTS';
}

/*
body:not(i),
*:not(i),
button,
a {
    font-family: 'ArbFONTS';
} */

body {
    background-image: url('../../images/bg.svg');
    background-size: cover;
    /* background-color: rgba(246, 246, 246, 1); */
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

main {
    overflow: hidden;
    position: relative;
}

/*navbar*/

.navbar {
    background-color: var(--white);
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); */
    position: fixed;
    width: 100%;
    top: 10px;
    left: 0;
    transform: translateY(-10px);
    transition: all 0.6s ease;
    z-index: 4;
}

.navbar-nav .nav-link {
    color: #383838;
    font-weight: 500;
    margin: 0 1px;
}

.navbar-nav .nav-link:hover {
    color: var(--main);
}


.lang-switcher {
    /* border: 1px solid #FEEEC4; */
    background-color: transparent;
    color: var(--main);
    border-radius: 6px;
    list-style: none;

}

.dropdown-menu[data-bs-popper] {
    top: 130%;

}

.navbar-brand img {
    max-height: 43px;
    /* background-color: #fff; */
}

.lang-switcher .dropdown-menu {
    text-align: unset;

    left: unset;
    border-radius: 14px;
    color: #ffffff;
    background: var(--main);
}

.lang-switcher .dropdown-menu .dropdown-item {
    color: var(--white);
    font-weight: 500;

}

.lang-switcher .dropdown-item.active,
.lang-switcher .dropdown-item:focus,
.lang-switcher .dropdown-item:hover {
    background-color: unset;

}

.lang-switcher .dropdown-item:lang(ar) {
        display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    justify-content: end;
}

.lang-switcher .dropdown-item:lang(en) {
    display: flex;
    /* flex-direction: row-reverse; */
    align-items: center;
    gap: 8px;

    justify-content: flex-end;
}

.dropdown-item.active,
.dropdown-item:focus,
.dropdown-item:hover {
    background-color: #f6f6f6;
    border-radius: 14px;

}

.products_dropdown {
    background-color: var(--sec);
}

.products_dropdown .dropdown-item {
    color: var(--main);
}

.products_dropdown .dropdown-item i {
    font-size: 8px;
}

.products_dropdown .dropdown-item.active,
.products_dropdown .dropdown-item:focus,
.products_dropdown .dropdown-item:hover {
    color: var(--main);
}
.product_category{
    display: none;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: var(--main);
    font-weight: 700;
}

.g-recaptcha {
    display: inline-block;
}

.full-width-dropdown {
    max-height: 50vh;
    overflow: auto;
    position: absolute;
    left: 0;
    width: 100vw;
    /* Full viewport width */
    top: 81%;
    display: none;
    /* Hide by default */
    background-color: white;
    /* Optional: Background color */
    z-index: 1000;
    /* Ensure it appears on top */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}


.nav-item.dropdown:hover .full-width-dropdown {
    display: block;
}

/* .nav-item.dropdown:hover .dropdown-menu {
    display: block;
} */

.navbar-toggler {
    background-color: #fff;
}

.dropdown-menu:lang(ar) {
    text-align: right;
    left: unset;
}

.arrows_left {
    font-size: 12px;
    color: var(--main);
    padding-right: 3px;
    transform: scaleX(-1);

}

.arrows_left:lang(ar) {
    padding-left: 3px;
    padding-right: unset;
    transform: scaleX(1);

}

.full-width-dropdown .head_after {
    color: rgba(59, 61, 76, 1) !important;
}

@media only screen and (min-width: 1000px) and (max-width: 1470px) {

    .navbar-nav .nav-link,
    .btn-gold {
        font-size: 10px;
    }
}



@media (max-width: 900px) {
    .nav-item.dropdown:hover .full-width-dropdown {
        display: none;
    }

    .nav-item.dropdown:hover .dropdown-menu {
        display: none;


    }

    .dropdown-menu.show {
        display: block !important;
    }
}

/*navbar*/

.fixed_buttons {
    position: fixed;
    bottom: 20px;
    right: 10px;

    z-index: 9999;
}

.btn_up {
    position: fixed;
    bottom: 20px;
    left: 10px;

    z-index: 9999;

}

.btn_chat,
.btn_up button {
    width: 40px;
    height: 40px;
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    background-color: var(--main);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--main);

}

.btn_chat:hover {
    background-color: #fff;
    color: var(--main);
    border: 2px solid var(--main);
}

.btn_whats {
    width: 40px;
    height: 40px;
    color: var(--white);
    background-color: #0ec143;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #0ec143;
}

.btn_whats:hover {
    background-color: #fff;
    color: rgba(59, 61, 76, 1);
    border: 2px solid rgba(59, 61, 76, 1);

}

/* certficate */
.certificates-section h2 {
    font-size: 2rem;
    color: #222;
}

.section-desc {
    color: #555;
    max-width: 700px;
    margin: auto;
    line-height: 1.5;
}

.certificate-card {
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 29%);
}

.certificate-card img {
    transition: transform 0.4s ease-in-out;
}

.certificate-card:hover img {
    transform: scale(1.05);
}

.btn-primary {
    background-color: #015AAA;
    border: none;
    border-radius: 15px;
}

.btn-primary:hover {
    background-color: #015AAA;
}

/* clients */


.partners-section h2 {
    font-size: 3rem;
    color: #222;
}

.section-desc {
    color: #555;
    max-width: 700px;
    margin: auto;
    line-height: 1.5;
    font-size: 1.3rem;
}

.partner-logo {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-height: 70px;
    object-fit: contain;
}

.partner-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/*btns_glopal*/
.btn_glopal {

    background-color: var(--main);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    /* transition: all .5s ease; */

}

.btn_glopal:hover {
    background-color: var(--main);
    color: #fff;
}

.btn2_glopal {

    background-color: var(--sec);
    color: var(--main);
    border-radius: 8px;
    font-size: 14px;
    /* transition: all .5s ease; */


}

.btn2_glopal:hover {
    background-color: var(--sec);
    color: var(--main);
}

.grid {
    /* width: 300px;
  height: 300px; */
    background-color: white;
    background-image:
        linear-gradient(to right, #f1f1f15c 2px, transparent 2px),
        linear-gradient(to bottom, #f1f1f15c 2px, transparent 2px);
    background-size: 60px 73px;
    position: relative;
}

.head {
    font-weight: 900;
    font-size: 3rem;
    color: #383838;
}

.color_head {
    color: #383838;

}

.num {
    color: #FF9D00;
}

.par {
    color: #555;
    font-size: 1.1rem;
}


/* form */
.contact-form {
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #D2D6DB;
    overflow: hidden;
}

.form-control {
    border-radius: 24px;
    border: 1px solid #F8F8F8;
    background-color: #F8F8F8;
    padding: 14px 10px 10px 10px;
}

.btn-submit {
    background: var(--main);
    color: var(--white);
    padding: 9px 80px;
    border-radius: 8px;
    border: none;
    transition: all .5s ease;
}
.btn-submit:disabled{
        background: #015ba996;

}
.btn-submit:hover {
    background-color: var(--main);
    color: var(--white);
}

.label-style {
    color: #015AAA;
}

.form-select {
    border-radius: 24px;
    border: 1px solid #F8F8F8;
    background-color: #F8F8F8;
    padding: 14px 10px 10px 10px;
}

select:lang(ar) {
    background-position: left .75rem center !important;
}

/*contact_help*/
.contact_help {
    background-image: url('../../images/choose_product.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.text_white {
    color: var(--white);
}

.contact_help_head {
    font-weight: 1000;
    font-size: 2.9rem;
    line-height: 135%;
}

.layer {
    left: 0;
    width: 100%;
    background-color: #00000038;
    position: absolute;
    height: 100%;
    top: 0;


}

/*about_us*/
.about_us {
    background-color: #E9F3FF;
}

.text_main {
    color: #015AAA;
}

.span_text {
    color: #383838;
    font-size: 1.5rem;
    font-weight: 900;
}



/*footer*/
.footer {
    background-color: var(--main);
    color: var(--white);
}

.footer a {
    color: var(--white);

}

.footer.grid {
    background-image: linear-gradient(to right, #f1f1f114 2px, transparent 2px), linear-gradient(to bottom, #f1f1f112 2px, transparent 2px) !important;
}

.footer_link {
      /* font-weight: 100; */
    font-size: 13px;
    /* line-height: 120%;
    font-family: sans-serif !important; */
}

/*products*/
.product_card {
    background-color: #fff;
    border-radius: 16px;
}

.icon_start i {
    color: #FF9D00;
}

.product_head {
    -webkit-line-clamp: 1;
    display: -webkit-box;
    overflow-y: clip;
    -webkit-box-orient: vertical;
}

.product_desc {
    -webkit-line-clamp: 4;
    display: -webkit-box;
    overflow-y: clip;
    -webkit-box-orient: vertical;
    height: 112px;
}

.categories-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 100%;
}

.nav-btn {
    background: var(--sec);
    color: var(--main);
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: background 0.3s;
}
.head_profile{
color: var(--main);
}
.nav-btn:hover {
    background: #eee;
}

.hidden {
    display: none;
}

.categories-container {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    flex: 1;
    /* justify-content: center; */
}

.categories-container::-webkit-scrollbar {
    display: none;
}

.category {
    white-space: nowrap;
    background: #f1f1f1;
    padding: 8px 16px;
    margin-left: 8px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
    flex-shrink: 0;
    color: #6F7376;
}

.category:hover {
    background: #e0e0e0;
}

.category.active {
    background: var(--sec);
    color: var(--main);
}

.page-link {
    color: #6F7376;
    border: 0;
    font-family: auto !important;
    font-size: 1rem;
    border-radius: 8px !important;

    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
}
.disabled>.page-link, .page-link.disabled{
    color: var(--main);
        background-color: unset;
    /* border-color: var(--bs-pagination-disabled-border-color); */
}

.page-link:focus {

    color: var(--white);
    background-color: var(--main);
    box-shadow: unset;
    border-radius: 8px;
}

/* لو في مودال */
.modal-content img {
    max-height: 90vh;
    width: auto;
    margin: auto;
}

.partner-logo {
    max-height: 80px;
    object-fit: contain;
    display: block;
    margin: auto;
}


/* testimonials */
.testimonials .owl-stage-outer {
    display: grid;
}

.testimonials .owl-stage {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.testimonials .owl-carousel.owl-drag .owl-item {
    height: unset;
    background: #ffffff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 28px;
}

.testimonials .client_img {
    width: 50px !important;
}

.testimonials .client_name {
    color: var(--main) !important;
    font-weight: bold;
    height: 45px;
}

.testimonials .client_name {
    color: var(--main) !important;
    font-weight: bold;
    height: 45px;
}

.testimonials p {
    height: 37px;
}


.testimonial-text {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* عرض 3 سطور فقط */
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}



.show-more {
    color: var(--main);
    cursor: pointer;
    font-size: 14px;
    margin-top: 5px;
    display: inline-block;
}

/*btns_slider*/
.custom-nav {
    padding: 0 10px;
    pointer-events: none;
}

@media (max-width: 900px) {
    .custom-nav {
        z-index: 10;
        padding: 0 10px;
        pointer-events: none;
        display: none;
    }
}

.custom-nav .custom-prev,
.custom-nav .custom-prev1 {
    position: absolute;
    top: 47%;
    right: -3%;

}

.custom-nav .custom-next,
.custom-nav .custom-next2 {
    position: absolute;
    top: 47%;
    left: -3%;

}

.custom-nav button {
    border: none;
    padding: 7px 15px;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}



.custom-nav button:hover {
    transform: scale(1.1);
}

.custom-nav .custom-prev,
.custom-nav .custom-next {
    background-color: var(--main);
    color: #fff;
}

.custom-nav i {
    pointer-events: none;
}
.owl-stage-outer {
    direction: ltr !important;
}
/* testimonials */
.testimonials .owl-stage-outer {
    display: grid;
}

.testimonials .owl-stage {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.testimonials .owl-carousel.owl-drag .owl-item {
    height: 100%;
    background: #ffffff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 0.375rem;
}

.testimonials .owl-stage-outer {
    display: grid;
}

.testimonials .owl-stage {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.testimonials .owl-carousel.owl-drag .owl-item {
    height: unset;
    background: #ffffff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 28px;
}

.testimonials .client_img {
    width: 50px !important;
}

.testimonials .client_name {
    color: var(--main) !important;
    font-weight: bold;
    height: 45px;
}

.testimonials .client_name {
    color: var(--main) !important;
    font-weight: bold;
    height: 45px;
}

.testimonials p {
    height: 37px;
}


.testimonial-text {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* عرض 3 سطور فقط */
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}



.show-more {
    color: var(--main);
    cursor: pointer;
    font-size: 14px;
    margin-top: 5px;
    display: inline-block;
}
.read-more {
    display: none;
    color: var(--main);
    cursor: pointer;
    font-size: 0.9em;
    position: absolute;
    right: 10px;
    bottom: 10px;
}

.read-more:lang(en),
.read-more:lang(fr),
.read-more:lang(ru) {
    right: unset;
    left: 10px;

}

#pdf-wrapper {
  perspective: 1500px;
}

#pdf-render {
  transition: transform 0.8s ease, box-shadow 0.8s ease, opacity 0.8s ease;
  transform-origin: left center; /* flip like a book page */
}

