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

img {
	width: 100%;
	display: flex;
}

.container {
	max-width: 1200px;
	margin: auto;
	padding: 5rem 2rem;
}

.blur {
	position: relative;
	top: -2rem;
	left: 3rem;
	box-shadow: 0 0 1000px 50px #1d4ed8;
	z-index: -100;
}

body {
	font-family: 'Yatra One', sans-serif;
	color: #F0EDEE;
	/* background: linear-gradient(180deg, #223440 0%, #07393C 100%); */
	background: url('../img/shadergradient.gif');
	background-size: cover;
	background-repeat: no-repeat;
}

.contact-form {
	display: flex;
	flex-direction: column;
	align-items: center;
}

/*
* Nav Bar
*/


nav {
	max-width: 1200px;
	margin: auto;
	padding: 2rem 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.nav-logo {
	max-width: 100px;
}

.nav-links {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 3rem;
}

.link a {
	position: relative;
	padding-bottom: 0.75rem;
	color: #fff;
}

.link a::after {
	content: "";
	position: absolute;
	height: 2px;
	width: 0;
	bottom: 0;
	left: 0;
	background-color: #1d4ed8;
	transition: all 0.3s ease;
}

.link a:hover::after {
	width: 70%;
}

.brutalist-container {
	margin-top: 4rem;
	position: relative;
	width: 70%;
	max-width: 400px;
	font-family: monospace;
}

.brutalist-input {
	width: 100%;
	padding: 15px;
	font-size: 18px;
	font-weight: bold;
	color: #000;
	background-color: #fff;
	border: 4px solid #000;
	position: relative;
	overflow: hidden;
	border-radius: 0;
	outline: none;
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	box-shadow: 5px 5px 0 #000, 10px 10px 0 #4a90e2;
}

@keyframes glitch {
	0% {
		transform: translate(0);
	}

	20% {
		transform: translate(-2px, 2px);
	}

	40% {
		transform: translate(-2px, -2px);
	}

	60% {
		transform: translate(2px, 2px);
	}

	80% {
		transform: translate(2px, -2px);
	}

	100% {
		transform: translate(0);
	}
}

.brutalist-input:focus {
	animation: focus-pulse 4s cubic-bezier(0.25, 0.8, 0.25, 1) infinite,
		glitch 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

.brutalist-input:focus::after {
	content: "";
	position: absolute;
	top: -2px;
	left: -2px;
	right: -2px;
	bottom: -2px;
	background: white;
	z-index: -1;
}

.brutalist-input:focus::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: black;
	z-index: -2;
	clip-path: inset(0 100% 0 0);
	animation: glitch-slice 4s steps(2, end) infinite;
}

@keyframes glitch-slice {
	0% {
		clip-path: inset(0 100% 0 0);
	}

	10% {
		clip-path: inset(0 5% 0 0);
	}

	20% {
		clip-path: inset(0 80% 0 0);
	}

	30% {
		clip-path: inset(0 10% 0 0);
	}

	40% {
		clip-path: inset(0 50% 0 0);
	}

	50% {
		clip-path: inset(0 30% 0 0);
	}

	60% {
		clip-path: inset(0 70% 0 0);
	}

	70% {
		clip-path: inset(0 15% 0 0);
	}

	80% {
		clip-path: inset(0 90% 0 0);
	}

	90% {
		clip-path: inset(0 5% 0 0);
	}

	100% {
		clip-path: inset(0 100% 0 0);
	}
}

.brutalist-label {
	position: absolute;
	left: -3px;
	top: -35px;
	font-size: 14px;
	font-weight: bold;
	color: #fff;
	background-color: #000;
	padding: 5px 10px;
	transform: rotate(-1deg);
	z-index: 1;
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.brutalist-input:focus+.brutalist-label {
	transform: rotate(0deg) scale(1.05);
	background-color: #4a90e2;
}

.smooth-type {
	position: relative;
	overflow: hidden;
}

.smooth-type::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
	z-index: 1;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.smooth-type:focus::before {
	opacity: 1;
	animation: type-gradient 2s linear infinite;
}

@keyframes type-gradient {
	0% {
		background-position: 300px 0;
	}

	100% {
		background-position: 0 0;
	}
}

.brutalist-input::placeholder {
	color: #888;
	transition: color 0.3s ease;
}

.brutalist-input:focus::placeholder {
	color: transparent;
}

.brutalist-input:focus {
	animation: focus-pulse 4s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

@keyframes focus-pulse {

	0%,
	100% {
		border-color: #000;
	}

	50% {
		border-color: #4a90e2;
	}
}


.input-textarea {
	width: 100%;
	max-width: 500px;
	padding: 0.75rem;
	margin: 0.5rem 0;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 1rem;
	font-family: 'Playpen Sans', sans-serif;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	height: 150px;
	resize: vertical;
}

.input-textarea:focus {
	border-color: #1d4ed8;
	box-shadow: 0 2px 6px rgba(29, 78, 216, 0.3);
	outline: none;
}

.btn {
	margin: 5rem 0 5rem 0;
	padding: 1rem 2rem;
	font-size: 1rem;
	color: #fff;
	font-family: 'Playpen Sans', sans-serif;
	background-color: #1d4ed8;
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn:hover {
	background-color: #0091ff;
	color: #000000;
}


/*
* Footer
*/

footer .container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2rem;
}

footer .column .logo {
	max-width: 100px;
	margin-bottom: 2rem;
}

footer .column p {
	color: #ccc;
	margin-bottom: 2rem;
}

/*
* Copyright
*/

.copyright {
	max-width: 1200px;
	margin: auto;
	padding: 1rem;
	color: #fff;
	font-size: 0.8rem;
	text-align: center;
}

/*
* Media Responsive Design
*/

@media (width < 900px) {
	.nav-links {
		display: none;
	}

	header {
		grid-template-columns: repeat(1, 1fr);
	}

	header .image {
		grid-area: 1/1/2/2;
	}

	.features {
		grid-template-columns: repeat(2, 1fr);
	}

	.pricing {
		grid-template-columns: repeat(2, 1fr);
	}

	footer {
		grid-template-columns: 1fr 200px;
	}
}

@media (width < 600px) {
	header .image::before {
		display: none;
	}

	.features {
		grid-template-columns: repeat(1, 1fr);
	}

	.pricing {
		grid-template-columns: repeat(1, 1fr);
	}

	footer {
		grid-template-columns: 1fr 150px;
	}
}