/* ========================================
   CSS Variables - Easy Customization
   ======================================== */
:root {
	/* Base Colors - Dark Theme (Default) */
	--color-bg: #0a0a12;
	--color-bg-elevated: #0a0a0a;
	--color-text-primary: #ffffff;
	--color-text-muted: #9a9a9a;
	--color-nav-bg: rgba(0, 0, 0, 0.8);
	--glass-noise-opacity: 0.08;
	--gradient-blob-opacity: 0.5;

	/* Gradient Themes */
	/* Grape - Purple */
	--grape-start: #c4a7e7;
	--grape-end: #a78bfa;

	/* Blueberry - Purple to Blue */
	--blueberry-start: #a78bfa;
	--blueberry-end: #60a5fa;

	/* Sky - Light Blue */
	--sky-start: #60a5fa;
	--sky-end: #22d3ee;

	/* Nordic - Green/Yellow-Green */
	--nordic-start: #a3e635;
	--nordic-end: #4ade80;

	/* Mint - Cyan to Mint */
	--mint-start: #22d3ee;
	--mint-end: #34d399;

	/* Bless - Light Green */
	--bless-start: #4ade80;
	--bless-end: #a7f3d0;

	/* Sunset - Orange to Pink */
	--sunset-start: #fb923c;
	--sunset-end: #f472b6;

	/* Peach */
	--peach-start: #fdba74;
	--peach-end: #fcd34d;

	/* Typography */
	--font-main: 'Space Grotesk', sans-serif;

	/* Sizing */
	--avatar-size: 130px;
	--avatar-border-width: 3px;

	/* Spacing */
	--section-spacing: 4rem;
	--navbar-height: 70px;

	/* Avatar Gradient (used in .avatar-border) */
	--color-gradient-start: #c4a7e7;
	--color-gradient-mid: #a78bfa;
	--color-gradient-end: #60a5fa;
}

/* Light Theme */
[data-theme="light"] {
	--color-bg: #f8f6f3;
	--color-bg-elevated: #ffffff;
	--color-text-primary: #1a1a2e;
	--color-text-muted: #4b5563;
	--color-nav-bg: rgba(248, 246, 243, 0.9);
	--glass-noise-opacity: 0.06;
	--gradient-blob-opacity: 0.25;

	/* Darker/richer gradient colors for light theme */
	--grape-start: #9333ea;
	--grape-end: #7c3aed;
	--blueberry-start: #7c3aed;
	--blueberry-end: #3b82f6;
	--sky-start: #2563eb;
	--sky-end: #0891b2;
	--nordic-start: #16a34a;
	--nordic-end: #059669;
	--sunset-start: #ea580c;
	--sunset-end: #db2777;
	--peach-start: #f97316;
	--peach-end: #eab308;
	--mint-start: #0891b2;
	--mint-end: #059669;
}

/* Light theme gradient lines - darker for visibility */
[data-theme="light"] .gradient-purple {
	background: linear-gradient(90deg,
			rgba(147, 51, 234, 0.15),
			rgba(147, 51, 234, 0.6),
			rgba(124, 58, 237, 0.6),
			rgba(124, 58, 237, 0.15));
	box-shadow: 0 0 10px rgba(147, 51, 234, 0.3);
}

[data-theme="light"] .gradient-blue {
	background: linear-gradient(90deg,
			rgba(37, 99, 235, 0.15),
			rgba(37, 99, 235, 0.6),
			rgba(8, 145, 178, 0.6),
			rgba(8, 145, 178, 0.15));
	box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
}

[data-theme="light"] .gradient-orange {
	background: linear-gradient(90deg,
			rgba(249, 115, 22, 0.15),
			rgba(249, 115, 22, 0.6),
			rgba(219, 39, 119, 0.6),
			rgba(219, 39, 119, 0.15));
	box-shadow: 0 0 10px rgba(249, 115, 22, 0.3);
}

[data-theme="light"] .gradient-green {
	background: linear-gradient(90deg,
			rgba(22, 163, 74, 0.15),
			rgba(22, 163, 74, 0.6),
			rgba(5, 150, 105, 0.6),
			rgba(5, 150, 105, 0.15));
	box-shadow: 0 0 10px rgba(22, 163, 74, 0.3);
}

/* Light theme info-pill border override */
[data-theme="light"] .info-pill {
	border-color: rgba(147, 51, 234, 0.5);
	/* Use light theme grape color */
	background: rgba(0, 0, 0, 0.05);
	/* Subtle dark tint for light bg */
}

/* Light theme email text - darker gradient for visibility */
[data-theme="light"] .contact-email {
	background: linear-gradient(135deg, #9333ea, #db2777);
	/* Purple to Pink - high contrast */
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Light theme email container border */
[data-theme="light"] .email-container {
	border-color: rgba(147, 51, 234, 0.6);
	background: rgba(255, 255, 255, 0.5);
}

/* Light theme SVG adjustments */
[data-theme="light"] .hero-svg path,
[data-theme="light"] .final-connector-svg path {
	filter: brightness(0.6) saturate(1.3);
}

/* ========================================
   Reset & Base Styles
   ======================================== */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	cursor: url('linked/images/cursor.png') 0 0, auto;
}

html,
body {
	height: 100%;
}

/* Ensure cursor works on all interactive elements too */
a,
button,
input,
textarea,
select,
[role="button"] {
	cursor: url('linked/images/cursor.png') 0 0, pointer;
}

body {
	font-family: var(--font-main);
	color: var(--color-text-primary);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 1.6;
	background: var(--color-bg);
	position: relative;
	overflow-x: hidden;
}

/* ========================================
   Animated Background Gradient
   ======================================== */
body::before {
	content: '';
	position: fixed;
	top: -50%;
	left: -50%;
	right: -50%;
	bottom: -50%;
	width: 200%;
	height: 200%;
	background:
		radial-gradient(ellipse 60% 40% at 20% 30%, rgba(88, 28, 135, 0.4) 0%, transparent 50%),
		radial-gradient(ellipse 50% 50% at 80% 20%, rgba(59, 7, 100, 0.35) 0%, transparent 45%),
		radial-gradient(ellipse 40% 50% at 70% 80%, rgba(15, 52, 96, 0.3) 0%, transparent 50%),
		radial-gradient(ellipse 50% 40% at 10% 70%, rgba(76, 29, 149, 0.35) 0%, transparent 45%);
	animation: gradientMove 30s ease-in-out infinite;
	z-index: -2;
	pointer-events: none;
}

body::after {
	content: '';
	position: fixed;
	top: -25%;
	left: -25%;
	right: -25%;
	bottom: -25%;
	width: 150%;
	height: 150%;
	background:
		radial-gradient(circle at 25% 60%, rgba(124, 58, 237, 0.2) 0%, transparent 35%),
		radial-gradient(circle at 75% 40%, rgba(6, 182, 212, 0.15) 0%, transparent 35%),
		radial-gradient(circle at 50% 80%, rgba(219, 39, 119, 0.12) 0%, transparent 40%);
	animation: gradientMove 25s ease-in-out infinite reverse;
	z-index: -1;
	pointer-events: none;
}

@keyframes gradientMove {
	0% {
		transform: translate(0%, 0%) rotate(0deg);
	}

	25% {
		transform: translate(5%, -5%) rotate(1deg);
	}

	50% {
		transform: translate(-5%, 5%) rotate(-1deg);
	}

	75% {
		transform: translate(-3%, -3%) rotate(0.5deg);
	}

	100% {
		transform: translate(0%, 0%) rotate(0deg);
	}
}

/* ========================================
   Minimalist Navigation (Logo & Toggle Only)
   ======================================== */
.navbar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 0;
	/* No height, just a container */
	padding: 0;
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	z-index: 1000;
	border: none;
}

body {
	padding-left: 0;
	/* Reset body padding */
}

.nav-logo {
	display: none;
	/* User requested to remove logo, keeping only theme toggle */
}

/* Theme Toggle Button - Floating Top Right */
.theme-toggle {
	position: fixed;
	top: 2rem;
	right: 2rem;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--color-text-primary);
	transition: all 0.3s ease;
	z-index: 1001;
	margin: 0;
}

.theme-toggle:hover {
	border-color: var(--grape-start);
	background: rgba(196, 167, 231, 0.1);
	transform: rotate(15deg);
}

/* Show sun in dark mode, moon in light mode */
.sun-icon {
	display: block;
}

.moon-icon {
	display: none;
}

[data-theme="light"] .sun-icon {
	display: none;
}

[data-theme="light"] .moon-icon {
	display: block;
}

/* Nav links hidden in minimalist mode */
.nav-links {
	display: none;
}

/* Mobile Responsiveness - Keep minimalist floating layout */
@media (max-width: 768px) {
	:root {
		--navbar-height: 0;
	}

	.navbar {
		height: 0;
		background: transparent;
		border: none;
		padding: 0;
	}

	body {
		padding-left: 0;
	}

	.nav-logo {
		top: 1.5rem;
		left: 1.5rem;
		font-size: 1.8rem;
	}

	.theme-toggle {
		top: 1.5rem;
		right: 1.5rem;
		width: 40px;
		height: 40px;
		margin-top: 0;
	}

	.nav-links {
		display: none;
	}
}

/* ========================================
   Scroll Animations - Premium Effects
   ======================================== */
.animate-on-scroll {
	opacity: 0;
	transform: translateY(60px) scale(0.95);
	filter: blur(5px);
	transition:
		opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
		transform 1s cubic-bezier(0.16, 1, 0.3, 1),
		filter 0.8s ease-out;
}

.animate-on-scroll.visible {
	opacity: 1;
	transform: translateY(0) scale(1);
	filter: blur(0);
}

/* Staggered children animation */
.animate-on-scroll.visible>* {
	animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeSlideUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

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

/* ========================================
   SVG Scroll Animations
   ======================================== */

/* Draw animation for stroke-based SVGs (vector1, Vector7) */
.svg-draw-animation {
	--draw-duration: 2.5s;
	/* Customizable per element */
}

.svg-draw-animation path {
	stroke-dasharray: 2000;
	stroke-dashoffset: 2000;
	transition: stroke-dashoffset var(--draw-duration) ease-out;
}

.svg-draw-animation.draw-active path {
	stroke-dashoffset: 0;
}

/* Fade + slide animation for fill-based SVGs (vector2-6) */
.svg-fade-animation {
	--fade-duration: 1.2s;
	opacity: 0;
	transform: translateY(30px);
	transition:
		opacity var(--fade-duration) ease-out,
		transform var(--fade-duration) ease-out;
}

.svg-fade-animation.draw-active {
	opacity: 1;
	transform: translateY(0);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0 2rem;
	overflow: hidden;
	position: relative;
}

.hero-svg {
	width: 100%;
	max-width: 400px;
	height: auto;
	margin: 1rem 0 3rem 0;
	display: block;
	animation: colorShift 18s ease-in-out infinite;
	/* Strong glassmorphism glow effect */
	filter:
		drop-shadow(0 0 15px rgba(196, 167, 231, 0.8)) drop-shadow(0 0 35px rgba(196, 167, 231, 0.6)) drop-shadow(0 0 60px rgba(167, 139, 250, 0.4));
	transition: filter 0.5s ease;
}

.hero-svg:hover {
	filter:
		drop-shadow(0 0 20px rgba(196, 167, 231, 1)) drop-shadow(0 0 50px rgba(196, 167, 231, 0.8)) drop-shadow(0 0 80px rgba(167, 139, 250, 0.5));
}

/* Enhanced Floating with Glow Pulse */
@keyframes floatGlow {

	0%,
	100% {
		transform: translateY(0) rotate(0deg);
		filter: drop-shadow(0 0 20px rgba(196, 167, 231, 0.3));
	}

	25% {
		transform: translateY(-12px) rotate(0.5deg);
		filter: drop-shadow(0 0 30px rgba(196, 167, 231, 0.4));
	}

	50% {
		transform: translateY(-20px) rotate(-0.5deg);
		filter: drop-shadow(0 0 25px rgba(245, 194, 231, 0.35));
	}

	75% {
		transform: translateY(-10px) rotate(0.3deg);
		filter: drop-shadow(0 0 35px rgba(137, 220, 235, 0.4));
	}
}

@keyframes floatGlowAlt {

	0%,
	100% {
		transform: translateY(0) rotate(0deg);
		filter: drop-shadow(0 0 15px rgba(137, 220, 235, 0.25));
	}

	33% {
		transform: translateY(-15px) rotate(-0.8deg);
		filter: drop-shadow(0 0 25px rgba(137, 220, 235, 0.4));
	}

	66% {
		transform: translateY(-8px) rotate(0.6deg);
		filter: drop-shadow(0 0 20px rgba(196, 167, 231, 0.35));
	}
}

/* ========================================
   Ambient Floating Animations
   ======================================== */
@keyframes floatSlow {

	0%,
	100% {
		transform: translateY(0) rotate(0deg);
	}

	25% {
		transform: translateY(-8px) rotate(0.5deg);
	}

	50% {
		transform: translateY(-15px) rotate(-0.5deg);
	}

	75% {
		transform: translateY(-8px) rotate(0.3deg);
	}
}

@keyframes floatReverse {

	0%,
	100% {
		transform: translateY(0) rotate(0deg);
	}

	25% {
		transform: translateY(-12px) rotate(-0.5deg);
	}

	50% {
		transform: translateY(-6px) rotate(0.5deg);
	}

	75% {
		transform: translateY(-18px) rotate(-0.3deg);
	}
}

@keyframes pulse {

	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}

	50% {
		opacity: 0.85;
		transform: scale(1.02);
	}
}

@keyframes shimmer {
	0% {
		filter: brightness(1);
	}

	50% {
		filter: brightness(1.1);
	}

	100% {
		filter: brightness(1);
	}
}

.hero-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	text-align: center;
	width: 100%;
	max-width: 800px;
}

/* ========================================
   Skills Section
   ======================================== */
.skills-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	margin-top: 1rem;
}

.skills-title {
	font-size: 1.5rem;
	font-weight: 800;
	margin-bottom: 0.5rem;
	background: linear-gradient(135deg, var(--nordic-start), var(--nordic-end));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.skills-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}

.skill-pill {
	padding: 0.75rem 1.5rem;
	border: 2px solid var(--grape-start);
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 800;
	background: linear-gradient(135deg, var(--nordic-start), var(--bless-end));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	white-space: nowrap;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.skill-pill:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(196, 167, 231, 0.3);
	border-color: var(--grape-end);
}

/* Custom colors for variety if needed, but keeping uniform for now based on image */


/* ========================================
   Journey Section
   ======================================== */
.journey-section {
	min-height: 50vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: var(--section-spacing) 2rem;
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
}

.journey-title {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	margin-bottom: 2rem;
	text-align: center;
	background: linear-gradient(135deg, var(--blueberry-start), var(--blueberry-end));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Slow color shifting animation for arrows */
@keyframes colorShift {
	0% {
		filter: hue-rotate(0deg) drop-shadow(0 0 20px rgba(196, 167, 231, 0.5));
	}

	25% {
		filter: hue-rotate(90deg) drop-shadow(0 0 30px rgba(137, 220, 235, 0.6));
	}

	50% {
		filter: hue-rotate(180deg) drop-shadow(0 0 35px rgba(163, 230, 53, 0.5));
	}

	75% {
		filter: hue-rotate(90deg) drop-shadow(0 0 30px rgba(251, 146, 60, 0.6));
	}

	100% {
		filter: hue-rotate(0deg) drop-shadow(0 0 20px rgba(196, 167, 231, 0.5));
	}
}

.journey-description {
	font-size: 1.2rem;
	color: var(--color-text-primary);
	text-align: center;
	max-width: 600px;
	line-height: 1.6;
}

/* ========================================
   Education Section
   ======================================== */
.education-section {
	min-height: auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 3rem;
	padding: var(--section-spacing) 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.education-visual {
	flex: 1;
	display: flex;
	justify-content: center;
	min-width: 300px;
}

.polaroid-wrapper {
	background-color: #fff;
	padding: 1rem 1rem 3rem 1rem;
	box-shadow:
		0 4px 15px rgba(0, 0, 0, 0.5),
		0 0 30px rgba(196, 167, 231, 0.1);
	transform: rotate(-5deg);
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
	max-width: 350px;
	text-align: center;
}

.polaroid-wrapper:hover {
	transform: rotate(0deg) scale(1.05);
	box-shadow:
		0 8px 30px rgba(0, 0, 0, 0.6),
		0 0 50px rgba(196, 167, 231, 0.25);
}

.polaroid-image {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: 1rem;
	border: 1px solid #ddd;
}

.polaroid-caption {
	font-family: 'Nanum Pen Script', cursive;
	color: #000;
	font-size: 1.5rem;
	margin-top: 0.5rem;
}

.education-content {
	flex: 1;
	min-width: 300px;
	text-align: left;
}

.edu-title {
	font-family: 'Space Grotesk', sans-serif;
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 800;
	background: linear-gradient(135deg, var(--grape-start), var(--grape-end));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	line-height: 1.1;
	margin-bottom: 1rem;
}

.edu-year {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1.5rem;
	background: linear-gradient(135deg, var(--grape-start), var(--grape-end));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 3rem;
	font-weight: 700;
}

.edu-description p {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1.2rem;
	line-height: 1.6;
	margin-bottom: 2rem;
	color: var(--color-text-primary);
	font-weight: 500;
}

/* Sky Blue variant for BCA section */
.edu-title-sky {
	background: linear-gradient(135deg, var(--sky-start), var(--sky-end));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.edu-year-sky {
	background: linear-gradient(135deg, var(--sky-start), var(--sky-end));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* ========================================
   Section Dividers - Horizontal Gradient Lines
   ======================================== */
.section-divider {
	display: flex;
	justify-content: center;
	padding: 1.5rem 0;
	max-width: 1200px;
	margin: 0 auto;
}

.gradient-line {
	width: 100%;
	height: 3px;
	border-radius: 0;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

/* Glassmorphism gradient lines with subtle glow */
.gradient-purple {
	background: linear-gradient(90deg,
			rgba(196, 167, 231, 0.05),
			rgba(196, 167, 231, 0.3),
			rgba(167, 139, 250, 0.3),
			rgba(167, 139, 250, 0.05));
	box-shadow: 0 0 15px rgba(196, 167, 231, 0.2),
		0 0 30px rgba(196, 167, 231, 0.1);
}

.gradient-blue {
	background: linear-gradient(90deg,
			rgba(96, 165, 250, 0.05),
			rgba(96, 165, 250, 0.3),
			rgba(34, 211, 238, 0.3),
			rgba(34, 211, 238, 0.05));
	box-shadow: 0 0 15px rgba(96, 165, 250, 0.2),
		0 0 30px rgba(96, 165, 250, 0.1);
}

.gradient-orange {
	background: linear-gradient(90deg,
			rgba(253, 186, 116, 0.05),
			rgba(253, 186, 116, 0.3),
			rgba(244, 114, 182, 0.3),
			rgba(244, 114, 182, 0.05));
	box-shadow: 0 0 15px rgba(253, 186, 116, 0.2),
		0 0 30px rgba(253, 186, 116, 0.1);
}

.gradient-green {
	background: linear-gradient(90deg,
			rgba(163, 230, 53, 0.05),
			rgba(163, 230, 53, 0.3),
			rgba(52, 211, 153, 0.3),
			rgba(52, 211, 153, 0.05));
	box-shadow: 0 0 15px rgba(163, 230, 53, 0.2),
		0 0 30px rgba(163, 230, 53, 0.1);
}



.avatar-border {
	width: calc(var(--avatar-size) + var(--avatar-border-width) * 2);
	height: calc(var(--avatar-size) + var(--avatar-border-width) * 2);
	border-radius: 50%;
	padding: var(--avatar-border-width);
	background: linear-gradient(135deg,
			var(--color-gradient-start) 0%,
			var(--color-gradient-mid) 50%,
			var(--color-gradient-end) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.avatar-image {
	width: var(--avatar-size);
	height: var(--avatar-size);
	border-radius: 50%;
	object-fit: cover;
	background-color: var(--color-bg);
}

/* ========================================
   Hero Text
   ======================================== */
.hero-text {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.greeting {
	font-family: 'Space Grotesk', sans-serif;
	font-size: clamp(1.4rem, 3.5vw, 2rem);
	font-weight: 600;
	letter-spacing: 0.02em;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.greeting-emoji {
	-webkit-text-fill-color: initial;
	background: none;
}

.greeting-text {
	background: linear-gradient(135deg, var(--sky-start), var(--mint-end));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.title {
	font-size: clamp(2rem, 6vw, 3.5rem);
	font-weight: 800;
	letter-spacing: 0.05em;
	background: linear-gradient(135deg, var(--grape-start), var(--grape-end));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 0.5rem;
}

.subtitle {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1.1rem;
	font-weight: 500;
	color: var(--color-text-muted);
	margin-bottom: 0;
}

/* ========================================
   Social Links
   ======================================== */
.social-links {
	display: flex;
	gap: 1.5rem;
	margin-top: 1rem;
}

.social-link {
	color: var(--color-text-primary);
	transition: color 0.2s ease, transform 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.social-link:hover {
	color: var(--color-gradient-end);
	transform: translateY(-2px) scale(1.1);
	/* Add scale for emphasis */
}

.social-link svg {
	width: 28px;
	height: 28px;
	transition: filter 0.3s ease;
}

.social-link:hover svg {
	filter: drop-shadow(0 0 8px rgba(196, 167, 231, 0.6));
}

/* ========================================
   Responsive Adjustments
   ======================================== */
/* ========================================
   Work/Experience Section Connector
   ======================================== */
.work-connector {
	display: flex;
	justify-content: flex-end;
	margin: 0;
	padding: 0 2rem;
	max-width: 1200px;
	width: 100%;
	margin: -2rem auto 0 auto;
}

.work-connector-svg {
	width: auto;
	max-width: 400px;
	height: auto;
	margin-right: 5%;
	animation:
		floatSlow 12s ease-in-out infinite,
		colorShift 20s ease-in-out infinite;
	will-change: transform;
}

.work-connector-left {
	justify-content: flex-start;
}

.work-connector-left .work-connector-svg {
	margin-right: 0;
	margin-left: 5%;
}

.connector-text {
	font-family: 'Nanum Pen Script', cursive;
	background: linear-gradient(135deg, var(--nordic-start), var(--bless-end));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-size: 1.5rem;
	line-height: 1.4;
	text-align: left;
	white-space: nowrap;
	margin-top: 2rem;
	margin-left: 2rem;
}

/* ========================================
   Footer Section
   ======================================== */
.footer-section {
	padding: 4rem 2rem 6rem 2rem;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
}

.footer-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
}


.footer-socials {
	display: flex;
	gap: 1.5rem;
}

/* Final Decorative Vector */
.final-connector-svg {
	width: 100%;
	max-width: 700px;
	height: auto;
	/* Strong glassmorphism glow effect */
	filter:
		drop-shadow(0 0 15px rgba(169, 254, 129, 0.8)) drop-shadow(0 0 35px rgba(169, 254, 129, 0.6)) drop-shadow(0 0 60px rgba(192, 240, 255, 0.4));
	animation: colorShift 20s ease-in-out infinite;
	will-change: filter;
	transition: filter 0.5s ease;
}

.final-connector-svg:hover {
	filter:
		drop-shadow(0 0 20px rgba(169, 254, 129, 1)) drop-shadow(0 0 50px rgba(169, 254, 129, 0.8)) drop-shadow(0 0 80px rgba(192, 240, 255, 0.5));
}

/* Peach color variant for Evtaar - higher specificity */
.work-title.work-title-orange {
	background: linear-gradient(135deg, var(--peach-start), var(--peach-end)) !important;
	-webkit-background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
	background-clip: text !important;
}

.work-year.work-year-orange {
	background: linear-gradient(135deg, var(--peach-start), var(--peach-end)) !important;
	-webkit-background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
	background-clip: text !important;
}

/* ========================================
   Work/Experience Section
   ======================================== */
.work-section {
	min-height: auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 3rem;
	padding: var(--section-spacing) 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.work-content {
	flex: 1;
	max-width: 800px;
	width: 100%;
}

.content-left {
	text-align: left;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.work-title {
	font-family: 'Space Grotesk', sans-serif;
	font-size: clamp(2rem, 5vw, 4rem);
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: 1rem;
	background: linear-gradient(135deg, var(--nordic-start), var(--nordic-end));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.work-year {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1.5rem;
	background: linear-gradient(135deg, var(--nordic-start), var(--nordic-end));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 2rem;
	font-weight: 700;
}

.work-description p {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1.1rem;
	line-height: 1.6;
	margin-bottom: 1rem;
	color: var(--color-text-primary);
	font-weight: 500;
}

.mentor-link {
	color: #a6f5a6;
	text-decoration: none;
	font-weight: 700;
	transition: opacity 0.2s ease;
}

.mentor-link:hover {
	opacity: 0.8;
	text-decoration: underline;
}

.work-visual {
	flex: 1;
	display: flex;
	justify-content: center;
	min-width: 350px;
}

.polaroid-stack {
	position: relative;
	width: 350px;
	height: 450px;
}

.polaroid-stack .polaroid-wrapper {
	position: absolute;
	max-width: 280px;
}

.polaroid-top {
	top: 0;
	right: 0;
	transform: rotate(5deg);
	z-index: 2;
}

.polaroid-bottom {
	bottom: 0;
	left: 0;
	transform: rotate(-3deg);
	z-index: 1;
}

.polaroid-stack .polaroid-wrapper:hover {
	z-index: 10;
	transform: rotate(0deg) scale(1.05);
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 768px) {
	.work-section {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.work-content {
		text-align: center;
	}

	.polaroid-stack {
		width: 100%;
		max-width: 350px;
		height: auto;
		display: flex;
		flex-direction: column;
		gap: 2rem;
	}

	.polaroid-stack .polaroid-wrapper {
		position: relative;
		max-width: 100%;
	}

	.polaroid-top,
	.polaroid-bottom {
		top: auto;
		right: auto;
		bottom: auto;
		left: auto;
	}
}

/* ========================================
   Footer Copy Email
   ======================================== */
.email-container {
	display: flex;
	align-items: center;
	gap: 1rem;
	position: relative;
	justify-content: center;
	width: fit-content;
	margin: 0 auto;

	/* Pill Styles */
	padding: 0.75rem 1.5rem;
	border: 2px solid var(--grape-start);
	border-radius: 999px;
	background: rgba(15, 12, 18, 0.3);
	/* Reduced opacity background */
	backdrop-filter: blur(5px);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.email-container:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(196, 167, 231, 0.3);
	border-color: var(--grape-end);
}

.contact-email {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--color-text-primary);
	text-decoration: none;
	background: linear-gradient(135deg, var(--nordic-start), var(--bless-end));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	transition: text-shadow 0.3s ease;
}

/* Glow on hover */
.contact-email:hover {
	text-shadow: 0 0 10px rgba(196, 167, 231, 0.5);
}

.copy-email-btn {
	background: transparent;
	border: none;
	color: var(--color-text-muted);
	padding: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

.copy-email-btn svg {
	width: 20px;
	height: 20px;
	transition: filter 0.3s ease;
}

.copy-email-btn:hover,
.copy-email-btn:focus,
.copy-email-btn.active {
	color: var(--color-text-primary);
	transform: scale(1.1);
	background: transparent;
}

.copy-email-btn:hover svg {
	filter: drop-shadow(0 0 5px rgba(196, 167, 231, 0.8));
}

.copy-tooltip {
	position: absolute;
	top: -45px;
	right: 0;
	background: var(--color-bg);
	color: var(--color-text-primary);
	padding: 0.4rem 0.8rem;
	border-radius: 6px;
	font-size: 0.8rem;
	font-weight: 500;
	pointer-events: none;
	opacity: 0;
	transform: translateY(10px);
	transition: all 0.2s ease;
	border: 1px solid rgba(196, 167, 231, 0.3);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	white-space: nowrap;
	z-index: 10;
}

.copy-email-btn:hover .copy-tooltip,
.copy-email-btn.copied .copy-tooltip {
	opacity: 1;
	transform: translateY(0);
}

/* Copied state */
.copy-email-btn.copied {
	color: #10b981;
}

.copy-email-btn.copied .copy-tooltip {
	border-color: #10b981;
	color: #10b981;
}

/* ========================================
   Header Info (Location & Status) - In Hero
   ======================================== */
.header-info {
	display: flex;
	flex-direction: row;
	gap: 1.5rem;
	align-items: center;
	justify-content: center;
	margin-top: 1.5rem;
	/* Space below title */
	width: 100%;
	z-index: 10;
}

.info-pill {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.5rem 1rem;
	/* Match email pill bg but reduced opacity */
	background: rgba(15, 12, 18, 0.2);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	/* Reduced border opacity using RGB of --grape-start (196, 167, 231) */
	border: 1px solid rgba(196, 167, 231, 0.5);
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 400;
	color: var(--color-text-muted);
	pointer-events: auto;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.info-pill:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(196, 167, 231, 0.3);
	/* Match email hover shadow */
	border-color: var(--grape-end);
	/* Match email hover border */
	color: var(--color-text-primary);
}

.location-pill svg {
	color: var(--grape-start);
}

.status-dot-container {
	position: relative;
	width: 8px;
	height: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.status-dot {
	width: 8px;
	height: 8px;
	background-color: #10b981;
	border-radius: 50%;
	z-index: 2;
	box-shadow: 0 0 5px rgba(16, 185, 129, 0.5);
}

.status-ripple {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: #10b981;
	border-radius: 50%;
	opacity: 0;
	animation: ripple 1s infinite cubic-bezier(0, 0, 0.2, 1);
	/* Faster blink speed */
}

@keyframes ripple {
	0% {
		transform: scale(1);
		opacity: 0.8;
	}

	100% {
		transform: scale(3.5);
		opacity: 0;
	}
}

/* ========================================
   Comprehensive Responsive Design
   ======================================== */

/* Tablet and Small Laptops (1024px) */
@media (max-width: 1024px) {
	.hero-svg {
		max-width: 350px;
	}

	.greeting {
		font-size: clamp(1.2rem, 3vw, 1.8rem);
	}

	.title {
		font-size: clamp(1.8rem, 5vw, 3rem);
	}

	.education-section,
	.work-section {
		padding: 3rem 1.5rem;
	}
}

/* Tablets and Large Phones (768px) */
@media (max-width: 768px) {
	.hero {
		padding: 0 1.5rem;
		min-height: auto;
		padding-top: 4rem;
		padding-bottom: 2rem;
	}

	.hero-svg {
		max-width: 280px;
		margin: 0.5rem 0 2rem 0;
	}

	.hero-content {
		gap: 15px;
	}

	.skills-section {
		gap: 1rem;
	}

	.skills-row {
		gap: 0.6rem;
	}

	.skill-pill {
		padding: 0.5rem 1rem;
		font-size: 0.8rem;
		border-width: 1.5px;
	}

	.email-container {
		padding: 0.6rem 1.2rem;
		gap: 0.8rem;
	}

	.contact-email {
		font-size: 0.95rem;
	}

	.education-section,
	.work-section {
		padding: 2rem 1rem;
		gap: 2rem;
	}

	.edu-title,
	.work-title {
		font-size: clamp(1.8rem, 4vw, 2.5rem);
	}

	.edu-year,
	.work-year {
		font-size: 1.2rem;
		margin-bottom: 1.5rem;
	}

	.edu-description p,
	.work-description p {
		font-size: 1rem;
	}

	.journey-section {
		padding: 2rem 1.5rem;
	}

	.journey-title {
		font-size: clamp(1.5rem, 3.5vw, 2rem);
	}

	.journey-description {
		font-size: 1rem;
	}

	.header-info {
		margin-top: 1rem;
		gap: 0.8rem;
		width: 100%;
	}

	.info-pill {
		padding: 0.4rem 0.8rem;
		font-size: 0.8rem;
		white-space: nowrap;
	}

	.footer-section {
		padding: 2rem 1rem 4rem 1rem;
	}

	.section-divider {
		padding: 1rem 0;
	}
}

/* Small Phones (480px) */
@media (max-width: 480px) {
	:root {
		--avatar-size: 100px;
		--section-spacing: 2rem;
	}

	.hero {
		padding: 0 1rem;
		padding-top: 3rem;
	}

	.hero-svg {
		max-width: 200px;
		margin: 0.5rem 0 1.5rem 0;
	}

	.greeting {
		font-size: 1.1rem;
	}

	.title {
		font-size: 1.5rem;
	}

	.subtitle {
		font-size: 0.9rem;
	}

	.header-info {
		flex-direction: column;
		gap: 0.6rem;
	}

	.info-pill {
		padding: 0.35rem 0.7rem;
		font-size: 0.75rem;
	}

	.skills-title {
		font-size: 1.2rem;
	}

	.skill-pill {
		padding: 0.4rem 0.7rem;
		font-size: 0.7rem;
		border-width: 1px;
	}

	.journey-title {
		font-size: 1.4rem;
	}

	.journey-description {
		font-size: 0.9rem;
		padding: 0 0.5rem;
	}

	.edu-title,
	.work-title {
		font-size: 1.6rem;
	}

	.edu-year,
	.work-year {
		font-size: 1rem;
		margin-bottom: 1rem;
	}

	.edu-description p,
	.work-description p {
		font-size: 0.9rem;
		margin-bottom: 0.75rem;
	}

	.email-container {
		padding: 0.5rem 1rem;
		gap: 0.6rem;
	}

	.contact-email {
		font-size: 0.85rem;
	}

	.copy-email-btn svg {
		width: 16px;
		height: 16px;
	}

	.footer-socials {
		gap: 1rem;
	}

	.social-link svg {
		width: 22px;
		height: 22px;
	}

	.theme-toggle {
		top: 1rem;
		right: 1rem;
		width: 36px;
		height: 36px;
	}
}