/* Work Experience Section */

.experience-subtitle {
	font-size: 1.2rem;
	color: #64748b;
	font-weight: 400;
	margin-top: 0.5rem;
}

.timeline {
	max-width: 900px;
	margin: 3rem auto 0;
	position: relative;
}

.timeline::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: linear-gradient(180deg, #6366f1, #ec4899, #f59e0b);
	border-radius: 2px;
}

.experience-card {
	background: #ffffff;
	border-radius: 16px;
	padding: 2rem 2rem 2rem 3rem;
	margin-bottom: 2rem;
	margin-left: 2rem;
	box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
	border: 1px solid rgba(226, 232, 240, 0.8);
	position: relative;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.experience-card::before {
	content: '';
	position: absolute;
	left: -2rem;
	top: 2.5rem;
	width: 16px;
	height: 16px;
	background: #ffffff;
	border: 3px solid #6366f1;
	border-radius: 50%;
	box-shadow: 0 0 0 4px #ffffff;
}

.experience-card:hover {
	transform: translateX(8px);
	box-shadow: 0 20px 40px -12px rgba(99, 102, 241, 0.15);
	border-color: rgba(99, 102, 241, 0.3);
}

.experience-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 2rem;
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
}

.experience-title-group h3 {
	font-size: 1.5rem;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 0.5rem;
	line-height: 1.3;
}

.experience-company {
	font-size: 1.1rem;
	font-weight: 600;
	color: #6366f1;
	margin-bottom: 0.3rem;
}

.experience-role {
	font-size: 1rem;
	font-style: italic;
	color: #64748b;
	font-weight: 500;
	margin-top: 0.3rem;
}

.experience-meta {
	text-align: right;
	flex-shrink: 0;
}

.experience-location {
	font-size: 0.95rem;
	color: #475569;
	font-weight: 500;
	margin-bottom: 0.25rem;
}

.experience-date {
	font-size: 0.9rem;
	color: #94a3b8;
	font-weight: 600;
	background: #f1f5f9;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	display: inline-block;
}

.experience-details {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.experience-details li {
	position: relative;
	padding-left: 1.75rem;
	margin-bottom: 0.75rem;
	color: #475569;
	line-height: 1.6;
	font-size: 1rem;
}

.experience-details li::before {
	content: '▸';
	position: absolute;
	left: 0;
	color: #6366f1;
	font-weight: 700;
}

.experience-details li:last-child {
	margin-bottom: 0;
}

@media (max-width: 768px) {
	.timeline::before {
		left: -1rem;
	}

	.experience-card {
		margin-left: 1rem;
		padding: 1.5rem 1.5rem 1.5rem 2rem;
	}

	.experience-card::before {
		left: -1.5rem;
	}

	.experience-header {
		flex-direction: column;
		gap: 1rem;
	}

	.experience-meta {
		text-align: left;
	}

	.experience-title-group h3 {
		font-size: 1.3rem;
	}
}

@media (max-width: 480px) {
	.timeline {
		margin-top: 2rem;
	}

	.timeline::before {
		display: none;
	}

	.experience-card {
		margin-left: 0;
		padding: 1.5rem;
	}

	.experience-card::before {
		display: none;
	}

	.experience-details li {
		font-size: 0.95rem;
		padding-left: 1.5rem;
	}
}
