@font-face {
	font-family: "GroditaRegular";
	src: url("/assets/fonts/GroditaRegular.woff");
	font-style: normal;
	font-weight: 300;
}

@font-face {
	font-family: "GroditaMedium";
	src: url("/assets/fonts/GroditaMedium.woff");
	font-style: normal;
	font-weight: 500;
}

@font-face {
	font-family: "GroditaBold";
	src: url("/assets/fonts/GroditaBold.woff");
	font-style: normal;
	font-weight: 700;
}

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

html,
body {
	font-family: "GroditaRegular", sans-serif;
	line-height: 1.6;
	background-color: #e9ebf1;
	margin: 0;
}

.header {
	width: 100%;
	position: sticky;
	top: 0;
	z-index: 1000;
	height: 72px;
	background-color: #fff;
	box-shadow: 0px 4px 16px 0px #0000000a;
	padding: 0 24px;
	display: flex;
	align-items: center;
	transition: background-color 0.3s ease;
}

.header.scrolled {
	background-color: #f4f4f4;
}

.logo {
	display: flex;
	align-items: center;
}

.logo img {
	transition: transform 0.3s ease;
}

.logo img:hover {
	transform: scale(1.1);
}

.main {
	margin: 20px;
	transition: margin 0.3s ease;
}

img {
	max-width: 100%;
	height: auto;
	object-fit: cover;
}

.hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 0 16px;
	gap: 24px;
	margin-top: 48px;
	margin-bottom: 32px;
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero-content {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 24px;
	animation: fadeIn 1s ease-in-out;
}

.hero-img {
	width: 100%;
	margin-bottom: 16px;
	transition: transform 0.4s ease;
}

.hero-img:hover {
	transform: scale(1.05);
}

.hero-text {
	color: #101828;
	font-size: 36px;
	font-weight: 500;
	line-height: 44px;
	letter-spacing: -0.02em;
}

.hero-description {
	font-size: 16px;
	color: #667085;
	line-height: 24px;
}

.steps-wrapper {
	margin-top: 40px;
	padding: 0 16px;
	transition: padding 0.3s ease;
}

.step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin-bottom: 40px;
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUp 0.6s ease forwards;
	margin-bottom: 48px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.image-step {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	order: 2;
}

.step-content {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 16px;
	text-align: center;
	order: 1;
}

.step-text {
	margin-bottom: 12px;
}

.step-number {
	text-align: left;
	margin-bottom: 8px;
	color: #2e2e2e;
	font-size: 18px;
	line-height: 22px;
	font-weight: 500;
}

.step-title {
	text-align: left;
	font-size: 24px;
	font-weight: 500;
	line-height: 30px;
	letter-spacing: -0.02em;
}

.step-description {
	text-align: left;
	color: #667085;
	font-size: 14px;
	line-height: 20px;
}

.step-two {
	margin-top: 24px;
}

.step-three {
	margin-top: 24px;
	margin-bottom: 40px;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Tablet and Desktop Styles */
@media (min-width: 768px) {
	.main {
		margin: 40px 60px;
	}

	.hero {
		flex-direction: row;
		text-align: left;
		gap: 80px;
		padding: 0 32px;
	}

	.hero-content {
		width: 40%;
		margin-bottom: 0;
	}

	.hero-img {
		width: 60%;
		margin-top: 0;
	}

	.hero-text {
		font-size: 48px;
		line-height: 56px;
	}
	@keyframes fadeInUp {
		from {
			opacity: 0;
			transform: translateY(20px);
		}
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}

	.steps-wrapper {
		margin-top: 60px;
		padding: 0 32px;
	}

	.step {
		flex-direction: row;
		align-items: center;
		gap: 40px;
	}

	.step:first-child .image-step,
	.step:last-child .image-step {
		order: 1;
	}

	.step:first-child .step-content,
	.step:last-child .step-content {
		order: 2;
	}

	.image-step,
	.step-content {
		width: 50%;
		flex: 1;
	}

	.step-title {
		font-size: 28px;
		line-height: 34px;
	}

	.step-number {
		font-size: 20px;
		line-height: 24px;
	}

	.step-description {
		font-size: 16px;
		line-height: 24px;
	}
}

.step-animation {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.step-animation.visible {
	opacity: 1;
	transform: translateY(0);
}

/* Desktop Styles */
@media (min-width: 1024px) {
	.main {
		margin: 54px auto;
		max-width: 1280px;
	}

	.hero {
		gap: 137px;
	}

	.hero-text {
		font-size: 64px;
		line-height: 72px;
	}

	.step {
		gap: 80px;
	}

	.step-title {
		font-size: 32px;
		line-height: 38px;
	}
}
