:root {
        --maincolor: #c8102eff;
    --textmain: #ffffff; /* color for text on main color background */
    --darkcolor: rgb(136, 11, 32);
    --lightcolor: rgb(249, 215, 220);
    --topbar: rgb(19, 16, 16); /* topbar background color */
    --white: #c8102eff;
    --main50: rgba(129, 9, 29, 0.146);
    --main0: rgba(200, 16, 47, 0.139);
    --footercolor: var(--topbar);
    --mega-menu-color: var(--topbar);
    --mega-menu-text-color: var(--lightcolor);
    --stickyNavbar: white;
    --footercolor: var(--topbar);
}
.text-special {
    color: #abc93fff !important;
}
.footercolor {
    background-color: var(--footercolor);
}
#topbar {
    background-color: var(--topbar);
    font-size: 12px;
    color: var(--lightcolor);
}
.topbaricon {
    color: var(--lightcolor);
}
.topbaricon:hover {
    color: var(--maincolor);
}
.navlink:hover {
    margin-top: -10px;
    transition: 0.1s;
    border-bottom: 2px solid var(--textmain);
}
#bottomnav {
    .mynav {
        border-color: var(--textmain) !important;
    }
    font-size: 10px;
    .active {
        border-style: none;
        background-color: var(--darkcolor);
        font-weight: bold;
        color: var(--lightcolor);
    }
}
#mainnavbar {
    .active {
        background-color: var(--darkcolor);
        font-weight: bold;
        color: var(--textmain);
    }
}
  #megaMenu{
            margin-top: -30px;
    }
    .sticky-menu  #megaMenu{
            margin-top: 0px;
    }
.sticky-menu {
    background-color: var(--stickyNavbar);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    font-size: 14px;
    transition: 0.5s;
    .activelink {
        color: var(--textmain);
        margin-bottom: -50px;
    }
   
    .active {
        color: red;
    }
    .logo {
               width: 80px;
        margin-top: -20px;
        margin-bottom: -30px;
        transition: 0.9s;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
            0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }
    a:hover {
        font-weight: bold;
    }
    a,
    button {
        font-size: 14px;
        transition: 0.1s;
    }
    #navbarbutton {
        background-color: white;
        color: var(--maincolor);
    }
    .navbar {
        padding: 5px;
        transition: 0.1s;
    }
}
.bgmain {
    background-color: var(--maincolor);
    color: var(--textmain) !important;
}
.bgmain-opacity-50 {
    background-color: var(--main50);
    color: white;
}
.bgmain-opacity-50:hover {
    background-color: var(--main0);
    color: white;
}
.bgdark {
    background-color: var(--darkcolor);
    color: white;
}
/* textColors */
.text-main {
    color: var(--maincolor);
}
.textlight {
    color: var(--lightcolor);
}
.textdark {
    color: var(--darkcolor);
}
@media screen and (max-width: 600px) {
    .vh-50 {
        min-height: 40vh;
    }
}
@media screen and (min-width: 601px) {
    .vh-50 {
        min-height: 75vh;
    }
}
/* 
.vh-50 {
  min-height: 100vh;
} */
.aboutsection {
    /* The image used */
    background-image: url("/images/aboutsection.webp");
    position: relative;
    /* top: -80px; */
    /* margin-top: -100px; */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.section5 {
    /* The image used */
    background-image: url("/images/section.webp");
    position: relative;
    /* top: -80px; */
    /* margin-top: -100px; */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.activebottomicon {
    background-color: var(--darkcolor);
}
.bottomicon:hover {
    background-color: var(--darkcolor);
    padding-bottom: 10px;
}
.activelink {
    color: var(--lightcolor);
    font-weight: bold;
    /* border-top:2px solid var(--lightcolor);   */
}
#navbarbutton {
    background-color: var(--maincolor);
    color: var(--textmain);
}
#navbarbutton:hover {
    background-color: var(--darkcolor);
    color: white;
}
.zoomarea {
    overflow: hidden;
}
.text-shadow {
    text-shadow: 2px 2px 8px #363636;
}
.secondarybtn {
    background-color: var(--lightcolor);
    color: white;
}
.secondarybtn:hover {
    background-color: var(--maincolor);
    color: white;
}
.mainbutton {
    background-color: var(--maincolor);
    color: var(--textmain);
}
.mainbutton:hover {
    background-color: var(--darkcolor);
    color: hsl(0, 0%, 100%);
}
.navbarbutton {
    border: 0px;
    background-color: white;
    padding: auto;
}
.navbarbutton:hover {
    border: 0px;
    font-weight: bold;
    color: var(--maincolor);
}
.svgicon {
    fill: blue;
    fill: rgb(29, 9, 207);
    /* background-color: red; */
    color: red;
}
#svg1 {
    fill: red;
    background-color: red;
    color: red;
}
.darkcolor {
    background-color: var(--darkcolor);
    color: white;
}
.lightmaincolor {
    color: var(--lightcolor);
}
.maincolor {
    color: white;
    background-color: var(--maincolor);
}
.bgmain {
    color: var(--textmain);
    background-color: var(--maincolor);
}
.maincolor:hover {
    color: var(--darkcolor);
}
.textmaincolor {
    color: var(--maincolor);
}
#project {
    background-image: url("/images/hp2.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.parallax-text {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
/*
#hero {
  background-image: url("/images/qasralmas/main.v1.webp");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}*/
.map {
    z-index: -1;
}
.parallax2 {
    /* The image used */
    background-image: url("/images/S1.webp");
    position: relative;
    /* top: -80px; */
    position: relative;
    z-index: -1;
    margin-bottom: -50px;
    margin-top: -50px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.trans {
    opacity: 1;
    animation: 1s ease-in both;
}
@keyframes fadeIn {
    from {
        transform: translate3d(0, -50%, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
#navbar {
    transition: 0.9s;
}
#navbar1 {
    transition: 0.9s;
}
.parallax-section {
    overflow-y: scroll;
    /* margin-top: -100px; */
    scroll-snap-type: y mandatory;
    background-image: url("/images/hp.jpg");
}
.reveal {
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 1s all ease;
}
.reveal.active {
    transform: translateY(0);
    opacity: 1;
}
.logo {
    width: 100px;
    transition: 0.9s;
}
.typeText::after {
    content: "|";
    animation: blink 1s infinite;
}
@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}
/* 
.typing-container {
  display: flex;
  justify-content: center;
  align-items: center;
  #feature-text {
    margin-left: 8px;
  }
  .input-cursor {
    display: inline-block;
    width: 2px;
    height: 42px;
    background-color: white;
    margin-left: 8px;
    animation: blink 0.6s linear infinite alternate;
  }
} */
.service-icon {
    font-size: 75px;
    color: rgb(24, 24, 24);
}
.imglarger {
    width: 100%;
}
.imglarger:hover {
    width: 125%;
}
#message {
    margin-bottom: -50px;
    margin-top: -50px;
    position: relative;
    z-index: -1;
    background-image: url(/images/zahal/main.v1.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
#company {
    position: relative;
    z-index: -1;
    background-image: url(/images/fan2.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}
#company1 {
    position: relative;
    z-index: -1;
    margin-top: -50px;
    margin-bottom: -50px;
    background-image: url(/images/dur/main.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.team {
    border-width: 5px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.5);
}
.team:hover {
    border-width: 10px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.5);
}
.companylast {
    position: relative;
    /* z-index: -1; */
    /* margin-top: -50px;
  margin-bottom: -50px; */
    background-image: url(/images/products.webp);
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
.contacthero {
    position: relative;
    background-image: url(/images/contact.webp);
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
.zoom {
    transition: 0.9s;
}
.zoom:hover {
    -ms-transform: scale(1.2);
    /* IE 9 */
    -webkit-transform: scale(1.2);
    /* Safari 3-8 */
    transform: scale(1.2);
}
.social-link {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    border-radius: 50%;
    transition: all 0.3s;
    font-size: 0.9rem;
}
.social-link:hover,
.social-link:focus {
    background: var(--darkcolor);
    text-decoration: none;
    color: black;
}
#hero {
    z-index: -1;
}
.parallax {
    background-image: url("/images/main.webp");
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
.parallax-mobile {
    background: url(/images/main.webp);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    position: relative;
}
.companylast-mobile {
    z-index: -1;
    margin-top: -50px;
    margin-bottom: -50px;
    background-image: url(/images/products.webp);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    position: relative;
}
.carousel_container {
    overflow: auto;
    display: flex;
    padding-bottom: 25px;
    scroll-snap-type: x mandatory;
}
.carousel_box {
    width: 80%;
    margin-right: 5%;
    margin-left: 5%;
    flex-shrink: 0;
    scroll-snap-align: start;
}
/* width */
::-webkit-scrollbar {
    width: 20px;
}
/* ::-webkit-scrollbar-track {
  background: var(--lightcolor);
} */
/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--maincolor);
    border-radius: 10px;
}
/* logos_carousel  */
@keyframes slides {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}
.logos {
    overflow: hidden;
    padding: 30px 0px;
    white-space: nowrap;
    position: relative;
}
.logo_items {
    display: inline-block;
    animation: 20s slides infinite linear;
}
.logos:hover .logo_items {
    animation-play-state: paused;
}
.logo_items img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin: 0px 15px;
}
/* #mycontnet {
  margin-top: 200px;
  margin-bottom: 100px;
} */
#pageheader {
    padding-top: 150px;
}
@media only screen and (max-width: 600px) {
    #pageheader {
        padding-top: 30px;
    }
}
@media screen and (max-width: 768px) {
    .video-background {
        margin-top: -100px;
    }
}
@media screen and (min-width: 768px) {
    .video-background {
        margin-top: -40px;
    }
}
.video-background {
    position: relative;
    width: 100%;
    height: 100vh; /* or your desired height */
    overflow: hidden;
    z-index: 0;
}
.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.content-overlay {
    position: relative;
    z-index: 2;
    /* Add padding, color, etc. */
}
/* Override Bootstrap dropdown active color to use main theme color */
.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:active {
    background-color: var(--maincolor) !important;
    /* Replace #c00 with your theme color */
    color: #fff !important;
}
/* Example: set --main-theme-color in your CSS or inline */
:root {
    --main-theme-color: var(--maincolor);
    /* Example theme color, change as needed */
}
html,
body {
    background-color: rgb(239, 239, 239);
    font-size: 14px; /* or your preferred smaller size */
}
#productTable_wrapper {
    direction: rtl;
    text-align: right;
}
#productTable_wrapper .dataTables_filter {
    float: left !important;
    text-align: left !important;
}
#productTable_wrapper .dataTables_paginate {
    float: right !important;
    text-align: right !important;
}
#productTable_wrapper .dataTables_length,
#productTable_wrapper .dataTables_info {
    text-align: right !important;
}
#productTable thead th {
    text-align: right !important;
    direction: rtl !important;
}
#productTable_wrapper .pagination .page-item.active .page-link {
    background-color: #d32f2f !important; /* Your main theme color */
    border-color: #d32f2f !important;
    color: #fff !important;
}
.fixed-mobile-logo {
    position: fixed;
    top: 0;
    /* right: 0; */
    /* For LTR, set right: 1rem; for RTL, set left: 1rem; Use separate classes in your HTML as needed */
    z-index: 1050;
    background: inherit;
}
[dir="ltr"] .fixed-mobile-logo {
    left: 1rem;
    right: auto;
}
[dir="rtl"] .fixed-mobile-logo {
    right: 1rem;
    left: auto;
}
.white-category-icon {
    filter: invert(1) brightness(100%);
}
/* product card hover */
.product-card {
    border: 2px solid transparent;
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.product-card:hover {
    border-color: var(--maincolor);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
button .mainbutton {
    transition: transform 0.9s ease;
}
.product-card .mainbutton img,
.mainbutton i {
    display: none;
    transition: transform 0.9s ease;
}
/* Move image to the end on hover */
.product-card:hover img,
.mainbutton:hover img,
.mainbutton:hover svg,
.mainbutton:hover i {
    display: inline;
}
.active > .page-link,
.page-link.active {
    z-index: 3;
    color: white;
    background-color: var(--maincolor);
    border-color: var(--maincolor);
}
.page-link {
    color: var(--maincolor);
}
.page-link:hover {
    color: var(--darkcolor);
    background-color: var(--lightcolor);
    border-color: var(--lightcolor);
}
#megaMenu {
    position: relative;
    z-index: 1 !important;
    background-color: var(--mega-menu-color);
    width: 100%;
    transition: all 0.6s ease-in-out;
    /* transform: translateY(-100%); */
    opacity: 0;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
#triangle {
    transition: all 0.6s ease-in-out;
}
/* Show animation - slide down */
#megaMenu.show {
    z-index: -1 !important;
    animation: slideDown 0.6s ease-in-out forwards;
}
/* Hide animation - slide up */
#megaMenu.hide {
    z-index: -1 !important;
    animation: slideUp 0.6s ease-in-out forwards;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-5%);
    }
}
#mainnavbar {
    z-index: 10 !important;
}
#subCategory:hover #subCategoryIcon {
    display: inline;
}
#subCategory #subCategoryIcon {
    display: none;
}
