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

body {
	font-family: 'Inter', sans-serif;
	background: linear-gradient(to right, #1f1f1f, #2c3e50);
	color: #f5f5f5;
	line-height: 1.6;
}

header {
	text-align: center;
	padding: 3rem 1rem;
	background-color: #111;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

	header h1 {
		font-size: 2.5rem;
	}

	header p {
		font-size: 1.2rem;
		color: #aaa;
	}

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

.section-title {
	font-size: 1.8rem;
	margin-bottom: 1rem;
	border-left: 4px solid #00bcd4;
	padding-left: 1rem;
}

.project-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
	gap: 2rem; /* Increased gap for better spacing */
	padding: 1rem;
}

.project-card {
	background: #222;
	border-radius: 12px;
	padding: 1.5rem; /* Increased padding for a more spacious card */
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

	.project-card:hover {
		transform: translateY(-5px);
		box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
	}

	.project-card h3 {
		margin-bottom: 0.5rem;
		color: #00bcd4;
	}

	.project-card p {
		color: #ccc;
		margin-bottom: 1rem; /* Added margin for better text spacing */
	}

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

	.project-stack span {
		background-color: #444;
		padding: 5px 15px;
		border-radius: 20px;
		font-size: 0.9rem;
		color: #f5f5f5;
	}

footer {
	text-align: center;
	padding: 2rem;
	background: #111;
	font-size: 0.9rem;
	color: #777;
}

img.hero-img {
	max-width: 300px;
	border-radius: 50%;
	margin-top: 1rem;
	box-shadow: 0 0 10px rgba(0, 188, 212, 0.6);
}

/* Style for images */
.project-images {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); /* Flexible grid for images */
	gap: 1rem;
	justify-items: center;
	margin-top: 1rem;
}

	.project-images img {
		width: 100%;
		height: auto;
		max-width: 300px; /* Controls max image size */
		border-radius: 8px;
		transition: transform 0.3s ease;
	}

		.project-images img:hover {
			transform: scale(1.05);
		}

/* Lightbox styles */
.lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	display: none;
	justify-content: center;
	align-items: center;
}

	.lightbox img {
		max-width: 90%;
		max-height: 80%;
		border-radius: 8px;
	}

	.lightbox:target {
		display: flex;
	}

/* Responsive Design */
@media screen and (max-width: 768px) {
	.project-list {
		grid-template-columns: 1fr; /* Stack the cards on small screens */
	}

	.project-images {
		grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* Adjust images for small screens */
	}
}
