.top-bar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: linear-gradient(90deg, #0d0d0d, #1a1a1a);
	color: white;
	display: flex;
	align-items: center;
	justify-content: space-between;
	/* Evenly distributes items */
	padding: 15px 20px;
	z-index: 1000;
	box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
	border-bottom: 2px solid cyan;
	height: 50px;
	font-family: 'Orbitron', sans-serif;
}


.logo-container {
	display: flex;
	align-items: center;
	flex-grow: 1;
	gap: 15px;
}

.logo-container img {
	height: 40px;
	margin-right: 10px;
}

.dropdown-container {
	position: relative;
	margin-left: 15px;
}

.dropdown-btn {
	background: none;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	color: cyan;
	font-size: 16px;
	transition: color 0.3s ease;
}

.dropdown-btn:hover {
	color: #00ffff;
}

.dropdown-btn img {
	width: 20px;
	height: 20px;
	margin-left: 8px;
	transition: transform 0.3s ease-in-out;
}

.dropdown-menu {
	display: none;
	position: absolute;
	top: 50px;
	left: 10px;
	background: rgba(0, 0, 0, 0.8);
	color: white;
	list-style: none;
	padding: 15px;
	border-radius: 10px;
	width: 250px;
	box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
	font-size: 14px;
}

.dropdown-menu.active {
	display: block;
}

.dropdown-menu li {
	padding: 10px;
	cursor: pointer;
	transition: background 0.3s ease;
}

.dropdown-menu li:hover {
	background: rgba(0, 255, 255, 0.2);
}

.buttons {
	display: flex;
	gap: 15px;
	margin-right: 25px;
	/* Adjust this value to move left */

}

.btn {
	background: cyan;
	color: black;
	padding: 8px 12px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	text-decoration: none;
	font-weight: bold;
	transition: background 0.3s ease, color 0.3s ease;
	font: white;

}

.btn:hover {
	background: #00e6e6;
	color: cyan;
}


.dropdown-btn.active img {
	transform: rotate(180deg);
}

.mega-menu {
	display: none;
	/* Initially hidden */
	position: absolute;
	top: 0%;
	left: 100%;
	background: #222;
	color: white;
	padding: 15px;
	border-radius: 5px;
	width: 1050px;
	/* Increased width */
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	grid-template-columns: repeat(4, 1fr);
	gap: 5px;
	/* Reduce this value */
	font-size: 12px;


}

.has-mega-menu:hover .mega-menu {
	display: grid;
}

.mega-menu div {
	padding: 2px;
}

.mega-menu h5 {
	margin-bottom: 9px;
	color: #ffcc00;
}

.mega-menu ul {
	list-style: none;
	padding: 0;
}

.mega-menu li {
	padding: 2px 0;
	cursor: pointer;
	white-space: nowrap;
	/* Prevents line break */
}

.mega-menu li:hover {
	background: #444;
}

.mega-menu-graphics {
    display: none; /* Initially hidden */
    position: absolute;
    top: 60%; /* Places Graphics menu below parent */
    left: 100%; /* Aligns it properly */
    background: #111; /* Darker than regular menu */
    color: white;
    padding: 20px;
    border-radius: 8px;
    width: 950px; /* Slightly narrower */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    grid-template-columns: repeat(3, 1fr); /* Adjusted layout */
    gap: 15px; /* More spacing for clarity */
    font-size: 14px;
    z-index: 999;
}
.parent-menu-item:hover .mega-menu-graphics {
    display: grid;
}

/* Improve Visibility */
.mega-menu-graphics div {
    padding: 8px;
}

.mega-menu-graphics h5 {
    margin-bottom: 12px;
    color: #ff9900; /* Slight variation for Graphics menu */
}

.mega-menu-graphics ul {
    list-style: none;
    padding: 0;
}

.mega-menu-graphics li {
    padding: 5px 0;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s ease-in-out;
}

.mega-menu-graphics li:hover {
    background: #333;
}

/* Show Graphics Mega Menu on Hover */
.has1-mega-menu:hover .mega-menu-graphics {
    display: grid;
}

.mega-menu a,
.mega-menu-graphics a {
    color: white;
    text-decoration: none;
    display: block;
    width: 100%;
}

.mega-menu a:hover,
.mega-menu-graphics a:hover {
    color: #ffcc00; /* Optional hover color */
    background-color: #333; /* Optional background on hover */
}
.orange-link,
.orange-link:visited,
.orange-link:hover,
.orange-link:active {
    color: #f90;
    text-decoration: none !important;
}
li a.orange-link {
    text-decoration: none !important;
    color: #f90;
}
/*.has-mega-menu::after {
    content: '\00BB\00BB'; /* Unicode for » twice */
    font-weight: bold;
    color: #f90;
    margin-left: 5px;
}*/
/*.has1-mega-menu::after {
    content: '\00BB\00BB'; /* Unicode for » twice */
    font-weight: bold;
    color: #f90;
    margin-left: 5px;
}*/
.has-mega-menu i.fa-angle-double-right {
  color: #f90;
  margin-left: 5px;
  transition: transform 0.3s;
}

.has-mega-menu:hover i.fa-angle-double-right {
  transform: translateX(3px);
}
.has1-mega-menu i.fa-angle-double-right {
  color: #f90;
  margin-left: 5px;
  transition: transform 0.2s;
}

.has1-mega-menu:hover i.fa-angle-double-right {
  transform: translateX(3px);
}
.menu-arrow {
  color: #f90;
  margin-left: 6px;
  transition: transform 0.3s ease;
  display: inline-block;
  animation: spin 1.2s infinite linear;
}

/* On hover: slight move and rotation */
.has1-mega-menu:hover .menu-arrow {
  transform: translateX(5px) rotate(15deg);
}
.has-mega-menu:hover .menu-arrow {
  transform: translateX(5px) rotate(15deg);
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}




/*-------Menu----------*/

/* Inline Menu */
.inline-menunew {
	/* position: relative; /* Ensures it is placed correctly within the flow */
	background: #222;
	width: 100%;
	padding: 1px 1px;
	text-align: center;
	z-index: 999;
	/* Ensures it stays above other elements */
	height: 45px;
	position: fixed;
	top: 50px;
	/* Stays right below top-bar */
	left: 0;
	width: 100%;
	box-shadow: 0 5px 15px rgba(0, 255, 255, 0.5);
	color: #ff4500; /* Example color (Orange-Red) */
}


/* Sticky when scrolling */
/*.inline-menunew.sticky {
   position: fixed;
    top: 50px; /* Stays right below top-bar 
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.5);
}*/

/* Avoid content jumping */
.content {
	padding-top: 80px;
	/* Space for both .top-bar and .inline-menu */
}

/* Inline Menu Links */
.inline-menunew a {
	color: #00e6e6;
	text-decoration: none;
	padding: 10px 15px;
	display: inline-block;
	transition: background 0.3s;
}

.inline-menunew a::before {
	content: "";
	position: absolute;
	bottom: -4px;
	left: 50%;
	width: 0;
	height: 2px;
	background: cyan;
	transition: 0.3s;
}

.inline-menunew a:hover {
	background: rgba(0, 255, 255, 0.2);
}

/* Center Search Container */
.search-container {
	flex-grow: 1;
	display: flex;
	justify-content: center;
	/* Ensures search bar is centered */
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

/* Futuristic Search Input */
.search-container input {
	width: 300px;
	padding: 10px 15px;
	font-size: 14px;
	border: 2px solid cyan;
	border-radius: 25px;
	outline: none;
	background: #111;
	color: cyan;
	transition: 0.3s;
	text-align: center;
}

/* Search Input Focus Effect */
.search-container input:focus {
	border-color: #FFD700;
	box-shadow: 0 0 10px #FFD700;
}

/* Search Dropdown Results */
#search-results {
	position: absolute;
	top: 42px;
	left: 50%;
	transform: translateX(-50%);
	width: 320px;
	background: rgba(0, 0, 0, 0.9);
	border: 1px solid cyan;
	border-radius: 25px;
	display: none;
	z-index: 1000;
	max-height: 250px;
	overflow-y: auto;
	font-size: 14px;
}

/*#search-results {
    position: absolute;
    width: 100%;
    background: black;
    color: white;
    border: 1px solid cyan;
    display: none; /* Default: Hidden 
    z-index: 1000;
}*/
.search-item a {
	display: block;
	padding: 8px;
	text-decoration: none;
	color: cyan;
}

.search-item a:hover {
	background: cyan;
	color: black;
}

/* Search Result Items */
#search-results div {
	padding: 10px;
	cursor: pointer;
	border-bottom: 1px solid #444;
	background-color: transparent;
	color: cyan;
	font-weight: bold;
	text-align: center;
}

/* Hover Effect */
#search-results div:hover {
	background: cyan;
	color: #000;
}