body {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	animation: overflow 4s;
	font-family: 'Bahnschrift', sans-serif;
	overflow-x: hidden;
	width: 100vw;
	max-width: 100vw;
}
@keyframes overflow{
	0%{
		overflow-x: hidden;
	}
	100%{
		overflow-x: hidden;
	}
}
header {
	font-size: 28px;
	font-family: 'Century Gothic', sans-serif;
	background: linear-gradient(to bottom right, purple, midnightblue, midnightblue);
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 134px 120px;
	animation: headerslidein 2s ease;
}
@keyframes headerslidein {
	from {
		transform: translateY(-550px);
	}
	to{
		transform: translateY(0px);
	}
}
#headertxt {
	color: white;
	max-width: 530px;
	animation: textslidefromright 1s ease 2s forwards;
	transform: translateX(600px);
	opacity: 0;
	text-align: left;
}
@keyframes textslidefromright{
	from {
		opacity: 0;
		transform: translateX(700px);
	}
	to {
		transform: translateX(0px);
		opacity: 1;
	}
}
#resumebtn {
	font-family: 'Bahnschrift', sans-serif;
	color: midnightblue;
	text-decoration: none;
	background: linear-gradient(to left, orange, orange, gold, orange, orange);
	padding: 12px 15px;
	font-size: 25px;
	border-radius: 10px;
	box-shadow: 1px 1px 3px black;
	animation: resumebtn 2s infinite linear;
	background-size: 200%;
}
@keyframes resumebtn{
	to {
		background-position: 200%;
	}
}
#resumeopacity {
	animation: resumeopacity 1s ease 3.5s forwards;
	opacity: 0;
	transition: 0.3s ease;
	font-weight: bold;
}	
#resumeopacity:hover{
	scale: 1.07;
	margin-left: 15px;
}
@keyframes resumeopacity{
	to{
		opacity: 1;
	}
}
nav {
	font-family: 'Bahnschrift', sans-serif;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 5px 40px;
	height: 60px;
	box-shadow: 1px 1px 5px black;
	position: sticky;
	top: 0;
	background: linear-gradient(to right, midnightblue, slateblue);
	z-index: 999;
	opacity: 0;
	animation: navfadein 1s ease 1.7s forwards;
}
@keyframes navfadein{
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
nav ul {
	display: flex;
	list-style-type: none;
	gap: 35px;
}
.navbtns{
	color: midnightblue;
	text-decoration: none;
	font-size: 20px;
	transition: 0.3s ease;
}
.navbtns:hover {
	font-size: 23px;
	font-weight: bolder;
	color: midnightblue;	
}
#contactbtn:hover {
	color: orange;
}
.navbtns:active{
	font-size: 22px;
	font-weight: bolder;
	text-shadow: 0 0 10px blue;	
}
.navbtns:focus {
	font-size: 22px;
	font-weight: bolder;
	text-shadow: 0 0 10px blue;
}
#htmlicon {
	color: orange;
}
#cssicon {
	color: royalblue;
}
#bootstrapicon {
	color: slateblue;
	margin-left: 6px;
}
#responsiveicon {
	color: red;
}
#wordicon {
	color: blue;
}
#excelicon {
	color: green;
}
main{
	padding: 0px 40px;
	font-family: bahnschrift;
}
main h1{
	margin-top: 70px;
	color: midnightblue;
	font-size: 35px;
}
#projectsection {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 50px 80px;
	gap: 120px;
}
.projectsholder {
	height: 540px;
	width: 450px;
	border-radius: 40px;
	box-shadow: 1px 1px 5px black;
	position: relative;
	transition: 0.3s ease;
}
.projectsholder img {
	height: 260px;
	width: 450px;
	border-top-right-radius: 40px;
	border-top-left-radius: 40px;
}
.paes {
	font-size: 30px;
	font-weight: bolder;
	position: absolute;
	right: 10px;
	top: 210px;
	color: orange;
	border-radius: 10px;
	padding: 3px 7px;
	background-color: rgba(0, 0, 0, 1.0);
	transition: 0.2s ease;
	text-decoration: none;
	cursor: pointer;
}
.paes:hover {
	scale: 1.1;
	color: slateblue;
}
.projectsholder:hover {
	scale: 1.05;
}
.projectstext {
	padding: 0px 40px;
}
/* Services Section */
#servicessection {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 40px;
	margin-top: 30px;
}
.servicecard {
	flex: 1;
	min-width: 250px;
	background: white;
	border-radius: 30px;
	box-shadow: 1px 1px 10px rgba(0,0,0,0.3);
	padding: 20px 20px;
	text-align: center;
	transition: 0.3s ease;
}
.servicecard i {
	font-size: 45px;
	color: orange;
	margin-bottom: 15px;
	text-shadow: 1px 1px 3px black;
}
.servicecard:hover i {
    color: midnightblue;
}
.servicecard:hover {
	transform: translateY(-10px);
	box-shadow: 2px 2px 15px rgba(0,0,0,0.5);
}

/* About Section */
#aboutsection {
	display: flex;
	align-items: center;
	margin-top: 30px;
	flex-wrap: wrap;
	gap: 70px;
}
.aboutimg {
	width: 500px;
	height: 300px;
}
.abouttext {
	max-width: 600px;
	font-size: 18px;
	line-height: 1.6;
}
.hirebtn {
	display: inline-block;
	font-family: 'Bahnschrift', sans-serif;
	color: midnightblue;
	text-decoration: none;
	background: linear-gradient(to left, orange, orange, gold, orange, orange);
	padding: 5px 15px;
	font-size: 23px;
	border-radius: 10px;
	box-shadow: 1px 1px 3px black;
	animation: resumebtn 2s infinite linear;
	background-size: 200%;
	transition: 0.3s ease;
}
.hirebtn:hover {
	transform: scale(1.07);
}

/* Contact Cards Section */
#contactlinks {
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center; /* Center section heading */
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
    flex-direction: column;
    align-items: center;
	
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: whitesmoke;
    border-radius: 20px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.15);
    padding: 18px 30px;
    font-size: 20px;
    color: orange;
    text-decoration: none;
    transition: box-shadow 0.3s, color 0.3s, background 0.3s;
    font-family: 'Bahnschrift', sans-serif;
    font-weight: 500;
	width: 250px;
	justify-content: center;
}

.contact-card i {
    font-size: 32px;
    transition: color 0.3s;
}

.whatsapp-card:hover i {
    color: #25D366;
}
.whatsapp-card:hover {
    color: #25D366;
    box-shadow: 2px 2px 15px rgba(37,211,102,0.2);
}

.facebook-card:hover i {
    color: #1877F3;
}
.facebook-card:hover {
    color: #1877F3;
    box-shadow: 2px 2px 15px rgba(24,119,243,0.2);
}

.email-card:hover i {
    color: #EA4335;
}
.email-card:hover {
    color: #EA4335;
    box-shadow: 2px 2px 15px rgba(234,67,53,0.2);
}

/* Footer */
footer {
	text-align: center;
	background: linear-gradient(to right, midnightblue, slateblue);
	color: white;
	padding: 15px;
	margin-top: 50px;
	font-size: 16px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
	header {
		padding: 80px 30px;
		flex-direction: column;
		text-align: center;
	}
	#headertxt {
		max-width: 100%;
	}
	#projectsection {
		padding: 30px 10px;
		gap: 60px;
	}
	.projectsholder {
		width: 100%;
		max-width: 450px;
	}
}

@media (max-width: 900px) {
	nav {
		padding: 5px 10px;
	}
	nav ul {
		gap: 18px;
	}
	main {
		padding: 0px 10px;
	}
	#servicessection {
		gap: 20px;
	}
	#aboutsection {
		gap: 30px;
	}
	.aboutimg {
		width: 100%;
		max-width: 350px;
		height: auto;
	}
}

@media (max-width: 700px) {
	header {
		padding: 40px 5px;
		flex-direction: column;
	}
	header img {
		width: 100%;
		max-width: 250px;
		height: auto;
		margin-left: 0;
		display: block;
		margin-right: auto;
		margin-left: auto;
		padding-bottom: 18px; 
	}
	#headertxt {
		font-size: 22px;
		transform: none;
	}
	nav {
		flex-direction: column;
		height: 150px;
		position: sticky; 
		top: 0;
		background: linear-gradient(to right, midnightblue, slateblue); 
		z-index: 999;
		padding-top: 18px; 
	}
	nav p {
		font-size: 25px;
		margin-bottom: 8px;
		margin-top: 10px;
	}
	nav ul {
		flex-direction: row !important; 
		gap: 22px;
		padding: 0 38px; 
		justify-content: center;
		align-items: center;
		margin-top: 0;
		margin-bottom: 0;
		position: absolute;
		bottom: 18px; 
		left: 0;
		right: 0;
	}
	nav p {
		font-size: 25px;
		margin-bottom: 8px;
	}
	.navbtns {
		color: white !important; 
		font-size: 21px; 
		padding: 9px 18px; 
		border-radius: 8px;
		background: rgba(25,25,112,0.7);
		transition: background 0.2s, color 0.2s;
	}
	nav ul li:first-child .navbtns {
		margin-left: 10px; 
	}
	nav ul li:last-child .navbtns {
		margin-right: 10px; 
	}
	.navbtns:hover, .navbtns:focus {
		background: orange;
		color: midnightblue !important;
	}
	#contactbtn:hover {
		color: midnightblue !important;
		background: gold;
	}
	#projectsection {
		flex-direction: column;
		align-items: center;
		gap: 40px;
		padding: 10px 0;
	}
	.projectsholder {
		width: 100%;
		max-width: 350px;
		height: auto;
	}
	.projectsholder img {
		width: 100%;
		max-width: 350px;
		height: auto;
	}
	.projectstext h2 {
		font-size: 20px;
	}
	.projectstext p {
		font-size: 16px;
	}
	#servicessection {
		flex-direction: column;
		align-items: center;
	}
	.servicecard {
		width: 100%;
		max-width: 320px;
		margin: 0 auto 15px auto;
		transform: scale(0.97); 
	}
	#aboutsection {
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}
	.aboutimg {
		max-width: 250px;
	}
	.abouttext {
		font-size: 16px;
		max-width: 100%;
	}
	#contactlinks {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .contact-cards {
        gap: 20px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .contact-card {
        width: 100%;
        max-width: 300px;
        font-size: 17px;
        padding: 12px 10px;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        justify-content: center;
    }
	footer {
		font-size: 14px;
		padding: 10px;
	}
	.paes {
		display: none;
	}
}

@media (max-width: 500px) {
	body {
		font-size: 15px;
	}
	header {
		padding: 150px 2px;
	}
	#headertxt {
		font-size: 18px;
		text-align: center;
		width: 300px;
	}
	#resumeopacity {
		margin-top: 20px;
	}
	.projectsholder {
		max-width: 100vw;
		position: relative;
		left: 50%;
		transform: translateX(-48%);
	}
	.projectsholder img {
		max-width: 98vw;
	}
	#mpjs {
		text-align: center;
	}
	.servicecard {
		max-width: 270px;
		margin: 0 auto 8px auto;
		transform: scale(0.93);
	}
	#servicessection {
		position: relative;
		left: 50%;
		transform: translateX(-56%);
	}
	#services h1{
		text-align: center;
	}
	.aboutimg {
		max-width: 98vw;
	}
	#aboutme h1{
		text-align: center;
	}
	.abouttext p {
		text-align: justify;
	}
	.abouttext h1 {
		text-align: center;
	}
	.hirebtn {
		display: flex;
		justify-content: center;
	}
	.contact-card {
		max-width: 98vw;
		width: 220px;
		gap: 10px;
	}
	.navbtns {
		color: white !important;
		font-size: 17px;
		padding: 7px 14px; 
		border-radius: 7px;
		background: rgba(25,25,112,0.8);
	}
	nav {
		height: 75px; 
		position: sticky;
		background: linear-gradient(to right, midnightblue, slateblue);
		z-index: 999;
	}
	nav p {
		margin-top: -7px;
	}
	nav ul {
		position: absolute;
		bottom: 12px; 
		left: 0;
		right: 0;
		top: 65px;
		scale: 0.8;
		gap: 12px;
	}
	#logo {
		font-size: 27px;
	}
	.navbtns:hover{
		font-size: 17px;
		background-color: orange;
	}
	.navbtns:active{
		font-size: 17px;
		background-color: orange;
	}
	.navbtns:focus {
		font-size: 17px;
		background-color: orange;
	}
	.paes {
		display: none;
	}
}