
.crn-responsive-navbar {
    height: 60px;
    list-style: none;
    padding: 10px 0px; /* Adjusted padding for top and bottom to ensure space around the logo */
    margin: 0 ;
    display: flex;
    justify-content: space-around; /* This centers navbar items horizontally */
    align-items: center; /* This centers navbar items vertically */
    background-color: #076280; /* Updated background color */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.crn-menu-class {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start; /* Align items to the left */
    align-items: center; /* Ensure items are centered vertically within the navbar */
    background-color: #076280; /* Ensure uniform background color */
    width: 100%; /* Ensure it covers the full width for alignment */
    height: 100%; /* Ensure the height matches the navbar */
}

.crn-menu-class li a {
    display: block;
    color: white;
    text-align: start;
    padding: 0 10px; /* Adjust padding to maintain 40px height */
    height: 40px; /* Set item height */
    line-height: 40px; /* Set line height for vertical alignment */
    text-decoration: none;
    transition: background-color 0.3s; /* Smooth transition for hover effect */
    margin-right: 10px;
    border-radius: 10px;
}

.crn-menu-class li:last-child {
    margin-left: auto; /* Push the last item (Log Out) to the flex-end */
}

/* Font Awesome Icons within menu items */
.crn-menu-class li a .fa {
    margin-right: 5px; /* Adjust the space between icon and menu item text */
}

.crn-menu-class li a:hover {
    background-color: #FF914D; /* Background color on hover */
    color: #ffffff; /* Change text color to increase contrast if needed */
    text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5); /* Add text shadow for better visibility */
}

/* Active menu item styling */
.crn-menu-class li.current-menu-item a,
.crn-menu-class li.current-menu-item a:hover {
    background-color: #FF914D; /* Active item and hover background color */
}

.hamburger-menu {
    display: none; /* Hidden by default */
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 10px;
}



/* Adjusts the hamburger button itself with reduced padding */
.hamburger {
    padding: 6px; /* Reduced padding for a tighter look */
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc; /* Example border, adjust as needed */
    border-radius: 2px; /* Optional: adds rounded corners to the button */
    background-color: transparent; /* Maintains a clean look */
    cursor: pointer;
}

/* Ensures the inner parts of the hamburger icon are centered and appropriately sized */
.hamburger .hamburger-box {
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.hamburger .hamburger-inner,
.hamburger .hamburger-inner::before,
.hamburger .hamburger-inner::after {
    width: 100%; /* Ensure bars span the full width of the button */
    height: 4px; /* Keeps bars thin; adjust as per design needs */
    background-color: #333; /* Color of the bars */
}

/* Adjust the spacing and size of the bars within the button */
.hamburger .hamburger-inner::before,
.hamburger .hamburger-inner::after {
    content: "";
    display: block;
}

/* Specific adjustments for the "squeeze" animation effect if needed */
.hamburger--squeeze .hamburger-inner {
    transition: background-color 0.075s 0.12s ease, transform 0.075s 0.12s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--squeeze .hamburger-inner::before {
    transition: transform 0.075s 0.12s cubic-bezier(0.55, 0.055, 0.675, 0.19), top 0.075s 0.12s ease;
}

.hamburger--squeeze .hamburger-inner::after {
    transition: transform 0.075s 0.12s cubic-bezier(0.55, 0.055, 0.675, 0.19), bottom 0.075s 0.12s ease;
}

.hamburger.hamburger--squeeze{
    background-color: transparent;
    border: none;
}


.navbar-logo {
    height: auto;
    max-height: 40px;
    margin-right: 20px;
}

@media (min-width: 1501px) and (max-width: 1620px) {
    .crn-menu-class li a {
        font-size: 14px; /* Adjust the font size */
        padding: 0 8px; /* Adjust padding to match the new font size */
    }
    
    .crn-menu-class li a .fa {
        font-size: 14px; /* Adjust the icon size */
        margin-right: 3px; /* Adjust the space between icon and text */
    }
}

@media (max-width: 1500px) {
    /* Adjustments for mobile view */
    .crn-responsive-navbar {
        flex-direction: column; /* Stack items vertically */
        align-items: flex-start; /* Align items to the start */
        width: 100%; /* Full width */
        position: fixed; /* Keep the navbar fixed at the top */
        top: 0; /* Align to the top of the viewport */
        left: 0; /* Align to the left of the viewport */
        z-index: 1001; /* Ensure it's above the slide-in menu */
        background-color: #076280; /* Consistent background color */
        height: 80px;
    }

    .crn-menu-class {
        display: none; /* Keep the menu hidden initially */
        flex-direction: column; /* Stack the menu items vertically */
        position: fixed; /* Fixed position to the viewport */
        top: 0; /* Align to the top */
        background-color: #076280; /* Background color */
        z-index: 1002; /* Above other content */
        transition: left 0.3s; /* Smooth slide-in effect */
        width: 100%; /* Full width */
        left: -100%;
    }
    
   .crn-menu-class li:last-child {
    margin-left: 0 !important; /* Push the last item (Log Out) to the left */
}

   
    .crn-menu-class.active {
    display: flex; /* Show the menu when activated */
    left: 0; /* Slide in to view */
    padding-top: 80px;
    padding-left: 10px;/* Add space at the top */
    align-items: flex-start; /* Align items to the left */
    }
    
    .crn-menu-class.active > :not(:last-child) {
    margin-bottom: 10px; /* Adds space between items, except the last item */
    }
    
    .hamburger-menu {
        display: block; /* Ensure visibility in mobile view */
        position: fixed; /* Fixed position to the viewport */
        right: 25px; /* Positioned to the right */
        top: 10px; /* Positioned at the top */
        z-index: 1003; /* Ensures hamburger is above everything else */

    }
    .navbar-logo {
        margin-top: 5px;
    }
    
    .hamburger.hamburger--squeeze.is-active { /* changes the bgcolor of the hamburger when exploded*/
        background-color: transparent;
        border: none;
    }
    .gtranslate_wrapper {
        display: block; /* Ensure the wrapper takes full width */
        width: 100%;
        margin-top: 10px; /* Space between the wrapper and the "Log Out" item */
        order: 2; /* Ensure GTranslate is after "Log Out" */
    }
}


.menu-item a {
    position: relative; /* Ensures a positioning context for the absolute child */
    padding-right: 30px; /* Provides space for the badge; adjust as needed */
}

.count-badge {
    display: inline-block;
    min-width: 20px;
    padding: 0 6px;
    font-size: 12px;
    font-weight: bold;
    color: white;
    background-color: red;
    line-height: 20px;
    text-align: center;
    border-radius: 10px;
    position: absolute;
    top: 0;
    right: 0;
    transform: translateY(-50%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}




.menu-item-has-children > a {
    padding-right: 40px; /* Additional space for items with sub-menus */
}

