.resume-section {
	position: relative;
	background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.025), transparent);
	background-size: 100% 300%;
	background-position: 0 0;
	animation: resume-gradient 12s ease-in-out infinite;
	overflow: visible;
}

@keyframes resume-gradient {
	0%,
	100% {
		background-position: 0 0;
	}

	50% {
		background-position: 0 100%;
	}
}

.resume-section::before {
	position: absolute;
	z-index: -2;
	inset: 0;
	background: none;
	content: "";
	pointer-events: none;
}

.resume-shine {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	height: 100%;
	background:
		linear-gradient(180deg, rgba(255, 151, 77, 0.15) 0%, rgba(255, 72, 71, 0.2) 50%, rgba(255, 151, 77, 0.15) 100%);
	background-size: 100% 100%;
	background-repeat: no-repeat;
	filter: blur(28px);
	mix-blend-mode: screen;
	opacity: 0;
	pointer-events: none;
	animation: resume-pulse-fade 6s ease-in-out infinite;
}

@keyframes resume-ambient-light {
	0% {
		transform: translateX(5%) translateY(0%);
		opacity: 0.24;
	}

	55% {
		transform: translateX(-5%) translateY(50%);
		opacity: 0.48;
	}

	72%,
	100% {
		transform: translateX(-5%) translateY(100%);
		opacity: 0.2;
	}
}

@keyframes resume-pulse-fade {
	0%,
	100% {
		opacity: 0;
	}

	50% {
		opacity: 0.35;
	}
}

.resume-section .section-intro {
	margin-bottom: 28px;
}

.section-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 22px;
	padding: 8px 15px;
	border: 1px solid rgba(255, 32, 40, 0.35);
	border-radius: 999px;
	background: rgba(255, 32, 40, 0.08);
	color: var(--red-light);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
}

.section-kicker-dot {
	width: 9px;
	height: 9px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: var(--red);
	box-shadow: 0 0 14px var(--red);
}

.resume-section-title {
	margin: 40px 0 20px;
	padding-bottom: 12px;
	border-bottom: 3px solid rgba(255, 32, 40, 0.4);
	box-shadow: 0 2px 8px rgba(255, 32, 40, 0.2);
	animation: title-underline-glow 3s ease-in-out infinite;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.resume-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	margin-bottom: 40px;
}

.resume-grid-column {
	display: flex;
	flex-direction: column;
}

.resume-section-title span,
.resume-section h2 span {
	background: linear-gradient(
		105deg,
		var(--red) 0%,
		var(--red) 38%,
		rgba(255, 244, 216, 0.52) 48%,
		rgba(255, 155, 50, 0.46) 52%,
		var(--red) 62%,
		var(--red) 100%
	);
	background-clip: text;
	background-size: 250% 100%;
	background-position: 100% 0;
	color: transparent;
	-webkit-background-clip: text;
	filter: drop-shadow(0 0 8px rgba(255, 32, 40, 0.22));
	animation: name-shine 3.8s ease-in-out infinite;
}

@keyframes name-shine {
	0%,
	8% {
		background-position: 100% 0;
	}

	48%,
	100% {
		background-position: 0 0;
	}
}

.resume-section-title:first-of-type {
	margin-top: 0;
}

.timeline {
	display: grid;
	gap: 32px;
	margin: 34px 0 0 7px;
	padding-left: 28px;
	border-left: 1px solid rgba(255, 32, 40, 0.4);
}

.timeline-item {
	position: relative;
}

.timeline-item h3 {
	margin-bottom: 8px;
	font-size: 17px;
}

.timeline-item h4 {
	margin-bottom: 4px;
	font-size: 14px;
	font-weight: 500;
	color: var(--muted);
}

.timeline-item > p:last-child {
	color: var(--muted);
	font-size: 14.5px;
	line-height: 1.7;
}

.timeline-item .gpa {
	display: inline-block;
	margin-top: 6px;
	padding: 4px 10px;
	border-radius: 6px;
	background: rgba(255, 32, 40, 0.12);
	color: var(--red-light);
	font-size: 12px;
	font-weight: 600;
}

.timeline-dot {
	position: absolute;
	top: 7px;
	left: -35px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--red);
	box-shadow: 0 0 0 5px rgba(255, 32, 40, 0.16);
	animation: timeline-dot-pulse 2s ease-in-out infinite;
}

@keyframes timeline-dot-pulse {
	0%, 100% {
		box-shadow: 0 0 0 5px rgba(255, 32, 40, 0.16);
	}

	50% {
		box-shadow: 0 0 0 8px rgba(255, 32, 40, 0.24);
	}
}

.timeline-date {
	margin-bottom: 7px;
	color: var(--red-light);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 1.8px;
}

.timeline-location {
	color: var(--muted);
	font-size: 13px;
	font-style: italic;
	margin-bottom: 4px;
}

.certifications-grid {
	display: grid;
	gap: 20px;
	margin-top: 20px;
	grid-template-columns: 1fr 1fr;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.cert-item {
	display: flex;
	flex-direction: column;
	min-height: 180px;
	padding: 24px;
	border-radius: 16px;
	background: linear-gradient(180deg, rgba(38, 41, 46, 0.3) 0%, rgba(38, 41, 46, 0.3) 50%, rgba(38, 41, 46, 0.9) 100%);
	border: 1px solid rgba(255, 32, 40, 0.2);
	border-bottom: 2px solid rgba(255, 32, 40, 0.5);
	box-shadow: 0 4px 12px rgba(255, 32, 40, 0.15), 0 0 20px rgba(255, 32, 40, 0.25);
	transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.cert-item:hover {
	background: linear-gradient(145deg, rgba(255, 32, 40, 0.25), rgba(255, 32, 40, 0.12));
	border-color: rgba(255, 32, 40, 0.4);
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(255, 32, 40, 0.2);
}

.cert-item h3 {
	margin-bottom: 8px;
	font-size: 18px;
	font-weight: 600;
	color: #f1f5f9;
	margin-top: auto;
}

.cert-item p {
	margin-bottom: 16px;
	color: #94a3b8;
	font-size: 14px;
	line-height: 1.6;
	margin-top: 0;
}

.cert-item .category-tag {
	display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;

    width: 130x;
    box-sizing: border-box;
    padding: 6px 12px;

    border-radius: 6px;
    background: rgba(255, 32, 40, 0.15);
    border: 1px solid rgba(255, 32, 40, 0.3);
    color: var(--red-light);

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;

    transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.cert-item:hover .category-tag {
	background: rgba(255, 32, 40, 0.25);
	border-color: rgba(255, 32, 40, 0.5);
	color: #ff6b6b;
}

@keyframes title-underline-glow {
	0%,
	100% {
		border-color: rgba(255, 32, 40, 0.4);
		box-shadow: 0 2px 8px rgba(255, 32, 40, 0.2);
	}

	50% {
		border-color: rgba(255, 32, 40, 0.6);
		box-shadow: 0 2px 12px rgba(255, 32, 40, 0.35);
	}
}

@media (max-width: 768px) {
	.resume-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

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

@media (max-width: 540px) {
	.timeline {
		gap: 26px;
		padding-left: 24px;
	}

	.timeline-dot {
		left: -31px;
	}

	.resume-section-title {
		font-size: 18px;
	}

	.certifications-grid {
		gap: 12px;
	}

	.cert-item {
		padding: 20px;
	}

	.cert-item h3 {
		font-size: 16px;
	}

	.cert-item p {
		font-size: 13px;
	}

	.cert-item .category-tag {
		font-size: 11px;
		padding: 6px 12px;
	}
}
