:root {
	--primary-color: #06b6d4;
	--secondary-color: #3b82f6;
	--dark-bg: #0f172a;
	--darker-bg: #020617;
	--card-bg: rgba(30, 41, 59, 0.5);
	--border-color: #334155;
	--text-color: #f8fafc;
	--text-muted: #94a3b8;
	--gradient: linear-gradient(to right, var(--primary-color), var(--secondary-color));
	--shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	--transition: all 0.3s ease;
	--radius: 0.5rem;
	--input-bg: #1e293b;
	--input-border: #334155;
	--card-hover-bg: rgba(30, 41, 59, 0.7);
	--btn-hover: #e2e8f0;
	--btn-text: var(--darker-bg);
	--btn-outline-border: white;
	--btn-outline-text: white;
	--btn-outline-hover-bg: rgba(255, 255, 255, 0.1);
	--filter-btn-bg: #1e293b;
	--filter-btn-hover: #334155;
	--filter-btn-text: #cbd5e1;
	--social-icon-bg: #1e293b;
	--social-icon-color: #94a3b8;
	--social-icon-hover-bg: rgba(6, 182, 212, 0.2);
	--social-icon-hover-color: white;
	--info-icon-bg: #1e293b;
	--info-icon-color: var(--primary-color);
	--info-icon-hover-bg: var(--primary-color);
	--info-icon-hover-color: white;
	--form-bg: #1e293b;
	--form-focus-bg: #263244;
	--form-hover-border: #475569;
	--form-text: white;
	--mobile-menu-hover: rgba(6, 182, 212, 0.1);
	--mobile-menu-border: rgba(51, 65, 85, 0.5);
	--scroll-btn-bg: rgba(15, 23, 42, 0.7);
	--scroll-btn-hover-bg: rgba(6, 182, 212, 0.7);
	--scroll-btn-color: white;
	--theme-toggle-bg: transparent;
	--theme-toggle-color: #cbd5e1;
	--theme-toggle-hover-color: white;
	--theme-toggle-active-color: var(--primary-color);
	--nav-bg: rgba(15, 23, 42, 0.95);
	--view-projects-bg: #06b6d4;
	--view-projects-text: #ffffff;
	--view-projects-hover-bg: #0891b2;
}

/* Light theme */
html.light {
	--primary-color: #0891b2;
	--secondary-color: #2563eb;
	--dark-bg: #f8fafc;
	--darker-bg: #e2e8f0;
	--card-bg: rgba(255, 255, 255, 0.8);
	--border-color: #cbd5e1;
	--text-color: #0f172a;
	--text-muted: #475569;
	--shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
	--input-bg: #f1f5f9;
	--input-border: #cbd5e1;
	--card-hover-bg: rgba(255, 255, 255, 0.95);
	--btn-hover: #0f172a;
	--btn-text: white;
	--btn-outline-border: #0f172a;
	--btn-outline-text: #0f172a;
	--btn-outline-hover-bg: rgba(15, 23, 42, 0.05);
	--filter-btn-bg: #e2e8f0;
	--filter-btn-hover: #cbd5e1;
	--filter-btn-text: #1e293b;
	--social-icon-bg: #e2e8f0;
	--social-icon-color: #475569;
	--social-icon-hover-bg: rgba(6, 182, 212, 0.1);
	--social-icon-hover-color: #0f172a;
	--info-icon-bg: #e2e8f0;
	--info-icon-color: var(--primary-color);
	--info-icon-hover-bg: var(--primary-color);
	--info-icon-hover-color: white;
	--form-bg: #f1f5f9;
	--form-focus-bg: #f8fafc;
	--form-hover-border: #94a3b8;
	--form-text: #0f172a;
	--mobile-menu-hover: rgba(6, 182, 212, 0.05);
	--mobile-menu-border: rgba(203, 213, 225, 0.5);
	--scroll-btn-bg: rgba(226, 232, 240, 0.7);
	--scroll-btn-hover-bg: rgba(6, 182, 212, 0.7);
	--scroll-btn-color: #0f172a;
	--theme-toggle-bg: transparent;
	--theme-toggle-color: #475569;
	--theme-toggle-hover-color: #0f172a;
	--theme-toggle-active-color: var(--primary-color);
	--nav-bg: rgba(248, 250, 252, 0.95);
	--view-projects-bg: #0891b2;
	--view-projects-text: #ffffff;
	--view-projects-hover-bg: #0e7490;
}

/* Theme transition styles */
html,
body {
	transition: background-color 0.5s ease, color 0.5s ease;
}

body * {
	transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

/* Theme transition overlay */
.theme-transition-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--darker-bg);
	z-index: 9999;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s ease;
}

.theme-transition-overlay.active {
	opacity: 0.5;
	pointer-events: all;
}

/* Theme toggle styles */
.theme-toggle {
	background: var(--theme-toggle-bg);
	color: var(--theme-toggle-color);
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

.theme-toggle:hover {
	color: var(--theme-toggle-hover-color);
	transform: rotate(15deg) scale(1.1);
}

.theme-toggle:active {
	transform: scale(0.9);
}

.theme-toggle .fa-sun {
	position: absolute;
	opacity: 0;
	transform: scale(0) rotate(-180deg);
	transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.theme-toggle .fa-moon {
	opacity: 1;
	transform: scale(1) rotate(0);
	transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

html.light .theme-toggle .fa-sun {
	opacity: 1;
	transform: scale(1) rotate(0);
}

html.light .theme-toggle .fa-moon {
	opacity: 0;
	transform: scale(0) rotate(180deg);
}

/* Theme ripple effect */
.theme-ripple {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
	background: var(--darker-bg);
	border-radius: 50%;
	transform: translate(-50%, -50%) scale(0);
	opacity: 0.3;
	z-index: 9999;
	pointer-events: none;
	transition: transform 1s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 1s ease-out;
}

/* Theme indicator */
.theme-indicator {
	position: fixed;
	bottom: 30px;
	left: 30px;
	background: var(--card-bg);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	color: var(--text-color);
	z-index: 100;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
	pointer-events: none;
	box-shadow: var(--shadow);
}

.theme-indicator.visible {
	opacity: 1;
	transform: translateY(0);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
	"Helvetica Neue", sans-serif;
	background-color: var(--darker-bg);
	color: var(--text-color);
	line-height: 1.6;
	overflow-x: hidden;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

a {
	text-decoration: none;
	color: inherit;
	transition: var(--transition);
}

button {
	cursor: pointer;
	font-family: inherit;
	border: none;
	background: none;
}

img {
	max-width: 100%;
	height: auto;
}

.section-title {
	font-size: 2.25rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
}

.gradient-text {
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.section-header {
	text-align: center;
	margin-bottom: 4rem;
}

.section-header p {
	max-width: 36rem;
	margin: 0 auto;
	color: var(--text-muted);
	font-size: 1.125rem;
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	border-radius: 9999px;
	font-weight: 500;
	transition: var(--transition);
	text-align: center;
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.btn::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.1);
	transition: all 0.4s ease;
	z-index: -1;
}

.btn:hover::before {
	left: 0;
}

.btn-primary {
	background-color: white;
	color: var(--btn-text);
}

.btn-primary:hover {
	background-color: var(--btn-hover);
	transform: translateY(-2px);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* View Projects button - special styling */
.view-projects-btn {
	background-color: var(--view-projects-bg);
	color: var(--view-projects-text);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.view-projects-btn:hover {
	background-color: var(--view-projects-hover-bg);
	transform: translateY(-3px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.view-projects-btn:active {
	transform: translateY(-1px);
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.btn-outline {
	background-color: transparent;
	border: 2px solid var(--btn-outline-border);
	color: var(--btn-outline-text);
}

.btn-outline:hover {
	background-color: var(--btn-outline-hover-bg);
	transform: translateY(-2px);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-full {
	width: 100%;
}

/* Navbar */
#navbar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	padding: 1.25rem 0;
	transition: var(--transition);
}

#navbar.scrolled {
	background-color: var(--nav-bg);
	backdrop-filter: blur(6.5px);
	padding: 1.7rem 0;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.nav-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-size: 1.5rem;
	font-weight: 700;
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	position: relative;
}

.logo::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--gradient);
	transition: width 0.3s ease;
}

.logo:hover::after {
	width: 100%;
}

.nav-links {
	display: flex;
	gap: 2rem;
	align-items: center;
}

.nav-item {
	color: var(--text-muted);
	font-size: 1rem;
	transition: var(--transition);
	position: relative;
}

.nav-item::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--gradient);
	transition: width 0.3s ease;
}

.nav-item:hover {
	color: var(--text-color);
}

.nav-item:hover::after {
	width: 100%;
}

/* Theme Toggle */
.right-nav {
	display: flex;
	align-items: center;
	gap: 1rem;
}

#themeToggleMobile {
	display: none;
}

/* Mobile menu */
.mobile-menu-btn {
	display: none; /* Hide by default */
	width: 40px;
	height: 40px;
	background: rgba(30, 41, 59, 0.5);
	border-radius: var(--radius);
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	z-index: 1001;
}

html.light .mobile-menu-btn {
	background: rgba(226, 232, 240, 0.5);
}

.mobile-menu-btn:hover {
	background: rgba(6, 182, 212, 0.2);
}

.hamburger {
	width: 20px;
	height: 16px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.hamburger span {
	display: block;
	width: 100%;
	height: 2px;
	background-color: var(--text-color);
	border-radius: 2px;
	transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
	transform-origin: center;
}

/* Hamburger animation - improved */
.mobile-menu.active ~ .mobile-menu-btn .hamburger span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.mobile-menu.active ~ .mobile-menu-btn .hamburger span:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.mobile-menu.active ~ .mobile-menu-btn .hamburger span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
	display: none;
	position: fixed;
	top: 70px;
	left: 0;
	width: 100%;
	background-color: var(--nav-bg);
	backdrop-filter: blur(8px);
	z-index: 999;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
	transform: translateY(-20px);
	opacity: 0;
	transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
	pointer-events: none;
}

.mobile-menu.active {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
	display: block;
}

.mobile-menu-container {
	padding: 1rem 0;
	max-height: 80vh;
	overflow-y: auto;
}

.mobile-menu .nav-item {
	display: block;
	padding: 0.75rem 1.5rem;
	text-align: center;
	width: 100%;
	font-size: 1.1rem;
	color: var(--text-color);
	border-bottom: 1px solid var(--mobile-menu-border);
	transition: all 0.3s ease;
}

.mobile-menu .nav-item:last-child {
	border-bottom: none;
}

.mobile-menu .nav-item:hover {
	background: var(--mobile-menu-hover);
	transform: translateX(5px);
}

/* Hero Section */
.hero {
	position: relative;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url("/assets/img/background.jpg");
	background-size: cover;
	background-position: center;
	transition: transform 0.5s ease-out;
}

.hero-bg::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, rgba(2, 6, 23, 0.8), rgba(2, 6, 23, 0.7), var(--darker-bg));
	transition: background 0.5s ease;
}

html.light .hero-bg::after {
	background: linear-gradient(to bottom, rgba(226, 232, 240, 0.8), rgba(226, 232, 240, 0.7), var(--darker-bg));
}

.hero-content {
	position: relative;
	z-index: 10;
	text-align: center;
	max-width: 48rem;
	animation: fadeIn 1.5s ease-out;
}

.hero h1 {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	line-height: 1.2;
}

.hero h1 span {
	display: block;
}

.hero h1 span:first-child {
	margin-bottom: 0.5rem;
	animation: slideInLeft 1s ease-out;
}

.hero h1 .gradient-text {
	animation: slideInRight 1s ease-out;
	display: inline-block;
}

.hero p {
	font-size: 1.25rem;
	color: var(--text-muted);
	margin-bottom: 2rem;
	animation: fadeIn 2s ease-out;
}

.hero-buttons {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 3rem;
	animation: fadeIn 2.5s ease-out;
}

.social-links {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	animation: fadeIn 3s ease-out;
}

.social-links a {
	color: var(--text-muted);
	font-size: 1.5rem;
	transition: all 0.3s ease;
}

.social-links a:hover {
	color: var(--text-color);
	transform: translateY(-5px);
}

.scroll-down {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	color: var(--text-color);
	font-size: 1.5rem;
	animation: bounce 2s infinite;
	background: var(--scroll-btn-bg);
	border: none;
	z-index: 10;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.scroll-down:hover {
	background: var(--scroll-btn-hover-bg);
	transform: translateX(-50%) translateY(-5px);
}

/* Scroll to top button */
.scroll-to-top {
	position: fixed;
	bottom: -60px;
	right: 30px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: var(--scroll-btn-bg);
	color: var(--scroll-btn-color);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	cursor: pointer;
	z-index: 99;
	transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	opacity: 0;
}

.scroll-to-top.visible {
	bottom: 30px;
	opacity: 1;
}

.scroll-to-top:hover {
	background: var(--scroll-btn-hover-bg);
	transform: translateY(-5px);
}

/* Particles */
.particles {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 1;
}

.particle {
	position: absolute;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	animation: float 15s linear infinite;
}

@keyframes float {
	0% {
		transform: translateY(0) rotate(0deg);
		opacity: 1;
	}
	100% {
		transform: translateY(-100vh) rotate(360deg);
		opacity: 0;
	}
}

@keyframes bounce {
	0%,
	20%,
	50%,
	80%,
	100% {
		transform: translateY(0) translateX(-50%);
	}

	40% {
		transform: translateY(-20px) translateX(-50%);
	}

	60% {
		transform: translateY(-10px) translateX(-50%);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes slideInLeft {
	from {
		transform: translateX(-50px);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes slideInRight {
	from {
		transform: translateX(50px);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

/* About Section */
.about {
	padding: 5rem 0;
	background-color: var(--dark-bg);
	position: relative;
	overflow: hidden;
}

.about::before {
	content: "";
	position: absolute;
	top: -100px;
	right: -100px;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, rgba(6, 182, 212, 0) 70%);
	border-radius: 50%;
	z-index: 0;
}

.about::after {
	content: "";
	position: absolute;
	bottom: -100px;
	left: -100px;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0) 70%);
	border-radius: 50%;
	z-index: 0;
}

.about-content {
	display: flex;
	align-items: center;
	gap: 3rem;
	position: relative;
	z-index: 1;
}

.about-image {
	flex: 1;
	position: relative;
}

.image-container {
	width: 25rem;
	height: 25rem;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto;
	box-shadow: 0 0 30px rgba(6, 182, 212, 0.3);
	transition: all 0.5s ease;
}

.image-container:hover {
	transform: scale(1.02);
	box-shadow: 0 0 40px rgba(6, 182, 212, 0.4);
}

.image-container img {
	width: 100%;
	height: 105%;
	object-fit: cover;
	transition: all 0.5s ease;
}

.image-container:hover img {
	transform: scale(1.05);
}

.gradient-circle {
	display: none;
}

.about-text {
	flex: 1;
}

.about-text p {
	color: var(--text-muted);
	margin-bottom: 1rem;
	font-size: 1.125rem;
}

.about-details {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	margin-top: 2rem;
}

.detail-item {
	transition: all 0.3s ease;
}

.detail-item:hover {
	transform: translateY(-5px);
}

.detail-item h3 {
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: var(--primary-color);
}

.detail-item p {
	color: var(--text-muted);
	margin-bottom: 0;
}

/* Animation classes */
.animate-on-scroll {
	opacity: 0;
	transition: all 0.8s ease;
}

.animate-on-scroll.animate {
	opacity: 1;
}

.fade-up {
	transform: translateY(30px);
}

.fade-up.animate {
	transform: translateY(0);
}

.fade-in {
	opacity: 0;
}

.fade-in.animate {
	opacity: 1;
}

.fade-in-left {
	transform: translateX(-50px);
}

.fade-in-left.animate {
	transform: translateX(0);
}

.fade-in-right {
	transform: translateX(50px);
}

.fade-in-right.animate {
	transform: translateX(0);
}

.slide-in {
	transform: translateX(-30px);
	opacity: 0;
}

.slide-in.animate {
	transform: translateX(0);
	opacity: 1;
}

/* Skills Section */
.skills {
	padding: 5rem 0;
	background-color: var(--darker-bg);
	position: relative;
	overflow: hidden;
}

.skills::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 1px;
	background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.skills-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	margin-bottom: 4rem;
	justify-items: center;
	width: 100%;
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
}

.skills-grid > div {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	width: 100%;
}

.skill-card {
	background-color: var(--card-bg);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	padding: 2rem;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 100%;
	cursor: pointer;
}

.skill-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px -5px rgba(6, 182, 212, 0.2);
	border-color: rgba(6, 182, 212, 0.3);
	background-color: var(--card-hover-bg);
}

.skill-header {
	display: flex;
	align-items: center;
	margin-bottom: 1.5rem;
}

.skill-header i {
	font-size: 2rem;
	margin-right: 1rem;
	color: var(--primary-color);
	transition: all 0.3s ease;
}

.skill-card:hover .skill-header i {
	transform: scale(1.2);
}

.skill-header h3 {
	font-size: 1.25rem;
	font-weight: 600;
}

.skill-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
	flex-grow: 1;
}

.skill-item {
	display: flex;
	align-items: center;
	color: var(--text-muted);
	transition: all 0.15s ease;
}

.skill-item:hover {
	color: var(--text-color);
	transform: translateX(5px);
}

.skill-dot {
	width: 0.5rem;
	height: 0.5rem;
	background-color: var(--primary-color);
	border-radius: 50%;
	margin-right: 0.5rem;
	transition: all 0.15s ease;
}

.skill-item:hover .skill-dot {
	transform: scale(1.5);
	background-color: var(--text-color);
}

.proficiency-section {
	margin-top: 4rem;
	width: 100%;
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
}

.proficiency-section h3 {
	font-size: 1.5rem;
	font-weight: 600;
	text-align: center;
	margin-bottom: 2rem;
}

.proficiency-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
}

.proficiency-item {
	background-color: var(--card-bg);
	padding: 1.5rem;
	border-radius: var(--radius);
	transition: all 0.15s ease;
	border: 1px solid transparent;
}

.proficiency-item:hover {
	border-color: var(--primary-color);
	background-color: var(--card-hover-bg);
	transform: translateY(-5px);
}

.proficiency-item h4 {
	font-weight: 500;
	margin-bottom: 0.75rem;
	color: var(--text-color);
	display: block;
}

.percentage {
	display: none;
}

.progress-bar {
	height: 0.5rem;
	background-color: var(--border-color);
	border-radius: 9999px;
	overflow: hidden;
	position: relative;
}

.progress {
	height: 100%;
	background: var(--gradient);
	border-radius: 9999px;
	width: 0;
	transition: width 1.5s ease-in-out;
	animation: showProgress 1s forwards;
}

@keyframes showProgress {
	to {
		width: var(--progress-width);
	}
}

/* Projects Section */
.projects {
	padding: 5rem 0;
	background-color: var(--dark-bg);
	position: relative;
}

.projects::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 1px;
	background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.project-filters {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 3rem;
}

.filter-btn {
	padding: 0.5rem 1.5rem;
	border-radius: 9999px;
	font-size: 0.875rem;
	font-weight: 500;
	transition: all 0.3s ease;
	background-color: var(--filter-btn-bg);
	color: var(--filter-btn-text);
	position: relative;
	overflow: hidden;
}

.filter-btn::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
	transition: all 0.5s ease;
}

.filter-btn:hover::before {
	left: 100%;
}

.filter-btn:hover {
	background-color: var(--filter-btn-hover);
	transform: translateY(-2px);
}

.filter-btn.active {
	background: var(--gradient);
	color: white;
}

.projects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 2rem;
}

.project-card {
	background-color: var(--card-bg);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	overflow: hidden;
	transition: all 0.2s ease;
	opacity: 1;
	transform: scale(1);
}

.project-card:hover {
	transform: translateY(-10px) scale(1.02);
	box-shadow: 0 15px 30px -10px rgba(6, 182, 212, 0.2);
	border-color: rgba(6, 182, 212, 0.3);
}

.project-image {
	position: relative;
	height: 12rem;
	overflow: hidden;
}

.project-image::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
	opacity: 0;
	transition: all 0.3s ease;
	z-index: 1;
}

.project-card:hover .project-image::before {
	opacity: 1;
}

.project-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.2s ease;
}

.project-card:hover .project-image img {
	transform: scale(1.1);
}

.project-links {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 1rem;
	background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
	display: flex;
	justify-content: space-between;
	opacity: 0;
	transition: var(--transition);
	z-index: 2;
}

.project-card:hover .project-links {
	opacity: 1;
}

.project-links a {
	color: white;
	font-size: 1.25rem;
}

.project-links a:hover {
	color: var(--primary-color);
	transform: translateY(-3px);
}

.project-info {
	padding: 1.5rem;
	position: relative;
	z-index: 2;
}

.project-info h3 {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	transition: all 0.3s ease;
}

.project-card:hover .project-info h3 {
	color: var(--primary-color);
}

.project-info p {
	color: var(--text-muted);
	margin-bottom: 1rem;
}

.project-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.project-tags span {
	background-color: var(--filter-btn-bg);
	color: var(--primary-color);
	font-size: 0.75rem;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	transition: all 0.3s ease;
}

.project-card:hover .project-tags span {
	background-color: rgba(6, 182, 212, 0.2);
	transform: translateY(-2px);
}

/* Contact Section */
.contact {
	padding: 5rem 0;
	background-color: var(--darker-bg);
	position: relative;
}

.contact::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 1px;
	background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.contact-content {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 2rem;
}

.contact-info {
	background-color: var(--card-bg);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	padding: 2rem;
	height: 100%;
	transition: all 0.15s ease;
}

.contact-info:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px -5px rgba(6, 182, 212, 0.1);
	border-color: rgba(6, 182, 212, 0.3);
}

.contact-info h3 {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
	color: var(--primary-color);
}

.info-items {
	margin-bottom: 2rem;
}

.info-item {
	display: flex;
	margin-bottom: 1.5rem;
	transition: all 0.15s ease;
}

.info-item:hover {
	transform: translateX(5px);
}

.info-icon {
	background-color: var(--info-icon-bg);
	width: 3rem;
	height: 3rem;
	border-radius: var(--radius);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 1rem;
	transition: all 0.15s ease;
}

.info-item:hover .info-icon {
	background-color: var(--info-icon-hover-bg);
}

.info-icon i {
	color: var(--info-icon-color);
	font-size: 1.25rem;
	transition: all 0.15s ease;
}

.info-item:hover .info-icon i {
	color: var(--info-icon-hover-color);
}

.info-text h4 {
	font-weight: 500;
	margin-bottom: 0.25rem;
}

.info-text a,
.info-text p {
	color: var(--text-muted);
	transition: var(--transition);
}

.info-text a:hover {
	color: var(--primary-color);
}

.social-follow {
	border-top: 1px solid var(--border-color);
	padding-top: 1.5rem;
}

.social-follow h4 {
	font-weight: 500;
	margin-bottom: 1rem;
}

.social-icons {
	display: flex;
	gap: 1rem;
}

.social-icon {
	background-color: var(--social-icon-bg);
	width: 2.5rem;
	height: 2.5rem;
	border-radius: var(--radius);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--social-icon-color);
	transition: all 0.15s ease;
}

.social-icon:hover {
	background-color: var(--social-icon-hover-bg);
	color: var(--social-icon-hover-color);
	transform: translateY(-5px) rotate(10deg);
}

.contact-form-container {
	background-color: var(--card-bg);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	padding: 2rem;
	transition: all 0.15s ease;
}

.contact-form-container:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px -5px rgba(6, 182, 212, 0.1);
	border-color: rgba(6, 182, 212, 0.3);
}

.contact-form-container h3 {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
	color: var(--primary-color);
}

.form-success {
	background-color: rgba(16, 185, 129, 0.2);
	border: 1px solid #10b981;
	color: #10b981;
	padding: 1rem;
	border-radius: var(--radius);
	margin-bottom: 1.5rem;
	display: none;
	animation: fadeIn 0.5s ease;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

.form-group {
	margin-bottom: 1.5rem;
	position: relative;
}

.form-group label {
	display: block;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--text-muted);
	margin-bottom: 0.5rem;
	transition: all 0.15s ease;
}

.form-group:focus-within label {
	color: var(--primary-color);
}

.form-group input,
.form-group textarea {
	width: 100%;
	background-color: var(--form-bg);
	border: 1px solid var(--input-border);
	border-radius: var(--radius);
	padding: 0.75rem 1rem;
	color: var(--form-text);
	font-family: inherit;
	transition: all 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
	background-color: var(--form-focus-bg);
}

.form-group input:hover,
.form-group textarea:hover {
	border-color: var(--form-hover-border);
}

/* Footer */
.footer {
	background-color: var(--dark-bg);
	border-top: 1px solid var(--border-color);
	padding: 3rem 0;
}

.footer-content {
	display: flex;
	justify-content: space-between;
	margin-bottom: 2rem;
}

.footer-brand {
	max-width: 20rem;
}

.footer-brand .logo {
	display: inline-block;
	margin-bottom: 0.5rem;
}

.footer-brand p {
	color: var(--text-muted);
}

.footer-links {
	display: flex;
	gap: 4rem;
}
.footer-link-group h4 {
	font-weight: 600;
	margin-bottom: 1rem;
	color: var(--primary-color);
}

.footer-link-group a {
	display: block;
	color: var(--text-muted);
	margin-bottom: 0.5rem;
	transition: all 0.15s ease;
	position: relative;
	padding-left: 0;
}

.footer-link-group a::before {
	content: "→";
	position: absolute;
	left: -15px;
	opacity: 0;
	transition: all 0.15s ease;
}

.footer-link-group a:hover {
	color: var(--primary-color);
	padding-left: 15px;
}

.footer-link-group a:hover::before {
	opacity: 1;
	left: 0;
}

.footer-bottom {
	border-top: 1px solid var(--border-color);
	padding-top: 2rem;
	display: flex;
	justify-content: space-between;
	color: var(--text-muted);
	font-size: 0.875rem;
}

.heart {
	color: #ef4444;
	display: inline-block;
	animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.3);
	}
	100% {
		transform: scale(1);
	}
}

/* Improved Responsive Styles */
@media (max-width: 992px) {
	.about-content {
		flex-direction: column;
		text-align: center;
	}

	.about-text {
		margin-top: 2rem;
	}

	.contact-content {
		grid-template-columns: 1fr;
	}

	.footer-content {
		flex-direction: column;
		gap: 2rem;
	}

	.footer-brand {
		max-width: 100%;
		text-align: center;
		margin-bottom: 1rem;
	}

	.footer-links {
		justify-content: center;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: center;
		gap: 1rem;
		text-align: center;
	}
}

@media (max-width: 768px) {
	.section-title {
		font-size: 1.875rem;
	}

	.hero h1 {
		font-size: 2rem;
	}

	.nav-links {
		display: none;
	}

	.mobile-menu-btn {
		display: flex;
	}

	#themeToggleMobile {
		display: flex;
	}

	.form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.projects-grid {
		grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	}

	.footer-links {
		flex-direction: column;
		gap: 2rem;
	}

	/* Fix for contact section on mobile */
	.contact-info {
		order: 2;
	}

	.contact-form-container {
		order: 1;
		margin-bottom: 2rem;
	}
}

@media (max-width: 576px) {
	.hero-buttons {
		flex-direction: column;
	}

	.about-details {
		grid-template-columns: 1fr;
	}

	.skill-list {
		grid-template-columns: 1fr;
	}

	/* Ensure image container is responsive */
	.image-container {
		width: 100%;
		max-width: 300px;
		height: auto;
		aspect-ratio: 1 / 1;
	}

	.image-container img {
		height: 100%;
	}
}

@media (max-width: 768px) {
	.skills-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 992px) {
	.skills-grid {
		gap: 1.5rem;
		max-width: 800px;
	}
}

@media (max-width: 768px) {
	.skills-grid {
		grid-template-columns: 1fr;
		max-width: 500px;
	}

	.skills-grid > div {
		max-width: 100%;
	}

	.skill-card {
		max-width: 100%;
	}
}

/* Fix for navigation on mobile */
@media (max-width: 768px) {
	#navbar {
		padding: 1rem 0;
		background-color: var(--nav-bg);
		box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	}

	.mobile-menu {
		top: 60px;
	}
}

/* Ensure theme toggle is always visible */
.theme-toggle {
	z-index: 1001;
	position: relative;
}

/* Fix for image in about section */
@media (max-width: 992px) {
	.about-image {
		width: 100%;
		display: flex;
		justify-content: center;
	}

	.image-container {
		width: 250px;
		height: 250px;
	}
}

