@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/Inter-Bold.woff2') format('woff2');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/Inter-Regular.woff2') format('woff2');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../fonts/Inter-Medium.woff2') format('woff2');
}
:root {
	--background: #fff;
	--foreground: #00093d;
	--grey: #80849e;
	--red: #e00000;
	--font-family: 'Inter', sans-serif;
	font-optical-sizing: auto;
}

* {
	outline: none;
	border: none;
	box-sizing: border-box;
	font-family: var(--font-family);
	margin: 0;
}

body {
	background: var(--background);
	color: var(--foreground);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	margin: 0;
	padding: 0;
}

.h-100svh {
	height: 100svh;
}

.max-h-100svh {
	max-height: 100svh;
}

.flex {
	display: flex;
}

.flex-col {
	flex-direction: column;
}

.overflow-hidden {
	overflow: hidden;
}

.hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 2.5rem 0 3.75rem 0;
	padding-inline: 1.25rem;
}

h1,
.heading {
	font-weight: 700;
	font-size: clamp(1.875rem, 1.6667rem + 0.9259vw, 2.5rem);
	line-height: 100%;
	letter-spacing: -0.04em;
	text-align: center;
	color: var(--foreground);
}

h1 {
	margin: 1.875rem 0 1rem 0;
}

.hero h2 {
	font-weight: 400;
	font-size: clamp(0.9375rem, 0.8958rem + 0.1852vw, 1.0625rem);
	line-height: 118%;
	text-align: center;
	color: var(--grey);
}

.form {
	display: flex;
	font-weight: 400;
	font-size: 1.0625rem;
	line-height: 129%;
	letter-spacing: -0.04em;
	width: 100%;
}

.input {
	padding: 1.0625rem 1.25rem;
	background: #f5f5f5;
	color: #00093d;
	border-radius: 19px;
	border: 1px solid transparent;
	flex: 1 0 auto;
	font-size: 1.0625rem;
}

.input::placeholder {
	color: #acaebe;
}

.input.invalid {
	border-color: var(--red);
}

.btn {
	background: #52aa5e;
	border-radius: 19px;
	padding: 17px 40px;
	min-width: 114px;
	cursor: pointer;
	transition: background 0.3s ease;
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.btn span {
	position: relative;
	z-index: 5;
	font-weight: 500;
	font-size: 1.0625rem;
	line-height: 129%;
	letter-spacing: -0.04em;
	color: #fff;
}

.btn::before {
	content: '';
	z-index: 5;
	position: absolute;
	bottom: -20%;
	left: 50%;
	width: 120%;
	height: 0%;
	background-color: #3e964a;
	border-radius: 50%;
	transform: translateX(-50%);
	transition: height 0.4s ease;
	z-index: 0;
}

.btn:hover::before {
	height: 180%;
}

.mt-7 {
	margin-top: 1.75rem;
}

.md\:mt-9 {
	margin-top: 2.25rem;
}

.relative {
	position: relative;
}

.w-500px {
	width: 500px;
}

.max-w-full {
	max-width: 100%;
}

.error-message {
	position: absolute;
	top: 100%;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease;
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 169%;
	color: var(--red);
}

.error-message.show {
	max-height: 2.5rem;
}

.w-100svw {
	width: 100svw;
}

.grow {
	flex-grow: 1;
}

.relative {
	position: relative;
}

.video-container {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.video-bg {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 45%;
	filter: brightness(0.75);
}

.logo-link {
	position: absolute;
	left: 1.25rem;
	bottom: 1.25rem;
}

.image-text {
	position: fixed;
	right: 60px;
	bottom: 40px;
	display: flex;
	align-items: center;
	gap: 1.125rem;
	max-width: 350px;
}

.image-text span {
	display: block;
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 127%;
	color: #fff;
}

@media (max-width: 660px) {
	.image-text {
		position: absolute;
		top: 15px;
		bottom: unset;
		right: 50%;
		transform: translateX(50%);
		max-width: 370px;
		width: 90%;
	}
}

@media (max-width: 560px) {
	.hero {
		margin: 2.5rem 0 1.875rem 0;
	}
	.hero > img {
		transform: scale(0.84);
	}
	h1 {
		margin: 1.5rem 0 1rem;
	}
	.btn,
	.input {
		padding: 17px 20px;
	}
	.image-text {
		max-width: 370px;
		width: 90%;
	}
}

@media (max-width: 480px) {
	.input {
		width: calc(100% - 114px);
	}
}

@keyframes floatWave {
	0% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-7%);
	}
	100% {
		transform: translateY(0);
	}
}

.float-wave {
	animation: floatWave 2.5s ease-in-out infinite;
	display: inline-block;
}

/* Modal styles */
.modal {
	position: fixed;
	inset: 0;
	padding: 1.25rem;
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
	background: white;
	border-radius: 1.25rem;
	padding: 3rem 2rem;
	max-width: 24rem;
	width: 100%;
	text-align: center;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.text-gray-600 {
	color: #4b5563;
}

.mb-4 {
	margin-bottom: 1rem;
}

.mb-8 {
	margin-bottom: 2rem;
}

.hidden {
	display: none;
}
