@font-face {
	font-family: 'Tajawal';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(https://fonts.gstatic.com/s/tajawal/v11/Iura6YBj_oCad4k1rzY.ttf) format('truetype');
}

@font-face {
	font-family: 'Tajawal';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url(https://fonts.gstatic.com/s/tajawal/v11/Iurf6YBj_oCad4k1l8KiLrY.ttf) format('truetype');
}

@font-face {
	font-family: 'Tajawal';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(https://fonts.gstatic.com/s/tajawal/v11/Iurf6YBj_oCad4k1l4qkLrY.ttf) format('truetype');
}

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
	/* Light Mode Colors */
	--primary: #FF8B00;
	--primary-color: #FF8B00;
	--primary-dark: #B03700;
	--primary-light: #FFB74D;
	--secondary: #3A3A50;
	--secondary-color: #B03700;
	--secondary-light: #4A4A60;
	--accent: #00C3FF;
	--light: #F9F9F9;
	--light-bg: #F8F9FA;
	--dark: #1A1A2E;
	--text-color: #333;
	--light-text: #777;
	--card-bg: #fff;
	--white: #FFFFFF;
	--success: #28C76F;
	--warning: #FF9F43;
	--danger: #EA5455;
	--black: #000000;
	--gray-900: #1a202c;
	--gray-800: #2d3748;
	--gray-700: #4a5568;
	--gray-600: #718096;
	--gray-500: #a0aec0;
	--gray-400: #cbd5e0;
	--gray-300: #e2e8f0;
	--gray-200: #edf2f7;
	--gray-100: #f7fafc;
	--gray-50: #fafafa;

	/* Gradients */
	--gradient-primary: linear-gradient(266deg, var(--primary-dark), var(--primary));
	--gradient-secondary: linear-gradient(45deg, var(--secondary), #6B6B9A);
	--gradient-accent: linear-gradient(135deg, var(--accent), #5D6CC6);
	--primary-gradient: linear-gradient(266deg, rgba(176, 55, 0, 1) 0%, rgba(255, 139, 0, 1) 90%);

	/* Shadows */
	--shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
	--shadow-md: 0 5px 20px rgba(0, 0, 0, 0.15);
	--shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
	--shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	--glow: 0 0 20px rgba(255, 139, 0, 0.25);

	/* Border Radius */
	--border-radius-sm: 8px;
	--border-radius-md: 12px;
	--border-radius-lg: 20px;
	--border-radius-xl: 30px;
	--border-radius: 12px;

	/* Transitions */
	--transition-fast: all 0.3s ease;
	--transition-medium: all 0.5s ease;
	--transition: all 0.3s ease;

	/* Spacing */
	--spacing-sm: 0.5rem;
	--spacing-md: 1rem;
	--spacing-lg: 2rem;
	--spacing-xl: 3rem;

	/* Device Dimensions */
	--phone-width: 280px;
	--phone-height: 580px;
	--device-width: 700px;
	--device-height: 700px;
	--screen-width: 620px;
	--screen-height: 350px;
}

/* Dark Mode Colors */
[data-theme="dark"] {
	--primary: #FF8B00;
	--primary-color: #FF8B00;
	--primary-dark: #B03700;
	--primary-light: #FFB74D;
	--secondary: #E2E8F0;
	--secondary-color: #FF8B00;
	--secondary-light: #A0AEC0;
	--accent: #00C3FF;
	--light: #0f1419;
	--light-bg: #1a202c;
	--dark: #f7fafc;
	--text-color: #f7fafc;
	--light-text: #cbd5e0;
	--card-bg: #1e293b;
	--white: #0f1419;
	--success: #48BB78;
	--warning: #ED8936;
	--danger: #F56565;
	--black: #FFFFFF;

	/* Gradients */
	--gradient-primary: linear-gradient(266deg, var(--primary-dark), var(--primary));
	--gradient-secondary: linear-gradient(45deg, var(--secondary), #6B6B9A);
	--gradient-accent: linear-gradient(135deg, var(--accent), #5D6CC6);
	--primary-gradient: linear-gradient(266deg, rgba(176, 55, 0, 1) 0%, rgba(255, 139, 0, 1) 90%);

	/* Shadows */
	--shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
	--shadow-md: 0 5px 20px rgba(0, 0, 0, 0.15);
	--shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
	--shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	--glow: 0 0 20px rgba(255, 139, 0, 0.25);

	/* Border Radius */
	--border-radius-sm: 8px;
	--border-radius-md: 12px;
	--border-radius-lg: 20px;
	--border-radius-xl: 30px;
	--border-radius: 12px;

	/* Transitions */
	--transition-fast: all 0.3s ease;
	--transition-medium: all 0.5s ease;
	--transition: all 0.3s ease;

	/* Spacing */
	--spacing-sm: 0.5rem;
	--spacing-md: 1rem;
	--spacing-lg: 2rem;
	--spacing-xl: 3rem;

	/* Device Dimensions */
	--phone-width: 280px;
	--phone-height: 580px;
	--device-width: 700px;
	--device-height: 700px;
	--screen-width: 620px;
	--screen-height: 350px;
}

/* ===== BASE STYLES ===== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Tajawal', sans-serif;
	background-color: var(--light);
	color: var(--text-color);
	line-height: 1.6;
	overflow-x: hidden;
	transition: background-color 0.3s ease, color 0.3s ease;
}

/* Smooth theme transition for all elements */
*, *::before, *::after {
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Dark Mode Body Styles */
[data-theme="dark"] body {
	background: linear-gradient(135deg, var(--light) 0%, var(--light-bg) 100%);
	color: var(--text-color);
}

html[dir="rtl"] body { text-align: right; }
html[dir="ltr"] body { text-align: left; }

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* ===== UTILITY CLASSES ===== */
.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.section {
	padding: 80px 0;
	position: relative;
	overflow: hidden;
}

/* Enhanced Button Styles */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 2rem;
	border-radius: var(--border-radius-xl);
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	transition: var(--transition-fast);
	cursor: pointer;
	border: none;
	text-align: center;
	position: relative;
	overflow: hidden;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	min-width: 200px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.btn::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: left 0.5s ease;
	z-index: 1;
}

.btn::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 0;
}

.btn:hover::before { 
	left: 100%; 
}

.btn:hover::after { 
	opacity: 1; 
}

.btn > * {
	position: relative;
	z-index: 2;
}

/* Primary Button - Modern Design */
.btn-primary {
	background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
	color: var(--primary);
	border: 3px solid var(--primary);
	box-shadow: 0 8px 25px rgba(255, 139, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary::after {
	background: radial-gradient(circle at center, rgba(255, 139, 0, 0.1) 0%, transparent 70%);
}

.btn-primary:hover {
	background: var(--gradient-primary);
	color: #ffffff;
	border-color: transparent;
	transform: translateY(-6px) scale(1.05);
	box-shadow: 0 15px 40px rgba(255, 139, 0, 0.4), 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
	transform: translateY(-2px) scale(1.02);
}

/* Outline Button - Modern Design */
.btn-outline {
	background: rgba(255, 255, 255, 0.1);
	color: var(--white);
	border: 3px solid rgba(255, 255, 255, 0.4);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-outline::before {
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.btn-outline::after {
	background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.btn-outline:hover {
	background: rgba(255, 255, 255, 0.2);
	color: var(--white);
	border-color: rgba(255, 255, 255, 0.8);
	transform: translateY(-6px) scale(1.05);
	box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-outline:active {
	transform: translateY(-2px) scale(1.02);
}

/* Dark Mode Button Adjustments */
[data-theme="dark"] .btn-primary {
	background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
	color: white;
	border-color: var(--primary);
	box-shadow: 0 8px 25px rgba(255, 139, 0, 0.3), 0 4px 10px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .btn-primary:hover {
	background: var(--gradient-primary);
	color: #ffffff;
	border-color: transparent;
	box-shadow: 0 15px 40px rgba(255, 139, 0, 0.5), 0 8px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .btn-outline {
	background: rgba(30, 41, 59, 0.6);
	color: #f7fafc;
	border-color: rgba(247, 250, 252, 0.3);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .btn-outline:hover {
	background: rgba(30, 41, 59, 0.8);
	border-color: rgba(247, 250, 252, 0.6);
	color: #ffffff;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Common card styles */
.card-base {
	background: rgba(255, 255, 255, 0.15);
	border-radius: 24px;
	padding: clamp(25px, 5vw, 40px);
	border: 1px solid rgba(255, 255, 255, 0.25);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.2);
	transition: var(--transition-medium);
	width: 100%;
}

.card-base:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: 0 25px 55px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.3);
}

/* Common section background patterns */
.section-bg-pattern {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z'%3E%3C/path%3E%3C/svg%3E");
	opacity: 0.6;
	z-index: 1;
	pointer-events: none;
}

/* Common section heading */
.section-heading {
	text-align: center;
	margin-bottom: 4rem;
	position: relative;
}

.section-heading h2 {
	color: var(--secondary-color);
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	position: relative;
	display: inline-block;
}

.section-heading h2::after {
	content: "";
	position: absolute;
	bottom: -12px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background: var(--primary-gradient);
	border-radius: 2px;
}

.section-heading p {
	color: var(--light-text);
	font-size: 1.1rem;
	max-width: 700px;
	margin: 1.5rem auto 0;
	line-height: 1.6;
}

/* Common action button styles */
.action-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	text-decoration: none;
	transition: var(--transition-fast);
	font-size: 1.1rem;
	position: relative;
	overflow: hidden;
}

.action-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	transform: scale(0);
	transition: transform 0.3s ease;
}

.action-btn:hover::before { transform: scale(1); }
.action-btn:hover { transform: translateY(-4px) scale(1.1); }

.location-btn {
	background: linear-gradient(135deg, #e74c3c, #c0392b);
	color: white;
	box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.phone-btn {
	background: linear-gradient(135deg, #27ae60, #229954);
	color: white;
	box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.website-btn {
	background: linear-gradient(135deg, #3498db, #2980b9);
	color: white;
	box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.location-btn:hover { box-shadow: 0 12px 25px rgba(231, 76, 60, 0.4); }
.phone-btn:hover { box-shadow: 0 12px 25px rgba(39, 174, 96, 0.4); }
.website-btn:hover { box-shadow: 0 12px 25px rgba(52, 152, 219, 0.4); }

/* ===== HEADER STYLES ===== */
.header {
	background: var(--gradient-primary);
	padding: 15px 0;
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 1000;
	box-shadow: var(--shadow-md);
	transition: var(--transition-fast);
}

.header-scrolled {
	padding: 10px 0;
	background: rgba(255, 139, 0, 0.95);
}

/* Dark Mode Header */
[data-theme="dark"] .header {
	background: linear-gradient(135deg, #1a202c 0%, var(--primary-dark) 100%);
}

[data-theme="dark"] .header-scrolled {
	background: rgba(26, 32, 44, 0.95);
	border-bottom: 1px solid rgba(255, 139, 0, 0.3);
}

.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.logo img {
	height: 36px;
	transition: var(--transition-fast);
}

.logo-mobile {
	display: none;
	height: 32px;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 1rem;
}

/* Language Selector */
.header .language-selector {
	position: static;
	display: flex;
	gap: 5px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	padding: 4px;
	box-shadow: none;
}

.header .lang-btn {
	color: rgba(255, 255, 255, 0.8);
	padding: 6px 10px;
	border-radius: 12px;
	font-size: 12px;
	min-width: 40px;
	gap: 4px;
}

.header .lang-btn.active {
	background: rgba(255, 255, 255, 0.2);
	color: white;
	box-shadow: none;
}

.header .lang-btn:hover:not(.active) {
	background: rgba(255, 255, 255, 0.15);
	color: white;
}

/* Theme Toggle Button */
.theme-toggle {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	border: 2px solid rgba(255, 255, 255, 0.2);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	transition: var(--transition-fast);
	overflow: hidden;
}

.theme-toggle::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.theme-toggle:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.3);
	transform: scale(1.05);
	box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.theme-toggle:hover::before {
	opacity: 1;
}

.theme-icon-dark,
.theme-icon-light {
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.9);
	transition: var(--transition-fast);
	position: absolute;
}

.theme-icon-light {
	opacity: 0;
	transform: rotate(180deg) scale(0.5);
}

[data-theme="dark"] .theme-icon-dark {
	opacity: 0;
	transform: rotate(-180deg) scale(0.5);
}

[data-theme="dark"] .theme-icon-light {
	opacity: 1;
	transform: rotate(0deg) scale(1);
}

/* Navigation */
.nav-links {
	z-index: 1000;
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

html[dir="ltr"] .nav-links li { margin-right: 30px; }
html[dir="rtl"] .nav-links li { margin-left: 30px; }
.nav-links li:last-child { margin-right: 0; margin-left: 0; }

.nav-links a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	font-weight: 500;
	font-size: 16px;
	transition: var(--transition-fast);
	position: relative;
	padding-bottom: 5px;
}

.nav-links a:hover {
	color: rgba(255, 255, 255, 1);
}

/* Dark mode navigation links */
[data-theme="dark"] .nav-links a {
	color: rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] .nav-links a:hover {
	color: rgba(255, 255, 255, 1);
}

html[dir="ltr"] .nav-links a { padding-left: 10px; }
html[dir="rtl"] .nav-links a { padding-right: 10px; }

.nav-links a:after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: 0;
	background-color: white;
	transition: width 0.3s ease;
}

html[dir="ltr"] .nav-links a:after { left: 0; }
html[dir="rtl"] .nav-links a:after { right: 0; }
.nav-links a:hover:after { width: 100%; }

/* Menu Toggle */
.header .menu-toggle {
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 8px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	border-radius: 8px;
	transition: var(--transition-fast);
	width: 36px;
	height: 36px;
}

.header .hamburger {
	width: 22px;
	height: 3px;
	background-color: rgba(255, 255, 255, 0.95);
	background: rgba(255, 255, 255, 0.95);
	transition: var(--transition-fast);
	border-radius: 1.5px;
	display: block;
	position: relative;
	margin: 2px 0;
}

[data-theme="dark"] .header .hamburger {
	background-color: rgba(255, 255, 255, 0.95);
	background: rgba(255, 255, 255, 0.95);
}

.header .menu-toggle:hover {
	background: rgba(255, 255, 255, 0.1);
}

.header .menu-toggle.active .hamburger:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.header .menu-toggle.active .hamburger:nth-child(2) { opacity: 0; }

.header .menu-toggle.active .hamburger:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== HERO SECTION ===== */
.hero {
	background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
	padding-top: 120px;
	padding-bottom: 0;
	position: relative;
	color: var(--white);
	overflow: hidden;
	min-height: 100vh;
	display: flex;
	align-items: center;
}

/* Dark Mode Hero Adjustments */
[data-theme="dark"] .hero {
	background: linear-gradient(135deg, #0f172a 0%, var(--primary-dark) 50%, var(--primary) 100%);
	color: #ffffff;
}

[data-theme="dark"] .hero h1 {
	background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.95) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

[data-theme="dark"] .hero p {
	color: rgba(255, 255, 255, 0.95);
}

.hero::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(ellipse at 20% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%), 
	            radial-gradient(ellipse at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%), 
	            url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='7' cy='7' r='2'/%3E%3Ccircle cx='27' cy='7' r='1'/%3E%3Ccircle cx='47' cy='7' r='2'/%3E%3Ccircle cx='7' cy='27' r='1'/%3E%3Ccircle cx='27' cy='27' r='2'/%3E%3Ccircle cx='47' cy='27' r='1'/%3E%3Ccircle cx='7' cy='47' r='2'/%3E%3Ccircle cx='27' cy='47' r='1'/%3E%3Ccircle cx='47' cy='47' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	opacity: 0.9;
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 10;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 8vw, 80px);
	align-items: center;
	padding-bottom: 80px;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

.hero-text {
	animation: slideInLeft 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
	opacity: 0;
}

html[dir="ltr"] .hero-text { text-align: left; }
html[dir="rtl"] .hero-text { text-align: right; }

.hero h1 {
	font-size: clamp(2.5rem, 6vw, 4.2rem);
	font-weight: 900;
	margin-bottom: 25px;
	line-height: 1.1;
	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;
	text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	position: relative;
}

.hero h1::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 80px;
	height: 4px;
	background: rgba(255, 255, 255, 0.8);
	border-radius: 2px;
	animation: slideInWidth 1s ease-out 0.5s forwards;
	transform: scaleX(0);
	transform-origin: left;
}

html[dir="rtl"] .hero h1::after {
	right: 0;
	left: auto;
	transform-origin: right;
}

.hero p {
	font-size: clamp(1.1rem, 2.5vw, 1.35rem);
	margin-bottom: 45px;
	line-height: 1.7;
	opacity: 0.95;
	font-weight: 400;
	max-width: 90%;
}

.hero-btns {
	display: flex;
	gap: 20px;
	margin-top: 30px;
	flex-wrap: wrap;
}

.app-mockup {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	animation: slideInRight 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
	opacity: 0;
}

.app-mockup::before {
	content: '';
	position: absolute;
	width: 120%;
	height: 120%;
	background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
	border-radius: 50%;
	z-index: 1;
	animation: pulse 4s ease-in-out infinite;
}

.app-mockup img {
	max-width: 140%;
	height: auto;
	border-radius: 30px;
	position: relative;
	z-index: 2;
	transition: var(--transition-medium);
	filter: brightness(1.05) saturate(1.1);
}

html[dir="ltr"] .app-mockup img {
	transform: perspective(1200px) rotateY(8deg) rotateX(2deg);
}

html[dir="rtl"] .app-mockup img {
	transform: perspective(1200px) rotateY(-8deg) rotateX(2deg);
}

html[dir="ltr"] .app-mockup:hover img {
	transform: perspective(1200px) rotateY(4deg) rotateX(1deg) scale(1.02);
}

html[dir="rtl"] .app-mockup:hover img {
	transform: perspective(1200px) rotateY(-4deg) rotateX(1deg) scale(1.02);
}

/* Floating shapes */
.shape {
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
	z-index: 1;
	opacity: 0.6;
}

.shape-1 {
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
	top: -100px;
	animation: floatComplex 12s ease-in-out infinite;
}

.shape-2 {
	width: 250px;
	height: 250px;
	background: radial-gradient(circle, rgba(255, 200, 100, 0.2) 0%, rgba(255, 150, 50, 0.05) 100%);
	bottom: -80px;
	animation: floatComplex 15s ease-in-out infinite reverse;
}

.shape-3 {
	width: 200px;
	height: 200px;
	background: radial-gradient(circle, rgba(255, 180, 80, 0.15) 0%, rgba(255, 120, 40, 0.03) 100%);
	top: 40%;
	animation: floatComplex 10s ease-in-out infinite;
}

html[dir="ltr"] .shape-1 { left: -50px; }
html[dir="ltr"] .shape-2 { left: 15%; }
html[dir="ltr"] .shape-3 { right: -50px; }
html[dir="rtl"] .shape-1 { right: -50px; }
html[dir="rtl"] .shape-2 { right: 15%; }
html[dir="rtl"] .shape-3 { left: -50px; }

.wave-divider path {
    fill: #FBF9F8 !important;
}
[data-theme="dark"] .wave-divider path {
    fill: #11171D !important;
}



.wave-divider {
    position: absolute;
	bottom: -2px;
	left: 0;
	width: 100%;
	height: 100px;
	overflow: hidden;
	line-height: 0;
}

.wave-divider svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* RTL support */
html[dir="rtl"] .wave-divider svg {
    transform: scaleX(-1);
}
/* ===== FEATURES SECTION ===== */
.features {
	padding: 120px 0;
	background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 50%, var(--light-bg) 100%);
	position: relative;
	overflow: hidden;
}

/* Dark Mode Features */
[data-theme="dark"] .features {
	background: linear-gradient(135deg, var(--light) 0%, var(--light-bg) 100%);
}

.features::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(ellipse at top left, rgba(255, 139, 0, 0.03) 0%, transparent 50%), 
	            radial-gradient(ellipse at bottom right, rgba(176, 55, 0, 0.02) 0%, transparent 50%);
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 40px;
	margin-top: 80px;
	position: relative;
	z-index: 2;
}

.feature-card {
	background: var(--card-bg);
	border-radius: 20px;
	padding: 50px 35px;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 8px rgba(0, 0, 0, 0.08);
	border: 1px solid rgba(255, 139, 0, 0.08);
	transition: var(--transition-medium);
	position: relative;
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Dark Mode Feature Cards */
[data-theme="dark"] .feature-card {
	background: var(--card-bg);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 1px 8px rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(255, 139, 0, 0.2);
}

[data-theme="dark"] .feature-card:hover {
	box-shadow: 0 25px 50px rgba(255, 139, 0, 0.2), 0 10px 20px rgba(0, 0, 0, 0.3);
	border-color: rgba(255, 139, 0, 0.3);
}

.feature-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--gradient-primary);
	transform: scaleX(0);
	transition: transform 0.3s ease;
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-card:hover {
	transform: translateY(-15px);
	box-shadow: 0 25px 50px rgba(255, 139, 0, 0.12), 0 10px 20px rgba(0, 0, 0, 0.08);
	border-color: rgba(255, 139, 0, 0.15);
}

.feature-icon-wrapper {
	position: relative;
	margin-bottom: 30px;
}

.feature-icon-wrapper::after {
	content: '';
	position: absolute;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 139, 0, 0.08) 0%, transparent 70%);
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 0;
	transition: var(--transition-medium);
}

.feature-card:hover .feature-icon-wrapper::after {
	width: 140px;
	height: 140px;
	background: radial-gradient(circle, rgba(255, 139, 0, 0.12) 0%, transparent 70%);
}

.feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100px;
	height: 100px;
	background: linear-gradient(135deg, #FFF9F2 0%, #FFEDE0 100%);
	border-radius: 50%;
	font-size: 2.5rem;
	color: var(--primary);
	box-shadow: 0 10px 25px rgba(255, 139, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
	position: relative;
	z-index: 2;
	transition: var(--transition-fast);
}

.feature-card:hover .feature-icon {
	background: var(--gradient-primary);
	color: white;
	transform: scale(1.1) rotateY(15deg);
	box-shadow: 0 15px 35px rgba(255, 139, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.feature-card h3 {
	font-size: 1.6rem;
	font-weight: 700;
	margin-bottom: 20px;
	color: var(--secondary);
	transition: var(--transition-fast);
	line-height: 1.3;
}

.feature-card:hover h3 {
	color: var(--primary);
	transform: translateY(-2px);
}

.feature-card p {
	color: var(--secondary-light);
	font-size: 1.05rem;
	line-height: 1.7;
	margin-bottom: 0;
	flex: 1;
	display: flex;
	align-items: center;
}

/* ===== HOW IT WORKS SECTION ===== */

.howitworks {
	background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
	color: #fff;
	padding: 4rem 0;
	font-family: 'Tajawal', sans-serif;
	position: relative;
	overflow: hidden;
}
[data-theme="dark"] .howitworks {
	background: linear-gradient(135deg, #0f172a 0%, var(--primary-dark) 50%, var(--primary) 100%);
	color: #ffffff;
}
.howitworks::before {
	@extend .section-bg-pattern;
}

html[dir="ltr"] .howitworks::before { left: 0; }
html[dir="rtl"] .howitworks::before { right: 0; }

.howitworks .container,
.slider-container,
.custom-btn-prev,
.custom-btn-next,
.phone-frame-container,
.swiper-tabs {
	position: relative;
	z-index: 2;
}

.section-title {
	color: #ffffff;
	font-size: 2.5rem;
	font-weight: 700;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	margin-bottom: 2rem;
}

.step-title {
	color: #ffffff;
	font-size: 1.5rem;
	font-weight: 500;
	margin-bottom: 1rem;
}

.step-description {
	color: rgba(255, 255, 255, 0.9);
	font-size: 1.1rem;
	line-height: 1.6;
}

/* Mobile App Slider */
.phone-frame-container {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 490px;
	height: 500px;
	z-index: 5;
	pointer-events: none;
}

.phone-frame-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.mobile-app-slider {
	width: 100%;
	height: 100%;
}

.swiper-slide {
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0.4;
	transition: opacity 0.3s ease;
}

.swiper-slide-active { opacity: 1; }

.swiper-slide img {
	border-radius: 40px;
	width: 100%;
	max-width: 220px;
	height: auto;
	object-fit: contain;
	margin: 0 auto;
}

/* Navigation Buttons */
.custom-btn-prev,
.custom-btn-next {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.15);
	border: none;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	transition: var(--transition-fast);
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.custom-btn-prev:hover,
.custom-btn-next:hover {
	background-color: rgba(255, 255, 255, 0.25);
	transform: translateY(-50%) scale(1.05);
}

html[dir="ltr"] .custom-btn-prev {
	left: 0;
	margin-left: -10px;
}

html[dir="rtl"] .custom-btn-prev {
	right: 0;
	margin-right: -10px;
}

html[dir="ltr"] .custom-btn-next {
	right: 0;
	margin-right: -10px;
}

html[dir="rtl"] .custom-btn-next {
	left: 0;
	margin-left: -10px;
}

/* Fix arrow directions for different languages */
html[dir="ltr"] .custom-btn-prev i { transform: rotate(180deg); }
html[dir="ltr"] .custom-btn-next i { transform: rotate(180deg); }

/* RTL support for custom buttons */
html[dir="rtl"] .custom-btn-prev i { transform: rotate(0deg); }
html[dir="rtl"] .custom-btn-next i { transform: rotate(0deg); }

.swiper-tab {
	display: none;
	text-align: center;
	max-width: 600px;
	margin: 2rem auto 0;
}

.swiper-tab.active { display: block; }

/* ===== QUIZ SYSTEM ===== */
.quiz-system {
	background-image: linear-gradient(260deg, rgba(200, 60, 0, 1) 0%, rgba(255, 150, 20, 1) 100%);
	padding: clamp(60px, 10vw, 120px) 0;
	color: white;
	position: relative;
	overflow: hidden;
}

.quiz-bg-shape {
	@extend .section-bg-pattern;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150' viewBox='0 0 100 100'%3E%3Cpath fill='%23ffffff' fill-opacity='0.07' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z'%3E%3C/path%3E%3C/svg%3E");
	transform: scale(1.2);
}

.main-heading {
	font-size: clamp(2rem, 5vw, 2.8rem);
	font-weight: 800;
	margin-bottom: 20px;
	text-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

.heading-separator {
	height: 5px;
	width: 100px;
	background: #ffffff;
	margin: 0 auto 25px;
	border-radius: 3px;
	box-shadow: 0 2px 10px rgba(255, 255, 255, 0.4);
}

.heading-subtitle {
	font-size: clamp(1rem, 2.5vw, 1.25rem);
	opacity: 0.95;
	max-width: 750px;
	margin: 0 auto;
	line-height: 1.7;
}

.quiz-content {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: clamp(30px, 5vw, 50px);
	position: relative;
	z-index: 10;
	margin-top: clamp(30px, 6vw, 40px);
}

.quiz-text,
.quiz-counter {
	flex: 1;
	min-width: 300px;
	display: flex;
	flex-direction: column;
}

.quiz-text { animation: fadeInRight 0.8s ease-out forwards; }
.quiz-counter { animation: fadeInLeft 0.8s ease-out forwards; }

.counter-card {
	@extend .card-base;
	display: flex;
	flex-direction: column;
}

.counter-title {
	font-size: clamp(1.4rem, 4vw, 1.8rem);
	font-weight: 700;
	text-align: center;
	margin-bottom: 30px;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
	position: relative;
	padding-bottom: 18px;
}

.counter-title:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	height: 4px;
	width: 70px;
	background: rgba(255, 255, 255, 0.6);
	border-radius: 3px;
}

.counter-box {
	display: flex;
	justify-content: center;
	margin-bottom: 35px;
	background: rgba(0, 0, 0, 0.15);
	border-radius: 18px;
	padding: clamp(20px, 4vw, 30px);
	box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.2), 0 2px 5px rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: var(--transition-fast);
	overflow: hidden;
	position: relative;
}

.counter-digits {
	display: flex;
	justify-content: space-around;
	align-items: center;
	gap: clamp(10px, 2vw, 20px);
	direction: ltr;
	width: 100%;
}

.counter-digit {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: clamp(65px, 15vw, 95px);
	text-align: center;
}

.digit-value {
	font-size: clamp(2.5rem, 6vw, 3.5rem);
	font-weight: 800;
	margin-bottom: 8px;
	color: #fff;
	text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
	font-family: 'Tajawal', sans-serif;
	line-height: 1;
	transition: color 0.3s ease;
}

.counter-card:hover .digit-value { color: #FFD700; }

.digit-label {
	font-size: clamp(0.85rem, 2vw, 1rem);
	color: rgba(255, 255, 255, 0.85);
	font-weight: 500;
}

/* Progress Bar */
.counter-progress {
	width: 100%;
	height: 20px;
	background: rgba(0, 0, 0, 0.25);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.3);
	margin-bottom: 10px;
}

.progress-bar2 {
	height: 100%;
	background: linear-gradient(90deg, #FFD700, #FFA500);
	border-radius: 10px;
	transition: width 2s cubic-bezier(0.25, 0.8, 0.25, 1);
	box-shadow: 0 0 15px rgba(255, 215, 0, 0.6), 0 0 20px rgba(255, 165, 0, 0.4);
	position: relative;
	overflow: hidden;
}

.progress-bar2::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 50%;
	height: 100%;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
	transform: translateX(-100%);
	animation: shimmer 2.5s infinite linear;
}

.progress-labels {
	display: flex;
	justify-content: space-between;
	color: rgba(255, 255, 255, 0.9);
	font-size: clamp(0.85rem, 2vw, 0.95rem);
	font-weight: 500;
}

.counter-message {
	text-align: center;
	font-size: clamp(1.05rem, 3vw, 1.3rem);
	padding: clamp(15px, 3vw, 20px);
	background: rgba(0, 0, 0, 0.2);
	border-radius: 14px;
	margin-bottom: 30px;
	font-weight: 600;
	border: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.remaining {
	font-weight: 800;
	color: #FFD700;
	text-shadow: 0 0 12px rgba(255, 215, 0, 0.7);
}

.counter-actions {
	display: flex;
	gap: 15px;
	margin-top: auto;
}

.quiz-rules {
	height: 100%;
}

.quiz-rules h3 {
	margin-bottom: 30px;
	font-size: clamp(1.5rem, 4vw, 2rem);
	font-weight: 700;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
	position: relative;
	padding-bottom: 18px;
}

.quiz-rules h3:after {
	content: '';
	position: absolute;
	bottom: 0;
	width: 80px;
	height: 4px;
	background: rgba(255, 255, 255, 0.6);
	border-radius: 3px;
}

html[dir="ltr"] .quiz-rules h3:after { left: 0; }
html[dir="rtl"] .quiz-rules h3:after { right: 0; }

.quiz-rules-list {
	list-style: none;
	padding: 0;
}

.quiz-rules-list li {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
	padding: clamp(15px, 3vw, 20px);
	background: rgba(0, 0, 0, 0.1);
	border-radius: 16px;
	transition: var(--transition-medium);
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.15);
}

html[dir="ltr"] .quiz-rules-list li:hover {
	transform: translateX(10px) scale(1.03);
	background: rgba(0, 0, 0, 0.18);
	border-color: rgba(255, 255, 255, 0.25);
	box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.15);
}

html[dir="rtl"] .quiz-rules-list li:hover {
	transform: translateX(-10px) scale(1.03);
	background: rgba(0, 0, 0, 0.18);
	border-color: rgba(255, 255, 255, 0.25);
	box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.15);
}

.rule-icon {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	background: rgba(46, 204, 113, 0.25);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease;
}

.quiz-rules-list li:hover .rule-icon {
	transform: rotate(360deg) scale(1.1);
}

html[dir="ltr"] .rule-icon { margin-right: 18px; }
html[dir="rtl"] .rule-icon { margin-left: 18px; }

.rule-check:before {
	content: '✔';
	color: #2ecc71;
	font-weight: bold;
	font-size: 1.1rem;
	line-height: 1;
}

.rule-text {
	flex: 1;
	line-height: 1.65;
	font-size: clamp(0.95rem, 2.5vw, 1.1rem);
	color: rgba(255, 255, 255, 0.95);
}

/* ===== PARTNERS SHOWCASE ===== */
.partners-showcase {
	padding: 6rem 0;
	background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 50%, var(--light-bg) 100%);
	position: relative;
	overflow: hidden;
}

/* Dark mode partners showcase */
[data-theme="dark"] .partners-showcase {
	background: linear-gradient(135deg, var(--light) 0%, var(--light-bg) 50%, var(--light) 100%);
}

.partners-showcase::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(ellipse at top right, rgba(255, 139, 0, 0.05) 0%, transparent 60%),
	            radial-gradient(ellipse at bottom left, rgba(176, 55, 0, 0.03) 0%, transparent 60%);
	z-index: 1;
	pointer-events: none;
}

.partners-showcase .container {
	position: relative;
	z-index: 2;
}

.partners-showcase .section-heading {
	margin-bottom: 4rem;
	position: relative;
}

.partners-showcase .section-heading::after {
	content: "";
	position: absolute;
	bottom: -30px;
	left: 50%;
	transform: translateX(-50%);
	width: 200px;
	height: 2px;
	background: var(--gradient-primary);
	border-radius: 2px;
	box-shadow: 0 2px 8px rgba(255, 139, 0, 0.3);
}

/* Enhanced Filters Container */
.filters-container {
	background: #ffffff;
	border-radius: var(--border-radius-lg);
	padding: 2rem;
	margin-bottom: 3rem;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
	border: 2px solid rgba(255, 139, 0, 0.1);
	position: relative;
	overflow: hidden;
}

/* Dark mode filters container */
[data-theme="dark"] .filters-container {
	background: var(--card-bg);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	border-color: rgba(255, 139, 0, 0.2);
}

.filters-container::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: var(--gradient-primary);
}

.filter-group {
	margin-bottom: 2rem;
}

.filter-group:last-child {
	margin-bottom: 0;
}

.filter-label {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--secondary-color);
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.filter-label::before {
	content: "";
	width: 4px;
	height: 20px;
	background: var(--gradient-primary);
	border-radius: 2px;
}

.filter-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 0.75rem;
}

.filter-btn {
	padding: 0.75rem 1.5rem;
	border-radius: var(--border-radius-xl);
	border: 2px solid rgba(255, 139, 0, 0.15);
	background: #ffffff;
	color: #333333;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition-fast);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
	position: relative;
	overflow: hidden;
}

/* Dark mode filter buttons */
[data-theme="dark"] .filter-btn {
	background: var(--card-bg);
	color: var(--text-color);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	border-color: rgba(255, 139, 0, 0.25);
}

[data-theme="dark"] .filter-btn:hover {
	border-color: rgba(255, 139, 0, 0.4);
}

.filter-btn::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 139, 0, 0.1), transparent);
	transition: left 0.5s ease;
}

.filter-btn:hover::before {
	left: 100%;
}

.filter-btn:hover {
	transform: translateY(-3px) scale(1.05);
	box-shadow: 0 8px 25px rgba(255, 139, 0, 0.15);
	border-color: rgba(255, 139, 0, 0.3);
	color: var(--primary);
}

.filter-btn.active {
	background: var(--gradient-primary);
	color: var(--white);
	border-color: transparent;
	box-shadow: 0 6px 20px rgba(255, 139, 0, 0.4);
	transform: translateY(-2px);
}

.filter-btn.active::before {
	display: none;
}

/* Enhanced Reset Filters Button */
.filter-actions {
	margin-top: 1.5rem;
	text-align: center;
}

.reset-filters-btn {
	padding: 0.75rem 2rem;
	background: linear-gradient(135deg, var(--danger) 0%, #c0392b 100%);
	color: var(--white);
	border: none;
	border-radius: var(--border-radius-xl);
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
	transition: var(--transition-fast);
	box-shadow: 0 4px 15px rgba(234, 84, 85, 0.3);
	position: relative;
	overflow: hidden;
}

.reset-filters-btn::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s ease;
}

.reset-filters-btn:hover {
	transform: translateY(-3px) scale(1.05);
	box-shadow: 0 8px 25px rgba(234, 84, 85, 0.4);
}

.reset-filters-btn:hover::before {
	left: 100%;
}

/* Enhanced View Controls Section */
.view-controls-section {
	background: #ffffff;
	border-radius: var(--border-radius-lg);
	padding: 1.5rem;
	margin-bottom: 3rem;
	box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
	border: 1px solid rgba(255, 139, 0, 0.1);
	position: relative;
	overflow: hidden;
}

/* Dark mode view controls */
[data-theme="dark"] .view-controls-section {
	background: var(--card-bg);
	box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
	border-color: rgba(255, 139, 0, 0.2);
}

.view-controls-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: var(--gradient-primary);
}

.view-controls-header {
	margin-bottom: 1.5rem;
	text-align: center;
}

.controls-label {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--secondary-color);
	position: relative;
	display: inline-block;
}

.controls-label::after {
	content: "";
	position: absolute;
	bottom: -8px;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 2px;
	background: var(--gradient-primary);
	border-radius: 2px;
}

.view-controls-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
	flex-wrap: wrap;
}

.view-mode-controls {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.control-label {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--secondary);
	position: relative;
	padding-left: 1rem;
}

.control-label::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 18px;
	background: var(--gradient-primary);
	border-radius: 2px;
}

.items-per-page-controls {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.view-toggle {
	display: flex;
	background: linear-gradient(135deg, rgba(255, 139, 0, 0.08) 0%, rgba(255, 165, 0, 0.08) 100%);
	border-radius: var(--border-radius-md);
	padding: 6px;
	box-shadow: inset 0 2px 8px rgba(255, 139, 0, 0.1);
	border: 2px solid rgba(255, 139, 0, 0.15);
	position: relative;
	overflow: hidden;
}

.view-toggle::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(ellipse at center, rgba(255, 139, 0, 0.05) 0%, transparent 70%);
	z-index: 1;
}

.view-btn {
	padding: 1rem 1.25rem;
	border: none;
	background: transparent;
	color: var(--secondary);
	cursor: pointer;
	border-radius: var(--border-radius-sm);
	transition: var(--transition-fast);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-size: 1rem;
	font-weight: 600;
	position: relative;
	z-index: 2;
	overflow: hidden;
	min-width: 90px;
}

.view-btn::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: left 0.5s ease;
}

.view-btn i {
	font-size: 1.1rem;
	transition: var(--transition-fast);
}

.view-btn:hover {
	background: rgba(255, 139, 0, 0.1);
	color: var(--primary);
	transform: translateY(-2px) scale(1.05);
	box-shadow: 0 4px 15px rgba(255, 139, 0, 0.15);
}

.view-btn:hover::before { 
	left: 100%; 
}

.view-btn:hover i {
	transform: scale(1.1);
}

.view-btn.active {
	background: var(--gradient-primary);
	color: var(--white);
	box-shadow: 0 6px 20px rgba(255, 139, 0, 0.4);
	transform: translateY(-2px);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.view-btn.active::before { 
	display: none; 
}

.view-btn.active i {
	transform: scale(1.1);
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.items-per-page {
	display: flex;
	align-items: center;
	gap: 1rem;
	background: linear-gradient(135deg, rgba(255, 139, 0, 0.05) 0%, rgba(255, 165, 0, 0.05) 100%);
	padding: 1rem 1.25rem;
	border-radius: var(--border-radius-md);
	border: 2px solid rgba(255, 139, 0, 0.1);
	position: relative;
	overflow: hidden;
}

.items-per-page::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(ellipse at center, rgba(255, 139, 0, 0.03) 0%, transparent 70%);
	z-index: 1;
}

.items-per-page > * {
	position: relative;
	z-index: 2;
}

.items-per-page select {
	padding: 0.75rem 2.5rem 0.75rem 1rem;
	border: 2px solid rgba(255, 139, 0, 0.2);
	border-radius: var(--border-radius-sm);
	background: var(--white);
	color: var(--text-color);
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
	transition: var(--transition-fast);
	box-shadow: 0 3px 12px rgba(255, 139, 0, 0.1);
	min-width: 80px;
	appearance: none;
	position: relative;
}

.items-per-page {
	position: relative;
}

.items-per-page::after {
	content: "▼";
	position: absolute;
	right: 1.75rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--primary);
	font-size: 0.8rem;
	pointer-events: none;
	z-index: 3;
	transition: var(--transition-fast);
}

.items-per-page:hover::after {
	transform: translateY(-50%) scale(1.1);
}

.items-per-page select:hover {
	border-color: var(--primary);
	box-shadow: 0 6px 20px rgba(255, 139, 0, 0.2);
	transform: translateY(-2px);
}

.items-per-page select:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 4px rgba(255, 139, 0, 0.15), 0 6px 20px rgba(255, 139, 0, 0.2);
	transform: translateY(-2px);
}

/* Loading Spinner */
.loading-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 4rem;
}

.loading-spinner {
	width: 50px;
	height: 50px;
	border: 3px solid var(--primary-light);
	border-top: 3px solid var(--primary-color);
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin-bottom: 1rem;
}

/* Network Filter */
.network-filter {
	background: rgba(255, 255, 255, 0.9);
	border-radius: var(--border-radius);
	padding: 1.75rem;
	margin-bottom: 2.5rem;
	box-shadow: var(--shadow);
	border: 1px solid rgba(255, 139, 0, 0.1);
}

.filter-label {
	font-weight: 600;
	margin-bottom: 1.25rem;
	color: var(--secondary-color);
	font-size: 1.1rem;
}

.filter-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.filter-btn {
	padding: 0.7rem 1.4rem;
	border-radius: 30px;
	border: none;
	background: #fff;
	color: var(--text-color);
	font-size: 0.95rem;
	cursor: pointer;
	transition: var(--transition);
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
	border: 1px solid rgba(0, 0, 0, 0.05);
	font-weight: 500;
}

.filter-btn:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
	border-color: rgba(255, 139, 0, 0.3);
}

.filter-btn.active {
	background: var(--primary-gradient);
	color: #fff;
	box-shadow: var(--glow);
	border: none;
}

/* Enhanced Club Cards */
.clubs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 2rem;
	padding: 2rem 0;
}

.club-card {
	background: #ffffff;
	border-radius: var(--border-radius-lg);
	overflow: hidden;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
	transition: var(--transition-fast);
	position: relative;
	border: 2px solid transparent;
	cursor: pointer;
	animation: fadeInUp 0.6s ease-out forwards;
	opacity: 0;
	transform: translateY(20px);
}

/* Dark mode club cards */
[data-theme="dark"] .club-card {
	background: var(--card-bg);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
}

.club-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(255, 139, 0, 0.08) 0%, rgba(255, 165, 0, 0.08) 100%);
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: 1;
	pointer-events: none;
}

.club-card::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: var(--gradient-primary);
	transform: scaleX(0);
	transition: transform 0.4s ease;
	z-index: 3;
}

.club-card:hover {
	transform: translateY(-15px) scale(1.03);
	box-shadow: 0 20px 60px rgba(255, 139, 0, 0.15), 0 8px 25px rgba(0, 0, 0, 0.1);
	border-color: rgba(255, 139, 0, 0.25);
}

.club-card:hover::before { 
	opacity: 1; 
}

.club-card:hover::after {
	transform: scaleX(1);
}

/* Club card animation delays */
.club-card:nth-child(1) { animation-delay: 0.1s; }
.club-card:nth-child(2) { animation-delay: 0.2s; }
.club-card:nth-child(3) { animation-delay: 0.3s; }
.club-card:nth-child(4) { animation-delay: 0.4s; }
.club-card:nth-child(5) { animation-delay: 0.5s; }
.club-card:nth-child(6) { animation-delay: 0.6s; }

.club-image {
	position: relative;
	height: 200px;
	overflow: hidden;
}

.club-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.club-card:hover .club-image img { transform: scale(1.05); }

.club-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	padding: 1rem;
	opacity: 0;
	transition: all 0.4s ease;
}

.club-card:hover .club-overlay { opacity: 1; }

.club-overlay .club-type {
	background: linear-gradient(135deg, rgba(255, 139, 0, 0.95) 0%, rgba(255, 165, 0, 0.95) 100%);
	color: white;
	padding: 0.6rem 1.2rem;
	border-radius: 30px;
	font-size: 0.85rem;
	font-weight: 600;
	border: 2px solid rgba(255, 255, 255, 0.3);
	box-shadow: 0 4px 15px rgba(255, 139, 0, 0.3);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	display: flex;
	align-items: center;
	gap: 0.5rem;
	transition: var(--transition-fast);
	position: relative;
	overflow: hidden;
}

.club-overlay .club-type::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: left 0.5s ease;
}

.club-card:hover .club-overlay .club-type::before { left: 100%; }

.club-overlay .club-type i {
	font-size: 0.9rem;
	filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

.club-content {
	padding: 1.75rem;
	position: relative;
	z-index: 2;
}

.club-header {
	margin-bottom: 1.25rem;
}

.club-name {
	font-size: 1.5rem;
	font-weight: 800;
	color: #3A3A50;
	margin-bottom: 0.75rem;
	line-height: 1.2;
	transition: var(--transition-fast);
	position: relative;
}

/* Dark mode club name */
[data-theme="dark"] .club-name {
	color: var(--text-color);
}

.club-card:hover .club-name {
	color: var(--primary);
	transform: translateY(-2px);
}

.club-name::after {
	content: "";
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--gradient-primary);
	transition: width 0.4s ease;
}

.club-card:hover .club-name::after {
	width: 50px;
}

.club-location,
.club-address {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--light-text);
	font-size: 0.9rem;
	margin-bottom: 0.4rem;
	padding: 0.25rem 0;
	transition: var(--transition-fast);
}

.club-card:hover .club-location,
.club-card:hover .club-address {
	color: var(--text-color);
	transform: translateX(4px);
}

.club-location i,
.club-address i {
	color: var(--primary);
	width: 16px;
	font-size: 0.9rem;
	transition: var(--transition-fast);
}

.club-card:hover .club-location i,
.club-card:hover .club-address i {
	transform: scale(1.1);
}

.club-actions {
	display: flex;
	gap: 0.5rem;
	justify-content: center;
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 139, 0, 0.1);
}

/* List View */
.clubs-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.club-list-item {
	background: #ffffff;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	transition: var(--transition-fast);
	display: flex;
	border: 2px solid transparent;
	cursor: pointer;
	position: relative;
	animation: fadeInLeft 0.6s ease-out forwards;
	opacity: 0;
	transform: translateX(-20px);
}

/* Dark mode club list item */
[data-theme="dark"] .club-list-item {
	background: var(--card-bg);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.club-list-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(255, 139, 0, 0.03) 0%, rgba(255, 165, 0, 0.03) 100%);
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: 1;
	pointer-events: none;
}

.club-list-item:hover {
	transform: translateY(-4px) scale(1.01);
	box-shadow: 0 12px 35px rgba(255, 139, 0, 0.15);
	border-color: rgba(255, 139, 0, 0.25);
}

.club-list-item:hover::before { opacity: 1; }

.club-list-item:nth-child(1) { animation-delay: 0.1s; }
.club-list-item:nth-child(2) { animation-delay: 0.2s; }
.club-list-item:nth-child(3) { animation-delay: 0.3s; }
.club-list-item:nth-child(4) { animation-delay: 0.4s; }
.club-list-item:nth-child(5) { animation-delay: 0.5s; }
.club-list-item:nth-child(6) { animation-delay: 0.6s; }

.club-list-image {
	width: 200px;
	height: 140px;
	flex-shrink: 0;
	overflow: hidden;
	position: relative;
}

.club-list-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.club-list-item:hover .club-list-image img { transform: scale(1.05); }

.list-badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	background: linear-gradient(135deg, rgba(255, 139, 0, 0.95) 0%, rgba(255, 165, 0, 0.95) 100%);
	color: white;
	padding: 0.4rem 0.8rem;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 600;
	border: 1px solid rgba(255, 255, 255, 0.3);
	box-shadow: 0 2px 8px rgba(255, 139, 0, 0.3);
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
	z-index: 2;
}

.club-list-content {
	flex: 1;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.club-list-header {
	margin-bottom: 1rem;
}

.club-list-header .club-name {
	font-size: 1.5rem;
	font-weight: 700;
	color: #2c3e50;
	margin-bottom: 0.75rem;
}

.club-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.club-meta .club-type,
.club-meta .club-location,
.club-meta .club-address {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: #666;
	font-size: 0.9rem;
	background: rgba(255, 139, 0, 0.05);
	padding: 0.4rem 0.8rem;
	border-radius: 15px;
	border: 1px solid rgba(255, 139, 0, 0.1);
	transition: var(--transition-fast);
}

.club-meta .club-type:hover,
.club-meta .club-location:hover,
.club-meta .club-address:hover {
	background: rgba(255, 139, 0, 0.1);
	border-color: rgba(255, 139, 0, 0.2);
	transform: translateY(-1px);
}

.club-meta i {
	color: var(--primary);
	width: 16px;
	font-size: 0.85rem;
}

.club-list-actions {
	display: flex;
	gap: 1rem;
	align-items: center;
}

.club-list-actions .action-btn {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	border-radius: 25px;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	transition: var(--transition-fast);
	width: auto;
	height: auto;
}

.club-list-actions .action-btn span { display: inline; }

/* Enhanced Pagination */
.pagination-container {
	margin-top: 4rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	padding: 2rem;
	background: var(--white);
	border-radius: var(--border-radius-lg);
	box-shadow: 0 6px 25px rgba(0, 0, 0, 0.06);
	border: 1px solid rgba(255, 139, 0, 0.1);
	position: relative;
	overflow: hidden;
}

.pagination-container::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: var(--gradient-primary);
}

.pagination-info {
	color: var(--text-color);
	font-size: 1rem;
	font-weight: 600;
	text-align: center;
	position: relative;
}

.pagination-info::after {
	content: "";
	position: absolute;
	bottom: -8px;
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 2px;
	background: var(--gradient-primary);
	border-radius: 2px;
}

.pagination {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
	justify-content: center;
}

.pagination-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 2px solid rgba(255, 139, 0, 0.2);
	background: var(--white);
	color: var(--text-color);
	border-radius: var(--border-radius-sm);
	cursor: pointer;
	transition: var(--transition-fast);
	font-weight: 600;
	text-decoration: none;
	position: relative;
	overflow: hidden;
}

.pagination-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 139, 0, 0.1), transparent);
	transition: left 0.5s ease;
}

.pagination-btn:hover:not(:disabled)::before {
	left: 100%;
}

.pagination-btn:hover:not(:disabled) {
	background: rgba(255, 139, 0, 0.1);
	border-color: var(--primary);
	color: var(--primary);
	transform: translateY(-3px) scale(1.05);
	box-shadow: 0 6px 20px rgba(255, 139, 0, 0.2);
}

.pagination-btn.active {
	background: var(--gradient-primary);
	border-color: transparent;
	color: var(--white);
	box-shadow: 0 6px 20px rgba(255, 139, 0, 0.4);
	transform: translateY(-2px);
}

.pagination-btn.active::before {
	display: none;
}

.pagination-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.pagination-btn:disabled::before {
	display: none;
}

/* Enhanced No Results */
.no-results {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 4rem 2rem;
	background: var(--white);
	border-radius: var(--border-radius-lg);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
	text-align: center;
	border: 2px solid rgba(255, 139, 0, 0.1);
	position: relative;
	overflow: hidden;
}

.no-results::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: var(--gradient-primary);
}

.no-results i {
	font-size: 4rem;
	color: var(--primary);
	margin-bottom: 2rem;
	opacity: 0.8;
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: pulse 2s ease-in-out infinite;
}

.no-results p {
	color: var(--text-color);
	margin-bottom: 2rem;
	font-size: 1.2rem;
	font-weight: 500;
	max-width: 400px;
	line-height: 1.6;
}

.reset-btn {
	padding: 1rem 2.5rem;
	background: var(--gradient-primary);
	color: var(--white);
	border: none;
	border-radius: var(--border-radius-xl);
	cursor: pointer;
	transition: var(--transition-fast);
	font-weight: 700;
	font-size: 1rem;
	position: relative;
	overflow: hidden;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.reset-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s ease;
}

.reset-btn:hover {
	box-shadow: 0 8px 25px rgba(255, 139, 0, 0.4);
	transform: translateY(-3px) scale(1.05);
}

.reset-btn:hover::before {
	left: 100%;
}

/* ===== CONTACT FORM ===== */
.contact-form {
	background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
	padding: 80px 20px;
	color: white;
	position: relative;
	overflow: hidden;
}
[data-theme="dark"] .contact-form  {
	background: linear-gradient(135deg, #0f172a 0%, var(--primary-dark) 50%, var(--primary) 100%);
	color: #ffffff;
}
.contact-bg-shape {
	@extend .section-bg-pattern;
	opacity: 0.4;
}

.form-container {
	max-width: 700px;
	margin: 0 auto;
	position: relative;
	z-index: 10;
	background: #ffffff;
	padding: 30px;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Dark mode form container */
[data-theme="dark"] .form-container {
	background: var(--card-bg);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
	border-color: rgba(255, 139, 0, 0.2);
}

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

.form-label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	color: #3A3A50;
}

/* Dark mode form label */
[data-theme="dark"] .form-label {
	color: var(--text-color);
}

.form-control {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	font-family: 'Tajawal', sans-serif;
	font-size: 1rem;
	transition: var(--transition-fast);
	background-color: #ffffff;
	color: #333333;
}

/* Dark mode form control */
[data-theme="dark"] .form-control {
	background-color: #2d3748;
	border-color: rgba(255, 139, 0, 0.2);
	color: var(--text-color);
}

[data-theme="dark"] .form-control:focus {
	box-shadow: 0 0 0 3px rgba(255, 139, 0, 0.3);
}

.form-control:focus {
	border-color: rgba(255, 139, 0, 0.7);
	box-shadow: 0 0 0 3px rgba(255, 139, 0, 0.2);
	outline: none;
}

.form-select {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	font-family: 'Tajawal', sans-serif;
	font-size: 1rem;
	transition: var(--transition-fast);
	background-color: #ffffff;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%233A3A50' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	padding-right: 40px;
	color: #333333;
}

/* Dark mode form select */
[data-theme="dark"] .form-select {
	background-color: #2d3748;
	border-color: rgba(255, 139, 0, 0.2);
	color: var(--text-color);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23f7fafc' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

html[dir="ltr"] .form-select {
	background-position: right 15px center;
	padding-left: 15px;
}

html[dir="rtl"] .form-select {
	background-position: left 15px center;
	padding-right: 15px;
	padding-left: 40px;
}

.form-textarea {
	min-height: 150px;
	resize: vertical;
}

.form-check {
	display: flex;
	align-items: flex-start;
	margin-bottom: 20px;
}

html[dir="ltr"] .form-check-input {
	margin-right: 10px;
	margin-top: 5px;
}

html[dir="rtl"] .form-check-input {
	margin-left: 10px;
	margin-top: 5px;
}

.form-check-label {
	color: #3A3A50;
	font-size: 0.9rem;
}

/* Dark mode form check label */
[data-theme="dark"] .form-check-label {
	color: var(--text-color);
}

.form-check-label a {
	color: rgba(255, 139, 0, 1);
	text-decoration: none;
}

.form-check-label a:hover { text-decoration: underline; }

.submit-btn {
	background: var(--primary-gradient);
	color: white;
	border: none;
	padding: 12px 30px;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition-fast);
	display: block;
	width: 100%;
	font-size: 1rem;
	box-shadow: 0 5px 15px rgba(255, 139, 0, 0.2);
}

.submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(255, 139, 0, 0.3);
}

/* ===== HOW IT WORKS CUSTOMERS ===== */
.how-it-works-customers {
	padding: var(--spacing-xl) 0;
	position: relative;
	overflow: hidden;
	background-color: var(--light-bg);
}

.section-bg-gradient,
.section-shape-1,
.section-shape-2 {
	position: absolute;
	z-index: 0;
}

.section-bg-gradient {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(255, 132, 0, 0.05) 0%, rgba(221, 75, 0, 0.03) 100%);
}

.section-shape-1 {
	top: 10%;
	width: 400px;
	height: 400px;
	background-color: rgba(255, 132, 0, 0.03);
	border-radius: 50%;
}

html[dir="ltr"] .section-shape-1 { left: -150px; }
html[dir="rtl"] .section-shape-1 { right: -150px; }

.section-shape-2 {
	bottom: 5%;
	width: 300px;
	height: 300px;
	background-color: rgba(221, 75, 0, 0.03);
	border-radius: 50%;
}

html[dir="ltr"] .section-shape-2 { right: -100px; }
html[dir="rtl"] .section-shape-2 { left: -100px; }

.steps-showcase {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	z-index: 2;
}

.device-showcase {
	position: relative;
	width: 100%;
	max-width: var(--device-width);
	height: var(--device-height);
	margin-bottom: var(--spacing-lg);
}

.device-frame-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	perspective: 1000px;
	transform-style: preserve-3d;
	display: flex;
	justify-content: center;
	align-items: center;
	animation: float 6s ease-in-out infinite;
}

.device-frame-img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: contain;
	z-index: 3;
	filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
	transition: var(--transition-medium);
}

.device-slider {
	position: absolute;
	width: var(--screen-width);
	height: var(--screen-height);
	overflow: hidden;
	z-index: 1;
	border-radius: 4px;
	top: 44%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #000;
}

.device-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: var(--transition-medium);
	transform: scale(0.95);
}

.device-slide.active {
	opacity: 1;
	transform: scale(1);
	z-index: 2;
}

.screen-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.device-glow {
	position: absolute;
	width: 100%;
	height: 100%;
	background: radial-gradient(ellipse at center, rgba(255, 132, 0, 0.15) 0%, transparent 70%);
	border-radius: 50%;
	z-index: -1;
	opacity: 0.7;
	filter: blur(30px);
	animation: pulse 8s infinite alternate;
}

.step-description-box {
	width: 100%;
	max-width: 700px;
	margin-bottom: var(--spacing-lg);
	position: relative;
	min-height: 150px;
}

.step-description2 {
	display: flex;
	align-items: center;
	gap: var(--spacing-md);
	padding: var(--spacing-lg);
	background-color: #ffffff;
	border-radius: var(--border-radius-md);
	box-shadow: var(--shadow-md);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	opacity: 0;
	transform: translateY(20px);
	transition: var(--transition-medium);
	visibility: hidden;
}

/* Dark mode step description */
[data-theme="dark"] .step-description2 {
	background-color: var(--card-bg);
	color: var(--text-color);
}

html[dir="rtl"] .step-description2 {
	flex-direction: row-reverse;
	text-align: right;
}

.step-description2.active {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
}

.step-number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	background: var(--gradient-primary);
	color: var(--white);
	border-radius: 50%;
	font-weight: 700;
	font-size: 1.5rem;
	flex-shrink: 0;
	box-shadow: 0 5px 15px rgba(255, 132, 0, 0.3);
}

.step-content {
	flex: 1;
}

.step-content h3 {
	font-size: 1.4rem;
	font-weight: 700;
	margin-bottom: var(--spacing-sm);
	color: var(--primary);
}

.step-content p {
	font-size: 1rem;
	color: #4a5568;
	line-height: 1.6;
}

/* Dark mode step content */
[data-theme="dark"] .step-content p {
	color: var(--light-text);
}

.steps-progress {
    margin-top: 30px;
	display: flex;
	align-items: center;
	gap: var(--spacing-md);
	background-color: #ffffff;
	padding: var(--spacing-sm) var(--spacing-lg);
	border-radius: 50px;
	box-shadow: var(--shadow-md);
	margin-bottom: var(--spacing-lg);
	min-width: 250px;
}

/* Dark mode steps progress */
[data-theme="dark"] .steps-progress {
	background-color: var(--card-bg);
}

.progress-track {
	flex: 1;
	height: 6px;
	background-color: rgba(255, 132, 0, 0.2);
	border-radius: 3px;
	position: relative;
	overflow: hidden;
}

.progress-bar {
	position: absolute;
	top: 0;
	height: 100%;
	width: 14.28%;
	background: var(--gradient-primary);
	border-radius: 3px;
	transition: var(--transition-fast);
}

html[dir="ltr"] .progress-bar { left: 0; }
html[dir="rtl"] .progress-bar { right: 0; }

.step-counter {
	font-weight: 700;
	color: var(--dark);
	font-size: 1rem;
}

.current-step { color: var(--primary); }

.steps-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2rem;
	margin-bottom: 3rem;
	padding: 1.5rem;
	background: var(--white);
	border-radius: var(--border-radius-lg);
	box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
	border: 1px solid rgba(255, 139, 0, 0.1);
	position: relative;
	overflow: hidden;
}

.steps-controls::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: var(--gradient-primary);
}

.control-dots {
	display: flex;
	gap: 12px;
	padding: 0.5rem 1rem;
	background: rgba(255, 139, 0, 0.05);
	border-radius: var(--border-radius-xl);
	border: 1px solid rgba(255, 139, 0, 0.1);
}

.control-dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background-color: rgba(255, 139, 0, 0.3);
	border: 2px solid rgba(255, 139, 0, 0.2);
	cursor: pointer;
	transition: var(--transition-fast);
	position: relative;
	overflow: hidden;
}

.control-dot::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0);
	width: 6px;
	height: 6px;
	background: var(--white);
	border-radius: 50%;
	transition: transform 0.3s ease;
}

.control-dot:hover {
	background-color: rgba(255, 139, 0, 0.4);
	border-color: rgba(255, 139, 0, 0.4);
	transform: scale(1.1);
}

.control-dot.active {
	background: var(--gradient-primary);
	border-color: var(--primary);
	transform: scale(1.3);
	box-shadow: 0 4px 12px rgba(255, 139, 0, 0.4);
}

.control-dot.active::before {
	transform: translate(-50%, -50%) scale(1);
}

.control-arrow {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--white);
	border: 2px solid rgba(255, 139, 0, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	cursor: pointer;
	transition: var(--transition-fast);
	font-size: 1.2rem;
	font-weight: 600;
	position: relative;
	overflow: hidden;
}

.control-arrow::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 139, 0, 0.1), transparent);
	transition: left 0.5s ease;
}

.control-arrow:hover {
	background: var(--gradient-primary);
	color: var(--white);
	border-color: transparent;
	transform: translateY(-3px) scale(1.05);
	box-shadow: 0 8px 25px rgba(255, 139, 0, 0.3);
}

.control-arrow:hover::before {
	left: 100%;
}

.control-arrow:active {
	transform: translateY(-1px) scale(0.98);
}

/* RTL support for control arrows - Fix arrow directions for Arabic */
html[dir="rtl"] .prev-step i {
	transform: scaleX(-1);
}

html[dir="rtl"] .next-step i {
	transform: scaleX(-1);
}

/* ===== LOYALTY TYPES ===== */
.loyalty-types {
	padding: 100px 0;
	background: linear-gradient(135deg, #FFFAF5 0%, #FFF7F0 100%);
	position: relative;
	overflow: hidden;
}

/* Dark mode loyalty types */
[data-theme="dark"] .loyalty-types {
	background: linear-gradient(135deg, var(--light) 0%, var(--light-bg) 100%);
}

.loyalty-bg-elements {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 0;
}

.loyalty-shape-1,
.loyalty-shape-2,
.loyalty-shape-3 {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.6;
	animation: floatShape 15s ease-in-out infinite;
}

.loyalty-shape-1 {
	width: 400px;
	height: 400px;
	background: rgba(255, 139, 0, 0.1);
	top: -100px;
	left: -100px;
}

.loyalty-shape-2 {
	width: 300px;
	height: 300px;
	background: rgba(176, 55, 0, 0.08);
	bottom: -50px;
	right: -50px;
	animation-duration: 20s;
	animation-direction: reverse;
}

.loyalty-shape-3 {
	width: 200px;
	height: 200px;
	background: rgba(255, 165, 0, 0.12);
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	animation-duration: 18s;
}

.loyalty-cards-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
	gap: 40px;
	margin-top: 60px;
	position: relative;
	z-index: 2;
}

.loyalty-card {
	background: #ffffff;
	border-radius: 24px;
	padding: 40px 30px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
	border: 2px solid transparent;
	transition: var(--transition-medium);
	position: relative;
	overflow: hidden;
	min-height: 600px;
	display: flex;
	flex-direction: column;
}

/* Dark mode loyalty card */
[data-theme="dark"] .loyalty-card {
	background: var(--card-bg);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.loyalty-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: var(--gradient-primary);
	border-radius: 24px 24px 0 0;
	transition: height 0.3s ease;
}

.loyalty-card:hover {
	transform: translateY(-15px) scale(1.02);
	box-shadow: 0 35px 80px rgba(255, 139, 0, 0.15);
	border-color: rgba(255, 139, 0, 0.2);
}

.loyalty-card:hover::before { height: 8px; }

.loyalty-card-header {
	text-align: center;
	margin-bottom: 40px;
}

.loyalty-icon-wrapper {
	position: relative;
	margin-bottom: 25px;
	display: inline-block;
}

.loyalty-icon {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
	position: relative;
	z-index: 2;
	transition: var(--transition-fast);
}

.points-icon {
	background: linear-gradient(135deg, #FF8B00, #FFB74D);
	color: white;
	box-shadow: 0 15px 35px rgba(255, 139, 0, 0.3);
}

.stamps-icon {
	background: linear-gradient(135deg, #B03700, #D84315);
	color: white;
	box-shadow: 0 15px 35px rgba(176, 55, 0, 0.3);
}

.icon-glow {
	position: absolute;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	z-index: 1;
	filter: blur(20px);
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: 0.6;
	transition: var(--transition-fast);
}

.points-glow { background: radial-gradient(circle, rgba(255, 139, 0, 0.4), transparent); }
.stamps-glow { background: radial-gradient(circle, rgba(176, 55, 0, 0.4), transparent); }
.loyalty-card:hover .icon-glow {
	width: 160px;
	height: 160px;
	opacity: 0.8;
}

.loyalty-card:hover .loyalty-icon {
	transform: scale(1.1) rotateY(10deg);
}

.loyalty-card-header h3 {
	font-size: 2rem;
	font-weight: 700;
	color: #3A3A50;
	margin-bottom: 10px;
}

.loyalty-subtitle {
	font-size: 1.1rem;
	color: var(--primary);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* Dark mode loyalty card header */
[data-theme="dark"] .loyalty-card-header h3 {
	color: var(--text-color);
}

.loyalty-card-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.loyalty-features {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.loyalty-feature {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 15px 20px;
	background: rgba(255, 139, 0, 0.05);
	border-radius: 12px;
	border-left: 4px solid var(--primary);
	transition: var(--transition-fast);
}

.loyalty-feature:hover {
	background: rgba(255, 139, 0, 0.1);
	transform: translateX(10px);
}

html[dir="rtl"] .loyalty-feature:hover { transform: translateX(-10px); }

.loyalty-feature .feature-icon {
	color: var(--primary);
	font-size: 1.2rem;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	text-align: center;
}

.loyalty-feature span {
	font-weight: 500;
	color: #3A3A50;
	flex: 1;
}

/* Dark mode loyalty feature text */
[data-theme="dark"] .loyalty-feature span {
	color: var(--text-color);
}

[data-theme="dark"] .loyalty-feature {
	background: rgba(255, 139, 0, 0.1);
}

.loyalty-visual {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

/* Points Visual */
.points-visual {
	width: 100%;
	max-width: 300px;
}

.points-animation {
	display: flex;
	justify-content: space-around;
	margin-bottom: 30px;
}

.point-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	animation: pointFloat 3s ease-in-out infinite;
}

.point-item:nth-child(1) { animation-delay: 0s; }
.point-item:nth-child(2) { animation-delay: 0.5s; }
.point-item:nth-child(3) { animation-delay: 1s; }

.point-item i {
	font-size: 1.5rem;
	color: var(--primary);
	animation: pointPulse 2s ease-in-out infinite;
}

.point-item span {
	font-weight: 700;
	color: var(--primary);
	font-size: 1.1rem;
}

.points-counter {
	text-align: center;
	padding: 25px;
	background: linear-gradient(135deg, #FF8B00, #FFB74D);
	border-radius: 20px;
	color: white;
	box-shadow: 0 10px 30px rgba(255, 139, 0, 0.2);
}

.counter-display {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
}

.counter-display i {
	font-size: 2rem;
	margin-bottom: 10px;
}

.counter-number {
	font-size: 2.5rem;
	font-weight: 800;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.counter-display small {
	font-size: 1rem;
	opacity: 0.9;
}

/* Stamps Visual */
.stamps-visual {
	width: 100%;
	max-width: 280px;
}

.stamp-card {
	background: linear-gradient(135deg, #B03700, #D84315);
	padding: 25px;
	border-radius: 20px;
	color: white;
	box-shadow: 0 15px 35px rgba(176, 55, 0, 0.2);
}

.stamp-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
	margin-bottom: 20px;
}

.stamp-slot {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	transition: var(--transition-fast);
}

.stamp-slot.filled {
	background: rgba(255, 255, 255, 0.9);
	color: var(--primary);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	animation: stampFill 0.5s ease-out;
}

.stamp-slot.filled i { font-size: 1.2rem; }

.stamp-slot.current {
	background: rgba(255, 255, 255, 0.2);
	border: 2px solid rgba(255, 255, 255, 0.8);
	position: relative;
}

.stamp-pulse {
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 6px;
	animation: stampPulse 2s ease-in-out infinite;
}

.stamp-placeholder {
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 6px;
	border: 2px dashed rgba(255, 255, 255, 0.3);
}

.stamp-progress {
	text-align: center;
	padding-top: 15px;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stamp-progress span {
	font-size: 1.5rem;
	font-weight: 700;
	display: block;
	margin-bottom: 5px;
}

.progress-text {
	font-size: 0.9rem;
	opacity: 0.9;
}

.loyalty-card-footer {
	text-align: center;
	margin-top: 30px;
	padding-top: 25px;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.loyalty-card-footer p {
	color: var(--secondary-light);
	line-height: 1.6;
	font-style: italic;
}

.loyalty-cta {
	margin-top: 80px;
	text-align: center;
	position: relative;
	z-index: 2;
}

.cta-content {
	background: white;
	padding: 50px 40px;
	border-radius: 24px;
	box-shadow: 0 20px 60px rgba(255, 139, 0, 0.1);
	border: 1px solid rgba(255, 139, 0, 0.1);
	position: relative;
	overflow: hidden;
}

.cta-content::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: var(--gradient-primary);
}

.cta-content h3 {
	font-size: 2.2rem;
	font-weight: 700;
	color: var(--secondary);
	margin-bottom: 20px;
}

.cta-content p {
	font-size: 1.2rem;
	color: var(--secondary-light);
	margin-bottom: 35px;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.cta-buttons {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
}

/* Enhanced Submit Button */
.submit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 2.5rem;
	background: var(--gradient-primary);
	color: var(--white);
	border: none;
	border-radius: var(--border-radius-xl);
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
	transition: var(--transition-fast);
	position: relative;
	overflow: hidden;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	min-width: 200px;
	box-shadow: 0 8px 25px rgba(255, 139, 0, 0.3);
}

.submit-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s ease;
}

.submit-btn::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.submit-btn:hover {
	transform: translateY(-4px) scale(1.03);
	box-shadow: 0 12px 35px rgba(255, 139, 0, 0.4);
}

.submit-btn:hover::before {
	left: 100%;
}

.submit-btn:hover::after {
	opacity: 1;
}

.submit-btn:active {
	transform: translateY(-1px) scale(1.01);
}

[data-theme="dark"] .submit-btn {
	box-shadow: 0 8px 25px rgba(255, 139, 0, 0.4), 0 4px 10px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .submit-btn:hover {
	box-shadow: 0 12px 35px rgba(255, 139, 0, 0.5), 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* ===== ENHANCED CTA SECTION ===== */
.cta {
	padding: 120px 0;
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	color: var(--white);
	text-align: center;
	position: relative;
	overflow: hidden;
}

.cta::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(ellipse at top left, rgba(255, 255, 255, 0.1) 0%, transparent 50%), 
	            radial-gradient(ellipse at bottom right, rgba(0, 0, 0, 0.1) 0%, transparent 50%),
	            url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='7' cy='7' r='2'/%3E%3Ccircle cx='27' cy='7' r='1'/%3E%3Ccircle cx='47' cy='7' r='2'/%3E%3Ccircle cx='7' cy='27' r='1'/%3E%3Ccircle cx='27' cy='27' r='2'/%3E%3Ccircle cx='47' cy='27' r='1'/%3E%3Ccircle cx='7' cy='47' r='2'/%3E%3Ccircle cx='27' cy='47' r='1'/%3E%3Ccircle cx='47' cy='47' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	opacity: 0.8;
	z-index: 1;
}

.cta .container {
	position: relative;
	z-index: 2;
}

.cta h2 {
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	font-weight: 900;
	margin-bottom: 2rem;
	text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	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;
	line-height: 1.1;
}

.cta p {
	font-size: clamp(1.1rem, 2.5vw, 1.4rem);
	margin-bottom: 3rem;
	opacity: 0.95;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.7;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	font-weight: 400;
}

.cta .hero-btns {
	display: flex;
	gap: 1.5rem;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 2rem;
}

/* Dark Mode CTA Adjustments */
[data-theme="dark"] .cta {
	background: linear-gradient(135deg, #0f172a 0%, #1a202c 50%, var(--primary-dark) 100%);
}

[data-theme="dark"] .cta::before {
	background: radial-gradient(ellipse at top left, rgba(255, 139, 0, 0.15) 0%, transparent 50%), 
	            radial-gradient(ellipse at bottom right, rgba(0, 0, 0, 0.3) 0%, transparent 50%),
	            url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FF8B00' fill-opacity='0.1'%3E%3Ccircle cx='7' cy='7' r='2'/%3E%3Ccircle cx='27' cy='7' r='1'/%3E%3Ccircle cx='47' cy='7' r='2'/%3E%3Ccircle cx='7' cy='27' r='1'/%3E%3Ccircle cx='27' cy='27' r='2'/%3E%3Ccircle cx='47' cy='27' r='1'/%3E%3Ccircle cx='7' cy='47' r='2'/%3E%3Ccircle cx='27' cy='47' r='1'/%3E%3Ccircle cx='47' cy='47' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

[data-theme="dark"] .cta h2 {
	background: linear-gradient(135deg, #ffffff 0%, rgba(255, 139, 0, 0.9) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-shadow: none;
}

[data-theme="dark"] .cta p {
	color: rgba(255, 255, 255, 0.95);
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ===== FOOTER ===== */
.footer {
	background-color: var(--dark);
	color: var(--white);
	padding: 80px 0 20px;
}

/* Dark Mode Footer */
[data-theme="dark"] .footer {
	background: linear-gradient(135deg, #0f172a 0%, #1a202c 100%);
	border-top: 2px solid var(--primary);
}

.footer-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 40px;
	margin-bottom: 60px;
}

.footer-col h3 {
	font-size: 1.2rem;
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 10px;
}

.footer-col h3:after {
	content: '';
	position: absolute;
	bottom: 0;
	width: 40px;
	height: 3px;
	background: var(--primary);
	border-radius: 1.5px;
}

html[dir="ltr"] .footer-col h3:after { left: 0; }
html[dir="rtl"] .footer-col h3:after { right: 0; }

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

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

.footer-links a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: var(--transition-fast);
}

.footer-links a:hover { color: var(--primary); }

/* Dark mode footer improvements */
[data-theme="dark"] .footer-links a {
	color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .footer-links a:hover {
	color: var(--primary);
	transform: translateX(5px);
}

[data-theme="dark"] .footer-col h3 {
	color: #ffffff;
}

.social-links {
	display: flex;
	gap: 15px;
	margin-top: 20px;
}

.social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	color: white;
	font-size: 1.2rem;
	transition: var(--transition-fast);
}

.social-link:hover {
	background: var(--primary);
	transform: translateY(-3px);
}

.footer-bottom {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.6);
}

/* Dark mode footer bottom */
[data-theme="dark"] .footer-bottom {
	color: rgba(255, 255, 255, 0.8);
	border-top-color: rgba(255, 255, 255, 0.2);
}

/* Fix footer paragraph text in dark mode */
[data-theme="dark"] .footer-col p {
	color: rgba(255, 255, 255, 0.85);
}

/* ===== MOBILE BOTTOM NAVIGATION ===== */
.mobile-bottom-nav {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.95);
	border-top: 1px solid rgba(255, 139, 0, 0.2);
	padding: 8px 0 max(8px, env(safe-area-inset-bottom));
	z-index: 1000;
	display: none;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
	margin: 0;
}

/* Dark mode mobile nav */
[data-theme="dark"] .mobile-bottom-nav {
	background: rgba(26, 32, 44, 0.95);
	border-top-color: rgba(255, 139, 0, 0.3);
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.mobile-bottom-nav.show {
	display: block;
	animation: slideUpNav 0.3s ease-out;
}

.mobile-nav-container {
	display: flex;
	justify-content: space-around;
	align-items: center;
	max-width: 500px;
	margin: 0 auto;
	padding: 0 16px;
}

.mobile-nav-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	color: var(--secondary);
	transition: var(--transition-fast);
	padding: 8px 4px;
	border-radius: 12px;
	min-width: 60px;
	position: relative;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
	color: var(--primary);
	background: rgba(255, 139, 0, 0.1);
	transform: translateY(-2px);
}

.mobile-nav-item .nav-icon {
	font-size: 20px;
	margin-bottom: 4px;
	transition: var(--transition-fast);
}

.mobile-nav-item.active .nav-icon { transform: scale(1.1); }

.mobile-nav-item .nav-label {
	font-size: 11px;
	font-weight: 500;
	text-align: center;
	line-height: 1.2;
}

.mobile-nav-item .nav-badge {
	position: absolute;
	top: 2px;
	right: 8px;
	background: var(--primary);
	color: white;
	font-size: 10px;
	font-weight: 600;
	padding: 2px 6px;
	border-radius: 10px;
	min-width: 18px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ===== ANIMATIONS ===== */
@keyframes slideInLeft {
	from { opacity: 0; transform: translateX(-60px); }
	to { opacity: 1; transform: translateX(0); }
}

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

@keyframes slideInWidth {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

@keyframes floatComplex {
	0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
	25% { transform: translateY(-30px) translateX(20px) rotate(5deg); }
	50% { transform: translateY(-10px) translateX(-15px) rotate(-3deg); }
	75% { transform: translateY(-40px) translateX(10px) rotate(2deg); }
}

@keyframes pulse {
	0%, 100% { opacity: 0.3; transform: scale(1); }
	50% { opacity: 0.5; transform: scale(1.05); }
}

@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

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

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

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

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

@keyframes shimmer {
	100% { transform: translateX(200%); }
}

@keyframes floatShape {
	0%, 100% { transform: translateY(0) translateX(0); }
	25% { transform: translateY(-30px) translateX(20px); }
	50% { transform: translateY(-10px) translateX(-15px); }
	75% { transform: translateY(-40px) translateX(10px); }
}

@keyframes pointFloat {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

@keyframes pointPulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.2); }
}

@keyframes stampFill {
	from { transform: scale(0); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}

@keyframes stampPulse {
	0%, 100% { opacity: 0.3; transform: scale(1); }
	50% { opacity: 0.8; transform: scale(1.1); }
}

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

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

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
	from { opacity: 0; transform: scale(0.95); }
	to { opacity: 1; transform: scale(1); }
}

/* ===== MOBILE MENU ANIMATIONS ===== */
@keyframes menuSlideIn {
	from {
		opacity: 0;
		transform: scale(1.1);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

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

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

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

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Hide mobile menu close button on desktop */
.mobile-menu-close {
	display: none;
}

/* Tablet Large (992px and below) */
@media (max-width: 992px) {
	:root {
		--device-width: 650px;
		--device-height: 650px;
		--screen-width: 580px;
		--screen-height: 320px;
	}

	.hero h1 { font-size: 2.8rem; }

	/* ===== ENHANCED MOBILE MENU OVERLAY ===== */
	.nav-links {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100vw;
		height: 100vh;
		background: var(--primary);
		z-index: 9999;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		padding: 2rem;
		text-align: center;
		opacity: 0;
		visibility: hidden;
		transition: all 0.3s ease;
		transform: translateY(-20px);
	}

	/* Dark mode mobile menu background */
	[data-theme="dark"] .nav-links {
		background: #0f172a;
	}

	.nav-links.show {
		display: flex;
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	/* Centered Navigation Items */
	.nav-links li {
		margin: 0.75rem 0;
		width: 100%;
		max-width: 280px;
		list-style: none;
	}

	.nav-links a {
		display: block;
		padding: 1rem 1.5rem;
		font-size: 1.1rem;
		font-weight: 600;
		color: white;
		text-decoration: none;
		background: rgba(255, 255, 255, 0.1);
		border: 2px solid rgba(255, 255, 255, 0.2);
		border-radius: 12px;
		transition: all 0.3s ease;
		text-align: center;
		min-height: 48px;
		line-height: 1.4;
	}

	.nav-links a:hover {
		background: rgba(255, 255, 255, 0.2);
		border-color: rgba(255, 255, 255, 0.4);
		transform: translateY(-2px);
	}

	.nav-links a.active {
		background: rgba(255, 255, 255, 0.9);
		color: var(--primary);
		border-color: white;
	}

	/* Dark mode navigation items */
	[data-theme="dark"] .nav-links a {
		color: rgba(255, 255, 255, 0.9);
		background: rgba(255, 255, 255, 0.08);
		border-color: rgba(255, 255, 255, 0.15);
	}

	[data-theme="dark"] .nav-links a:hover {
		background: rgba(255, 255, 255, 0.15);
		border-color: rgba(255, 255, 255, 0.3);
		color: white;
	}

	[data-theme="dark"] .nav-links a.active {
		background: var(--primary);
		color: white;
		border-color: var(--primary);
		box-shadow: 0 4px 15px rgba(255, 132, 0, 0.3);
	}

	/* Mobile Menu Exit Button */
	.mobile-menu-close {
		position: absolute;
		top: 2rem;
		right: 2rem;
		width: 48px;
		height: 48px;
		background: rgba(255, 255, 255, 0.15);
		border: 2px solid rgba(255, 255, 255, 0.3);
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		color: white;
		font-size: 1.4rem;
		cursor: pointer;
		transition: all 0.3s ease;
		z-index: 10;
	}

	.mobile-menu-close:hover {
		background: rgba(255, 255, 255, 0.25);
		border-color: rgba(255, 255, 255, 0.5);
		transform: scale(1.1);
	}

	/* Dark mode close button */
	[data-theme="dark"] .mobile-menu-close {
		background: rgba(255, 255, 255, 0.1);
		border-color: rgba(255, 255, 255, 0.2);
		color: rgba(255, 255, 255, 0.9);
	}

	[data-theme="dark"] .mobile-menu-close:hover {
		background: rgba(255, 255, 255, 0.2);
		border-color: rgba(255, 255, 255, 0.4);
		color: white;
	}


	.navbar { gap: 0.5rem; }

	.logo img { height: 28px; }
	.logo-desktop { display: none; }
	.logo-mobile { display: block; }

	.header .menu-toggle { display: block; }

	.hero-btns {
		flex-direction: column;
		gap: 15px;
		width: 100%;
		max-width: 300px;
	}

	.btn { width: 100%; }

	.section { padding: 70px 0; }

	.features-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

	.loyalty-cards-container {
		grid-template-columns: 1fr;
		max-width: 600px;
		margin-left: auto;
		margin-right: auto;
	}

	.hero-content {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 50px;
	}

	.hero-text {
		order: 2;
		max-width: 100%;
	}

	html[dir="ltr"] .hero-text,
	html[dir="rtl"] .hero-text { text-align: center; }

	.hero h1::after {
		left: 50%;
		transform: translateX(-50%) scaleX(0);
		transform-origin: center;
	}

	.app-mockup {
		order: 1;
		width: 70%;
		margin: 0 auto;
	}

	html[dir="ltr"] .app-mockup img,
	html[dir="rtl"] .app-mockup img {
		transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
	}

	html[dir="ltr"] .app-mockup:hover img,
	html[dir="rtl"] .app-mockup:hover img {
		transform: perspective(1200px) rotateY(0deg) rotateX(0deg) scale(1.02);
	}

	.hero-btns { justify-content: center; }

	.view-controls-wrapper {
		flex-direction: column;
		gap: 1.5rem;
		padding: 1.5rem;
	}

	.view-mode-controls,
	.items-per-page-controls {
		width: 100%;
		justify-content: space-between;
	}

	.clubs-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

	.quiz-content { flex-direction: column; }

	.quiz-text,
	.quiz-counter {
		width: 100%;
		min-width: unset;
	}

	.quiz-text { animation: fadeInDown 0.8s ease-out forwards; }
	.quiz-counter { animation: fadeInUp 0.8s ease-out forwards; }

	.club-list-item { flex-direction: column; }

	.club-list-image {
		width: 100%;
		height: 200px;
	}

	.club-list-actions { justify-content: center; }
}

/* Tablet (768px and below) */
@media (max-width: 768px) {
	:root {
		--device-width: 550px;
		--device-height: 550px;
		--screen-width: 490px;
		--screen-height: 270px;
	}

	.section { padding: 60px 0; }

	.hero {
		padding-top: 120px;
		padding-bottom: 60px;
		min-height: auto;
	}

	.hero h1 { font-size: 2.3rem; }
	.hero p { font-size: 1rem; }
	.section-heading h2 { font-size: 2rem; }

	.hero-content {
		gap: 40px;
		padding-bottom: 60px;
	}

	.btn {
		padding: 15px 28px;
		font-size: 0.9rem;
		min-width: 160px;
	}

	.app-mockup { width: 85%; }

	.shape-1, .shape-2, .shape-3 { opacity: 0.3; }
	.shape-1 { width: 200px; height: 200px; }
	.shape-2 { width: 180px; height: 180px; }
	.shape-3 { width: 150px; height: 150px; }

	.counter-box { flex-wrap: wrap; }
	.counter-item { min-width: 90px; }

	.partners-showcase { 
		padding: 4rem 0; 
	}

	.partners-showcase::before {
		background: radial-gradient(ellipse at top right, rgba(255, 139, 0, 0.03) 0%, transparent 50%),
		            radial-gradient(ellipse at bottom left, rgba(176, 55, 0, 0.02) 0%, transparent 50%);
	}

	.filters-container {
		padding: 1.5rem;
		margin-bottom: 2rem;
	}

	.filter-label {
		font-size: 1rem;
		margin-bottom: 0.75rem;
	}

	.filter-label::before {
		width: 3px;
		height: 16px;
	}

	.filter-buttons {
		gap: 0.5rem;
		justify-content: center;
	}

	.filter-btn {
		padding: 0.6rem 1.2rem;
		font-size: 0.9rem;
	}

	.view-controls-section {
		padding: 1.25rem;
		margin-bottom: 2rem;
	}

	.view-controls-wrapper {
		flex-direction: column;
		gap: 1.5rem;
		align-items: center;
	}

	.view-mode-controls,
	.items-per-page-controls {
		width: 100%;
		justify-content: center;
	}

	.view-btn {
		padding: 0.8rem 1rem;
		min-width: 80px;
		font-size: 0.9rem;
	}

	.items-per-page {
		padding: 0.8rem 1rem;
		gap: 0.75rem;
		justify-content: center;
	}

	.control-label {
		font-size: 0.9rem;
		padding-left: 0.8rem;
	}

	.control-label::before {
		width: 3px;
		height: 16px;
	}

	/* Enhanced navigation controls for mobile */
	.steps-controls {
		gap: 1.5rem;
		padding: 1rem;
		margin-bottom: 2rem;
	}

	.control-arrow {
		width: 44px;
		height: 44px;
		font-size: 1rem;
	}

	.control-dots {
		gap: 8px;
		padding: 0.4rem 0.8rem;
	}

	.control-dot {
		width: 12px;
		height: 12px;
	}

	.clubs-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

	.filter-buttons { justify-content: center; }

	.partner-cover { height: 180px; }
	.partner-content { padding: 1.75rem; }
	.section-heading { margin-bottom: 3rem; }

	.partners-logos { gap: 25px; }

	.partner-logo {
		width: 120px;
		height: 70px;
	}

	.steps-tabs {
		flex-direction: column;
		align-items: center;
	}

	.step-tab {
		width: 100%;
		max-width: 300px;
	}

	.loyalty-types { padding: 80px 0; }

	.loyalty-card {
		padding: 30px 20px;
		min-height: auto;
	}

	.loyalty-icon {
		width: 100px;
		height: 100px;
		font-size: 2.5rem;
	}

	.icon-glow {
		width: 120px;
		height: 120px;
	}

	.loyalty-card-header h3 { font-size: 1.8rem; }
	.loyalty-subtitle { font-size: 1rem; }
	.counter-number { font-size: 2rem; }

	.stamp-grid { gap: 8px; }

	.stamp-slot {
		width: 35px;
		height: 35px;
	}

	.cta-content { padding: 40px 25px; }
	.cta-content h3 { font-size: 1.8rem; }
	.cta-content p { font-size: 1.1rem; }

	.cta-buttons {
		flex-direction: column;
		align-items: center;
		max-width: 300px;
		margin: 0 auto;
	}

	.mobile-bottom-nav { display: block; }
	body { padding-bottom: 80px; }
	.footer { margin-bottom: 0; }

	.section-heading h2 { font-size: 2.2rem; }
	.section-heading p { font-size: 1.1rem; }

	.step-content h3 { font-size: 1.3rem; }

	.view-controls-wrapper {
		padding: 1.25rem 1.5rem;
		gap: 1.25rem;
		position: static;
	}

	.view-btn {
		padding: 0.6rem 0.8rem;
		font-size: 0.85rem;
		min-width: 70px;
	}

	.view-btn span { display: none; }

	.control-label {
		font-size: 0.9rem;
		padding-left: 0.75rem;
	}

	.control-label::before {
		width: 3px;
		height: 14px;
	}

	.items-per-page {
		position: relative;
		overflow: visible;
		min-height: 44px;
	}

	.items-per-page select {
		padding: 0.75rem 2.5rem 0.75rem 1rem;
		font-size: 0.9rem;
		min-height: 44px;
		line-height: 1.2;
	}

	.select-arrow {
		right: 10px;
		width: 18px;
		height: 18px;
	}

	.select-arrow svg {
		width: 12px;
		height: 6px;
	}

	.custom-btn-prev,
	.custom-btn-next {
		width: 40px;
		height: 40px;
	}

	html[dir="ltr"] .custom-btn-prev { margin-left: -5px; }
	html[dir="rtl"] .custom-btn-prev { margin-right: -5px; }
	html[dir="ltr"] .custom-btn-next { margin-right: -5px; }
	html[dir="rtl"] .custom-btn-next { margin-left: -5px; }

	.form-container { padding: 20px; }
	.contact-form { padding: 60px 15px; }
}

/* Mobile Large (576px and below) */
@media (max-width: 576px) {
	:root {
		--device-width: 380px;
		--device-height: 380px;
		--screen-width: 330px;
		--screen-height: 185px;
	}

	.hero { padding-top: 60px; }

	.hero-content {
		padding: 0 15px 60px;
		gap: 30px;
	}

	.hero p {
		margin-bottom: 30px;
		max-width: 100%;
	}

	.hero-btns {
		flex-direction: column;
		gap: 15px;
		width: 100%;
		max-width: 300px;
		margin: 0 auto;
	}

	.btn {
		width: 100%;
		padding: 14px 24px;
		font-size: 0.9rem;
		min-width: auto;
	}

	.app-mockup { width: 95%; }

	.shape-1, .shape-3 { display: none; }

	.shape-2 {
		width: 150px;
		height: 150px;
		opacity: 0.2;
	}

	.section-heading h2 { font-size: 1.8rem; }
	.section-heading p { font-size: 1rem; }

	.swiper-slide {
		width: 200px;
		height: 450px;
	}

	.phone-frame {
		width: 200px;
		height: 400px;
	}

	.phone-screen {
		width: 180px;
		height: 360px;
	}

	.feature-card { padding: 20px; }

	.feature-icon {
		width: 60px;
		height: 60px;
		font-size: 1.5rem;
	}

	.customer-step { min-width: 100%; }

	.step-item h3,
	.step-tab h3 { font-size: 1.5rem; }

	.step-item p,
	.step-tab p { font-size: 1rem; }

	.quiz-counter { padding: 25px; }

	.counter-box { gap: 10px; }

	.counter-item {
		min-width: 75px;
		padding: 10px;
	}

	.counter-value { font-size: 2rem; }

	.partner-logo {
		width: 100px;
		height: 60px;
	}

	.cta h2 { font-size: 2rem; }
	.cta p { font-size: 1rem; }

	.form-container { padding: 25px; }

	.section-title { font-size: 2rem; }

	.step-title { font-size: 1.25rem; }
	.step-description { font-size: 1rem; }

	.swiper-slide { opacity: 1; }

	.section-title { font-size: 1.75rem; }

	.mx-md-5 {
		margin-left: 1rem !important;
		margin-right: 1rem !important;
	}

	.how-it-works-customers { padding: var(--spacing-lg) 0; }

	.section-heading h2 { font-size: 1.8rem; }
	.section-heading p { font-size: 1rem; }

	.step-number {
		width: 45px;
		height: 45px;
		font-size: 1.2rem;
	}

	.step-content h3 { font-size: 1.2rem; }
	.step-content p { font-size: 0.9rem; }

	.control-arrow {
		width: 40px;
		height: 40px;
	}

	.control-dot {
		width: 10px;
		height: 10px;
	}

	.view-controls-wrapper {
		padding: 1rem;
		gap: 1rem;
		border-radius: 16px;
		position: static;
		transform: none !important;
	}

	.view-mode-controls,
	.items-per-page-controls {
		flex-direction: column;
		align-items: stretch;
		gap: 0.75rem;
		position: static;
	}

	.view-toggle {
		width: 100%;
		justify-content: center;
	}

	.view-btn {
		flex: 1;
		justify-content: center;
		padding: 0.7rem;
		min-width: auto;
		transform: none !important;
		transition: background-color 0.3s ease, color 0.3s ease;
	}

	.items-per-page {
		width: 100%;
		position: relative;
		overflow: visible;
		transform: none !important;
		min-height: 48px;
	}

	.items-per-page select {
		width: 100%;
		text-align: center;
		padding: 0.875rem 3rem;
		min-height: 48px;
		line-height: 1.4;
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		background: transparent;
		position: relative;
		z-index: 1;
		transform: none !important;
		transition: none;
	}

	.select-arrow {
		z-index: 2;
		pointer-events: none;
		transform: translateY(-50%) !important;
		transition: color 0.3s ease;
	}

	.control-label {
		text-align: center;
		padding-left: 0;
		margin-bottom: 0.5rem;
	}

	.control-label::before { display: none; }

	.controls-label {
		font-size: 1rem;
		letter-spacing: 0.6px;
		padding: 0.4rem 0.8rem;
	}

	.loyalty-card { padding: 25px 15px; }

	.loyalty-icon {
		width: 80px;
		height: 80px;
		font-size: 2rem;
	}

	.loyalty-card-header h3 { font-size: 1.5rem; }

	.loyalty-feature { padding: 12px 15px; }

	.stamp-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 6px;
	}

	.stamp-slot {
		width: 30px;
		height: 30px;
	}

	.points-animation { gap: 10px; }

	.point-item i { font-size: 1.2rem; }

	.counter-number { font-size: 1.8rem; }

	.cta-content h3 { font-size: 1.6rem; }

	.contact-form { padding: 50px 10px; }
	.form-container { padding: 15px; }
	.section-heading h2 { font-size: 1.8rem; }
	.section-heading p { font-size: 1rem; }
	.submit-btn { padding: 10px 20px; }

	html[dir="ltr"] .custom-btn-prev { margin-left: -12px; }
	html[dir="rtl"] .custom-btn-prev { margin-right: -12px; }
	html[dir="ltr"] .custom-btn-next { margin-right: -12px; }
	html[dir="rtl"] .custom-btn-next { margin-left: -12px; }
}

/* Mobile Small (480px and below) */
@media (max-width: 480px) {
	.hero h1 { font-size: 2rem; }

	.partners-showcase { padding: 4rem 0; }

	.partner-actions { flex-direction: column; }
	.action-btn { width: 100%; }

	.network-filter { padding: 1.25rem; }

	.filter-btn {
		font-size: 0.85rem;
		padding: 0.6rem 1.1rem;
	}

	.partner-cover { height: 160px; }
	.partner-name { font-size: 1.25rem; }
	.partners-grid { grid-template-columns: 1fr; }

	.view-controls-container {
		justify-content: center;
		margin-bottom: 1rem;
	}

	.view-controls {
		align-items: center;
		justify-content: center;
	}

	.clubs-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.club-card { border-radius: 12px; }
	.club-content { padding: 1rem; }
	.club-name { font-size: 1.1rem; }
	.club-image { height: 160px; }

	.action-btn {
		width: 32px;
		height: 32px;
		font-size: 0.8rem;
	}

	.club-list-item { flex-direction: column; }

	.club-list-image {
		width: 100%;
		height: 160px;
	}

	.club-list-content { padding: 1rem; }

	.club-list-actions {
		justify-content: center;
		flex-wrap: wrap;
	}

	.club-list-actions .action-btn {
		width: auto;
		height: auto;
		padding: 0.5rem 1rem;
		font-size: 0.8rem;
	}

	.pagination { gap: 0.25rem; }

	.pagination-btn {
		width: 32px;
		height: 32px;
		font-size: 0.8rem;
	}

	.pagination-info {
		font-size: 0.8rem;
		text-align: center;
	}

	.filters-container { padding: 1rem; }

	.filter-buttons { gap: 0.375rem; }

	.filter-btn {
		padding: 0.375rem 0.75rem;
		font-size: 0.8rem;
	}

	/* Navigation controls for smaller screens */
	.steps-controls {
		gap: 1rem;
		padding: 0.75rem;
		margin-bottom: 1.5rem;
	}

	.control-arrow {
		width: 40px;
		height: 40px;
		font-size: 0.9rem;
	}

	.control-dots {
		gap: 6px;
		padding: 0.3rem 0.6rem;
	}

	.control-dot {
		width: 10px;
		height: 10px;
	}

	.club-tier-badge {
		top: 0.5rem;
		right: 0.5rem;
		padding: 0.2rem 0.5rem;
		font-size: 0.7rem;
	}
}

/* Mobile Extra Small (400px and below) */
@media (max-width: 400px) {
	:root {
		--device-width: 320px;
		--device-height: 320px;
		--screen-width: 280px;
		--screen-height: 160px;
	}

	.app-mockup { width: 100%; }
	.hero-btns { max-width: 100%; }

	.step-description2 { padding: var(--spacing-md); }

	.counter-digits { gap: 8px; }

	.digit-value { font-size: clamp(1.8rem, 8vw, 2.2rem); }

	.digit-label { font-size: clamp(0.7rem, 2.8vw, 0.8rem); }

	.btn {
		padding: 12px 15px;
		font-size: 0.85rem;
	}
}

/* Mobile Extra Extra Small (360px and below) */
@media (max-width: 360px) {
	.counter-digits { gap: 8px; }

	.digit-value { font-size: clamp(1.8rem, 8vw, 2.2rem); }

	.digit-label { font-size: clamp(0.7rem, 2.8vw, 0.8rem); }

	.btn {
		padding: 12px 15px;
		font-size: 0.85rem;
	}
}

/* ===== ACCESSIBILITY & PREFERENCE SUPPORT ===== */

/* Dark mode support */
@media (prefers-color-scheme: dark) {
	.hero::before {
		background: radial-gradient(ellipse at 20% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%), 
		            radial-gradient(ellipse at 80% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%), 
		            url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='7' cy='7' r='2'/%3E%3Ccircle cx='27' cy='7' r='1'/%3E%3Ccircle cx='47' cy='7' r='2'/%3E%3Ccircle cx='7' cy='27' r='1'/%3E%3Ccircle cx='27' cy='27' r='2'/%3E%3Ccircle cx='47' cy='27' r='1'/%3E%3Ccircle cx='7' cy='47' r='2'/%3E%3Ccircle cx='27' cy='47' r='1'/%3E%3Ccircle cx='47' cy='47' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	}
}

/* High contrast mode support */
@media (prefers-contrast: high) {
	.hero h1 {
		-webkit-text-fill-color: white;
		background: none;
	}

	.btn-primary { border: 3px solid white; }
	.btn-outline { border: 3px solid white; }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
	.hero-text,
	.app-mockup {
		animation: none;
		opacity: 1;
	}

	.shape-1,
	.shape-2,
	.shape-3 { animation: none; }

	.app-mockup::before { animation: none; }
	.btn::before { display: none; }

	.hero h1::after {
		animation: none;
		transform: scaleX(1);
	}

	.club-card {
		animation: none;
		opacity: 1;
		transform: none;
	}

	.club-list-item {
		animation: none;
		opacity: 1;
		transform: none;
	}
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
	.items-per-page:hover {
		transform: none !important;
		box-shadow: 0 4px 12px rgba(255, 139, 0, 0.08);
	}

	.view-btn:hover {
		transform: none !important;
		background: rgba(255, 139, 0, 0.1);
	}

	.view-btn:hover i { transform: none !important; }

	.items-per-page select { font-size: 16px !important; }

	.view-controls-wrapper,
	.view-controls-wrapper *,
	.items-per-page,
	.items-per-page *,
	.select-arrow {
		transform: none !important;
		transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
	}

	.select-arrow:hover { transform: none !important; }
}

/* Legacy Language Selector */
.language-selector:not(.header .language-selector) {
	position: fixed;
	top: 85px;
	right: 20px;
	z-index: 1100;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 30px;
	padding: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	transition: var(--transition-fast);
}

.language-selector:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

html[dir="rtl"] .language-selector {
	right: auto;
	left: 20px;
}

/* Responsive adjustments for language selector */
@media (max-width: 768px) {
	.language-selector {
		top: 75px;
		right: 15px;
		padding: 6px;
		gap: 3px;
	}

	html[dir="rtl"] .language-selector { left: 15px; }
}

@media (max-width: 480px) {
	.language-selector {
		top: 70px;
		right: 10px;
		padding: 5px;
		border-radius: 25px;
	}

	html[dir="rtl"] .language-selector { left: 10px; }
}

.lang-btn {
	background: transparent;
	border: none;
	padding: 10px 16px;
	border-radius: 25px;
	cursor: pointer;
	font-family: 'Tajawal', sans-serif;
	font-weight: 500;
	font-size: 0.9rem;
	transition: var(--transition-fast);
	color: var(--secondary);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.lang-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 139, 0, 0.1), transparent);
	transition: left 0.5s ease;
}

.lang-btn:hover::before { left: 100%; }

.lang-btn.active {
	background: var(--gradient-primary);
	color: white;
	box-shadow: 0 4px 15px rgba(255, 139, 0, 0.4);
	transform: scale(1.05);
}

.lang-btn:hover:not(.active) {
	background: rgba(255, 139, 0, 0.1);
	transform: translateY(-1px);
}

.lang-text {
	font-size: 11px;
	font-weight: 600;
}

/* Responsive language buttons */
@media (max-width: 768px) {
	.lang-btn {
		padding: 8px 12px;
		font-size: 0.85rem;
	}
}

@media (max-width: 480px) {
	.lang-btn {
		padding: 6px 10px;
		font-size: 0.8rem;
	}
}



.menu-toggle {
	display: none;
	background: transparent;
	border: none;
	color: white;
	font-size: 24px;
	cursor: pointer;
	z-index: 1300;
	padding: 8px;
	border-radius: 8px;
	transition: var(--transition-fast);
}

.menu-toggle:hover {
	background: rgba(255, 255, 255, 0.1);
	transform: scale(1.1);
}

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

.nav-links.show { animation: slideDown 0.3s ease; }

/* RTL specific corrections */
html[dir="rtl"] .swiper-slide { direction: rtl; }

html[dir="rtl"] .swiper-container-rtl .swiper-button-next {
	left: 10px;
	right: auto;
}

html[dir="rtl"] .swiper-container-rtl .swiper-button-prev {
	right: 10px;
	left: auto;
}

html[dir="rtl"] .how-it-works-customers .customer-phone-frame-wrapper { transform-origin: center; }

html[dir="rtl"] .phone-slider { direction: ltr; }

html[dir="rtl"] .step-nav-item.active { transform: translateX(-5px); }

html[dir="rtl"] .partner-card::before {
	right: 0;
	left: auto;
	transform: scaleX(-1);
}

/* Additional responsive breakpoints */
@media (min-width: 481px) and (max-width: 540px) {
	.swiper-slide img { max-width: 221px; }
}

@media (min-width: 420px) and (max-width: 480px) {
	.swiper-slide img { max-width: 221px; }
}

@media (min-width: 376px) and (max-width: 419px) {
	.swiper-slide img { max-width: 221px; }
}

@media (max-width: 375px) {
	.swiper-slide img { max-width: 221px; }
}

@media (min-width: 999px) {
	.header .menu-toggle { display: none; }
}

@media (max-width: 992px) {
	.swiper-slide img { max-width: 218px; }

	html[dir="rtl"] .steps-slider-container { flex-direction: column-reverse; }

	html[dir="rtl"] .phone-showcase,
	html[dir="rtl"] .customer-phone-frame-wrapper {
		transform: none;
		animation: none;
	}
}

@media (max-width: 768px) {
	.swiper-slide img { max-width: 218px; }
}