@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;700;900&display=swap");

/* Reset & Base */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary: #3b82f6;
	--primary-hover: #60a5fa;
	--primary-light: #93c5fd;
	--primary-dark: #2563eb;
	--secondary: #8b5cf6;
	--secondary-hover: #a78bfa;
	--text: #ffffff;
	--text-light: #94a3b8;
	--text-muted: #64748b;
	--bg: #0f172a;
	--bg-light: #1e293b;
	--bg-card: #1e293b;
	--border: #334155;
	--border-light: #475569;
	--transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

/* --- LOADING SCREEN STYLES --- */
#loading-screen {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #0f172a 100%);
	z-index: 9999;
	opacity: 1;
	visibility: visible;
	transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
	animation: fillBackground 3s ease-out forwards;
	overflow: hidden;
}

/* Animated Gradient Circles Background */
#loading-screen::before {
	content: "";
	position: absolute;
	width: 500px;
	height: 500px;
	top: -100px;
	left: -100px;
	background: radial-gradient(
		circle,
		rgba(59, 130, 246, 0.15),
		transparent 70%
	);
	border-radius: 50%;
	animation: floatCircle1 8s ease-in-out infinite;
}

#loading-screen::after {
	content: "";
	position: absolute;
	width: 400px;
	height: 400px;
	bottom: -50px;
	right: -50px;
	background: radial-gradient(
		circle,
		rgba(139, 92, 246, 0.15),
		transparent 70%
	);
	border-radius: 50%;
	animation: floatCircle2 10s ease-in-out infinite;
}

@keyframes floatCircle1 {
	0%,
	100% {
		transform: translate(0, 0) scale(1);
	}
	50% {
		transform: translate(100px, 100px) scale(1.2);
	}
}

@keyframes floatCircle2 {
	0%,
	100% {
		transform: translate(0, 0) scale(1);
	}
	50% {
		transform: translate(-80px, -80px) scale(1.1);
	}
}

.loading-content {
	position: relative;
	z-index: 1;
}

#loading-screen.fade-out {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

/* Binary Matrix Animation */
.binary-matrix {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	z-index: 5;
}

.binary-matrix.active {
	opacity: 1;
}

#matrix-canvas {
	width: 100%;
	height: 100%;
	display: block;
}

/* Code Explosion Effect */
.code-explosion {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	z-index: 10;
	overflow: hidden;
}

.code-explosion.active {
	opacity: 1;
}

.code-particle {
	position: absolute;
	font-family: "Courier New", monospace;
	font-weight: bold;
	color: var(--primary);
	font-size: 1.5rem;
	opacity: 0;
	pointer-events: none;
}

.code-particle.explode {
	animation: codeExplode 1.5s ease-out forwards;
}

@keyframes codeExplode {
	0% {
		transform: translate(0, 0) scale(1) rotate(0deg);
		opacity: 1;
	}
	100% {
		transform: translate(var(--tx), var(--ty)) scale(0.3) rotate(var(--rotate));
		opacity: 0;
	}
}

@keyframes fillBackground {
	0% {
		background: linear-gradient(
			135deg,
			rgba(30, 41, 59, 0) 0%,
			rgba(15, 23, 42, 0) 50%,
			rgba(15, 23, 42, 0) 100%
		);
	}
	50% {
		background: linear-gradient(
			135deg,
			rgba(30, 41, 59, 0.5) 0%,
			rgba(15, 23, 42, 0.5) 50%,
			rgba(15, 23, 42, 0.5) 100%
		);
	}
	100% {
		background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #0f172a 100%);
	}
}

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

.loading-text {
	font-size: clamp(3rem, 12vw, 8rem);
	font-weight: 900;
	color: var(--text);
	margin: 0;
	letter-spacing: -0.02em;
	text-align: center;
	opacity: 0;
	animation: fadeInText 0.6s ease-out forwards;
	font-family: "Noto Sans Devanagari", -apple-system, BlinkMacSystemFont,
		"Segoe UI", sans-serif;
}

.loading-bar-container {
	margin-top: 3rem;
	width: 400px;
	max-width: 80vw;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	opacity: 0;
	animation: fadeInText 0.6s ease-out 0.3s forwards;
}

.loading-bar {
	width: 100%;
	height: 4px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	overflow: hidden;
	position: relative;
}

.loading-bar-fill {
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
	border-radius: 10px;
	transition: width 0.3s ease-out;
	box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.loading-percentage {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--text-light);
	margin: 0;
	font-family: "Inter", sans-serif;
	letter-spacing: 0.05em;
}

@keyframes fadeInText {
	from {
		opacity: 0;
		transform: scale(0.9) translateY(20px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

.loading-text.fade-out {
	animation: fadeOutText 0.4s ease-in forwards;
}

@keyframes fadeOutText {
	from {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
	to {
		opacity: 0;
		transform: scale(0.9) translateY(-20px);
	}
}

body.loading {
	overflow: hidden;
}

body.loading main,
body.loading .floating-nav,
body.loading .bg-drip-layer {
	opacity: 0 !important;
	pointer-events: none !important;
	animation: none !important;
}

body.loading-complete {
	overflow: auto;
}

body.loading-complete main,
body.loading-complete .floating-nav,
body.loading-complete .bg-drip-layer {
	opacity: 1;
	pointer-events: auto;
	transition: opacity 0.6s ease-out;
}

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
		sans-serif;
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.bg-drip-layer {
	position: fixed;
	inset: 0;
	overflow: hidden;
	z-index: 0;
	pointer-events: none;
	mix-blend-mode: screen;
	opacity: 0.4;
}

.bg-drop {
	position: absolute;
	width: 180px;
	height: 480px;
	background: radial-gradient(
		circle at 30% 10%,
		rgba(59, 130, 246, 0.5),
		rgba(139, 92, 246, 0.3) 55%,
		transparent 70%
	);
	filter: blur(60px);
	animation: dripMove 14s linear infinite;
	transform: translateY(-130%);
}

.bg-drop-1 {
	left: 15%;
	animation-duration: 16s;
}

.bg-drop-2 {
	left: 55%;
	width: 140px;
	height: 420px;
	animation-duration: 12s;
	animation-delay: 2s;
}

.bg-drop-3 {
	right: 12%;
	width: 200px;
	height: 520px;
	animation-duration: 18s;
	animation-delay: 4s;
}

@keyframes dripMove {
	0% {
		transform: translateY(-140%) scale(0.8);
		opacity: 0;
	}
	10% {
		opacity: 0.45;
	}
	60% {
		opacity: 0.5;
	}
	100% {
		transform: translateY(140%) scale(1.05);
		opacity: 0;
	}
}

body.scrolling-up .bg-drop {
	animation-direction: reverse;
}

/* Interactive Background Canvas */
#interactive-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.6s ease-out;
}

body.loading-complete #interactive-bg {
	opacity: 0.6;
}

.container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 2rem;
}

@media (max-width: 768px) {
	.container {
		padding: 0 1.5rem;
	}
}

/* Header */
.header {
	display: none;
}

/* Floating Sidebar Navigation */
.floating-nav {
	position: fixed;
	left: 1.5rem;
	top: 50%;
	transform: translateY(-50%);
	z-index: 999;
	animation: slideInNav 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

@keyframes slideInNav {
	from {
		opacity: 0;
		transform: translateY(-50%) translateX(-40px);
	}
	to {
		opacity: 1;
		transform: translateY(-50%) translateX(0);
	}
}

.nav-inner {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	align-items: center;
	padding: 1rem 0.5rem;
	background: rgba(59, 130, 246, 0.1);
	border: 1px solid rgba(59, 130, 246, 0.3);
	border-radius: 50px;
	backdrop-filter: blur(20px);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-logo {
	font-size: 1.2rem;
	font-weight: 900;
	color: var(--primary);
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	background: linear-gradient(
		135deg,
		rgba(59, 130, 246, 0.2),
		rgba(139, 92, 246, 0.1)
	);
	border-radius: 50%;
	border: 2px solid var(--primary);
	transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
	position: relative;
	overflow: hidden;
}

.nav-logo::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(59, 130, 246, 0.2);
	transform: translate(-50%, -50%);
	transition: width 0.6s ease, height 0.6s ease;
}

.nav-logo:hover {
	transform: scale(1.15);
	box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
	background: linear-gradient(
		135deg,
		rgba(59, 130, 246, 0.3),
		rgba(139, 92, 246, 0.2)
	);
}

.nav-logo:hover::before {
	width: 80px;
	height: 80px;
}

.nav-links {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.nav-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.2rem;
	height: 2.2rem;
	background: rgba(59, 130, 246, 0.08);
	border: 1px solid rgba(59, 130, 246, 0.3);
	border-radius: 50%;
	color: var(--text);
	text-decoration: none;
	transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
	position: relative;
	overflow: hidden;
}

.nav-link::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: var(--primary);
	transform: translate(-50%, -50%);
	transition: width 0.5s ease, height 0.5s ease;
	z-index: -1;
}

.nav-link:hover::before {
	width: 100%;
	height: 100%;
}

.nav-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
	position: relative;
}

.nav-icon svg {
	transition: all 0.3s ease;
}

.nav-link:hover {
	color: #ffffff;
	transform: scale(1.15) rotate(5deg);
	box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.nav-link:hover .nav-icon {
	transform: scale(1.2);
	animation: iconBounce 0.6s ease;
}

.nav-link:hover .nav-icon svg {
	filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

@keyframes iconBounce {
	0%,
	100% {
		transform: scale(1.2) translateY(0);
	}
	50% {
		transform: scale(1.3) translateY(-3px);
	}
}

/* Active state for current section */
.nav-link.active {
	background: var(--primary);
	border-color: var(--primary);
	color: #ffffff;
	box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5);
	transform: scale(1.1);
}

.nav-link.active::before {
	display: none;
}

/* Responsive Floating Nav */
@media (max-width: 768px) {
	.floating-nav {
		left: auto;
		right: 1rem;
		top: auto;
		bottom: 1.5rem;
		transform: none;
		animation: slideInNavMobile 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
	}

	@keyframes slideInNav {
		from {
			opacity: 0;
			transform: translateY(40px);
		}
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}

	@keyframes slideInNavMobile {
		from {
			opacity: 0;
			transform: translateY(40px);
		}
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}

	.nav-inner {
		flex-direction: row;
		gap: 0.5rem;
		padding: 0.5rem 0.75rem;
	}

	.nav-logo {
		width: 2.2rem;
		height: 2.2rem;
		font-size: 1rem;
	}

	.nav-link {
		width: 2rem;
		height: 2rem;
	}

	.nav-icon {
		font-size: 0.8rem;
	}
}

/* Extra small devices */
@media (max-width: 480px) {
	.floating-nav {
		display: none;
	}

	.nav-inner {
		padding: 0.4rem 0.5rem;
		gap: 0.35rem;
		background: rgba(59, 130, 246, 0.12);
		border: 1px solid rgba(59, 130, 246, 0.25);
	}

	.nav-logo {
		width: 1.8rem;
		height: 1.8rem;
		font-size: 0.9rem;
	}

	.nav-link {
		width: 1.6rem;
		height: 1.6rem;
	}

	.nav-icon {
		font-size: 0.7rem;
	}

	.nav-tooltip {
		display: none;
	}
}

/* Hero Section */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8rem 0;
	text-align: center;
	position: relative;
	overflow: hidden;
	background: radial-gradient(
		ellipse at top,
		rgba(59, 130, 246, 0.12) 0%,
		transparent 60%
	);
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(
			circle at 20% 30%,
			rgba(59, 130, 246, 0.15) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 80% 70%,
			rgba(139, 92, 246, 0.12) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 40% 60%,
			rgba(96, 165, 250, 0.1) 0%,
			transparent 40%
		),
		radial-gradient(
			circle at 70% 20%,
			rgba(167, 139, 250, 0.08) 0%,
			transparent 45%
		);
	filter: blur(100px);
	animation: fluidFlow 15s ease-in-out infinite,
		subtleNoise 20s ease-in-out infinite;
	opacity: 0.6;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(
			circle at 60% 40%,
			rgba(59, 130, 246, 0.1) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 25% 75%,
			rgba(139, 92, 246, 0.08) 0%,
			transparent 45%
		),
		radial-gradient(
			circle at 85% 45%,
			rgba(96, 165, 250, 0.09) 0%,
			transparent 48%
		);
	filter: blur(110px);
	animation: fluidFlow2 18s ease-in-out infinite reverse,
		subtleNoise 25s ease-in-out infinite;
	opacity: 0.5;
}

@keyframes fluidFlow {
	0%,
	100% {
		transform: translate(0, 0) scale(1);
	}
	25% {
		transform: translate(40px, -50px) scale(1.05);
	}
	50% {
		transform: translate(-30px, 40px) scale(0.95);
	}
	75% {
		transform: translate(50px, 30px) scale(1.08);
	}
}

@keyframes fluidFlow2 {
	0%,
	100% {
		transform: translate(0, 0) scale(1);
	}
	25% {
		transform: translate(-50px, 40px) scale(1.08);
	}
	50% {
		transform: translate(30px, -50px) scale(0.92);
	}
	75% {
		transform: translate(-40px, -30px) scale(1.06);
	}
}

@keyframes subtleNoise {
	0%,
	100% {
		opacity: 0.6;
	}
	50% {
		opacity: 0.7;
	}
}

.hero-title {
	font-size: clamp(2.5rem, 8vw, 7rem);
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -0.04em;
	margin-bottom: 2rem;
	color: var(--text);
}

.hero-title .word {
	display: inline-block;
	opacity: 0;
	transform: translateY(100%);
	animation: slideUpWord 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title .word:nth-child(1) {
	animation-delay: 0.1s;
}
.hero-title .word:nth-child(2) {
	animation-delay: 0.15s;
}
.hero-title .word:nth-child(3) {
	animation-delay: 0.2s;
}
.hero-title .word:nth-child(4) {
	animation-delay: 0.3s;
}
.hero-title .word:nth-child(5) {
	animation-delay: 0.35s;
}
.hero-title .word:nth-child(6) {
	animation-delay: 0.4s;
}
.hero-title .word:nth-child(7) {
	animation-delay: 0.5s;
}
.hero-title .word:nth-child(8) {
	animation-delay: 0.55s;
}
.hero-title .word:nth-child(9) {
	animation-delay: 0.6s;
}
.hero-title .word:nth-child(10) {
	animation-delay: 0.65s;
}
.hero-title .word:nth-child(11) {
	animation-delay: 0.7s;
}

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

.hero-subtitle {
	font-size: clamp(1rem, 2vw, 1.25rem);
	color: var(--text-light);
	max-width: 900px;
	margin: 0 auto 3rem;
	line-height: 1.7;
	opacity: 0;
	animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

.hero-description {
	font-size: 1rem;
	color: var(--text-light);
	max-width: 800px;
	margin: 0 auto 3rem;
	line-height: 1.8;
	opacity: 0;
	animation: fadeInUp 0.8s ease-out 0.85s forwards;
}

.hero-cta {
	display: flex;
	gap: 1.5rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 4rem;
	opacity: 0;
	animation: fadeInUp 0.8s ease-out 0.9s forwards;
}

.hero-cta .btn {
	position: relative;
	z-index: 1;
}

.hero-trusted {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--text-light);
	opacity: 0;
	animation: fadeInUp 0.8s ease-out 1.1s forwards;
	font-weight: 500;
}

.hero-label {
	font-size: 0.75rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--primary);
	margin-bottom: 1.5rem;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-animate].animated,
.hero-label[data-animate].animated {
	opacity: 1;
	transform: translateY(0);
}

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

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 1rem 2rem;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 0.5rem;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	border: 2px solid transparent;
	position: relative;
	overflow: hidden;
}

.btn::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	transform: translate(-50%, -50%);
	transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
	width: 300px;
	height: 300px;
}

.btn-primary {
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	color: #ffffff;
	font-weight: 700;
	box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
	background: linear-gradient(
		135deg,
		var(--primary-hover),
		var(--secondary-hover)
	);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5);
}

.btn-outline {
	background: transparent;
	color: var(--primary);
	border-color: var(--primary);
}

.btn-outline:hover {
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	color: #ffffff;
	font-weight: 700;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

/* Section Styles */
section {
	padding: 8rem 0;
	position: relative;
}

section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--border), transparent);
	opacity: 0.5;
}

.section-title {
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 800;
	text-align: center;
	margin-bottom: 5rem;
	letter-spacing: -0.04em;
	opacity: 0;
	transform: translateY(60px);
	transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
	color: var(--text);
}

.section-title.animated {
	opacity: 1;
	transform: translateY(0);
}

/* About Section */
.about {
	background: var(--bg-light);
	border-top: 1px solid var(--border);
	position: relative;
	overflow: hidden;
}

.about::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(
			circle at 20% 50%,
			rgba(59, 130, 246, 0.08) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 80% 80%,
			rgba(139, 92, 246, 0.08) 0%,
			transparent 50%
		);
	opacity: 0;
	transition: opacity 1s ease-out;
	z-index: 0;
}

.about.animated::before {
	opacity: 1;
	animation: backgroundFloat 15s ease-in-out infinite;
}

@keyframes backgroundFloat {
	0%,
	100% {
		transform: translate(0, 0) scale(1);
	}
	33% {
		transform: translate(30px, -30px) scale(1.1);
	}
	66% {
		transform: translate(-30px, 30px) scale(0.9);
	}
}

.about > .container {
	position: relative;
	z-index: 1;
}

.stats-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1.5rem;
	margin-bottom: 3rem;
}

.stats-row .stat-item {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 1rem;
	padding: 1.75rem;
	text-align: center;
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.stats-row .stat-item.animated {
	opacity: 1;
	transform: translateY(0);
}

.stat-number {
	display: inline-block;
	font-size: 3rem;
	font-weight: 800;
	color: var(--primary);
	margin-bottom: 0.35rem;
	opacity: 0;
	transform: scale(0.85);
	transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.stat-plus {
	display: inline-block;
	font-size: 3rem;
	font-weight: 800;
	color: var(--primary);
	margin-left: 0.2rem;
}

.stats-row .stat-item.animated .stat-number {
	opacity: 1;
	transform: scale(1);
}

.stat-label {
	color: var(--text-light);
	font-size: 0.95rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.stats-row .stat-item.animated .stat-label {
	opacity: 1;
	transform: translateY(0);
}

.about-layout {
	display: grid;
	grid-template-columns: 380px 1fr;
	gap: 4rem;
	align-items: center;
	margin-bottom: 4rem;
}

.about-text h2 {
	font-size: 2rem;
	margin-bottom: 1.5rem;
}

.about-text p {
	color: var(--text-light);
	margin-bottom: 1.5rem;
	line-height: 1.8;
}

.about-image {
	position: relative;
}

.about-image::before {
	content: "";
	position: absolute;
	top: -15px;
	left: -15px;
	right: 15px;
	bottom: 15px;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	border-radius: 1.5rem;
	opacity: 0.15;
	z-index: 0;
}

.about-image img {
	position: relative;
	z-index: 1;
	width: 100%;
	border-radius: 1.5rem;
	object-fit: cover;
	height: 450px;
	border: 1px solid var(--border);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
	transition: transform 0.3s ease;
}

.about-image img:hover {
	transform: scale(1.02);
}

/* Core Skills Section */
.core-skills-section {
	margin: 3rem 0;
	padding: 3rem;
	background: linear-gradient(
		135deg,
		rgba(59, 130, 246, 0.05) 0%,
		rgba(139, 92, 246, 0.05) 100%
	);
	border: 1px solid var(--border);
	border-radius: 1.5rem;
	position: relative;
	overflow: hidden;
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.core-skills-section.animated {
	opacity: 1;
	transform: translateY(0);
}

.core-skills-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(
		90deg,
		var(--primary),
		var(--secondary),
		var(--primary)
	);
	background-size: 200% 100%;
	animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
	0%,
	100% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
}

.core-skills-header {
	text-align: center;
	margin-bottom: 2.5rem;
}

.core-skills-header h3 {
	font-size: 2rem;
	margin-bottom: 0.5rem;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.core-skills-header p {
	color: var(--text-light);
	font-size: 1.05rem;
	letter-spacing: 0.02em;
}

.skill-tags-enhanced {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
	align-items: center;
}

.skill-tag-enhanced {
	padding: 0.85rem 1.75rem;
	border-radius: 12px;
	border: 1px solid var(--border);
	background: linear-gradient(
		135deg,
		rgba(30, 41, 59, 0.8),
		rgba(15, 23, 42, 0.9)
	);
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--text);
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	position: relative;
	overflow: hidden;
}

.skill-tag-enhanced::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(59, 130, 246, 0.2),
		transparent
	);
	transition: left 0.5s ease;
}

.skill-tag-enhanced:hover::before {
	left: 100%;
}

.skill-tag-enhanced:hover {
	transform: translateY(-3px);
	border-color: var(--primary);
	box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
	background: linear-gradient(
		135deg,
		rgba(59, 130, 246, 0.15),
		rgba(139, 92, 246, 0.15)
	);
}

.tag-icon {
	font-size: 1.25rem;
	display: inline-flex;
	align-items: center;
}

/* Technical Skills Section */
.technical-skills-section {
	margin-top: 3rem;
}

.skill-matrix {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2.5rem;
	padding: 2.5rem;
	border: 1px solid var(--border);
	border-radius: 1.25rem;
	background: linear-gradient(
		135deg,
		rgba(30, 41, 59, 0.5),
		rgba(15, 23, 42, 0.7)
	);
	backdrop-filter: blur(10px);
}

.skill-column-header {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-size: 0.85rem;
	color: var(--text-light);
}

.skill-column-header .divider {
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, var(--border), transparent);
}

.skill-list {
	list-style: disc;
	padding-left: 1.25rem;
	color: var(--text-light);
	line-height: 1.9;
	font-size: 0.95rem;
}

.skill-list li {
	margin-bottom: 0.35rem;
}

/* Clients/Services Section */
.clients {
	background: var(--bg);
	border-top: 1px solid var(--border);
}

.section-subtitle {
	text-align: center;
	color: var(--text-light);
	font-size: 1.1rem;
	max-width: 700px;
	margin: -1rem auto 3rem;
	line-height: 1.6;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 2rem;
	opacity: 0;
	transform: translateY(50px);
	transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.services-grid.animated {
	opacity: 1;
	transform: translateY(0);
}

.service-card {
	background: linear-gradient(
		135deg,
		var(--bg-card) 0%,
		rgba(30, 41, 59, 0.6) 100%
	);
	border: 1px solid var(--border);
	border-radius: 1.25rem;
	padding: 2rem;
	transition: all 0.4s var(--ease-out);
	position: relative;
	overflow: hidden;
}

.service-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--primary), var(--secondary));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s var(--ease-out);
}

.service-card:hover::before {
	transform: scaleX(1);
}

.service-card:hover {
	transform: translateY(-8px);
	border-color: var(--primary);
	box-shadow: 0 20px 50px rgba(59, 130, 246, 0.2);
	background: linear-gradient(
		135deg,
		rgba(30, 41, 59, 0.8) 0%,
		rgba(59, 130, 246, 0.05) 100%
	);
}

.service-icon {
	font-size: 3rem;
	margin-bottom: 1rem;
	display: inline-block;
	transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
	transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
	font-size: 1.4rem;
	margin-bottom: 0.75rem;
	color: var(--text);
}

.service-card > p {
	color: var(--text-light);
	font-size: 0.95rem;
	line-height: 1.7;
	margin-bottom: 1.25rem;
}

.service-features {
	list-style: none;
	margin-bottom: 1.5rem;
	padding-left: 0;
}

.service-features li {
	color: var(--text-light);
	font-size: 0.9rem;
	padding: 0.5rem 0;
	padding-left: 1.5rem;
	position: relative;
}

.service-features li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--primary);
	font-weight: bold;
	font-size: 1rem;
}

.service-tech {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.service-tech span {
	padding: 0.35rem 0.85rem;
	background: rgba(59, 130, 246, 0.1);
	border: 1px solid rgba(59, 130, 246, 0.3);
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--primary-light);
	letter-spacing: 0.03em;
	transition: all 0.3s ease;
}

.service-card:hover .service-tech span {
	background: rgba(59, 130, 246, 0.15);
	border-color: var(--primary);
	transform: translateY(-2px);
}

/* Experience Section */
.experience {
	background: var(--bg-light);
	border-top: 1px solid var(--border);
}

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

.experience-header h2 {
	flex: 1;
	min-width: 200px;
}

.experience-header .btn {
	font-size: 0.9rem;
	width: auto;
	white-space: nowrap;
}

/* Timeline Styles */
.experience-timeline {
	position: relative;
	padding-left: 3rem;
}

/* Vertical Line */
.experience-timeline::before {
	content: "";
	position: absolute;
	left: 1rem;
	top: 0;
	bottom: 0;
	width: 2px;
	background: linear-gradient(
		180deg,
		var(--primary) 0%,
		var(--secondary) 50%,
		var(--primary) 100%
	);
	opacity: 0.3;
}

.timeline-item {
	position: relative;
	margin-bottom: 3rem;
	opacity: 0;
	transform: translateX(-40px);
	transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item.animated {
	opacity: 1;
	transform: translateX(0);
}

.timeline-item:nth-child(1) {
	transition-delay: 0.1s;
}

.timeline-item:nth-child(2) {
	transition-delay: 0.2s;
}

.timeline-item:nth-child(3) {
	transition-delay: 0.3s;
}

.timeline-item:nth-child(4) {
	transition-delay: 0.4s;
}

/* Timeline Dot */
.timeline-dot {
	position: absolute;
	left: -2.4rem;
	top: 0.5rem;
	width: 1rem;
	height: 1rem;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	border-radius: 50%;
	border: 3px solid var(--bg-light);
	box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
	z-index: 2;
	transition: all 0.4s ease;
	animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
	0%,
	100% {
		box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
	}
	50% {
		box-shadow: 0 0 0 8px rgba(59, 130, 246, 0.1);
	}
}

.timeline-item:hover .timeline-dot {
	transform: scale(1.3);
	box-shadow: 0 0 0 8px rgba(59, 130, 246, 0.3);
}

/* Timeline Content */
.timeline-content {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 1.5rem;
	padding: 2rem;
	position: relative;
	transition: all 0.4s ease;
}

.timeline-content::before {
	content: "";
	position: absolute;
	left: -0.75rem;
	top: 1.25rem;
	width: 0;
	height: 0;
	border-top: 0.5rem solid transparent;
	border-bottom: 0.5rem solid transparent;
	border-right: 0.75rem solid var(--border);
	transition: all 0.4s ease;
}

.timeline-content::after {
	content: "";
	position: absolute;
	left: -0.65rem;
	top: 1.28rem;
	width: 0;
	height: 0;
	border-top: 0.45rem solid transparent;
	border-bottom: 0.45rem solid transparent;
	border-right: 0.7rem solid var(--bg-card);
	transition: all 0.4s ease;
}

.timeline-item:hover .timeline-content {
	border-color: var(--primary);
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(59, 130, 246, 0.2);
}

.timeline-item:hover .timeline-content::before {
	border-right-color: var(--primary);
}

.timeline-content .experience-period {
	display: inline-block;
	font-size: 0.8rem;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--primary);
	margin-bottom: 1rem;
	font-weight: 600;
	background: rgba(59, 130, 246, 0.1);
	padding: 0.4rem 1rem;
	border-radius: 2rem;
}

.timeline-content h3 {
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
	font-weight: 700;
	color: var(--text);
}

.timeline-content .experience-location {
	color: var(--text-light);
	margin-bottom: 1rem;
	font-size: 0.95rem;
	line-height: 1.6;
}

/* Experience Projects Section */
.experience-projects {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.projects-toggle {
	background: rgba(59, 130, 246, 0.1);
	border: 1px solid rgba(59, 130, 246, 0.3);
	color: var(--primary);
	padding: 0.65rem 1.25rem;
	border-radius: 0.5rem;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: fit-content;
}

.projects-toggle:hover {
	background: rgba(59, 130, 246, 0.2);
	border-color: rgba(59, 130, 246, 0.5);
	transform: translateY(-2px);
}

.toggle-icon {
	font-size: 0.75rem;
	transition: transform 0.3s ease;
}

.projects-toggle.active .toggle-icon {
	transform: rotate(180deg);
}

.projects-heading {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-light);
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.project-tags {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-top: 1rem;
	overflow: hidden;
	transition: all 0.4s ease;
}

.project-tag {
	background: rgba(59, 130, 246, 0.05);
	border: 1px solid rgba(59, 130, 246, 0.2);
	border-radius: 0.5rem;
	padding: 0.75rem 1rem;
	transition: all 0.3s ease;
}

.project-tag:hover {
	background: rgba(59, 130, 246, 0.1);
	border-color: rgba(59, 130, 246, 0.4);
	transform: translateX(4px);
}

.project-name {
	display: block;
	font-weight: 600;
	color: var(--text);
	font-size: 0.95rem;
	margin-bottom: 0.5rem;
}

.project-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.tech-mini {
	font-size: 0.8rem;
	color: var(--text-light);
	font-family: "Courier New", monospace;
}

.project-link {
	font-size: 0.85rem;
	color: var(--primary);
	text-decoration: none;
	font-weight: 600;
	transition: color 0.3s ease;
	white-space: nowrap;
}

.project-link:hover {
	color: var(--primary-hover);
}

.project-list {
	list-style: none;
	padding-left: 0;
	margin-top: 1rem;
}

.project-list li {
	color: var(--text-light);
	line-height: 1.9;
	font-size: 0.95rem;
	margin-bottom: 0.75rem;
	padding-left: 1.5rem;
	position: relative;
}

.project-list li::before {
	content: "•";
	position: absolute;
	left: 0;
	color: var(--primary);
	font-weight: bold;
	font-size: 1.2rem;
	line-height: 1.6;
}

/* Projects Section */
.projects {
	background: var(--bg);
	border-top: 1px solid var(--border);
	padding: 8rem 0;
}

.projects .section-title {
	margin-bottom: 4rem;
}

.projects-showcase {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2.5rem;
	max-width: 1200px;
	margin: 0 auto;
}

.project-showcase-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 1.25rem;
	padding: 2.5rem;
	position: relative;
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.project-showcase-card.animated {
	opacity: 1;
	transform: translateY(0);
}

.project-showcase-card:hover {
	border-color: var(--primary);
	transform: translateY(-6px);
	box-shadow: 0 12px 40px rgba(59, 130, 246, 0.2);
}

.project-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
}

.project-icon {
	font-size: 2.8rem;
	line-height: 1;
	transition: all 0.3s ease;
}

.project-showcase-card:hover .project-icon {
	transform: scale(1.1);
}

.project-showcase-card .experience-period {
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--primary);
	font-weight: 600;
	background: rgba(59, 130, 246, 0.1);
	padding: 0.35rem 0.9rem;
	border-radius: 2rem;
	white-space: nowrap;
}

.project-showcase-card h3 {
	font-size: 1.5rem;
	margin: 0;
	font-weight: 700;
	color: var(--text);
	line-height: 1.3;
}

.project-showcase-card .experience-location {
	color: var(--text-light);
	margin: 0;
	font-size: 0.9rem;
	font-weight: 500;
}

.project-showcase-card .project-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.project-showcase-card .project-list li {
	color: var(--text-light);
	line-height: 1.7;
	font-size: 0.9rem;
	margin-bottom: 0.6rem;
	padding-left: 1.25rem;
	position: relative;
}

.project-showcase-card .project-list li::before {
	content: "▸";
	position: absolute;
	left: 0;
	color: var(--primary);
	font-weight: bold;
}

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

.tech-badge {
	padding: 0.4rem 0.85rem;
	background: rgba(59, 130, 246, 0.08);
	border: 1px solid rgba(59, 130, 246, 0.25);
	border-radius: 1.5rem;
	font-size: 0.7rem;
	color: var(--primary);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	transition: all 0.3s ease;
}

.project-showcase-card:hover .tech-badge {
	background: rgba(59, 130, 246, 0.15);
	border-color: var(--primary);
}

.project-showcase-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	color: var(--primary);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
	transition: all 0.3s ease;
	padding: 0.65rem 1.25rem;
	border: 1.5px solid var(--primary);
	border-radius: 0.6rem;
	background: transparent;
	width: fit-content;
}

.project-showcase-link:hover {
	background: var(--primary);
	color: #ffffff;
	transform: translateX(3px);
}

/* Rotaract Involvement Section */
.rotaract {
	background: var(--bg-light);
	border-top: 1px solid var(--border);
	position: relative;
}

.rotaract::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 90%;
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent,
		var(--secondary),
		transparent
	);
	opacity: 0.5;
}

.section-subtitle {
	text-align: center;
	color: var(--text-light);
	font-size: 1.1rem;
	margin-top: -3rem;
	margin-bottom: 4rem;
	font-style: italic;
}

/* Rotaract Timeline (Right-aligned) */
.rotaract-timeline {
	position: relative;
	padding-right: 3rem;
}

/* Vertical Line on Right */
.rotaract-timeline::before {
	content: "";
	position: absolute;
	right: 1rem;
	top: 0;
	bottom: 0;
	width: 2px;
	background: linear-gradient(
		180deg,
		var(--secondary) 0%,
		var(--primary) 50%,
		var(--secondary) 100%
	);
	opacity: 0.3;
}

.timeline-item-right {
	position: relative;
	margin-bottom: 3rem;
	opacity: 0;
	transform: translateX(40px);
	transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item-right.animated {
	opacity: 1;
	transform: translateX(0);
}

.timeline-item-right:nth-child(1) {
	transition-delay: 0.1s;
}

.timeline-item-right:nth-child(2) {
	transition-delay: 0.2s;
}

.timeline-item-right:nth-child(3) {
	transition-delay: 0.3s;
}

/* Timeline Dot on Right */
.timeline-dot-right {
	position: absolute;
	right: -2.4rem;
	top: 0.5rem;
	width: 1rem;
	height: 1rem;
	background: linear-gradient(135deg, var(--secondary), var(--primary));
	border-radius: 50%;
	border: 3px solid var(--bg-light);
	box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
	z-index: 2;
	transition: all 0.4s ease;
	animation: pulseRight 2s ease-in-out infinite;
}

@keyframes pulseRight {
	0%,
	100% {
		box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
	}
	50% {
		box-shadow: 0 0 0 8px rgba(139, 92, 246, 0.1);
	}
}

.timeline-item-right:hover .timeline-dot-right {
	transform: scale(1.3);
	box-shadow: 0 0 0 8px rgba(139, 92, 246, 0.3);
}

/* Timeline Content for Right */
.timeline-content-right {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 1.5rem;
	padding: 2rem;
	position: relative;
	transition: all 0.4s ease;
}

.timeline-content-right::before {
	content: "";
	position: absolute;
	right: -0.75rem;
	top: 1.25rem;
	width: 0;
	height: 0;
	border-top: 0.5rem solid transparent;
	border-bottom: 0.5rem solid transparent;
	border-left: 0.75rem solid var(--border);
	transition: all 0.4s ease;
}

.timeline-content-right::after {
	content: "";
	position: absolute;
	right: -0.65rem;
	top: 1.28rem;
	width: 0;
	height: 0;
	border-top: 0.45rem solid transparent;
	border-bottom: 0.45rem solid transparent;
	border-left: 0.7rem solid var(--bg-card);
	transition: all 0.4s ease;
}

.timeline-item-right:hover .timeline-content-right {
	border-color: var(--secondary);
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(139, 92, 246, 0.2);
}

.timeline-item-right:hover .timeline-content-right::before {
	border-left-color: var(--secondary);
}

.timeline-content-right .experience-period {
	display: inline-block;
	font-size: 0.8rem;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--secondary);
	margin-bottom: 1rem;
	font-weight: 600;
	background: rgba(139, 92, 246, 0.15);
	padding: 0.4rem 1rem;
	border-radius: 2rem;
}

.timeline-content-right h3 {
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
	font-weight: 700;
	color: var(--text);
}

.timeline-content-right .experience-location {
	color: var(--text-light);
	margin-bottom: 1rem;
	font-size: 0.95rem;
}

.timeline-content-right .project-list li::before {
	color: var(--secondary);
}

/* Projects Section Old Styles (for backward compatibility) */
.projects .experience-item .project-link {
	display: inline-block;
	margin-top: 1.25rem;
	font-size: 0.95rem;
	color: var(--primary);
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	padding: 0.5rem 0;
}

.projects .experience-item .project-link:hover {
	color: var(--primary-hover);
	transform: translateX(4px);
}

/* Contact Section */
.contact {
	background: var(--bg);
	border-top: 1px solid var(--border);
	position: relative;
}

.contact-content {
	max-width: 820px;
	margin: 0 auto 3rem;
	text-align: center;
	opacity: 0;
	transform: translateY(50px);
	transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.contact-content.animated {
	opacity: 1;
	transform: translateY(0);
}

.contact-lead {
	color: var(--text-light);
	margin: 1.5rem auto 2rem;
	line-height: 1.8;
}

.contact-cta {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

.contact-details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.5rem;
	padding: 2rem;
	border: 1px solid var(--border);
	border-radius: 1.25rem;
	background: var(--bg-card);
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.contact-details.animated {
	opacity: 1;
	transform: translateY(0);
}

.detail-label {
	font-size: 0.85rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--text-light);
	margin-bottom: 0.5rem;
}

.contact-details a,
.contact-details p {
	color: var(--text);
	text-decoration: none;
	font-size: 1rem;
	line-height: 1.6;
}

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

/* Footer */
.footer {
	background: var(--bg);
	border-top: 1px solid var(--border);
	padding: 2rem 0;
	text-align: center;
	position: relative;
	z-index: 10;
}

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

.footer p {
	font-size: 0.875rem;
	color: var(--text-light);
	margin: 0;
}

.footer-social {
	display: flex;
	gap: 1.5rem;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}

.social-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--text-light);
	text-decoration: none;
	font-size: 0.9rem;
	transition: all 0.3s ease;
	padding: 0.5rem 1rem;
	border-radius: 8px;
	border: 1px solid transparent;
	position: relative;
	z-index: 100;
	cursor: pointer;
}

.social-link:hover {
	color: var(--primary);
	border-color: var(--border);
	background: rgba(59, 130, 246, 0.05);
	transform: translateY(-2px);
}

.social-link svg {
	transition: transform 0.3s ease;
}

.social-link:hover svg {
	transform: scale(1.1);
}

/* Smooth scroll padding */
html {
	scroll-padding-top: 0;
}

/* Selection color */
::selection {
	background: var(--primary);
	color: #ffffff;
}

::-moz-selection {
	background: var(--primary);
	color: #ffffff;
}

/* Scrollbar styling */
::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: var(--bg);
}

::-webkit-scrollbar-thumb {
	background: var(--border);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--primary);
}

/* Image loading state */
.work-image {
	position: relative;
	overflow: hidden;
}

.work-image::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.05),
		transparent
	);
	animation: shimmer 2s infinite;
	z-index: 1;
}

.work-item.animated .work-image::before {
	display: none;
}

@keyframes shimmer {
	0% {
		left: -100%;
	}
	100% {
		left: 100%;
	}
}

/* Responsive */
@media (max-width: 768px) {
	section {
		padding: 5rem 0;
	}

	section::before {
		display: none;
	}

	.hero {
		padding: 5rem 0;
		min-height: 90vh;
	}

	.hero-title {
		font-size: 2.5rem;
		line-height: 1.15;
	}

	.btn {
		width: 100%;
		justify-content: center;
		padding: 1.125rem 2rem;
	}

	.section-title {
		font-size: 2rem;
		margin-bottom: 3rem;
	}

	.stats-row {
		grid-template-columns: 1fr;
	}

	.about-layout {
		grid-template-columns: 1fr;
		gap: 2.5rem;
		margin-bottom: 2rem;
	}

	.about-image {
		order: -1;
	}

	.about-image img {
		height: 350px;
	}

	.core-skills-section {
		padding: 2rem 1.5rem;
		margin: 2rem 0;
	}

	.core-skills-header h3 {
		font-size: 1.5rem;
	}

	.skill-tags-enhanced {
		gap: 0.75rem;
	}

	.skill-tag-enhanced {
		padding: 0.7rem 1.25rem;
		font-size: 0.9rem;
	}

	.tag-icon {
		font-size: 1.1rem;
	}

	.skill-matrix {
		grid-template-columns: 1fr;
		gap: 2rem;
		padding: 1.75rem;
	}

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

	.client-category {
		padding: 1.75rem;
	}

	.experience-header {
		flex-direction: column;
		align-items: stretch;
		gap: 1.5rem;
	}

	.experience-header h2 {
		width: 100%;
	}

	.experience-header .btn {
		width: 100%;
		justify-content: center;
	}

	/* Mobile Timeline */
	.experience-timeline {
		padding-left: 2rem;
	}

	.experience-timeline::before {
		left: 0.5rem;
	}

	.timeline-dot {
		left: -1.4rem;
		width: 0.8rem;
		height: 0.8rem;
		border: 2px solid var(--bg-light);
	}

	.timeline-content {
		padding: 1.5rem;
	}

	.timeline-content::before,
	.timeline-content::after {
		left: -0.6rem;
		top: 1rem;
		border-top: 0.4rem solid transparent;
		border-bottom: 0.4rem solid transparent;
		border-right: 0.6rem solid var(--border);
	}

	.timeline-content::after {
		left: -0.52rem;
		top: 1.03rem;
		border-top: 0.37rem solid transparent;
		border-bottom: 0.37rem solid transparent;
		border-right: 0.55rem solid var(--bg-card);
	}

	.timeline-content h3 {
		font-size: 1.2rem;
	}

	.timeline-content .experience-period {
		font-size: 0.7rem;
		padding: 0.3rem 0.8rem;
	}

	/* Mobile Projects Showcase */
	.projects-showcase {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.project-showcase-card {
		padding: 2rem;
	}

	.project-icon {
		font-size: 2.2rem;
	}

	.project-showcase-card h3 {
		font-size: 1.3rem;
	}

	.tech-badge {
		font-size: 0.65rem;
		padding: 0.35rem 0.75rem;
	}

	.project-showcase-link {
		width: 100%;
	}

	/* Mobile Rotaract Section */
	.rotaract-timeline {
		padding-right: 2rem;
	}

	.rotaract-timeline::before {
		right: 0.5rem;
	}

	.timeline-dot-right {
		right: -1.4rem;
		width: 0.8rem;
		height: 0.8rem;
		border: 2px solid var(--bg-light);
	}

	.timeline-content-right {
		padding: 1.5rem;
	}

	.timeline-content-right::before,
	.timeline-content-right::after {
		right: -0.6rem;
		top: 1rem;
		border-top: 0.4rem solid transparent;
		border-bottom: 0.4rem solid transparent;
		border-left: 0.6rem solid var(--border);
	}

	.timeline-content-right::after {
		right: -0.52rem;
		top: 1.03rem;
		border-top: 0.37rem solid transparent;
		border-bottom: 0.37rem solid transparent;
		border-left: 0.55rem solid var(--bg-card);
	}

	.timeline-content-right h3 {
		font-size: 1.2rem;
	}

	.timeline-content-right .experience-period {
		font-size: 0.7rem;
		padding: 0.3rem 0.8rem;
	}

	.section-subtitle {
		font-size: 1rem;
		margin-top: -2rem;
		margin-bottom: 2rem;
	}

	.contact-details {
		grid-template-columns: 1fr;
	}

	.contact-cta .btn {
		width: 100%;
	}
}
