body,
.navbar,
.nav-menu a,
.btn,
.btn-demo {
	font-family: "Inter", sans-serif;
}

/* Navbar Styles */
.navbar {
	display: flex;
	align-items: center;
	height: 65px;
	padding: 0 40px;
	background: linear-gradient(135deg, #2d1b69 0%, #4a2c7a 100%);
	box-sizing: border-box;
}
#navbar-container {
	min-height: 65px;
	opacity: 0;
	transition: opacity 0.3s ease-in;
}

#navbar-container.loaded {
	opacity: 1;
}
.logo {
	display: flex;
	align-items: center;
	height: 64px;
	margin: 0;
	padding: 0;
	border: none;
	box-shadow: none;
}
.logo img {
	width: 150px;
	height: 60px;
	object-fit: cover;
	margin: 0px 0 0 0;
	padding: 0px 0 0 0;
}
.nav-menu {
	display: flex;
	gap: 36px;
	align-items: center;
	margin-left: 24px;
	font-size: 1.18rem;
	font-weight: 500;
	list-style: none;
	background: none;
	padding: 0;
	height: 64px;
}
.nav-menu li {
	margin: 0;
	padding: 0;
	height: 64px;
	display: flex;
	align-items: center;
}
.nav-menu a {
	color: #fff;
	text-decoration: none;
	transition: color 0.2s;
	line-height: 176%;
	display: flex;
	align-items: center;
	height: 64px;
	font-family: "Inter", sans-serif;
	font-weight: 500;
	font-size: 16px;
	gap: 8px;
	cursor: pointer;
}

.nav-menu a i {
	font-size: 12px;
	transition: transform 0.2s;
}

.nav-menu a:hover i {
	transform: rotate(180deg);
}
.nav-menu a:hover {
	color: #8660f8;
}

.nav-menu li {
	position: relative;
}
.nav-buttons {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 16px;
	height: 64px;
}
.btn-login {
	font-family: "Inter", sans-serif;
	padding: 10px 18px;
	border-radius: 22px;
	color: #fff;
	text-decoration: none;
	transition: background 0.2s;
}
.btn-login:hover {
	background: rgba(255, 255, 255, 0.12);
}

/* Solutions Dropdown Styles */
.nav-menu li {
	position: relative;
}
.solutions-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
	padding: 12px;
	width: 708px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 1000;
}

.nav-menu li:hover .solutions-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.solutions-dropdown h3 {
	color: #2d1b69;
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0 0 8px 0;
	padding: 0;
}
.solutions-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: repeat(6, auto);
	grid-auto-flow: column;
	gap: 4px;
}

.solution-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 12px;
	border-radius: 6px;
	transition: background-color 0.2s ease;
	cursor: pointer;
	text-decoration: none;
	color: #000;
	min-height: 24px;
}

.solution-item:hover {
	background-color: #a4aff3;
}

.solution-icon {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #2d1b69;
	font-size: 16px;
}

.solution-icon img {
	max-width: 100%;
	max-height: 100%;
	display: block;
	object-fit: contain;
}

.solution-text {
	font-family: "Inter", sans-serif;
	font-size: 16px;
	font-weight: 500;
	font-style: normal;
	color: #000;
	line-height: 150%;
	letter-spacing: 0px;
}
/* Services Dropdown Styles */
.services-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 24px 32px rgba(167, 174, 186, 0.12);
	padding: 24px 23px;
	width: 738px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 1000;
	display: flex;
	gap: 8px;
}

.services-left {
	flex: 1;
}

.services-right {
	flex: 1;
	background: #f5f5f5;
	border-radius: 12px;
	min-height: 200px;
}

.services-dropdown h3 {
	color: #2d1b69;
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0 0 16px 0;
	padding: 0;
}

.service-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 12px;
	border-radius: 6px;
	transition: background-color 0.2s ease;
	cursor: pointer;
	text-decoration: none;
	color: #000;
	min-height: 24px;
	margin-bottom: 4px;
}

.service-item:hover {
	background-color: #a4aff3;
}

.service-icon {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.service-icon img {
	max-width: 100%;
	max-height: 100%;
	display: block;
	object-fit: contain;
}

.service-text {
	font-family: "Inter", sans-serif;
	font-size: 16px;
	font-weight: 500;
	font-style: normal;
	color: #000;
	line-height: 150%;
	letter-spacing: 0px;
}

/* Knowledge Base Dropdown Styles */
.knowledge-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
	padding: 16px;
	width: 518px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 1000;
}

.knowledge-dropdown h3 {
	color: #6c757d;
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0 0 12px 0;
	padding: 0;
}

.knowledge-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 12px;
	border-radius: 6px;
	transition: background-color 0.2s ease;
	cursor: pointer;
	text-decoration: none;
	color: #000;
	min-height: 24px;
	margin-bottom: 4px;
}

.knowledge-item:hover {
	background-color: #a4aff3;
}

.knowledge-icon {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #2d1b69;
}

.knowledge-icon img {
	max-width: 100%;
	max-height: 100%;
	display: block;
	object-fit: contain;
}

.knowledge-text {
	font-family: "Inter", sans-serif;
	font-size: 16px;
	font-weight: 500;
	font-style: normal;
	color: #000;
	line-height: 150%;
	letter-spacing: 0px;
}

/* About Us Dropdown Styles */
.about-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
	padding: 16px;
	width: 304px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 1000;
}

.about-dropdown h3 {
	color: #6c757d;
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0 0 12px 0;
	padding: 0;
}

.about-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 12px;
	border-radius: 6px;
	transition: background-color 0.2s ease;
	cursor: pointer;
	text-decoration: none;
	color: #000;
	min-height: 24px;
	margin-bottom: 4px;
}

.about-item:hover {
	background-color: #a4aff3;
}

.about-icon {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #2d1b69;
}

.about-icon img {
	max-width: 100%;
	max-height: 100%;
	display: block;
	object-fit: contain;
}

.about-text {
	font-family: "Inter", sans-serif;
	font-size: 16px;
	font-weight: 500;
	font-style: normal;
	color: #000;
	line-height: 150%;
	letter-spacing: 0px;
}

/* Pricing Dropdown Styles */
.pricing-dropdown {
	position: absolute;
	cursor: pointer;
	top: 100%;
	left: 0;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
	padding: 20px;
	width: 634px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 1000;
}

.pricing-dropdown h3 {
	color: #6c757d;
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0 0 20px 0;
	padding: 0;
}

.pricing-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 12px;
	border-radius: 6px;
	transition: background-color 0.2s ease;
	cursor: pointer;
	text-decoration: none;
	color: #000;
	min-height: 24px;
	margin-bottom: 8px;
}

.pricing-item:hover {
	background-color: #a4aff3;
	cursor: pointer;
}

.pricing-icon {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #2d1b69;
}

.pricing-icon img {
	max-width: 100%;
	max-height: 100%;
	display: block;
	object-fit: contain;
}

.pricing-text {
	font-family: "Inter", sans-serif;
	font-size: 16px;
	font-weight: 500;
	font-style: normal;
	color: #000;
	line-height: 150%;
	letter-spacing: 0px;
}

.btn-demo {
	background: linear-gradient(90deg, #7612f9 0%, #9747ff 50%, #db4ae0 100%);
	color: #fff;
	border: none;
	padding: 10px 22px;
	border-radius: 25px;
	text-decoration: none;
	font-weight: 500;
	letter-spacing: 0.2px;
	transition: transform 0.3s, box-shadow 0.3s, filter 0.3s;
	box-shadow: 0 14px 28px rgba(95, 44, 255, 0.35);
	font-size: 16px;
	cursor: pointer;
}

.btn-demo:hover {
	transform: translateY(-2px);
	box-shadow: 0 24px 48px rgba(255, 92, 165, 0.35);
	filter: brightness(1.05);
}

/* === Hamburger Button === */
.hamburger {
	display: none;
	flex-direction: column;
	cursor: pointer;
	gap: 5px;
}

.hamburger span {
	width: 25px;
	height: 3px;
	background: #fff;
	border-radius: 2px;
	transition: all 0.3s ease;
}

/* === Sidebar Base === */
.sidebar {
	position: fixed;
	left: -270px;
	top: 0;
	width: 270px;
	height: 100%;
	background: linear-gradient(90deg, #7612f9 0%, #9747ff 50%, #db4ae0 100%);
	box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
	transition: left 0.3s ease;
	z-index: 9999;
	overflow-y: auto;
	padding: 20px 0;
	color: #fff;
}

.sidebar.active {
	left: 0;
}

/* === Close Button === */
.sidebar .close-btn {
	position: absolute;
	top: 12px;
	right: 18px;
	background: none;
	border: none;
	font-size: 28px;
	color: #fff;
	cursor: pointer;
	transition: color 0.2s ease;
}

.sidebar .close-btn:hover {
	color: #e0d2ff;
}

/* === Sidebar Menu === */
.sidebar-menu {
	list-style: none;
	margin: 50px 0 0 0;
	padding: 0;
}

.sidebar-menu li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.sidebar-menu a,
.sidebar-menu .dropdown-toggle {
	display: block;
	width: 100%;
	padding: 12px 20px;
	color: #fff;
	font-weight: 500;
	text-decoration: none;
	background: none;
	border: none;
	text-align: left;
	cursor: pointer;
	font-size: 15px;
	transition: background 0.2s ease, color 0.2s ease;
}

.sidebar-menu a:hover,
.sidebar-menu .dropdown-toggle:hover {
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
}

/* === Submenu (Smooth Open) === */
.submenu {
	max-height: 0;
	overflow: hidden;
	list-style: none;
	padding-left: 15px;
	background: rgba(255, 255, 255, 0.1);
	border-left: 3px solid #fff;
	transition: max-height 0.35s ease, padding 0.3s ease;
}

.submenu li a {
	padding: 10px 20px;
	font-size: 14px;
	color: #f3f3f3;
	display: block;
	transition: background 0.2s ease, color 0.2s ease;
}

.submenu li a:hover {
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
}

/* === Open Dropdown Smoothly === */
.sidebar-menu .open > .submenu {
	max-height: 300px; /* Adjust if submenus are longer */
	padding-top: 5px;
	padding-bottom: 5px;
}

/* === Scrollbar Styling === */
.sidebar::-webkit-scrollbar {
	width: 6px;
}
.sidebar::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.4);
	border-radius: 10px;
}

/* Large screens (TV, very wide monitors) */
@media (min-width: 1600px) {
	.navbar {
		padding: 0 40px;
	}
	.nav-menu {
		gap: 48px;
		font-size: 1.25rem;
	}
	.logo img {
		width: 180px;
		height: 70px;
	}
}

/* Desktops and laptops (≥1200px) */
@media (max-width: 1399px) {
	.navbar {
		padding: 0 32px;
	}
	.nav-menu {
		gap: 28px;
	}
	.nav-menu a {
		font-size: 10px;
	}
	.logo img {
		width: 130px;
		height: 56px;
	}
}

/* Tablets landscape (≤992px) */
@media (max-width: 992px) {
	.navbar {
		padding: 0 24px;
		align-items: center;
	}
	.nav-menu {
		gap: 20px;
		font-size: 1rem;
	}
	.btn-demo,
	.btn-login {
		padding: 8px 16px;
		font-size: 14px;
	}
	.solutions-dropdown,
	.services-dropdown,
	.knowledge-dropdown,
	.about-dropdown,
	.pricing-dropdown {
		width: 90vw;
	}
}

/* Tablets portrait (≤768px) */
@media (max-width: 768px) {
	.navbar {
		/* flex-wrap: wrap; */
		align-items: center;
		flex-direction: row;
		height: auto;
		padding: 12px 20px;
	}
	.hamburger {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 6px;
		cursor: pointer;
		width: 28px;
		height: 24px;
		position: relative;
		z-index: 1100;
	}

	.hamburger span {
		background: #fff;
		height: 3px;
		width: 100%;
		border-radius: 3px;
		transition: all 0.3s ease;
	}

	.hamburger.active span:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
	}
	.hamburger.active span:nth-child(2) {
		opacity: 0;
	}
	.hamburger.active span:nth-child(3) {
		transform: rotate(-45deg) translate(5px, -5px);
	}

	.lang-switcher-btn {
		display: none;
	}

	#lang-switcher-container {
		display: none;
	}

	.logo img {
		width: 120px;
		height: 50px;
	}
	.nav-menu {
		flex-direction: column;
		align-items: flex-start;
		/* gap: 12px; */
		width: 100%;
		margin-left: 0;
		display: none; /* hidden by default for hamburger toggle */
		background: #2d1b69;
		border-radius: 12px;
		padding: 16px 20px;
	}
	.nav-menu.active {
		display: flex;
	}
	.nav-buttons {
		margin-left: 0;
		margin-top: 8px;
		width: 100%;
		justify-content: flex-end;
		gap: unset !important;
	}
	.solutions-dropdown,
	.services-dropdown,
	.knowledge-dropdown,
	.about-dropdown,
	.pricing-dropdown {
		position: static;
		transform: none;
		opacity: 1;
		visibility: visible;
		box-shadow: none;
		padding: 12px;
		width: 100%;
	}
}

/* Mobile devices (≤576px) */
@media (max-width: 576px) {
	.navbar {
		/* flex-direction: column; */
		align-items: center;
		padding: 10px 16px;
	}
	.hamburger {
		display: flex !important;
		/* order: 1; */
		flex-shrink: 0;
	}
	#lang-switcher-container {
		display: none;
	}
	.logo img {
		width: 150px;
		height: 45px;
	}
	.nav-menu {
		width: 100%;
		font-size: 0.95rem;
		/* gap: 10px; */
	}
	.btn-demo,
	.btn-login {
		padding: 8px 14px;
		font-size: 14px;
	}
	.nav-menu a {
		font-size: 10px;
	}
}

/* Extra small devices (≤400px) */
@media (max-width: 400px) {
	.logo img {
		width: 100px;
		height: 40px;
	}
	.nav-menu {
		font-size: 0.9rem;
	}
	#lang-switcher-container {
		display: none;
	}
	.btn-demo,
	.btn-login {
		font-size: 13px;
		padding: 7px 12px;
	}
}
