/* =========================================================
   Hire Developers Widget - Frontend Styles
   ========================================================= */

.hdw-section {
	position: relative;
	overflow: hidden;
	padding: 100px 0 90px;
	font-family: 'Plus Jakarta Sans', sans-serif;
}

.hdw-orb {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}
.hdw-orb-1 { top: -120px; left: 5%; width: 600px; height: 600px; }
.hdw-orb-2 { bottom: -100px; right: 5%; width: 500px; height: 500px; }
.hdw-orb-3 { top: 40%; right: 15%; width: 300px; height: 300px; }

.hdw-container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 40px;
	position: relative;
	z-index: 1;
}

/* Header */
.hdw-header {
	text-align: center;
	margin-bottom: 56px;
}

.hdw-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 14px;
	background: rgba(16, 185, 129, 0.1);
	border: 1px solid rgba(16, 185, 129, 0.2);
	border-radius: 999px;
	margin-bottom: 18px;
}

.hdw-badge-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background-color: #10B981;
	animation: hdw-pulse-dot 2s ease-in-out infinite;
}

.hdw-badge span {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: #10B981;
}

@keyframes hdw-pulse-dot {
	0% { opacity: 1; transform: scale(1); }
	75%, 100% { opacity: 0.5; transform: scale(1.4); }
}

.hdw-heading {
	font-size: clamp(30px, 5vw, 50px);
	font-weight: 800;
	color: #FFFFFF;
	margin: 0 0 14px;
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.hdw-highlight {
	background-image: linear-gradient(135deg, var(--hdw-grad-1, #1A7FE8) 0%, var(--hdw-grad-2, #7C3AED) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hdw-subheading {
	font-size: 16px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.5);
	max-width: 480px;
	margin: 0 auto;
	line-height: 1.7;
}

/* Filters */
.hdw-filters {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-bottom: 48px;
	flex-wrap: wrap;
}

.hdw-filter-btn {
	padding: 9px 20px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.04);
	color: rgba(255, 255, 255, 0.5);
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	font-family: inherit;
}

.hdw-filter-btn:hover:not(.hdw-active) {
	border-color: rgba(26, 127, 232, 0.4);
	color: rgba(255, 255, 255, 0.8);
}

.hdw-filter-btn.hdw-active {
	box-shadow: 0 4px 16px rgba(26, 127, 232, 0.35);
}

/* Grid */
.hdw-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
	align-items: stretch;
}

.hdw-grid .hdw-card {
	flex: 0 0 calc(33.333% - 16px);
	max-width: calc(33.333% - 16px);
}

@media (max-width: 1024px) {
	.hdw-grid .hdw-card {
		flex: 0 0 calc(50% - 12px);
		max-width: calc(50% - 12px);
	}
}

@media (max-width: 600px) {
	.hdw-grid .hdw-card {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

/* Card */
.hdw-card {
	border-radius: 20px;
	overflow: hidden;
	background: #FFFFFF;
	border: 1.5px solid #F1F5F9;
	display: flex;
	flex-direction: column;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
	transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.hdw-card.hdw-hide {
	display: none;
}

.hdw-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 24px 64px var(--hdw-accent-soft, rgba(26,127,232,0.2)), 0 8px 24px rgba(0, 0, 0, 0.1);
	border-color: var(--hdw-accent, #1A7FE8);
}

.hdw-card-image-wrap {
	position: relative;
	height: 260px;
	overflow: hidden;
	flex-shrink: 0;
}

.hdw-card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
	transition: transform 0.6s ease;
}

.hdw-card:hover .hdw-card-image {
	transform: scale(1.04);
}

.hdw-card-gradient-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, transparent 45%, rgba(0, 0, 0, 0.7) 100%);
}

.hdw-status-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 5px 10px;
	backdrop-filter: blur(8px);
	border-radius: 999px;
}

.hdw-status-available { background: rgba(16, 185, 129, 0.9); }
.hdw-status-busy { background: rgba(100, 116, 139, 0.85); }

.hdw-status-dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background-color: #fff;
}

.hdw-status-badge span:last-child {
	font-size: 10.5px;
	font-weight: 700;
	color: #fff;
}

.hdw-top-badge {
	position: absolute;
	top: 14px;
	right: 14px;
	padding: 4px 10px;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(8px);
	border: 1px solid var(--hdw-accent-soft, rgba(26,127,232,0.3));
	border-radius: 999px;
}

.hdw-top-badge span {
	font-size: 10.5px;
	font-weight: 700;
	color: var(--hdw-accent, #1A7FE8);
}

.hdw-card-bottom-overlay {
	position: absolute;
	bottom: 14px;
	left: 14px;
	right: 14px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px;
}

.hdw-card-name {
	font-size: 17px;
	font-weight: 700;
	color: #fff;
	line-height: 1.2;
}

.hdw-card-role {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.75);
	margin-top: 2px;
}

.hdw-card-price { text-align: right; }

.hdw-card-rate {
	font-size: 16px;
	font-weight: 800;
	color: var(--hdw-accent, #1A7FE8);
}

.hdw-card-rate-label {
	font-size: 10px;
	color: rgba(255, 255, 255, 0.6);
}

/* Card Body */
.hdw-card-body {
	padding: 18px 20px 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.hdw-stats-row {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.hdw-stars {
	display: flex;
	align-items: center;
	gap: 5px;
}

.hdw-stars svg { display: inline-block; }

.hdw-rating-num {
	font-size: 12px;
	font-weight: 700;
	color: #334155;
}

.hdw-rating-count {
	font-size: 11px;
	color: #94A3B8;
}

.hdw-dot-sep {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background-color: #D1D5DB;
	display: inline-block;
}

.hdw-meta-text {
	font-size: 11.5px;
	color: #64748B;
}

.hdw-pills {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.hdw-pill {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 4px 10px;
	border-radius: 8px;
	font-size: 11px;
	font-weight: 600;
}

.hdw-pill-accent {
	background: var(--hdw-accent-soft, rgba(26,127,232,0.12));
	border: 1px solid var(--hdw-accent-soft, rgba(26,127,232,0.2));
	color: var(--hdw-accent, #1A7FE8);
}

.hdw-pill-verified {
	background: rgba(16, 185, 129, 0.08);
	border: 1px solid rgba(16, 185, 129, 0.15);
	color: #10B981;
}

.hdw-skills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.hdw-skill-tag {
	font-size: 11.5px;
	font-weight: 600;
	color: #475569;
	padding: 4px 10px;
	background: #F8FAFC;
	border: 1px solid #E2E8F0;
	border-radius: 6px;
}

.hdw-divider {
	height: 1px;
	background-color: #F1F5F9;
}

.hdw-cta-button {
	width: 100%;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background-color: var(--hdw-accent, #1A7FE8);
	color: #FFFFFF;
	border: none;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	box-shadow: 0 4px 14px var(--hdw-accent-soft, rgba(26,127,232,0.3));
	transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.hdw-cta-button:hover {
	filter: brightness(0.92);
	box-shadow: 0 8px 24px var(--hdw-accent-soft, rgba(26,127,232,0.45));
	color: #FFFFFF;
}

/* Bottom CTA */
.hdw-bottom-cta {
	margin-top: 56px;
	text-align: center;
}

.hdw-bottom-cta-inner {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 16px 28px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	flex-wrap: wrap;
	justify-content: center;
}

.hdw-avatar-stack {
	display: flex;
}

.hdw-avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 2px solid #050C1A;
	margin-left: -8px;
}

.hdw-avatar-stack .hdw-avatar:first-child { margin-left: 0; }

.hdw-bottom-cta-inner span {
	font-size: 13.5px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.55);
}

.hdw-bottom-cta-inner a {
	color: #1A7FE8;
	text-decoration: none;
	font-weight: 700;
}

/* Responsive */
@media (max-width: 767px) {
	.hdw-section { padding: 60px 0 50px; }
	.hdw-container { padding: 0 20px; }
}
