.hero {
	height: 50dvh;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: end;
	padding: 1rem 5rem;
	border-bottom: 1px solid var(--olive);
}

.heading {
	font-size: 6rem;
	font-weight: 500;
	text-transform: uppercase;
	line-height: 1;
	color: var(--olive);
}

.grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 4rem;
	padding: 5rem;
	border-bottom: 1px solid var(--olive);
}

.content {
	height: 100%;
	flex: 1;
	padding: 2rem;
	border: 1px solid var(--olive);
}

.title {
	font-size: 1.5rem;
}

a:has(.text) {
	text-decoration: underline;
	text-decoration-color: var(--olive);
	.text {
		font-size: 1rem;
	}
}

.text {
	margin-top: 1rem;
	font-size: 1rem;
	font-weight: 500;
	color: var(--olive);
}

.icon {
	color: var(--green);
}

.form {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 5rem;
	border-bottom: 1px solid var(--olive);
	.title {
		font-size: 5rem;
	}
	form {
		display: flex;
		flex-direction: column;
		gap: 1rem;
		width: 50%;
	}
	input {
		font-size: 1rem;
	}
	textarea {
		height: 5rem;
		padding: 0.2rem;
		font-size: 1rem;
		border: 1px solid var(--olive);
		color: var(--olive);
		&:focus {
			outline: none;
		}
		&::placeholder {
			text-transform: capitalize;
			color: var(--olive);
		}
	}
	input[type="submit"] {
		text-align: center;
		border: 1px solid var(--olive);
		color: var(--olive);
		background-color: var(--white);
		cursor: pointer;
		transition: color 1s ease, background-color 0.2s linear;
		&:hover {
			color: var(--white);
			background-color: var(--olive);
		}
	}
}

@media screen and (max-width: 480px) {
	.hero {
		padding: 0 2rem;
	}
	.heading {
		font-size: 3rem;
	}
	.title {
		font-size: 1.2rem;
	}
	.text {
		font-size: 1rem;
	}
	.grid {
		grid-template-columns: repeat(1, 1fr);
		padding: 2rem;
	}
	.form {
		flex-direction: column;
		align-items: center;
		justify-content: space-between;
		padding: 2rem;
		.title {
			font-size: 4rem;
		}
		form {
			width: 100%;
		}
		input {
			font-size: 1rem;
		}
		textarea {
			font-size: 1rem;
		}
	}
}

@media screen and (max-width: 960px) and (min-width: 481px) {
	.hero {
		padding: 0 2rem;
	}
	.heading {
		font-size: 4rem;
	}
	.title {
		font-size: 1.2rem;
	}
	.text {
		font-size: 1rem;
	}
	.grid {
		grid-template-columns: repeat(2, 1fr);
		padding: 2rem;
	}
	.form {
		flex-direction: column;
		align-items: center;
		justify-content: space-between;
		padding: 2rem;
		.title {
			font-size: 4rem;
		}
		form {
			width: 100%;
		}
		input {
			font-size: 1rem;
		}
		textarea {
			font-size: 1rem;
		}
	}
}

@media screen and (min-width: 1366px) {
	.hero {
		padding: 0 10rem;
	}
	.heading {
		font-size: 5rem;
	}
	.title {
		font-size: 2rem;
	}
	.text {
		font-size: 1.2rem;
	}
	.grid {
		padding: 5rem 10rem;
	}
	.form {
		padding: 2rem 10rem;
	}
	input {
		font-size: 1.2rem;
	}
	textarea {
		font-size: 1.2rem;
	}
}