/* ═══════════════════════════════════════════════════════════════════════════
   ANMOL SHARMA – Full Stack & AI Developer Portfolio
   Modern, clean UI with subtle AI/tech aesthetic
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────────
   CSS Variables
   ───────────────────────────────────────────────────────────────────────────── */
:root {
	/* Primary: Electric Blue → Vivid Purple (modern AI/tech gradient) */
	--primary: #3b82f6;
	--primary-light: #60a5fa;
	--accent: #a855f7;
	--accent-light: #c084fc;

	/* Secondary accent: Emerald for success/highlights */
	--highlight: #10b981;
	--highlight-light: #34d399;

	/* Surfaces - Deep navy with blue undertones */
	--bg-base: #030712;
	--bg-surface: #0c1222;
	--bg-elevated: #111827;
	--bg-card: rgba(12, 18, 34, 0.8);

	/* Text - Crisp whites and soft grays */
	--text-primary: #f9fafb;
	--text-secondary: #9ca3af;
	--text-muted: #6b7280;

	/* Effects - Vibrant glows */
	--glow-primary: rgba(59, 130, 246, 0.2);
	--glow-accent: rgba(168, 85, 247, 0.2);
	--glow-highlight: rgba(16, 185, 129, 0.15);
	--border-subtle: rgba(156, 163, 175, 0.1);
	--border-glow: rgba(59, 130, 246, 0.4);

	/* Gradients */
	--gradient-primary: linear-gradient(
		135deg,
		var(--primary) 0%,
		var(--accent) 100%
	);
	--gradient-text: linear-gradient(
		135deg,
		var(--primary-light) 0%,
		var(--accent-light) 100%
	);
	--gradient-highlight: linear-gradient(
		135deg,
		var(--primary) 0%,
		var(--highlight) 100%
	);
	--gradient-card: linear-gradient(
		145deg,
		rgba(12, 18, 34, 0.9) 0%,
		rgba(17, 24, 39, 0.7) 100%
	);

	color-scheme: dark;
}

/* Light theme - Warm, vibrant, and professional */
:root[data-theme="light"] {
	/* Primary: Vibrant Indigo → Magenta gradient */
	--primary: #4f46e5;
	--primary-light: #6366f1;
	--accent: #c026d3;
	--accent-light: #d946ef;

	/* Highlight: Teal for fresh accents */
	--highlight: #0d9488;
	--highlight-light: #14b8a6;

	/* Surfaces - Warm whites with subtle warmth */
	--bg-base: #fefefe;
	--bg-surface: #ffffff;
	--bg-elevated: #faf5ff;
	--bg-card: rgba(255, 255, 255, 0.98);

	/* Text - Rich darks for excellent contrast */
	--text-primary: #18181b;
	--text-secondary: #3f3f46;
	--text-muted: #71717a;

	/* Effects - Colorful, visible glows */
	--glow-primary: rgba(79, 70, 229, 0.15);
	--glow-accent: rgba(192, 38, 211, 0.12);
	--glow-highlight: rgba(13, 148, 136, 0.12);
	--border-subtle: rgba(24, 24, 27, 0.1);
	--border-glow: rgba(79, 70, 229, 0.35);

	/* Card gradient with subtle purple tint */
	--gradient-card: linear-gradient(
		145deg,
		rgba(255, 255, 255, 1) 0%,
		rgba(250, 245, 255, 0.95) 100%
	);

	color-scheme: light;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Base & Reset
   ───────────────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	margin: 0;
	min-height: 100vh;
	background: var(--bg-base);
	color: var(--text-primary);
	font-family:
		"Inter",
		ui-sans-serif,
		system-ui,
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		Roboto,
		sans-serif;
	font-size: 16px;
	line-height: 1.7;
	padding-top: 80px;
	overflow-x: hidden;
}

/* Animated gradient background */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	background:
		radial-gradient(
			ellipse 80% 50% at 20% -20%,
			var(--glow-primary),
			transparent
		),
		radial-gradient(
			ellipse 60% 40% at 80% 100%,
			var(--glow-accent),
			transparent
		),
		radial-gradient(
			ellipse 50% 30% at 50% 50%,
			rgba(6, 182, 212, 0.03),
			transparent
		);
	pointer-events: none;
	z-index: -1;
}

/* Grid pattern overlay */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	background-image:
		linear-gradient(var(--border-subtle) 1px, transparent 1px),
		linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
	background-size: 60px 60px;
	opacity: 0.3;
	pointer-events: none;
	z-index: -1;
}

::selection {
	background: var(--primary);
	color: var(--bg-base);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Typography
   ───────────────────────────────────────────────────────────────────────────── */
h1,
h2,
h3,
h4 {
	font-family: "Orbitron", "Inter", system-ui, sans-serif;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 1rem;
	color: var(--text-primary);
	line-height: 1.2;
}

h1 {
	font-size: clamp(2.5rem, 6vw, 4rem);
}
h2 {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
}
h3 {
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
	color: var(--text-secondary);
	margin: 0 0 1.5rem;
	max-width: 65ch;
}

a {
	color: var(--primary-light);
	text-decoration: none;
	transition: color 0.2s ease;
}
a:hover {
	color: var(--accent-light);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Layout
   ───────────────────────────────────────────────────────────────────────────── */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 clamp(1rem, 5vw, 2rem);
}

.section {
	padding: clamp(60px, 10vh, 120px) 0;
	position: relative;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Header / Navigation
   ───────────────────────────────────────────────────────────────────────────── */
header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	padding: 1rem 0;
	background: rgba(10, 15, 26, 0.8);
	backdrop-filter: blur(20px) saturate(180%);
	-webkit-backdrop-filter: blur(20px) saturate(180%);
	border-bottom: 1px solid var(--border-subtle);
	transition: all 0.3s ease;
}

:root[data-theme="light"] header {
	background: rgba(248, 250, 252, 0.85);
}

header.scrolled {
	padding: 0.75rem 0;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-family: "Orbitron", monospace;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text-primary);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 2px;
}
.logo::before {
	content: "<";
	color: var(--primary);
	font-weight: 400;
}
.logo::after {
	content: " />";
	color: var(--primary);
	font-weight: 400;
}

nav ul {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 3vw, 2rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

nav a {
	color: var(--text-secondary);
	font-size: 0.9rem;
	font-weight: 500;
	padding: 0.5rem 0;
	position: relative;
	transition: color 0.2s ease;
}

nav a::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--gradient-primary);
	border-radius: 1px;
	transition: width 0.3s ease;
}

nav a:hover {
	color: var(--text-primary);
}
nav a:hover::after {
	width: 100%;
}

.theme-toggle {
	background: var(--bg-surface);
	border: 1px solid var(--border-subtle);
	color: var(--text-secondary);
	font-size: 1rem;
	cursor: pointer;
	padding: 0.5rem;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}
.theme-toggle:hover {
	color: var(--primary);
	border-color: var(--border-glow);
	box-shadow: 0 0 20px var(--glow-primary);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Hero Section
   ───────────────────────────────────────────────────────────────────────────── */
.hero {
	min-height: calc(100vh - 80px);
	display: flex;
	align-items: center;
	padding: clamp(40px, 8vh, 80px) 0;
}

.hero-container {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.hero-content {
	max-width: 680px;
}

.hero-content h1 {
	margin-bottom: 0.5rem;
}

.hero-content h1 span {
	background: var(--gradient-text);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-content h2 {
	font-family: "Inter", sans-serif;
	font-size: clamp(1.1rem, 2.5vw, 1.4rem);
	font-weight: 400;
	color: var(--text-secondary);
	margin-bottom: 1.5rem;
	line-height: 1.5;
}

.hero-content > p {
	font-size: 1.05rem;
	line-height: 1.8;
	margin-bottom: 2rem;
}

/* Profile Image */
.profile-image-container {
	width: clamp(240px, 25vw, 320px);
	aspect-ratio: 1;
	border-radius: 50%;
	position: relative;
	padding: 4px;
	background: var(--gradient-primary);
	box-shadow:
		0 0 60px var(--glow-primary),
		0 0 100px var(--glow-accent);
	transition:
		transform 0.4s ease,
		box-shadow 0.4s ease;
}

.profile-image-container::before {
	content: "";
	position: absolute;
	inset: -8px;
	border-radius: 50%;
	border: 1px dashed var(--border-glow);
	animation: spin 30s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.profile-image-container:hover {
	transform: scale(1.02);
	box-shadow:
		0 0 80px var(--glow-primary),
		0 0 120px var(--glow-accent);
}

.profile-image {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	filter: grayscale(20%) contrast(1.05);
	transition: filter 0.4s ease;
}

.profile-image:hover {
	filter: grayscale(0%) contrast(1);
}

/* Contact Details */
.contact-details {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	margin-top: 1.5rem;
	font-size: 0.9rem;
}

.contact-details > div {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--text-muted);
}

.contact-details i {
	color: var(--primary);
	font-size: 0.85rem;
}

.contact-details a {
	color: var(--text-secondary);
}
.contact-details a:hover {
	color: var(--primary-light);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Buttons
   ───────────────────────────────────────────────────────────────────────────── */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.875rem 1.75rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--primary);
	background: transparent;
	border: 1px solid var(--primary);
	border-radius: 8px;
	cursor: pointer;
	text-decoration: none;
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}

.btn::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--gradient-primary);
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: -1;
}

.btn:hover {
	color: var(--bg-base);
	border-color: transparent;
	transform: translateY(-2px);
	box-shadow: 0 10px 30px var(--glow-primary);
}

.btn:hover::before {
	opacity: 1;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Section Titles
   ───────────────────────────────────────────────────────────────────────────── */
.section-title {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: clamp(2rem, 5vh, 3.5rem);
}

.section-title .number {
	font-family: "Fira Code", "JetBrains Mono", monospace;
	font-size: 1rem;
	color: var(--primary);
	font-weight: 500;
}

.section-title h2 {
	margin: 0;
	white-space: nowrap;
}

.section-title .line {
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, var(--border-glow), transparent);
	max-width: 300px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Experience Section
   ───────────────────────────────────────────────────────────────────────────── */
.experience-item {
	background: var(--gradient-card);
	backdrop-filter: blur(10px);
	border: 1px solid var(--border-subtle);
	border-radius: 16px;
	padding: clamp(1.5rem, 3vw, 2rem);
	margin-bottom: 1.5rem;
	transition: all 0.35s ease;
	position: relative;
	overflow: hidden;
}

.experience-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--gradient-primary);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.experience-item:hover {
	border-color: var(--border-glow);
	transform: translateX(4px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.experience-item:hover::before {
	opacity: 1;
}

.item-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 0.75rem;
	flex-wrap: wrap;
}

.item-header > div {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.item-title {
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--text-primary);
}

.item-title i {
	color: var(--primary);
	margin-right: 0.5rem;
}

.item-subtitle {
	font-size: 1rem;
	color: var(--primary);
	font-weight: 500;
}

.item-date {
	font-family: "Fira Code", monospace;
	font-size: 0.85rem;
	color: var(--text-muted);
	white-space: nowrap;
}

.item-location {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.9rem;
	color: var(--text-muted);
	margin-bottom: 1rem;
}

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

/* Lists */
ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

ul li {
	position: relative;
	padding-left: 1.25rem;
	margin-bottom: 0.6rem;
	color: var(--text-secondary);
	line-height: 1.7;
}

ul li::before {
	content: "▹";
	position: absolute;
	left: 0;
	color: var(--primary);
	font-size: 0.9rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Education Timeline
   ───────────────────────────────────────────────────────────────────────────── */
.timeline {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
}

.timeline::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 2px;
	background: linear-gradient(180deg, var(--primary), var(--accent));
	opacity: 0.3;
	transform: translateX(-50%);
}

.education-item {
	position: relative;
	width: calc(50% - 40px);
	margin-bottom: 3rem;
	background: var(--gradient-card);
	backdrop-filter: blur(10px);
	border: 1px solid var(--border-subtle);
	border-radius: 16px;
	padding: 1.5rem;
	transition: all 0.35s ease;
}

.education-item:nth-child(odd) {
	margin-left: 0;
}
.education-item:nth-child(even) {
	margin-left: calc(50% + 40px);
}

.education-item::after {
	content: "";
	position: absolute;
	width: 16px;
	height: 16px;
	background: var(--gradient-primary);
	border-radius: 50%;
	top: 2rem;
	box-shadow: 0 0 20px var(--glow-primary);
}

.education-item:nth-child(odd)::after {
	right: -48px;
}
.education-item:nth-child(even)::after {
	left: -48px;
}

.education-item:hover {
	border-color: var(--border-glow);
	transform: translateY(-4px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.timeline-date {
	position: absolute;
	top: 1.75rem;
	font-family: "Fira Code", monospace;
	font-size: 0.85rem;
	color: var(--primary);
	font-weight: 500;
}

.education-item:nth-child(odd) .timeline-date {
	right: -140px;
}
.education-item:nth-child(even) .timeline-date {
	left: -140px;
}

.university-logo {
	width: 100px;
	height: auto;
	max-height: 80px;
	object-fit: contain;
	display: block;
	margin: 0 auto 1.25rem;
	filter: grayscale(100%) brightness(1.5);
	opacity: 0.8;
	transition: all 0.3s ease;
}

.education-item:hover .university-logo {
	filter: grayscale(0%);
	opacity: 1;
	transform: scale(1.05);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Projects Grid
   ───────────────────────────────────────────────────────────────────────────── */
.projects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 1.5rem;
}

.project-card {
	background: var(--gradient-card);
	backdrop-filter: blur(10px);
	border: 1px solid var(--border-subtle);
	border-radius: 16px;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	height: 100%;
	transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.project-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--gradient-primary);
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 0;
	pointer-events: none;
}

.project-card:hover {
	border-color: var(--border-glow);
	transform: translateY(-8px);
	box-shadow:
		0 25px 50px rgba(0, 0, 0, 0.25),
		0 0 50px var(--glow-primary);
}

.project-card:hover::before {
	opacity: 0.03;
}

.project-card > * {
	position: relative;
	z-index: 1;
}

.project-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.25rem;
}

.project-folder {
	font-size: 2.5rem;
	background: var(--gradient-text);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.project-links {
	display: flex;
	gap: 1rem;
}

.project-links a {
	color: var(--text-muted);
	font-size: 1.25rem;
	transition: all 0.2s ease;
}

.project-links a:hover {
	color: var(--primary);
	transform: translateY(-2px);
}

.project-title {
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 0.75rem;
	font-family: "Inter", sans-serif;
}

.project-award {
	font-size: 0.78rem;
	font-weight: 500;
	color: var(--primary);
	margin-top: -0.5rem;
	margin-bottom: 0.75rem;
	opacity: 0.9;
}

.project-description {
	color: var(--text-secondary);
	font-size: 0.95rem;
	line-height: 1.7;
	flex-grow: 1;
	margin-bottom: 1.25rem;
}

.project-description a {
	color: var(--primary);
	font-weight: 500;
}

.project-tech {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: auto;
}

.tech-item {
	font-family: "Fira Code", monospace;
	font-size: 0.75rem;
	color: var(--primary);
	background: var(--glow-primary);
	padding: 0.25rem 0.625rem;
	border-radius: 4px;
	border: 1px solid var(--border-glow);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Skills Section
   ───────────────────────────────────────────────────────────────────────────── */
.skills-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.25rem;
}

.skill-category {
	background: var(--gradient-card);
	backdrop-filter: blur(10px);
	border: 1px solid var(--border-subtle);
	border-radius: 16px;
	padding: 1.5rem;
	transition: all 0.35s ease;
	opacity: 0;
	transform: translateY(20px);
}

.skill-category.visible {
	animation: fadeInUp 0.6s ease forwards;
}

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

.skill-category:hover {
	border-color: var(--border-glow);
	transform: translateY(-4px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.skill-category h3 {
	font-family: "Inter", sans-serif;
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.skill-category h3 i {
	color: var(--primary);
	font-size: 1.1rem;
}

.skill-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.skill-list li {
	padding: 0;
	margin: 0;
	font-size: 0.85rem;
	color: var(--text-secondary);
	background: rgba(6, 182, 212, 0.08);
	padding: 0.35rem 0.75rem;
	border-radius: 6px;
	border: 1px solid var(--border-subtle);
	display: flex;
	align-items: center;
	gap: 0.4rem;
	transition: all 0.2s ease;
}

.skill-list li::before {
	display: none;
}

.skill-list li i {
	color: var(--primary);
	font-size: 0.9rem;
}

.skill-list li:hover {
	background: var(--glow-primary);
	border-color: var(--border-glow);
	color: var(--text-primary);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Contact Section
   ───────────────────────────────────────────────────────────────────────────── */
.contact-form {
	max-width: 600px;
	margin: 0 auto;
}

.form-group {
	margin-bottom: 1.25rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--text-primary);
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 0.875rem 1rem;
	background: var(--bg-surface);
	border: 1px solid var(--border-subtle);
	border-radius: 10px;
	color: var(--text-primary);
	font-size: 0.95rem;
	font-family: inherit;
	transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px var(--glow-primary);
}

.form-group textarea {
	min-height: 150px;
	resize: vertical;
}

.submit-btn {
	width: 100%;
	margin-top: 0.5rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Footer
   ───────────────────────────────────────────────────────────────────────────── */
footer {
	padding: 3rem 0;
	background: var(--bg-surface);
	border-top: 1px solid var(--border-subtle);
}

footer .container {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

footer p {
	color: var(--text-secondary);
	margin-bottom: 1rem;
}

.social-links {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

.social-links a {
	color: var(--text-muted);
	font-size: 1.5rem;
	transition: all 0.2s ease;
}

.social-links a:hover {
	color: var(--primary);
	transform: translateY(-3px);
}

.copyright {
	font-size: 0.85rem;
	color: var(--text-muted);
}

.copyright a {
	color: var(--primary);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Responsive
   ───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
	.hero-container {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 2rem;
	}

	.hero-content {
		order: 2;
		max-width: 100%;
	}
	.hero-content p {
		margin-inline: auto;
	}

	.profile-image-container {
		order: 1;
		margin: 0 auto;
		width: 220px;
	}

	.contact-details {
		justify-content: center;
	}

	/* Timeline mobile */
	.timeline::before {
		left: 20px;
	}

	.education-item {
		width: calc(100% - 50px);
		margin-left: 50px !important;
	}

	.education-item::after {
		left: -39px !important;
		right: auto !important;
	}

	.timeline-date {
		position: static;
		display: block;
		margin-bottom: 0.5rem;
	}
}

@media (max-width: 768px) {
	.header-content {
		flex-direction: column;
		gap: 1rem;
	}

	nav ul {
		flex-wrap: wrap;
		justify-content: center;
	}

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

	.skills-container {
		grid-template-columns: 1fr;
	}
}

/* ─────────────────────────────────────────────────────────────────────────────
   Animations
   ───────────────────────────────────────────────────────────────────────────── */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero-content > * {
	animation: fadeIn 0.6s ease backwards;
}

.hero-content h1 {
	animation-delay: 0.1s;
}
.hero-content h2 {
	animation-delay: 0.2s;
}
.hero-content p {
	animation-delay: 0.3s;
}
.hero-content .btn {
	animation-delay: 0.4s;
}
.hero-content .contact-details {
	animation-delay: 0.5s;
}

.profile-image-container {
	animation: fadeIn 0.8s ease 0.3s backwards;
}
