/* Variables */
:root {
	--primary-color: #8b5cf6;
	--secondary-color: #7c3aed;
	--accent-color: #4c1d95;
	--background-color: #0a0a0a;
	--glass-background: rgba(255, 255, 255, 0.1);
	--glass-border: rgba(255, 255, 255, 0.2);
	--text-color: #ffffff;
	--text-secondary: rgba(255, 255, 255, 0.7);
	--font-family: "Poppins", sans-serif;
	--transition-speed: 0.3s;
}

/* Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: var(--font-family);
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-family);
	background: var(--background-color);
	color: var(--text-color);
	min-height: 100vh;
	overflow-x: hidden;
	line-height: 1.6;
	cursor: none !important;
	position: relative;
}

body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1), transparent 70%),
				radial-gradient(circle at 80% 20%, rgba(109, 40, 217, 0.1), transparent 50%);
	z-index: -1;
	pointer-events: none;
}

/* Particles Background */
#particles-js {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	pointer-events: none;
}

#particles-js canvas {
	display: block;
	pointer-events: auto;
}

/* Make sure content is above particles */

.content {
	position: relative;
	z-index: 2;
}

/* Loader Styles */
.loader-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--background-color);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	transition: opacity 0.5s;
}

.loader {
	display: flex;
	gap: 1rem;
}

.circle {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--primary-color);
	animation: bounce 0.5s alternate infinite;
	cursor: pointer; /* or any other cursor style */
}

.circle:nth-child(2) {
	animation-delay: 0.2s;
}

.circle:nth-child(3) {
	animation-delay: 0.4s;
}

@keyframes bounce {
	to {
		transform: translateY(-20px);
	}
}

/* Glass Effect */
.glass-card {
	background: var(--glass-background);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid var(--glass-border);
	border-radius: 15px;
	padding: 2rem;
	box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
	transition: transform 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.45);
}

/* Navbar Styles */
/* .glass-nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 1rem 2rem;
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	z-index: 100;
} */

.logo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--text-color);
	text-decoration: none;
	position: relative;
	z-index: 2;
}

.logo-text {
	display: flex;
	position: relative;
	overflow: hidden;
}

.logo-letter {
	display: inline-block;
	position: relative;
	color: var(--text-color);
	transition: all 0.3s ease;
	animation: float 3s ease-in-out infinite;
	text-shadow: 0 0 10px var(--primary-color);
	font-family: "Poppins", sans-serif;
	font-weight: 800;
	letter-spacing: 1px;
}

.logo-letter:nth-child(2) {
	animation-delay: 0.2s;
}

.logo-letter:nth-child(3) {
	animation-delay: 0.4s;
}

.logo-letter:nth-child(4) {
	animation-delay: 0.6s;
}

.logo-letter:nth-child(5) {
	animation-delay: 0.8s;
}

.logo-letter:hover {
	color: var(--primary-color);
	transform: translateY(-5px) rotate(10deg);
	text-shadow: 0 0 20px var(--primary-color);
}

@keyframes float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-5px);
	}
}

.logo i {
	color: var(--primary-color);
}

.logo .typing-text {
	display: inline-block;
	position: relative;
	color: var(--text-color);
	font-weight: 600;
	white-space: nowrap;
	border-right: 2px solid var(--text-color);
	animation: blink 0.75s step-end infinite;
}

@keyframes blink {
	from,
	to {
		border-color: transparent;
	}
	50% {
		border-color: var(--text-color);
	}
}

.nav-links {
	display: flex;
	gap: 2.5rem;
	list-style: none;
	margin-left: auto;
}

.nav-links li a {
	color: #fff;
	text-decoration: none;
	font-weight: 500;
	font-size: 1rem;
	transition: color 0.3s ease;
	position: relative;
}

.nav-links li a::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: #8b5cf6;
	transition: width 0.3s ease;
}

.nav-links li a:hover {
	color: #8b5cf6;
}

.nav-links li a:hover::after {
	width: 100%;
}

/* Hamburger Menu - Base Styles */
.hamburger {
    display: none;
    cursor: pointer;
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 100;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger span:first-child {
    top: 2px;
}

.hamburger span:nth-child(2) {
    top: 11px;
}

.hamburger span:last-child {
    top: 20px;
}

.hamburger.active span:first-child {
    transform: rotate(45deg);
    top: 11px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:last-child {
    transform: rotate(-45deg);
    top: 11px;
}

/* Navigation Links - Base Styles */
.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin-left: auto;
    transition: all 0.3s ease;
}

/* Responsive Navigation */
@media (max-width: 1200px) {
    .glass-nav {
        width: 100%;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(17, 17, 25, 0.95);
        backdrop-filter: blur(10px);
        padding: 2rem;
        text-align: center;
        margin-left: 0;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .nav-links li {
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links li:nth-child(1) { transition-delay: 0.2s; }
    .nav-links li:nth-child(2) { transition-delay: 0.3s; }
    .nav-links li:nth-child(3) { transition-delay: 0.4s; }
    .nav-links li:nth-child(4) { transition-delay: 0.5s; }
    .nav-links li:nth-child(5) { transition-delay: 0.6s; }
    .nav-links li:nth-child(6) { transition-delay: 0.7s; }
}

/* Navigation */
/* .glass-nav {
	position: fixed;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	width: 90%;
	max-width: 1200px;
	padding: 1.2rem 2.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 50px;
	z-index: 100;
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
} */

.glass-nav:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.2);
	transform: translateX(-50%) translateY(2px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 20px rgba(139, 92, 246, 0.2),
		0 0 40px rgba(139, 92, 246, 0.1);
}

.logo {
	position: fixed;
	left: 20px;
	/* top: 20px; */
	display: flex;
	align-items: center;
	gap: 0.5rem;
	z-index: 1000;
}

.code-bracket {
	color: var(--primary-color);
	transition: color 0.3s ease;
}

.logo .code-bracket,
.logo .typing-text {
	animation: none;
	transform: none;
}

.typing-text {
	position: relative;
	color: var(--text-color);
}

/* .nav-links {
	display: flex;
	gap: 2.5rem;
	list-style: none;
} */

.nav-links a {
	color: var(--text-color);
	text-decoration: none;
	font-size: 1.1rem;
	font-weight: 500;
	padding: 0.5rem 1rem;
	border-radius: 25px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	z-index: 1;
}

.nav-links a::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 25px;
	background: linear-gradient(
		45deg,
		rgba(139, 92, 246, 0.1),
		rgba(124, 58, 237, 0.1)
	);
	border: 1px solid rgba(139, 92, 246, 0);
	transform: scale(0.8);
	opacity: 0;
	z-index: -1;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-links a:hover::before {
	transform: scale(1);
	opacity: 1;
	border-color: rgba(139, 92, 246, 0.3);
}

.nav-links a.active {
	background: linear-gradient(
		45deg,
		rgba(139, 92, 246, 0.15),
		rgba(124, 58, 237, 0.15)
	);
	color: var(--primary-color);
	box-shadow: 0 5px 15px rgba(139, 92, 246, 0.2),
		0 0 20px rgba(139, 92, 246, 0.1);
}

.glass-nav.scrolled {
	background: rgba(255, 255, 255, 0.1);
	padding: 1rem 2rem;
	border-color: rgba(255, 255, 255, 0.2);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(139, 92, 246, 0.1);
}

.glass-nav.scroll-up {
	transform: translateX(-50%) translateY(0);
}

.glass-nav.scroll-down {
	transform: translateX(-50%) translateY(-100%);
}

/* Mobile Navigation */
@media (max-width: 768px) {
	.glass-nav {
		padding: 1rem 1.5rem;
	}

	.nav-links {
		gap: 1.5rem;
	}

	.nav-links a {
		font-size: 1rem;
		padding: 0.4rem 0.8rem;
	}

	.logo {
		font-size: 1.4rem;
	}

	.logo i {
		font-size: 1.6rem;
	}
}

/* Logo and Typing Animation */
.logo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.logo .typing-text {
	position: relative;
}

.logo .typing-text::before {
	content: "Franz";
	position: absolute;
	left: 0;
	right: 0;
	width: 0%;
	border-right: 2px solid var(--primary-color);
	animation: typing 4s steps(5) infinite;
	white-space: nowrap;
	overflow: hidden;
}

@keyframes typing {
	0% {
		width: 0;
	}
	50% {
		width: 100%;
	}
	100% {
		width: 0;
	}
}

/* Navigation */
.glass-nav {
	position: fixed;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	width: 90%;
	max-width: 1200px;
	padding: 1.2rem 2.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 50px;
	z-index: 100;
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-nav:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.2);
	transform: translateX(-50%) translateY(2px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 20px rgba(139, 92, 246, 0.2),
		0 0 40px rgba(139, 92, 246, 0.1);
}

.logo {
	position: fixed;
	left: 20px;
	/* top: 20px; */
	display: flex;
	align-items: center;
	gap: 0.5rem;
	z-index: 1000;
}

.code-bracket {
	color: var(--primary-color);
	transition: color 0.3s ease;
}

.logo .code-bracket,
.logo .typing-text {
	animation: none;
	transform: none;
}

.typing-text {
	position: relative;
	color: var(--text-color);
}

.nav-links {
	display: flex;
	gap: 2.5rem;
	list-style: none;
}

.nav-links a {
	color: var(--text-color);
	text-decoration: none;
	font-size: 1.1rem;
	font-weight: 500;
	padding: 0.5rem 1rem;
	border-radius: 25px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	z-index: 1;
}

.nav-links a::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 25px;
	background: linear-gradient(
		45deg,
		rgba(139, 92, 246, 0.1),
		rgba(124, 58, 237, 0.1)
	);
	border: 1px solid rgba(139, 92, 246, 0);
	transform: scale(0.8);
	opacity: 0;
	z-index: -1;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-links a:hover::before {
	transform: scale(1);
	opacity: 1;
	border-color: rgba(139, 92, 246, 0.3);
}

.nav-links a.active {
	background: linear-gradient(
		45deg,
		rgba(139, 92, 246, 0.15),
		rgba(124, 58, 237, 0.15)
	);
	color: var(--primary-color);
	box-shadow: 0 5px 15px rgba(139, 92, 246, 0.2),
		0 0 20px rgba(139, 92, 246, 0.1);
}

.glass-nav.scrolled {
	background: rgba(255, 255, 255, 0.1);
	padding: 1rem 2rem;
	border-color: rgba(255, 255, 255, 0.2);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(139, 92, 246, 0.1);
}

.glass-nav.scroll-up {
	transform: translateX(-50%) translateY(0);
}

.glass-nav.scroll-down {
	transform: translateX(-50%) translateY(-100%);
}

/* Mobile Navigation */
@media (max-width: 768px) {
	.glass-nav {
		padding: 0.8rem 1.5rem;
	}

	.nav-links {
		gap: 1.5rem;
	}

	.nav-links a {
		font-size: 1rem;
		padding: 0.4rem 0.8rem;
	}

	.logo {
		font-size: 1.4rem;
	}

	.logo i {
		font-size: 1.6rem;
	}
}

/* Skills section title animation */
.skills .section-title {
	opacity: 0;
	will-change: transform, opacity;
}

.skills .section-title.animate {
	animation: smoothFadeSlide 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
	animation-delay: 0.1s; /* Slightly before the container */
}

.skills .section-title.reset {
	opacity: 0;
	transform: translateY(30px);
	transition: none;
}

/* Sections */
section {
	min-height: 100vh;
	padding: 6rem 2rem 2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
}

.section-title {
	font-size: 2.5rem;
	margin-bottom: 2rem;
	text-align: center;
	background: linear-gradient(
		to right,
		var(--text-color),
		var(--primary-color)
	);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

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

.hero-container {
	display: flex;
	gap: 2rem;
	align-items: center;
	justify-content: center;
	max-width: 1200px;
	margin: 0 auto;
}

.hero-content {
	flex: 1;
	min-width: 300px;
	max-width: 400px;
}

@media (max-width: 992px) {
	.hero-container {
		flex-direction: column;
		align-items: center;
	}

	.hero-content {
		width: 100%;
		max-width: 500px;
	}
}

.secondary-content {
	text-align: left;
	padding: 2rem;
}

.secondary-content h2 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	background: linear-gradient(
		45deg,
		var(--primary-color),
		var(--secondary-color)
	);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

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

.stat-item {
	text-align: center;
	padding: 1rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	transition: transform 0.3s;
}

.stat-item:hover {
	transform: translateY(-5px);
	border-color: var(--primary-color);
	box-shadow: 0 5px 15px rgba(139, 92, 246, 0.2);
}

.stat-number {
	display: block;
	font-size: 2rem;
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 0.5rem;
}

.stat-label {
	font-size: 0.9rem;
	color: var(--text-secondary);
}

.hero-content {
	position: relative;
	text-align: center;
	max-width: 800px;
	margin-bottom: 8rem;
	padding: 3rem;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 20px;
	backdrop-filter: blur(10px);
	transform-style: preserve-3d;
	perspective: 1000px;
	transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-content:hover {
	transform: translateZ(20px) rotateX(5deg);
	background: rgba(255, 255, 255, 0.1);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 20px rgba(139, 92, 246, 0.3),
		0 0 40px rgba(139, 92, 246, 0.1);
}

.glitch-text {
	position: relative;
	font-size: 3.5rem;
	font-weight: 700;
	color: var(--text-color);
	transform-style: preserve-3d;
	transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-content:hover .glitch-text {
	transform: translateZ(50px);
	color: #fff;
	text-shadow: 0 0 20px rgba(139, 92, 246, 0.5),
		0 0 40px rgba(139, 92, 246, 0.3);
}

.typing-text,
.hero-description,
.cta-buttons {
	transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-content:hover .typing-text {
	transform: translateZ(30px);
}

.hero-content:hover .hero-description {
	transform: translateZ(20px);
}

.hero-content:hover .cta-buttons {
	transform: translateZ(40px);
}

.hero-content::after {
	content: "";
	position: absolute;
	inset: -2px;
	border-radius: 22px;
	background: linear-gradient(
		45deg,
		transparent,
		rgba(139, 92, 246, 0.3),
		rgba(124, 58, 237, 0.3),
		transparent
	);
	opacity: 0;
	transition: opacity 0.5s ease;
	z-index: -1;
}

.hero-content:hover::after {
	opacity: 1;
}

.hero h1 {
	font-size: 3.5rem;
	margin-bottom: 1rem;
	position: relative;
	display: inline-block;
}

.hero h1::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -10px;
	width: 100%;
	height: 2px;
	background: linear-gradient(
		90deg,
		transparent,
		var(--primary-color),
		var(--secondary-color),
		transparent
	);
	transform: scaleX(0);
	transform-origin: center;
	animation: lineReveal 1.5s ease forwards 1s;
}

@keyframes lineReveal {
	0% {
		transform: scaleX(0);
		opacity: 0;
	}
	100% {
		transform: scaleX(1);
		opacity: 1;
	}
}

.typing-text {
	font-size: 1.5rem;
	color: var(--text-secondary);
	margin-bottom: 2rem;
}

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

.glass-button {
	background: var(--primary-color);
	color: white;
	border: none;
	border-radius: 8px;
	padding: 1rem 2rem;
	cursor: pointer;
	transition: background-color 0.3s, transform 0.3s;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.glass-button:hover {
	background: var(--secondary-color);
	transform: translateY(-2px);
}

.glass-button.secondary {
	background: transparent;
	border: 1px solid var(--primary-color);
}

.glass-button.secondary:hover {
	background: var(--primary-color);
}

/* Scroll Indicator */
.scroll-indicator {
	position: absolute;
	bottom: 4rem;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	cursor: pointer;
	padding: 1rem;
	transition: opacity 0.3s;
	animation: fadeInUp 1s ease-out forwards;
}

.scroll-indicator:hover {
	opacity: 0.8;
}

/* .mouse {
	width: 30px;
	height: 50px;
	border: 2px solid var(--text-color);
	border-radius: 15px;
	margin: 0 auto 1rem;
	position: relative;
}

.mouse::before {
	content: "";
	position: absolute;
	top: 10px;
	left: 50%;
	transform: translateX(-50%);
	width: 6px;
	height: 6px;
	background: var(--text-color);
	border-radius: 50%;
	animation: scroll 1.5s infinite;
} */

.scroll-indicator p {
	font-size: 0.9rem;
	color: var(--text-secondary);
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-top: 0.5rem;
}

@keyframes scroll {
	0% {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
	100% {
		opacity: 0;
		transform: translateX(-50%) translateY(20px);
	}
}

/* Welcome Text Animation */
.glitch-text {
	position: relative;
	font-size: 3.5rem;
	font-weight: 700;
	color: var(--text-color);
	margin-bottom: 1rem;
	background: linear-gradient(
		45deg,
		var(--primary-color),
		#fff,
		var(--secondary-color)
	);
	background-size: 200%;
	-webkit-background-clip: text;
	background-clip: text;
	animation: shine 3s linear infinite;
}

.glitch-text::before {
	content: "Welcome to My Portfolio";
	position: absolute;
	left: 0;
	top: 0;
	width: 0;
	height: 100%;
	color: var(--text-color);
	overflow: hidden;
	animation: reveal 2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes shine {
	0% {
		background-position: 0% center;
	}
	100% {
		background-position: 200% center;
	}
}

@keyframes reveal {
	0% {
		width: 0;
	}
	100% {
		width: 100%;
	}
}

/* Skills Section */
.skills {
	padding: 6rem 0;
	position: relative;
}

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

.hexagon-grid {
	display: grid;
	grid-template-columns: repeat(4, 150px);
	gap: 2rem;
	padding: 2rem;
	justify-content: center;
}

.hexagon {
	width: 150px;
	height: 150px;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hexagon i {
	font-size: 2.5rem;
	margin-bottom: 0.5rem;
	color: var(--primary-color);
	transition: all 0.3s ease;
}

.hexagon span {
	font-size: 1rem;
	font-weight: 500;
	color: var(--text-color);
	text-align: center;
}

/* Projects Section */
/* .project-filters {
	margin-bottom: 2rem;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	gap: 0.5rem;
} */

.project-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	width: 100%;
	max-width: 1200px;
}

.project-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	padding: 1.5rem;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	/* Remove these animation properties */
	animation: none;
	transform: none;
	opacity: 1;
}

/* Remove any animation keyframes related to project cards */
@keyframes floatingCard {
	/* Remove entire keyframe */
}

@keyframes projectCardReveal {
	/* Remove entire keyframe */
}

.project-image {
	position: relative;
	overflow: hidden;
	border-radius: 15px;
}

.project-image img {
	width: 100%;
	height: auto;
	transition: transform 0.3s ease;
}

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

.project-content {
	margin-top: 1.5rem;
}

.project-title {
	color: var(--text-color);
	transition: color 0.3s ease;
}

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

.project-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin: 1rem 0;
}

.project-tag {
	background: rgba(139, 92, 246, 0.1);
	color: var(--primary-color);
	padding: 0.5rem 1rem;
	border-radius: 25px;
	font-size: 0.9rem;
	transition: all 0.8s ease;
}

.project-card:hover .project-tag {
	background: rgba(139, 92, 246, 0.2);
	transform: scale(1.05);
}

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

.project-link {
	color: var(--text-color);
	font-size: 1.2rem;
	transition: all 0.8s ease;
	text-decoration: none;
}

.project-link:hover {
	color: var(--primary-color);
	transform: translateY(-3px);
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	padding: 2rem 0;
}

.projects-header {
	text-align: center;
	margin-bottom: 3rem;
}

/* Contact Section */
.contact-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
}

.contact-info {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 1rem;
}

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

.social-links {
	display: flex;
	gap: 1rem;
	margin-top: 2rem;
}

.social-links .glass-button {
	padding: 0.8rem;
	font-size: 1.2rem;
}

/* Form Styles */
.glass-input {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(139, 92, 246, 0.5);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.glass-input:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.8);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.glass-input:focus::placeholder {
    opacity: 0.7;
    transform: translateX(5px);
}

textarea.glass-input {
    min-height: 150px;
    resize: vertical;
}

/* Animations */
.hidden {
	opacity: 0;
	visibility: hidden;
}

/* Modern Animation Effects */
.glass-card {
	position: relative;
	overflow: hidden;
}

.glass-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.2),
		transparent
	);
	transition: 0.5s;
	pointer-events: none;
}

.glass-card:hover::before {
	left: 100%;
	transition: 0.8s;
}

/* Floating Animation */
@keyframes float {
	0% {
		transform: translateY(0px) rotate3d(0, 1, 0, 0deg);
	}
	50% {
		transform: translateY(-15px) rotate3d(0, 1, 0, 3deg);
	}
	100% {
		transform: translateY(0px) rotate3d(0, 1, 0, 0deg);
	}
}

.hero-content {
	animation: float 6s ease-in-out infinite;
}

/* Neon Glow Effect */
.profile-card:hover {
	box-shadow: 0 0 10px rgba(139, 92, 246, 0.3), 0 0 20px rgba(139, 92, 246, 0.2),
		0 0 30px rgba(139, 92, 246, 0.1), 0 0 40px rgba(139, 92, 246, 0.05);
	animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
	0% {
		box-shadow: 0 0 10px rgba(139, 92, 246, 0.3),
			0 0 20px rgba(139, 92, 246, 0.2), 0 0 30px rgba(139, 92, 246, 0.1),
			0 0 40px rgba(139, 92, 246, 0.05);
	}
	50% {
		box-shadow: 0 0 15px rgba(139, 92, 246, 0.4),
			0 0 25px rgba(139, 92, 246, 0.3), 0 0 35px rgba(139, 92, 246, 0.2),
			0 0 45px rgba(139, 92, 246, 0.1);
	}
	100% {
		box-shadow: 0 0 10px rgba(139, 92, 246, 0.3),
			0 0 20px rgba(139, 92, 246, 0.2), 0 0 30px rgba(139, 92, 246, 0.1),
			0 0 40px rgba(139, 92, 246, 0.05);
	}
}

/* Text Glitch Effect */
@keyframes glitch {
	0% {
		transform: translate(0);
	}
	20% {
		transform: translate(-2px, 2px);
	}
	40% {
		transform: translate(-2px, -2px);
	}
	60% {
		transform: translate(2px, 2px);
	}
	80% {
		transform: translate(2px, -2px);
	}
	100% {
		transform: translate(0);
	}
}

.profile-name:hover {
	animation: glitch 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
}

/* Skill Tags Animation */
@keyframes tagFloat {
	0% {
		transform: translateY(0) rotate(0);
	}
	50% {
		transform: translateY(-5px) rotate(2deg);
	}
	100% {
		transform: translateY(0) rotate(0);
	}
}

.skill-tag {
	animation: tagFloat 3s ease-in-out infinite;
	animation-delay: calc(var(--i) * 0.1s);
}

/* Social Links Hover Effect */
.social-link {
	position: relative;
	overflow: hidden;
}

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

.social-link:hover::before {
	width: 150%;
	height: 150%;
}

/* Morphing Background */
@keyframes morphBackground {
	0% {
		border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
	}
	50% {
		border-radius: 30% 60% 70% 40%/50% 60% 30% 60%;
	}
	100% {
		border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
	}
}

.profile-img-container {
	animation: morphBackground 8s ease-in-out infinite;
}

/* Typing Animation for Profile Title */
@keyframes typing {
	from {
		width: 0;
	}
	to {
		width: 100%;
	}
}

.profile-title {
	position: relative;
	white-space: nowrap;
	overflow: hidden;
	animation: typing 2.5s steps(40) infinite;
}

/* 3D Card Tilt Effect */
.glass-card {
	transform-style: preserve-3d;
	perspective: 1000px;
}

.glass-card:hover {
	transform: rotateX(var(--rotateX)) rotateY(var(--rotateY))
		scale3d(1.02, 1.02, 1.02);
}

/* Add this to your JavaScript */
.js-tilt-glare {
	border-radius: 20px;
}

/* Animated Border */
@keyframes borderAnimation {
	0% {
		border-color: rgba(139, 92, 246, 0.3);
	}
	50% {
		border-color: rgba(124, 58, 237, 0.5);
	}
	100% {
		border-color: rgba(139, 92, 246, 0.3);
	}
}

.glass-card {
	border: 2px solid transparent;
	animation: borderAnimation 3s infinite;
}

/* Glitch Effect */
/* .glitch-text {
        position: relative;
        font-size: 3.5rem;
        font-weight: 700;
        color: var(--text-color);
        text-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
        margin-bottom: 1rem;
        opacity: 0;
        animation: textReveal 1s ease forwards 0.5s;
    }

    .glitch-text::before,
    .glitch-text::after {
        content: "Welcome to My Portfolio";
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        opacity: 0.8;
    }

    .glitch-text::before {
        animation: glitch 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
        color: #8b5cf6;
        z-index: -1;
    }

    .glitch-text::after {
        animation: glitch 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both infinite;
        color: #7c3aed;
        z-index: -2;
    }

    @keyframes glitch {
        0% {
            transform: translate(0);
        }
        20% {
            transform: translate(-3px, 3px);
        }
        40% {
            transform: translate(-3px, -3px);
        }
        60% {
            transform: translate(3px, 3px);
        }
        80% {
            transform: translate(3px, -3px);
        }
        to {
            transform: translate(0);
        }
    }

    @keyframes textReveal {
        0% {
            opacity: 0;
            transform: translateY(20px) scale(0.95);
            filter: blur(20px);
        }
        100% {
            opacity: 1;
            transform: translateY(0) scale(1);
            filter: blur(0);
        }
    } */

/* Glow effect */
/* .glitch-text {
        animation: glow 2s ease-in-out infinite alternate;
    }

    @keyframes glow {
        from {
            text-shadow: 0 0 10px #fff,
                        0 0 20px #fff,
                        0 0 30px #8b5cf6,
                        0 0 40px #8b5cf6,
                        0 0 50px #8b5cf6,
                        0 0 60px #8b5cf6,
                        0 0 70px #8b5cf6;
        }
        to {
            text-shadow: 0 0 20px #fff,
                        0 0 30px #7c3aed,
                        0 0 40px #7c3aed,
                        0 0 50px #7c3aed,
                        0 0 60px #7c3aed,
                        0 0 70px #7c3aed,
                        0 0 80px #7c3aed;
        }
    } */
@keyframes neonPulse {
	0% {
		opacity: 0;
		transform: scale(1.2);
		box-shadow: inset 0 0 50px rgba(139, 92, 246, 0),
			0 0 30px rgba(139, 92, 246, 0);
		filter: brightness(0.5) contrast(1);
	}
	50% {
		opacity: 0.5;
		transform: scale(0.9);
		box-shadow: inset 0 0 50px rgba(139, 92, 246, 0.5),
			0 0 30px rgba(139, 92, 246, 0.3);
		filter: brightness(1.2) contrast(1.2);
	}
	100% {
		opacity: 1;
		transform: scale(1);
		box-shadow: inset 0 0 50px rgba(139, 92, 246, 0.3),
			0 0 30px rgba(139, 92, 246, 0.2);
		filter: brightness(1) contrast(1);
	}
}

/* Update the hover effect */

/* Add this for the buttons */
.project-button {
	position: relative;
	overflow: hidden;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.4s ease;
	padding: 10px 25px;
	border-radius: 25px;
	background: rgba(139, 92, 246, 0.2);
	border: 1px solid rgba(139, 92, 246, 0.3);
	color: white;
	font-size: 0.95rem;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: all 0.3s ease;
	cursor: pointer;
	text-decoration: none;
}

.project-button::after {
	content: "";
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: linear-gradient(
		45deg,
		transparent,
		rgba(139, 92, 246, 0.3),
		transparent
	);
	transform: rotate(45deg);
	animation: neonSweep 2s linear infinite;
}

@keyframes neonSweep {
	0% {
		transform: rotate(45deg) translateY(-100%);
	}
	100% {
		transform: rotate(45deg) translateY(100%);
	}
}

.button-container:hover .project-button {
	opacity: 1;
	transform: translateY(0);
}

.button-container:hover .project-button:nth-child(1) {
	transition-delay: 0.2s;
}

.button-container:hover .project-button:nth-child(2) {
	transition-delay: 0.3s;
}
/* Project Card Styles */
.project-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	padding: 1.5rem;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	/* Remove these animation properties */
	animation: none;
	transform: none;
	opacity: 1;
}

.project-card .button-container {
	position: absolute;
	top: -1.5rem;
	bottom: 0.1rem; /* Increase this value to leave more space for Read More */
	left: -1.5rem;
	right: -1.5rem;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	background: rgba(26, 26, 46, 0.95);
	transition: all 0.3s ease;
	opacity: 0;
	z-index: 1;
	border-radius: 20px 20px 10px 10px; /* Soften bottom corners */
}

.project-image-container:hover ~ .button-container,
.project-title:hover ~ .button-container,
.project-description:hover ~ .button-container,
.project-tags:hover ~ .button-container,
.button-container:hover {
	opacity: 1;
	animation: neonPulse 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* .project-button {
    padding: 10px 25px;
    border-radius: 25px;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: white;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
} */

.project-button:hover {
	background: rgba(139, 92, 246, 0.4);
	transform: translateY(-2px);
}

.project-button i {
	font-size: 1rem;
}

.project-image-container {
	position: relative;
	width: calc(100% + 3rem);
	margin-left: -1.5rem;
	padding-top: 75%;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 1.2rem;
	margin-top: -1.5rem;
	border-radius: 20px 20px 0 0;
}

.project-image-container img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.project-content {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	position: relative;
	border-bottom: 1px solid rgba(139, 92, 246, 0.2);
	/* padding-bottom: 1.5rem;
    margin-bottom: 1rem; */
	margin-top: 0;
	padding-top: 0;
}

.read-more-btn {
	display: inline-flex;
	align-items: center;
	margin-top: 1.2rem;
	padding: 0.7rem 1.5rem;
	background: #7425dc; 
	color: #ffffff;
	text-decoration: none;
	font-weight: 600; 
	border-radius: 25px;
	border: 1px solid rgba(139, 92, 246, 0.3);
	transition: all 0.3s ease;
}

.read-more-btn::after {
	content: "→";
	margin-left: 0.5rem;
	transition: transform 0.3s ease;
}

.read-more-btn:hover {
	background: #7425dc;
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(89, 37, 220, 0.4);
}

.read-more-btn:hover::after {
	transform: translateX(5px);
}

.project-title {
	font-size: 1.5rem;
	color: var(--text-color);
	margin-bottom: 0.5rem;
}

.project-description {
	color: var(--text-color);
	opacity: 0.8;
	line-height: 1.6;
}

.project-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1rem;
}

.project-tag {
	background: rgba(139, 92, 246, 0.2);
	color: #ffffff;
	padding: 0.4rem 1rem;
	border-radius: 20px;
	font-size: 0.9rem;
	transition: all 0.3s ease;
}

.project-card:hover .project-tag {
	background: rgba(139, 92, 246, 0.3);
}
/* Add a reveal line effect */
.hero-content {
	position: relative;
	overflow: hidden;
}

.hero-content::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(139, 92, 246, 0.8),
		transparent
	);
	transform: translateX(-100%);
	animation: revealLine 1.5s ease forwards;
}

@keyframes revealLine {
	0% {
		transform: translateX(-100%);
	}
	100% {
		transform: translateX(100%);
	}
}

/* Custom Cursor */
.cursor-outer,
.cursor-inner {
	position: fixed;
	pointer-events: none;
	border-radius: 50%;
	z-index: 9999;
	display: block;
	opacity: 1;
	transition: opacity 0.3s ease;
}

.cursor-outer {
	width: 30px;
	height: 30px;
	border: 2px solid rgba(139, 92, 246, 0.5);
	transform: translate(-50%, -50%);
	mix-blend-mode: difference;
}

.cursor-inner {
	width: 8px;
	height: 8px;
	background: var(--primary-color);
	transform: translate(-50%, -50%);
}

/* Hide default cursor */
* {
	cursor: none !important;
}

a,
button,
[role="button"],
input,
textarea {
	cursor: none;
}

/* Hide cursor on mobile/touch devices */
@media (hover: none) {
	.cursor-outer,
	.cursor-inner {
		display: none;
	}
	* {
		cursor: auto !important;
	}
}

/* Hover effects */
a:hover ~ .cursor-outer,
button:hover ~ .cursor-outer,
[role="button"]:hover ~ .cursor-outer {
	width: 50px;
	height: 50px;
	background: rgba(139, 92, 246, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
	nav ul {
		display: none;
	}

	.hero h1 {
		font-size: 2.5rem;
	}

	.about-content,
	.contact-content {
		grid-template-columns: 1fr;
	}

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

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

	.about-content {
		grid-template-columns: 1fr;
	}

	.about-visual {
		order: -1;
	}

	.experience-cards {
		margin-top: -2rem;
	}
}

@media (max-width: 1200px) {
	.glass-nav {
		width: 100%;
	}

	.about-container,
	.skills-container,
	.project-grid {
		max-width: 1200px;
	}

	.hamburger {
		display: block;
		cursor: pointer;
		width: 24px;
		height: 24px;
		position: relative;
		z-index: 100;
	}

	.nav-links {
		display: none;
		position: fixed;
		top: 80px;
		left: 0;
		width: 100%;
		background: rgba(17, 17, 25, 0.95);
		backdrop-filter: blur(10px);
		padding: 2rem;
		text-align: center;
	}

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

	.nav-links li {
		opacity: 0;
		transform: translateX(50px);
		transition: all 0.3s ease;
	}

	.nav-links.active li {
		opacity: 1;
		transform: translateX(0);
	}

	.nav-links li:nth-child(1) { transition-delay: 0.2s; }
	.nav-links li:nth-child(2) { transition-delay: 0.3s; }
	.nav-links li:nth-child(3) { transition-delay: 0.4s; }
	.nav-links li:nth-child(4) { transition-delay: 0.5s; }
	.nav-links li:nth-child(5) { transition-delay: 0.6s; }
	.nav-links li:nth-child(6) { transition-delay: 0.7s; }
}

@media (max-width: 992px) {
	section {
		padding: 5rem 1.5rem 1.5rem;
	}

	.hero h1 {
		font-size: 3rem;
	}

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

	.about-visual {
		order: -1;
	}

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

@media (max-width: 768px) {
	.glass-nav {
		padding: 0.8rem 1.5rem;
	}

	nav ul {
		display: none;
	}

	.hero h1 {
		font-size: 2.5rem;
	}

	.typing-text {
		font-size: 1.2rem;
	}

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

	.glass-button {
		width: 100%;
		justify-content: center;
	}

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

	/* .project-filters {
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: center;
		gap: 0.5rem;
	} */

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

	.social-links {
		justify-content: center;
	}
}

@media (max-width: 576px) {
	section {
		padding: 4rem 1rem 1rem;
	}

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

	.hero h1 {
		font-size: 2rem;
	}

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

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

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

@media (max-width: 380px) {
	.glass-nav {
		padding: 0.6rem 1rem;
	}

	.logo {
		font-size: 1.2rem;
	}

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

	.contact-item {
		flex-direction: column;
		text-align: center;
	}
}

/* Height-based media queries */
@media (max-height: 800px) {
	section {
		padding: 4rem 1.5rem 1.5rem;
	}

	.hero-content {
		margin-top: 2rem;
	}
}

@media (max-height: 600px) {
	.scroll-indicator {
		display: none;
	}
}

/* Landscape mode */
@media (max-height: 500px) and (orientation: landscape) {
	section {
		min-height: auto;
		padding: 3rem 1rem;
	}

	.hero-content {
		margin: 1rem 0;
	}

	.about-content {
		grid-template-columns: 1fr;
	}

	.about-visual {
		order: -1;
	}

	.experience-cards {
		margin-top: -2rem;
	}
}

/* High-resolution screens */
@media (min-width: 1400px) {
	html {
		font-size: 18px;
	}

	.glass-nav {
		max-width: 1400px;
	}

	.about-container,
	.skills-container,
	.project-grid {
		max-width: 1400px;
	}
}

/* Custom Scrollbar */
::-webkit-scrollbar {
	width: 12px;
	background: rgba(13, 12, 15, 0.7);
	backdrop-filter: blur(10px);
}

::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 10px;
	margin: 5px;
}

::-webkit-scrollbar-thumb {
	background: linear-gradient(
		45deg,
		rgba(139, 92, 246, 0.5),
		rgba(124, 58, 237, 0.5)
	);
	border-radius: 10px;
	border: 3px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(5px);
	transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(
		45deg,
		rgba(139, 92, 246, 0.8),
		rgba(124, 58, 237, 0.8)
	);
	border-color: rgba(255, 255, 255, 0.2);
}

/* Firefox Scrollbar */
* {
	scrollbar-width: thin;
	scrollbar-color: var(--primary-color) rgba(13, 12, 15, 0.7);
}

/* For Microsoft Edge */
@supports (-ms-overflow-style: none) {
	html {
		scrollbar-face-color: var(--primary-color);
		scrollbar-track-color: rgba(13, 12, 15, 0.7);
		scrollbar-arrow-color: var(--primary-color);
		scrollbar-shadow-color: rgba(139, 92, 246, 0.3);
	}
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 100;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger span:first-child {
    top: 2px;
}

.hamburger span:nth-child(2) {
    top: 11px;
}

.hamburger span:last-child {
    top: 20px;
}

.hamburger.active span:first-child {
    transform: rotate(45deg);
    top: 11px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:last-child {
    transform: rotate(-45deg);
    top: 11px;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin-left: auto;
    transition: all 0.3s ease;
}

/* Responsive Navigation */
@media (max-width: 1200px) {
    .glass-nav {
        width: 100%;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(17, 17, 25, 0.95);
        backdrop-filter: blur(10px);
        padding: 2rem;
        text-align: center;
        margin-left: 0;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .nav-links li {
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links li:nth-child(1) { transition-delay: 0.2s; }
    .nav-links li:nth-child(2) { transition-delay: 0.3s; }
    .nav-links li:nth-child(3) { transition-delay: 0.4s; }
    .nav-links li:nth-child(4) { transition-delay: 0.5s; }
    .nav-links li:nth-child(5) { transition-delay: 0.6s; }
    .nav-links li:nth-child(6) { transition-delay: 0.7s; }
}

/* Section Titles */
.section-title {
	font-size: 2.5rem;
	color: var(--text-color);
	text-align: center;
	margin-bottom: 3rem;
	position: relative;
	opacity: 1;
}

.reveal-text {
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.5s, transform 0.5s;
}

.about-container {
	padding: 3rem;
	margin-top: 2rem;
}

/* Profile Card Styles */
.profile-card {
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.1);
	padding: 0;
	overflow: hidden;
	transform-style: preserve-3d;
	transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.glass-card.hero-content.profile-card {
	margin: 100px;
}

.profile-card:hover {
	transform: translateY(-10px) rotateX(5deg);
	border-color: var(--primary-color);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(139, 92, 246, 0.3),
		0 0 40px rgba(139, 92, 246, 0.1);
}

.profile-header {
	position: relative;
	padding: 3rem;
	background: linear-gradient(
		135deg,
		rgba(139, 92, 246, 0.2),
		rgba(124, 58, 237, 0.2)
	);
	width: 500px;
}

.profile-img-container {
	width: 400px;
	height: 400px;
	margin: 50px 5px;
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	transform: translateZ(30px);
	transition: transform 0.5s ease;
	perspective: 1000px;
	transform-style: preserve-3d;
}

.profile-card:hover .profile-img-container {
	transform: translateZ(50px) scale(1.1);
}

.profile-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 20px;
}

.profile-img-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(45deg, transparent, rgba(139, 92, 246, 0.3));
	animation: shimmer 2s infinite;
}

/* .profile-status {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	justify-content: center;
	margin-top: 1rem;
	font-size: 0.9rem;
	color: var(--text-secondary);
} */

.status-dot {
	width: 8px;
	height: 8px;
	background: #22c55e;
	border-radius: 50%;
	animation: pulse 2s infinite;
}

.profile-info {
	padding: 1rem;
	text-align: center;
	margin: 90px;
}

.profile-name {
	font-size: 1.8rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
	background: linear-gradient(
		45deg,
		var(--primary-color),
		var(--secondary-color)
	);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUp 0.5s ease forwards 0.3s;
}

.profile-title {
	color: var(--text-secondary);
	margin-bottom: 1.5rem;
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUp 0.5s ease forwards 0.5s;
}

.profile-skills {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 1.5rem;
}

.skill-tag {
	background: rgba(139, 92, 246, 0.1);
	border: 1px solid rgba(139, 92, 246, 0.2);
	padding: 0.5rem 1rem;
	border-radius: 20px;
	font-size: 0.9rem;
	color: var(--text-secondary);
	transition: all 0.3s ease;
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUp 0.5s ease forwards 0.7s;
}

.skill-tag:hover {
	background: var(--primary-color);
	color: white;
	transform: translateY(-2px);
}

.profile-social {
	flex-direction: column;
	display: flex;
	justify-content: center;
	gap: 2rem;
	padding: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-secondary);
	transition: all 0.3s ease;
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUp 0.5s ease forwards 0.9s;
}

.social-link:hover {
	background: var(--primary-color);
	color: white;
	transform: translateY(-2px);
}

@keyframes shimmer {
	0% {
		transform: translateX(-100%) rotate(-45deg);
	}
	100% {
		transform: translateX(100%) rotate(-45deg);
	}
}

@keyframes pulse {
	0% {
		transform: scale(1);
		opacity: 1;
	}
	50% {
		transform: scale(1.2);
		opacity: 0.7;
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}

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

/* Update hero container for three cards */
.hero-container {
	flex-wrap: wrap;
	justify-content: center;
	gap: 2rem;
}

.hero-content {
	flex: 1;
	min-width: 300px;
	max-width: 100vw;
	justify-content: center;
	display: flex;
}

@media (max-width: 1200px) {
	.hero-container {
		flex-direction: column;
		align-items: center;
	}

	.hero-content {
		width: 100%;
		max-width: 1000px;
		margin-top: 60px;
	}
}

/* About Section Styles */
.about {
	padding: 120px 0;
	position: relative;
	overflow: hidden;
}

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

.about-header {
	text-align: center;
	margin-bottom: 4rem;
}

.about-title {
	font-size: 2.5rem;
	color: var(--text-color);
	margin-bottom: 1rem;
	font-weight: 700;
}

.about-subtitle {
	color: var(--primary-color);
	font-size: 1.2rem;
	font-weight: 500;
	letter-spacing: 1px;
}

.about-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.about-text {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

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

.about-text strong {
	color: var(--text-color);
	font-weight: 600;
}

.about-highlights {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	margin-top: 2rem;
}

.highlight-item {
	background: rgba(255, 255, 255, 0.05);
	padding: 1.5rem;
	border-radius: 15px;
	transition: transform 0.3s ease;
}

.highlight-item:hover {
	transform: translateY(-5px);
}

.highlight-number {
	font-size: 2rem;
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 0.5rem;
}

.highlight-label {
	font-size: 1rem;
	color: var(--text-secondary);
}

.about-image {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	perspective: 1000px;
	transform-style: preserve-3d;
}

.about-image img {
	width: 100%;
	height: auto;
	border-radius: 20px;
	transition: transform 0.3s ease;
}

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

.about-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom right,
		rgba(139, 92, 246, 0.2),
		rgba(124, 58, 237, 0.2)
	);
	border-radius: 20px;
}

.skill-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2rem;
}

.skill-tag {
	background: rgba(255, 255, 255, 0.1);
	padding: 0.5rem 1rem;
	border-radius: 50px;
	font-size: 0.9rem;
	color: var(--text-color);
	transition: all 0.3s ease;
}

.skill-tag:hover {
	background: var(--primary-color);
	transform: translateY(-2px);
}

@media (max-width: 992px) {
	.about-content {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.about-image {
		order: -1;
	}

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

@media (max-width: 768px) {
	.about {
		padding: 80px 0;
	}

	.about-title {
		font-size: 2rem;
	}

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

	.highlight-number {
		font-size: 1.8rem;
	}

	.about-highlights {
		gap: 1rem;
	}
}

@media (max-width: 480px) {
	.about-highlights {
		grid-template-columns: 1fr;
	}

	.skill-tags {
		justify-content: center;
	}
}

/* Scroll Reveal Animations */
.reveal-hidden {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-visible {
	opacity: 1;
	transform: translateY(0);
}

.stagger-hidden {
	opacity: 0;
	transform: translateY(20px);
}

.stagger-visible .stagger-hidden {
	animation: staggerAnimation 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Stagger delays for different items */
.about-highlights .highlight-item:nth-child(1) {
	animation-delay: 0.1s;
}
.about-highlights .highlight-item:nth-child(2) {
	animation-delay: 0.2s;
}

.skill-tags .skill-tag:nth-child(1) {
	animation-delay: 0.1s;
}
.skill-tags .skill-tag:nth-child(2) {
	animation-delay: 0.15s;
}
.skill-tags .skill-tag:nth-child(3) {
	animation-delay: 0.2s;
}
.skill-tags .skill-tag:nth-child(4) {
	animation-delay: 0.25s;
}
.skill-tags .skill-tag:nth-child(5) {
	animation-delay: 0.3s;
}
.skill-tags .skill-tag:nth-child(6) {
	animation-delay: 0.35s;
}
.skill-tags .skill-tag:nth-child(7) {
	animation-delay: 0.4s;
}
.skill-tags .skill-tag:nth-child(8) {
	animation-delay: 0.45s;
}

.project-grid .project-card:nth-child(1) {
	animation-delay: 0.1s;
}
.project-grid .project-card:nth-child(2) {
	animation-delay: 0.2s;
}
.project-grid .project-card:nth-child(3) {
	animation-delay: 0.3s;
}
.project-grid .project-card:nth-child(4) {
	animation-delay: 0.4s;
}
.project-grid .project-card:nth-child(5) {
	animation-delay: 0.5s;
}
.project-grid .project-card:nth-child(6) {
	animation-delay: 0.6s;
}

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

/* Section Headers Animation */
.about-header,
.skills-header,
.projects-header {
	transform-origin: left;
}

/* Custom reveal animations for specific elements */
.about-image.reveal-visible {
	animation: scaleIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

/* Ensure smooth scrolling */
html {
	scroll-behavior: smooth;
}

/* Optimize animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
	.reveal-hidden,
	.stagger-hidden,
	.about-image,
	html {
		transition: none !important;
		animation: none !important;
		scroll-behavior: auto !important;
	}
}

/* Enhanced Scroll Reveal Animations */
.reveal-hidden {
	opacity: 0;
	transform: translateY(30px) rotate(-2deg);
	filter: blur(10px);
	transition: all 0.8s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.reveal-visible {
	opacity: 1;
	transform: translateY(0) rotate(0);
	filter: blur(0);
}

.stagger-hidden {
	opacity: 0;
	transform: translateY(20px) scale(0.8);
	filter: blur(5px);
}

.stagger-visible .stagger-hidden {
	animation: staggerAnimation 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Unique stagger animation with scale and rotation */
@keyframes staggerAnimation {
	0% {
		opacity: 0;
		transform: translateY(20px) scale(0.8) rotate(-5deg);
		filter: blur(5px);
	}
	50% {
		opacity: 0.5;
		transform: translateY(-10px) scale(1.1) rotate(2deg);
		filter: blur(2px);
	}
	100% {
		opacity: 1;
		transform: translateY(0) scale(1) rotate(0);
		filter: blur(0);
	}
}

/* Creative section headers animation */
.about-header,
.skills-header,
.projects-header {
	transform-origin: left;
	position: relative;
}

.about-header.reveal-visible,
.skills-header.reveal-visible,
.projects-header.reveal-visible {
	animation: headerReveal 1s cubic-bezier(0.17, 0.67, 0.83, 0.67) forwards;
}

@keyframes headerReveal {
	0% {
		opacity: 0;
		transform: translateY(30px) skewY(-5deg);
		filter: blur(10px);
	}
	30% {
		opacity: 0.5;
		transform: translateY(-10px) skewY(3deg);
		filter: blur(5px);
	}
	100% {
		opacity: 1;
		transform: translateY(0) skewY(0);
		filter: blur(0);
	}
}

/* Unique image reveal animation */
.about-image.reveal-visible {
	animation: imageReveal 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes imageReveal {
	0% {
		opacity: 0;
		transform: scale(0.8) translateY(30px) rotate(-5deg);
		filter: blur(10px) brightness(0.5);
	}
	50% {
		opacity: 0.7;
		transform: scale(1.05) translateY(-10px) rotate(2deg);
		filter: blur(5px) brightness(0.8);
	}
	100% {
		opacity: 1;
		transform: scale(1) translateY(0) rotate(0);
		filter: blur(0) brightness(1);
	}
}

/* Skill tags unique animation */
.skill-tags .skill-tag {
	animation-name: skillTagReveal;
	animation-duration: 0.6s;
	animation-fill-mode: forwards;
	animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes skillTagReveal {
	0% {
		opacity: 0;
		transform: translateY(20px) scale(0.8) rotate(-10deg);
		filter: blur(5px);
	}
	60% {
		opacity: 0.8;
		transform: translateY(-5px) scale(1.1) rotate(5deg);
		filter: blur(2px);
	}
	100% {
		opacity: 1;
		transform: translateY(0) scale(1) rotate(0);
		filter: blur(0);
	}
}

/* Project cards unique animation */
.project-grid .project-card {
	animation-fill-mode: forwards;
	animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Enhanced stagger delays with non-linear timing */
.skill-tags .skill-tag:nth-child(1) {
	animation-delay: 0.1s;
}
.skill-tags .skill-tag:nth-child(2) {
	animation-delay: 0.18s;
}
.skill-tags .skill-tag:nth-child(3) {
	animation-delay: 0.24s;
}
.skill-tags .skill-tag:nth-child(4) {
	animation-delay: 0.32s;
}
.skill-tags .skill-tag:nth-child(5) {
	animation-delay: 0.38s;
}
.skill-tags .skill-tag:nth-child(6) {
	animation-delay: 0.46s;
}
.skill-tags .skill-tag:nth-child(7) {
	animation-delay: 0.52s;
}
.skill-tags .skill-tag:nth-child(8) {
	animation-delay: 0.6s;
}

.project-grid .project-card:nth-child(1) {
	animation-delay: 0.15s;
}
.project-grid .project-card:nth-child(2) {
	animation-delay: 0.25s;
}
.project-grid .project-card:nth-child(3) {
	animation-delay: 0.35s;
}
.project-grid .project-card:nth-child(4) {
	animation-delay: 0.45s;
}
.project-grid .project-card:nth-child(5) {
	animation-delay: 0.55s;
}
.project-grid .project-card:nth-child(6) {
	animation-delay: 0.65s;
}

/* Ensure smooth scrolling with enhanced easing */
html {
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
}

/* Optimize animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
	.reveal-hidden,
	.stagger-hidden,
	.about-image,
	.skill-tags .skill-tag,
	.project-grid .project-card,
	html {
		transition: none !important;
		animation: none !important;
		scroll-behavior: auto !important;
		transform: none !important;
		filter: none !important;
	}
}

/* Advanced Morphing Animations */
.about-header::before,
.skills-header::before,
.projects-header::before {
	content: "";
	position: absolute;
	top: -10px;
	left: -20px;
	width: 0;
	height: 120%;
	background: linear-gradient(45deg, var(--primary-color), transparent);
	transform: skewX(-20deg);
	opacity: 0;
	z-index: -1;
	transition: all 0.5s ease;
}

.about-header.reveal-visible::before,
.skills-header.reveal-visible::before,
.projects-header.reveal-visible::before {
	width: 120%;
	opacity: 0.1;
}

/* Glitch Effect for Headers */
@keyframes glitchAnimation {
	0% {
		clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
		transform: translate(0);
	}
	20% {
		clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
		transform: translate(-5px);
	}
	40% {
		clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
		transform: translate(5px);
	}
	60% {
		clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%);
		transform: translate(-3px);
	}
	80% {
		clip-path: polygon(0 0, 100% 2%, 100% 100%, 0 98%);
		transform: translate(3px);
	}
	100% {
		clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
		transform: translate(0);
	}
}

.about-title:hover,
.skills-header h2:hover,
.projects-header h2:hover {
	animation: glitchAnimation 0.5s ease-in-out;
}

/* Liquid Wave Effect */
.about-image::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		45deg,
		rgba(139, 92, 246, 0.5),
		rgba(124, 58, 237, 0.5)
	);
	border-radius: 20px;
	z-index: 1;
	opacity: 0;
	transform: scaleY(0);
	transform-origin: bottom;
	transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-image:hover::before {
	opacity: 1;
	transform: scaleY(1);
	animation: liquidWave 2s infinite linear;
}

@keyframes liquidWave {
	0%,
	100% {
		clip-path: polygon(
			0% 15%,
			15% 10%,
			30% 15%,
			45% 20%,
			60% 15%,
			75% 10%,
			90% 15%,
			100% 10%,
			100% 100%,
			0% 100%
		);
	}
	50% {
		clip-path: polygon(
			0% 10%,
			15% 15%,
			30% 10%,
			45% 15%,
			60% 20%,
			75% 15%,
			90% 10%,
			100% 15%,
			100% 100%,
			0% 100%
		);
	}
}

/* Magnetic Hover Effect for Skill Tags */
.skill-tag {
	transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	transform-style: preserve-3d;
	perspective: 1000px;
}

.skill-tag:hover {
	animation: magneticHover 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes magneticHover {
	0% {
		transform: scale(1) rotateX(0) rotateY(0);
	}
	25% {
		transform: scale(1.1) rotateX(15deg) rotateY(-15deg);
	}
	50% {
		transform: scale(1.15) rotateX(-10deg) rotateY(10deg);
	}
	75% {
		transform: scale(1.1) rotateX(5deg) rotateY(-5deg);
	}
	100% {
		transform: scale(1) rotateX(0) rotateY(0);
	}
}

/* Neon Pulse Effect */
.highlight-item {
	position: relative;
	overflow: hidden;
}

.highlight-item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		45deg,
		transparent,
		rgba(139, 92, 246, 0.2),
		transparent
	);
	transform: translateX(-100%);
	transition: transform 0.3s ease;
}

.highlight-item:hover::after {
	transform: translateX(100%);
	animation: neonPulse 2s infinite;
}

@keyframes neonPulse {
	0% {
		box-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color),
			0 0 15px var(--primary-color);
	}
	50% {
		box-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color),
			0 0 30px var(--primary-color);
	}
	100% {
		box-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color),
			0 0 15px var(--primary-color);
	}
}

/* Floating Animation for Project Cards */

/* Text Splitting Effect */
.about-text p {
	position: relative;
	overflow: hidden;
}

.about-text p::before {
	content: attr(data-text);
	position: absolute;
	top: 0;
	left: 0;
	color: var(--primary-color);
	clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
	transition: clip-path 0.3s ease;
}

.about-text p:hover::before {
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
	animation: textSplit 0.5s ease-in-out;
}

@keyframes textSplit {
	0% {
		clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
	}
	50% {
		clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
	}
	100% {
		clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
	}
}

/* Optimize performance */
@media (prefers-reduced-motion: no-preference) {
	.about-header::before,
	.skills-header::before,
	.projects-header::before,
	.about-image::before,
	.skill-tag,
	.highlight-item::after,
	.project-card,
	.about-text p::before {
		will-change: transform, opacity;
	}
}

/* About Section Slide Animations */
.about-text {
	opacity: 0;
	transform: translateX(-100px);
	filter: blur(5px);
	transition: all 1s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.about-image {
	opacity: 0;
	transform: translateX(100px);
	filter: blur(5px);
	transition: all 1s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.about-text.reveal-visible,
.about-image.reveal-visible {
	opacity: 1;
	transform: translateX(0);
	filter: blur(0);
}

/* Staggered content reveal */
.about-text p {
	opacity: 0;
	transform: translateX(-50px);
	transition: all 0.8s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.about-text.reveal-visible p {
	opacity: 1;
	transform: translateX(0);
	text-align: justify;
	letter-spacing: 2px;
}

.about-text p:nth-child(1) {
	transition-delay: 0.2s;
}
.about-text p:nth-child(2) {
	transition-delay: 0.4s;
}

/* Highlight items slide in */
.about-highlights {
	opacity: 0;
	transform: translateX(-30px);
	transition: all 0.8s cubic-bezier(0.17, 0.67, 0.83, 0.67);
	transition-delay: 0.6s;
}

.about-text.reveal-visible .about-highlights {
	opacity: 1;
	transform: translateX(0);
}

/* Skill tags slide in */
.skill-tags {
	opacity: 0;
	transform: translateX(-20px);
	transition: all 0.8s cubic-bezier(0.17, 0.67, 0.83, 0.67);
	transition-delay: 0.8s;
}

.about-text.reveal-visible .skill-tags {
	opacity: 1;
	transform: translateX(0);
}

/* Enhanced image reveal */
.about-image img {
	opacity: 0;
	transform: scale(0.9) translateX(50px);
	transition: all 1s cubic-bezier(0.17, 0.67, 0.83, 0.67);
	transition-delay: 0.3s;
}

.about-image.reveal-visible img {
	opacity: 1;
	transform: scale(1) translateX(0);
}

/* Header slide in from top */
.about-header {
	opacity: 0;
	transform: translateY(-30px);
	transition: all 0.8s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.about-header.reveal-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Add a subtle rotation to the sliding motion */
.about-text {
	transform: translateX(-100px) rotate(-2deg);
}

.about-image {
	transform: translateX(100px) rotate(2deg);
}

.about-text.reveal-visible,
.about-image.reveal-visible {
	transform: translateX(0) rotate(0);
}

/* Optimize performance */
@media (prefers-reduced-motion: no-preference) {
	.about-text,
	.about-image,
	.about-text p,
	.about-highlights,
	.skill-tags,
	.about-image img,
	.about-header {
		will-change: transform, opacity;
	}
}

/* Page Reload Animation */
.page-transition {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(45deg, #0d0c0f, #1a1a1a);
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
	animation: pageTransition 1.5s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

.page-transition::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		45deg,
		rgba(139, 92, 246, 0.3),
		rgba(124, 58, 237, 0.3)
	);
	filter: blur(50px);
	animation: gradientMove 2s ease-in-out infinite alternate;
}

.loader {
	width: 60px;
	height: 60px;
	border: 3px solid rgba(255, 255, 255, 0.1);
	border-top-color: var(--primary-color);
	border-radius: 50%;
	animation: loaderSpin 1s ease-in-out infinite;
}

@keyframes pageTransition {
	0% {
		transform: scaleY(1);
		opacity: 1;
	}
	100% {
		transform: scaleY(0);
		opacity: 0;
		display: none;
	}
}

@keyframes gradientMove {
	0% {
		transform: translateX(-25%) translateY(-25%) rotate(0deg);
	}
	100% {
		transform: translateX(25%) translateY(25%) rotate(180deg);
	}
}

@keyframes loaderSpin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* Add animation to main content */
.content-wrapper {
	opacity: 0;
	animation: contentFadeIn 0.8s ease-out forwards;
	animation-delay: 0.8s;
}

@keyframes contentFadeIn {
	0% {
		opacity: 0;
		transform: translateY(20px) scale(0.95);
		filter: blur(10px);
	}
	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
		filter: blur(0);
	}
}
.logo-bracket {
	color: var(--primary-color);
	font-weight: 300;
	font-size: 2rem;
	text-shadow: 0 0 10px var(--primary-color);
	animation: pulse 2s ease-in-out infinite;
	letter-spacing: -2px;
}

@keyframes pulse {
	0%,
	100% {
		opacity: 1;
		text-shadow: 0 0 10px var(--primary-color);
	}
	50% {
		opacity: 0.8;
		text-shadow: 0 0 20px var(--primary-color);
	}
}
@keyframes smoothFadeSlide {
	0% {
		opacity: 0;
		transform: translateY(30px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.skills-container {
	opacity: 0;
	will-change: transform, opacity;
}

.skills-container.animate {
	animation: smoothFadeSlide 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.skills-container.reset {
	opacity: 0;
	transform: translateY(30px);
	transition: none;
}
@keyframes smoothFadeSlide {
	0% {
		opacity: 0;
		transform: translateY(30px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeSlideRight {
	0% {
		opacity: 0;
		transform: translateX(-20px);
	}
	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

.skills-container {
	opacity: 0;
	will-change: transform, opacity;
}

.skills-container.animate {
	animation: smoothFadeSlide 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.skills-container.reset {
	opacity: 0;
	transform: translateY(30px);
	transition: none;
}

/* Skill name animations */
.skill-name {
	opacity: 0;
}

.skills-container.animate .skill-name {
	animation: fadeSlideRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Staggered delay for each skill */
.skills-container.animate .skill-name:nth-child(1) {
	animation-delay: 0.2s;
}
.skills-container.animate .skill-name:nth-child(2) {
	animation-delay: 0.3s;
}
.skills-container.animate .skill-name:nth-child(3) {
	animation-delay: 0.4s;
}
.skills-container.animate .skill-name:nth-child(4) {
	animation-delay: 0.5s;
}
.skills-container.animate .skill-name:nth-child(5) {
	animation-delay: 0.6s;
}
.skills-container.animate .skill-name:nth-child(6) {
	animation-delay: 0.7s;
}
.skills-container.animate .skill-name:nth-child(7) {
	animation-delay: 0.8s;
}
.skills-container.animate .skill-name:nth-child(8) {
	animation-delay: 0.9s;
}
.skills-container.animate .skill-name:nth-child(9) {
	animation-delay: 1s;
}
.skills-container.animate .skill-name:nth-child(10) {
	animation-delay: 1.1s;
}

.skills-container.reset .skill-name {
	opacity: 0;
	transform: translateX(-20px);
	transition: none;
}

.profile-name {
	position: relative;
	z-index: 1000;
	font-size: 3rem;
	margin-bottom: 1rem;
	display: inline-block;
}

.name-animation {
	display: inline-block;
	position: relative;
	z-index: 1000;
	font-size: 3rem;
}

.profile-name .char {
	display: inline-block;
	position: relative;
	z-index: 1000;
	color: white;
	opacity: 0;
	transform-origin: center;
	animation: charFloat 0.5s ease forwards;
}

@keyframes charFloat {
	0% {
		opacity: 0;
		transform: translateY(40px) scale(0.5);
		filter: blur(10px);
	}
	60% {
		opacity: 0.8;
		transform: translateY(-20px) scale(1.2);
		filter: blur(0px);
		color: var(--primary-color);
	}
	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
		text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
	}
}

/* Apply staggered delays */
.name-animation:first-child .char:nth-child(1) {
	animation-delay: 0.1s;
}
.name-animation:first-child .char:nth-child(2) {
	animation-delay: 0.2s;
}
.name-animation:first-child .char:nth-child(3) {
	animation-delay: 0.3s;
}
.name-animation:first-child .char:nth-child(4) {
	animation-delay: 0.4s;
}
.name-animation:first-child .char:nth-child(5) {
	animation-delay: 0.5s;
}

.name-animation:last-child .char:nth-child(1) {
	animation-delay: 0.6s;
}
.name-animation:last-child .char:nth-child(2) {
	animation-delay: 0.7s;
}
.name-animation:last-child .char:nth-child(3) {
	animation-delay: 0.8s;
}
.name-animation:last-child .char:nth-child(4) {
	animation-delay: 0.9s;
}
.name-animation:last-child .char:nth-child(5) {
	animation-delay: 1s;
}
.name-animation:last-child .char:nth-child(6) {
	animation-delay: 1.1s;
}

/* Hover animation */
.profile-name .char {
	animation: charPulse 2s ease-in-out infinite;
}

@keyframes charPulse {
	0%,
	100% {
		opacity: 0.7;
		transform: translateY(5px) scale(0.95);
		color: white;
	}
	50% {
		opacity: 1;
		transform: translateY(-5px) scale(1.05);
		color: var(--primary-color);
		text-shadow: 0 0 20px var(--primary-color);
	}
}
/* Responsive styles for profile card 
@media screen and (max-width: 1024px) {
	.profile-header {
		width: 100%;
	}

	.profile-img-container {
		width: 400px;
		height: 400px;
		margin: 50px 5px;
	}

	.profile-info {
		margin: 30px;
	}

	.profile-social {
		flex-direction: row;
		gap: 1.5rem;
		justify-content: center;
		width: 100%;
	}
}

@media screen and (max-width: 768px) {
	/* .glass-card.hero-content.profile-card {
		margin: 20px;
	} */

.profile-img-container {
	width: 400px;
	height: 400px;
	margin: 15px auto;
}

.profile-name {
	font-size: 3rem;
}

/* Responsive styles for profile card 
@media screen and (max-width: 1024px) {
	.profile-card {
		display: flex;
		flex-direction: column;
	}

	.profile-header {
		width: 100%;
		order: -1; 
		padding: 1rem;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.profile-img-container {
		width: 200px;
		height: 200px;
		margin: 20px auto;
	}

	.profile-info {
		margin: 30px;
		text-align: center;
	}

	.profile-social {
		flex-direction: row;
		gap: 1.5rem;
		justify-content: center;
		width: 100%;
	}
}

@media screen and (max-width: 768px) {
	.glass-card.hero-content.profile-card {
		margin: 20px;
	}

	.profile-header {
		padding: 0.5rem;
	}

	.profile-img-container {
		width: 150px;
		height: 150px;
		margin: 15px auto;
	}

	.profile-info {
		margin: 20px;
	}

	.profile-name {
		font-size: 1.8rem;
	}
}
*/
/* Responsive styles for all devices */
/* Large Desktop */
@media screen and (min-width: 1441px) {
	.glass-card.hero-content.profile-card {
		margin: 110px;
	}

	.profile-img-container {
		width: 400px;
		height: 400px;
	}
}

/* Desktop */
@media screen and (max-width: 1440px) {
	.glass-card.hero-content.profile-card {
		margin: 100px;
	}
	.profile-info {
		font-size: 30px;
	}
}

/* Small Desktop / Large Tablet */
@media screen and (max-width: 1200px) {
	.profile-card {
		display: flex;
		flex-direction: column;
	}

	.profile-header {
		width: 100%;
		order: -1;
		padding: 1.5rem;
	}

	.profile-img-container {
		width: 300px;
		height: 300px;
		margin: 25px auto;
	}

	.profile-info {
		margin: 40px;
	}
	.profile-social {
		flex-direction: row;
	}
}

/* Tablet */
@media screen and (max-width: 1024px) {
	.glass-card.hero-content.profile-card {
		height: 600px;
	}
	.profile-header {
		padding: 3rem;
	}

	.profile-img-container {
		width: 250px;
		height: 250px;
		margin: 20px auto;
	}

	.profile-info {
		margin: 30px;
	}

	.profile-social {
		flex-direction: row;
		gap: 1.5rem;
		justify-content: center;
		width: 100%;
	}
}

/* Large Mobile */
@media screen and (max-width: 768px) {
	/* .glass-card.hero-content.profile-card {
		margin: 20px;
	} */

	.profile-img-container {
		width: 200px;
		height: 200px;
		margin: 15px auto;
	}

	.profile-info {
		margin: 20px;
	}

	.profile-name {
		font-size: 2rem;
	}
}

/* Small Mobile */
@media screen and (max-width: 480px) {
	.profile-img-container {
		width: 150px;
		height: 150px;
		margin: 10px auto;
	}

	.profile-info {
		margin: 15px;
	}

	.profile-name {
		font-size: 1.8rem;
	}

	.profile-social {
		gap: 1rem;
	}

	.social-link {
		width: 35px;
		height: 35px;
	}
}

/* Extra Small Mobile */
@media screen and (max-width: 320px) {
	.glass-card.hero-content.profile-card {
		margin: 10px;
	}

	.profile-img-container {
		width: 120px;
		height: 120px;
	}

	.profile-name {
		font-size: 1.5rem;
	}
}

.profile-buttons {
	display: flex;
	gap: 1rem;
	margin-top: 1.5rem;
}

.btn {
	padding: 0.6rem 1.2rem;
	border-radius: 6px;
	font-weight: 500;
	transition: all 0.3s ease;
	text-decoration: none;
	font-size: 0.9rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.btn-primary {
	background: var(--primary-color);
	color: white;
	border: 2px solid var(--primary-color);
}

.btn-primary:hover {
	background: var(--secondary-color);
	border-color: var(--secondary-color);
	transform: translateY(-2px);
}

.btn-outline {
	background: transparent;
	color: var(--text-color);
	border: 2px solid var(--text-color);
}

.btn-outline:hover {
	background: rgba(255, 255, 255, 0.1);
	transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
	.profile-buttons {
		justify-content: center;
	}
}

.profile-title {
	font-size: 1.2rem;
	color: var(--text-secondary);
	margin-bottom: 1rem;
}

.profile-buttons {
	display: flex;
	gap: 1.5rem;
	margin-top: 4rem;
	justify-content: center;
}

.btn {
	/* padding: 0.3rem 3rem; */
	border-radius: 8px;
	font-weight: 500;
	transition: all 0.3s ease;
	text-decoration: none;
	font-size: 1rem;
	letter-spacing: 0.5px;
}

.btn-primary {
	background: var(--primary-color);
	color: white;
	border: 2px solid var(--primary-color);
	box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
	background: var(--secondary-color);
	border-color: var(--secondary-color);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.btn-outline {
	background: transparent;
	color: var(--text-color);
	border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
	border-color: var(--text-color);
	background: rgba(255, 255, 255, 0.1);
	transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
	.profile-buttons {
		flex-direction: row;
		gap: 1rem;
	}

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

/* Experience Section Styles */
.experience {
	padding: 5rem 2rem;
}

.experience-container {
	max-width: 900px;
	margin: 0 auto;
}

.experience-item {
	position: relative;
	padding-left: 3rem;
	margin-bottom: 3rem;
	border-left: none;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.5s ease;
}

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

.experience-item::before {
	content: "";
	position: absolute;
	left: 7px;
	top: 0;
	bottom: -3rem;
	width: 2px;
	background: var(--primary-color);
	transform-origin: top;
	clip-path: polygon(
		0 0,
		100% 0,
		100% var(--scroll-height, 0%),
		0 var(--scroll-height, 0%)
	);
	transition: clip-path 1s ease;
}

.experience-item.animate::before {
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.experience-item::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--primary-color);
	border: 2px solid var(--background-color);
	box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
	opacity: 0;
	transform: scale(0);
	transition: all 0.5s ease 0.3s;
}

.experience-item.animate::after {
	opacity: 1;
	transform: scale(1);
}

.experience-item:last-child::before {
	display: none;
}

.experience-date {
	color: var(--primary-color);
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.experience-title {
	color: var(--text-color);
	font-size: 1.4rem;
	margin-bottom: 0.5rem;
}

.experience-company {
	color: var(--text-secondary);
	margin-bottom: 1rem;
}

.experience-details {
	list-style: none;
	padding-left: 0;
}

.experience-details li {
	color: var(--text-secondary);
	margin-bottom: 0.5rem;
	padding-left: 1rem;
	position: relative;
}

.experience-details li::before {
	content: "•";
	color: var(--primary-color);
	position: absolute;
	left: 0;
}

.experience-item {
	position: relative;
	padding-left: 3rem;
	margin-bottom: 3rem;
}

.experience-item::before {
	content: "";
	position: absolute;
	left: 7px;
	top: 0;
	bottom: -3rem;
	width: 2px;
	background: var(--primary-color);
	transform-origin: top;
	clip-path: polygon(
		0 0,
		100% 0,
		100% var(--scroll-height, 0%),
		0 var(--scroll-height, 0%)
	);
}

.experience-item::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--primary-color);
	border: 2px solid var(--background-color);
	box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
}

.experience-item:last-child::before {
	display: none;
}

.experience-item {
	position: relative;
	padding-left: 2rem;
	margin-bottom: 2rem;
	opacity: 0;
	transform: translateX(-50px);
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateX(-50px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.experience-item.animate {
	animation: slideIn 0.5s ease-out forwards;
}

/* Ensure items stay visible after animation */
.experience-item.animate-complete {
	opacity: 1;
	transform: translateX(0);
}

/* Solar System Skills */
.solar-system {
	position: relative;
	width: 600px;
	height: 600px;
	margin: 50px auto;
	transform-style: preserve-3d;
}

.sun {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #64ffda;
	transform: translate(-50%, -50%);
	box-shadow: 0 0 50px #64ffda;
}

.orbit {
	position: absolute;
	top: 50%;
	left: 50%;
	border: 1px solid rgba(100, 255, 218, 0.1);
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.planet {
	position: absolute;
	top: -20px;
	left: 50%;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(10, 25, 47, 0.8);
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.planet i {
	font-size: 24px;
}

/* Orbit Sizes and Animations */
.orbit-html {
	width: 200px;
	height: 200px;
	animation: rotate 10s linear infinite;
}

.orbit-css {
	width: 280px;
	height: 280px;
	animation: rotate 15s linear infinite;
}

.orbit-js {
	width: 360px;
	height: 360px;
	animation: rotate 20s linear infinite;
}

.orbit-react {
	width: 440px;
	height: 440px;
	animation: rotate 25s linear infinite;
}

.orbit-node {
	width: 520px;
	height: 520px;
	animation: rotate 30s linear infinite;
}

.orbit-python {
	width: 600px;
	height: 600px;
	animation: rotate 35s linear infinite;
}

/* Counter-rotate planets to keep them upright */
.planet-html {
	animation: counter-rotate 10s linear infinite;
}

.planet-css {
	animation: counter-rotate 15s linear infinite;
}

.planet-js {
	animation: counter-rotate 20s linear infinite;
}

.planet-react {
	animation: counter-rotate 25s linear infinite;
}

.planet-node {
	animation: counter-rotate 30s linear infinite;
}

.planet-python {
	animation: counter-rotate 35s linear infinite;
}

/* Hover effects */
.planet:hover {
	transform: translateX(-50%) scale(1.2);
	box-shadow: 0 0 20px rgba(100, 255, 218, 0.5);
}

@keyframes rotate {
	from {
		transform: translate(-50%, -50%) rotate(0deg);
	}
	to {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

@keyframes counter-rotate {
	from {
		transform: translateX(-50%) rotate(360deg);
	}
	to {
		transform: translateX(-50%) rotate(0deg);
	}
}

/* Make it responsive */
@media (max-width: 768px) {
	.solar-system {
		width: 300px;
		height: 300px;
		transform: scale(0.5);
	}
}

/* Black Hole Styles */
.sun {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: #000000;
    box-shadow: 
        0 0 60px rgba(138, 43, 226, 0.2),
        inset 0 0 40px rgba(138, 43, 226, 0.4);
    animation: blackHolePulse 4s ease-in-out infinite;
}

.sun::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(138, 43, 226, 0.5);
    transform: translate(-50%, -50%);
    animation: blackHoleRing 8s linear infinite;
}

.sun::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(138, 43, 226, 0.2) 0%,
        rgba(138, 43, 226, 0.1) 30%,
        transparent 70%
    );
    transform: translate(-50%, -50%);
    animation: blackHoleGlow 4s ease-in-out infinite;
}

@keyframes blackHolePulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 
            0 0 60px rgba(138, 43, 226, 0.2),
            inset 0 0 40px rgba(138, 43, 226, 0.4);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 
            0 0 80px rgba(138, 43, 226, 0.3),
            inset 0 0 60px rgba(138, 43, 226, 0.5);
    }
}

@keyframes blackHoleRing {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg) scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
        opacity: 0.5;
    }
}

@keyframes blackHoleGlow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Update orbit colors to match black hole theme */
.orbit {
    border: 1px solid rgba(138, 43, 226, 0.1);
}

.planet:hover {
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
    padding: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modal-content::-webkit-scrollbar {
    display: none;
}

.modal.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-header {
    padding: 15px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    padding: 1px;
    transition: transform 0.3s ease;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
}

.modal-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.gallery-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-image.active {
    display: block;
    opacity: 1;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(138, 43, 226, 0.3);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.gallery-nav:hover {
    background: rgba(138, 43, 226, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

.gallery-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: rgba(138, 43, 226, 0.8);
    transform: scale(1.2);
}

.modal-tech-stack {
    margin-bottom: 30px;
}

.modal-tech-stack h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.modal-tags .project-tag {
    background: rgba(138, 43, 226, 0.2);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.modal-tags .project-tag:hover {
    background: rgba(138, 43, 226, 0.4);
    transform: translateY(-2px);
}

.modal-description {
    color: #fff;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.modal-features {
    margin-top: 30px;
}

.modal-features h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    color: #fff;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.features-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: rgba(138, 43, 226, 0.8);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .modal-image-container {
        height: 300px;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .modal-header {
        padding: 15px 20px;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .modal-image-container {
        height: 250px;
    }

    .gallery-nav {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }
}

/* Enhanced Black Hole Styles */
.sun {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: #000000;
    box-shadow: 
        0 0 60px rgba(138, 43, 226, 0.4),
        0 0 100px rgba(138, 43, 226, 0.3),
        0 0 160px rgba(138, 43, 226, 0.2),
        inset 0 0 60px rgba(138, 43, 226, 0.6);
    animation: blackHolePulse 4s ease-in-out infinite;
    z-index: 2;
}

.sun::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 140%;
    border-radius: 50%;
    background: transparent;
    border: 4px solid rgba(138, 43, 226, 0.3);
    box-shadow: 
        0 0 30px rgba(138, 43, 226, 0.5),
        inset 0 0 30px rgba(138, 43, 226, 0.5);
    transform: translate(-50%, -50%);
    animation: blackHoleRing 8s linear infinite;
    z-index: 1;
    filter: blur(3px);
}

.sun::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(138, 43, 226, 0.4) 0%,
        rgba(138, 43, 226, 0.2) 20%,
        rgba(138, 43, 226, 0.1) 40%,
        transparent 70%
    );
    transform: translate(-50%, -50%);
    animation: blackHoleGlow 4s ease-in-out infinite;
    filter: blur(10px);
    z-index: 0;
}

@keyframes blackHolePulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 
            0 0 60px rgba(138, 43, 226, 0.4),
            0 0 100px rgba(138, 43, 226, 0.3),
            0 0 160px rgba(138, 43, 226, 0.2),
            inset 0 0 60px rgba(138, 43, 226, 0.6);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        box-shadow: 
            0 0 80px rgba(138, 43, 226, 0.6),
            0 0 120px rgba(138, 43, 226, 0.4),
            0 0 180px rgba(138, 43, 226, 0.3),
            inset 0 0 80px rgba(138, 43, 226, 0.8);
    }
}

@keyframes blackHoleRing {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(0.8);
        opacity: 0.3;
        border-color: rgba(138, 43, 226, 0.3);
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg) scale(1.2);
        opacity: 0.8;
        border-color: rgba(138, 43, 226, 0.6);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(0.8);
        opacity: 0.3;
        border-color: rgba(138, 43, 226, 0.3);
    }
}

@keyframes blackHoleGlow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        filter: blur(10px) brightness(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.3) rotate(180deg);
        filter: blur(15px) brightness(1.2);
    }
}

/* Enhanced orbit effect */
.orbit {
    border: 1px solid rgba(138, 43, 226, 0.15);
    box-shadow: 
        0 0 20px rgba(138, 43, 226, 0.1),
        inset 0 0 20px rgba(138, 43, 226, 0.1);
}

/* Enhanced planet hover effect */
.planet:hover {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 
        0 0 30px rgba(138, 43, 226, 0.6),
        0 0 50px rgba(138, 43, 226, 0.3);
    z-index: 3;
}

/* Footer Copyright */
footer {
	text-align: center;
	padding: 1rem 0;
	color: var(--text-secondary);
	margin-bottom: 30px;
}

/* Fix horizontal scrolling on mobile and tablet */
@media (max-width: 768px) {
	html, body, .content {
		overflow-x: hidden;
		width: 100%;
		position: relative;
	}
	
	#particles-js {
		width: 100vw;
	}
}
/* Extra Large Screens (1629px and above) */
@media screen and (min-width: 1629px) {
	.glass-card.hero-content.profile-card {
		margin: 110px;
		position: absolute;
	}

	.profile-img-container {
		width: 420px;
		height: 420px;
	}

	.profile-info {
		font-size: 100px;
	}

	.profile-name {
		font-size: 3rem;
	}

	.profile-title {
		font-size: 1.5rem;
	}

	.profile-buttons {
		margin-top: 5rem;
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 1.5rem;
	}

	.btn {
		font-size: 1.1rem;
		text-align: center;
		display: flex;
		justify-content: center;
		align-items: center;
		border-radius: 12px;
		min-width: 180px;
		height: 56px;
		font-weight: 500;
		transition: all 0.3s ease;
	}

	.btn-primary {
		background-color: rgb(139, 92, 246);
		color: white;
		border: none;
		box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
	}

	.btn-outline {
		background-color: transparent;
		color: white;
		border: 1px solid rgba(255, 255, 255, 0.3);
		backdrop-filter: blur(5px);
	}

	.btn span {
		display: inline-block;
		vertical-align: middle;
	}

	.btn i {
		margin-right: 0.7rem;
		vertical-align: middle;
		font-size: 1.2rem;
	}

	.profile-social {
		gap: 2rem;
	}

	.social-link {
		width: 50px;
		height: 50px;
	}

	.hero {
		display: flex;
		justify-content: center;
		align-items: center;
		min-height: 100vh;
		position: relative;
	}

	section {
		padding: 5rem 2rem;
		max-width: 1600px;
		margin: 0 auto;
	}

	.about-container,
	.project-grid,
	.contact-content {
		margin: 0 auto;
	}

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