/**
 * Header & Footer Styles
 * Modern navigation and footer design
 */

/* ========================================
   Top Bar Styles - With Animations
   ======================================== */
#page .top-bar {
	background: linear-gradient(135deg, #3D348B 0%, #39429d 100%);
	color: #FFFFFF;
	padding: 5px 0;
	font-size: 13px;
	font-weight: 500;
	position: relative;
	overflow: hidden;
	animation: slideDownFadeIn 0.6s ease-out;
	transform-origin: top;
}

@keyframes slideDownFadeIn {
	from {
		opacity: 0;
		transform: translateY(-100%);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

#page .top-bar::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
	pointer-events: none;
	animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
	0%, 100% {
		transform: translateX(-100%);
	}
	50% {
		transform: translateX(100%);
	}
}

#page .top-bar-container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

#page .top-bar-left {
	display: flex;
	align-items: center;
	gap: 16px;
}

/* Stagger animation for top bar items */
#page .top-bar-item:nth-child(1) {
	animation: fadeInUp 0.6s ease-out 0.1s both;
}

#page .top-bar-item:nth-child(3) {
	animation: fadeInUp 0.6s ease-out 0.2s both;
}

#page .top-bar-item:nth-child(5) {
	animation: fadeInUp 0.6s ease-out 0.3s both;
}

#page .top-bar-social-link:nth-child(1) {
	animation: fadeInUp 0.6s ease-out 0.2s both;
}

#page .top-bar-social-link:nth-child(2) {
	animation: fadeInUp 0.6s ease-out 0.3s both;
}

#page .top-bar-social-link:nth-child(3) {
	animation: fadeInUp 0.6s ease-out 0.4s both;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

#page .top-bar-item {
	display: flex;
	align-items: center;
	gap: 6px;
	color: rgba(255, 255, 255, 0.9);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
}

#page .top-bar-item::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background: rgba(255, 255, 255, 0.8);
	transition: width 0.3s ease;
}

#page .top-bar-item:hover {
	color: #FFFFFF;
	transform: translateY(-1px);
}

#page .top-bar-item:hover::after {
	width: 100%;
}

#page .top-bar-item svg {
	flex-shrink: 0;
	opacity: 0.8;
	transition: all 0.3s ease;
}

#page .top-bar-item:hover svg {
	opacity: 1;
	transform: scale(1.1);
}

#page .top-bar-divider {
	width: 1px;
	height: 10px;
	background: rgba(255, 255, 255, 0.2);
	animation: fadeIn 0.8s ease-out 0.5s both;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

#page .top-bar-right {
	display: flex;
	align-items: center;
	gap: 14px;
}

#page .top-bar-social {
	display: flex;
	align-items: center;
	gap: 8px;
}

#page .top-bar-social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	position: relative;
	overflow: hidden;
}

#page .top-bar-social-link::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: width 0.4s ease, height 0.4s ease;
}

#page .top-bar-social-link:hover::before {
	width: 100%;
	height: 100%;
}

#page .top-bar-social-link:hover {
	color: #FFFFFF;
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.4);
	transform: translateY(-2px) scale(1.05);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

#page .top-bar-social-link svg {
	position: relative;
	z-index: 1;
	transition: transform 0.3s ease;
}

#page .top-bar-social-link:hover svg {
	transform: rotate(5deg) scale(1.1);
}

#page .top-bar-social-link svg {
	width: 15px;
	height: 15px;
}

#page .top-bar-login {
	color: #FFFFFF;
	text-decoration: none;
	font-weight: 600;
	transition: opacity 0.2s ease;
}

#page .top-bar-login:hover {
	opacity: 0.85;
}

#page .top-bar-register {
	background: rgba(255, 255, 255, 0.1);
	color: #FFFFFF;
	padding: 4px 12px;
	border-radius: 5px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.2s ease;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

#page .top-bar-register:hover {
	background: #FFFFFF;
	color: #3D348B;
	border-color: #FFFFFF;
}

/* ========================================
   Header Styles - Premium Modern Navbar
   ======================================== */
#page .site-header {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	position: sticky;
	top: 0;
	z-index: 1000;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.9) inset,
		0 4px 24px -4px rgba(0, 0, 0, 0.06),
		0 2px 8px -2px rgba(57, 66, 157, 0.04);
	animation: slideDownHeader 0.7s ease-out 0.1s both;
	transform-origin: top;
}

@keyframes slideDownHeader {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Enhanced shadow on scroll */
#page .site-header.scrolled {
	box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.8) inset,
		0 8px 32px -8px rgba(0, 0, 0, 0.1),
		0 4px 16px -4px rgba(57, 66, 157, 0.08);
}

#page .header-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 14px 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
	width: 100%;
	box-sizing: border-box;
	position: relative;
}

/* Stagger animation for header elements */
#page .site-branding {
	animation: fadeInLeft 0.7s ease-out 0.2s both;
}

#page .main-navigation {
	animation: fadeInDown 0.7s ease-out 0.3s both;
}

#page .header-actions {
	animation: fadeInRight 0.7s ease-out 0.4s both;
}

@keyframes fadeInLeft {
	from {
		opacity: 0;
		transform: translateX(-20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInRight {
	from {
		opacity: 0;
		transform: translateX(20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Logo / Site Branding */
#page .site-branding {
	flex-shrink: 0;
	display: block !important;
	visibility: visible !important;
}

#page .site-branding .custom-logo,
#page .site-branding .custom-logo-link {
	display: block !important;
	visibility: visible !important;
}

#page .site-branding .custom-logo img,
#page .site-branding .custom-logo-link img {
	height: 64px !important;
	width: auto !important;
	max-width: 260px !important;
	object-fit: contain !important;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

#page .site-logo {
	display: block !important;
	text-decoration: none;
	line-height: 0;
	visibility: visible !important;
	opacity: 1 !important;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

#page .site-logo:hover {
	transform: scale(1.03);
	opacity: 0.92;
}

#page .site-logo-img {
	height: 64px !important;
	width: auto !important;
	max-width: 260px !important;
	object-fit: contain !important;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	margin: 0;
	padding: 0;
}

#page .site-logo-text {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

#page .logo-icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
}

#page .logo-text-pharma {
	color: #3D348B;
}

#page .logo-text-pedia {
	color: #39429d;
}

/* Navigation - Premium pill-style links */
#page .main-navigation {
	flex: 1;
	display: flex;
	justify-content: center;
}

#page .main-navigation > ul {
	list-style: none;
	margin: 0;
	padding: 6px 10px;
	display: flex;
	gap: 4px;
	align-items: center;
	background: rgba(0, 0, 0, 0.02);
	border-radius: 999px;
	border: 1px solid rgba(0, 0, 0, 0.04);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) inset;
}

#page .main-navigation li {
	position: relative;
}

#page .main-navigation a {
	display: block;
	padding: 10px 18px;
	color: #475569;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.01em;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 999px;
	position: relative;
	overflow: hidden;
}

#page .main-navigation a::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(57, 66, 157, 0.08) 0%, rgba(99, 102, 241, 0.05) 100%);
	border-radius: 999px;
	opacity: 0;
	transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: -1;
}

#page .main-navigation a:hover::before,
#page .main-navigation .current-menu-item > a::before {
	opacity: 1;
}

#page .main-navigation a::after {
	display: none;
}

#page .main-navigation a:hover,
#page .main-navigation .current-menu-item > a {
	color: #1e1b4b;
	font-weight: 700;
}

#page .main-navigation a:hover::after,
#page .main-navigation .current-menu-item > a::after {
	display: none;
}

/* Dropdown menus - Premium glass style */
#page .main-navigation ul ul {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	min-width: 220px;
	padding: 8px;
	border-radius: 14px;
	border: 1px solid rgba(0, 0, 0, 0.06);
	box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.15),
		0 4px 16px -4px rgba(57, 66, 157, 0.08),
		0 1px 0 0 rgba(255, 255, 255, 0.8) inset;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	z-index: 100;
	flex-direction: column;
	gap: 2px;
}

#page .main-navigation li:hover > ul,
#page .main-navigation li.focus > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

#page .main-navigation ul ul a {
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 500;
	color: #475569;
	border-radius: 10px;
	transition: all 0.2s ease;
}

#page .main-navigation ul ul a:hover {
	background: linear-gradient(135deg, rgba(57, 66, 157, 0.06) 0%, rgba(99, 102, 241, 0.04) 100%);
	color: #1e1b4b;
}

/* Mobile Menu Toggle - Premium */
#page .menu-toggle {
	display: none;
	background: rgba(0, 0, 0, 0.03);
	border: 1px solid rgba(0, 0, 0, 0.06);
	padding: 0;
	cursor: pointer;
	position: relative;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	z-index: 1001;
	min-width: 44px;
	min-height: 44px;
}

#page .menu-toggle:hover {
	background: linear-gradient(135deg, rgba(57, 66, 157, 0.06) 0%, rgba(99, 102, 241, 0.04) 100%);
	border-color: rgba(57, 66, 157, 0.12);
	box-shadow: 0 2px 8px rgba(57, 66, 157, 0.08);
}

#page .menu-icon {
	position: relative;
	display: block;
	width: 20px;
	height: 2px;
	background: #39429d;
	border-radius: 2px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	margin: 0 auto;
}

#page .menu-icon::before,
#page .menu-icon::after {
	content: '';
	position: absolute;
	width: 20px;
	height: 2px;
	background: #39429d;
	border-radius: 2px;
	left: 0;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#page .menu-icon::before {
	top: -6px;
}

#page .menu-icon::after {
	bottom: -6px;
}

#page .menu-toggle[aria-expanded="true"] .menu-icon {
	background: transparent;
}

#page .menu-toggle[aria-expanded="true"] .menu-icon::before {
	transform: rotate(45deg) translate(4px, 4px);
	top: 0;
}

#page .menu-toggle[aria-expanded="true"] .menu-icon::after {
	transform: rotate(-45deg) translate(4px, -4px);
	bottom: 0;
}

/* Header Actions - Premium */
#page .header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

#page .header-search {
	background: rgba(0, 0, 0, 0.03);
	border: 1px solid rgba(0, 0, 0, 0.06);
	padding: 10px;
	cursor: pointer;
	color: #64748b;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
}

#page .header-search:hover {
	background: linear-gradient(135deg, rgba(57, 66, 157, 0.06) 0%, rgba(99, 102, 241, 0.04) 100%);
	border-color: rgba(57, 66, 157, 0.15);
	color: #39429d;
	box-shadow: 0 4px 12px rgba(57, 66, 157, 0.1);
}

#page .header-search svg {
	width: 20px;
	height: 20px;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#page .header-search:hover svg {
	transform: scale(1.08);
}

#page .btn-enroll {
	padding: 12px 24px;
	background: linear-gradient(135deg, #39429d 0%, #4f46e5 50%, #6366f1 100%);
	background-size: 200% 200%;
	color: #FFFFFF !important;
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.02em;
	border-radius: 12px;
	transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(57, 66, 157, 0.35),
		0 2px 6px rgba(57, 66, 157, 0.15),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.15);
	position: relative;
	overflow: hidden;
}

#page .btn-enroll::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

#page .btn-enroll:hover {
	background-position: 100% 50%;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(57, 66, 157, 0.4),
		0 4px 12px rgba(57, 66, 157, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

#page .btn-enroll:hover::before {
	opacity: 1;
}

#page .btn-enroll span,
#page .btn-enroll {
	position: relative;
	z-index: 1;
}

/* ========================================
   Footer Styles - Premium Enhanced
   ======================================== */
.site-footer {
	background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
	color: #94A3B8;
	padding: 100px 0 50px;
	position: relative;
	overflow: hidden;
}

.footer-container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
	position: relative;
	z-index: 2;
}

/* Enhanced background gradient effects */
.site-footer::before {
	content: "";
	position: absolute;
	top: -50%;
	left: -20%;
	width: 80%;
	height: 200%;
	background: radial-gradient(circle, rgba(57, 66, 157, 0.2) 0%, rgba(99, 102, 241, 0.1) 50%, transparent 70%);
	pointer-events: none;
	animation: pulse-glow 10s ease-in-out infinite;
}

.site-footer::after {
	content: "";
	position: absolute;
	bottom: -30%;
	right: -10%;
	width: 60%;
	height: 150%;
	background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 60%);
	pointer-events: none;
}

@keyframes pulse-glow {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.8; transform: scale(1.05); }
}

.footer-top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 80px;
	margin-bottom: 100px;
	position: relative;
	z-index: 1;
}

.footer-brand {
	flex: 1 1 300px;
	max-width: 400px;
}

.footer-logo {
	color: #FFFFFF;
	font-size: 32px;
	font-weight: 800;
	margin: 0 0 24px;
	letter-spacing: -0.02em;
	background: linear-gradient(135deg, #FFFFFF 0%, rgba(255, 255, 255, 0.8) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.footer-desc {
	font-size: 16px;
	line-height: 1.7;
	color: #94A3B8;
	margin-bottom: 32px;
}

.footer-social {
	display: flex;
	gap: 16px;
}

.social-link {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #FFFFFF;
	transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(10px);
}

.social-link:hover {
	background: linear-gradient(135deg, #39429d 0%, #6366f1 100%);
	border-color: #39429d;
	transform: translateY(-3px) scale(1.05);
	box-shadow: 0 8px 16px rgba(57, 66, 157, 0.3);
}

.footer-links {
	flex: 2 1 500px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}

.footer-col h3 {
	color: #FFFFFF;
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 28px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-col li {
	margin-bottom: 14px;
}

.footer-col a {
	color: #94A3B8;
	text-decoration: none;
	font-size: 15px;
	transition: all 200ms ease;
	display: inline-block;
}

.footer-col a:hover {
	color: #FFFFFF;
	text-decoration: none;
	transform: translateX(4px);
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-top: 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 24px;
	font-size: 14px;
	position: relative;
	z-index: 1;
}

.footer-extra-links {
	display: flex;
	gap: 24px;
}

.footer-extra-links a {
	color: #64748B;
	text-decoration: none;
	transition: all 200ms ease;
}

.footer-extra-links a:hover {
	color: #FFFFFF;
	transform: translateY(-1px);
}

@media (max-width: 900px) {
	.footer-links {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.footer-links {
		grid-template-columns: 1fr;
	}
	
	.footer-bottom {
		flex-direction: column;
		text-align: center;
	}
}

@media (max-width: 900px) {
	html, body {
		overflow-x: hidden;
		width: 100%;
		max-width: 100vw;
	}
	
	#page .site-header {
		position: sticky;
		top: 0;
		z-index: 1000;
		width: 100%;
		box-sizing: border-box;
	}
	
	#page .header-container {
		flex-wrap: wrap;
		gap: 12px;
		padding: 12px 16px;
		position: relative;
		width: 100%;
		box-sizing: border-box;
		max-width: 100%;
	}
	
	#page .site-branding {
		flex: 0 0 auto;
		order: 1;
		min-width: 0;
		max-width: 50%;
	}
	
	#page .header-actions {
		order: 2;
		margin-left: auto;
		display: flex;
		align-items: center;
		gap: 12px;
		flex: 0 0 auto;
	}
	
	#page .main-navigation {
		display: flex !important; /* Keep nav visible for toggle button */
		order: 2;
		width: auto;
		flex-basis: auto;
		margin-left: 8px;
		position: relative;
	}
	
	#page .main-navigation ul {
		display: none !important; /* Hide menu items */
	}
	
	#page .menu-toggle {
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: 44px; /* Better touch target */
		height: 44px; /* Better touch target */
		padding: 0;
		background: transparent;
		border: 2px solid #39429d;
		border-radius: 8px;
		cursor: pointer;
		position: relative;
		z-index: 1001;
		flex-shrink: 0;
		min-width: 44px;
		min-height: 44px;
	}
	
	#page .menu-toggle .menu-icon {
		display: block;
		width: 22px;
		height: 3px;
		background: var(--color-primary);
		border-radius: 2px;
		position: relative;
		transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	}
	
	#page .menu-toggle .menu-icon::before,
	#page .menu-toggle .menu-icon::after {
		content: '';
		position: absolute;
		width: 22px;
		height: 3px;
		background: var(--color-primary);
		border-radius: 2px;
		left: 0;
		transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	}
	
	#page .menu-toggle .menu-icon::before {
		top: -7px;
	}
	
	#page .menu-toggle .menu-icon::after {
		bottom: -7px;
	}
	
	#page .menu-toggle[aria-expanded="true"] .menu-icon {
		background: transparent;
	}
	
	#page .menu-toggle[aria-expanded="true"] .menu-icon::before {
		top: 0;
		transform: rotate(45deg) translate(5px, 5px);
	}
	
	#page .menu-toggle[aria-expanded="true"] .menu-icon::after {
		bottom: 0;
		transform: rotate(-45deg) translate(5px, -5px);
	}
	
	/* Mobile Navigation - Premium glass panel */
	#page .main-navigation.toggled {
		display: flex !important;
		flex-direction: column;
		visibility: visible !important;
		opacity: 1 !important;
		position: absolute;
		top: 100%;
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
		border-radius: 0 0 16px 16px;
		border: 1px solid rgba(0, 0, 0, 0.06);
		border-top: none;
		box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.12),
			0 4px 16px -4px rgba(57, 66, 157, 0.06);
		left: 0;
		right: 0;
		padding: 20px 16px;
		z-index: 1000;
		max-height: calc(100vh - 120px);
		overflow-y: auto;
		overflow-x: hidden;
		-webkit-overflow-scrolling: touch;
		/* Custom scrollbar for mobile menu only */
		scrollbar-width: none;
		-ms-overflow-style: none;
		width: 100%;
		box-sizing: border-box;
	}
	
	#page .main-navigation.toggled::-webkit-scrollbar {
		display: none;
	}
	
	#page .main-navigation.toggled > ul {
		background: none;
		border: none;
		box-shadow: none;
		border-radius: 0;
		padding: 0;
	}
	
	#page .main-navigation.toggled ul {
		display: block !important;
		flex-direction: column;
		gap: 0;
		width: 100%;
		margin: 0;
		padding: 0;
	}
	
	#page .main-navigation.toggled li {
		width: 100%;
		margin: 0;
		padding: 0;
		border-bottom: 1px solid rgba(0,0,0,0.05);
	}
	
	#page .main-navigation.toggled li:last-child {
		border-bottom: none;
	}
	
	#page .main-navigation.toggled a {
		display: block;
		padding: 14px 16px;
		width: 100%;
		font-size: 16px;
		font-weight: 600;
		color: var(--color-dark);
		border-radius: 8px;
		transition: all 0.2s ease;
	}
	
	#page .main-navigation.toggled a:hover {
		background: linear-gradient(135deg, rgba(57, 66, 157, 0.08) 0%, rgba(99, 102, 241, 0.05) 100%);
		color: #1e1b4b;
		padding-left: 20px;
	}
	
	#page .main-navigation.toggled ul ul {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: none;
		padding-left: 0;
		background: #F9FAFB;
		margin-top: 4px;
		border-radius: 8px;
		padding: 8px 0;
	}
	
	#page .main-navigation.toggled ul ul li {
		border-bottom: none;
		padding-left: 16px;
	}
	
	#page .main-navigation.toggled ul ul a {
		font-size: 14px;
		font-weight: 500;
		padding: 10px 16px;
	}
	
	#page .btn-enroll {
		padding: 10px 20px;
		font-size: 14px;
		white-space: nowrap;
	}
	
	#page .header-search {
		width: 40px;
		height: 40px;
		padding: 0;
		display: flex;
		align-items: center;
		justify-content: center;
	}
}

@media (max-width: 768px) {
	#page .top-bar {
		padding: 6px 0;
		font-size: 11px;
	}
	
	#page .top-bar-container {
		flex-direction: row;
		gap: 6px;
		padding: 0 16px;
		justify-content: space-between;
	}
	
	#page .top-bar-left {
		flex: 1;
		justify-content: flex-start;
		flex-wrap: nowrap;
		gap: 6px;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}
	
	#page .top-bar-left::-webkit-scrollbar {
		display: none;
	}
	
	#page .top-bar-item {
		font-size: 11px;
		gap: 4px;
		flex-shrink: 0;
		white-space: nowrap;
	}
	
	#page .top-bar-item svg {
		width: 12px;
		height: 12px;
		flex-shrink: 0;
	}
	
	#page .top-bar-item span {
		font-size: 10px;
		white-space: nowrap;
		overflow: visible;
		text-overflow: clip;
		max-width: none;
	}
	
	#page .top-bar-divider {
		display: none;
	}
	
	#page .top-bar-right {
		display: flex;
		gap: 8px;
	}
	
	#page .top-bar-social {
		display: flex;
		gap: 8px;
	}
	
	#page .top-bar-social-link {
		width: 24px;
		height: 24px;
	}
	
	#page .top-bar-social-link svg {
		width: 13px;
		height: 13px;
	}
	
	#page .site-header {
		position: sticky;
		top: 0;
		z-index: 1000;
	}
	
	#page .header-container {
		padding: 12px 16px;
		gap: 12px;
	}
	
	#page .footer-content {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

@media (max-width: 480px) {
	#page .top-bar {
		padding: 5px 0;
		font-size: 10px;
		display: block;
	}
	
	#page .top-bar-container {
		padding: 0 12px;
		flex-direction: row;
		justify-content: space-between;
	}
	
	#page .top-bar-left {
		flex-wrap: nowrap;
		gap: 6px;
		justify-content: flex-start;
		flex: 1;
	}
	
	#page .top-bar-item {
		font-size: 10px;
		gap: 3px;
		flex-shrink: 0;
		white-space: nowrap;
	}
	
	#page .top-bar-item span {
		font-size: 9px;
		max-width: none; /* Show full text */
		overflow: visible;
		text-overflow: clip;
		white-space: nowrap;
	}
	
	#page .top-bar-item:nth-child(3) span {
		display: inline; /* Show address on mobile */
	}
	
	#page .top-bar-right {
		display: flex;
		gap: 6px;
	}
	
	#page .top-bar-social {
		display: flex;
		gap: 6px;
	}
	
	#page .top-bar-social-link {
		width: 22px;
		height: 22px;
	}
	
	#page .top-bar-social-link svg {
		width: 11px;
		height: 11px;
	}
	
	#page .site-logo-img {
		height: 48px !important;
		max-width: 180px !important;
	}
	
	#page .site-logo-text {
		font-size: 22px;
	}
	
	#page .site-header {
		position: sticky;
		top: 0;
		z-index: 1000;
	}
	
	#page .header-container {
		padding: 10px 12px;
		gap: 8px;
		flex-wrap: nowrap;
	}
	
	#page .site-branding {
		flex: 0 0 auto;
		min-width: 0;
	}
	
	#page .header-actions {
		flex: 0 0 auto;
		gap: 8px;
	}
	
	#page .btn-enroll {
		padding: 10px 16px; /* Better touch target */
		font-size: 14px;
		white-space: nowrap;
		min-height: 44px; /* Better touch target */
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}
	
	#page .header-search {
		display: none; /* Save space on small mobile */
	}
	
	#page .menu-toggle {
		width: 44px; /* Better touch target */
		height: 44px; /* Better touch target */
		flex-shrink: 0;
		display: flex !important;
		min-width: 44px;
		min-height: 44px;
	}
	
	#page .menu-toggle .menu-icon {
		width: 20px;
		height: 3px;
	}
	
	#page .menu-toggle .menu-icon::before,
	#page .menu-toggle .menu-icon::after {
		width: 20px;
		height: 3px;
	}
	
	#page .top-bar-social-link {
		width: 24px;
		height: 24px;
	}
	
	#page .top-bar-social-link svg {
		width: 13px;
		height: 13px;
	}
	
	#page .main-navigation.toggled {
		padding: 16px 12px;
		left: 0;
		right: 0;
		width: 100%;
		box-sizing: border-box;
	}
	
	#page .main-navigation.toggled a {
		padding: 12px 12px;
		font-size: 15px;
	}
	
	#page .main-navigation.toggled ul {
		display: block !important;
		width: 100%;
	}
	
	#page .main-navigation.toggled li {
		width: 100%;
	}
}


/* ========================================
   Footer V3 - Premium Redesign
   ======================================== */
.site-footer-v3 {
	background: linear-gradient(180deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
	color: #94A3B8;
	padding: 100px 0 40px;
	position: relative;
	overflow: hidden;
}

/* Enhanced decorative elements */
.footer-decoration {
	position: absolute;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(57, 66, 157, 0.15) 0%, transparent 70%);
	filter: blur(80px);
	pointer-events: none;
	animation: float-decoration 20s ease-in-out infinite;
}

.footer-decoration--1 {
	width: 600px;
	height: 600px;
	top: -200px;
	left: -100px;
	animation-delay: 0s;
}

.footer-decoration--2 {
	width: 500px;
	height: 500px;
	bottom: -150px;
	right: -100px;
	background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
	animation-delay: 10s;
}

@keyframes float-decoration {
	0%, 100% {
		transform: translate(0, 0) scale(1);
		opacity: 0.6;
	}
	50% {
		transform: translate(30px, -30px) scale(1.1);
		opacity: 0.8;
	}
}

.site-footer-v3 .footer-container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
	position: relative;
	z-index: 2;
}

.site-footer-v3 .footer-top {
	display: grid;
	grid-template-columns: 1.2fr 2fr;
	gap: 80px;
	margin-bottom: 80px;
	position: relative;
	z-index: 1;
}

.site-footer-v3 .footer-brand {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.site-footer-v3 .footer-logo {
	color: #FFFFFF;
	font-size: 36px;
	font-weight: 800;
	margin: 0;
	letter-spacing: -0.02em;
	background: linear-gradient(135deg, #FFFFFF 0%, rgba(255, 255, 255, 0.85) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	position: relative;
	display: inline-block;
	width: fit-content;
}

.site-footer-v3 .footer-logo::after {
	content: "";
	position: absolute;
	bottom: -8px;
	left: 0;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, var(--pp-purple), var(--pp-purple-light));
	border-radius: 2px;
}

.site-footer-v3 .footer-desc {
	font-size: 16px;
	line-height: 1.7;
	color: #94A3B8;
	margin: 0;
	max-width: 400px;
}

.site-footer-v3 .footer-stats {
	display: flex;
	gap: 32px;
	padding: 24px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer-v3 .footer-stat {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.site-footer-v3 .footer-stat-number {
	font-size: 28px;
	font-weight: 800;
	line-height: 1;
	background: linear-gradient(135deg, var(--pp-purple-light) 0%, #FFFFFF 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.site-footer-v3 .footer-stat-label {
	font-size: 13px;
	color: #64748B;
	font-weight: 500;
}

.site-footer-v3 .footer-social {
	display: flex;
	gap: 12px;
}

.site-footer-v3 .social-link {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #FFFFFF;
	transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(10px);
	position: relative;
	overflow: hidden;
}

.site-footer-v3 .social-link::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	background: linear-gradient(135deg, var(--pp-purple) 0%, var(--pp-purple-light) 100%);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: width 0.4s ease, height 0.4s ease;
	z-index: 0;
}

.site-footer-v3 .social-link:hover::before {
	width: 100%;
	height: 100%;
}

.site-footer-v3 .social-link svg {
	position: relative;
	z-index: 1;
	transition: transform 0.3s ease;
}

.site-footer-v3 .social-link:hover {
	border-color: var(--pp-purple-light);
	transform: translateY(-4px) scale(1.05);
	box-shadow: 0 8px 20px rgba(57, 66, 157, 0.3);
}

.site-footer-v3 .social-link:hover svg {
	transform: scale(1.1) rotate(5deg);
}

.site-footer-v3 .footer-links {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px;
}

.site-footer-v3 .footer-col h3 {
	color: #FFFFFF;
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 24px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	position: relative;
	display: inline-block;
}

.site-footer-v3 .footer-col h3::after {
	content: "";
	position: absolute;
	bottom: -8px;
	left: 0;
	width: 30px;
	height: 2px;
	background: linear-gradient(90deg, var(--pp-purple-light), transparent);
	border-radius: 2px;
}

.site-footer-v3 .footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.site-footer-v3 .footer-col li {
	margin: 0;
}

.site-footer-v3 .footer-col a {
	color: #94A3B8;
	text-decoration: none;
	font-size: 15px;
	transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	position: relative;
}

.site-footer-v3 .footer-col a::before {
	content: "→";
	opacity: 0;
	transform: translateX(-10px);
	transition: all 0.3s ease;
	color: var(--pp-purple-light);
	font-weight: 700;
}

.site-footer-v3 .footer-col a:hover {
	color: #FFFFFF;
	transform: translateX(8px);
}

.site-footer-v3 .footer-col a:hover::before {
	opacity: 1;
	transform: translateX(0);
}

.site-footer-v3 .footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 32px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
	font-size: 14px;
	position: relative;
	z-index: 1;
}

.site-footer-v3 .footer-copyright {
	color: #64748B;
}

.site-footer-v3 .footer-extra-links {
	display: flex;
	align-items: center;
	gap: 16px;
}

.site-footer-v3 .footer-divider {
	color: rgba(255, 255, 255, 0.2);
}

.site-footer-v3 .footer-extra-links a {
	color: #64748B;
	text-decoration: none;
	transition: all 200ms ease;
	position: relative;
}

.site-footer-v3 .footer-extra-links a::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 1px;
	background: var(--pp-purple-light);
	transition: width 0.3s ease;
}

.site-footer-v3 .footer-extra-links a:hover {
	color: #FFFFFF;
}

.site-footer-v3 .footer-extra-links a:hover::after {
	width: 100%;
}

/* Responsive Footer V3 */
@media (max-width: 1024px) {
	.site-footer-v3 .footer-top {
		grid-template-columns: 1fr;
		gap: 60px;
	}
	
	.site-footer-v3 .footer-brand {
		max-width: 100%;
	}
	
	.site-footer-v3 .footer-desc {
		max-width: 600px;
	}
}

@media (max-width: 768px) {
	.site-footer-v3 {
		padding: 80px 0 40px;
	}
	
	.site-footer-v3 .footer-top {
		gap: 48px;
		margin-bottom: 60px;
	}
	
	.site-footer-v3 .footer-logo {
		font-size: 28px;
	}
	
	.site-footer-v3 .footer-stats {
		flex-wrap: wrap;
		gap: 24px;
	}
	
	.site-footer-v3 .footer-links {
		grid-template-columns: repeat(2, 1fr);
		gap: 40px;
	}
	
	.site-footer-v3 .footer-bottom {
		flex-direction: column;
		text-align: center;
		gap: 16px;
	}
}

@media (max-width: 480px) {
	.site-footer-v3 {
		padding: 60px 0 32px;
	}
	
	.site-footer-v3 .footer-logo {
		font-size: 24px;
	}
	
	.site-footer-v3 .footer-desc {
		font-size: 15px;
	}
	
	.site-footer-v3 .footer-stats {
		flex-direction: column;
		gap: 20px;
	}
	
	.site-footer-v3 .footer-stat {
		align-items: center;
		text-align: center;
	}
	
	.site-footer-v3 .footer-social {
		justify-content: center;
	}
	
	.site-footer-v3 .footer-links {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	
	.site-footer-v3 .footer-col {
		text-align: center;
	}
	
	.site-footer-v3 .footer-col h3 {
		display: block;
	}
	
	.site-footer-v3 .footer-col h3::after {
		left: 50%;
		transform: translateX(-50%);
	}
	
	.site-footer-v3 .footer-col ul {
		align-items: center;
	}
	
	.site-footer-v3 .footer-extra-links {
		flex-wrap: wrap;
		justify-content: center;
	}
}
