@import url(https://fonts.googleapis.com/css?family=Lato);
nav {
	position: fixed;
	top: 0;
	width: 100%;
	backdrop-filter: blur(4px);
	z-index: 9999;
}
nav::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(to bottom, rgba(66, 66, 66, 0.5), rgba(128, 128, 128, 0));
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}
body {
	margin: 0;
	padding: 0;
	background: linear-gradient(135deg, #04000e, #1a0040);
	font-family: "Roboto", sans-serif;
	overflow-x: hidden;
	animation: moveBackground 10s linear infinite;
}

@keyframes neon-glow {
	0% {
		filter: brightness(10%);
	}
	100% {
		filter: brightness(200%);
	}
}


.card-image {
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
	background-size: cover;
	background-position: center center;
}

.card-image.card1 { background-image: url("img1.jpg"); }
.card-image.card2 { background-image: url("aero.jpg"); }
.card-image.card3 { background-image: url("img2.jpg"); }
.card-image.card4 { background-image: url("cmgs.png"); }
.card {
	display: grid;
	grid-template-columns: 300px;
	grid-template-rows: 210px 210px 80px;
	grid-template-areas: "image" "text" "stats";
	border-radius: 18px;
	background: #1f0038;
	font-family: "Roboto", sans-serif;
	text-align: center;
	cursor: pointer;
	margin: 30px;
	transform-style: preserve-3d;
	perspective: 1000px;
	margin: 0 60px;
}

.card:nth-child(1) {
	/* Left card shadow */
	box-shadow: -10px 10px 20px rgba(0, 0, 0, 0.8), 0 10px 20px rgba(0, 0, 0, 0.8);
}

.card:nth-child(2) {
	/* Middle card shadow */
	box-shadow: 0 10px 20px rgba(0, 0, 0, 1);
}

.card:nth-child(3) {
	/* Middle card shadow */
	box-shadow: 0 10px 20px rgba(0, 0, 0, 1);
}

.card:nth-child(4) {
	/* Right card shadow */
	box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5), 0 10px 20px rgba(0, 0, 0, 0.5);
}

.card-text .date {
	color: #ff0072;
	font-size: 13px;
}

.card-text p {
	color: white;
	font-size: 15px;
	font-weight: 300;
}

.card-text h2 {
	margin-top: 50px;
	font-size: 28px;
	color: white;
}

.js-tilt-glare {
	border-radius: 18px;
}

a {
	display: inline-block;
	position: relative;
	color: #6b09ff;
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: #ff0072;
}
.custom-button {
	display: inline-block;
	padding: 10px 20px;
	margin-top: 30px;
	background-color: #ff0072;
	color: white;
	text-decoration: none;
	border-radius: 20px;
	transition: background-color 0.5s ease;
	font-family: "Arial", sans-serif;
	font-size: 15px;
	border: none;
	cursor: pointer;
	text-align: center;
}

.features {
	list-style: none;
	padding-left: 0;
	font-size: 18px;
	font-weight: 400;
	color: white;
}

.features li {
	margin-bottom: 10px;
	color: white;
	font-weight: 500;
}

.custom-button:hover {
	background-color: #6b09ff;
}

.paa {
	font-size: 60px;
	margin-top: 20px;
	margin-bottom: 20px;
	color: #fff;
	text-align: center;
	animation: neon2 4s ease-in-out infinite alternate;
}

@keyframes neon2 {
	0% {
		text-shadow: 0 0 5px #fff, 0 0 10px #e60073, 0 0 20px #e60073, 0 0 30px #e60073;
	}
	50% {
		text-shadow: none;
	}
	100% {
		text-shadow: 0 0 20px #fff, 0 0 50px #ff4da6, 0 0 40px #ff4da6;
	}
}
#projects {
	margin-top: 200px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 200px;
}
.content-skills {
	margin: 15px 0px 0px 0px;
	display: flex;
	flex-wrap: wrap;
}

.content-skills span {
	background: #e90069;
	border-radius: 4px;
	padding: 2px 8px;
	margin: 0px 5px 5px 0px;
}

.nav-ul {
	margin: 2px auto 0;
	padding: 0;
	list-style: none;
	display: table;
	width: 600px;
	text-align: center;
}
.nav-li {
	display: table-cell;
	position: relative;
	padding: 15px 0;
}
.aa {
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 0.15em;
	display: inline-block;
	padding: 10px 0;
	position: relative;
	font: bold 14px/1.4 "Open Sans", arial, sans-serif;
}
.aa:after {
	background: none repeat scroll 0 0 transparent;
	bottom: 0;
	content: "";
	display: block;
	height: 2px;
	left: 50%;
	position: absolute;
	background: #fff;
	transition: width 0.3s ease 0s, left 0.3s ease 0s;
	width: 0;
}
.aa:hover:after {
	width: 100%;
	left: 0;
}
.aa.active::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #ffff;
	animation: neon-line-glow 1.2s ease-in-out infinite alternate;
}

@keyframes neon-line-glow {
	from {
		opacity: 0.5;
		transform: scaleX(0.8);
	}
	to {
		opacity: 0.9;
		transform: scaleX(1.2);
	}
}
.about {
	margin-top: 5000px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.about-section {
	padding: 100px 0;
}


.about-section p {
	font-size: 18px;
	color: #666;
	max-width: 600px;
	margin: 0 auto;
}
.blurry-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(10px);
	pointer-events: none;
	z-index: -1;
}

.translucent-div {
	background-color: rgba(255, 255, 255, 0.2);
	padding: 20px;
	border-radius: 10px;
	margin: 20px 0;
}
/* Added for responsive navbar */
.nav-toggle {
	display: none; /* Hidden by default */
	background: none;
	border: none;
	color: white;
	font-size: 24px;
	cursor: pointer;
	padding: 10px;
	position: absolute;
	right: 15px;
	top: 10px; /* Adjust to vertically center if needed based on final nav height */
	z-index: 10000; /* Ensure it's above other nav elements */
	line-height: 1; /* Helps with icon alignment */
}

/* Custom focus style for the toggle button */
.nav-toggle:focus {
	outline: 2px solid rgba(255, 255, 255, 0.4); /* More subtle outline */
	outline-offset: 1px;
}
/* Alternatively, for browsers supporting :focus-visible and if you want to hide outline for mouse users but keep for keyboard */
.nav-toggle:focus:not(:focus-visible) {
  outline: none;
}

@media (max-width: 768px) {
	.nav-ul {
		display: none; /* Hide links by default on small screens */
		flex-direction: column;
		width: 100%;
		position: absolute;
		top: 60px; /* Adjusted to align with nav min-height */
		left: 0;
		background-color: rgba(34, 34, 34, 0.85); /* Darker and more opaque */
		backdrop-filter: blur(10px); /* Increased blur */
		padding-top: 10px;
		padding-bottom: 10px;
		border-bottom-left-radius: 8px; /* Added border-radius */
		border-bottom-right-radius: 8px; /* Added border-radius */
		opacity: 0;
		transform: translateY(-10px);
		transition: opacity 0.3s ease, transform 0.3s ease;
		visibility: hidden;
	}

	.nav-ul.active {
		display: flex; /* Show when active */
		opacity: 1;
		transform: translateY(0);
		visibility: visible;
	}

	.nav-li {
		display: block;
		width: 100%;
		text-align: center;
		padding: 0; /* Removed padding, will be on .aa */
	}

	/* Style for links within the mobile dropdown */
	.nav-ul.active .nav-li .aa {
		font-size: 16px; /* Increased font size */
		padding: 15px 20px; /* Increased padding for better touch and readability */
		display: block; /* Ensure full width for touch target */
		width: 100%;
		box-sizing: border-box;
	}

	.nav-toggle {
		display: block; /* Show hamburger icon */
	}

	/* Ensure fixed nav doesn't cause content overlap issues with the now potentially taller nav */
	body {
		padding-top: 60px; /* Adjust if your nav height changes or is different */
	}

	nav {
		/* Adjust nav height if hamburger affects it or if you want more space */
		min-height: 60px; /* Example: ensure nav is tall enough for the toggle */
	}
}

