:root {
	--background-color: linear-gradient(135deg, rgb(165 186 189) 0%, rgb(200 220 223) 100%);
	--primary-color: rgb(165 186 189);
	--secondary-color: rgb(102 123 115);
	--ternary-color: rgb(95 109 99);
	--quartary-color: rgb(60 99 65);
	--five-color: rgb(181 202 183);
	--six-color: rgb(18 99 29);
	--seven-color: rgb(199 218 203);
	--eight-color: rgb(21 109 33);
	--color-white: #f9f9f9;
	--color-black: #1a1a1a;
	--heading-color: rgb(0 0 0);
	--heading-color2: rgb(255 255 255);
	--text-color: #333;
	--text-color2: rgb(255 255 255);
	--fine-print-color: #fff;
	--hover-accent: rgb(118 168 125);
	--hover-accent2: rgb(115 183 194);
	--hover-accent3: rgb(218 128 26 / 90%);
	--hover-accent4: rgb(41, 235, 57);
	--selected-color: linear-gradient(135deg, rgb(81 136 90) 0%, rgb(60 121 68) 100%);
	--selected-color2: linear-gradient(135deg, rgb(70 151 163) 0%, rgb(91 151 179) 100%);
	--selected-color3: linear-gradient(135deg, rgb(219 127 21 / 90%) 0%, rgb(209 104 6) 100%);
	--button-color: linear-gradient(135deg, rgb(189 204 196) 0%, rgb(178 214 200) 100%);
	--button-color-hover: rgb(46 121 56);
	--footer-gradient: #c84f09;
	--fasad-green: #019939;
	--fasad-green2: #87bf5a;
	--fasad-green3: #6b9e3c;
	--fasad-green4: rgb(21 109 33);
	--fasad-orange: #c84f09;
	--fasad-orange2: rgb(218 128 26 / 90%);
	--font-family: cairo, sans-serif;
	--padding: 0.5rem;
	--padding2: 1rem;
	--padding3: 2rem;
	--padding4: 4rem;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: Cairo, sans-serif;
	scroll-behavior: smooth;
	line-height: 1.3;
}

body {
	width: 100%;
	background: var(--background-color);
	margin: 0;
	padding: 0;
}

.header {
	width: 100%;
	padding: 0.8rem 2rem;
	background: #99abad;
	box-shadow: 0 2px 4px rgb(0 0 0 / 10%);
	display: flex;
	justify-content: center;
	align-items: center;
	position: sticky;
	top: 0;
	left: 0;
	z-index: 1000000;
}

.header .logo {
	height: 45px;
	width: auto;
}

.wrapper {
	width: 100%;
	overflow-x: hidden;
	display: flex;
	flex-direction: column;
	color: var(--text-color);
	font-family: var(--font-family);
	padding: 0.5rem 1rem;
	margin: 0 auto;
}

.info,
.form-section,
.result-section {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
	width: 100%;
	max-width: 1350px;
}

.heading-area {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding-bottom: var(--padding4);
}

h1 {
	text-align: center;
	font-size: 2.3rem;
}

h2 {
	font-size: 1.9rem;
}

h3 {
	font-size: 1.5rem;
}

h1,
h2,
h3 {
	padding: 0.5rem 0;
}

/* Professional paragraph styling and improved word wrapping */
p {
	font-size: 1.3rem;
	color: var(--text-color);
	margin: 0.5rem 0;
	line-height: 1.6;
	word-break: normal;
	overflow-wrap: break-word;
	text-align: left;
	padding: 0;
}

span {
	width: 100%;
	font-weight: 600;
	color: var(--heading-color);
}

a {
	color: var(--color-white);
	text-decoration: underline;
	font-size: 1.2rem;
	font-weight: 700;
}

a:hover {
	color: var(--hover-accent4);
}

.img-container {
	display: flex;
	justify-content: flex-start;
}

.energy-class-image {
	width: 100%;
	max-width: 500px;
	border-radius: 10px;
}

.img-heading {
	margin-top: 1rem;
	margin-left: -0.7rem;
}

.box-wrapper {
	width: 100%;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.box,
.top-box {
	display: flex;
	flex-direction: column;
}

.box p {
	font-weight: 600;
}

.box-30 {
	width: 30%;
}

.box-50 {
	width: 50%;
	justify-content: flex-end;
}

.box-70 {
	width: 70%;
}

.box-100 {
	max-width: 100%;
	justify-content: center;
	align-items: center;
}

.box-content {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 1rem;
}

.info .box-content {
	padding: 0;
}

.block h3 {
	display: flex;
	align-items: center;
	cursor: pointer;
	user-select: none;
	color: var(--color-white);
}

.block p {
	color: var(--color-white);
	margin-left: 2.6rem;
}

.box-content h3 {
	padding: 0.7rem 1rem;
}

.box-image-container {
	display: flex;
	justify-content: center;
	width: 100%;
	max-width: 100%;
	padding: 0 1rem;
	max-height: 550px;
}

.box-image {
	width: 100%;
	padding: 1.88rem 0;
	margin: 0;
	margin-top: 2.2rem;
	transition: all 0.4s ease-in-out;
}

.max-width-50 {
	max-width: 50%;
}

.max-width-80 {
	max-width: 80%;
}

.blocks {
	margin-top: 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	width: 100%;
}

.block {
	display: flex;
	flex-direction: column;
	width: 100%;
	background-color: var(--eight-color);
}

.toggle-block {
	display: none;
	flex-direction: column;
	padding: 0 1rem 1rem 0;
}

.toggle-block ul {
	list-style-type: disc;
	margin-left: 4rem;
	padding: 0 0 0.5rem 0;
}

.toggle-block li {
	font-size: 1.2rem;
	margin-bottom: 0.2rem;
	color: white;
}

.las {
	color: var(--color-white);
	margin-right: 0.2rem;
}

.hide {
	display: none;
}

.show {
	display: flex;
}

.hr {
	width: 90%;
	position: relative;
	padding: 0.3rem;
	border: none;
	height: 10px;
	background: url("data:image/svg+xml;utf8,<svg width='1000' height='10' xmlns='http://www.w3.org/2000/svg'><filter id='chalk'><feTurbulence type='fractalNoise' baseFrequency='0.08' numOctaves='2' result='t'/><feDisplacementMap in2='t' in='SourceGraphic' scale='3' xChannelSelector='R' yChannelSelector='G'/></filter><path d='M0,7 Q100,2 200,7 Q300,12 400,7 Q500,2 600,7 Q700,12 800,7 Q900,2 1000,7' stroke='white' stroke-width='6' fill='none' filter='url(%23chalk)' stroke-linecap='round'/></svg>")
		repeat-x;
	background-size: auto 100%;
	background-color: transparent;
	opacity: 85%;
	margin: 0 auto;
	margin-block: 2rem;
}

.hr-small {
	border: none;
	border-top: 1px solid #ccc;
	margin: 0 auto;
	width: 95%;
}

.svg-wrapper {
	position: relative;
	display: inline-block;
	width: 120px;
	height: 120px;
	margin: 1rem;
}

.fine-print {
	width: 100%;
	font-size: 1.1rem;
	color: var(--fine-print-color);
	margin: 0 auto;
}

.source {
	width: 100%;
	color: var(--fine-print-color);
	font-weight: bold;
	text-align: center;
}

.source a {
	font-size: 1rem;
}

form {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
}

form .paragraph {
	color: var(--color-black);
	margin-bottom: 1rem;
}

form .block {
	background-color: transparent;
	width: auto;
}

.form-image {
	position: relative;
	left: 0;
	bottom: 0;
	max-width: 200px;
	height: 200px;
}

.input-group1,
.input-group2,
.input-group3 {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.input-group1 {
	gap: 1rem;
	padding-bottom: 2rem;
	max-width: 70%;
}

.input-group2 {
	gap: 6rem;
	padding-bottom: 2rem;
	max-width: 70%;
}

.input-group2 .block {
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
}

.input-group2 .block-col {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.selection {
	width: 100%;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: flex-end;
}

.selection2 {
	width: 100%;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: flex-end;
}

.select-and-image {
	display: flex;
	align-items: flex-end;
	gap: 1rem;
}

.select-and-label {
	width: 100%;
	display: flex;
	flex-direction: column;
	padding-left: 1.5rem;
}

.icon-and-text-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 1rem 0;
}

.icon-and-text {
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1rem;
	padding: 1rem 0 0;
}

.icon-and-text img {
	width: 80px;
	height: 80px;
}

.texts {
	display: flex;
	flex-direction: column;
}

/* styling for consistent sizing */
input,
select {
	border-radius: 5px;
	padding: 0.5rem;
	margin: 0.5rem 0;
	border: 1px solid var(--text-color);
	background-color: var(--color-white);
	color: var(--text-color);
	font-size: 1.2rem;
	transition: border-color 0.3s ease;
	display: inline-block;
	vertical-align: middle;
}

/* Remove default select arrow for consistency */
select {
	appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='16' viewBox='0 0 20 20' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7.293 7.293a1 1 0 011.414 0L10 8.586l1.293-1.293a1 1 0 111.414 1.414l-2 2a1 1 0 01-1.414 0l-2-2a1 1 0 010-1.414z'/></svg>");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 1.2em;
	padding-right: 2.5rem;
	border: 1px solid var(--text-color);
	color: var(--text-color);
	transition: border-color 0.3s ease;
}

/* Remove number input spinners for consistency */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	appearance: none;
	margin: 0;
}

input[type="number"] {
	appearance: textfield;
}

input {
	border: 1px solid var(--text-color);
	color: var(--text-color);
	transition: border-color 0.3s ease;
}

input:focus {
	border: 1px solid var(--eight-color);
	outline: 1px solid var(--eight-color);
}

input[type="radio"] {
	appearance: none;
	width: 30px;
	height: 30px;
	border: 2px solid var(--quartary-color);
	border-radius: 4px;
	background: var(--color-white);
	cursor: pointer;
	transition: border-color 0.2s, box-shadow 0.2s;
	position: relative;
	display: inline-block;
	vertical-align: middle;
	margin-right: 0.5rem;
}

/* Checked state background and border */
input[type="radio"]:checked {
	background: var(--six-color);
	border-color: var(--quartary-color);
}

/* Draw the X symbol using two lines */
input[type="radio"]::before,
input[type="radio"]::after {
	content: "";
	position: absolute;
	width: 5px;
	height: 5px;
	background: var(--color-white);
	top: 9px;
	left: 12px;
	border-radius: 0;
	opacity: 0%;
	transition: transform 1.5s ease, opacity 0.2s ease;
	transform-origin: center;
}

input[type="radio"]::before {
	transform: rotate(110deg);
	width: 11px;
	height: 4px;
	top: 12px;
	left: 4px;
}

input[type="radio"]::after {
	transform: rotate(-100deg);
	width: 12px;
	height: 4px;
}

input[type="radio"]:checked::before,
input[type="radio"]:checked::after {
	transform: rotate(38deg);
	opacity: 100%;
}

input[type="radio"]:checked::after {
	transform: rotate(-400deg);
}

.input-group2 .select-and-image input {
	margin: 0;
}

label {
	display: block;
	flex-direction: column;
	font-size: 1.3rem;
	color: var(--text-color);
}

select:focus {
	border-color: var(--primary-color);
	outline: none;
}

.label-container {
	display: flex;
	align-items: center;

	position: relative;
}

.check-and-label-container {
	width: 20%;
	min-width: 4.5rem;
	display: flex;
	align-items: center;
}

.check-and-label-container label {
	padding: 0.2rem;
}

.tooltip-wrapper {
	position: relative;
	display: inline-block;
}

.tooltip {
	display: none;
	position: absolute;
	top: 120%; /* or bottom: 100% to go above */
	left: 50%;
	transform: translateX(-50%);
	background: #fff;
	border: 1px solid #ccc;
	padding: 0.75rem 1rem;
	font-size: 1.025rem;
	line-height: 1.4;
	width: clamp(170px, 60vw, 300px); /* Responsive width */
	max-width: 100vw; /* Prevent overflow */
	border-radius: 5px;
	box-shadow: 0 2px 10px rgb(0, 0, 0, 0.1);
	z-index: 100;
	white-space: normal;
	pointer-events: auto;
}

.tooltip::after {
	content: "";
	position: absolute;
	color: #000;
	top: -10px;
	left: 51%;
	transform: translateX(-50%);
	border-width: 8px;
	border-style: solid;
	border-color: transparent transparent var(--eight-color) transparent;
}

.tooltip.visible,
.tooltip-wrapper:hover .tooltip,
.tooltip-wrapper:focus-within .tooltip {
	display: block;
}

.tooltip-image {
	width: 100%;
	margin-top: 0.5rem;
}

.input-group2 .info-tooltip {
	width: 350px;
	left: 50%;
	top: -1rem;
	transform: translateX(-50%);
}

.la-info-circle {
	color: var(--eight-color);
	font-size: 1.5rem;
	cursor: pointer;
}

.info-icon {
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	margin-left: 8px;
	font-size: 1.2em;
}

/* CARDS */
.input-group3 {
	display: flex;
	width: 100%;
	padding: 2rem 0;
	margin: 0 auto;
}

.input-group3 input[type="radio"] {
	display: none;
}

.card-select {
	position: relative;
	display: flex;
	flex-direction: row;
	border: 1px solid var(--color-white);
	color: var(--text-color);
	width: calc(33.33% - 3rem);
	transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.card-select:hover {
	box-shadow: 0 0 0 2px var(--color-white);
}

.card-select img {
	position: absolute;
	max-width: 100px;
	padding: 0.5rem;
	top: -45px;
	left: 50%;
	transform: translateX(-50%);
}

.card-select p {
	padding: 1rem;
}

.card-title {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.card {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: var(--primary-color);
	text-align: center;
	color: var(--text-color);
	cursor: pointer;
	transition: background-color 0.3s ease;
	padding: 4rem 1rem;
	min-height: 12rem;
}

.card-good:hover {
	background: var(--hover-accent2);
	color: var(--color-white);
}

.card-better:hover {
	background: var(--hover-accent3);
	color: var(--color-white);
}

.card-best:hover {
	background: var(--hover-accent);
	color: var(--color-white);
}

input[type="radio"]:checked + .card {
	outline: 3px solid var(--color-white);
	box-shadow: 0 0 0 2px var(--color-white);
}

input[type="radio"]:checked + .card.card-best {
	background: var(--selected-color);
	color: var(--color-white);
}

input[type="radio"]:checked + .card.card-good {
	background: var(--selected-color2);
	color: var(--color-white);
}

input[type="radio"]:checked + .card.card-better {
	background: var(--selected-color3);
	color: var(--color-white);
}

button {
	background: var(--button-color);
	color: var(--color-black);
	border: 1px solid var(--color-white);
	border-radius: 5px;
	padding: 1rem 2rem;
	cursor: pointer;
	font-size: 1.4rem;
	transition: box-shadow 0.3s ease, background-color 0.3s ease;
	font-weight: 700;
}

button:hover {
	background: var(--button-color-hover);
	color: var(--color-white);
	box-shadow: 0 0 0 0.5px var(--color-white);
}

button.info-icon {
	all: unset;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2em;
	margin-left: 0.5rem;
}

button.info-icon:focus {
	outline: 2px solid var(--primary-color);
}

.cta-section {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.cta-section p {
	font-size: 1.2rem;
	margin-bottom: 1rem;
}

.mail-info-box {
	display: flex;
	align-items: center;
	width: 100%;

	/* background: linear-gradient(200deg, rgb(165 186 189) 30%, rgb(200 220 223) 100%);
	background: #99abad; */
	padding: 4rem;
	font-size: 1.2rem;
}

.heading2 {
	color: #262626;
}

.mail-info-box-content {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
	gap: 2rem;
}

.mail-info-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 155px;
	height: 155px;
	background-color: var(--fasad-green2);
	border: 2px solid var(--color-white);
	border-radius: 50%;
	margin-right: 2rem;
	padding: 0;
	box-sizing: border-box;
}

.mail-info-icon img {
	width: 60%;
}

.mail-info-text {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.mail-info-text h3 {
	color: var(--color-black);
}

.mail-info-text a {
	color: var(--fasad-green4);
	text-decoration: underline;
	font-weight: 700;
}

.mail-info-text a:hover {
	color: var(--fasad-orange2);
}

.result {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	border-radius: 10px;
}

.result .box-content h3,
.result .box-content p {
	padding: 0 1rem;
}

.result .box-wrapper {
	height: auto;
}

footer {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 1rem;
	background: var(--fasad-orange);
	font-size: 0.9rem;
}

.footer-content {
	display: flex;
	justify-content: center;
	margin: 0 auto;
	width: 100%;
	max-width: 1350px;
	padding: 3.5rem;
}

.footer-section {
	width: 100%;
	display: flex;
	flex-direction: column;
	color: var(--color-white);
}

.footer-section h4 {
	width: 100%;
	font-size: 1.1rem;
	color: var(--color-white);
	margin-bottom: 0.2rem;
}

.footer-content ul {
	width: 100%;
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.footer-content ul li {
	color: var(--fine-print-color);
	text-decoration: none;
}

.footer-section:nth-of-type(2) {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.footer-section:nth-of-type(2) ul {
	display: grid;
	grid-template-columns: repeat(2, 1fr); /* 5 equal columns */
}

.footer-section:nth-of-type(2) ul li a {
	text-decoration: none;
	font-size: 1rem;
}

footer .footer-logo {
	width: 390px;
	padding: 1rem;
}

/* FLEX CLASSES */

.row {
	flex-direction: row;
}

.column {
	flex-direction: column;
}

@media (width <= 1600px) {
	.info,
	.form-section,
	.result-section,
	.footer-content {
		max-width: 1300px;
	}
}

@media (width <= 1300px) {
	.wrapper {
		padding: 0.5rem var(--padding3);
	}

	.form-image {
		max-width: 150px;
		height: 150px;
	}

	label {
		font-size: 1.2rem;
	}

	.input-group1,
	.input-group2 {
		max-width: 80%;
	}

	.input-group2 {
		gap: 0;
	}

	.hr {
		width: 100%;
		margin-block: 1rem;
	}

	.icon-and-text img {
		width: 75px;
		height: 75px;
	}
}

/* Responsive adjustment */
@media (width <= 1100px) {
	.wrapper {
		padding: 0 var(--padding);
	}

	h1 {
		font-size: clamp(1.3755rem, 5vw, 1.8rem);
	}

	h2 {
		font-size: clamp(1.277rem, 4vw, 1.7rem);
	}

	h3,
	p,
	label {
		font-size: clamp(1.1rem, 3vw, 1.3rem);
	}

	.info,
	.form-section,
	.result-section,
	.footer-content {
		max-width: 600px;
	}

	.input-group1,
	.input-group2 {
		max-width: 100%;
	}

	.heading-area {
		padding: var(--padding2);
		margin: 1rem;
	}

	.box-wrapper {
		width: 100%;
		flex-direction: column-reverse;
		align-items: center;
		justify-content: center;
	}

	.top-box {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		padding: 0;
		margin: 0;
	}

	.box-100 {
		width: 100%;
		padding: 0;
	}

	.box-50 {
		display: flex;
		width: 100%;
		justify-content: center;
		align-items: center;
		margin: 0 auto;
		padding-bottom: 1rem;
	}

	.box-content {
		width: 100%;
		justify-content: center;
		align-items: center;
	}

	.box-content p,
	.box-content h3 {
		text-align: center;
	}

	.box-image {
		margin-top: 0;
		padding: 0;
	}

	.blocks {
		gap: 0.5rem;
	}

	.block {
		width: 100%;
	}

	.block p {
		margin-left: 0;
		padding: 0 1rem;
	}

	.block-col p {
		text-align: center;
	}

	form {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		margin: 0 auto;
	}

	form .paragraph {
		color: var(--color-black);
		margin-bottom: 1rem;
		text-align: center;
	}

	form .block {
		background-color: transparent;
		width: auto;
	}

	.input-group2 {
		gap: 0;
	}

	.input-group2 .block {
		width: 100%;
		display: flex;
		flex-direction: row;
		align-items: center;
	}

	.input-group2 .block-col {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 0;
	}

	.selection {
		display: flex;
		justify-content: center;
		gap: 1rem;
	}

	.icon-and-text-container {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		width: 100%;
		padding: 0;
	}

	.icon-and-text-container p,
	.icon-and-text-container h3 {
		text-align: center;
		padding: 0;
		margin: 0;
	}

	.icon-and-text {
		display: flex;
		flex-direction: column;
		align-items: center;
		padding: 3rem 0 0;
		gap: 0.5rem;
	}

	.texts {
		display: flex;
		flex-direction: column;
	}

	.form-image {
		position: relative;
		left: 0;
		bottom: 0;
		max-width: 200px;
		height: 200px;
	}

	.input-group1,
	.input-group2,
	.input-group3,
	.card-select {
		flex-direction: column;
		width: 100%;
	}

	.input-group1 {
		gap: 0;
		padding-bottom: 0;
	}

	.input-group3 {
		gap: 1.2rem;
	}

	.card-select {
		width: 100%;
		margin: 1rem auto;
		height: 16rem;
	}

	.card-select label {
		width: 100%;
		height: 100%;
		display: flex;
		justify-content: center;
	}

	button {
		font-size: 1.2rem;
		width: 100%;
	}

	footer {
		padding: 1rem 0;
	}

	.footer-content {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		width: 100%;
		max-width: 600px;
	}

	.footer-section {
		padding: 1rem;
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.mail-info-box-content {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		max-width: 600px;
	}

	.mail-info-icon {
		width: 110px;
		height: 110px;
		margin-bottom: 0.5rem;
		margin-right: 0;
	}

	.mail-info-icon img {
		width: 55%;
	}

	.mail-info-text {
		text-align: center;
	}

	.mail-info-text h3 {
		font-size: 1.4rem;
	}

	.fine-print,
	.source {
		font-size: 0.9rem;
		padding: var(--padding);
	}

	.info-tooltip {
		width: 350px;
		left: 550px;
		top: 0;
	}

	.hr {
		width: 95%;
		margin-block: 1rem;
	}
}

@media (width <= 800px) {
	.header .logo {
		height: 40px;
	}

	.wrapper {
		padding: 0 var(--padding3);
	}

	h1 {
		padding: 0;
	}

	.info,
	.form-section,
	.result-section {
		max-width: 500px;
	}

	.footer-content {
		max-width: 700px;
	}

	.footer-section {
		text-align: center;
	}

	footer .footer-logo {
		width: 300px;
		padding: 0.5rem;
	}

	.hr {
		width: 100%;
		margin-block: 1rem;
	}

	.icon-and-text img {
		width: 60px;
		height: 60px;
	}

	.mail-info-icon {
		width: 100px;
		height: 100px;
	}

	.tooltip {
		font-size: 1.1rem;
		width: clamp(170px, 60vw, 250px);
	}
}

@media (width <= 600px) {
	.header {
		padding: 1rem;
	}

	.header .logo {
		height: 27px;
	}

	.wrapper {
		width: 100%;
	}

	.info,
	.form-section,
	.result-section,
	.footer-content {
		max-width: 400px;
	}

	.heading-area {
		padding: 0 0 1rem 0;
	}

	h1 {
		font-size: clamp(1.4rem, 5vw, 1.6rem);
		padding: 0.5rem 0;
	}

	p {
		padding: 0 0.7rem;
		font-size: clamp(1.0775rem, 3vw, 1.2rem);
	}

	.box-wrapper {
		width: 100%;
		gap: 0;
	}

	.box-content h2 {
		text-align: center;
	}

	.box-content p,
	.box-content h3 {
		text-align: center;
	}

	.box-50 {
		padding-bottom: 0;
	}

	.box-content {
		padding: 0.5rem;
	}

	.blocks {
		width: 100%;
		gap: 0.5rem;
		margin-top: 2rem;
	}

	.block h3 {
		justify-content: center;
	}

	.input-group2 .block {
		flex-direction: column;
	}

	.paragraph {
		text-align: center;
	}

	label {
		font-size: 1.2rem;
		text-align: center;
	}

	form {
		margin: 0 auto;
	}

	.label-container {
		display: flex;
		flex-direction: column;
	}

	.tooltip {
		width: 14rem;
		font-size: 1rem;
	}

	.select-and-label {
		padding-left: 0;
	}

	.selection img {
		max-width: 100px;
		height: auto;
	}

	.card-select img {
		max-width: 5.5rem;
	}

	.icon-and-text {
		padding: 2rem 0 0;
	}

	button {
		width: 100%;
		font-size: 1.1rem;
		padding: 1rem 0.5rem;
	}

	footer {
		padding: var(--padding);
		font-size: 0.8rem;
	}

	footer .footer-logo {
		width: 250px;
		padding: 0.5rem;
	}

	.fine-print {
		max-width: 100%;
		font-size: 0.9rem;
		padding: var(--padding);
	}

	.footer-section:nth-of-type(2) ul {
		display: flex;
	}
}

@media (width <= 400px) {
	.header .logo {
		height: 22px;
	}

	h1 {
		font-size: clamp(1.2rem, 5vw, 1.5rem);
	}

	.wrapper {
		width: 100%;
		padding: 0 var(--padding2);
	}

	.box-wrapper {
		width: 100%;
	}

	.blocks {
		width: 100%;
		margin-top: 1rem;
	}

	.block {
		width: 100%;
	}

	.block h3 {
		font-size: 1rem;
		gap: 0;
		justify-content: center;
	}

	.heading2,
	h2 {
		font-size: 1.3rem;
		text-align: center;
	}

	p {
		font-size: clamp(1.0775rem, 3vw, 1.2rem);
	}

	form {
		margin: 0 auto;
	}

	input {
		width: 100%;
		padding: var(--padding);
		font-size: 1rem;
	}

	.selection {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 2rem;
	}

	.selection2 {
		width: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	.select-and-image {
		width: 100%;
		display: flex;
		justify-content: center;
	}

	.select-and-image .img-container {
		width: 36%;
		justify-content: flex-end;
	}

	.select-and-image img {
		width: 100%;
		max-height: 70px;
		max-width: 70px;
	}

	.select-and-label {
		padding-top: 2rem;
	}

	.card-content {
		padding: var(--padding);
		margin-top: 3rem;
	}

	.card-select {
		height: 13rem;
	}

	.card-select p {
		padding: 0;
		font-size: 1.1rem;
	}

	.card-select img {
		max-width: 4rem;
		top: -30px;
	}

	.card-title {
		font-size: 1.3rem;
	}

	label {
		font-size: 1rem;
	}

	button {
		width: 100%;
		padding: 0.7rem;
		font-size: 1rem;
	}

	.result .box-content h3 {
		font-size: 1.2rem;
	}

	footer {
		padding: var(--padding);
		font-size: 0.8rem;
	}

	footer .footer-logo {
		width: 200px;
		padding: 0.5rem;
	}

	.fine-print {
		max-width: 100%;
		font-size: 0.8rem;
		padding: var(--padding2);
	}

	.mail-info-icon {
		width: 80px;
		height: 80px;
	}
}
