* {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

html,
body {
	margin: 0;
	height: 100%;
}

/*Navbar*/
.header {
	background-color: #fdf6f9;
	width: 100%;
	position: fixed;
	top: 0;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	z-index: 1;
}

.navbar {
	display: flex;
	padding: 20px 0;
	justify-content: space-between;
}

.navbar a {
	color: #272142;
	text-decoration: none;
	transition: all 100ms ease-in-out;
}

.navbar a:hover {
	color: dodgerblue;
}

.navbar a.logo {
	color: #880e4f;
	font-family: 'Montserrat', sans-serif;
	font-weight: bold;
	font-size: 1.5rem;
	float: right;
}

.navbar ul {
	padding: 0;
	margin: 0;
}

.navbar li {
	margin-left: 15px;
	display: inline;
	list-style: none;
	line-height: 42px;
}

@media screen and (max-width: 400px) {
	.navbar a {
		text-align: left;
		display: block;
		float: none;
	}
	.navbar a.logo {
		display: none;
	}
	.navbar li {
		line-height: 7px;
	}
}
/*Navbar Ended*/

/*Hero*/
.hero {
	padding: 80px 20px;
	background-image: url("https://i.postimg.cc/9fgrcT3z/low-poly-3d.jpg");
	text-align: center;
}

.hero p {
	margin-bottom: 0;
	padding-top: 23px;
	color: white;
	font-size: 36px;
	font-weight: bold;	
}

.hero h1 {
	color: white;
	font-size: 72px;
}

.hero h2 {
	margin-bottom: 5px;
	font-size: 24px;
	font-weight: normal;
	color: white;
	line-height: 1.5;
}

.hero .tagline {
	margin-top: 20px;
	color: #fdf6f9;
	font-size: 20px;
	line-height: 1.6;
}

@media screen and (max-width: 600px) {
	.hero {
		padding: 60px 15px;
		background-size: cover;
		background-position: center;
	}
	.hero p {
		font-size: 24px;
	}
	.hero h1 {
		font-size: 42px;
	}
	.hero h2 {
		font-size: 18px;
	}
	.hero .tagline {
		margin-top: 15px;
		margin-bottom: 10px;
		font-size: 16px;
	}
}

@media screen and (max-width: 400px) {
	.hero {
		padding: 40px 10px;
	}
	.hero p {
		font-size: 18px;
	}
	.hero h1 {
		font-size: 36px;
	}
	.hero h2 {
		font-size: 12px;
	}
}
/*Hero Section Ended*/

/*Main Content*/
.portfolio-grid {
	padding: 60px 20px;
	background-color: #f1f1f1;
	text-align: center;
}

.portfolio-grid h2 {
	margin-bottom: 40px;
	color: #272142;
	font-size: 2rem;
}

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
}

.project-card {
	padding: 20px;
	background-color: white;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}

.project-card:hover {
	transform: translateY(-5px);
}

.project-card img {
	margin-bottom: 15px;
	border-radius: 8px;
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 4 / 3;
}

.project-card h3 {
	margin-bottom: 10px;
	color: #880e4f;
	font-size: 1.25rem;
}

.project-card p {
	margin-bottom: 15px;
	color: #444;
	font-size: 0.95rem;
}

.btn-branding {
	padding: 10px 20px;
	background-color: dodgerblue;
	color: white;
	text-decoration: none;
	font-weight: bold;
	border-radius: 6px;
	display: inline-block;
}

/*Contact*/
.main-contact {
	padding: 20px 40px;
	background-color: lightgrey;
}

.main-contact h1 {
	text-align: center;
	font-size: 38px;
}

.main-contact p {
	text-align: center;
	padding: 10px;
	margin-bottom: 10px;
}

.contact-icons {
	margin-bottom: 30px;
}

.contact-icons i {
	font-size: 36px;
	color: white;
	margin: 20px;
	text-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.contact-icons i:hover {
	color: dodgerblue;
	transform: scale(1.1);
	transition: all 0.3s ease;
}

.social-icons {
	display: flex;
	justify-content: center;
}