:root{
    --primaryColor:#000200;
    --middleColor:#41464c;

    --helperColor:#4bb064;
    --lightHelper:#e9e6e6 ;
    --hrColor:#b49a43;
    --transparentColor:rgba(0, 0, 0, 0.589);
    --shadow:rgba(189, 188, 188, 0.514);
   /* --------------------------------- */
    --whatsappColor:#25D366;
    --white:#ffff;
    --blue: #1877F2;
    --green: #25D366;
    --gray:  #f8f8f8;
  }

.toggle-submenu {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--primaryColor);
}
.has-submenu.has-submenu-open .dropdown-menu {
    display: block;
}

  
  #top-bar.sticky {
    position: fixed;
    top: 0px;
    z-index: 999;
    width: 100%;
    margin: auto;
    box-shadow: 0px 20px 30px rgba(128, 128, 128, 0.493); 
    background-color: var(--white);

}
  

nav{
   
    background-color: var(--white);
    box-shadow: 0px 20px 30px rgba(128, 128, 128, 0.493); 
    position: sticky;
    z-index: 999;

        padding-top: 0px;
      
}

.navigation {
   background-color: var(--white);
    height: auto;
    color: var(--primaryColor);
    box-shadow: 0px 20px 30px rgba(128, 128, 128, 0.493); 
    display: flex;
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    padding:8px 0px;
    border-radius: 0px 0px 10px 10px;
    transition: all 0.5s ease;
    z-index: 999;
    /* position: sticky;
    top: 0px;
    width: 100%; */

}

.navigation-container {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center; 
    gap: 20px;
}

.logo img {
       
    height: 58px;
}
.pages{
    display: flex;
    flex-direction: row;
    gap: 30px;
    transition: right 0.3s ease-in-out;
}
.pages a {
    text-decoration: none;
    color: var(--primaryColor);
    font-weight: bold;
}

.company-name {
    font-size: 20px;
    font-weight: bold;
    color: var(--primaryColor);
}
/* ----------- div that contain the dropdown ------------------ */

.dropdown {
    
    position: relative;
    display: inline-block;
   
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
   background-color:var(--white);
   color: var(--primaryColor); 
    list-style: none;
    padding: 0;
    margin: 0;
    width: 220px;
    display: none; 
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(128, 128, 128, 0.356);
    text-align: start;
    z-index: 9999;

}
.dropdown-menu li{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0px 20px;
}
.dropdown-menu li a { 
    padding: 10px;
    /* padding to increase its own height . using height directly doesnot affect on it */
    text-decoration: none;
    transition: 0.3s ease-in;
}

.dropdown-menu li :last-child{
 margin-bottom: 10px;
}


.pages.is-open {
    right: 0;
    visibility: visible;
    display: flex;
}
  
.menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color:var(--brown) ;
}

.close-container {
    margin-top: 10px;
    margin-left: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--brown);
    background-color: transparent;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
    align-self: flex-end;
}


.close-btn {
    font-size: 40px;  
    font-weight: bold;
    color: var(--brown);
}

/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */

@media (max-width: 992px) {

    .navigation {
        justify-content: space-between;
       
margin: 0px;
    }
    .pages {
        display: none;
        flex-direction: column;
        gap: 30px;
        text-align: start;  


        right: -270px;
        position: fixed;
        top: 0px;


        width: 270px;
        height: 100vh;

        background-color: var(--white);
        box-shadow: 0px 20px 30px rgba(0, 0, 0, 0.8); 
        padding: 20px;

        overflow-y: auto;
        box-sizing: border-box;
        scrollbar-width: none; 
        transition: right 0.3s ease-in-out; 
        z-index:999; 
       
    }

    .navigation .pages.is-open .close-container{
        display: flex;
        right: 0;
    }

    .menu-btn {
        display: block;       
    }

    .pages::-webkit-scrollbar {
        display: none;
    }
    
    
    .dropdown-menu {
        width: 100%;
    }

    .dropdown-menu li a{
        border-bottom: 1px solid transparent;
        border-image: linear-gradient(135deg, var(--helperColor), var(--middleColor)) 1;
    }

    .logo img {
       
       /* width:50% ; */
        height: 55px;
    }

    .company-name {
       display: none;
    }
}