* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
	min-height: 200vh; /* To enable scrolling */
}

.content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
}

h1 {
	text-align: center;
	margin-bottom: 30px;
	color: #2c3e50;
}

p {
	line-height: 1.6;
	margin-bottom: 20px;
}

/* Header & Navigation */
header {
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--glass-border);
	transition: var(--transition);
}

header.scrolled {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	background-color: rgba(2, 6, 23, 0.98);
}

/* Top Level Header */
.top-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 5%;
	background-color: var(--website-background-color);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}

.top-nav-left {
	display: flex;
	gap: 25px;
}

.top-nav-center {
	margin: auto;
}

.top-nav-left a {
	text-decoration: none;
	color: #555;
	font-weight: 500;
	font-size: 1.05rem;
	transition: var(--transition);
	position: relative;
	padding: 5px 0;
}

.top-nav-left a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--gradient);
	transition: width 0.3s ease;
}

.top-nav-left a:hover {
	color: #4a6cf7;
}

.top-nav-left a:hover::after {
	width: 100%;
}

.top-nav-left a.active {
	color: white;
}

.top-nav-left a.active::after {
	width: 100%;
}

.logo .logo-text {
    font-size: 1.6rem;
	font-weight: 900;
    font-family: 'Cavilant', sans-serif;
	color: #4a6cf7;
    letter-spacing: -3.0px;
	text-decoration: none;
	transition: var(--transition);
}

.logo .logo-text:hover {
	transform: translateY(-2px);
}

.logo .logo-text::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--gradient);
	transition: width 0.3s ease;
}

.logo .logo-text:hover::after {
	width: 100%;
}

.logo .logo-text.active::after {
	width: 100%;
}

.logo .logo-text-middle {
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: #fff;
	font-size: 1.5rem;
	padding-right: 5px;
	padding-left: 5px;
}

.logo .logo-text-span {
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	font-size: 1.5rem;
	color: transparent;
}

.footer-logo .logo-text {
    font-size: 1.6rem;
	font-weight: 900;
    font-family: 'Cavilant', sans-serif;
	color: #4a6cf7;
    letter-spacing: -3.0px;
	text-decoration: none;
	transition: var(--transition);
}

.footer-logo .logo-text:hover {
	transform: translateY(-2px);
}

.footer-logo .logo-text::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--gradient);
	transition: width 0.3s ease;
}

.footer-logo .logo-text:hover::after {
	width: 100%;
}

.footer-logo .logo-text.active::after {
	width: 100%;
}

.footer-logo .logo-text-middle {
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: #fff;
	font-size: 1.5rem;
	padding-right: 5px;
	padding-left: 5px;
}

.footer-logo .logo-text-span {
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	font-size: 1.5rem;
	color: transparent;
}

.top-nav-right a {
	text-decoration: none;
	color: #4a6cf7;
	font-weight: 600;
	padding: 8px 20px;
	border: 1px solid #4a6cf7;
	border-radius: 4px;
	transition: all 0.3s;
}

.top-nav-right a:hover {
	background-color: #4a6cf7;
	color: white;
}

/* Second Level Header */
.second-header {
	background-color: var(--website-background-color);
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
	padding: 0 5%;
	transition: all 0.3s ease;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

.categories-nav {
	display: flex;
	justify-content: center;
	position: relative;
	flex: 1;
}

.category {
	position: relative;
	padding: 15px 20px;
	cursor: pointer;
	font-weight: 500;
	color: #444;
	transition: all 0.3s;
	white-space: nowrap;
}

.category:hover {
	color: #4a6cf7;
}

.category:hover .sub-categories {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.sub-categories {
	position: absolute;
	top: 100%;
	left: 0;
	background-color: white;
	min-width: 200px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	border-radius: 0 0 8px 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.3s;
	z-index: 100;
}

.sub-category {
	padding: 12px 20px;
	border-bottom: 1px solid #f0f0f0;
	position: relative;
	transition: all 0.2s;
}

.sub-category:hover {
	background-color: #f8f9ff;
}

.sub-category:hover .sub-end-categories {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}

.sub-end-categories {
	position: absolute;
	top: 0;
	left: 100%;
	background-color: white;
	min-width: 200px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	border-radius: 0 8px 8px 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateX(10px);
	transition: all 0.3s;
}

.sub-end-category {
	padding: 12px 20px;
	border-bottom: 1px solid #f0f0f0;
	transition: all 0.2s;
}

.sub-end-category:hover {
	background-color: #f8f9ff;
}

.sub-category:last-child, .sub-end-category:last-child {
	border-bottom: none;
}

/* Fixed Header on Scroll */
.fixed {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	animation: slideDown 0.5s ease;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

@keyframes slideDown {
	from {
		transform: translateY(-100%);
	}
	to {
		transform: translateY(0);
	}
}

/* Mobile Menu Button */
.mobile-menu-btn {
	display: none;
	font-size: 24px;
	cursor: pointer;
	color: #4a6cf7;
	background: none;
	border: none;
	padding: 10px;
	margin-left: auto;
}

/* Mobile Sidebar */
.mobile-sidebar {
	position: fixed;
	top: 0;
	left: -100%;
	width: 380px;
	height: 100%;
	background-color: var(--website-background-color);
	box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
	z-index: 2000;
	transition: left 0.4s ease;
	overflow-y: auto;
	padding: 20px;
}

.mobile-sidebar.active {
	left: 0;
}

.mobile-sidebar-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
	padding-bottom: 15px;
	border-bottom: 1px solid #eee;
}

.mobile-logo {
	font-size: 22px;
	font-weight: 700;
	color: #4a6cf7;
}

.close-sidebar {
	font-size: 22px;
	cursor: pointer;
	color: #777;
	background: none;
	border: none;
	padding: 5px;
}

.mobile-nav {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-bottom: 30px;
}

.mobile-nav a {
	text-decoration: none;
	color: #444;
	font-weight: 500;
	padding: 10px 0;
	border-bottom: 1px solid #f5f5f5;
}

.mobile-categories {
	display: flex;
	flex-direction: column;
}

.mobile-category {
	padding: 12px 0;
	border-bottom: 1px solid #f5f5f5;
	cursor: pointer;
	font-weight: 500;
	color: #444;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.mobile-category i {
	transition: transform 0.3s;
	font-size: 14px;
}

.mobile-category.active i {
	transform: rotate(180deg);
}

.mobile-sub-categories {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease;
	padding-left: 15px;
	width: 100%;
}

.mobile-sub-categories.active {
	max-height: 500px;
}

.mobile-sub-category {
	padding: 10px 0;
	border-bottom: 1px solid #f9f9f9;
	cursor: pointer;
	color: #666;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.mobile-sub-category i {
	transition: transform 0.3s;
	font-size: 12px;
}

.mobile-sub-category.active i {
	transform: rotate(180deg);
}

.mobile-sub-end-categories {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease;
	padding-left: 15px;
	width: 100%;
}

.mobile-sub-end-categories.active {
	max-height: 500px;
}

.mobile-sub-end-category {
	padding: 8px 0;
	color: #777;
	border-bottom: 1px solid #f9f9f9;
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1500;
	opacity: 0;
	visibility: hidden;
	transition: all 0.4s;
}

.overlay.active {
	opacity: 1;
	visibility: visible;
}

/* Content Section */
.content {
	padding: 40px 5%;
	max-width: 1200px;
	margin: 0 auto;
}

.content h1 {
	font-size: 2.5rem;
	margin-bottom: 20px;
	color: #333;
}

.content p {
	line-height: 1.6;
	margin-bottom: 15px;
	color: #555;
}

/* Footer Styles */
footer {
	background-color: var(--website-background-color);
	color: #ecf0f1;
	padding: 60px 0 20px;
}

.footer-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Top Level - Text Help and Newsletter */
.footer-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 40px;
	border-bottom: 1px solid #34495e;
	flex-wrap: wrap;
	gap: 20px;
}

.help-text {
	flex: 1;
	min-width: 300px;
}

.help-text h3 {
	font-size: 1.5rem;
	margin-bottom: 10px;
	color: #3498db;
}

.newsletter {
	flex: 1;
	min-width: 300px;
}

.newsletter h3 {
	font-size: 1.5rem;
	margin-bottom: 10px;
	color: #3498db;
}

.newsletter-form {
	display: flex;
	margin-top: 10px;
}

.newsletter-form input {
	flex: 1;
	padding: 12px 15px;
	border: none;
	border-radius: 4px 0 0 4px;
	font-size: 1rem;
}

.newsletter-form button {
	background-color: #3498db;
	color: white;
	border: none;
	padding: 0 20px;
	border-radius: 0 4px 4px 0;
	cursor: pointer;
	transition: background-color 0.3s;
}

.newsletter-form button:hover {
	background-color: #2980b9;
}

/* Second Level - Columns */
.footer-middle {
	display: flex;
	justify-content: space-between;
	padding: 40px 0;
	flex-wrap: wrap;
	gap: 30px;
}

.footer-column {
	flex: 1;
	min-width: 200px;
}

.footer-column h4 {
	font-size: 1.2rem;
	margin-bottom: 20px;
	color: #3498db;
	position: relative;
	padding-bottom: 10px;
}

.footer-column h4::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 40px;
	height: 2px;
	background-color: #3498db;
}

.footer-column ul {
	list-style: none;
}

.footer-column ul li {
	margin-bottom: 12px;
}

.footer-column ul li a {
	color: #bdc3c7;
	text-decoration: none;
	transition: color 0.3s;
	display: inline-block;
}

.footer-column ul li a:hover {
	color: #3498db;
	transform: translateX(5px);
}

.footer-column ul li a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--gradient);
	transition: width 0.3s ease;
}

.footer-column ul li a:hover::after {
	width: 100%;
}

.footer-column ul li a.active {
	color: white;
}

.footer-column ul li a.active::after {
	width: 100%;
}

/* Logo Column */
.logo-column {
	display: flex;
	flex-direction: column;
}

.footer-logo {
	font-size: 1.8rem;
	font-weight: 700;
	margin-bottom: 15px;
	color: #3498db;
}

.website-mentor {
	margin-bottom: 20px;
	color: #bdc3c7;
	line-height: 1.5;
}

.social-icons {
	display: flex;
	gap: 15px;
}

.social-icons a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	background-color: var(--glass-bg);
	border-radius: 50%;
	color: #fff;
	text-decoration: none;
	transition: var(--transition);
	font-size: 1.3rem;
	border: 1px solid var(--glass-border);
}

.social-icons a:hover {
	background-color: var(--gradient);
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

/* Language Select */
.language-select {
	width: 100%;
	padding: 10px;
	background-color: #34495e;
	border: 1px solid #4a6278;
	border-radius: 4px;
	color: #ecf0f1;
	font-size: 1rem;
}

/* Footer Bottom */
.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 20px;
	border-top: 1px solid #34495e;
	flex-wrap: wrap;
	gap: 15px;
}

.copyright {
	color: #bdc3c7;
}

.version {
	color: #bdc3c7;
}

/* Scroll Button */
.scroll-btn {
	position: fixed;
	right: 30px;
	bottom: 30px;
	width: 50px;
	height: 50px;
	background-color: #3498db;
	color: white;
	border: none;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	transition: all 0.3s;
	opacity: 0;
	visibility: hidden;
	z-index: 1000;
}

.scroll-btn.show {
	opacity: 1;
	visibility: visible;
}

.scroll-btn:hover {
	background-color: var(--website-background-color);
	transform: translateY(-3px);
}

/* Responsive Mobile Styles */
@media (max-width: 1024px) {
	.categories-nav {
		overflow-x: auto;
		justify-content: flex-start;
	}
	
	.category {
		white-space: nowrap;
	}
	
	.footer-top, .footer-middle, .footer-bottom {
		flex-direction: column;
		text-align: center;
	}

	.footer-column {
		width: 100%;
	}

	.footer-column h4::after {
		left: 50%;
		transform: translateX(-50%);
	}

	.social-icons {
		justify-content: center;
	}

	.newsletter-form {
		flex-direction: column;
		gap: 10px;
	}

	.newsletter-form input, .newsletter-form button {
		width: 100%;
		height: 2.5rem;
		border-radius: 4px;
	}

	.scroll-btn {
		right: 20px;
		bottom: 20px;
		width: 45px;
		height: 45px;
	}
}

/* Mobile View (768px and below) */
@media (max-width: 768px) {
	.top-nav-left, .top-nav-right {
		display: none;
	}

	.mobile-menu-btn {
		display: block;
	}

	.top-header {
		padding: 15px 5%;
	}

	.second-header {
		padding: 0 5%;
	}

	/* Hide categories nav on mobile */
	.categories-nav {
		display: none !important;
	}

	/* Display mobile menu button to the right */
	#mobileMenuBtn {
		display: flex;
		align-items: center;
		justify-content: center;
		margin-left: auto;
	}
}

@media (max-width: 480px) {
	.footer-container {
		padding: 0 15px;
	}

	.footer-top, .footer-middle {
		padding: 30px 0;
	}

	.help-text, .newsletter {
		min-width: 100%;
	}
	
	.mobile-sidebar {
		width: 85%;
	}
}