@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	text-decoration: none;
	border: none;
	outline: none;
	scroll-behavior: smooth;
	font-family: 'Poppins', sans-serif;
}

:root {
	--bg-color: #1f242d;
	--second-bg-color: #323946;
	--text-color: #fff;
	--main-color: #0ef;
}

html {
	font-size: 62.5%;
	overflow-x: hidden;
	width: 100%;
}

body {
	background: var(--bg-color);
	color: var(--text-color);
	overflow-x: hidden;
	width: 100%;
	max-width: 100vw;
}

section {
	min-height: 100vh;
	padding: 10rem 9% 2rem;
	width: 100%;
	overflow: hidden;
}

.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 2rem 9%;
	background: var(--bg-color);
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 100;
	box-sizing: border-box;
}

.header.sticky {
	border-bottom: .1rem solid rgba(0, 0, 0, .2);
}

.logo {
	font-size: 2.5rem;
	color: var(--text-color);
	font-weight: 600;
	cursor: default;
}

.navbar a {
	font-size: 1.7rem;
	color: var(--text-color);
	margin-left: 4rem;
	transition: .3s;
}

.navbar a:hover,
.navbar a.active {
	color: var(--main-color);
}

#menu-icon {
	font-size: 3.6rem;
	color: var(--text-color);
	display: none;
	cursor: pointer;
	position: relative;
	z-index: 1000;
}

.home {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	overflow: hidden;
}

.home-img img {
	width: 35vw;
	animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
	0% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-2.4rem);
	}

	100% {
		transform: translateY(0);
	}
}

.home-content h3 {
	font-size: 3.2rem;
	font-weight: 700;
}

span {
	color: var(--main-color);
}

.home-content h3:nth-of-type(2) {
	margin-bottom: 2rem;
}

.home-content h1 {
	font-size: 5.6rem;
	font-weight: 700;
	line-height: 1.3;
}

.home-content p {
	font-size: 1.6rem;
	line-height: 1.6;
}

.social-media a {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 4rem;
	height: 4rem;
	background: transparent;
	border: .2rem solid var(--main-color);
	border-radius: 50%;
	font-size: 2rem;
	color: var(--main-color);
	margin: 3rem 1.5rem 3rem 0;
	transition: .5s ease;
}

.social-media a:hover {
	background: var(--main-color);
	color: var(--second-bg-color);
	box-shadow: 0 0 1rem var(--main-color);
}

.btn {
	display: inline-block;
	padding: 1rem 2.8rem;
	background: var(--main-color);
	border-radius: 4rem;
	box-shadow: 0 0 1rem var(--main-color);
	font-size: 1.6rem;
	color: var(--second-bg-color);
	letter-spacing: .1rem;
	font-weight: 600;
	transition: .5s ease;
}

.btn:hover {
	box-shadow: none;
}

.about {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2rem;
	background: var(--second-bg-color);
	width: 100%;
	overflow: hidden;
}

.about-img img {
	width: 35vw;
}

.heading {
	text-align: center;
	font-size: 4.5rem;
}

.about-content h2 {
	text-align: left;
	line-height: 1.2;
}

.about-content h3 {
	font-size: 2.6rem;
}

.about-content p {
	font-size: 1.6rem;
	margin: 2rem 0 3rem;
	line-height: 1.6;
}

.services h2 {
	margin-bottom: 5rem;
}

.services-container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 2rem;
	width: 100%;
}

.services-container .services-box {
	flex: 1 1 30rem;
	background: var(--second-bg-color);
	padding: 3rem 2rem 4rem;
	border-radius: 2rem;
	text-align: center;
	border: .2rem solid var(--bg-color);
	transition: .5s ease;
	max-width: 100%;
}

.services-container .services-box:hover {
	border-color: var(--main-color);
	transform: scale(1.02);
}

.services-box i {
	font-size: 7rem;
	color: var(--main-color);
}

.services-box h3 {
	font-size: 2.6rem;
}

.services-box p {
	font-size: 1.6rem;
	margin: 1rem 0 3rem;
	line-height: 1.6;
}

.project {
	background: var(--second-bg-color);
	width: 100%;
	overflow: hidden;
}

.project h2 {
	margin-bottom: 4rem;
}

.project-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	align-items: center;
	gap: 2.5rem;
	width: 100%;
}

.project-container .project-box {
	position: relative;
	border-radius: 2rem;
	box-shadow: 0 0 1rem var(--bg-color);
	overflow: hidden;
	display: flex;
	width: 100%;
}

.project-box video {
	width: 100%;
	transition: .5s ease;
	max-width: 100%;
}

.project-box:hover video {
	transform: scale(1.1);
}

.project-box .project-layer {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(rgba(0, 0, 0, .1), var(--main-color));
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	text-align: center;
	padding: 0 4rem;
	transform: translateY(100%);
	transition: .5s ease;
	box-sizing: border-box;
}

.project-box:hover .project-layer {
	transform: translateY(0);
}

.project-layer h4 {
	font-size: 3rem;
}

.project-layer p {
	font-size: 1.6rem;
	margin: .3rem 0 1rem;
	line-height: 1.4;
}

.project-layer a {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 5rem;
	height: 5rem;
	background: var(--text-color);
	border-radius: 50%;
}

.project-layer a i {
	font-size: 2rem;
	color: var(--second-bg-color);
}

.contact h2 {
	margin-bottom: 3rem;
}

.contact form {
	max-width: 70rem;
	margin: 1rem auto;
	text-align: center;
	margin-bottom: 3rem;
	width: 100%;
}

.contact form .input-box {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	width: 100%;
}

.contact form .input-box input,
.contact form textarea {
	width: 100%;
	padding: 1.5rem;
	font-size: 1.6rem;
	color: var(--text-color);
	background: var(--second-bg-color);
	border-radius: .8rem;
	margin: .7rem 0;
	box-sizing: border-box;
}

.contact form .input-box input {
	width: 49%;
}

.contact form textarea {
	resize: none;
}

.contact form .btn {
	margin-top: 2rem;
	cursor: pointer;
}

.footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	padding: 2rem 9%;
	background: var(--second-bg-color);
	width: 100%;
	box-sizing: border-box;
}

.footer-text p {
	font-size: 1.6rem;
}

.footer-iconTop a {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: .8rem;
	background: var(--main-color);
	border-radius: .8rem;
	transition: .5s ease;
}

.footer-iconTop a:hover {
	box-shadow: 0 0 1rem var(--main-color);
}

.footer-iconTop a i {
	font-size: 2.4rem;
	color: var(--second-bg-color);
}

/* Modern Modal Styles with Fixed Close Button */
.modal,
.services-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	z-index: 1000;
	justify-content: center;
	align-items: center;
	opacity: 0;
	transition: opacity 0.4s ease;
	padding: 2rem;
	box-sizing: border-box;
	backdrop-filter: blur(10px);
}

.modal.active,
.services-modal.active {
	display: flex;
	opacity: 1;
}

.modal-content,
.services-modal-content {
	background: linear-gradient(135deg, var(--second-bg-color) 0%, #2a3039 100%);
	padding: 5rem 3rem 3rem;
	border-radius: 2rem;
	width: 100%;
	max-width: 700px;
	position: relative;
	transform: translateY(50px) scale(0.9);
	opacity: 0;
	transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	box-shadow: 0 0 4rem rgba(0, 238, 255, 0.6);
	border: 0.2rem solid var(--main-color);
	max-height: 85vh;
	overflow: hidden;
}

.modal.active .modal-content,
.services-modal.active .services-modal-content {
	transform: translateY(0) scale(1);
	opacity: 1;
}

/* Fixed Close Button */
.close-modal,
.close-services-modal {
	position: fixed;
	top: 2rem;
	right: 2rem;
	font-size: 3.5rem;
	color: var(--text-color);
	cursor: pointer;
	transition: all 0.3s ease;
	width: 5rem;
	height: 5rem;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	background: rgba(31, 36, 45, 0.9);
	border: 0.2rem solid var(--main-color);
	z-index: 1001;
	backdrop-filter: blur(5px);
}

.close-modal:hover,
.close-services-modal:hover {
	color: var(--main-color);
	background: rgba(0, 238, 255, 0.2);
	transform: rotate(90deg) scale(1.1);
	box-shadow: 0 0 2rem var(--main-color);
}

/* Custom Scrollbar */
.modal-content::-webkit-scrollbar,
.services-modal-content::-webkit-scrollbar {
	width: 8px;
}

.modal-content::-webkit-scrollbar-track,
.services-modal-content::-webkit-scrollbar-track {
	background: var(--bg-color);
	border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb,
.services-modal-content::-webkit-scrollbar-thumb {
	background: var(--main-color);
	border-radius: 10px;
	border: 2px solid var(--bg-color);
}

.modal-content::-webkit-scrollbar-thumb:hover,
.services-modal-content::-webkit-scrollbar-thumb:hover {
	background: #00ccff;
	box-shadow: 0 0 1rem var(--main-color);
}

/* Scrollable Content */
.modal-scroll-content,
.services-scroll-content {
	max-height: 65vh;
	overflow-y: auto;
	padding-right: 1rem;
}

.modal-scroll-content::-webkit-scrollbar,
.services-scroll-content::-webkit-scrollbar {
	width: 6px;
}

.modal-scroll-content::-webkit-scrollbar-track,
.services-scroll-content::-webkit-scrollbar-track {
	background: transparent;
}

.modal-scroll-content::-webkit-scrollbar-thumb,
.services-scroll-content::-webkit-scrollbar-thumb {
	background: var(--main-color);
	border-radius: 10px;
}

/* Modern Modal Headings */
.modal h2,
.services-modal h2 {
	font-size: 3.5rem;
	margin-bottom: 2.5rem;
	color: var(--main-color);
	text-align: center;
	text-shadow: 0 0 1rem rgba(0, 238, 255, 0.5);
	position: relative;
	padding-bottom: 1rem;
}

.modal h2::after,
.services-modal h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--main-color), transparent);
	border-radius: 2px;
}

/* Enhanced Skill Tags */
.modal-skills,
.services-modal-skills {
	display: flex;
	flex-wrap: wrap;
	gap: 1.2rem;
	margin: 2.5rem 0;
	justify-content: center;
}

.skill-tag,
.services-skill-tag {
	background: linear-gradient(135deg, var(--bg-color) 0%, #252a32 100%);
	padding: 1rem 2rem;
	border-radius: 3rem;
	font-size: 1.4rem;
	color: var(--main-color);
	border: 0.15rem solid var(--main-color);
	transition: all 0.3s ease;
	box-shadow: 0 0 1.5rem rgba(0, 238, 255, 0.3);
	position: relative;
	overflow: hidden;
}

.skill-tag::before,
.services-skill-tag::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(0, 238, 255, 0.2), transparent);
	transition: left 0.5s ease;
}

.skill-tag:hover::before,
.services-skill-tag:hover::before {
	left: 100%;
}

.skill-tag:hover,
.services-skill-tag:hover {
	background: var(--main-color);
	color: var(--bg-color);
	transform: translateY(-0.3rem) scale(1.05);
	box-shadow: 0 0 2rem var(--main-color);
}

/* Enhanced Feature Items */
.services-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin: 2.5rem 0;
}

.feature-item {
	background: linear-gradient(135deg, var(--bg-color) 0%, #252a32 100%);
	padding: 2.5rem 2rem;
	border-radius: 1.5rem;
	text-align: center;
	border: 0.15rem solid rgba(0, 238, 255, 0.3);
	transition: all 0.4s ease;
	position: relative;
	overflow: hidden;
}

.feature-item::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(0, 238, 255, 0.1) 0%, transparent 70%);
	transform: scale(0);
	transition: transform 0.6s ease;
}

.feature-item:hover::before {
	transform: scale(1);
}

.feature-item:hover {
	border-color: var(--main-color);
	transform: translateY(-0.5rem) scale(1.02);
	box-shadow: 0 1rem 2rem rgba(0, 238, 255, 0.3);
}

.feature-item i {
	font-size: 4rem;
	color: var(--main-color);
	margin-bottom: 1.5rem;
	transition: all 0.3s ease;
}

.feature-item:hover i {
	transform: scale(1.2) rotate(5deg);
	text-shadow: 0 0 1.5rem var(--main-color);
}

.feature-item h4 {
	font-size: 1.8rem;
	margin-bottom: 1rem;
	color: var(--text-color);
	font-weight: 600;
}

.feature-item p {
	font-size: 1.4rem;
	text-align: center;
	margin-bottom: 0;
	line-height: 1.5;
}

/* Enhanced Modal Text */
.modal p,
.services-modal p {
	font-size: 1.6rem;
	line-height: 1.8;
	margin-bottom: 2rem;
	text-align: justify;
	background: rgba(31, 36, 45, 0.5);
	padding: 1.5rem;
	border-radius: 1rem;
	border-left: 0.3rem solid var(--main-color);
}

.services-modal h3 {
	font-size: 2.5rem;
	color: var(--main-color);
	margin: 2.5rem 0 1.5rem;
	text-align: center;
}

/* Direct Contact Section Styles */
.direct-contact-section {
	text-align: center;
	margin-top: 3rem;
}

.contact-buttons {
	display: flex;
	justify-content: center;
	gap: 2rem;
	flex-wrap: wrap;
}

.whatsapp-btn,
.email-btn {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	padding: 1.2rem 2.5rem;
	font-size: 1.6rem;
	border-radius: 4rem;
	transition: all 0.5s ease;
	min-width: 220px;
	justify-content: center;
}

.whatsapp-btn {
	background: var(--main-color) !important;
	border: none !important;
	color: var(--second-bg-color);
}

.whatsapp-btn:hover {
	background: #00ccff !important;
	box-shadow: 0 0 1.5rem var(--main-color);
	transform: translateY(-3px);
}

.email-btn {
	background: var(--main-color) !important;
	border: none !important;
	color: var(--second-bg-color);
}

.email-btn:hover {
	background: #00ccff !important;
	box-shadow: 0 0 1.5rem var(--main-color);
	transform: translateY(-3px);
}

.contact-buttons i {
	font-size: 2.2rem;
}

/* Form Loading State */
.btn.loading {
	opacity: 0.7;
	cursor: not-allowed;
}

.btn.loading::after {
	content: '...';
	animation: loading 1.5s infinite;
}

@keyframes loading {

	0%,
	33% {
		content: '.';
	}

	34%,
	66% {
		content: '..';
	}

	67%,
	100% {
		content: '...';
	}
}

/* Notification Styles */
.notification {
	position: fixed;
	top: 20px;
	right: 20px;
	padding: 1.5rem 2rem;
	background: #25D366;
	color: white;
	border-radius: 1rem;
	font-size: 1.6rem;
	z-index: 10000;
	box-shadow: 0 0 2rem rgba(0, 0, 0, 0.3);
	transform: translateX(150%);
	transition: transform 0.3s ease;
}

.notification.error {
	background: #ff4444;
}

/* Success Popup Styles */
.popup-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	z-index: 10000;
	justify-content: center;
	align-items: center;
	backdrop-filter: blur(10px);
}

.popup-modal.active {
	display: flex;
}

.popup-content {
	background: linear-gradient(135deg, var(--second-bg-color) 0%, #2a3039 100%);
	padding: 4rem 3rem;
	border-radius: 2rem;
	text-align: center;
	max-width: 400px;
	width: 90%;
	border: 0.2rem solid var(--main-color);
	box-shadow: 0 0 3rem rgba(0, 238, 255, 0.6);
	transform: scale(0.7);
	opacity: 0;
	animation: popupAppear 0.5s ease forwards;
}

@keyframes popupAppear {
	to {
		transform: scale(1);
		opacity: 1;
	}
}

.popup-icon {
	font-size: 8rem;
	color: #25D366;
	margin-bottom: 2rem;
	animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {

	0%,
	20%,
	50%,
	80%,
	100% {
		transform: translateY(0);
	}

	40% {
		transform: translateY(-1rem);
	}

	60% {
		transform: translateY(-0.5rem);
	}
}

.popup-content h3 {
	font-size: 2.5rem;
	color: var(--main-color);
	margin-bottom: 1.5rem;
	font-weight: 600;
}

.popup-content p {
	font-size: 1.6rem;
	line-height: 1.6;
	margin-bottom: 2.5rem;
	color: var(--text-color);
}

.popup-btn {
	background: var(--main-color);
	color: var(--second-bg-color);
	border: none;
	padding: 1.2rem 3rem;
	font-size: 1.6rem;
	border-radius: 4rem;
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 600;
	box-shadow: 0 0 1.5rem var(--main-color);
}

.popup-btn:hover {
	background: #00ccff;
	transform: translateY(-0.3rem);
	box-shadow: 0 0 2rem var(--main-color);
}

/* RESPONSIVE DESIGN - FIXED HAMBURGER MENU */
@media (max-width: 1200px) {
	html {
		font-size: 55%;
	}
}

@media (max-width: 991px) {
	.header {
		padding: 2rem 3%;
	}

	section {
		padding: 10rem 3% 2rem;
	}

	.services {
		padding-bottom: 7rem;
	}

	.project {
		padding-bottom: 7rem;
	}

	.contact {
		min-height: auto;
	}

	.footer {
		padding: 2rem 3%;
	}
}

/* FIXED HAMBURGER MENU - NO MORE SCROLLING NEEDED */
@media (max-width: 768px) {
	#menu-icon {
		display: block;
		position: relative;
		z-index: 1000;
		font-size: 3.6rem;
		right: 0;
	}

	.navbar {
		position: absolute;
		top: 0;
		left: -100%;
		width: 100%;
		height: 100vh;
		padding: 6rem 3% 3rem;
		background: var(--bg-color);
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		transition: .5s ease;
		z-index: 999;
	}

	.navbar.active {
		left: 0;
	}

	.navbar a {
		display: block;
		font-size: 3rem;
		margin: 2rem 0;
		text-align: center;
	}

	.home {
		flex-direction: column;
		text-align: center;
	}

	.home-content h3 {
		font-size: 2.6rem;
	}

	.home-content h1 {
		font-size: 5rem;
	}

	.home-img img {
		width: 70vw;
		margin-top: 4rem;
	}

	.about {
		flex-direction: column-reverse;
		text-align: center;
	}

	.about img {
		width: 70vw;
		margin-top: 4rem;
	}

	.about-content h2 {
		text-align: center;
	}

	.services h2 {
		margin-bottom: 3rem;
	}

	.project h2 {
		margin-bottom: 3rem;
	}

	.project-container {
		grid-template-columns: repeat(2, 1fr);
	}

	/* Modal Responsive */
	.modal-content,
	.services-modal-content {
		padding: 4rem 2rem 2rem;
		margin: 1rem;
		max-height: 80vh;
	}

	.close-modal,
	.close-services-modal {
		top: 1rem;
		right: 1rem;
		width: 4.5rem;
		height: 4.5rem;
		font-size: 3rem;
	}

	.modal h2,
	.services-modal h2 {
		font-size: 3rem;
	}

	.services-features {
		grid-template-columns: 1fr;
	}

	.modal-scroll-content,
	.services-scroll-content {
		max-height: 60vh;
	}

	/* Contact Buttons Responsive */
	.contact-buttons {
		flex-direction: column;
		align-items: center;
		gap: 1.5rem;
	}

	.whatsapp-btn,
	.email-btn {
		width: 100%;
		max-width: 280px;
	}
}

@media (max-width: 617px) {
	.project-container {
		grid-template-columns: 1fr;
	}

	.contact form .input-box input {
		width: 100%;
	}

	.modal-skills,
	.services-modal-skills {
		gap: 1rem;
	}

	.skill-tag,
	.services-skill-tag {
		padding: 0.7rem 1.5rem;
		font-size: 1.3rem;
	}
}

@media (max-width: 450px) {
	html {
		font-size: 50%;
	}

	.header {
		padding: 2rem 4%;
	}

	.home-content h1 {
		font-size: 4.5rem;
	}

	.home-content h3 {
		font-size: 2.2rem;
	}

	/* Modal Responsive */
	.modal-content,
	.services-modal-content {
		padding: 3.5rem 1.5rem 1.5rem;
	}

	.close-modal,
	.close-services-modal {
		top: 0.5rem;
		right: 0.5rem;
		width: 4rem;
		height: 4rem;
		font-size: 2.5rem;
	}

	.modal h2,
	.services-modal h2 {
		font-size: 2.6rem;
	}

	.skill-tag,
	.services-skill-tag {
		padding: 0.8rem 1.5rem;
		font-size: 1.3rem;
	}
}

@media (max-width: 365px) {
	.home-img img {
		width: 90vw;
	}

	.about-img img {
		width: 90vw;
	}

	.footer {
		flex-direction: column-reverse;
		gap: 1rem;
	}

	.footer p {
		text-align: center;
		margin-top: 2rem;
	}

	.modal-skills,
	.services-modal-skills {
		justify-content: flex-start;
	}
}
