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

/* Arabic Fonts - GraphikArabic */
@font-face {
    font-family: 'ArbFONTS';
    src: url('../../webfonts/arab fonts/GraphikArabic-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'ArbFONTS';
    src: url('../../webfonts/arab fonts/GraphikArabic-Extralight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'ArbFONTS';
    src: url('../../webfonts/arab fonts/GraphikArabic-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'ArbFONTS';
    src: url('../../webfonts/arab fonts/GraphikArabic-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'ArbFONTS';
    src: url('../../webfonts/arab fonts/GraphikArabic-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'ArbFONTS';
    src: url('../../webfonts/arab fonts/GraphikArabic-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'ArbFONTS';
    src: url('../../webfonts/arab fonts/GraphikArabic-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'ArbFONTS';
    src: url('../../webfonts/arab fonts/GraphikArabic-Super.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'ArbFONTS';
    src: url('../../webfonts/arab fonts/GraphikArabic-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

/* English Fonts - Poppins */
@font-face {
    font-family: 'En_Fonts';
    src: url('../../webfonts/en fonts/Poppins-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'En_Fonts';
    src: url('../../webfonts/en fonts/Poppins-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'En_Fonts';
    src: url('../../webfonts/en fonts/Poppins-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'En_Fonts';
    src: url('../../webfonts/en fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'En_Fonts';
    src: url('../../webfonts/en fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'En_Fonts';
    src: url('../../webfonts/en fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'En_Fonts';
    src: url('../../webfonts/en fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'En_Fonts';
    src: url('../../webfonts/en fonts/Poppins-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'En_Fonts';
    src: url('../../webfonts/en fonts/Poppins-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

.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 {

}

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


.fixed_profile {
    position: fixed;
    bottom: 50%;
        inset-inline-start: 15px;

    z-index: 9999;
}


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

    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: 1rem;
    font-weight: 600;
    padding: 10px 30px;
    /* 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: 1rem;
    font-weight: 600;
    padding: 10px 30px;
    /* 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: 3.5rem;
    color: #015ba9;
}

.color_head {
    color: #383838;

}

.num {
    color: #FF9D00;
}

.par {
    color: #585858CC;
    font-size: 16px;
}

.hero-par {
    color:#ffffff ;
    font-size: 1.2rem;
}
.par-sec:lang(en) {
    font-size: 1.1rem !important;
}
.par-sec {
    color: #585858CF;
    font-size: 1.2rem;
}

/* 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: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/cta.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    height: 625px;
    padding-top: 10% !important;
    border-radius: 32px;
    background-position: center;
}

.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: #0000006e;
    position: absolute;
    height: 100%;
    top: 0;
    border-radius: 32px;

}

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

.text_main {
    color: #015AAA;
}

.span_text {
    color: #383838;
    font-size: 1.26rem;
    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-size: 15px;
}

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

.product-img {
aspect-ratio: 2 / 1.5;
    object-fit: cover;
}

.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: 3;
    display: -webkit-box;
    overflow-y: clip;
    -webkit-box-orient: vertical;
    
}

.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: 100%;
    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 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 0rem 0.25rem rgb(157 157 157 / 10%);
    border-radius: 28px;
}

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



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

.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 */
}

/* Floating Profile Button */
.position-fixed.btn_glopal {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 999;
    border-radius: 50px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--main), #0277BD);
    border: none;
    color: var(--white);
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(1, 91, 169, 0.3);
    transition: all 0.3s ease;
    animation: pulse-shadow 2s ease-in-out infinite;
}

.position-fixed.btn_glopal:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(1, 91, 169, 0.4);
    background: linear-gradient(135deg, #0277BD, var(--main));
    color: var(--white);
}

.position-fixed.btn_glopal i {
    font-size: 18px;
}

@keyframes pulse-shadow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(1, 91, 169, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(1, 91, 169, 0.5);
    }
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .position-fixed.btn_glopal {
        padding: 10px 15px !important;
        left: 10px !important;
        bottom: 10px !important;
    }
    
    .position-fixed.btn_glopal i {
        font-size: 20px;
    }
}