.recruiters-section {
	max-width: 1200px;
	width: calc(100% - 2rem);
	margin: 2rem auto 4rem;
}
.section-header {
	background: var(--white);
	padding: 2rem;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	margin-bottom: 2rem;
	border: 1px solid var(--border);
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}
.section-header:hover {
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
	transform: translateY(-3px);
}
.section-header::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 4px;
	background: var(--gradient-primary);
	z-index: 1;
}	
.section-title {
	font-size: 2rem;
	color: var(--primary);
	margin-bottom: 1.5rem;
	padding-bottom: 0.8rem;
	border-bottom: 3px solid var(--accent);
	text-align: center;
	position: relative;
	font-weight: 800;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: -3px;
	right: 50%;
	transform: translateX(50%);
	width: 100px;
	height: 3px;
	background: var(--accent);
	border-radius: 2px;
}	
.filters {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1.5rem;
	flex-wrap: wrap;
}
.filter-select {
	padding: 0.8rem 1.2rem;
	border-radius: 10px;
	border: 2px solid var(--border);
	background: var(--white);
	color: var(--text);
	font-family: 'Tajawal', sans-serif;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
	flex: 1;
	min-width: 200px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.filter-select:focus {
	outline: var(--focus-outline);
	border-color: var(--secondary);
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
body.dark-mode .filter-select {
	background: var(--card-bg);
	border-color: rgba(255, 255, 255, 0.1);
	color: var(--footer-text);
}
body.dark-mode .section-header {
	background: #1a243d;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.1);
}
body.dark-mode .section-title {
	color: var(--accent);
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
body.dark-mode .filter-select {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.1);
	color: var(--footer-text);
}
.recruiters-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
	margin-bottom: 2rem;
}
.recruiter-card {
background: var(--white);
border-radius: 16px;
overflow: hidden;
transition: opacity 0.3s ease, transform 0.3s ease;
box-shadow: 0 4px 20px rgba(0,0,0,0.08);
border: 1px solid var(--secondary);
height: 100%;
display: flex;
flex-direction: column;
position: relative;
background-image: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.9) 100%);

}
.recruiter-card[style*="display: none"] {
opacity: 0;
transform: scale(0.9);
pointer-events: none;
}
.recruiter-card[style*="display: flex"] {
opacity: 1;
transform: scale(1);
pointer-events: all;
}
.recruiter-card::before {
content: '';
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 4px;
background: var(--gradient-primary);
transform: scaleX(0);
transform-origin: right;
transition: transform 0.4s ease;
z-index: 1;
}

.recruiter-card:hover {
transform: translateY(-8px);
box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.recruiter-card:hover::before {
transform: scaleX(1);
}

.recruiter-logo {
height: 100px; /* Réduit de 140px à 100px */
display: flex;
align-items: center;
justify-content: center;
padding: 1rem; /* Réduit de 1.5rem à 1rem */
background: linear-gradient(135deg, var(--light-bg) 0%, rgba(248,250,252,0.8) 100%);
border-bottom: 1px solid rgba(0,0,0,0.05);
position: relative;
overflow: hidden;
}

.recruiter-logo::after {
content: '';
position: absolute;
bottom: 0;
right: 0;
width: 100%;
height: 1px;
background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
opacity: 0;
transition: opacity 0.3s ease;
}

.recruiter-card:hover .recruiter-logo::after {
opacity: 1;
}

.recruiter-logo img {
max-width: 60px; /* Réduit de 70px à 60px */
max-height: 60px; /* Réduit de 70px à 60px */
width: auto;
height: auto;
object-fit: contain;
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
filter: grayscale(20%);
}

.recruiter-card:hover .recruiter-logo img {
transform: scale(1.15);
filter: grayscale(0%);
}

.recruiter-info {
padding: 1rem 1.5rem; /* Réduit le padding vertical de 1.5rem à 1rem */
flex-grow: 1;
display: flex;
flex-direction: column;
gap: 0.8rem; /* Réduit de 1rem à 0.8rem */
position: relative;
z-index: 2;
}

.recruiter-name {
font-size: 1.1rem; /* Réduit de 1.2rem à 1.1rem */
font-weight: 700;
color: var(--primary);
margin: 0;
transition: var(--transition);
text-align: center;
line-height: 1.3; /* Réduit de 1.4 à 1.3 */
min-height: 2.8em; /* Réduit de 3.2em à 2.8em */
display: flex;
align-items: center;
justify-content: center;
position: relative;
padding-bottom: 0.3rem; /* Réduit de 0.5rem à 0.3rem */
}

.recruiter-name::after {
content: '';
position: absolute;
bottom: 0;
right: 50%;
transform: translateX(50%);
width: 40px;
height: 2px;
background: var(--accent);
transition: width 0.3s ease;
}

.recruiter-card:hover .recruiter-name {
color: var(--secondary);
}

.recruiter-card:hover .recruiter-name::after {
width: 80px;
}

.recruiter-stats {
display: flex;
justify-content: space-between;
gap: 0.8rem;
margin: 0.3rem 0; /* Réduit de 0.5rem à 0.3rem */
background: rgba(0,0,0,0.02);
padding: 0.8rem; /* Réduit de 1rem à 0.8rem */
border-radius: 10px; /* Réduit de 12px à 10px */
border: 1px solid rgba(0,0,0,0.05);
transition: all 0.3s ease;
}

.recruiter-card:hover .recruiter-stats {
background: rgba(59, 130, 246, 0.05);
border-color: rgba(59, 130, 246, 0.1);
transform: translateY(-2px);
}

.stat {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.2rem; /* Réduit de 0.3rem à 0.2rem */
text-align: center;
flex: 1;
}

.stat i {
font-size: 1rem; /* Réduit de 1.1rem à 1rem */
color: var(--secondary);
margin-bottom: 0.1rem; /* Réduit de 0.2rem à 0.1rem */
transition: var(--transition);
}


.recruiter-card:hover .stat i {
color: var(--primary);
transform: scale(1.1);
}

.stat-count {
font-weight: 800;
font-size: 1rem; /* Réduit de 1.1rem à 1rem */
color: var(--primary);
transition: var(--transition);
}

.recruiter-card:hover .stat-count {
color: var(--secondary);
}

.stat span:last-child {
font-size: 0.8rem;
color: var(--muted);
font-weight: 500;
}

.recruiter-actions {
margin-top: auto;
}

.view-jobs-btn {
display: block;
width: 100%;
padding: 0.8rem; /* Réduit de 0.9rem à 0.8rem */
background: var(--gradient-primary);
color: white;
border: none;
border-radius: 8px; /* Réduit de 10px à 8px */
font-weight: 700;
cursor: pointer;
transition: all 0.3s ease;
text-align: center;
text-decoration: none;
font-size: 0.9rem; /* Réduit de 0.95rem à 0.9rem */
position: relative;
overflow: hidden;
z-index: 1;
}

.view-jobs-btn::before {
content: '';
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, var(--secondary) 0%, #1D4ED8 100%);
z-index: -1;
transform: translateX(-100%);
transition: transform 0.4s ease;
}

.view-jobs-btn:hover {
transform: translateY(-2px);
box-shadow: 0 6px 15px rgba(59, 130, 246, 0.4);
}

.view-jobs-btn:hover::before {
transform: translateX(0);
}

/* تأثيرات خاصة للبطاقات المميزة */
.recruiter-card.featured {
border: 2px solid var(--accent);
box-shadow: 0 8px 25px rgba(230, 195, 92, 0.2);
}

.recruiter-card.featured::before {
background: linear-gradient(135deg, var(--accent) 0%, #D4AF37 100%);
transform: scaleX(1);
}

.recruiter-card.featured .recruiter-name {
color: var(--accent);
}

/* تحسينات للوضع الداكن */
body.dark-mode .recruiter-card {
background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .recruiter-logo {
background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.8) 100%);
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode .recruiter-stats {
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-mode .recruiter-card:hover .recruiter-stats {
background: rgba(59, 130, 246, 0.1);
border-color: rgba(59, 130, 246, 0.2);
}


/* Responsive Design */
@media (max-width: 1024px) {
	.recruiters-grid {
		grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	}
}

@media (max-width: 768px) {

	.section-header {
		padding: 1.5rem;
		margin-bottom: 1.5rem;
	}
	
	.section-title {
		font-size: 1.6rem;
		margin-bottom: 1.2rem;
	}
	
	.filters {
		flex-direction: column;
		gap: 1rem;
	}
	
	.filter-select {
		width: 100%;
		min-width: auto;
	}
	
	.recruiter-logo {
		height: 90px; /* Réduit de 120px à 90px */
		padding: 0.8rem; /* Réduit de 1rem à 0.8rem */
	}

	.recruiter-logo img {
		max-width: 50px; /* Réduit de 60px à 50px */
		max-height: 50px; /* Réduit de 60px à 50px */
	}

	.recruiter-info {
		padding: 0.8rem 1rem; /* Réduit de 1.2rem à 0.8rem */
		gap: 0.6rem; /* Réduit de 0.8rem à 0.6rem */
	}

	.recruiter-name {
		font-size: 1rem; /* Réduit de 1.1rem à 1rem */
		min-height: 2.4em; /* Réduit de 2.8em à 2.4em */
		padding-bottom: 0.2rem; /* Réduit de 0.3rem à 0.2rem */
	}

	.recruiter-stats {
		padding: 0.6rem; /* Réduit de 0.8rem à 0.6rem */
		gap: 0.5rem;
		margin: 0.2rem 0; /* Réduit de 0.3rem à 0.2rem */
	}

	.view-jobs-btn {
		padding: 0.7rem; /* Réduit de 0.8rem à 0.7rem */
		font-size: 0.85rem; /* Réduit de 0.9rem à 0.85rem */
	}
	.stat-count {
		font-size: 1rem;
	}
}

@media (max-width: 480px) {
	.section-header {
		padding: 1.2rem;
	}
	.section-title {
		font-size: 1.4rem;
	}
	.filter-select {
		padding: 0.7rem 1rem;
		font-size: 0.95rem;
	}
	.recruiter-logo {
		height: 80px; /* Réduit de 90px à 80px */
	}
	.recruiter-logo img {
		max-width: 45px; /* Réduit de 50px à 45px */
		max-height: 45px; /* Réduit de 50px à 45px */
	}
	.recruiter-name {
		font-size: 0.95rem; /* Réduit de 1rem à 0.95rem */
		min-height: 2.2em; /* Réduit de 2.4em à 2.2em */
	}		
	.recruiter-stats {
		flex-direction: column;
		gap: 0.8rem;
	}
	.stat {
		flex-direction: row;
		justify-content: space-between;
		text-align: right;
	}
	.stat i {
		margin-bottom: 0;
	}
}