*,
*::before,
*::after {
	box-sizing: border-box;
}

.first {
	margin: 0;
	padding: 0;
	padding-top: 100px;
	width: 100%;
	max-width: 100vw;
	position: relative;
	background-image: url('../img/contacts-fon.svg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	z-index: 1;
	flex-direction: column;
}

.first video.bg-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	pointer-events: none;
}

.main-intro {
	position: relative;
	z-index: 1;
}

@media (max-width: 767px) {
	.main-intro {
		position: relative;
		z-index: 1;
		background: transparent !important;
		opacity: 1 !important;
	}

	.first {
		background: transparent !important;
		opacity: 1 !important;
	}
}

.heading {
	padding-left: 93px;
	padding-top: 100px;
	max-width: 80vw;
}

.heading h1,
.heading h2,
.info-heading h3,
.blue-fon h2,
.result h2,
.blue-fon li,
.result li,
.result p {
	overflow-wrap: break-word;
	word-break: break-word;
}

.heading h1 {
	font-family: 'Mongolian Baiti', sans-serif;
	font-size: 100px;
	margin: 0;
	text-align: left;
	text-transform: uppercase;
	font-weight: 500;
}

.heading h2 {
	font-size: 50px;
	margin: 0;
	text-align: left;
	font-weight: 500;
}

.info-heading {
	padding-left: 93px;
	padding-right: 200px;
	width: 100%;
	max-width: 100vw;
}

.info-heading h3 {
	font-size: 40px;
	font-weight: 400;
	text-align: left;
	margin: 0;
	padding-top: 70px;
}

.getstarted {
	padding-top: 150px;
	display: flex;
	padding-left: 93px;
	padding-bottom: 100px;
	max-width: 100vw;
}

.btn-getstarted {
	outline: none;
	cursor: pointer;
	border: none;
	text-decoration: none;
	padding: 15px 80px;
	margin: 0;
	font-family: inherit;
	font-size: 30px;
	font-weight: 600;
	position: relative;
	display: inline-block;
	letter-spacing: 0.05rem;
	border-radius: 50px;
	overflow: hidden;
	background: #151516;
	color: #000;
}

.btn-getstarted span {
	position: relative;
	z-index: 2;
	transition: color 0.6s;
}

.btn-getstarted:hover span {
	color: #fff;
}

.btn-getstarted::before,
.btn-getstarted::after {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.btn-getstarted::before {
	content: "";
	background: #fff;
	width: 120%;
	left: -10%;
	transform: skew(30deg);
	transition: transform 0.6s cubic-bezier(0.3, 1, 0.8, 1);
}

.btn-getstarted:hover::before {
	transform: translate3d(100%, 0, 0);
}

.second {
	display: flex;
	justify-content: center;
	padding: 100px 200px;
	height: auto;
	width: 100%;
	max-width: 100vw;
	flex-wrap: wrap;
}

.blue-fon {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: #7FDB57;
	width: 100%;
	max-width: 600px;
	padding: 100px 30px;
	color: #000;
}

.blue-fon h2 {
	text-transform: uppercase;
	font-size: 50px;
	font-weight: 600;
}

.blue-fon li {
	list-style-position: outside;
	padding-top: 20px;
	font-weight: 500;
	font-size: 25px;
	width: 100%;
	max-width: 550px;
}


.result {
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: #222223;
	width: 100%;
	max-width: 600px;
	padding: 100px 30px;
}

.result h2 {
	font-size: 50px;
	font-weight: 600;
	align-items: center;
	padding-bottom: 40px;
	text-align: center;
	text-transform: uppercase;
}

.blue-fon ul {
	padding-left: 30px;
	width: 100%;
	max-width: 550px;
}

.result ul {
	padding-left: 30px;
	width: 100%;
	max-width: 550px;
}

.result li {
	font-size: 25px;
	font-weight: 500;
	padding-right: 0;
	padding-bottom: 30px;
	width: 100%;
}

.result p {
	font-size: 40px;
	padding-left: 44px;
	padding-bottom: 130px;
}


.fade-in {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
	will-change: opacity, transform;
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

* {

	box-sizing: border-box;
}

.form-container[data-page='1'] *[data-page='2'] {
	display: none;
}

.form-container[data-page='2'] *[data-page='1'] {
	display: none;
}

.form-container.noactive {
	display: none;
}

form:has(.noactive) {
	display: none;
	backdrop-filter: blur(0);
	-webkit-backdrop-filter: blur(0);
	transition: all .3s ease-in-out;

}

form * {
	font-family: 'Golos Text';
}

form {
	background: #00000039;
	display: flex;
	height: 100%;
	width: 100%;
	align-items: center;
	justify-content: center;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;

	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	transition: all .3s ease-in-out;
	z-index: 7;
}

.form-container h1 {
	text-align: center;
	font-weight: 600;
	margin-bottom: 30px;
	font-size: 32px;
}

.form-container h4 {
	text-align: left;
	font-weight: 600;
	font-size: 28px;
	margin: 20px 0;
}

.form-container {
	padding: 30px 60px;
	border-radius: 30px;
	display: block;
	width: 700px;
	max-width: 100%;
	background: #222223cc;
	backdrop-filter: blur(30px) saturate(3);
	-webkit-backdrop-filter: blur(30px);
	color: white;
	font-size: 28px;
	max-height: 100vh;
	overflow: auto;
}

.radio_btns {
	display: flex;
	flex-direction: column;
	row-gap: 10px;
}

.radio-btn {
	display: flex;
	padding: 15px 25px;
	padding-right: 30px;
	border-radius: 50px;
	background: #3D3D3D99;
	justify-content: space-between;
	align-items: center;


}

.radio-btn:hover {
	background: #68686870;

}

.radio-btn:has(input:checked) {
	background-color: #ffffff;
	color: black;
}

.radio_btns label {
	cursor: pointer;
}

.radio-btn input {
	height: 20px;
	width: 20px;
}




.method_btns {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.methods_c {
	padding: 20px;
	margin-bottom: 10px;
}
.methods_c h3 {
	margin-bottom: 10px;
	font-weight: 600;
}
.method-c {
	display: flex;
	font-size: 18px;
	align-items: center;
	gap: 5px;
}
label[for]{
	cursor: pointer;
	user-select: none;
}
.method-c input {
	width: 18px;
	height: 18px;
}

#goals {
	width: 100%;
	padding: 20px;
	color: white;
}

input[type='radio'] {
	accent-color: rgb(49, 49, 49);
	margin: 0;
	cursor: pointer;
}

input,
textarea,
.methods_c {
	border: none;
	font-size: 22px;
	background: #3D3D3D99;
	border-radius: 30px;
	color: white;
}

.inputs_container input {
	width: calc(50% - 5px);
	padding: 15px 25px;
	margin-bottom: 10px;
}

form button.inactive {
	pointer-events: none !important;
	opacity: 0.8;

}

form textarea {
	resize: vertical;
}

form:not(:has(input:checked)) .next_step {
	opacity: .5;
	cursor: not-allowed;
}







.pagination {
	display: flex;
	column-gap: 10px;
	justify-content: center;
	margin-top: 20px;
}

.pagination button {
	width: 100%;
	text-align: left;
	border: 2px solid;
	padding: 15px 30px;
	border-color: white;
	border-radius: 40px;
	font-size: 28px;
	cursor: pointer;
	background: white;
	color: black;

}

.cancel_form,
.prev_step {
	background: transparent !important;
	color: white !important;
}

.cancel_form:hover,
.prev_step:hover {
	background: #8f8f8f2e;
}
.method-c:has(input:checked) {
    background: #6a6a6a;
    outline: 5px solid #6a6a6a;
    border-radius: 8px;
}


@media (max-width: 1200px) {
	.info-heading {
		width: 100%;
		padding-right: 40px;
		font-size: 30px !important;
	}

	.second {
		padding: 60px 20px;
		height: auto;
	}

	.blue-fon {
		width: 100%;
		max-width: 100vw;
		padding: 60px 20px;
	}

	.blue-fon li {
		width: 100%;
		max-width: 100vw;
	}
}

@media (max-width: 992px) {
	.heading {
		padding-left: 30px;
		padding-top: 0px;
	}

	.heading h1 {
		font-size: 60px;
	}

	.heading h2 {
		font-size: 20px;
	}

	.info-heading {
		padding-left: 30px;
		padding-right: 20px;
	}

	.info-heading h3 {
		font-size: 18px;
		padding-top: 30px;
	}

	.getstarted {
		padding-left: 30px;
		padding-top: 60px;
		padding-bottom: 60px;
	}

	.btn-getstarted {
		font-size: 20px;
		padding: 10px 30px;
	}

	.second {
		flex-direction: column;
		align-items: center;
		padding: 30px 10px;
		height: auto;
	}

	.blue-fon,
	.result {
		width: 100%;
		max-width: 100vw;
		padding: 30px 10px;
	}

	.blue-fon h2,
	.result h2 {
		font-size: 28px;
	}

	.blue-fon li,
	.result li {
		font-size: 18px;
		width: 100%;
		max-width: 100vw;
		padding-right: 0;
	}

	.result p {
		font-size: 22px;
		padding-left: 0;
		padding-bottom: 40px;
	}
}

@media (max-width: 600px) {
	form {
		z-index: 10000;
	}
	.inputs_container input {
		width: 100%;
	}
	.pagination button {
		font-size: 20px;
	}
	.methods_c h3 {
		font-size: 20px;
	}

	.form-container {
		font-size: 20px;
		padding: 15px;
	}
	input, textarea, .methods_c {
		font-size: 20px;
	}
	.pagination .send_r {
		white-space: nowrap;
		min-width: fit-content;
	}



	.first {
		padding-top: 100px;
	}

	.heading {
		padding-left: 10px;
	}

	.heading h1 {
		font-size: 32px;
	}

	.heading h2 {
		font-size: 16px;
	}

	.info-heading {
		padding-left: 10px;
		padding-right: 10px;
		width: 100%;
		max-width: 100vw;
	}

	.info-heading h3 {
		font-size: 16px;
		padding-top: 20px;
	}

	.getstarted {
		padding-left: 10px;
		padding-top: 30px;
		padding-bottom: 30px;
	}

	.btn-getstarted {
		font-size: 16px;
		padding: 8px 16px;
	}

	.second {
		flex-direction: column;
		align-items: stretch;
		padding: 20px 20px;
		height: auto;
		width: 100%;
		max-width: 100vw;
	}

	.blue-fon,
	.result {
		width: 100%;

		padding: 20px;
	}

	.blue-fon h2,
	.result h2 {
		font-size: 18px;
		padding-bottom: 16px;
	}

	.blue-fon li,
	.result li {
		font-size: 14px;
		padding-top: 10px;
		padding-right: 0;
		width: 100%;
		max-width: 100vw;
	}

	.blue-fon ul, .result ul {
		padding-left: 10px;
		width: 100%;
		max-width: 100vw;
	}

	.result p {
		font-size: 14px;
		padding-left: 0;
		padding-bottom: 20px;
	}
}

@media (max-width: 1440px) {
	.info-heading {
		padding-right: 60px;
		font-size: 28px !important;
	}

	.second {
		padding: 60px 40px;
	}

	.blue-fon,
	.result {
		max-width: 680px;
		padding: 60px 20px;
	}
}

@media (max-width: 1024px) {

	.first {
		padding-top: 100px;
		padding-left: 30px;
	}

	.heading {
		padding: 0;
	}

	.heading h1 {
		font-size: 40px;
	}

	.heading h2 {
		font-size: 18px;
	}

	.info-heading {
		padding-left: 0;
		font-size: 18px !important;
	}

	.info-heading h3 {
		font-size: 16px;
		padding-top: 20px;
	}

	.getstarted {
		padding-left: 0;
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.btn-getstarted {
		font-size: 16px;
		padding: 8px 20px;
	}

	.second {
		padding: 20px 20px;
		flex-direction: column;
		align-items: center;
		height: auto;
	}

	.blue-fon,
	.result {
		width: 100%;

		padding: 20px 25px;
	}

	.blue-fon h2,
	.result h2 {
		font-size: 20px;
	}

	.blue-fon li,
	.result li {
		font-size: 14px;
		width: 100%;
		padding-right: 0;
	}

	.result p {
		font-size: 16px;
		padding-left: 0;
		padding-bottom: 20px;
	}
}


@media (min-width: 1921px) and (max-width: 2560px) {

	.info-heading {
		padding-right: 120px;
		font-size: 36px !important;
	}

	.blue-fon,
	.result {
		max-width: 800px;
		padding: 100px 40px;
	}

	.heading h1 {
		font-size: 140px;
	}

	.heading h2 {
		font-size: 60px;
	}
}



.error-message {
    color: #ff4d4d;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

.radio-error {
    margin-top: 1rem;
}


input.invalid, textarea.invalid {
    border:1px solid #ff4d4d !important;
}

.invalid-group {
    outline: 2px solid #ff4d4d;
    border-radius: 15px;
    padding: 0.5rem;
}


.form-success, .form-error {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    text-align: center;
    font-weight: bold;
}

.form-success {
    background-color: #d4edda00;
    color: #ffffff;
}

.form-error {
    background-color: #f8d7da;
    color: #721c24;
}


.form-container input,
.form-container textarea {
    transition: border-color 0.3s ease;
}

.form-container input:focus,
.form-container textarea:focus {
    outline: none;
    border-color: #4d90fe;
}