@import url('variables.css');
.top-section {
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	z-index: 1;
	height: 100dvh;
	padding: 0 40px;
}
.top-section span {
	font-family: 'Manrope Semibold', sans-serif;
	font-size: var(--fs-hero);
	margin-bottom: 20px;
	font-weight: 700;
	line-height: 1.4em;
	max-width: 1100px;
	z-index: 2;
	color: #00ff51;
}
.top-section p {
	font-size: var(--fs-xlg-subtitle);
	margin-bottom: 40px;
	font-weight: 400;
	line-height: 1.7em;
	margin: 0 0 3.6em;
	text-align: center;
	z-index: 2;
	max-width: 1000px;
}
#contactForm .submit-button {
	width: 100%;
    display: flex;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}
.top-section .layer-black {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black-color);
    z-index: 0;
}
.top-section .layer-gradient {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #17343F 0%, rgb(23 52 63 / 0%) 100%);
    z-index: 1;
}
.top-section .layer-image {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	background-image: url(../images/contact-header.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0rem 10rem;
    z-index: 0;
}
.contact-section { 
	display: flex; 
    width: 100%;
    margin: 0 auto;
	min-height: 600px;
}
.contact-left, .contact-right { 
	padding: 20px; 
}
.contact-left { 
    flex: 1;
    background: linear-gradient(to bottom, #00ff51 0%, #00ff515e 54%, #17333d 100%);
    border-top-left-radius: 30px;
	padding: 60px 50px;
}
.contact-right { 
	flex: 1; 
	background: #222; 
	color: #fff; 
	position: relative; 
	border-top-right-radius: 30px;
	background: linear-gradient(to bottom, #000000 0%, #0000005e 54%, #17333d 100%);
	padding: 80px 60px;
}
.contact-left img.avatar { 
	width: 140px;
    height: auto;
    border-radius: 50%;
	cursor: pointer;
}
.avatar-mail {
	display: flex;
    justify-content: space-between;
    align-content: flex-start;
    align-items: flex-start;
}
.contact-left .description {
	display: flex;
    flex-direction: column;
    align-content: flex-start;
    justify-content: center;
    align-items: flex-start;
    gap: 5px;
}
.contact-left .description .title {
    color: var(--price-color);
    font-family: 'Manrope Bold', sans-serif;
    font-size: var(--fs-lg-subtitle);
    line-height: 1.1em;
	margin: 20px 0 0;
}
.contact-left .top,
.contact-left .bottom {
	height: 50%;
    width: 100%;
}
.contact-left .bottom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-content: flex-start;
    align-items: flex-start;
}
.contact-left .bottom .quote {
    color: var(--price-color);
    font-family: 'Manrope Semibold', sans-serif;
    font-size: var(--fs-price);
    line-height: 1.1em;
	display: flex;
    flex-direction: column;
    gap: 4px;
}
.contact-left .bottom .quote .gray {
    color: #ececec;
}
.contact-left .description .desc {
    color: #575757;
    font-family: 'Manrope Semibold', sans-serif;
    font-size: var(--fs-subtitle);
    line-height: 1.1em;
}
.contact-left .description .desc.gray {
	color: var(--price-color);
}
.contact-left .contact-btn:hover { 
    color: #02f050;
	transform: translateY(-5px) scale(1.1);
}
.contact-left .contact-btn { 
	display: inline-block; 
	margin-top: 10px; 
	background: #000; 
	text-decoration: none; 
    color: #02f050;
    font-family: 'Manrope Bold', sans-serif;
    font-size: var(--fs-sm);
    line-height: 1.1em;
    padding: 20px 30px;
    border-radius: 15px;
	transition: transform 0.25s ease-in-out;
}
.contact-left .contact-btns {
    display: flex;
    gap: 30px;
    align-content: center;
    justify-content: flex-end;
    align-items: center;
}	
.social-icons a { 
	margin-right: 8px; 
	text-decoration: none; 
	color: inherit; 
}
.contact-left .bottom .social-icons a img {
    width: 40px;
    height: 40px;
}
#contactForm {
    display: flex;
    justify-content: flex-start;
    align-content: center;
    align-items: center;
    gap: 14px;
	flex-direction: column;
}
.contact-right .checkbox-group {
    margin: 10px 0 20px;
    display: flex;
    justify-content: flex-start;
    align-content: center;
    align-items: center;
    gap: 16px;
}
.contact-right .checkbox-group button { 
	margin: 5px 5px 0 0;
    padding: 20px 35px;
    background: #0c1c22;
    border: none;
    cursor: pointer;
    border-radius: 10px;
	font-family: 'Manrope ExtraBold', sans-serif;
    font-size: var(--fs-btn);
    line-height: 1.1em;
    color: var(--white-color);
}
.contact-right .checkbox-group button.selected { 
    background: #00ff51;
    color: var(--price-color);
}
.contact-right input, .contact-right textarea { 
	width: 100%;
    margin: 8px 0;
    padding: 10px 20px;
    border: none;
    border-radius: 12px;
    min-height: 80px;
    font-size: var(--fs-btn);
    font-weight: bold;
    margin-bottom: 10px;
    color: #17343F;
}
.contact-right button.submit { 
	background: #cfc; 
	color: #000; 
	padding: 10px 20px; 
	border: none; 
	cursor: pointer; 
}
#error { 
	color: #ad0000;
    padding: 10px;
    margin-bottom: 10px;
    font-family: 'Manrope Semibold', sans-serif;
    font-size: var(--fs-sm);
    line-height: 1.1em;
}
@media (max-width: 1600px) {
	.top-section .layer-image {
		background-position: 0rem 11rem;
	}
}
@media (max-width: 1500px) {
	.contact-left .contact-btn {
		font-size: var(--fs-sssm);
	}
	.contact-left img.avatar {
		width: 90px;
	}
	.top-section .layer-image {
		background-position: 0rem 15rem;
	}
}
@media (max-width: 1300px) {
	.contact-section {
		flex-direction: column;
	}
	.contact-left {
		background: #00ff51;
		border-top-right-radius: 30px;
	}
	.contact-right {
		border-top-right-radius: 0;
	}
	.contact-left .bottom {
		margin: 100px 0 0;
	}
	.social-icons {
		margin: 40px 0 0;
	}
	.contact-right .checkbox-group {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
	.top-section .layer-image {
		background-position: 0rem 18rem;
	}
}
@media (max-width: 830px) {
	.top-section .layer-image {
		background-position: 0rem 18rem;
	}
}
@media (max-width: 630px) {
    .layer-image {
		background: url(../images/contact-header.webp) 20% / cover no-repeat !important;;
    }
	.contact-left .contact-btns {
		flex-direction: column;
		gap: 0;
	}
	.contact-left .contact-btn {
		margin: 0 0 10px;
	}
	.contact-right .checkbox-group button {
		padding: 15px;
	}
	.contact-right {
		padding: 80px 30px;
	}
    .contact-left .contact-btn {
        font-size: var(--fs-subtitle);
    }
}
@media (max-width: 430px) {
	.avatar-mail {
		justify-content: center;
		align-content: center;
		align-items: center;
		flex-direction: column;
		gap: 40px;
	}
}
