header {
    width: 100%;
    background-color: #ffffff4f;
    color: white;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background-color 0.9s ease, padding 0.9s ease;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px!important;
}

#header.sticky {
  background-color: #ffffff !important;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px,
              rgba(0, 0, 0, 0.23) 0px 6px 6px !important;
}


.icon-side{color:#000!important;cursor: pointer;}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
	padding:0!important;
}

.navbar-nav{
	justify-content: center;
    flex-grow: 1;
}

.navbar-expand-lg .navbar-nav{
	justify-content:right;
}

.navbar-nav ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-nav li a{
	font-size: 12px;
	color: #303030;
	font-weight: 500;
	text-decoration:none;
	padding: 25px 20px 25px 10px;
}


.sidenav {
    overflow-y: auto; 
    max-height: 100vh; 
    width: 0; 
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #fff;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
	box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.sidenav::-webkit-scrollbar {
    width: 4px;
}

.sidenav::-webkit-scrollbar-thumb {
    background-color: #ff7900;
    border-radius: 50px;
}

.sidenav::-webkit-scrollbar-track {
    background-color: #f1f1f1; 
}

/* Firefox */
.sidenav {scrollbar-width: thin;
    scrollbar-color: #ff7900 #f1f1f1; 
}

.sidenav ul li{
	border-bottom:solid 1px #ff7900;
}

.sidenav ul li:last-child {
    border-bottom: none;
}



.sidenav a {
    padding: 8px 8px 8px 16px;
    text-decoration: none;
    font-size: 14px;
    color: #00000096;
    display: block;
    transition: 0.3s;
	text-align:left;
}

.sidenav a:hover {
    color: #000;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 30px;
	color:#ff7900
}


.mobile_menu {
    display: none; 
}

.navbar-nav li.menu-item-has-children {
    position: relative;
		
}


/* Initially hide the submenu */
.navbar-nav li.menu-item-has-children > ul {
    display: none;
    position: absolute;
    top: 100%;
    left: -83px;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px;
    min-width: 190px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    margin-top: 16px;
    padding: 0px 0px 0px 10px;
}

.navbar-nav li.menu-item-has-children ul.sub-menu ul.sub-menu {
   left: 181px !important;
    top: -16px;
    min-width: 150px !important;
}


.navbar-nav li.menu-item-has-children:hover > ul {
    display: block;
    opacity: 1;
    visibility: visible;

}





.navbar-nav li ul li {
    border-bottom: solid 1px #f0f0f0;
    list-style: none;
}

.navbar-nav li ul li:last-child {
    border-bottom: none;
}

.navbar-nav li ul li a {
    font-size: 12px;
    color: #303030!important;
    padding: 8px 0;
    text-decoration: none;
    display: block;
    border-bottom: solid 1px #ff7900;
	text-align:left;
	width:180px;
}
.navbar-nav li ul li:last-child a {
    border-bottom: none;
}

.navbar-nav li.menu-item-has-children > ul::before {
    content: '';
    position: absolute;
    top: -15px; /* Matches the gap size */
    left: 0;
    right: 0;
    height: 15px; /* Same as the gap */
    background: transparent;
	z-index: 10;
}

.navbar-nav li ul li a:hover {
    background-color: #f7f7f7;
    color: #ff7900;
}

/* Arrow rotation on hover */
.navbar-nav li.menu-item-has-children > a:after {
    content: '▼';
    font-size: 10px;
    margin-left: 5px;
    display: inline-block;
    transform: rotate(0);
    transition: transform 0.3s ease;
}

.navbar-nav li.menu-item-has-children:hover > a:after {
    transform: rotate(180deg);

}






@media (max-width: 768px) {
  
   .navbar-nav {
        display: none; 
    }

    .icon-side {
        display: none; 
    }

.mobile_menu {
    background-color: #fff;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 10000;
    padding: 20px;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease-in-out;
    transform: translateX(100%);
    overflow-y: auto;
}

/* ✅ This Will Ensure Scrollbar Is Visible */
.mobile_menu::-webkit-scrollbar {
    width: 8px;
    background-color: #f1f1f1;
}

.mobile_menu::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 5px;
}

/* ✅ Add Hover Effect On Scrollbar */
.mobile_menu::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

body.menu_open {
    overflow: hidden;
}

/* Show the menu */
.mobile_menu.active {
    transform: translateX(0);
    right: 0;
}

/* Close Button */
.mobile_menu_header {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 20px;
}

.close_menu i {
    font-size: 24px;
    color: #ff7900;
    cursor: pointer;
}

/* Menu Items */
.mobile_menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile_menu ul li {
    padding: 8px;
    border-bottom: 1px solid #dddbdb;
    position: relative;
}
	
.mobile_menu ul li:last-child {
    border: none !important;
}

/* Menu Links */
.mobile_menu ul li a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hover Effect */
.mobile_menu ul li a:hover {
    color: #ff7900;
}

/* ======= Submenu Toggle ======== */
.mobile_menu ul li.has-submenu > a span {
    flex-grow: 1;
    margin-right: 10px;
}

/* Submenu Arrow */
.mobile_menu ul li.has-submenu > a i {
    transition: transform 0.3s;
    font-size: 14px;
    color: #ff7900;
}

/* Rotate the arrow when submenu opens */
.mobile_menu ul li.open > a i {
    transform: rotate(180deg);
}

/* ======= Submenu Design ======== */
.mobile_menu ul li ul.sub-menu {
    display: none;
}

/* Show Submenu When Open */
.mobile_menu ul li.open ul.sub-menu {
    display: block;
}

/* Submenu Items */
.mobile_menu ul li ul.sub-menu li a {
    color: #666;
   
}

/* Remove border from last submenu item */
.mobile_menu ul li ul.sub-menu li:last-child a {
    border-bottom: none;
}

/* Prevent Body Scroll When Menu is Open */
.no-scroll {
    overflow: hidden;
}

/* Remove Focus Box on Button */
.icon-side:focus {
    box-shadow: none;
}

/* Navbar Button Margin */
.navbar-toggler {
    margin-right: 20px;
}

/* Logo Margin */
.navbar-brand {
    margin-left: 20px;
}

/* Navbar Button Padding */
.navbar-light .navbar-toggler {
    padding: 0 5px;
}

/* Prevent the Menu from Closing When Clicking Inside */
.mobile_menu ul li ul.sub-menu li a {
    pointer-events: auto;
}

/* Add smooth transition for Submenu */
.mobile_menu ul li ul.sub-menu li a {
    transition: all 0.3s ease-in-out;
}

/* Hover Effect */
.mobile_menu ul li ul.sub-menu li a:hover {
    color: #ff7900;
}

/* Hide scrollbar */
.mobile_menu::-webkit-scrollbar {
    display: none;
}


}

.navbar-toggler-icon.black-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

/* Force black on desktop, always */
@media (min-width: 992px) {
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
  }
}