/*
Theme Name: BlankSlate
Theme URI: https://opencollective.com/blankslate
Author: Web Guy
Author URI: https://opencollective.com/blankslate#section-contributors
Description: Donate: https://opencollective.com/blankslate. Learn: https://blankslate.me/. BlankSlate is the definitive WordPress boilerplate starter theme. I've carefully constructed the most clean and minimalist theme possible for designers and developers to use as a base to build websites for clients or to build completely custom themes from scratch. Clean, simple, unstyled, semi-minified, unformatted, and valid code, SEO-friendly, jQuery-enabled, no programmer comments, standardized and as white label as possible, and most importantly, the CSS is reset for cross-browser-compatability, with no intrusive visual CSS styles added whatsoever. A perfect skeleton theme. For support and suggestions, go to: https://github.com/webguyio/blankslate/issues. Thank you.
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 2026
Requires at least: 5.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: blankslate

BlankSlate WordPress Theme 2011-2026
BlankSlate is distributed under the terms of the GNU GPL
*/

@font-face {
	font-family: 'Vazirmatn';
	src: url('fonts/vazirmatn/Vazirmatn-Regular.woff2') format('woff2'),
		 url('fonts/vazirmatn/Vazirmatn-Regular.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Vazirmatn';
	src: url('fonts/vazirmatn/Vazirmatn-Bold.woff2') format('woff2'),
		 url('fonts/vazirmatn/Vazirmatn-Bold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Vazirmatn';
	src: url('fonts/vazirmatn/Vazirmatn-Light.woff2') format('woff2'),
		 url('fonts/vazirmatn/Vazirmatn-Light.woff') format('woff');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Vazirmatn';
	src: url('fonts/vazirmatn/Vazirmatn-Medium.woff2') format('woff2'),
		 url('fonts/vazirmatn/Vazirmatn-Medium.woff') format('woff');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Vazirmatn';
	src: url('fonts/vazirmatn/Vazirmatn-ExtraBold.woff2') format('woff2'),
		 url('fonts/vazirmatn/Vazirmatn-ExtraBold.woff') format('woff');
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Vazirmatn';
	src: url('fonts/vazirmatn/Vazirmatn-Black.woff2') format('woff2'),
		 url('fonts/vazirmatn/Vazirmatn-Black.woff') format('woff');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--primary: #ff0000;
	--primary-hover: #cc0000;
	--dark: #1a1a1a;
	--gray-text: #666666;
	--white: #ffffff;
	--transition: all 0.3s ease;
}

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	font-family: Vazirmatn, sans-serif;
	background-color: var(--white);
	color: var(--dark);
	overflow-x: hidden;
	width: 100%;
}

/* Front page hero styles (video-preview, play-button-ripple, floating-card, etc.) moved to css/front-page.css */

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,0,0,0.7); } 70% { box-shadow: 0 0 0 25px rgba(255,0,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,0,0,0); } }

/* Layout wrapper: full width background with centered content */
#wrapper {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

/* Content container for centered sections */
.content-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 40px;
	box-sizing: border-box;
}

/* Sections that need full width backgrounds */
footer.site-footer {
	width: 100%;
}

/* Page layout: main content + optional sidebar */
#container {
	display: flex;
	gap: 30px;
	align-items: flex-start;
	padding: 40px;
	max-width: 1400px;
	margin: 0 auto;
	box-sizing: border-box;
}
#content {
	flex: 1 1 auto;
	min-width: 0;
}
#sidebar, aside#sidebar {
	flex: 0 0 320px;
	width: 320px;
}

@media (max-width: 992px) {
	#container { display: block; padding: 20px 0; }
	#sidebar, aside#sidebar { width: auto; flex: none; }
}

/* Front-page specific styles (stats-bar, chips, courses-grid, etc.) moved to css/front-page.css */

/* Income Calculator Section - moved to css/front-page.css */

/* WooCommerce single-product styles moved to css/single.css */

/* Ostad Ads Banner - moved to css/front-page.css */

/* Newsletter - moved to css/front-page.css */

footer.site-footer { 
	width: 100%;
	background: #ffffff; 
	padding: 100px 0 0; 
	border-top: 1px solid rgba(0,0,0,0.05);
	position: relative;
}

footer.site-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--primary) 0%, #ff4d4d 100%);
}

.footer-content {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 40px;
}

.footer-grid { 
	display: grid; 
	grid-template-columns: 1.5fr 1fr 1fr; 
	gap: 60px; 
	margin-bottom: 80px; 
}

@media (max-width: 1024px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 40px;
	}
}

@media (max-width: 768px) {
	footer.site-footer {
		padding: 60px 0 0;
	}
	
	.footer-content {
		padding: 0 25px;
	}
	
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 35px;
		text-align: center;
		margin-bottom: 50px;
	}
	
	.footer-col h4::after {
		right: 50%;
		transform: translateX(50%);
	}
	
	.footer-logo .logo {
		justify-content: center;
	}
	
	.social-links {
		justify-content: center;
	}
	
	.footer-bottom {
		padding: 25px 20px !important;
	}
	
	.footer-bottom > div {
		flex-direction: column;
		gap: 15px !important;
	}
}

.footer-logo .logo {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 28px;
	font-weight: 900;
	color: var(--dark);
	margin-bottom: 25px;
}

.footer-logo .logo i {
	color: var(--primary);
	font-size: 32px;
}

.footer-logo p { color: var(--gray-text); line-height: 1.8; margin-bottom: 30px; font-size: 15px; max-width: 400px; }

.footer-col h4 { 
	margin-bottom: 30px; 
	font-size: 19px; 
	color: var(--dark);
	font-weight: 800;
	position: relative;
	display: inline-block;
}

.footer-col h4::after {
	content: '';
	position: absolute;
	bottom: -8px;
	right: 0;
	width: 30px;
	height: 3px;
	background: var(--primary);
	border-radius: 2px;
}

.footer-col li { 
	list-style: none; 
	margin-bottom: 15px; 
	color: var(--gray-text); 
	transition: var(--transition);
}

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

.footer-links-list li {
	margin-bottom: 12px;
}

.footer-links-list a {
	color: var(--gray-text);
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	font-size: 15px;
	display: inline-flex;
	align-items: center;
	gap: 0;
}

.footer-links-list a::before {
	content: '←';
	margin-left: 0;
	opacity: 0;
	font-size: 12px;
	transition: all 0.3s ease;
	width: 0;
}

.footer-links-list a:hover {
	color: var(--primary);
	gap: 8px;
}

.footer-links-list a:hover::before {
	opacity: 1;
	width: 15px;
}

.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-links a { 
	width: 42px; 
	height: 42px; 
	background: #f8f8f8; 
	border-radius: 12px; 
	display: flex; 
	align-items: center; 
	justify-content: center; 
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
	color: var(--dark);
	border: 1px solid rgba(0,0,0,0.03);
}

.social-links a:hover { 
	background: var(--primary); 
	color: white;
	transform: translateY(-5px) rotate(8deg);
	box-shadow: 0 10px 20px rgba(255,0,0,0.2);
	border-color: var(--primary);
}

@media (max-width: 992px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.utility-inner, .header-inner, .footer-content, #container { padding: 0 30px; }
}

@media (max-width: 768px) {
	.promo-inner { flex-wrap: wrap; gap: 10px; padding: 5px 15px; }
	.promo-inner span { font-size: 13px; text-align: center; width: 100%; order: 1; }
	.promo-bar i { order: 0; }
	.promo-cta { order: 2; font-size: 12px; padding: 4px 12px; }
}

@media (max-width: 480px) {
	.site-logo-image, .custom-logo { height: 28px !important; }
	.header-utility-bar { display: none !important; }
	.promo-bar { font-size: 11px; padding: 10px 0; }
	.promo-inner { gap: 6px; }
	.promo-inner span { font-size: 11px; }
	.utility-inner, .header-inner, .footer-content, #container { padding: 0 15px; }
	
	.header-inner {
		padding: 8px 15px !important;
		gap: 8px !important;
	}
	
	.header-left {
		gap: 6px !important;
	}
	
	.menu-toggle {
		padding: 6px;
	}
	
	.icon-btn {
		width: 36px !important;
		height: 36px !important;
		font-size: 14px !important;
		border-radius: 8px;
	}
	
	.account-dropdown {
		padding: 3px 6px !important;
		min-width: 36px;
	}
	
	.account-dropdown img {
		width: 30px !important;
		height: 30px !important;
	}
	
	.account-info i {
		display: none;
	}
}

/* Header Layout */
.site-header {
	background: var(--white);
	border-bottom: 1px solid #eee;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	max-width: 1400px;
	margin: 0 auto;
	padding: 12px 40px;
	gap: 20px;
	flex-wrap: nowrap;
	overflow: visible;
}

.header-right {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	order: 1;
	min-width: 0;
}

.header-left {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
	margin-right: auto;
	order: 3;
	min-width: 0;
	flex-shrink: 0;
}

/* Navigation styles */
.main-navigation { 
	display: flex; 
	align-items: center; 
	gap: 20px; 
	flex: 1; 
	justify-content: center;
	min-width: 0;
	order: 2;
}
.main-menu { display: flex; gap: 18px; align-items: center; flex-wrap: nowrap; white-space: nowrap; }
.main-menu li { list-style: none; display: inline-block; position: relative; }
.main-menu a { color: var(--dark); text-decoration: none; font-weight: 600; padding: 7px 10px; border-radius: 8px; display: inline-block; font-size: 14px; }
.main-menu a:hover { background: rgba(0,0,0,0.03); }
.menu-toggle { 
	display: none; 
	background: transparent; 
	border: none; 
	font-size: 20px; 
	color: var(--dark); 
	cursor: pointer;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	transition: var(--transition);
	position: relative;
	z-index: 10001;
}

.menu-toggle:hover {
	background: rgba(0,0,0,0.05);
}

.menu-toggle:active {
	transform: scale(0.95);
}

@media (max-width: 860px) {
	.main-menu { display: none !important; }
	.menu-toggle { display: inline-flex !important; }
	
	.header-left .btn-outline, 
	.header-left .btn-solid { 
		display: none !important; 
	}
	
	.header-inner {
		padding: 10px 20px;
		gap: 12px;
	}
	
	.main-navigation {
		flex: 0 0 auto;
		justify-content: flex-start;
		order: 1;
	}
	
	.header-right {
		order: 2;
	}
	
	.header-left {
		gap: 8px;
		order: 3;
	}
	
	.icon-btn {
		width: 38px;
		height: 38px;
		font-size: 15px;
	}
	
	.btn-outline {
		padding: 8px 14px;
		font-size: 13px;
	}
	
	.btn-solid {
		padding: 8px 16px;
		font-size: 13px;
	}
	
	.account-dropdown {
		padding: 4px 8px;
	}
	
	.account-dropdown img {
		width: 32px;
		height: 32px;
	}
	
	.account-name {
		display: none;
	}
	
	.site-logo-image, .custom-logo {
		height: 32px !important;
	}
}

/* Submenu (dropdown) styles - fixed hover issue */
.main-menu .sub-menu {
	position: absolute;
	top: 100%;
	right: 0;
	background: var(--white);
	min-width: 220px;
	border-radius: 12px;
	box-shadow: 0 15px 40px rgba(15,15,15,0.15);
	display: none;
	padding: 8px;
	z-index: 2000;
	margin-top: 0;
	border: 1px solid #f0f0f0;
}
.main-menu .sub-menu li { display: block; }
.main-menu .sub-menu a { 
	display: block; 
	padding: 12px 16px; 
	color: var(--dark); 
	font-weight: 500; 
	white-space: nowrap;
	border-radius: 8px;
	transition: var(--transition);
}
.main-menu .sub-menu a:hover {
	background: linear-gradient(135deg, #fff3f3 0%, #ffe8e8 100%);
	color: var(--primary);
	transform: translateX(-3px);
}
.main-menu > li { position: relative; }
.main-menu > li::before {
	content: '';
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: 8px;
	background: transparent;
	z-index: 1999;
}
.main-menu li:focus-within > .sub-menu,
.main-menu li:hover > .sub-menu { display: block; animation: dropdown 220ms ease both; }

.main-menu > li.menu-item-has-children > a::after { content: '▾'; margin-inline-start: 8px; font-size: 12px; opacity: 0.85; }

@keyframes dropdown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Prevent submenu from overflowing viewport on small screens */
@media (max-width: 480px) {
	.main-menu .sub-menu { position: static; box-shadow: none; border-radius: 6px; padding-left: 6px; padding-right: 6px; }
	.main-menu a { font-size: 15px; }
}

/* Header utility bar */
.header-utility-bar { 
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); 
	color: #fff; 
	padding: 8px 0; 
	font-size: 13px; 
}
.utility-inner { 
	display: flex; 
	justify-content: center; 
	align-items: center; 
	max-width: 1400px; 
	margin: 0 auto; 
	padding: 0 40px;
	gap: 8px;
}
.utility-social, .utility-social-icon { 
	display: inline-flex; 
	width: 28px; 
	height: 28px; 
	align-items: center; 
	justify-content: center; 
	background: rgba(255,255,255,0.1); 
	border-radius: 6px; 
	color: #fff; 
	text-decoration: none; 
	font-size: 13px; 
	transition: var(--transition); 
}
.utility-social-icon:hover { 
	background: var(--primary); 
	transform: translateY(-2px); 
}

/* Promo bar */
.promo-bar { background: linear-gradient(90deg, #ff0000 0%, #ff4444 100%); color: white; padding: 12px 0; text-align: center; box-shadow: 0 2px 8px rgba(255,0,0,0.2); position: relative; z-index: 10; }
.promo-inner { display: flex; align-items: center; justify-content: center; gap: 15px; font-weight: 600; animation: slideIn 0.5s ease; padding: 0 20px; max-width: 1400px; margin: 0 auto; }
.promo-inner span { line-height: 1.4; }
.promo-bar i { font-size: 18px; animation: pulse 2s infinite; flex-shrink: 0; }
.promo-cta { background: rgba(255,255,255,0.2); padding: 6px 16px; border-radius: 20px; color: white; text-decoration: none; font-size: 13px; font-weight: bold; backdrop-filter: blur(5px); transition: var(--transition); flex-shrink: 0; white-space: nowrap; }
.promo-cta:hover { background: rgba(255,255,255,0.3); transform: scale(1.05); }

/* Logo styles */
.site-logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	transition: var(--transition);
}
.site-logo-link:hover {
	transform: translateY(-2px);
	filter: brightness(1.05);
}
.site-logo-image {
	height: 35px !important;
	max-height: 35px !important;
	width: auto !important;
	display: block;
	transition: var(--transition);
}

/* Custom logo support */
.custom-logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	transition: var(--transition);
}
.custom-logo-link:hover {
	transform: translateY(-2px);
	filter: brightness(1.05);
}
.custom-logo {
	height: 35px !important;
	max-height: 35px !important;
	width: auto !important;
	display: block;
}

/* Old logo styles - keeping for backward compatibility */
.site-title-link { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--dark); transition: var(--transition); }
.site-title-link:hover { transform: translateY(-2px); }
.logo-icon-wrap { position: relative; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: linear-gradient(135deg, var(--primary) 0%, #cc0000 100%); border-radius: 14px; box-shadow: 0 8px 20px rgba(255,0,0,0.3); }
.logo-icon-wrap i { font-size: 32px; color: white; }
.logo-badge { position: absolute; top: -6px; left: -6px; background: linear-gradient(135deg, #FFD700, #FFA500); color: #000; font-size: 9px; font-weight: 900; padding: 2px 6px; border-radius: 6px; box-shadow: 0 2px 8px rgba(255,215,0,0.5); }
.site-title-text { font-weight: 900; font-size: 22px; color: var(--dark); }
.site-title-text-wrap { display: flex; flex-direction: column; line-height: 1.2; }
.site-tagline { font-size: 12px; color: var(--gray-text); font-weight: 500; margin-top: 4px; }

/* Icon buttons */
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: #f5f5f5; border: 0; border-radius: 10px; cursor: pointer; transition: var(--transition); position: relative; }
.icon-btn:hover { background: var(--primary); color: white; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255,0,0,0.2); }
.icon-btn i { font-size: 16px; }

/* Notifications styles moved to css/notifications.css */

/* Enhanced account dropdown */
.account-dropdown { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; padding: 6px 12px; background: #f5f5f5; border-radius: 12px; transition: var(--transition); }
.account-dropdown:hover { background: #e8e8e8; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.account-dropdown img { border-radius: 50%; border: 2px solid var(--primary); box-shadow: 0 2px 8px rgba(255,0,0,0.2); }
.account-info { display: flex; align-items: center; gap: 6px; }
.account-name { font-weight: 600; font-size: 14px; }
.account-dropdown .account-menu { position: absolute; right: 0; top: 100%; background: #fff; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.15); padding: 12px; display: none; min-width: 220px; z-index: 5000; border: 1px solid #eee; pointer-events: auto; margin-top: 0 !important; }
/* Invisible bridge to prevent dropdown from closing when moving mouse to menu */
.account-dropdown .account-menu::before { content: ''; position: absolute; top: -10px; right: 0; left: 0; height: 10px; pointer-events: auto; }
.account-dropdown:hover .account-menu, .account-dropdown:focus-within .account-menu, .account-dropdown.active .account-menu { display: block; animation: dropdown 220ms ease both; }
.account-dropdown .account-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: var(--dark); text-decoration: none; border-radius: 8px; transition: var(--transition); cursor: pointer; }
.account-dropdown .account-menu a:hover { background: #f7f7f7; color: var(--primary); }
.account-dropdown .account-menu a i { width: 18px; }
.account-dropdown .account-menu hr { border: 0; border-top: 1px solid #eee; margin: 8px 0; }

/* Ensure account dropdown stays within viewport on small screens and above overlays */
@media (max-width: 520px) {
	.account-dropdown .account-menu {
		display: none !important;
	}
}

/* Prevent the dropdown from being hidden behind off-canvas panels */
.account-dropdown .account-menu { z-index: 100000; }

/* Enhanced buttons */
.btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border: 2px solid var(--primary); border-radius: 10px; color: var(--primary); font-weight: 700; transition: var(--transition); text-decoration: none; }
.btn-outline:hover { background: var(--primary); color: white; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,0,0,0.3); }
.btn-solid { 
	display: inline-flex; 
	align-items: center; 
	gap: 8px; 
	padding: 12px 24px; 
	background-color: #ff0000; /* Fallback */
	background: linear-gradient(135deg, var(--primary) 0%, #cc0000 100%); 
	color: white; 
	border-radius: 10px; 
	font-weight: 700; 
	border: none; 
	cursor: pointer; 
	transition: var(--transition); 
	text-decoration: none; 
	box-shadow: 0 4px 16px rgba(255,0,0,0.3); 
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,0,0,0.4); }
.btn-glow { position: relative; overflow: hidden; }
.btn-glow::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); transition: 0.5s; }
.btn-glow:hover::before { left: 100%; }

/* Hamburger: minimal white rounded card with three red dashes */
.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background: #ffffff;
	border-radius: 14px;
	border: 1px solid rgba(0,0,0,0.04);
	box-shadow: 0 12px 30px rgba(0,0,0,0.08);
	transition: transform 180ms ease, box-shadow 180ms ease, background 200ms ease;
	padding: 8px;
	cursor: pointer;
}

.menu-toggle:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.menu-toggle:focus-visible {
	outline: 3px solid rgba(255,0,0,0.12);
	outline-offset: 4px;
}

/* center container for the three short dashes */
.menu-toggle .toggle-inner {
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: center;
	justify-content: center;
}

.toggle-icon {
	display: block;
	width: 28px;
	height: 6px;
	background: var(--primary);
	border-radius: 6px;
	box-shadow: inset 0 -2px 0 rgba(0,0,0,0.04);
	transition: transform 260ms cubic-bezier(0.2,0.9,0.2,1), opacity 180ms ease, width 200ms ease;
}

.toggle-icon:nth-child(2) {
	width: 18px;
	opacity: 0.95;
}

/* compressed look (visual spacing) */
.toggle-icon::before,
.toggle-icon::after { content: none; }

.menu-toggle[aria-expanded="true"] {
	background: linear-gradient(180deg, rgba(255,240,240,0.9), #fff);
	box-shadow: 0 18px 40px rgba(255,0,0,0.06);
}

.menu-toggle[aria-expanded="true"] .toggle-icon:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .toggle-icon:nth-child(2) {
	opacity: 0;
	transform: scaleX(0.4);
}
.menu-toggle[aria-expanded="true"] .toggle-icon:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* compact variant for smaller screens */
@media (max-width: 480px) {
	.menu-toggle { width: 48px; height: 48px; padding: 6px; border-radius: 12px; }
	.toggle-icon { width: 22px; height: 5px; }
	.toggle-icon:nth-child(2) { width: 14px; }
}

/* ==========================
   Header hamburger final design (high specificity)
   Small circular dark button with white bars that morph to X
   ========================== */
@media (max-width: 860px) {
	header.site-header .menu-toggle {
		display: inline-flex !important;
		flex-direction: column !important;
		gap: 4px !important;
		align-items: center !important;
		justify-content: center !important;
		width: 44px !important;
		height: 44px !important;
		background: #1a1a1a !important;
		border-radius: 12px !important;
		border: none !important;
		box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
		transition: all 200ms ease !important;
		padding: 0 !important;
		cursor: pointer !important;
		z-index: 10002 !important;
		position: absolute !important;
		left: 12px !important;
		top: 50% !important;
		transform: translateY(-50%) !important;
	}

	header.site-header .menu-toggle:hover { transform: translateY(-52%) !important; background: #000 !important; box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important; }
	header.site-header .menu-toggle:focus-visible { outline: 2px solid var(--primary) !important; outline-offset: 2px !important; }

	/* three white bars centered */
	header.site-header .menu-toggle .toggle-icon {
		display: block !important;
		width: 20px !important;
		height: 2px !important;
		background: #fff !important;
		border-radius: 4px !important;
		transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) !important;
	}

	/* expanded state -> cross */
	header.site-header .menu-toggle[aria-expanded="true"] {
		background: var(--primary) !important;
	}
	header.site-header .menu-toggle[aria-expanded="true"] .toggle-icon:nth-child(1) { transform: translateY(6px) rotate(45deg) !important; }
	header.site-header .menu-toggle[aria-expanded="true"] .toggle-icon:nth-child(2) { opacity: 0 !important; }
	header.site-header .menu-toggle[aria-expanded="true"] .toggle-icon:nth-child(3) { transform: translateY(-6px) rotate(-45deg) !important; }

	/* Ensure header-left content doesn't overlap the left-anchored toggle */
	header.site-header .header-left { margin-left: 72px !important; }
}

@media (max-width: 480px) {
	header.site-header .menu-toggle { width:40px !important; height:40px !important; left: 8px !important; }
	header.site-header .menu-toggle .toggle-icon { width:18px !important; }
	header.site-header .header-left { margin-left: 56px !important; }
}

/* Hide any leftover .menu-label if present */
header.site-header .menu-toggle .menu-label { display: none !important; }

/* Header layout order */
.main-navigation { 
	order: 2; 
	flex: 1 1 auto; 
	display: flex; 
	align-items: center; 
	justify-content: center; 
}
.header-left { 
	display: flex; 
	flex-direction: row-reverse;
	align-items: center; 
	gap: 12px; 
}

/* Force explicit visual ordering for header actions (robust in RTL) */
.header-left .header-notifications { order: 2 !important; }
.header-left .account-dropdown { order: 3 !important; }
.header-left .login-modal-trigger, .header-left .btn-outline { order: 4 !important; }
.header-left .btn-solid { order: 5 !important; }

.menu-toggle { background: transparent; border: 0; font-size: 18px; cursor: pointer; color: var(--dark); padding: 8px; border-radius: 8px; }
.menu-toggle:hover { background: rgba(0,0,0,0.03); }

/* Search overlay and mobile navigation rules moved to css/search.css */

/* Mobile Menu Overlay - Full Screen */
.mobile-menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(10px);
	z-index: 9999;
	display: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
	display: block;
	opacity: 1;
}

.mobile-menu-container {
	position: fixed;
	top: 0;
	right: -100%;
	width: 85%;
	max-width: 380px;
	height: 100vh;
	background: var(--white);
	box-shadow: -10px 0 40px rgba(0,0,0,0.15);
	z-index: 10000;
	overflow-y: auto;
	transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
	padding: 0;
	display: flex;
	flex-direction: column;
}

.mobile-menu-overlay.active .mobile-menu-container {
	right: 0;
}

.mobile-menu-close {
	position: absolute;
	top: 20px;
	left: 20px;
	width: 40px;
	height: 40px;
	background: rgba(0,0,0,0.04);
	border: none;
	border-radius: 12px;
	font-size: 20px;
	color: var(--dark);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	z-index: 10001;
}

.mobile-menu-close:hover {
	background: var(--primary);
	color: white;
	transform: rotate(90deg) scale(1.1);
}

.mobile-menu-header {
	padding: 40px 30px 25px;
	background: linear-gradient(to bottom, #fff, #fafafa);
	border-bottom: 1px solid rgba(0,0,0,0.05);
}

.mobile-menu-header h3 {
	font-size: 22px;
	font-weight: 800;
	color: var(--dark);
	margin-bottom: 4px;
	letter-spacing: -0.5px;
}

.mobile-menu-header p {
	font-size: 13px;
	color: var(--gray-text);
	opacity: 0.8;
}

.mobile-main-menu {
	list-style: none;
	padding: 20px 15px;
	margin: 0;
	flex-grow: 1;
}

.mobile-main-menu > li {
	margin-bottom: 8px;
}

.mobile-main-menu > li > a {
	display: flex;
	align-items: center;
	padding: 14px 15px;
	font-size: 15px;
	font-weight: 600;
	color: var(--dark);
	text-decoration: none;
	border-radius: 12px;
	transition: all 0.25s ease;
	position: relative;
}

.mobile-main-menu > li > a:hover {
	background: rgba(255, 0, 0, 0.04);
	color: var(--primary);
	padding-right: 20px;
}

/* Icons for common menu items */
.mobile-main-menu > li > a::before {
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	margin-left: 12px;
	font-size: 16px;
	opacity: 0.6;
	width: 20px;
	text-align: center;
}

.mobile-main-menu > li > a[href*="courses"]::before { content: '\f5da'; }
.mobile-main-menu > li > a[href*="rules"]::before { content: '\f071'; }
.mobile-main-menu > li > a:first-child::before { content: '\f015'; } /* Home icon for first item usually */

.mobile-main-menu > li.current-menu-item > a {
	background: var(--primary);
	color: white;
}

/* Add arrow for items with children */
.mobile-main-menu li.menu-item-has-children > a::after {
	content: '\f107';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	margin-right: auto;
	font-size: 14px;
	transition: transform 0.3s ease;
}

.mobile-main-menu li.menu-item-has-children > a.open::after {
	transform: rotate(180deg);
}

/* Mobile submenu */
.mobile-main-menu .sub-menu {
	display: none;
	padding: 5px 15px 10px 0;
	list-style: none;
	margin: 5px 0 10px;
	border-right: 2px solid rgba(0,0,0,0.05);
}

.mobile-main-menu .sub-menu.open {
	display: block;
	animation: slideDown 0.3s ease forwards;
}

.mobile-main-menu .sub-menu li a {
	font-size: 14px;
	font-weight: 500;
	color: var(--gray-text);
	padding: 10px 15px;
	display: block;
	border-radius: 8px;
	transition: all 0.2s ease;
}

.mobile-main-menu .sub-menu li a:hover {
	background: #f5f5f5;
	color: var(--dark);
}

.mobile-menu-actions {
	padding: 20px 25px 30px;
	background: #fff;
	border-top: 1px solid rgba(0,0,0,0.05);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mobile-menu-actions .btn-outline,
.mobile-menu-actions .btn-solid {
	display: flex !important;
	width: fit-content !important;
	min-width: 140px;
	margin: 0 auto !important;
	justify-content: center;
	padding: 8px 20px !important;
	font-size: 12px !important;
	border-radius: 50px !important;
	font-weight: 600 !important;
}

.mobile-menu-actions .btn-outline {
	border: 1.5px solid var(--primary) !important;
	background: transparent !important;
	color: var(--primary) !important;
}

.mobile-menu-actions .btn-solid {
	background: linear-gradient(135deg, var(--primary) 0%, #cc0000 100%) !important;
	color: white !important;
	border: none !important;
	box-shadow: 0 4px 12px rgba(255,0,0,0.15) !important;
}

.mobile-menu-actions .btn-dashboard-mobile {
	margin: 5px auto 0 !important;
	width: fit-content !important;
	min-width: 140px;
	justify-content: center;
	padding: 8px 20px !important;
	font-size: 12px !important;
	border-radius: 50px !important;
	background: linear-gradient(135deg, var(--primary) 0%, #cc0000 100%);
	box-shadow: 0 4px 12px rgba(255,0,0,0.15);
	border: none;
	display: flex !important;
	align-items: center;
	gap: 6px;
	color: white;
	text-decoration: none;
	font-weight: 600;
}

.mobile-menu-actions .btn-dashboard-mobile:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(255,0,0,0.3);
}

.mobile-menu-actions .header-notifications {
	display: none; /* Hide notifications in mobile menu if redundant */
}

.mobile-menu-actions .account-dropdown {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	background: #f9f9f9;
	border-radius: 12px;
	margin-bottom: 10px;
}

.mobile-menu-actions .account-dropdown img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
}

.mobile-menu-actions .account-info {
	display: flex;
	flex-direction: column;
}

.mobile-menu-actions .account-name {
	font-weight: 700;
	font-size: 14px;
}

.mobile-menu-actions .account-menu {
	display: none; /* Hide dropdown menu in mobile actions, maybe link to profile instead */
}

@keyframes slideDown {
	from {
		opacity: 0;
		max-height: 0;
	}
	to {
		opacity: 1;
		max-height: 500px;
	}
}

/* Old mobile-open styles - keeping for compatibility */
.main-menu.mobile-open { display: none; }

/* Footer menu */
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin-bottom: 12px; }
.footer-menu a { 
	color: var(--gray-text); 
	text-decoration: none;
	transition: var(--transition);
	display: inline-block;
}
.footer-menu a:hover {
	color: var(--primary);
	transform: translateX(-3px);
}
.footer-social a { 
	display: inline-flex; 
	width: 38px; 
	height: 38px; 
	align-items: center; 
	justify-content: center; 
	background: #eee; 
	border-radius: 50%; 
	margin-right: 6px; 
	color: var(--dark);
	transition: var(--transition);
}
.footer-social a:hover {
	background: var(--primary);
	color: white;
	transform: translateY(-3px);
}

/* Copyright and footer bottom */
.footer-bottom, .copyright {
	text-align: center;
	padding: 20px 0;
	margin-top: 40px;
	border-top: 1px solid #e8e8e8;
	color: var(--gray-text);
	font-size: 14px;
}

/* Additional polish */
img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	text-decoration: none;
	color: inherit;
	transition: var(--transition);
}

/* Smooth scroll behavior */
html {
	scroll-behavior: smooth;
}

/* Selection styling */
::selection {
	background: var(--primary);
	color: white;
}

/* Focus visible for accessibility */
*:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 3px;
	border-radius: 4px;
}

/* Loading animation for images */
img[loading="lazy"] {
	opacity: 0;
	animation: fadeInUp 0.6s ease forwards;
}

/* Scrollbar styling for webkit browsers */
::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

::-webkit-scrollbar-track {
	background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
	background: linear-gradient(135deg, var(--primary), #cc0000);
	border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(135deg, #cc0000, var(--primary));
}

/* Utility classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }

/* Card hover effect for all interactive elements */
.interactive-card {
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Login Modal Styles */
.modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(5px);
	z-index: 10000;
	align-items: center;
	justify-content: center;
	animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
	display: flex;
}

.modal-container {
	background: white;
	border-radius: 20px;
	width: 95%;
	max-width: 450px;
	padding: 40px 30px;
	position: relative;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	animation: slideUp 0.4s ease;
	max-height: 90vh;
	overflow-y: auto;
}

@media (max-width: 480px) {
	.modal-container {
		padding: 35px 20px 25px;
		border-radius: 16px;
	}
	
	.modal-header h2 {
		font-size: 20px !important;
	}
	
	.otp-digit {
		width: 40px !important;
		height: 50px !important;
		font-size: 20px !important;
	}
	
	.otp-input-group {
		gap: 8px !important;
	}
}

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

.modal-close {
	position: absolute;
	top: 15px;
	left: 15px;
	background: #f5f5f5;
	border: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	font-size: 24px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition);
	color: var(--gray-text);
}

.modal-close:hover {
	background: var(--primary);
	color: white;
	transform: rotate(90deg);
}

.modal-header {
	text-align: center;
	margin-bottom: 30px;
}

.modal-header i {
	font-size: 64px;
	color: var(--primary);
	margin-bottom: 15px;
}

.modal-header h3 {
	font-size: 24px;
	font-weight: 700;
	color: var(--dark);
	margin-bottom: 8px;
}

.modal-header p {
	color: var(--gray-text);
	font-size: 14px;
}

.modal-form .form-group {
	margin-bottom: 20px;
}

.modal-form label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--dark);
	margin-bottom: 8px;
	font-size: 14px;
}

.modal-form label i {
	color: var(--primary);
	font-size: 14px;
}

.modal-form input[type="text"],
.modal-form input[type="password"],
.modal-form input[type="email"] {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid #e5e5e5;
	border-radius: 10px;
	font-size: 14px;
	transition: var(--transition);
	font-family: inherit;
}

/* Improve mobile number input appearance */
.modal-form input[type="tel"] {
	width: 100%;
	padding: 14px 18px;
	border: 2px solid #f0f0f0;
	border-radius: 12px;
	background: #fff;
	font-size: 15px;
	box-shadow: 0 6px 20px rgba(0,0,0,0.03);
}
.modal-form input[type="tel"]::placeholder { color: #bdbdbd; }

/* Google label above button */
.google-label {
	font-weight: 800;
	color: var(--dark);
	margin-bottom: 8px;
	font-size: 14px;
	text-align: center;
}

/* Make Google button clearer and more prominent */
.btn-google {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	padding: 16px 24px;
	background: #fff;
	border: 2px solid #e0e0e0;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 700;
	color: var(--dark);
	cursor: pointer;
	transition: var(--transition);
	box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.btn-google .g_id_signin, .btn-google .abcRioButton { width: 100% !important; }
.btn-google:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,0,0,0.08); }

.modal-form input:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.1);
}

.form-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.checkbox-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
	width: 18px;
	height: 18px;
	cursor: pointer;
}

.forgot-link {
	color: var(--primary);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	transition: var(--transition);
}

.forgot-link:hover {
	text-decoration: underline;
}

.btn-full {
	width: 100%;
	justify-content: center;
	padding: 14px;
	font-size: 15px;
}

.login-message {
	padding: 12px;
	border-radius: 8px;
	margin-bottom: 15px;
	font-size: 14px;
	text-align: center;
	display: none;
}

.login-message.success {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
	display: block;
}

.login-message.error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
	display: block;
}

.login-message.loading {
	background: #d1ecf1;
	color: #0c5460;
	border: 1px solid #bee5eb;
	display: block;
}

.modal-footer {
	text-align: center;
	margin-top: 25px;
	padding-top: 25px;
	border-top: 1px solid #e5e5e5;
}

.modal-footer p {
	color: var(--gray-text);
	font-size: 14px;
}

/* Login Tabs */
.login-tabs {
	display: flex;
	gap: 10px;
	margin-bottom: 25px;
	border-bottom: 2px solid #f0f0f0;
}

.tab-btn {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	background: transparent;
	border: none;
	border-bottom: 3px solid transparent;
	color: var(--gray-text);
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: var(--transition);
	position: relative;
	bottom: -2px;
}

.tab-btn:hover {
	color: var(--primary);
	background: #f9f9f9;
}

.tab-btn.active {
	color: var(--primary);
	border-bottom-color: var(--primary);
}

.tab-btn i {
	font-size: 16px;
}

/* Tab Content */
.tab-content {
	display: none;
}

.tab-content.active {
	display: block;
	animation: fadeIn 0.3s ease;
}

/* OTP Input Group */
.otp-input-group {
	display: flex;
	gap: 10px;
	justify-content: center;
	direction: ltr;
}

.otp-digit {
	width: 45px;
	height: 55px;
	text-align: center;
	font-size: 24px;
	font-weight: 700;
	border: 2px solid #e5e5e5;
	border-radius: 10px;
	transition: var(--transition);
}

.otp-digit:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.1);
	outline: none;
}

/* OTP Info Section */
.otp-info {
	text-align: center;
	padding: 15px;
	background: #f0f9ff;
	border-radius: 10px;
	margin-bottom: 20px;
}

.otp-info i {
	font-size: 32px;
	color: var(--primary);
	margin-bottom: 10px;
}

.otp-info p {
	color: var(--dark);
	font-size: 14px;
	margin-bottom: 8px;
}

.otp-info strong {
	color: var(--primary);
	direction: ltr;
	display: inline-block;
}

.change-mobile {
	background: transparent;
	border: none;
	color: var(--primary);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline;
	transition: var(--transition);
}

.change-mobile:hover {
	color: #cc0000;
}

/* Resend Section */
.resend-section {
	text-align: center;
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid #e5e5e5;
}

.resend-section p {
	color: var(--gray-text);
	font-size: 13px;
}

.resend-btn {
	background: transparent;
	border: none;
	color: var(--primary);
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
	text-decoration: underline;
}

.resend-btn:hover:not(:disabled) {
	color: #cc0000;
}

.resend-btn:disabled {
	color: var(--gray-text);
	cursor: not-allowed;
	text-decoration: none;
}

/* Google Login Wrapper */
.google-login-wrapper {
	text-align: center;
	padding: 20px 0;
}

.google-hint {
	margin-top: 15px;
	font-size: 12px;
	color: var(--gray-text);
}

.google-hint a {
	color: var(--primary);
	text-decoration: none;
}

.google-hint a:hover {
	text-decoration: underline;
}

/* Combined login layout tweaks */
.login-single { text-align: center; }
.login-single .modal-form { max-width: 420px; margin: 0 auto; }
.login-single .btn-solid { margin-top: 6px; }
.divider { display:flex; align-items:center; justify-content:center; gap:12px; margin: 18px 0; }
.divider::before, .divider::after { content: ''; height: 1px; background: #eee; flex: 1 1 auto; }
.divider span { display:inline-block; padding: 6px 14px; background: transparent; color: var(--gray-text); font-weight: 700; border-radius: 20px; }

/* Form Hint */
.form-hint {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	color: var(--gray-text);
}

.register-link {
	color: var(--primary);
	font-weight: 600;
	text-decoration: none;
	transition: var(--transition);
}

.register-link:hover {
	text-decoration: underline;
}

@media (max-width: 480px) {
	.modal-container {
		padding: 30px 20px;
		width: 95%;
	}
	
	.modal-header h3 {
		font-size: 20px;
	}
	
	.modal-header i {
		font-size: 48px;
	}
}

/* Account / Profile Page Styles moved to css/account.css */

/* Notifications Page styles moved to css/notifications.css */

/* WooCommerce My Account and single-product styles moved to css/account.css and css/single.css */
/* Homepage New Sections (section-header-centered, ostadpay, why-youtube, roadmap, testimonials, FAQ) moved to css/front-page.css */

