/* ===== PARTNERS PAGE SPECIFIC STYLES - BATCH 1 ===== */
/* Hero Section & Main Structure */

/* ===== PARTNERS PAGE BODY ===== */
.partners-page {
	background: var(--light-bg);
	min-height: 100vh;
}

[data-theme="dark"] .partners-page {
	background: var(--light-bg);
}

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

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

.hero-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.hero-pattern {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='40' cy='40' r='4'/%3E%3Ccircle cx='20' cy='20' r='2'/%3E%3Ccircle cx='60' cy='20' r='2'/%3E%3Ccircle cx='20' cy='60' r='2'/%3E%3Ccircle cx='60' cy='60' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	opacity: 0.8;
	animation: float 20s ease-in-out infinite;
}

.hero-gradient {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
	            radial-gradient(ellipse at 70% 80%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
	opacity: 0.9;
}

/* Dark Mode Hero Background */
[data-theme="dark"] .hero-gradient {
	background: radial-gradient(ellipse at 30% 20%, rgba(255, 139, 0, 0.15) 0%, transparent 50%),
	            radial-gradient(ellipse at 70% 80%, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
}

.partners-hero-content {
	position: relative;
	z-index: 10;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 20px;
	animation: fadeInUp 1s ease-out;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	background: rgba(255, 255, 255, 0.15);
	border: 2px solid rgba(255, 255, 255, 0.25);
	border-radius: var(--border-radius-xl);
	padding: 0.75rem 1.5rem;
	font-size: 0.95rem;
	font-weight: 600;
	margin-bottom: 2rem;
	
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
	transition: var(--transition-fast);
	position: relative;
	overflow: hidden;
}

.hero-badge::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.6s ease;
}

.hero-badge:hover {
	transform: translateY(-3px) scale(1.05);
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.4);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.hero-badge:hover::before {
	left: 100%;
}

.hero-badge i {
	font-size: 1.2rem;
	color: rgba(255, 255, 255, 0.9);
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Ensure hero badge text is white in both light and dark mode */
.hero-badge span {
	color: #ffffff !important;
}

[data-theme="dark"] .hero-badge span {
	color: #ffffff !important;
}

.partners-hero h1 {
	font-size: clamp(2.8rem, 6vw, 4.5rem);
	font-weight: 900;
	margin-bottom: 1.5rem;
	line-height: 1.1;
	color: #ffffff !important;
	text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
	position: relative;
	animation: slideInUp 1s ease-out 0.3s both;
	/* Smooth transition for theme changes */
	transition: background 0.25s ease, color 0.25s ease;
}

/* Dark Mode Hero Title */
[data-theme="dark"] .partners-hero h1 {
	background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	/* Smooth transition for theme changes */
	transition: background 0.25s ease, color 0.25s ease;
}

.partners-hero h1::after {
	content: '';
	position: absolute;
	bottom: -15px;
	left: 50%;
	transform: translateX(-50%) scaleX(0);
	width: 120px;
	height: 4px;
	background: rgba(255, 255, 255, 0.8);
	border-radius: 2px;
	animation: slideInWidth 1s ease-out 1s forwards;
}

.partners-hero p {
	font-size: clamp(1.2rem, 3vw, 1.6rem);
	margin-bottom: 2.5rem;
	line-height: 1.7;
	opacity: 0.95;
	font-weight: 400;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	animation: slideInUp 1s ease-out 0.6s both;
}

/* Dark Mode Hero Subtitle */
[data-theme="dark"] .partners-hero p {
	color: rgba(255, 255, 255, 0.95);
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-stats {
	display: flex;
	justify-content: center;
	gap: 3rem;
	margin: 2.5rem 0;
	animation: slideInUp 1s ease-out 0.9s both;
}

.stat-item {
	text-align: center;
	position: relative;
}

.stat-item::before {
	content: '';
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 60px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
	border-radius: 50%;
	z-index: -1;
	animation: pulse 3s ease-in-out infinite;
}

.stat-number {
	display: block;
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	font-weight: 900;
	color: #ffffff;
	text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
	margin-bottom: 0.5rem;
	font-family: 'Tajawal', sans-serif;
}

.stat-label {
	font-size: 1rem;
	opacity: 0.9;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.hero-cta {
	margin-top: 3rem;
	animation: slideInUp 1s ease-out 1.2s both;
}

.cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 1.25rem 2.5rem;
	border-radius: var(--border-radius-xl);
	font-weight: 700;
	font-size: 1.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: 250px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cta-button.primary {
	background: rgba(255, 255, 255, 0.15);
	color: #ffffff;
	border: 2px solid rgba(255, 255, 255, 0.3);
	
}

.cta-button::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.6s ease;
}

.cta-button:hover::before {
	left: 100%;
}

.cta-button:hover {
	transform: translateY(-4px) scale(1.05);
	background: rgba(255, 255, 255, 0.25);
	border-color: rgba(255, 255, 255, 0.5);
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-button i {
	font-size: 1.2rem;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.scroll-indicator {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	animation: fadeInUp 1s ease-out 1.5s both;
}

.scroll-arrow {
	width: 44px;
	height: 44px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.8);
	background: rgba(255, 255, 255, 0.1);
	
	cursor: pointer;
	transition: var(--transition-fast);
	animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow:hover {
	transform: scale(1.1);
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.6);
	color: #ffffff;
}

.scroll-arrow i {
	font-size: 1.2rem;
}

/* ===== MAIN CONTENT AREA ===== */
.partners-main {
	background: var(--light-bg);
	position: relative;
	z-index: 5;
	margin-top: -60px;
	border-radius: 40px 40px 0 0;
	padding-top: 80px;
	box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
}

/* Dark Mode Main Content */
[data-theme="dark"] .partners-main {
	background: var(--light);
	box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
}

.partners-main::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 200px;
	background: linear-gradient(180deg, 
		rgba(255, 139, 0, 0.03) 0%, 
		rgba(255, 139, 0, 0.01) 50%, 
		transparent 100%);
	border-radius: 40px 40px 0 0;
	z-index: 1;
}

/* Dark Mode Main Content Overlay */
[data-theme="dark"] .partners-main::before {
	background: linear-gradient(180deg, 
		rgba(255, 139, 0, 0.08) 0%, 
		rgba(255, 139, 0, 0.03) 50%, 
		transparent 100%);
}

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

/* ===== RESPONSIVE ADJUSTMENTS FOR HERO ===== */

/* Tablet Large */
@media (max-width: 992px) {
	.partners-hero {
		padding: 120px 0 100px;
		min-height: 90vh;
	}

	.hero-stats {
		gap: 2rem;
	}

	.stat-number {
		font-size: clamp(2rem, 5vw, 2.8rem);
	}

	.cta-button {
		min-width: 200px;
		padding: 1rem 2rem;
		font-size: 1rem;
	}
}

/* Tablet */
@media (max-width: 768px) {
	.partners-hero {
		padding: 100px 0 80px;
		min-height: 80vh;
	}

	.partners-hero-content {
		padding: 0 15px;
	}

	.hero-badge {
		padding: 0.5rem 1.25rem;
		font-size: 0.9rem;
		margin-bottom: 1.5rem;
	}

	.hero-stats {
		flex-wrap: wrap;
		gap: 1.5rem;
	}

	.stat-item {
		min-width: 120px;
	}

	.partners-main {
		margin-top: -40px;
		border-radius: 30px 30px 0 0;
		padding-top: 60px;
	}

	.scroll-indicator {
		bottom: 1.5rem;
	}
}

/* Mobile Large */
@media (max-width: 576px) {
	.partners-hero {
		padding: 80px 0 60px;
		min-height: 70vh;
	}

	.partners-hero h1 {
		margin-bottom: 1rem;
	}

	.partners-hero p {
		margin-bottom: 2rem;
	}

	.hero-stats {
		gap: 1rem;
		margin: 2rem 0;
	}

	.stat-item {
		min-width: 100px;
	}

	.stat-number {
		font-size: clamp(1.8rem, 6vw, 2.2rem);
	}

	.stat-label {
		font-size: 0.9rem;
	}

	.cta-button {
		width: 100%;
		max-width: 300px;
		min-width: auto;
		padding: 1rem 1.5rem;
		font-size: 0.95rem;
	}

	.partners-main {
		margin-top: -30px;
		border-radius: 25px 25px 0 0;
		padding-top: 50px;
	}

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

	.scroll-arrow i {
		font-size: 1rem;
	}
}

/* Mobile Small */
@media (max-width: 480px) {
	.partners-hero {
		padding: 70px 0 50px;
		min-height: 65vh;
	}

	.hero-badge {
		padding: 0.5rem 1rem;
		font-size: 0.85rem;
		gap: 0.5rem;
	}

	.hero-badge i {
		font-size: 1rem;
	}

	.hero-stats {
		flex-direction: column;
		align-items: center;
		gap: 1.5rem;
	}

	.partners-main {
		margin-top: -20px;
		border-radius: 20px 20px 0 0;
		padding-top: 40px;
	}
}

/* Mobile Extra Small */
@media (max-width: 400px) {
	.partners-hero {
		padding: 60px 0 40px;
	}

	.partners-hero-content {
		padding: 0 10px;
	}

	.cta-button {
		padding: 0.875rem 1.25rem;
		font-size: 0.9rem;
	}
}

/* ===== ANIMATIONS ===== */
@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(-8px);
	}
	60% {
		transform: translateY(-4px);
	}
}

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

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
	.partners-hero-content,
	.partners-hero h1,
	.partners-hero p,
	.hero-stats,
	.hero-cta,
	.scroll-indicator {
		animation: none;
		opacity: 1;
		transform: none;
	}

	.hero-pattern {
		animation: none;
	}

	.scroll-arrow {
		animation: none;
	}

	.stat-item::before {
		animation: none;
	}

	.hero-badge:hover,
	.cta-button:hover,
	.scroll-arrow:hover {
		transform: none;
	}
}
/* ===== PARTNERS PAGE SPECIFIC STYLES - BATCH 2 ===== */
/* Enhanced Search and Filters */

/* ===== VUE FILTERS SECTION ===== */
.vue-filters-section {
	background: var(--white);
	border-radius: var(--border-radius-lg);
	padding: 2.5rem;
	margin-bottom: 3rem;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
	border: 2px solid rgba(255, 139, 0, 0.1);
	position: relative;
	overflow: hidden;
	transition: var(--transition-fast);
}

/* Dark Mode Filters Section */
[data-theme="dark"] .vue-filters-section {
	background: var(--card-bg);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
	border-color: rgba(255, 139, 0, 0.2);
}

.vue-filters-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 5px;
	background: var(--gradient-primary);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.8s ease;
}

.vue-filters-section:hover::before {
	transform: scaleX(1);
}

.vue-filters-section::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(ellipse at top right, rgba(255, 139, 0, 0.02) 0%, transparent 60%),
	            radial-gradient(ellipse at bottom left, rgba(176, 55, 0, 0.01) 0%, transparent 60%);
	z-index: 0;
	pointer-events: none;
}

.vue-filters-section > * {
	position: relative;
	z-index: 1;
}

.filters-header {
	text-align: center;
	margin-bottom: 2.5rem;
	position: relative;
}

.filters-title {
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	font-weight: 800;
	color: var(--primary);
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	position: relative;
}

.filters-title i {
	font-size: 0.9em;
	color: var(--primary);
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	filter: drop-shadow(0 2px 4px rgba(255, 139, 0, 0.2));
}

.filters-title::after {
	content: '';
	position: absolute;
	bottom: -12px;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 4px;
	background: var(--gradient-primary);
	border-radius: 2px;
	box-shadow: 0 2px 8px rgba(255, 139, 0, 0.3);
}

.filters-subtitle {
	color: var(--light-text);
	font-size: 1.1rem;
	max-width: 600px;
	margin: 0 auto;
	line-height: 1.6;
}

/* Dark Mode Filter Subtitle */
[data-theme="dark"] .filters-subtitle {
	color: var(--light-text);
}

/* ===== ENHANCED SEARCH CONTAINER ===== */
.search-container {
	margin-bottom: 2.5rem;
	position: relative;
}

.search-wrapper {
	position: relative;
	max-width: 600px;
	margin: 0 auto;
	background: var(--white);
	border-radius: var(--border-radius-xl);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
	border: 2px solid rgba(255, 139, 0, 0.15);
	overflow: hidden;
	transition: var(--transition-fast);
}

/* Dark Mode Search Wrapper */
[data-theme="dark"] .search-wrapper {
	background: var(--card-bg);
	border-color: rgba(255, 139, 0, 0.25);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.search-wrapper::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 139, 0, 0.05), transparent);
	transition: left 0.6s ease;
	z-index: 1;
}

.search-wrapper:hover::before {
	left: 100%;
}

.search-wrapper:hover {
	border-color: rgba(255, 139, 0, 0.3);
	box-shadow: 0 12px 40px rgba(255, 139, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
	transform: translateY(-2px) scale(1.01);
}

/* Dark Mode Search Wrapper Hover */
[data-theme="dark"] .search-wrapper:hover {
	border-color: rgba(255, 139, 0, 0.4);
	box-shadow: 0 12px 40px rgba(255, 139, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.search-wrapper:focus-within {
	border-color: var(--primary);
	box-shadow: 0 0 0 4px rgba(255, 139, 0, 0.15), 0 12px 40px rgba(255, 139, 0, 0.2);
	transform: translateY(-2px) scale(1.02);
}

.search-icon {
	position: absolute;
	top: 50%;
	left: 1.5rem;
	transform: translateY(-50%);
	color: var(--primary);
	font-size: 1.2rem;
	z-index: 2;
	transition: var(--transition-fast);
}

.search-wrapper:focus-within .search-icon {
	color: var(--primary);
	transform: translateY(-50%) scale(1.1);
}

.search-input {
	width: 100%;
	padding: 1.25rem 4rem 1.25rem 3.5rem;
	border: none;
	background: transparent;
	font-size: 1.1rem;
	font-weight: 500;
	color: var(--text-color);
	font-family: 'Tajawal', sans-serif;
	outline: none;
	position: relative;
	z-index: 2;
	transition: var(--transition-fast);
}

.search-input::placeholder {
	color: var(--light-text);
	font-weight: 400;
	opacity: 0.7;
}

/* Dark Mode Search Input */
[data-theme="dark"] .search-input {
	color: var(--text-color);
}

[data-theme="dark"] .search-input::placeholder {
	color: var(--light-text);
	opacity: 0.8;
}

.search-clear {
	position: absolute;
	top: 50%;
	right: 1.5rem;
	transform: translateY(-50%);
	background: rgba(255, 139, 0, 0.1);
	border: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary);
	cursor: pointer;
	transition: var(--transition-fast);
	z-index: 2;
	font-size: 0.9rem;
}

.search-clear:hover {
	background: rgba(255, 139, 0, 0.2);
	color: var(--primary-dark);
	transform: translateY(-50%) scale(1.1);
}

.search-clear:active {
	transform: translateY(-50%) scale(0.95);
}

/* ===== PARTNERS NETWORK FILTER ===== */
.partners-network-filter {
	margin-bottom: 2rem;
	position: relative;
}

.partners-network-filter label {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--secondary);
	margin-bottom: 1rem;
	position: relative;
	padding-left: 1.5rem;
}

.partners-network-filter label::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 24px;
	background: var(--gradient-primary);
	border-radius: 2px;
}

.partners-network-filter label i {
	color: var(--primary);
	font-size: 1.2rem;
	filter: drop-shadow(0 1px 2px rgba(255, 139, 0, 0.2));
}

.partners-select-filter {
	width: 100%;
	max-width: 400px;
	padding: 1rem 3rem 1rem 1.5rem;
	border: 2px solid rgba(255, 139, 0, 0.2);
	border-radius: var(--border-radius-md);
	background: var(--white);
	color: var(--text-color);
	font-family: 'Tajawal', sans-serif;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition-fast);
	appearance: none;
	box-shadow: 0 4px 15px rgba(255, 139, 0, 0.1);
	position: relative;
}

/* Dark Mode Select Filter */
[data-theme="dark"] .partners-select-filter {
	background: var(--card-bg);
	border-color: rgba(255, 139, 0, 0.3);
	box-shadow: 0 4px 15px rgba(255, 139, 0, 0.15);
}

.partners-select-filter:hover {
	border-color: var(--primary);
	box-shadow: 0 8px 25px rgba(255, 139, 0, 0.2);
	transform: translateY(-2px);
}

.partners-select-filter:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 4px rgba(255, 139, 0, 0.15), 0 8px 25px rgba(255, 139, 0, 0.2);
	transform: translateY(-2px);
}

/* Custom dropdown arrow */
.partners-network-filter::after {
	content: "▼";
	position: absolute;
	top: 50%;
	right: 1.5rem;
	transform: translateY(-50%);
	color: var(--primary);
	font-size: 0.9rem;
	pointer-events: none;
	transition: var(--transition-fast);
}

.partners-network-filter:hover::after {
	transform: translateY(-50%) scale(1.1);
}

/* ===== FILTER TABS SECTION ===== */
.filter-tabs-section {
	margin-bottom: 2.5rem;
	position: relative;
}

.section-title {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--secondary);
	margin-bottom: 1.5rem;
	text-align: center;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.section-title::before,
.section-title::after {
	content: '';
	flex: 1;
	height: 2px;
	background: linear-gradient(to right, transparent, rgba(255, 139, 0, 0.3), transparent);
	margin: 0 1rem;
}

.filter-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	padding: 1.5rem;
	background: linear-gradient(135deg, rgba(255, 139, 0, 0.03) 0%, rgba(255, 165, 0, 0.03) 100%);
	border-radius: var(--border-radius-lg);
	border: 1px solid rgba(255, 139, 0, 0.1);
	position: relative;
	overflow: hidden;
}

/* Dark Mode Filter Tabs */
[data-theme="dark"] .filter-tabs {
	background: linear-gradient(135deg, rgba(255, 139, 0, 0.08) 0%, rgba(255, 165, 0, 0.05) 100%);
	border-color: rgba(255, 139, 0, 0.2);
}

.filter-tabs::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(ellipse at center, rgba(255, 139, 0, 0.02) 0%, transparent 70%);
	z-index: 0;
}

.filter-tab {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.875rem 1.5rem;
	border-radius: var(--border-radius-xl);
	border: 2px solid rgba(255, 139, 0, 0.2);
	background: var(--white);
	color: var(--text-color);
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition-fast);
	position: relative;
	z-index: 1;
	overflow: hidden;
	min-width: 120px;
	text-align: center;
}

/* Dark Mode Filter Tab */
[data-theme="dark"] .filter-tab {
	background: var(--card-bg);
	border-color: rgba(255, 139, 0, 0.25);
	color: var(--text-color);
}

.filter-tab::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.6s ease;
	z-index: 0;
}

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

.filter-tab > * {
	position: relative;
	z-index: 1;
}

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

.filter-tab:hover {
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 8px 25px rgba(255, 139, 0, 0.2);
	border-color: rgba(255, 139, 0, 0.4);
	color: var(--primary);
}

.filter-tab:hover i {
	transform: scale(1.1);
	color: var(--primary);
}

.filter-tab.active {
	background: var(--gradient-primary);
	color: var(--white);
	border-color: transparent;
	box-shadow: 0 8px 25px rgba(255, 139, 0, 0.4);
	transform: translateY(-2px) scale(1.05);
}

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

.filter-tab.active i {
	transform: scale(1.1);
	color: var(--white);
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.filter-tab.active:hover {
	box-shadow: 0 12px 35px rgba(255, 139, 0, 0.5);
}

/* ===== VIEW CONTROLS ===== */
.view-controls {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
	padding: 2rem;
	background: var(--white);
	border-radius: var(--border-radius-lg);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
	border: 2px solid rgba(255, 139, 0, 0.08);
	margin-bottom: 2.5rem;
	flex-wrap: wrap;
	position: relative;
	overflow: hidden;
}

/* Dark Mode View Controls */
[data-theme="dark"] .view-controls {
	background: var(--card-bg);
	border-color: rgba(255, 139, 0, 0.15);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.view-controls::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: var(--gradient-primary);
	transform: scaleX(0);
	transition: transform 0.6s ease;
}

.view-controls:hover::before {
	transform: scaleX(1);
}

.view-section,
.sort-section {
	display: flex;
	align-items: center;
	gap: 1rem;
}

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

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

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

/* Dark Mode View Toggle */
[data-theme="dark"] .view-toggle {
	background: linear-gradient(135deg, rgba(255, 139, 0, 0.1) 0%, rgba(255, 165, 0, 0.08) 100%);
	border-color: rgba(255, 139, 0, 0.2);
}

.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.03) 0%, transparent 70%);
	z-index: 0;
}

.view-btn {
	padding: 0.875rem 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: 0.95rem;
	font-weight: 600;
	position: relative;
	z-index: 1;
	overflow: hidden;
	min-width: 100px;
}

.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;
	z-index: 0;
}

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

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

.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);
}

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

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

.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));
}

.sort-dropdown {
	padding: 0.875rem 2.5rem 0.875rem 1.25rem;
	border: 2px solid rgba(255, 139, 0, 0.2);
	border-radius: var(--border-radius-sm);
	background: var(--white);
	color: var(--text-color);
	font-family: 'Tajawal', sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition-fast);
	appearance: none;
	min-width: 180px;
	position: relative;
}

/* Dark Mode Sort Dropdown */
[data-theme="dark"] .sort-dropdown {
	background: var(--card-bg);
	border-color: rgba(255, 139, 0, 0.25);
}

.sort-dropdown:hover {
	border-color: var(--primary);
	box-shadow: 0 4px 15px rgba(255, 139, 0, 0.15);
	transform: translateY(-2px);
}

.sort-dropdown:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(255, 139, 0, 0.15);
	transform: translateY(-2px);
}

/* Custom dropdown arrow for sort */
.sort-section {
	position: relative;
}

.sort-section::after {
	content: "▼";
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--primary);
	font-size: 0.8rem;
	pointer-events: none;
	transition: var(--transition-fast);
}

.sort-section:hover::after {
	transform: translateY(-50%) scale(1.1);
}

/* ===== RESPONSIVE ADJUSTMENTS FOR FILTERS ===== */

/* Tablet Large */
@media (max-width: 992px) {
	.vue-filters-section {
		padding: 2rem;
		margin-bottom: 2.5rem;
	}

	.filters-title {
		font-size: clamp(1.6rem, 4vw, 2.2rem);
	}

	.view-controls {
		padding: 1.5rem;
		gap: 1.5rem;
	}

	.filter-tabs {
		gap: 0.5rem;
	}
}

/* Tablet */
@media (max-width: 768px) {
	.vue-filters-section {
		padding: 1.5rem;
		margin-bottom: 2rem;
	}

	.filters-header {
		margin-bottom: 2rem;
	}

	.search-container {
		margin-bottom: 2rem;
	}

	.search-wrapper {
		max-width: 100%;
	}

	.search-input {
		padding: 1rem 3.5rem 1rem 3rem;
		font-size: 1rem;
	}

	.search-icon {
		left: 1.25rem;
		font-size: 1.1rem;
	}

	.search-clear {
		right: 1.25rem;
		width: 28px;
		height: 28px;
		font-size: 0.8rem;
	}

	.partners-select-filter {
		max-width: 100%;
	}

	.filter-tabs {
		padding: 1.25rem;
		gap: 0.5rem;
	}

	.filter-tab {
		padding: 0.75rem 1.25rem;
		font-size: 0.9rem;
		min-width: 100px;
	}

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

	.view-section,
	.sort-section {
		width: 100%;
		justify-content: center;
		flex-wrap: wrap;
		gap: 0.75rem;
	}

	.sort-dropdown {
		min-width: 150px;
	}
}

/* Mobile Large */
@media (max-width: 576px) {
	.vue-filters-section {
		padding: 1.25rem;
		margin-bottom: 1.5rem;
	}

	.filters-title {
		flex-direction: column;
		gap: 0.5rem;
	}

	.search-input {
		padding: 1rem 3rem 1rem 2.75rem;
		font-size: 0.95rem;
	}

	.search-icon {
		left: 1rem;
		font-size: 1rem;
	}

	.search-clear {
		right: 1rem;
		width: 32px;
		height: 32px;
		/* Improve touch targets on mobile */
		min-width: 44px;
		min-height: 44px;
	}

	.partners-network-filter label {
		font-size: 1rem;
		padding-left: 1.25rem;
	}

	.partners-network-filter label::before {
		width: 3px;
		height: 20px;
	}

	.partners-select-filter {
		padding: 0.875rem 2.5rem 0.875rem 1.25rem;
		font-size: 0.95rem;
	}

	.filter-tabs {
		padding: 1rem;
		justify-content: center;
	}

	.filter-tab {
		padding: 0.75rem 1rem;
		font-size: 0.85rem;
		min-width: 90px;
		gap: 0.4rem;
	}

	.filter-tab i {
		font-size: 1rem;
	}

	.view-controls {
		padding: 1.25rem;
		gap: 1.25rem;
	}

	.control-label {
		font-size: 0.95rem;
		padding-left: 1rem;
		text-align: center;
	}

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

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

	.sort-dropdown {
		padding: 0.75rem 2.25rem 0.75rem 1rem;
		font-size: 0.9rem;
		min-width: 140px;
	}
}

/* Mobile Small */
@media (max-width: 480px) {
	.vue-filters-section {
		padding: 1rem;
		border-radius: var(--border-radius-md);
	}

	.filters-header {
		margin-bottom: 1.5rem;
	}

	.filters-title {
		font-size: 1.5rem;
	}

	.filters-subtitle {
		font-size: 1rem;
	}

	.search-wrapper {
		border-radius: var(--border-radius-md);
	}

	.filter-tabs {
		padding: 0.875rem;
		border-radius: var(--border-radius-md);
		gap: 0.375rem;
	}

	.filter-tab {
		padding: 0.625rem 0.875rem;
		font-size: 0.8rem;
		min-width: 80px;
		border-radius: var(--border-radius-md);
	}

	.view-controls {
		padding: 1rem;
		border-radius: var(--border-radius-md);
	}

	.view-btn {
		padding: 0.625rem 0.875rem;
		min-width: 70px;
	}

	.view-btn span {
		display: none;
	}

	.sort-dropdown {
		min-width: 120px;
		padding: 0.75rem 2rem 0.75rem 0.875rem;
		font-size: 0.85rem;
	}
}

/* Mobile Extra Small */
@media (max-width: 400px) {
	.vue-filters-section {
		padding: 0.875rem;
	}

	.search-input {
		padding: 0.875rem 2.75rem 0.875rem 2.5rem;
		font-size: 0.9rem;
	}

	.filter-tab {
		padding: 0.5rem 0.75rem;
		min-width: 70px;
	}

	.view-btn {
		padding: 0.5rem 0.75rem;
		min-width: 60px;
	}
}
/* ===== PARTNERS PAGE SPECIFIC STYLES - BATCH 3 ===== */
/* Partners Content Display, Cards & Loading States */

/* ===== LOADING CONTAINER ===== */
.loading-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 6rem 2rem;
	background: var(--white);
	border-radius: var(--border-radius-lg);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	border: 2px solid rgba(255, 139, 0, 0.1);
	position: relative;
	overflow: hidden;
}

/* Dark Mode Loading Container */
[data-theme="dark"] .loading-container {
	background: var(--card-bg);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
	border-color: rgba(255, 139, 0, 0.2);
}

.loading-container::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: var(--gradient-primary);
	animation: loadingProgress 2s ease-in-out infinite;
}

.loading-animation {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
	margin-bottom: 2rem;
	position: relative;
}

.loading-spinner {
	width: 80px;
	height: 80px;
	border: 4px solid rgba(255, 139, 0, 0.1);
	border-top: 4px solid var(--primary);
	border-radius: 50%;
	animation: spin 1s linear infinite;
	position: relative;
}

.loading-spinner::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 60px;
	height: 60px;
	border: 2px solid rgba(255, 139, 0, 0.2);
	border-top: 2px solid var(--primary-light);
	border-radius: 50%;
	animation: spin 1.5s linear infinite reverse;
}

.loading-dots {
	display: flex;
	gap: 8px;
	align-items: center;
}

.loading-dots span {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--primary);
	animation: loadingBounce 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }
.loading-dots span:nth-child(3) { animation-delay: 0; }

.loading-container h3 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary);
	margin-bottom: 0.5rem;
	text-align: center;
}

.loading-container p {
	color: var(--light-text);
	font-size: 1.1rem;
	text-align: center;
	max-width: 400px;
	line-height: 1.6;
}

/* ===== PARTNERS CONTENT ===== */
.partners-content {
	position: relative;
	z-index: 2;
}

/* ===== RESULTS HEADER ===== */
.results-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
	margin-bottom: 2.5rem;
	padding: 1.5rem 2rem;
	background: var(--white);
	border-radius: var(--border-radius-lg);
	box-shadow: 0 6px 25px rgba(0, 0, 0, 0.06);
	border: 2px solid rgba(255, 139, 0, 0.08);
	position: relative;
	overflow: hidden;
}

/* Dark Mode Results Header */
[data-theme="dark"] .results-header {
	background: var(--card-bg);
	box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
	border-color: rgba(255, 139, 0, 0.15);
}

.results-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: var(--gradient-primary);
	transform: scaleX(0);
	animation: scaleIn 0.8s ease-out 0.3s forwards;
}

.results-info h3 {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--primary);
	margin-bottom: 0.5rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.results-info h3::before {
	content: '🏪';
	font-size: 1.2rem;
}

.results-info p {
	color: var(--light-text);
	font-size: 0.95rem;
	margin: 0;
}

.results-actions {
	display: flex;
	gap: 1rem;
}

.reset-btn {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
	color: var(--white);
	border: none;
	border-radius: var(--border-radius-lg);
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
	transition: var(--transition-fast);
	position: relative;
	overflow: hidden;
}

.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 {
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

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

.reset-btn i {
	font-size: 1rem;
}

/* ===== PARTNERS GRID ===== */
.partners-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
	position: relative;
	/* Ensure equal card heights */
	align-items: stretch;
}

.partner-card {
	background: var(--white);
	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);
	height: fit-content;
	display: flex;
	flex-direction: column;
	/* Prevent hover state from being accidentally triggered during animation */
	will-change: transform, opacity;
}

/* Dark Mode Partner Card */
[data-theme="dark"] .partner-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);
}

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

.partner-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;
}

/* Prevent hover effects while card is animating */
.partner-card.animating:hover {
	transform: translateY(30px) !important;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04) !important;
	border-color: transparent !important;
}

.partner-card.animating:hover::before {
	opacity: 0 !important;
}

.partner-card.animating:hover::after {
	transform: scaleX(0) !important;
}

/* Prevent image scale and overlay during animation */
.partner-card.animating:hover .partner-card-image img {
	transform: scale(1) !important;
}

.partner-card.animating:hover .partner-card-overlay {
	opacity: 0 !important;
}

/* Prevent hover on scroll - only allow hover on actual mouse hover */
@media (hover: hover) and (pointer: fine) {
	/* Only apply hover effects on devices with actual hover capability */
	.partner-card:hover {
		transform: translateY(-12px) scale(1.02);
		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);
	}
	
	.partner-card:hover::before {
		opacity: 1;
	}
	
	.partner-card:hover::after {
		transform: scaleX(1);
	}
	
	.partner-card:hover .partner-card-image img {
		transform: scale(1.05);
	}
	
	.partner-card:hover .partner-card-overlay {
		opacity: 1;
	}
	
	.partner-card:hover .partner-card-title {
		color: var(--primary);
		transform: translateY(-2px);
	}
	
	.partner-card:hover .partner-card-title::after {
		width: 60px;
	}
}

/* Default hover state for non-hover devices */
@media not all and (hover: hover) {
	.partner-card:hover {
		transform: none;
		box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
		border-color: transparent;
	}

	.partner-card:hover::before {
		opacity: 0;
	}

	.partner-card:hover::after {
		transform: scaleX(0);
	}

	.partner-card:hover .partner-card-image img {
		transform: scale(1);
	}

	.partner-card:hover .partner-card-overlay {
		opacity: 0;
	}

	.partner-card:hover .partner-card-title {
		color: var(--secondary);
		transform: translateY(0);
	}

	.partner-card:hover .partner-card-title::after {
		width: 0;
	}
}

/* Dark Mode Partner Card Hover */
[data-theme="dark"] .partner-card:hover {
	box-shadow: 0 20px 60px rgba(255, 139, 0, 0.2), 0 8px 25px rgba(0, 0, 0, 0.3);
	border-color: rgba(255, 139, 0, 0.3);
}

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

.partner-card-image {
	position: relative;
	height: 180px;
	overflow: hidden;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.partner-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
	position: relative;
	z-index: 1;
}

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

.partner-card-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: center;
	justify-content: center;
	opacity: 0;
	transition: all 0.4s ease;
	z-index: 2;
}

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

.overlay-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	color: white;
	text-align: center;
	background: rgba(255, 139, 0, 0.9);
	padding: 1rem 1.5rem;
	border-radius: var(--border-radius-lg);
	
	border: 2px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
	transition: var(--transition-fast);
}

.overlay-content i {
	font-size: 1.5rem;
	margin-bottom: 0.25rem;
}

.overlay-content span {
	font-weight: 600;
	font-size: 0.95rem;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.partner-card-badge {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	background: rgba(255, 255, 255, 0.95);
	color: var(--primary);
	padding: 0.4rem 0.8rem;
	border-radius: var(--border-radius-lg);
	font-size: 0.75rem;
	font-weight: 700;
	border: 1px solid rgba(255, 139, 0, 0.2);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	text-shadow: none;
	z-index: 3;
	transition: var(--transition-fast);
	position: relative;
	overflow: hidden;
}

.partner-card-badge::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;
}

.partner-card:hover .partner-card-badge::before {
	left: 100%;
}

.partner-card-content {
	padding: 1.25rem;
	position: relative;
	z-index: 2;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.partner-card-header {
	margin-bottom: 0.75rem;
}

.partner-card-title {
	font-size: 1.2rem;
	font-weight: 800;
	color: var(--secondary);
	margin-bottom: 0.5rem;
	line-height: 1.3;
	transition: var(--transition-fast);
	position: relative;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Dark Mode Partner Card Title */
[data-theme="dark"] .partner-card-title {
	color: var(--text-color);
}

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

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

.partner-card:hover .partner-card-title::after {
	width: 60px;
}

/* Type styling is now handled by .meta-info-item.partner-card-type */

/* Meta info container with improved layout */
.partner-card-meta {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.meta-info-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
	align-items: center;
}

.meta-info-item {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.8rem;
	font-weight: 500;
	padding: 0.4rem 0.6rem;
	background: rgba(255, 139, 0, 0.08);
	border-radius: var(--border-radius-sm);
	border: 1px solid rgba(255, 139, 0, 0.15);
	transition: var(--transition-fast);
	position: relative;
	overflow: hidden;
}

.meta-info-item::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;
}

.meta-info-item:hover::before {
	left: 100%;
}

.meta-info-item:hover {
	background: rgba(255, 139, 0, 0.12);
	border-color: rgba(255, 139, 0, 0.25);
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(255, 139, 0, 0.15);
}

.meta-info-item > * {
	position: relative;
	z-index: 1;
}

.meta-info-item i {
	color: var(--primary);
	font-size: 0.9rem;
	flex-shrink: 0;
}

.meta-info-item span {
	color: var(--text-color);
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	flex: 1;
}

.feature-tags-container {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	align-items: center;
	margin-top: 0.25rem;
}

/* Special styling for loyalty feature tag - using higher specificity */
.partner-card-meta .meta-info-item.feature-tag.loyalty {
	background: rgba(255, 139, 0, 0.08) !important;
	color: var(--text-color) !important;
	border-color: rgba(255, 139, 0, 0.15) !important;
	box-shadow: 0 2px 8px rgba(255, 139, 0, 0.15) !important;
	text-shadow: none !important;
	font-weight: 500 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	/* Remove padding and font-size overrides to match other items */
}

.partner-card-meta .meta-info-item.feature-tag.loyalty::before {
	background: linear-gradient(90deg, transparent, rgba(255, 139, 0, 0.1), transparent) !important;
}

.partner-card-meta .meta-info-item.feature-tag.loyalty:hover {
	background: rgba(255, 139, 0, 0.12) !important;
	box-shadow: 0 2px 8px rgba(255, 139, 0, 0.15) !important;
	transform: translateY(-1px) !important;
	color: var(--text-color) !important;
	border-color: rgba(255, 139, 0, 0.25) !important;
}

.partner-card-meta .meta-info-item.feature-tag.loyalty i {
	color: var(--primary) !important;
}

.partner-card-meta .meta-info-item.feature-tag.loyalty span {
	color: var(--text-color) !important;
}

/* Dark mode support for the loyalty feature tag */
[data-theme="dark"] .partner-card-meta .meta-info-item.feature-tag.loyalty {
	background: rgba(255, 139, 0, 0.12) !important;
	border-color: rgba(255, 139, 0, 0.2) !important;
	color: var(--text-color) !important;
}

[data-theme="dark"] .partner-card-meta .meta-info-item.feature-tag.loyalty:hover {
	background: rgba(255, 139, 0, 0.18) !important;
	border-color: rgba(255, 139, 0, 0.3) !important;
	box-shadow: 0 2px 8px rgba(255, 139, 0, 0.2) !important;
}

[data-theme="dark"] .partner-card-meta .meta-info-item.feature-tag.loyalty span {
	color: var(--text-color) !important;
}

/* Location styling is now handled by .meta-info-item.partner-card-location */

.partner-card-features {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 1rem;
	flex: 1;
	align-items: flex-start;
}

.feature-tag {
	display: flex;
	align-items: center;
	gap: 0.3rem;
	background: rgba(255, 139, 0, 0.08);
	color: var(--primary);
	padding: 0.3rem 0.6rem;
	border-radius: var(--border-radius-lg);
	font-size: 0.7rem;
	font-weight: 600;
	border: 1px solid rgba(255, 139, 0, 0.15);
	transition: var(--transition-fast);
	position: relative;
	overflow: hidden;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.feature-tag::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;
}

.feature-tag:hover::before {
	left: 100%;
}

.feature-tag:hover {
	background: rgba(255, 139, 0, 0.15);
	border-color: rgba(255, 139, 0, 0.3);
	transform: translateY(-1px);
}

.feature-tag.loyalty {
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	border-color: var(--primary);
	color: #ffffff;
	box-shadow: 0 2px 8px rgba(255, 139, 0, 0.25);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.feature-tag.loyalty:hover {
	background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
	box-shadow: 0 4px 15px rgba(255, 139, 0, 0.4);
	transform: translateY(-1px) scale(1.05);
	color: #ffffff;
}

.feature-tag i {
	font-size: 0.9rem;
}

.partner-card-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 139, 0, 0.1);
}

.action-btn.secondary {
	background: rgba(255, 139, 0, 0.1);
	color: var(--primary);
	border: 1px solid rgba(255, 139, 0, 0.2);
}

.action-btn.secondary:hover {
	background: rgba(255, 139, 0, 0.2);
	border-color: var(--primary);
}

.action-btn.primary {
	background: var(--gradient-primary);
	color: var(--white);
	border: none;
	padding: 0.5rem 1rem;
	border-radius: var(--border-radius-sm);
	font-size: 0.9rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	transition: var(--transition-fast);
	min-width: auto;
	width: auto;
	height: auto;
}

.action-btn.primary:hover {
	box-shadow: 0 6px 20px rgba(255, 139, 0, 0.4);
	transform: translateY(-2px) scale(1.05);
}

/* ===== PARTNERS LIST VIEW ===== */
.partners-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-bottom: 3rem;
}

.partner-list-item {
	background: var(--white);
	border-radius: var(--border-radius-lg);
	overflow: hidden;
	box-shadow: 0 6px 25px 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 Partner List Item */
[data-theme="dark"] .partner-list-item {
	background: var(--card-bg);
	box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

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

.partner-list-item:hover {
	transform: translateY(-6px) scale(1.01);
	box-shadow: 0 15px 40px rgba(255, 139, 0, 0.12);
	border-color: rgba(255, 139, 0, 0.2);
}

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

/* Dark Mode Partner List Item Hover */
[data-theme="dark"] .partner-list-item:hover {
	box-shadow: 0 15px 40px rgba(255, 139, 0, 0.15);
	border-color: rgba(255, 139, 0, 0.25);
}

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

.partner-list-image {
	width: 220px;
	height: 160px;
	flex-shrink: 0;
	overflow: hidden;
	position: relative;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.partner-list-item:hover .partner-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: var(--border-radius-lg);
	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;
}

.partner-list-content {
	flex: 1;
	padding: 1.75rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
	z-index: 2;
}

.partner-list-header {
	margin-bottom: 1.25rem;
}

.partner-list-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--secondary);
	margin-bottom: 1rem;
	line-height: 1.3;
	transition: var(--transition-fast);
}

/* Dark Mode Partner List Title */
[data-theme="dark"] .partner-list-title {
	color: var(--text-color);
}

.partner-list-item:hover .partner-list-title {
	color: var(--primary);
	transform: translateY(-2px);
}

.partner-list-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1rem;
}

.meta-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--light-text);
	font-size: 0.9rem;
	background: rgba(255, 139, 0, 0.05);
	padding: 0.4rem 0.8rem;
	border-radius: var(--border-radius-sm);
	border-left: 3px solid var(--primary);
	transition: var(--transition-fast);
}

.meta-item:hover {
	background: rgba(255, 139, 0, 0.1);
	transform: translateY(-1px);
}

.meta-item i {
	color: var(--primary);
	font-size: 0.9rem;
}

.partner-list-features {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
}

.feature-tag.small {
	font-size: 0.75rem;
	padding: 0.3rem 0.6rem;
}

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

.partner-list-actions .action-btn {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 1.2rem;
	border-radius: var(--border-radius-lg);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	transition: var(--transition-fast);
	width: auto;
	height: auto;
	min-width: auto;
	position: relative;
	overflow: hidden;
}

.partner-list-actions .action-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;
}

.partner-list-actions .action-btn:hover::before {
	left: 100%;
}

.partner-list-actions .action-btn span {
	display: inline;
	position: relative;
	z-index: 1;
}

.partner-list-actions .action-btn i {
	position: relative;
	z-index: 1;
}

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

/* Dark Mode No Results */
[data-theme="dark"] .no-results {
	background: var(--card-bg);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
	border-color: rgba(255, 139, 0, 0.2);
}

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

.no-results-animation {
	position: relative;
	margin-bottom: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.no-results-animation i {
	font-size: 5rem;
	color: var(--primary);
	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;
	position: relative;
	z-index: 2;
}

.search-waves {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.wave {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100px;
	height: 100px;
	border: 2px solid var(--primary);
	border-radius: 50%;
	opacity: 0;
	animation: searchWave 2s ease-in-out infinite;
}

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

.no-results h3 {
	font-size: 2rem;
	font-weight: 700;
	color: var(--secondary);
	margin-bottom: 1rem;
}

/* Dark Mode No Results Title */
[data-theme="dark"] .no-results h3 {
	color: var(--text-color);
}

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

.no-results-suggestions {
	background: rgba(255, 139, 0, 0.05);
	border-radius: var(--border-radius-md);
	padding: 1.5rem;
	margin-bottom: 2rem;
	border: 1px solid rgba(255, 139, 0, 0.1);
	max-width: 600px;
}

.no-results-suggestions p {
	font-weight: 600;
	color: var(--primary);
	margin-bottom: 1rem;
	font-size: 1rem;
}

.no-results-suggestions ul {
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: left;
}

.no-results-suggestions li {
	color: var(--text-color);
	font-size: 0.95rem;
	margin-bottom: 0.5rem;
	position: relative;
	padding-left: 1.5rem;
}

.no-results-suggestions li::before {
	content: '•';
	color: var(--primary);
	font-weight: bold;
	position: absolute;
	left: 0;
}

.no-results .btn {
	margin-top: 1rem;
}

/* ===== RESPONSIVE ADJUSTMENTS FOR CONTENT ===== */

/* Tablet Large */
@media (max-width: 992px) {
	.partners-grid {
		grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
		gap: 1.5rem;
	}

	.partner-card-content {
		padding: 1.5rem;
	}

	.partner-list-image {
		width: 200px;
		height: 140px;
	}

	.partner-list-content {
		padding: 1.5rem;
	}
}

/* Tablet */
@media (max-width: 768px) {
	.results-header {
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
		padding: 1.25rem;
	}

	.results-info {
		text-align: center;
	}

	.results-actions {
		justify-content: center;
	}

	.partners-grid {
		grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
		gap: 1.25rem;
	}

	.partner-card-image {
		height: 200px;
	}

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

	.partner-list-image {
		width: 100%;
		height: 180px;
	}

	.partner-list-actions {
		justify-content: center;
		gap: 0.75rem;
	}
}

/* Mobile Large */
@media (max-width: 576px) {
	.partners-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	/* Mobile Modal Fixes */
	.partner-modal-content {
		max-height: 90vh;
		margin: 20px auto;
	}

	.partner-modal-body {
		padding: 1.5rem;
	}

	.partner-card-content {
		padding: 1.25rem;
	}

	.partner-card-title {
		font-size: 1.25rem;
	}

	.partner-card-image {
		height: 180px;
	}

	.partner-list-content {
		padding: 1.25rem;
	}

	.partner-list-title {
		font-size: 1.3rem;
	}

	.partner-list-image {
		height: 160px;
	}

	.partner-list-meta {
		gap: 0.5rem;
		flex-direction: column;
	}

	.meta-item {
		width: 100%;
		justify-content: flex-start;
	}

	.no-results {
		padding: 3rem 1.5rem;
	}

	.no-results-animation i {
		font-size: 3.5rem;
	}

	.no-results h3 {
		font-size: 1.6rem;
	}

	.no-results p {
		font-size: 1rem;
	}
}

/* Mobile Small */
@media (max-width: 480px) {
	.partner-card {
		margin-bottom: 1rem;
	}

	.partner-card-content {
		padding: 1rem;
	}

	.partner-card-title {
		font-size: 1.1rem;
		margin-bottom: 0.4rem;
	}

	.partner-card-image {
		height: 160px;
	}

	.partner-card-meta {
		gap: 0.5rem;
		margin-bottom: 0.75rem;
	}

	.meta-info-grid {
		grid-template-columns: 1fr;
		gap: 0.4rem;
	}

	.meta-info-item {
		padding: 0.35rem 0.5rem;
		font-size: 0.75rem;
	}

	.feature-tags-container {
		justify-content: center;
	}

	.partner-card-type {
		padding: 0.2rem 0.4rem;
		font-size: 0.6rem;
	}

	.partner-card-location {
		padding: 0.2rem 0.4rem;
		font-size: 0.7rem;
	}

	.partner-card-features {
		gap: 0.3rem;
		margin-bottom: 0.75rem;
	}

	.feature-tag {
		padding: 0.25rem 0.5rem;
		font-size: 0.65rem;
		gap: 0.25rem;
	}

	.partner-card-actions {
		gap: 0.5rem;
		flex-wrap: wrap;
		justify-content: center;
		padding-top: 0.75rem;
	}

	.action-btn {
		flex: 1;
		min-width: 44px;
	}

	.action-btn.primary {
		flex: 2;
		justify-content: center;
	}

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

	.partner-list-title {
		font-size: 1.2rem;
	}

	.partner-list-image {
		height: 140px;
	}

	.loading-container {
		padding: 4rem 1rem;
	}

	.loading-spinner {
		width: 60px;
		height: 60px;
	}
}

/* ===== ANIMATIONS ===== */
@keyframes loadingProgress {
	0% {
		transform: scaleX(0);
		transform-origin: left;
	}
	50% {
		transform: scaleX(1);
		transform-origin: left;
	}
	100% {
		transform: scaleX(0);
		transform-origin: right;
	}
}

@keyframes loadingBounce {
	0%, 80%, 100% {
		transform: scale(0.8);
		opacity: 0.6;
	}
	40% {
		transform: scale(1);
		opacity: 1;
	}
}

@keyframes searchWave {
	0% {
		width: 50px;
		height: 50px;
		opacity: 1;
	}
	100% {
		width: 200px;
		height: 200px;
		opacity: 0;
	}
}

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

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

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
	.partner-card,
	.partner-list-item {
		animation: none;
		opacity: 1;
		transform: none;
	}

	.loading-spinner,
	.loading-dots span,
	.wave,
	.no-results-animation i {
		animation: none;
	}

	.partner-card:hover,
	.partner-list-item:hover,
	.action-btn:hover {
		transform: none;
	}

	.loading-container::before {
		animation: none;
	}
}
/* ===== PARTNERS PAGE SPECIFIC STYLES - BATCH 4 ===== */
/* Partner Modal, Pagination & Final Components */

/* ===== ENHANCED PARTNER MODAL ===== */
/* ===== ENHANCED PARTNER MODAL ===== */
.partner-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px 15px 15px;
	animation: modalFadeIn 0.3s ease-out;
	overflow-y: auto;
}

/* Dark Mode Modal Backdrop */
[data-theme="dark"] .partner-modal {
	background: rgba(0, 0, 0, 0.8);
}

.partner-modal-content {
	background: var(--card-bg);
	border-radius: var(--border-radius-lg);
	max-width: min(700px, 95vw);
	width: 100%;
	max-height: min(85vh, 600px);
	overflow-y: auto;
	box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
	border: 2px solid rgba(255, 139, 0, 0.1);
	position: relative;
	transform: scale(1) translateY(0);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	animation: modalSlideIn 0.3s ease-out;
	pointer-events: auto;
	flex-shrink: 0;
	margin: auto;
}

/* Dark Mode Modal Content */
[data-theme="dark"] .partner-modal-content {
	background: var(--card-bg);
	border-color: rgba(255, 139, 0, 0.2);
	box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
}

.partner-modal.show .partner-modal-content {
	transform: scale(1) translateY(0);
}

/* Modal Handle - Removed */
.modal-handle {
	display: none;
}

/* Dark Mode Modal Handle */
[data-theme="dark"] .modal-handle {
	background: rgba(255, 255, 255, 0.3);
}

.partner-modal-content:hover .modal-handle {
	background: var(--primary);
	transform: scaleX(1.2);
}

/* Modal Close Button */
.partner-modal-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 44px;
	height: 44px;
	border: none;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	transition: var(--transition-fast);
	color: var(--text-color);
	font-size: 1.2rem;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Dark Mode Modal Close Button */
[data-theme="dark"] .partner-modal-close {
	background: rgba(30, 41, 59, 0.9);
	color: var(--text-color);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.partner-modal-close:hover {
	background: rgba(255, 139, 0, 0.1);
	color: var(--primary);
	transform: scale(1.1) rotate(90deg);
	box-shadow: 0 6px 20px rgba(255, 139, 0, 0.2);
}

/* Dark Mode Modal Close Button Hover */
[data-theme="dark"] .partner-modal-close:hover {
	background: rgba(255, 139, 0, 0.2);
	color: var(--primary);
}

.partner-modal-wrapper {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
	max-height: 100%;
}

/* Modal Header */
.partner-modal-header {
	position: relative;
	height: 150px;
	overflow: hidden;
	border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
	flex-shrink: 0;
	margin-top: 0;
	padding-top: 0;
}

.partner-modal-header img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.partner-modal-content:hover .partner-modal-header img {
	transform: scale(1.05);
}

.modal-header-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.3) 50%, 
		rgba(0, 0, 0, 0.7) 100%);
	display: flex;
	align-items: flex-end;
	padding: 2rem;
}

.modal-badge {
	background: linear-gradient(135deg, rgba(255, 139, 0, 0.95) 0%, rgba(255, 165, 0, 0.95) 100%);
	color: white;
	padding: 0.75rem 1.5rem;
	border-radius: var(--border-radius-xl);
	font-size: 1rem;
	font-weight: 600;
	border: 2px solid rgba(255, 255, 255, 0.3);
	box-shadow: 0 8px 25px rgba(255, 139, 0, 0.4);
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	
	position: relative;
	overflow: hidden;
	transition: var(--transition-fast);
}

.modal-badge::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.6s ease;
}

.modal-badge:hover::before {
	left: 100%;
}

/* Modal Body */
.partner-modal-body {
	padding: 2.5rem;
	position: relative;
}

.modal-title-section {
	text-align: center;
	margin-bottom: 2.5rem;
	position: relative;
}

.partner-modal-title {
	font-size: 2.2rem;
	font-weight: 800;
	color: var(--primary);
	margin-bottom: 1rem;
	line-height: 1.2;
	position: relative;
}

/* Dark Mode Modal Title */
[data-theme="dark"] .partner-modal-title {
	background: linear-gradient(135deg, var(--primary) 0%, #FFB74D 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.partner-modal-title::after {
	content: '';
	position: absolute;
	bottom: -12px;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 4px;
	background: var(--gradient-primary);
	border-radius: 2px;
	box-shadow: 0 2px 8px rgba(255, 139, 0, 0.3);
}

/* Modal Info Sections */
.partner-modal-info {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin-bottom: 20px;
}

.info-section {
	background: rgba(255, 139, 0, 0.03);
	border-radius: var(--border-radius-md);
	padding: 1.75rem;
	border: 1px solid rgba(255, 139, 0, 0.1);
	position: relative;
	transition: var(--transition-fast);
}

/* Dark Mode Info Section */
[data-theme="dark"] .info-section {
	background: rgba(255, 139, 0, 0.08);
	border-color: rgba(255, 139, 0, 0.2);
}

.info-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	background: var(--gradient-primary);
	border-radius: 2px;
	transform: scaleY(0);
	transition: transform 0.4s ease;
}

.info-section:hover::before {
	transform: scaleY(1);
}

.info-section:hover {
	background: rgba(255, 139, 0, 0.06);
	border-color: rgba(255, 139, 0, 0.2);
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(255, 139, 0, 0.1);
}

/* Dark Mode Info Section Hover */
[data-theme="dark"] .info-section:hover {
	background: rgba(255, 139, 0, 0.12);
	border-color: rgba(255, 139, 0, 0.3);
}

.info-section h3 {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--primary);
	margin-bottom: 1.25rem;
	position: relative;
}

.info-section h3 i {
	font-size: 1.2rem;
	background: var(--gradient-primary);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	filter: drop-shadow(0 1px 2px rgba(255, 139, 0, 0.2));
}

.info-grid {
	display: grid;
	gap: 1rem;
}

.info-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1rem;
	background: var(--white);
	border-radius: var(--border-radius-sm);
	border: 1px solid rgba(255, 139, 0, 0.08);
	transition: var(--transition-fast);
	position: relative;
	overflow: hidden;
}

/* Dark Mode Info Item */
[data-theme="dark"] .info-item {
	background: rgba(30, 41, 59, 0.5);
	border-color: rgba(255, 139, 0, 0.15);
}

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

.info-item:hover::before {
	left: 100%;
}

.info-item:hover {
	background: rgba(255, 139, 0, 0.02);
	border-color: rgba(255, 139, 0, 0.15);
	transform: translateX(5px);
}

/* Dark Mode Info Item Hover */
[data-theme="dark"] .info-item:hover {
	background: rgba(255, 139, 0, 0.08);
	border-color: rgba(255, 139, 0, 0.25);
}

.info-item i {
	color: var(--primary);
	font-size: 1.3rem;
	margin-top: 0.1rem;
	flex-shrink: 0;
	position: relative;
	z-index: 1;
}

.info-content {
	flex: 1;
	position: relative;
	z-index: 1;
}

.info-label {
	font-weight: 600;
	color: var(--secondary);
	font-size: 0.9rem;
	display: block;
	margin-bottom: 0.25rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Dark Mode Info Label */
[data-theme="dark"] .info-label {
	color: var(--light-text);
}

.info-value {
	font-size: 1rem;
	color: var(--text-color);
	font-weight: 500;
	line-height: 1.4;
}

.contact-link {
	color: var(--primary);
	text-decoration: none;
	transition: var(--transition-fast);
	position: relative;
}

.contact-link::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--primary);
	transition: width 0.3s ease;
}

.contact-link:hover {
	color: var(--primary-dark);
}

.contact-link:hover::after {
	width: 100%;
}

/* Services Grid */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
}

.service-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 1.25rem;
	background: var(--white);
	border-radius: var(--border-radius-sm);
	border: 1px solid rgba(255, 139, 0, 0.1);
	transition: var(--transition-fast);
	position: relative;
	overflow: hidden;
}

/* Dark Mode Service Item */
[data-theme="dark"] .service-item {
	background: rgba(30, 41, 59, 0.5);
	border-color: rgba(255, 139, 0, 0.2);
}

.service-item::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;
}

.service-item:hover::before {
	left: 100%;
}

.service-item:hover {
	background: rgba(255, 139, 0, 0.05);
	border-color: rgba(255, 139, 0, 0.2);
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 4px 15px rgba(255, 139, 0, 0.1);
}

/* Dark Mode Service Item Hover */
[data-theme="dark"] .service-item:hover {
	background: rgba(255, 139, 0, 0.1);
	border-color: rgba(255, 139, 0, 0.3);
}

.service-item.loyalty {
	border-color: var(--primary);
	background: linear-gradient(135deg, rgba(255, 139, 0, 0.08) 0%, rgba(255, 165, 0, 0.08) 100%);
}

.service-item.loyalty:hover {
	background: linear-gradient(135deg, rgba(255, 139, 0, 0.15) 0%, rgba(255, 165, 0, 0.15) 100%);
	box-shadow: 0 6px 20px rgba(255, 139, 0, 0.2);
}

.service-item i {
	color: var(--primary);
	font-size: 1.2rem;
	position: relative;
	z-index: 1;
}

.service-item span {
	font-weight: 600;
	color: var(--text-color);
	font-size: 0.95rem;
	position: relative;
	z-index: 1;
}

/* Modal Action Buttons */
.partner-modal-actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
	padding: 20px 20px 90px;
	border-top: 2px solid rgba(255, 139, 0, 0.1);
	margin-top: 20px;
	background: var(--card-bg);
}

.modal-action-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 1rem 1.5rem;
	border-radius: var(--border-radius-lg);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	transition: var(--transition-fast);
	position: relative;
	overflow: hidden;
	min-width: 140px;
	text-align: center;
}

.modal-action-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;
}

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

.modal-action-btn > * {
	position: relative;
	z-index: 1;
}

.modal-action-btn i {
	font-size: 1.1rem;
}

.btn-map {
	background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
	color: white;
	border: 2px solid transparent;
	box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3);
}

.btn-map:hover {
	box-shadow: 0 10px 30px rgba(231, 76, 60, 0.4);
	transform: translateY(-3px) scale(1.02);
}

.btn-call {
	background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
	color: white;
	border: 2px solid transparent;
	box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
}

.btn-call:hover {
	box-shadow: 0 10px 30px rgba(39, 174, 96, 0.4);
	transform: translateY(-3px) scale(1.02);
}

.btn-website {
	background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
	color: white;
	border: 2px solid transparent;
	box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

.btn-website:hover {
	box-shadow: 0 10px 30px rgba(52, 152, 219, 0.4);
	transform: translateY(-3px) scale(1.02);
}

/* ===== ENHANCED PAGINATION ===== */
.pagination-container {
	margin-top: 4rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
	padding: 2.5rem;
	background: var(--white);
	border-radius: var(--border-radius-lg);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
	border: 2px solid rgba(255, 139, 0, 0.1);
	position: relative;
	overflow: hidden;
}

/* Dark Mode Pagination Container */
[data-theme="dark"] .pagination-container {
	background: var(--card-bg);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
	border-color: rgba(255, 139, 0, 0.2);
}

.pagination-container::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: var(--gradient-primary);
	animation: paginationGlow 3s ease-in-out infinite;
}

.pagination-info {
	color: var(--text-color);
	font-size: 1.1rem;
	font-weight: 600;
	text-align: center;
	position: relative;
	background: rgba(255, 139, 0, 0.05);
	padding: 0.75rem 1.5rem;
	border-radius: var(--border-radius-lg);
	border: 1px solid rgba(255, 139, 0, 0.1);
}

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

.pagination {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
	justify-content: center;
	background: rgba(255, 139, 0, 0.03);
	padding: 1rem 1.5rem;
	border-radius: var(--border-radius-xl);
	border: 1px solid rgba(255, 139, 0, 0.1);
}

/* Dark Mode Pagination */
[data-theme="dark"] .pagination {
	background: rgba(255, 139, 0, 0.08);
	border-color: rgba(255, 139, 0, 0.2);
}

.pagination-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	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;
	font-size: 0.95rem;
}

/* Dark Mode Pagination Button */
[data-theme="dark"] .pagination-btn {
	background: var(--card-bg);
	border-color: rgba(255, 139, 0, 0.3);
}

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

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

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

.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 8px 25px rgba(255, 139, 0, 0.25);
}

/* Dark Mode Pagination Button Hover */
[data-theme="dark"] .pagination-btn:hover:not(:disabled) {
	background: rgba(255, 139, 0, 0.15);
	border-color: var(--primary);
}

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

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

.pagination-btn.active:hover {
	box-shadow: 0 12px 35px rgba(255, 139, 0, 0.5);
	transform: translateY(-4px) scale(1.1);
}

.pagination-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
	background: rgba(0, 0, 0, 0.05);
}

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

.pagination-btn.page-number {
	font-weight: 700;
	font-size: 1rem;
}

/* ===== MOBILE BOTTOM NAVIGATION ENHANCEMENTS ===== */
.partners-page .mobile-bottom-nav {
	background: rgba(255, 255, 255, 0.95);
	border-top: 2px solid rgba(255, 139, 0, 0.3);
	box-shadow: 0 -6px 25px rgba(255, 139, 0, 0.15);
}

/* ===== FOOTER LOGO SIZE FIX ===== */
.footer-logo-img {
	max-height: 40px;
	width: auto;
	height: auto;
}

/* Responsive footer logo */
@media (max-width: 768px) {
	.footer-logo-img {
		max-height: 32px;
	}
}

@media (max-width: 480px) {
	.footer-logo-img {
		max-height: 28px;
	}
}

/* Dark Mode Mobile Nav for Partners Page */
[data-theme="dark"] .partners-page .mobile-bottom-nav {
	background: rgba(26, 32, 44, 0.95);
	border-top-color: rgba(255, 139, 0, 0.4);
	box-shadow: 0 -6px 25px rgba(255, 139, 0, 0.2);
}

.partners-page .mobile-nav-item.active {
	color: var(--primary);
	background: linear-gradient(135deg, rgba(255, 139, 0, 0.15) 0%, rgba(255, 165, 0, 0.15) 100%);
	border-radius: 12px;
	transform: translateY(-3px) scale(1.05);
	box-shadow: 0 4px 15px rgba(255, 139, 0, 0.2);
}


/* ===== RESPONSIVE ADJUSTMENTS FOR MODAL ===== */

/* Desktop Large - Make modal bigger on large screens */
@media (min-width: 1200px) {
	.partner-modal-content {
		max-width: min(1000px, 90vw);
		max-height: min(85vh, 750px);
	}

	.partner-modal-header {
		height: 300px;
	}

	.partner-modal-body {
		padding: 3rem 2.5rem 2rem;
		max-height: calc(100% - 150px);
	}

	.partner-modal-title {
		font-size: 2.5rem;
		margin-bottom: 1.5rem;
	}

	.info-section {
		padding: 2rem;
		margin-bottom: 2rem;
	}

	.info-section h3 {
		font-size: 1.5rem;
	}

	.info-section p {
		font-size: 1.1rem;
		line-height: 1.7;
	}

	.services-grid {
		grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
		gap: 1.5rem;
	}

	.partner-modal-actions {
		padding: 2rem 2.5rem;
		gap: 1.5rem;
	}

	.modal-action-btn {
		padding: 1.25rem 2rem;
		font-size: 1.1rem;
		min-width: 180px;
	}
}

/* Desktop Medium */
@media (min-width: 993px) and (max-width: 1199px) {
	.partner-modal-content {
		max-width: min(900px, 92vw);
		max-height: min(80vh, 650px);
	}

	.partner-modal-header {
		height: 250px;
	}

	.partner-modal-body {
		padding: 2.5rem 2rem 1.5rem;
		max-height: calc(100% - 140px);
	}

	.partner-modal-title {
		font-size: 2.2rem;
	}

	.info-section {
		padding: 1.75rem;
	}

	.info-section h3 {
		font-size: 1.3rem;
	}

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

	.partner-modal-actions {
		padding: 1.75rem 2rem;
		gap: 1.25rem;
	}

	.modal-action-btn {
		padding: 1.125rem 1.75rem;
		font-size: 1rem;
		min-width: 160px;
	}
}

/* Tablet Large */
@media (max-width: 992px) {
	.partner-modal-content {
		max-width: 650px;
		margin: 10px;
	}

	.partner-modal-header {
		height: 250px;
	}

.partner-modal-body {
	padding: 25px 20px 20px;
	flex: 1;
	overflow-y: auto;
	min-height: 0;
	max-height: calc(100% - 120px); /* Reserve space for header and actions */
}

	.partner-modal-title {
		font-size: 2rem;
	}

	.info-section {
		padding: 1.5rem;
	}

	.services-grid {
		grid-template-columns: 1fr;
	}
}

/* Tablet */
@media (max-width: 768px) {
	.partner-modal {
		padding: 0;
		align-items: center;
	}

	.partner-modal-content {
		max-height: 75vh;
		border-radius: 20px 20px 0 0;
		margin: 0;
		width: 100%;
		max-width: none;
		transform: translateY(0);
		animation: modalSlideUpMobile 0.3s ease-out;
		flex-shrink: 1;
		display: flex;
		flex-direction: column;
	}

	.partner-modal-close {
		top: 0.75rem;
		right: 0.75rem;
		width: 40px;
		height: 40px;
		font-size: 1.1rem;
	}

	.partner-modal-header {
		height: 160px;
		flex-shrink: 0;
	}

	.modal-header-overlay {
		padding: 1rem;
	}

	.partner-modal-body {
		padding: 20px 15px;
		flex: 1;
		overflow-y: auto;
		min-height: 0;
	}

	.modal-title-section {
		margin-bottom: 2rem;
	}

	.partner-modal-title {
		font-size: 1.8rem;
	}

	.info-section {
		padding: 1.25rem;
	}

	.info-section h3 {
		font-size: 1.2rem;
	}

	.partner-modal-actions {
		gap: 0.75rem;
		padding: 15px 15px 80px;
	}

	.modal-action-btn {
		flex: 1;
		min-width: 120px;
		padding: 0.875rem 1.25rem;
		font-size: 0.9rem;
	}

	.pagination-container {
		padding: 2rem;
		margin-top: 3rem;
	}

	.pagination {
		gap: 0.5rem;
		padding: 0.75rem 1rem;
	}

	.pagination-btn {
		width: 44px;
		height: 44px;
		font-size: 0.9rem;
	}
}

/* Mobile Large */
@media (max-width: 576px) {
	.partner-modal-content {
		max-height: 80vh;
	}

	.partner-modal-header {
		height: 140px;
	}

	.modal-header-overlay {
		padding: 0.75rem;
	}

	.modal-badge {
		padding: 0.5rem 1rem;
		font-size: 0.9rem;
	}

	.partner-modal-body {
		padding: 15px;
		padding-bottom: 0;
		flex: 1;
		overflow-y: auto;
		min-height: 0;
	}

	.partner-modal-title {
		font-size: 1.4rem;
		margin-bottom: 15px;
	}

	.partner-modal-info {
		gap: 1rem;
	}

	.info-section {
		padding: 0.75rem;
		margin-bottom: 1rem;
	}

	.info-item {
		gap: 0.75rem;
		padding: 0.875rem;
	}

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

	.info-content {
		font-size: 0.95rem;
	}

	.info-label {
		font-size: 0.8rem;
	}

	.service-item {
		padding: 0.875rem 1rem;
		gap: 0.625rem;
	}

	.service-item i {
		font-size: 1.1rem;
	}

	.service-item span {
		font-size: 0.9rem;
	}

	.partner-modal-actions {
		flex-direction: column;
		gap: 0.5rem;
	}

	.modal-action-btn {
		width: 100%;
		min-width: auto;
		padding: 0.75rem 1rem;
	}

	.pagination-container {
		padding: 1.5rem;
		gap: 1.5rem;
	}

	.pagination-info {
		font-size: 1rem;
		padding: 0.625rem 1.25rem;
	}

	.pagination {
		gap: 0.375rem;
		padding: 0.625rem 0.875rem;
	}

	.pagination-btn {
		width: 40px;
		height: 40px;
		font-size: 0.85rem;
	}
}

/* Mobile Small */
@media (max-width: 480px) {
	.partner-modal-close {
		width: 36px;
		height: 36px;
		font-size: 1rem;
	}

	.partner-modal-header {
		height: 120px;
	}

	.partner-modal-body {
		padding: 12px;
		flex: 1;
		overflow-y: auto;
	}

	.partner-modal-title {
		font-size: 1.25rem;
		margin-bottom: 10px;
	}

	.modal-title-section {
		margin-bottom: 1rem;
	}

	.partner-modal-info {
		gap: 1.25rem;
		margin-bottom: 2rem;
	}

	.info-section {
		padding: 0.875rem;
	}

	.info-section h3 {
		font-size: 1.1rem;
		gap: 0.5rem;
		margin-bottom: 1rem;
	}

	.info-item {
		padding: 0.75rem;
		gap: 0.625rem;
	}

	.info-grid {
		gap: 0.75rem;
	}

	.service-item {
		padding: 0.75rem 0.875rem;
		gap: 0.5rem;
	}

	.partner-modal-actions {
		padding: 12px 12px 75px;
		flex-direction: column;
		gap: 0.5rem;
	}

	.modal-action-btn {
		padding: 0.625rem 0.875rem;
		font-size: 0.85rem;
		gap: 0.5rem;
	}

	.modal-action-btn i {
		font-size: 1rem;
	}

	.pagination-container {
		padding: 1.25rem;
	}

	.pagination-info {
		font-size: 0.9rem;
		padding: 0.5rem 1rem;
	}

	.pagination {
		padding: 0.5rem 0.75rem;
	}

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

/* Mobile Extra Small */
@media (max-width: 400px) {
	.partner-modal-content {
		max-height: 85vh;
	}

	.partner-modal-header {
		height: 100px;
	}

	.modal-badge {
		padding: 0.5rem 1rem;
		font-size: 0.85rem;
	}

	.partner-modal-title {
		font-size: 1.1rem;
		margin-bottom: 8px;
	}

	.info-section {
		padding: 0.5rem;
		margin-bottom: 0.75rem;
	}

	.info-section h3 {
		font-size: 0.95rem;
		margin-bottom: 0.5rem;
	}

	.modal-action-btn {
		padding: 0.5rem 0.75rem;
		font-size: 0.8rem;
	}

	.pagination-btn {
		width: 34px;
		height: 34px;
		font-size: 0.75rem;
	}
}

/* ===== MODAL BODY STYLES ===== */
body.modal-open {
	overflow: hidden;
	padding-right: 17px; /* Compensate for scrollbar */
}

/* ===== DIAGNOSTIC STYLES (TEMPORARY) ===== */
/* Temporarily make all positioned elements visible to identify phantom click sources */
/*
* {
	outline: 1px solid red !important;
}

*::before,
*::after {
	outline: 1px solid blue !important;
}

.partner-modal {
	outline: 3px solid green !important;
}

.partner-modal-content {
	outline: 3px solid yellow !important;
}
*/

/* Fix for phantom clicks - ensure no invisible overlays are interfering */
.partner-modal {
	/* Add a small delay to prevent immediate click registration */
	pointer-events: none;
}

.partner-modal.active {
	pointer-events: auto;
}

.partner-modal-content {
	pointer-events: auto;
}

/* Prevent any pseudo-elements from interfering with clicks */
.partner-card::before,
.partner-card::after {
	pointer-events: none !important;
}

/* ===== FINAL ANIMATIONS ===== */
@keyframes modalFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes modalSlideIn {
	from {
		opacity: 0;
		transform: translateY(-50px) scale(0.9);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes paginationGlow {
	0% {
		opacity: 0.5;
		transform: scaleX(0.3);
	}
	50% {
		opacity: 1;
		transform: scaleX(0.7);
	}
	100% {
		opacity: 0.5;
		transform: scaleX(0.3);
	}
}

@keyframes modalSlideUp {
	from {
		transform: translateY(100%);
	}
	to {
		transform: translateY(0);
	}
}

@keyframes modalSlideDown {
	from {
		transform: translateY(0);
	}
	to {
		transform: translateY(100%);
	}
}

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

/* ===== ACCESSIBILITY & TOUCH OPTIMIZATIONS ===== */

/* Touch device optimizations - Disable hover effects entirely on touch devices */
@media (hover: none) and (pointer: coarse) {
	.partner-card:hover,
	.partner-list-item:hover,
	.modal-action-btn:hover,
	.pagination-btn:hover {
		transform: none !important;
		box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04) !important;
		border-color: transparent !important;
	}
	
	.partner-card:hover::before,
	.partner-list-item:hover::before {
		opacity: 0 !important;
	}
	
	.partner-card:hover::after,
	.partner-list-item:hover::after {
		transform: scaleX(0) !important;
	}
	
	.partner-card:hover .partner-card-image img {
		transform: scale(1) !important;
	}
	
	.partner-card:hover .partner-card-overlay {
		opacity: 0 !important;
	}
	
	.partner-card:hover .partner-card-title {
		color: var(--secondary) !important;
		transform: translateY(0) !important;
	}
	
	.partner-card:hover .partner-card-title::after {
		width: 0 !important;
	}

	.partner-modal-close,
	.modal-action-btn,
	.pagination-btn {
		min-height: 44px;
		min-width: 44px;
	}

	.search-clear {
		min-width: 44px;
		min-height: 44px;
	}
}

/* High contrast mode support */
@media (prefers-contrast: high) {
	.partner-modal-content {
		border: 3px solid var(--primary);
	}

	.modal-action-btn {
		border: 2px solid currentColor;
	}

	.pagination-btn {
		border: 2px solid currentColor;
	}
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
	.partner-modal-content,
	.partner-modal-header img,
	.modal-badge::before,
	.info-item::before,
	.service-item::before,
	.modal-action-btn::before,
	.pagination-btn::before {
		animation: none;
		transition: none;
		transform: none;
	}

	.partner-modal.show .partner-modal-content {
		transform: scale(1) translateY(0);
	}

	.pagination-container::before {
		animation: none;
	}
}

/* Focus styles for accessibility */
.partner-modal-close:focus,
.modal-action-btn:focus,
.pagination-btn:focus {
	outline: 3px solid var(--primary);
	outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
	.partner-modal {
		display: none !important;
	}

	.mobile-bottom-nav {
		display: none !important;
	}

	.pagination-container {
		display: none !important;
	}
}