body {
	font-family: 'Inter', sans-serif;
	background-color: #f8fafc;
	color: #1e293b;
	overflow-x: hidden;
}

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
    font-family: 'Inter', sans-serif;
    color: #1e293b;
}

.display-1, .display-2, .display-3, .display-4 {
    color: #1e293b;
}

/* Modern Navbar */
.navbar {
	backdrop-filter: blur(10px);
	background: rgba(255, 255, 255, 0.8);
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-left .logo-area {
	min-width: auto;
}

nav .dropdown-default:not(.dropdown-menu--dynamic), nav .dropdown-menu:not(.dropdown-menu--dynamic) {
    top: 67px !important;
	width: auto;
}

#mobileNav .dropdown-default:not(.dropdown-menu--dynamic), #mobileNav .dropdown-menu:not(.dropdown-menu--dynamic) {
	width: 100%;
}

/* --- THE COMPLICATED HAMBURGER --- */
.drawer-trigger {
	border: none;
	width: 45px;
	height: 45px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: transparent;
	z-index: 1100;
}

.drawer-trigger:focus {
	box-shadow: none;
}

.dash {
	width: 28px;
	height: 2px;
	background-color: var(--bg-dark);
	display: block;
	margin: 3px 0;
	transition: var(--transition);
	border-radius: 2px;
}

/* Hover Effect: Staggered "Magnetic" stretch */
.drawer-trigger:not([aria-expanded="true"]):hover .dash:nth-child(1) {
	width: 15px;
	transform: translateX(6px);
}
.drawer-trigger:not([aria-expanded="true"]):hover .dash:nth-child(2) {
	width: 28px;
}
.drawer-trigger:not([aria-expanded="true"]):hover .dash:nth-child(3) {
	width: 15px;
	transform: translateX(-6px);
}

/* The "X" Transformation: Complex Rotation & Scaling */
.drawer-trigger[aria-expanded="true"] .dash:nth-child(1) {
	transform: translateY(8px) rotate(225deg); /* Extra rotation for 'spin' effect */
	background-color: var(--bg-primary);
}
.drawer-trigger[aria-expanded="true"] .dash:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}
.drawer-trigger[aria-expanded="true"] .dash:nth-child(3) {
	transform: translateY(-8px) rotate(-225deg);
	background-color: var(--bg-primary);
}

/* --- DESKTOP DROPDOWN --- */
@media(min-width: 992px) {
	.dropdown-menu {
		display: block;
		opacity: 0;
		visibility: hidden;
		transform: translateY(20px) scale(0.95);
		transition: var(--transition);
		border: none;
		border-radius: 16px;
		box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
	}
	.dropdown:hover .dropdown-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0) scale(1);
	}
}

/* --- MOBILE MENU UI & DROPDOWN FIX --- */
@media(max-width: 991px) {
	.navbar-collapse {
		position: fixed;
		top: 0;
		right: -100%;
		width: 100%;
		height: 100vh;
		background: white;
		padding: 100px 10% 2rem;
		transition: var(--transition);
		display: block !important;
		overflow-y: auto;
	}

	.navbar-collapse.show {
		right: 0;
	}

	.nav-link {
		font-size: 1.75rem;
		font-weight: 700;
		margin-bottom: 1rem;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	/* Fix: Mobile Dropdown Toggle */
	.dropdown-menu {
		border: none;
		background: #f8fafc;
		border-radius: 12px;
		margin-bottom: 1.5rem;
		padding: 0.5rem;
		display: none; /* Controlled by Bootstrap JS */
	}
	.dropdown-menu.show {
		display: block;
	}

	.dropdown-item {
		font-size: 1.1rem;
		padding: 0.75rem 1rem;
		font-weight: 600;
	}

	.btn-auth-group {
		margin-top: 3rem;
		display: flex;
		flex-direction: column;
		gap: 1rem;
	}
}

/* --- BUTTONS --- */
.btn-signup {
	background: var(--bg-dark);
	color: white !important;
	padding: 0.8rem 2rem;
	border-radius: 12px;
	font-weight: 700;
	transition: var(--transition);
}
.btn-signup:hover {
	background: var(--bg-primary);
	transform: translateY(-3px);
}