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

:root {
	--primary-color: #2563eb;
	--primary-dark: #1d4ed8;
	--secondary-color: #f59e0b;
	--accent-color: #10b981;
	--text-primary: #f8fafc;
	--text-secondary: #cbd5e1;
	--bg-primary: #0f172a;
	--bg-secondary: #1e293b;
	--bg-card: #334155;
	--border-color: #475569;
	--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
	--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
	--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	min-height: 100vh;
	font-family: "Inter", "Segoe UI", system-ui, sans-serif;
	background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
	color: var(--text-primary);
	font-size: 16px;
	line-height: 1.6;
	overflow-x: hidden;
}

/* Header & Navigation */
header {
	position: fixed;
	width: 100%;
	background: rgba(15, 23, 42, 0.95);
	backdrop-filter: blur(10px);
	top: 0;
	z-index: 1000;
	border-bottom: 1px solid var(--border-color);
}

nav {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1rem 2rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-weight: 700;
	font-size: 1.5rem;
}

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

.logo-image {
	border-radius: 50%;
	height: 3rem;
	width: 3rem;
	object-fit: cover;
	border: 2px solid var(--primary-color);
	transition: all 0.3s ease;
}

.logo-image:hover {
	transform: scale(1.05);
	border-color: var(--secondary-color);
}

.links {
	display: none;
	list-style: none;
	gap: 2rem;
	align-items: center;
}

.links a {
	color: var(--text-secondary);
	text-decoration: none;
	font-weight: 500;
	padding: 0.5rem 1rem;
	border-radius: 0.5rem;
	transition: all 0.3s ease;
	position: relative;
}

.links a:hover {
	color: var(--text-primary);
	background: rgba(37, 99, 235, 0.1);
}

.links a::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 2px;
	background: var(--primary-color);
	transition: all 0.3s ease;
	transform: translateX(-50%);
}

.links a:hover::after {
	width: 80%;
}

.menuIcon,
.closeIcon {
	display: block;
	cursor: pointer;
	padding: 0.5rem;
	border-radius: 0.5rem;
	transition: all 0.3s ease;
}

.menuIcon:hover,
.closeIcon:hover {
	background: rgba(37, 99, 235, 0.1);
}

.closeIcon {
	display: none;
}

.dropdown_menu {
	position: fixed;
	top: 0;
	right: -100%;
	width: 100%;
	height: 100vh;
	background: rgba(15, 23, 42, 0.98);
	backdrop-filter: blur(10px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 2rem;
	transition: right 0.3s ease;
	z-index: 999;
}

.dropdown_menu.open {
	right: 0;
}

.dropdown_menu li {
	list-style: none;
}

.dropdown_menu a {
	color: var(--text-primary);
	text-decoration: none;
	font-size: 1.5rem;
	font-weight: 600;
	padding: 1rem 2rem;
	border-radius: 0.5rem;
	transition: all 0.3s ease;
	display: block;
}

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

/* Main Content */
main {
	padding: 8rem 2rem 4rem;
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
}

.display_pix {
	margin-bottom: 2rem;
}

.display_pix img {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid var(--primary-color);
	box-shadow: var(--shadow-xl);
	transition: all 0.3s ease;
}

.display_pix img:hover {
	transform: scale(1.05);
	border-color: var(--secondary-color);
	box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.25);
}

.bio {
	max-width: 800px;
	margin: 0 auto 4rem;
	font-size: 1.1rem;
	line-height: 1.8;
	color: var(--text-secondary);
}

.bio strong {
	color: var(--primary-color);
	font-weight: 700;
}

/* Skills Section */
#skill_section {
	padding: 4rem 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.skill_title h2 {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 3rem;
	text-align: center;
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.skill_list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 2rem;
	max-width: 800px;
	margin: 0 auto;
}

.skill {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	padding: 1.5rem;
	background: var(--bg-card);
	border-radius: 1rem;
	border: 1px solid var(--border-color);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.skill::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
	transition: left 0.5s ease;
}

.skill:hover::before {
	left: 100%;
}

.skill:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
	border-color: var(--primary-color);
}

.skill_img--wrapper {
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.skill_img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: all 0.3s ease;
}

.skill:hover .skill_img {
	transform: scale(1.1);
}

.skill_name {
	font-weight: 600;
	color: var(--text-primary);
	text-align: center;
	font-size: 0.9rem;
}

/* Projects Section */
.project_section {
	padding: 4rem 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.project_title h2 {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 3rem;
	text-align: center;
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.project_list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	max-width: 1000px;
	margin: 0 auto;
}

figure {
	background: var(--bg-card);
	border-radius: 1rem;
	overflow: hidden;
	border: 1px solid var(--border-color);
	transition: all 0.3s ease;
	position: relative;
}

figure:hover {
	transform: translateY(-10px);
	box-shadow: var(--shadow-xl);
	border-color: var(--primary-color);
}

.figure_image {
	width: 100%;
	height: 200px;
	object-fit: cover;
	transition: all 0.3s ease;
}

figure:hover .figure_image {
	transform: scale(1.05);
}

.figure_caption {
	padding: 1.5rem;
	background: rgba(15, 23, 42, 0.9);
	backdrop-filter: blur(10px);
}

.figure_caption span {
	display: inline-block;
	background: var(--primary-color);
	color: white;
	padding: 0.25rem 0.75rem;
	border-radius: 1rem;
	font-size: 0.8rem;
	font-weight: 500;
	margin: 0.25rem;
	transition: all 0.3s ease;
}

.figure_caption span:hover {
	background: var(--secondary-color);
	transform: scale(1.05);
}

/* Scroll to Top Button */
#arrowUp {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	background: var(--primary-color);
	color: white;
	border: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	font-weight: bold;
	box-shadow: var(--shadow-lg);
	transition: all 0.3s ease;
	z-index: 1000;
}

#arrowUp:hover {
	background: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: var(--shadow-xl);
}

/* Footer */
footer {
	padding: 3rem 2rem;
	text-align: center;
	border-top: 1px solid var(--border-color);
	margin-top: 4rem;
}

.socials {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.socials svg {
	width: 2.5rem;
	height: 2.5rem;
	padding: 0.75rem;
	border-radius: 50%;
	border: 2px solid var(--primary-color);
	color: var(--primary-color);
	transition: all 0.3s ease;
	cursor: pointer;
}

.socials svg:hover {
	background: var(--primary-color);
	color: white;
	transform: translateY(-3px);
	box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 768px) {
	nav {
		padding: 1rem;
	}

	.logo {
		font-size: 1.25rem;
	}

	.logo-image {
		height: 2.5rem;
		width: 2.5rem;
	}

	main {
		padding: 6rem 1rem 2rem;
	}

	.display_pix img {
		width: 150px;
		height: 150px;
	}

	.bio {
		font-size: 1rem;
		margin-bottom: 2rem;
	}

	.skill_title h2,
	.project_title h2 {
		font-size: 2rem;
		margin-bottom: 2rem;
	}

	#skill_section,
	.project_section {
		padding: 2rem 1rem;
	}

	.skill_list {
		grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
		gap: 1rem;
	}

	.skill {
		padding: 1rem;
	}

	.skill_img--wrapper {
		width: 50px;
		height: 50px;
	}

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

	#arrowUp {
		bottom: 1rem;
		right: 1rem;
		width: 45px;
		height: 45px;
	}

	.socials svg {
		width: 2rem;
		height: 2rem;
		padding: 0.5rem;
	}
}

@media (max-width: 480px) {
	body {
		font-size: 14px;
	}

	.display_pix img {
		width: 120px;
		height: 120px;
	}

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

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

	.figure_caption {
		padding: 1rem;
	}

	.figure_caption span {
		font-size: 0.7rem;
		padding: 0.2rem 0.5rem;
	}
}

@media (min-width: 769px) {
	.menuIcon,
	.closeIcon {
		display: none;
	}

	.links {
		display: flex;
	}

	.dropdown_menu {
		display: none;
	}
}

/* Animation Classes */
.fade-in {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.6s ease;
}

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

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

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

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

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

/* Hero Section */
.hero-section {
	text-align: center;
	padding: 2rem 0;
}

.hero-title {
	font-size: 3.5rem;
	font-weight: 800;
	margin-bottom: 0.5rem;
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-subtitle {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--text-secondary);
	margin-bottom: 2rem;
}

.hero-content {
	max-width: 800px;
	margin: 0 auto;
}

.hero-cta {
	display: flex;
	gap: 1rem;
	justify-content: center;
	margin-top: 2rem;
	flex-wrap: wrap;
}

.cta-button {
	display: inline-block;
	padding: 1rem 2rem;
	border-radius: 0.5rem;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.cta-button.primary {
	background: var(--primary-color);
	color: white;
}

.cta-button.primary:hover {
	background: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
	background: transparent;
	color: var(--primary-color);
	border-color: var(--primary-color);
}

.cta-button.secondary:hover {
	background: var(--primary-color);
	color: white;
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

/* Section Subtitles */
.section-subtitle {
	font-size: 1.1rem;
	color: var(--text-secondary);
	margin-bottom: 3rem;
	text-align: center;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

/* About Section */
.about-section {
	padding: 4rem 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.about-content h2 {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	text-align: center;
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.about-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.about-card {
	background: var(--bg-card);
	padding: 2rem;
	border-radius: 1rem;
	border: 1px solid var(--border-color);
	text-align: center;
	transition: all 0.3s ease;
}

.about-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
	border-color: var(--primary-color);
}

.about-card h3 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: var(--primary-color);
}

.about-card p {
	color: var(--text-secondary);
	line-height: 1.6;
}

/* Contact Section */
.contact-section {
	padding: 4rem 2rem;
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
}

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

.contact-info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.contact-item {
	background: var(--bg-card);
	padding: 2rem;
	border-radius: 1rem;
	border: 1px solid var(--border-color);
	transition: all 0.3s ease;
}

.contact-item:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
	border-color: var(--primary-color);
}

.contact-item h3 {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: var(--primary-color);
}

.contact-item p {
	color: var(--text-secondary);
}

/* Enhanced Project Cards */
.project-card {
	background: var(--bg-card);
	border-radius: 1rem;
	overflow: hidden;
	border: 1px solid var(--border-color);
	transition: all 0.3s ease;
	position: relative;
}

.project-card:hover {
	transform: translateY(-10px);
	box-shadow: var(--shadow-xl);
	border-color: var(--primary-color);
}

.figure_caption h3 {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
	color: var(--text-primary);
}

.figure_caption p {
	color: var(--text-secondary);
	margin-bottom: 1rem;
	line-height: 1.6;
}

.tech-stack {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
}

.tech-stack span {
	display: inline-block;
	background: var(--primary-color);
	color: white;
	padding: 0.25rem 0.75rem;
	border-radius: 1rem;
	font-size: 0.8rem;
	font-weight: 500;
	transition: all 0.3s ease;
}

.tech-stack span:hover {
	background: var(--secondary-color);
	transform: scale(1.05);
}

/* Enhanced Footer */
.footer-content {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 2rem;
	align-items: center;
	margin-bottom: 2rem;
}

.footer-section h3 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 0.5rem;
}

.footer-section p {
	color: var(--text-secondary);
}

.footer-bottom {
	border-top: 1px solid var(--border-color);
	padding-top: 1rem;
	text-align: center;
}

.footer-bottom p {
	color: var(--text-secondary);
	font-size: 0.9rem;
}

/* Enhanced Social Links */
.socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	border: 2px solid var(--primary-color);
	color: var(--primary-color);
	transition: all 0.3s ease;
	text-decoration: none;
}

.socials a:hover {
	background: var(--primary-color);
	color: white;
	transform: translateY(-3px);
	box-shadow: var(--shadow-lg);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
	.hero-title {
		font-size: 2.5rem;
	}

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

	.hero-cta {
		flex-direction: column;
		align-items: center;
	}

	.cta-button {
		width: 100%;
		max-width: 300px;
		text-align: center;
	}

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

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

	.footer-content {
		grid-template-columns: 1fr;
		text-align: center;
	}
}

@media (max-width: 480px) {
	.hero-title {
		font-size: 2rem;
	}

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

	.about-card,
	.contact-item {
		padding: 1.5rem;
	}

	.cta-button {
		padding: 0.75rem 1.5rem;
		font-size: 0.9rem;
	}
}

/* Animation Enhancements */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-in-up {
	animation: fadeInUp 0.6s ease forwards;
}

/* Smooth transitions for all interactive elements */
* {
	transition: all 0.3s ease;
}

/* Focus states for accessibility */
a:focus,
button:focus {
	outline: 2px solid var(--primary-color);
	outline-offset: 2px;
}

/* Loading states */
.loading {
	opacity: 0.7;
	pointer-events: none;
}

/* Enhanced scroll behavior */
html {
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
}
