@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: #ff2b2f;
	--primary-hover: #ff4f40;
	--primary-light: #ff7a6f;
	--primary-dark: #c41d23;
	--text: #ffffff;
	--text-light: #999999;
	--text-muted: #666666;
	--bg: #000000;
	--bg-light: #0f0f0f;
	--bg-card: #1a1a1a;
	--border: #333333;
	--border-light: #2a2a2a;
	--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;
	scroll-padding-top: 0;
	height: 100%;
	overflow-x: hidden;
}

/* --- LOADING SCREEN STYLES --- */
#loading-screen {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #1a1a1a 0%, #000000 50%, #0a0a0a 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;
}

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

@keyframes fillBackground {
	0% {
		background: linear-gradient(
			135deg,
			rgba(26, 26, 26, 0) 0%,
			rgba(0, 0, 0, 0) 50%,
			rgba(10, 10, 10, 0) 100%
		);
	}
	50% {
		background: linear-gradient(
			135deg,
			rgba(26, 26, 26, 0.5) 0%,
			rgba(0, 0, 0, 0.5) 50%,
			rgba(10, 10, 10, 0.5) 100%
		);
	}
	100% {
		background: linear-gradient(135deg, #1a1a1a 0%, #000000 50%, #0a0a0a 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: 1;
	font-family: "Noto Sans Devanagari", -apple-system, BlinkMacSystemFont,
		"Segoe UI", sans-serif;
	display: inline-block;
	position: relative;
}

.loading-text::after {
	content: "|";
	position: absolute;
	right: -0.5em;
	animation: blink 0.8s infinite;
	color: var(--primary);
}

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

@keyframes blink {
	0%,
	49% {
		opacity: 1;
	}
	50%,
	100% {
		opacity: 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;
}

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;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

main {
	width: 100%;
	flex: 1;
}

/* Text Animation on Scroll */
section h1,
section h2,
section h3,
section h4,
section h5,
section h6,
section p,
section a,
section span,
section li,
section .stat-number,
section .stat-label {
	opacity: 0.3;
	transition: opacity 0.8s ease, transform 0.8s ease;
}

section.text-visible h1,
section.text-visible h2,
section.text-visible h3,
section.text-visible h4,
section.text-visible h5,
section.text-visible h6,
section.text-visible p,
section.text-visible a,
section.text-visible span,
section.text-visible li,
section.text-visible .stat-number,
section.text-visible .stat-label {
	opacity: 1;
}

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

/* Section Drops */
.section-drops {
	position: absolute;
	inset: 0;
	overflow: hidden;
	z-index: 0;
	pointer-events: none;
	mix-blend-mode: screen;
	opacity: 0;
	transition: opacity 1s ease;
}

.section-drops.active {
	opacity: 0.7;
}

.section-drops .drop {
	position: absolute;
	width: 120px;
	height: 350px;
	background: radial-gradient(
		circle at 30% 10%,
		rgba(255, 122, 111, 0.8),
		rgba(255, 43, 47, 0.4) 55%,
		transparent 70%
	);
	filter: blur(15px);
	opacity: 0;
}

.section-drops.active .drop {
	animation: sectionDrop 8s ease-in-out infinite;
}

.section-drops .drop-1 {
	left: 20%;
	animation-delay: 0.5s;
}

.section-drops .drop-2 {
	left: 50%;
	width: 100px;
	height: 320px;
	animation-delay: 1.5s;
}

.section-drops .drop-3 {
	right: 20%;
	width: 140px;
	height: 380px;
	animation-delay: 2.5s;
}

@keyframes sectionDrop {
	0% {
		transform: translateY(-120%);
		opacity: 0;
	}
	10% {
		opacity: 0.6;
	}
	90% {
		opacity: 0.5;
	}
	100% {
		transform: translateY(120%);
		opacity: 0;
	}
}

.bg-drop {
	position: absolute;
	width: 180px;
	height: 480px;
	background: radial-gradient(
		circle at 30% 10%,
		rgba(255, 122, 111, 0.7),
		rgba(255, 43, 47, 0.3) 55%,
		transparent 70%
	);
	filter: blur(10px);
	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;
}

.container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 2rem;
	width: 100%;
	box-sizing: border-box;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

/* Responsive container padding for mobile consistency */
@media (max-width: 1024px) {
	.container {
		padding: 0 1.8rem;
	}
}

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

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

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

/* 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(255, 0, 128, 0.08);
	border: 1px solid rgba(255, 0, 128, 0.2);
	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(255, 0, 128, 0.2),
		rgba(255, 0, 128, 0.05)
	);
	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(255, 0, 128, 0.1);
	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(255, 0, 128, 0.5);
	background: linear-gradient(
		135deg,
		rgba(255, 0, 128, 0.3),
		rgba(255, 0, 128, 0.1)
	);
}

.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(255, 0, 128, 0.05);
	border: 1px solid rgba(255, 0, 128, 0.2);
	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 {
	font-size: 0.9rem;
	transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-link:hover {
	color: #0a0a0a;
	transform: scale(1.15);
	box-shadow: 0 6px 16px rgba(255, 0, 128, 0.3);
}

.nav-link:hover .nav-icon {
	transform: scale(1.2);
}

/* Active state for current section */
.nav-link.active {
	background: var(--primary);
	border-color: var(--primary);
	color: #0a0a0a;
	box-shadow: 0 8px 24px rgba(255, 0, 128, 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 !important;
	}
}

/* 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(255, 0, 128, 0.08) 0%,
		transparent 60%
	);
}

/* Hero text always visible */
.hero h1,
.hero h2,
.hero h3,
.hero h4,
.hero h5,
.hero h6,
.hero p,
.hero a,
.hero span,
.hero li {
	opacity: 1 !important;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(
			circle at 20% 30%,
			rgba(150, 100, 150, 0.15) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 80% 70%,
			rgba(100, 120, 140, 0.12) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 40% 60%,
			rgba(180, 80, 100, 0.1) 0%,
			transparent 40%
		),
		radial-gradient(
			circle at 70% 20%,
			rgba(120, 140, 160, 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(130, 90, 130, 0.1) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 25% 75%,
			rgba(110, 110, 150, 0.08) 0%,
			transparent 45%
		),
		radial-gradient(
			circle at 85% 45%,
			rgba(140, 100, 120, 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: var(--primary);
	color: #0a0a0a;
	font-weight: 700;
	box-shadow: 0 4px 14px rgba(255, 0, 128, 0.4);
}

.btn-primary:hover {
	background: var(--primary-hover);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(255, 0, 128, 0.5);
}

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

.btn-outline:hover {
	background: var(--primary);
	color: #0a0a0a;
	font-weight: 700;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(255, 0, 128, 0.3);
}

/* Section Styles */
section {
	padding: 8rem 0;
	position: relative;
	z-index: 1;
	word-wrap: break-word;
	overflow-wrap: break-word;
	word-break: break-word;
}

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: rgba(15, 15, 15, 0.85);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	border-top: 1px solid var(--border);
	position: relative;
}

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

.stats-row .stat-item {
	background: rgba(26, 26, 26, 0.7);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	border: 1px solid rgba(255, 43, 47, 0.2);
	border-radius: 1rem;
	padding: 1.75rem;
	text-align: center;
	opacity: 0;
	transform: translateY(40px);
	transition: all 0.8s var(--ease-out);
}

.stats-row .stat-item:hover {
	background: rgba(26, 26, 26, 0.9);
	border-color: var(--primary);
	transform: translateY(-5px) scale(1.02);
	box-shadow: 0 10px 30px rgba(255, 43, 47, 0.3);
}

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

.stat-number {
	display: 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);
}

.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: repeat(auto-fit, minmax(300px, 1fr));
	gap: 3rem;
	align-items: center;
}

.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;
}

.skill-group h3 {
	margin-bottom: 1rem;
	font-size: 1.25rem;
	color: var(--text);
}

.skill-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.skill-tag {
	padding: 0.5rem 1.25rem;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: var(--bg);
	font-size: 0.9rem;
	letter-spacing: 0.03em;
}

.about-image img {
	width: 100%;
	border-radius: 1.5rem;
	object-fit: cover;
	min-height: 320px;
	border: 1px solid var(--border);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.skill-matrix {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 2rem;
	margin-top: 2.5rem;
	padding: 1.5rem;
	border: 1px solid rgba(255, 43, 47, 0.2);
	border-radius: 1.25rem;
	background: rgba(26, 26, 26, 0.6);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	transition: all 0.4s ease;
}

.skill-matrix:hover {
	background: rgba(26, 26, 26, 0.8);
	border-color: var(--primary);
	box-shadow: 0 10px 30px rgba(255, 43, 47, 0.15);
}

.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 Section */
.clients {
	background: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	border-top: 1px solid var(--border);
}

/* Project Filters */
.project-filters {
	display: flex;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 4rem;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.8s var(--ease-out);
}

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

.filter-btn {
	padding: 0.75rem 1.5rem;
	border: 2px solid rgba(255, 43, 47, 0.3);
	background: transparent;
	color: var(--text-light);
	border-radius: 50px;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
	letter-spacing: 0.05em;
}

.filter-btn:hover {
	border-color: var(--primary);
	color: var(--primary);
	transform: scale(1.05);
}

.filter-btn.active {
	background: var(--primary);
	color: #0a0a0a;
	border-color: var(--primary);
	box-shadow: 0 8px 20px rgba(255, 43, 47, 0.4);
}

/* Projects Section */
.projects-section {
	opacity: 1;
	transform: translateY(0);
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	display: block;
	margin-bottom: 2rem;
}

.projects-section.hidden {
	display: none;
	opacity: 0;
	transform: translateY(20px);
	pointer-events: none;
}

.category-header {
	margin-bottom: 2rem;
	padding: 0;
	background: none;
}

.category-header h3 {
	font-size: 1.75rem;
	margin-bottom: 0.75rem;
	color: var(--text);
	font-weight: 700;
}

.category-header p {
	color: var(--text-light);
	max-width: 720px;
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

.category-cta {
	margin-top: 1.5rem;
}

.category-cta .btn {
	width: auto;
	display: inline-block;
}

.projects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
	margin-top: 2.5rem;
	opacity: 1;
	transform: translateY(0);
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.projects-grid-wrapper {
	width: 100%;
}

.branding-grid {
	margin-bottom: 0;
}

.web-grid {
	margin-top: 2.5rem;
}

/* Smooth transitions for filter animations */
.projects-section {
	opacity: 1;
	transform: translateY(0);
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card {
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	border: 1px solid rgba(255, 43, 47, 0.2);
	border-radius: 1rem;
	padding: 2rem;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
	min-height: auto;
	height: 100%;
	position: relative;
	overflow: hidden;
	--rotate-x: 0deg;
	--rotate-y: 0deg;
	--card-scale: 1;
	word-wrap: break-word;
	overflow-wrap: break-word;
	word-break: break-word;
}

.project-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(
		circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
		rgba(255, 43, 47, 0.1) 0%,
		rgba(255, 43, 47, 0) 50%
	);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
	z-index: 0;
}

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

.project-card:hover {
	background: rgba(0, 0, 0, 0.85);
	border-color: var(--primary);
	transform: perspective(1000px) rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg)) scale(var(--card-scale, 1.04)) translateY(-12px);
	box-shadow: 0 25px 60px rgba(255, 43, 47, 0.4);
}

/* Hidden state for filtering */
.projects-section.is-hidden,
.projects-grid.is-hidden {
	opacity: 0;
	transform: translateY(-20px);
	pointer-events: none;
	transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.projects-section:not(.is-hidden),
.projects-grid:not(.is-hidden) {
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card h4 {
	font-size: 1.2rem;
	margin-bottom: 0.75rem;
	font-weight: 700;
	color: var(--text);
	position: relative;
	z-index: 1;
	transition: all 0.3s ease;
}

.project-card:hover h4 {
	color: var(--primary);
	transform: translateX(4px);
}

.project-card p {
	color: var(--text-light);
	font-size: 0.95rem;
	margin-bottom: 1.25rem;
	line-height: 1.7;
	flex-grow: 1;
	position: relative;
	z-index: 1;
	transition: all 0.3s ease;
}

.project-card:hover p {
	color: var(--text);
}

.project-skills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
	margin-top: auto;
	position: relative;
	z-index: 1;
}

.project-skills .skill-chip {
	padding: 0.4rem 1rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 43, 47, 0.3);
	background: rgba(255, 43, 47, 0.08);
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--text-light);
	font-weight: 500;
}

.project-link {
	font-size: 0.9rem;
	color: var(--primary);
	text-decoration: none;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	transition: gap 0.3s ease;
}

.project-link:hover {
	gap: 0.8rem;
}

/* Experience Section */
.experience {
	background: rgba(15, 15, 15, 0.85);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	border-top: 1px solid var(--border);
}

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

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

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

/* --- EXPERIENCE TIMELINE: BUILT FOR SCALABILITY --- */
/* Uses flex-direction: column for vertical stacking */
/* Adding new .experience-item elements automatically stacks them with consistent spacing */
.experience-list {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	width: 100%;
}

.experience-item {
	border: 1px solid rgba(255, 43, 47, 0.2);
	border-radius: 1.5rem;
	padding: 2.5rem;
	background: rgba(26, 26, 26, 0.7);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	position: relative;
	opacity: 0;
	transform: translateY(60px);
	transition: all 0.6s var(--ease-out);
	word-wrap: break-word;
	overflow-wrap: break-word;
	word-break: break-word;
}

.experience-item:hover {
	background: rgba(26, 26, 26, 0.9);
	border-color: var(--primary);
	transform: translateY(-6px) scale(1.01);
	box-shadow: 0 15px 40px rgba(255, 43, 47, 0.25);
}

.experience-item.animated {
	opacity: 1;
	transform: translateY(0);
}

.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;
}

.experience-item h3 {
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
	font-weight: 700;
}

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

.experience-item p {
	color: var(--text-light);
	line-height: 1.8;
	font-size: 0.95rem;
}

/* Contact Section */
.contact {
	background: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	border-top: 1px solid var(--border);
	position: relative;
	padding: 4rem 0 2rem 0;
	min-height: auto;
}

.contact .container {
	padding-top: 0;
	padding-bottom: 0;
}

.contact-content {
	max-width: 820px;
	margin: 0 auto 2rem;
	padding: 0;
	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: 0 auto 1.5rem;
	line-height: 1.8;
}

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

.contact-details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.5rem;
	padding: 2rem;
	padding-bottom: 2rem;
	margin: 1rem auto 0;
	margin-bottom: 0;
	border: 1px solid rgba(255, 43, 47, 0.2);
	border-radius: 1.25rem;
	background: rgba(26, 26, 26, 0.7);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	opacity: 0;
	transform: translateY(40px);
	transition: all 1s var(--ease-out);
}

.contact-details:hover {
	background: rgba(26, 26, 26, 0.85);
	border-color: var(--primary);
	transform: translateY(-5px);
	box-shadow: 0 12px 35px rgba(255, 43, 47, 0.2);
}

.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: 1.5rem 0;
	text-align: center;
	width: 100%;
	margin-top: auto;
}

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

/* --- MOBILE NAVIGATION HEADER (Mobile Only) --- */


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

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

/* 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);
}

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

	section::before {
		display: none;
	}

	.container {
		padding: 0 1.5rem;
	}

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

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

	.hero-subtitle {
		font-size: 1rem;
	}

	.hero-cta {
		flex-direction: column;
		gap: 1rem;
	}

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

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

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

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

	.about-image {
		order: -1;
	}

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

	.skill-matrix {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

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

	.project-card {
		padding: 1.5rem;
	}

	.project-card h4 {
		font-size: 1rem;
	}

	.client-category {
		padding: 1.75rem;
		margin-bottom: 2rem;
	}

	.project-filters {
		gap: 0.75rem;
		margin-bottom: 3rem;
	}

	.filter-btn {
		padding: 0.65rem 1.25rem;
		font-size: 0.85rem;
	}

	.category-header {
		margin-bottom: 1.5rem;
	}

	.category-header h3 {
		font-size: 1.5rem;
		margin-bottom: 0.5rem;
		line-height: 1.3;
	}

	.category-header p {
		font-size: 0.9rem;
		line-height: 1.6;
		margin-bottom: 1rem;
	}

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

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

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

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

	.experience-item {
		padding: 1.5rem;
	}

	.experience-item h3 {
		font-size: 1.2rem;
	}

	.experience-period {
		font-size: 0.75rem;
	}

	.contact-content {
		margin-bottom: 2rem;
	}

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

	.contact-cta {
		flex-direction: column;
		gap: 1rem;
	}

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

/* Extra small devices */
@media (max-width: 480px) {
	section {
		padding: 3.5rem 0;
	}

	.container {
		padding: 0 1rem;
	}

	.hero {
		padding: 3rem 0;
		min-height: 80vh;
	}

	.hero-title {
		font-size: 1.8rem;
		line-height: 1.2;
		margin-bottom: 1.5rem;
	}

	.hero-subtitle {
		font-size: 0.9rem;
		margin-bottom: 1.5rem;
	}

	.hero-description {
		font-size: 0.9rem;
		margin-bottom: 2rem;
	}

	.hero-cta {
		flex-direction: column;
		gap: 0.75rem;
		margin-bottom: 2rem;
	}

	.btn {
		padding: 0.9rem 1.5rem;
		font-size: 0.9rem;
	}

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

	.project-filters {
		gap: 0.5rem;
		margin-bottom: 2.5rem;
	}

	.filter-btn {
		padding: 0.6rem 1rem;
		font-size: 0.8rem;
	}

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

	.stat-item {
		padding: 1.25rem;
	}

	.stat-number {
		font-size: 2rem;
		margin-bottom: 0.25rem;
	}

	.about-layout {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.about-text h2 {
		font-size: 1.25rem;
		margin-bottom: 1rem;
	}

	.about-text p {
		font-size: 0.9rem;
		margin-bottom: 1rem;
	}

	.skill-tags {
		gap: 0.5rem;
	}

	.skill-tag {
		padding: 0.4rem 0.8rem;
		font-size: 0.8rem;
	}

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

	.project-card {
		padding: 1.25rem;
	}

	.project-card h4 {
		font-size: 0.95rem;
		margin-bottom: 0.5rem;
	}

	.project-card p {
		font-size: 0.85rem;
		margin-bottom: 0.75rem;
	}

	.skill-chip {
		padding: 0.3rem 0.7rem;
		font-size: 0.65rem;
	}

	.project-link {
		font-size: 0.85rem;
	}

	.category-header {
		margin-bottom: 1.2rem;
	}

	.category-header h3 {
		font-size: 1.25rem;
		margin-bottom: 0.5rem;
		line-height: 1.3;
	}

	.category-header p {
		font-size: 0.9rem;
		line-height: 1.6;
		margin-bottom: 1rem;
	}

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

	.experience-list {
		gap: 1.5rem;
	}

	.experience-item {
		padding: 1.25rem;
	}

	.experience-item h3 {
		font-size: 1rem;
		margin-bottom: 0.25rem;
	}

	.experience-location {
		font-size: 0.85rem;
		margin-bottom: 0.75rem;
	}

	.experience-item p {
		font-size: 0.85rem;
	}

	.contact-content {
		margin-bottom: 1.5rem;
	}

	.contact-lead {
		font-size: 0.9rem;
		margin: 1rem auto 1.5rem;
	}

	.contact-details {
		grid-template-columns: 1fr;
		padding: 1.25rem;
		gap: 1rem;
	}

	.detail-label {
		font-size: 0.75rem;
	}

	.contact-cta {
		flex-direction: column;
		gap: 0.75rem;
	}

	.contact-cta .btn {
		width: 100%;
		font-size: 0.9rem;
	}
}

/* --- CUSTOM CURSOR STYLING --- */
.custom-cursor {
	position: fixed;
	width: 24px;
	height: 24px;
	background: radial-gradient(circle, rgba(255, 43, 47, 0.8), rgba(255, 43, 47, 0.2));
	border: 2px solid rgba(255, 43, 47, 0.6);
	border-radius: 50%;
	pointer-events: none;
	z-index: 10000;
	transform: translate(-12px, -12px);
	opacity: 0;
	transition: opacity 0.3s ease;
	mix-blend-mode: screen;
	box-shadow: 0 0 20px rgba(255, 43, 47, 0.5), 0 0 40px rgba(255, 43, 47, 0.2);
	animation: cursor-pulse 1.5s ease-in-out infinite;
}

@keyframes cursor-pulse {
	0%,
	100% {
		box-shadow: 0 0 20px rgba(255, 43, 47, 0.5), 0 0 40px rgba(255, 43, 47, 0.2);
	}
	50% {
		box-shadow: 0 0 30px rgba(255, 43, 47, 0.8), 0 0 60px rgba(255, 43, 47, 0.4);
	}
}

/* --- PEN TOOL CURSOR EFFECT --- */
.custom-cursor::after {
	content: "";
	position: absolute;
	width: 3px;
	height: 12px;
	background: linear-gradient(180deg, var(--primary), transparent);
	left: 10px;
	top: 16px;
	transform: rotate(45deg);
	border-radius: 2px;
	opacity: 0.8;
	box-shadow: 0 2px 5px rgba(255, 43, 47, 0.4);
}

/* --- SKILL TAGS STAGGER ANIMATION --- */
.skill-tag {
	opacity: 0;
	transform: translateX(-20px);
	transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
}

.skill-tag:hover {
	background: rgba(255, 43, 47, 0.15);
	border-color: var(--primary);
	transform: translateX(4px);
	color: var(--primary);
	box-shadow: 0 0 15px rgba(255, 43, 47, 0.3);
}

/* --- EXPERIENCE ITEM INTERACTIVE --- */
.experience-item {
	transition: all 0.3s ease;
	padding: 2rem;
	border-radius: 8px;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.experience-item::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 43, 47, 0.05),
		transparent
	);
	transition: left 0.5s ease;
}

.experience-item:hover::before {
	left: 100%;
}

.experience-item:hover {
	background: rgba(255, 43, 47, 0.05);
	border-color: var(--primary);
	transform: translateX(8px);
}

.experience-item.expanded {
	background: rgba(255, 43, 47, 0.1);
	border-color: var(--primary);
}

/* --- PROJECT CARD STAGGER ANIMATION --- */
.project-card.card-animated {
	animation: card-slide-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes card-slide-up {
	from {
		opacity: 0;
		transform: translateY(30px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

/* --- ENHANCED PROJECT CARDS WITH 3D EFFECT --- */
.project-card {
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	transform-style: preserve-3d;
	position: relative;
	overflow: hidden;
}

.project-card:hover {
	transform: perspective(1000px) rotateX(-5deg) rotateY(5deg) scale(1.05);
}

.project-card:hover h4 {
	color: var(--primary);
	text-shadow: 0 0 10px rgba(255, 43, 47, 0.5);
}

.project-card:hover .skill-chip {
	border-color: var(--primary);
	background: rgba(255, 43, 47, 0.15);
	color: var(--primary);
}

/* --- SKILL FILTER ACTIVE STATE --- */
.skill-chip.active-filter {
	background: var(--primary);
	color: var(--bg);
	border-color: var(--primary);
	font-weight: 600;
	box-shadow: 0 0 20px rgba(255, 43, 47, 0.5);
	transform: scale(1.1);
}

/* --- PARALLAX ELEMENTS --- */
[data-parallax] {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	transition: transform 0.1s linear;
	transform: translateY(var(--parallax-y, 0px));
	--parallax-y: 0px;
}

/* --- SMOOTH SCROLL PROGRESS --- */
:root {
	--scroll-progress: 0%;
}

/* --- HIDDEN STATE FOR FILTERED PROJECTS --- */
.project-card {
	transition: opacity 0.4s ease, transform 0.4s ease;
}

/* --- EXPERIENCE TIMELINE STYLING --- */
.experience-list {
	position: relative;
	padding: 2rem 0 2rem 60px;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.experience-list::before {
	content: "";
	position: absolute;
	left: 8px;
	top: 0;
	bottom: 0;
	width: 2px;
	background: linear-gradient(
		180deg,
		transparent 0%,
		var(--primary) 20%,
		var(--primary) 80%,
		transparent 100%
	);
	opacity: 0.4;
}

.experience-item {
	position: relative;
	padding: 1.5rem;
	border-radius: 0.75rem;
	cursor: pointer;
	transition: all 0.3s ease;
	left: 0;
}

.experience-item::before {
	content: "";
	position: absolute;
	left: -52px;
	top: 24px;
	width: 14px;
	height: 14px;
	background: var(--primary);
	border: 3px solid var(--bg);
	border-radius: 50%;
	z-index: 2;
	transition: all 0.3s ease;
	box-shadow: 0 0 0 rgba(255, 43, 47, 0.5);
}

.experience-item:hover::before {
	width: 18px;
	height: 18px;
	left: -55px;
	top: 21px;
	background: var(--primary-light);
	box-shadow: 0 0 20px var(--primary), inset 0 0 10px rgba(255, 43, 47, 0.3);
	border-width: 2px;
}

/* --- FLOATING ANIMATION --- */
@keyframes float {
	0%,
	100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-10px);
	}
}

.skill-tag:nth-child(odd) {
	animation: float 3s ease-in-out infinite;
}

.skill-tag:nth-child(even) {
	animation: float 4s ease-in-out infinite reverse;
}

/* --- SECTION REVEAL ANIMATION --- */
.projects-section {
	animation: section-fade-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes section-fade-in {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* --- COMPREHENSIVE RESPONSIVE DESIGN SYSTEM --- */

/* Large Screens (1200px+) */
@media (min-width: 1200px) {
	.container {
		max-width: 1200px;
	}

	.projects-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.skill-matrix {
		grid-template-columns: repeat(2, 1fr);
	}

	.stats-row {
		grid-template-columns: repeat(3, 1fr);
	}

	.experience-list {
		padding: 2rem 0 2rem 80px;
	}

	.experience-item::before {
		left: -68px;
		width: 16px;
		height: 16px;
	}

	.experience-item:hover::before {
		width: 20px;
		height: 20px;
		left: -70px;
	}
}

/* Medium Screens (769px - 1199px) */
@media (min-width: 769px) and (max-width: 1199px) {
	.projects-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.skill-matrix {
		grid-template-columns: repeat(2, 1fr);
	}

	.stats-row {
		grid-template-columns: repeat(3, 1fr);
	}

	.experience-list {
		padding: 2rem 0 2rem 70px;
	}

	.experience-item::before {
		left: -60px;
		width: 14px;
		height: 14px;
	}

	.experience-item:hover::before {
		width: 18px;
		height: 18px;
		left: -62px;
	}
}

/* Tablet (577px - 768px) */
@media (max-width: 768px) {
	/* Ensure all grid-based layouts are responsive */
	.projects-grid {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
		gap: 1.5rem;
	}

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

	.stats-row {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}

	.experience-list {
		padding: 2rem 0 2rem 55px;
	}

	.experience-item::before {
		left: -48px;
		width: 12px;
		height: 12px;
	}

	.experience-item:hover::before {
		width: 16px;
		height: 16px;
		left: -50px;
	}

	.experience-list::before {
		left: 6px;
	}

	/* Ensure text remains readable */
	.project-card {
		padding: 1.5rem;
		min-height: 280px;
	}

	.project-card h4 {
		font-size: 1.05rem;
	}

	.project-card p {
		font-size: 0.9rem;
		line-height: 1.6;
	}

	.skill-chip {
		padding: 0.35rem 0.8rem;
		font-size: 0.7rem;
	}

	/* Floating navigation should remain accessible */
	.floating-nav {
		width: auto;
		gap: 1rem;
	}

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

	.nav-link {
		padding: 0.6rem 0.8rem;
		font-size: 0.8rem;
	}

	/* Ensure filter buttons wrap well */
	.project-filters {
		flex-wrap: wrap;
		gap: 0.75rem;
	}

	.filter-btn {
		padding: 0.7rem 1.2rem;
		font-size: 0.85rem;
	}

	/* Category headers on tablet */
	.category-header {
		margin-bottom: 1.5rem;
	}

	.category-header h3 {
		font-size: 1.6rem;
		line-height: 1.3;
		margin-bottom: 0.5rem;
	}

	.category-header p {
		font-size: 0.95rem;
		line-height: 1.6;
		margin-bottom: 1rem;
	}

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

	/* Contact section responsive */
	.contact-details {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
		padding: 1.5rem;
	}

	.contact-cta {
		flex-direction: row;
		gap: 1rem;
		flex-wrap: wrap;
	}

	.contact-cta .btn {
		flex: 1;
		min-width: 200px;
	}

	/* Skill matrix responsive */
	.skill-column {
		padding: 1rem;
	}

	.skill-column-header span {
		font-size: 0.95rem;
	}

	.skill-list {
		gap: 0.5rem;
	}

	.skill-list li {
		font-size: 0.9rem;
	}
}

/* --- RESPONSIVE PADDING & SPACING FOR SCALABILITY --- */
/* Desktop - Large (1024px and above) */
@media (min-width: 1025px) {
	/* Optimal spacing for desktop layouts */
	.section-title {
		margin-bottom: 5rem;
	}

	/* Grid gaps scale with content */
	.projects-grid {
		gap: 2.5rem;
	}

	.experience-list {
		gap: 3rem;
	}
}

/* Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
	section {
		padding: 6rem 0;
	}

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

	/* Adjust gaps for tablet */
	.projects-grid {
		gap: 2rem;
	}

	.experience-list {
		gap: 2.5rem;
	}
}

/* Small Tablet/Large Phone (577px - 768px) */
@media (min-width: 577px) and (max-width: 768px) {
	section {
		padding: 5rem 0;
	}

	.section-title {
		font-size: clamp(1.8rem, 4vw, 2.8rem);
		margin-bottom: 3.5rem;
	}

	/* Mobile-friendly gaps */
	.projects-grid {
		gap: 1.5rem;
	}

	.experience-list {
		gap: 2rem;
	}
}

/* Mobile (481px - 576px) */
@media (min-width: 481px) and (max-width: 576px) {
	section {
		padding: 4rem 0;
	}

	.section-title {
		font-size: clamp(1.5rem, 3.5vw, 2rem);
		margin-bottom: 2.5rem;
	}

	.projects-grid {
		gap: 1.2rem;
	}

	.experience-list {
		gap: 1.8rem;
	}
}

/* Extra Small Mobile (≤480px) */
@media (max-width: 480px) {
	section {
		padding: 3rem 0;
	}

	.section-title {
		font-size: clamp(1.3rem, 3vw, 1.8rem);
		margin-bottom: 2rem;
	}

	.projects-grid {
		gap: 1rem;
	}

	.experience-list {
		gap: 1.5rem;
	}
}

/* Mobile (small phones 481px - 576px) */
@media (max-width: 576px) {
	.container {
		padding: 0 1.2rem;
	}

	section {
		padding: 4rem 0;
	}

	.hero {
		padding: 3rem 0;
		min-height: 85vh;
	}

	.hero-title {
		font-size: 1.8rem;
		line-height: 1.2;
		margin-bottom: 1rem;
	}

	.hero-subtitle {
		font-size: 0.95rem;
		margin-bottom: 1.2rem;
	}

	.hero-description {
		font-size: 0.85rem;
		line-height: 1.6;
		margin-bottom: 1.5rem;
	}

	/* Projects grid single column on small mobile */
	.projects-grid {
		grid-template-columns: 1fr;
		gap: 1.2rem;
		margin-top: 1.5rem;
	}

	.projects-grid-wrapper {
		width: 100%;
	}

	.branding-grid {
		margin-bottom: 1.5rem;
	}

	.web-grid {
		margin-top: 1.5rem;
	}

	.project-card {
		padding: 1.2rem;
		min-height: auto;
	}

	.project-card h4 {
		font-size: 1rem;
		margin-bottom: 0.5rem;
	}

	.project-card p {
		font-size: 0.85rem;
		margin-bottom: 0.8rem;
	}

	.project-skills {
		gap: 0.4rem;
		margin-bottom: 1rem;
	}

	.skill-chip {
		padding: 0.3rem 0.7rem;
		font-size: 0.65rem;
		letter-spacing: 0.02em;
	}

	/* Section titles */
	.section-title {
		font-size: 1.5rem;
		margin-bottom: 2rem;
	}

	/* Stats on small mobile */
	.stats-row {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.stat-item {
		padding: 1rem;
	}

	.stat-number {
		font-size: 2rem;
	}

	.stat-label {
		font-size: 0.8rem;
	}

	/* Experience timeline on small mobile */
	.experience-list {
		padding: 2rem 0 2rem 45px;
		gap: 1.5rem;
	}

	.experience-item {
		padding: 1rem;
	}

	.experience-item::before {
		left: -40px;
		width: 10px;
		height: 10px;
		top: 20px;
	}

	.experience-item:hover::before {
		width: 14px;
		height: 14px;
		left: -42px;
	}

	.experience-list::before {
		left: 5px;
	}

	.experience-period {
		font-size: 0.75rem;
	}

	.experience-item h3 {
		font-size: 0.95rem;
		margin-bottom: 0.25rem;
	}

	.experience-location {
		font-size: 0.8rem;
		margin-bottom: 0.5rem;
	}

	.experience-item p {
		font-size: 0.8rem;
		line-height: 1.5;
	}

	/* Filter buttons */
	.project-filters {
		flex-direction: column;
		gap: 0.6rem;
	}

	.filter-btn {
		width: 100%;
		padding: 0.65rem 1rem;
		font-size: 0.8rem;
	}

	.filter-hint {
		font-size: 0.75rem;
		margin: 0.8rem 0 !important;
	}

	/* Contact section */
	.contact-details {
		grid-template-columns: 1fr;
		gap: 1.2rem;
		padding: 1rem;
	}

	.detail-label {
		font-size: 0.7rem;
		margin-bottom: 0.3rem;
	}

	.contact-details a,
	.contact-details p {
		font-size: 0.9rem;
	}

	.contact-cta {
		flex-direction: column;
		gap: 0.8rem;
	}

	.contact-cta .btn {
		width: 100%;
		padding: 0.85rem 1.5rem;
		font-size: 0.85rem;
	}

	/* About section */
	.about-layout {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.about-text h2 {
		font-size: 1.25rem;
		margin-bottom: 0.8rem;
	}

	.about-text p {
		font-size: 0.85rem;
		line-height: 1.6;
		margin-bottom: 0.8rem;
	}

	.skill-matrix {
		grid-template-columns: 1fr;
		gap: 1rem;
		padding: 1rem;
		margin-top: 1.5rem;
	}

	.skill-column {
		padding: 0.8rem;
	}

	.skill-column-header span {
		font-size: 0.9rem;
	}

	.skill-list {
		gap: 0.4rem;
	}

	.skill-list li {
		font-size: 0.85rem;
	}

	/* Buttons general */
	.btn {
		padding: 0.85rem 1.5rem;
		font-size: 0.85rem;
		border-radius: 0.6rem;
		width: 100%;
	}

	.btn-primary,
	.btn-outline {
		width: 100%;
	}

	/* Category headers */
	.category-header h3 {
		font-size: 1.4rem;
		margin-bottom: 0.5rem;
		line-height: 1.3;
	}

	.category-header p {
		font-size: 0.85rem;
		line-height: 1.6;
		margin-bottom: 1rem;
	}

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

	/* About image */
	.about-image img {
		min-height: 280px;
		border-radius: 1rem;
	}

	/* Floating nav adjustment */
	.floating-nav {
		right: 1rem;
		bottom: 2rem;
	}

	.nav-logo {
		width: 2.5rem;
		height: 2.5rem;
		font-size: 1.2rem;
	}

	.nav-link {
		width: 2.8rem;
		height: 2.8rem;
		font-size: 0.7rem;
	}
}

/* Extra Small Phones (up to 480px) */
@media (max-width: 480px) {
	.container {
		padding: 0 1rem;
	}

	section {
		padding: 3rem 0;
	}

	.hero {
		padding: 2.5rem 0;
		min-height: 80vh;
	}

	.hero-title {
		font-size: 1.5rem;
		line-height: 1.2;
		margin-bottom: 0.8rem;
	}

	.hero-label {
		font-size: 0.8rem;
	}

	.hero-subtitle {
		font-size: 0.9rem;
		margin-bottom: 1rem;
	}

	.hero-description {
		font-size: 0.8rem;
		line-height: 1.5;
		margin-bottom: 1.2rem;
	}

	.hero-trusted {
		font-size: 0.75rem;
	}

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

	.projects-grid-wrapper {
		padding: 0;
	}

	.project-card {
		padding: 1rem;
		border-radius: 0.8rem;
	}

	.project-card h4 {
		font-size: 0.95rem;
		margin-bottom: 0.4rem;
	}

	.project-card p {
		font-size: 0.8rem;
		margin-bottom: 0.6rem;
	}

	.project-skills {
		gap: 0.3rem;
		margin-bottom: 0.8rem;
	}

	.skill-chip {
		padding: 0.25rem 0.6rem;
		font-size: 0.6rem;
		text-transform: uppercase;
	}

	.project-link {
		font-size: 0.8rem;
	}

	/* Section titles */
	.section-title {
		font-size: 1.4rem;
		margin-bottom: 1.8rem;
		line-height: 1.2;
	}

	/* Stats */
	.stats-row {
		grid-template-columns: 1fr;
		gap: 0.8rem;
	}

	.stat-item {
		padding: 0.8rem;
		border-radius: 0.8rem;
	}

	.stat-number {
		font-size: 1.8rem;
		margin-bottom: 0.2rem;
	}

	.stat-label {
		font-size: 0.75rem;
	}

	/* Experience */
	.experience-list {
		padding: 1.5rem 0 1.5rem 40px;
		gap: 1.2rem;
	}

	.experience-item {
		padding: 0.9rem;
		border-radius: 0.7rem;
		margin: 0;
	}

	.experience-item::before {
		left: -35px;
		width: 9px;
		height: 9px;
		top: 18px;
	}

	.experience-item:hover::before {
		width: 12px;
		height: 12px;
		left: -37px;
	}

	.experience-list::before {
		left: 4px;
	}

	.experience-period {
		font-size: 0.7rem;
		display: block;
		margin-bottom: 0.3rem;
	}

	.experience-item h3 {
		font-size: 0.9rem;
		margin-bottom: 0.2rem;
	}

	.experience-location {
		font-size: 0.75rem;
		margin-bottom: 0.4rem;
	}

	.experience-item p {
		font-size: 0.75rem;
		line-height: 1.5;
	}

	/* Buttons */
	.btn {
		padding: 0.8rem 1.2rem;
		font-size: 0.8rem;
		border-radius: 0.6rem;
		width: 100%;
	}

	.hero-cta {
		flex-direction: column;
		gap: 0.6rem;
	}

	.contact-cta {
		flex-direction: column;
		gap: 0.6rem;
	}

	/* Filter */
	.project-filters {
		flex-direction: column;
		gap: 0.5rem;
		margin-bottom: 2rem;
	}

	.filter-btn {
		width: 100%;
		padding: 0.6rem 1rem;
		font-size: 0.75rem;
	}

	.filter-hint {
		font-size: 0.7rem;
		margin: 0.6rem 0 !important;
	}

	/* Contact details */
	.contact-details {
		grid-template-columns: 1fr;
		gap: 1rem;
		padding: 0.8rem;
	}

	.detail-label {
		font-size: 0.65rem;
		text-transform: uppercase;
		letter-spacing: 0.05em;
	}

	.contact-details a,
	.contact-details p {
		font-size: 0.85rem;
	}

	.contact-content {
		margin-bottom: 1.2rem;
	}

	.contact-lead {
		font-size: 0.85rem;
		line-height: 1.6;
	}

	/* Skill matrix */
	.skill-matrix {
		grid-template-columns: 1fr;
		gap: 0.8rem;
		padding: 0.8rem;
		margin-top: 1.2rem;
		border-radius: 1rem;
	}

	.skill-column {
		padding: 0.6rem;
	}

	.skill-column-header span {
		font-size: 0.85rem;
	}

	.skill-list {
		gap: 0.35rem;
	}

	.skill-list li {
		font-size: 0.8rem;
	}

	.divider {
		margin-top: 0.4rem;
	}

	/* Category */
	.category-header {
		margin-bottom: 1.2rem;
	}

	.category-header h3 {
		font-size: 1.3rem;
		margin-bottom: 0.4rem;
		line-height: 1.3;
	}

	.category-header p {
		font-size: 0.8rem;
		line-height: 1.5;
		margin-bottom: 0.8rem;
	}

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

	/* About */
	.about-layout {
		grid-template-columns: 1fr;
		gap: 1.2rem;
	}

	.about-text h2 {
		font-size: 1.15rem;
		margin-bottom: 0.6rem;
	}

	.about-text p {
		font-size: 0.8rem;
		line-height: 1.6;
		margin-bottom: 0.6rem;
	}

	.skill-group h3 {
		font-size: 1rem;
		margin-bottom: 0.6rem;
	}

	.skill-tags {
		gap: 0.4rem;
	}

	.skill-tag {
		padding: 0.35rem 0.8rem;
		font-size: 0.75rem;
	}

	.about-image img {
		min-height: 250px;
		border-radius: 0.8rem;
	}

	/* Navigation */
	.floating-nav {
		right: 0.8rem;
		bottom: 1.5rem;
		gap: 0.4rem;
	}

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

	.nav-link {
		width: 2.4rem;
		height: 2.4rem;
		font-size: 0.65rem;
	}

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

	/* Footer */
	.footer {
		padding: 1.25rem 0;
		width: 100%;
		overflow-x: hidden;
		margin-top: 0;
	}

	.footer p {
		font-size: 0.75rem;
		word-break: break-word;
		overflow-wrap: break-word;
		white-space: normal;
		padding: 0 0.5rem;
		margin: 0;
	}
}
