@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800,900&display=swap');

:root{
	--primary: #74a84a;
	--secondary: #b3b4b4;
	--white: #fff;
	--text-clr: #464646;
	--header-clr: #000;
	--next-btn-hover: #2c541d;
	--back-btn-hover: #777575;
}

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	list-style: none;
	outline: none;
	font-family: 'Poppins', sans-serif;
    -webkit-touch-callout: none; 
    -webkit-user-select: none; 
    -khtml-user-select: none; 
    -moz-user-select: none; 
    -ms-user-select: none; 
    user-select: none;
}

.contactForm body{
	background: var(--primary);
	color: var(--text-clr);
	font-size: 16px;
	position: relative;
}
body.modal-open {
  	overflow: hidden;
}
.contactWrapper{
	width: 800px;
	max-width: 100%;
	background: #f9f9f9bf;
	margin: 45px auto 20px auto;
	padding: 45px 40px 20px;
	border-radius: 20px;
	box-shadow: 
        0 10px 16px rgba(124, 124, 124, 0.1),  
        10px 0 16px rgba(124, 124, 124, 0.1),  
        -10px 0 16px rgba(124, 124, 124, 0.1), 
        0 -10px 16px rgba(124, 124, 124, 0.1);
}

.contactWrapper .form_wrap{
	margin-bottom: 20px;
}

.contactWrapper .form_wrap h2{
	color: var(--header-clr);
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 30px;
	word-spacing: 5px;
	font-size: 25;
	font-weight: 700;
}

.form_container .column {
    display: flex;
    column-gap: 15px;
	align-items: stretch;
	justify-content: space-between; 
}

.form_container .column > .input_wrap {
    flex: 0.25; 
}

.contactWrapper .form_wrap .input_wrap{
	width: 100%;
	margin: 5px auto 15px;
	font-size: 10px;
	color: #afb0b3 !important;
	flex: 1;
}

.input_wrap:first-child {
    flex: 0.5; 
}

.contactWrapper .form_wrap .input_wrap:last-child{
	margin-bottom: 5px;
	font-size: 10px;
	color: #aaa !important;
}

.input_wrap {
    flex: 1; 
	position: relative;
    display: inline-block;
    width: 100%;
}

.contactWrapper .form_wrap .input_wrap label{
	display: block;
	margin-left: 3px;
	margin-bottom: 2px;
	font-size: 16px; 
	font-weight: 500;
    font-family: 'Poppins', sans-serif; 
    color: black;
}

.contactWrapper .form_wrap .input_wrap .input{
	border: 1px solid var(--secondary);
	border-radius: 3px;
	padding: 8px;
	display: block;
	width: 100%;	
	font-size: 15px;
	letter-spacing: 0.5px;
	word-spacing: 1.5px;
	transition: 0s ease;
	color: #575757;
	background-color: #f9f9f9f8;
}

.column {
    display: flex; 
    gap: 15px; 
}
::placeholder {
    color: #898787fd; 
    opacity: 0.7; 
}
.contactWrapper .form_wrap .input_wrap .input:focus{
	border-color: var(--primary);
}

.custom-dropdown {
  position: relative;
  width: 100%;
  font-size: 15px;
}

.dropdown-trigger {
  border: 1px solid var(--secondary);
  border-radius: 3px;
  padding: 8px;
  width: 100%;
  font-size: 15.4px;
  background-color: #f9f9f9f8;
  color: #afb0b3; 
  transition: 0.5s ease;
  cursor: pointer;
  position: relative;
}

.dropdown-trigger::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #afb0b3;
  pointer-events: none;
}
.dropdown-trigger:focus {
    border-color: var(--primary);
}

.dropdown-options {
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  position: absolute;
  background: #f9f9f9f8;
  width: 100%;
  left: 0;
  z-index: 1000;
  border: 1px solid var(--secondary);
  box-shadow: 0 5px 15px -5px rgba(0,0,0,0.5);
  border-radius: 5px;
  margin-top: 5px;
}

.dropdown-options.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-options li {
  padding: 5px 10px;
  cursor: pointer;
  color: #575757;
  font-size: 15.4px;
}

.dropdown-options li:hover {
  background-color: #74a84a;
  color: #fff;
}

.contactWrapper .btns_wrap{
	width: 320px;
	max-width: 100%;
	margin: 0 auto;
}

.contactWrapper .btns_wrap .common_btns{
	display: flex;
	justify-content: space-between;
}

.contactWrapper .btns_wrap .common_btns.form_1_btns{
	justify-content: center;
}

.contactWrapper .btns_wrap .common_btns button{
	border: 2px solid var(--primary);
	padding: 8px 15px;
	background: var(--primary);
	color: var(--white);
	width: 135px;
	justify-content: center;
	display: flex;
	align-items: center;
	font-size: px;
	letter-spacing: 1px;
	border-radius: 10px;
    margin-top: 25px;
	transition: 0s ease;
	cursor: pointer;
}

.contactWrapper .btns_wrap .common_btns button.btn_submit:hover{
	border: 2px solid vuar(--primary);
	background: transparent;
	color: var(--primary);
	font-weight: bold;
}
.terms-box {
	display: flex;
  	align-items: baseline;
	width: 100%;
	text-align: center;
	align-items: center; 
	justify-content: center;
	font-size: 14px;
}
input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 15px;
	height: 15px;
	border: 1px solid #afb0b3;
	background-color: #fff;
	cursor: pointer;
	position: relative;
	border-radius: 3px;
	margin-right: 5px;
	vertical-align: baseline;
	margin-top: 5px;
	position: relative;
	top: 1px;
	flex-shrink: 0
}

input[type="checkbox"]:checked {
  background-color: #74a84a;
  border-color: #74a84a;
}

input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.3px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.terms-box .label {
    display: inline-flex;
  	align-items: baseline;
	width: 100%;
	flex-wrap: wrap;
	font-size: 4px !important;
	text-align: center;
	align-items: center; 
	justify-content: center;
	text-indent: 0 !important;
}
a {
    color: blue;
	text-decoration: underline;
	font-size: 14px;
	white-space: nowrap;
}
a:hover {
    text-decoration: none;
    color: #74a84a;
}
.terms-box .label,
input[type="checkbox"] {
  line-height: 1.5;
}
.modal_wrapper{
	background: rgba(0, 0, 0, 0.1);
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	display: none; 
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.modal_wrapper .shadow{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.8);
	z-index: 1 !important;
}

.modal_wrapper .success_wrap{
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	background: var(--white);
	padding: 15px 30px 30px;
	display: flex;
	align-items: center;
	flex-direction: column;
	border-radius: 15px;
	z-index: 10000; 
	text-align: center;
	background-color: #f9f9f9c2;
}

.modal_wrapper .success_wrap .modal_icon{
	width: 60px;
	height: 60px;
	background: transparent;
	color: var(--primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 100px;
	font-weight: 600;
}

.modal_wrapper.active{
	display: flex;
}

.modal_wrapper.active .shadow{
	opacity: 1;
}

.modal_wrapper.active .success_wrap{
	transform: translate(-50%,-50%);
}

.success_wrap {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    text-align: center;
	z-index: 10000 !important; 
}
.success_wrap p {
    color: black; 
	font-size: 15.5px;
	margin: 15px 0 30px 0;
	font-weight: 400;
}

.success_wrap button {
    display: flex; 
	color: #fff;
	border: none;
	padding: 8px 15px;
	background: var(--primary);
	color: var(--white);
	width: 135px;
	justify-content: center;
	display: flex;
	align-items: center;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 1px;
	border-radius: 10px;
	transition: 0s ease;
	cursor: pointer;
}

.success_wrap button:hover {
    background: transparent;
    color: var(--primary-light);
    font-weight: bolder;
    border: 2px solid var(--primary-light);
}

@media (max-width: 990px) {
	.contactForm body {
        font-size: clamp(12px, 3vw, 16px) !important;
    }
    .contactWrapper{
		width: 98%;
		margin-top: clamp(20px, 4vw, 40px);
		padding-left: 5vw;
		padding-right: 5vw;
	}
	.contactWrapper .form_wrap h2{
		font-size: clamp(18px, 3vw, 25px) !important;
		margin-bottom: clamp(35px, 2vw, 40px);
	}
	.contactWrapper .form_wrap .input_wrap, .custom-dropdown,
	.contactWrapper .form_wrap .input_wrap:last-child {
		font-size: clamp(12px, 3vw, 15px) !important;
	}
	.contactWrapper .form_wrap .input_wrap label, label {
		font-size: clamp(14px, 3vw, 16px); 
	}
	.contactWrapper .form_wrap .input_wrap .input, .dropdown-trigger, .dropdown-options li {		
		font-size: clamp(12px, 3vw, 14px);
	}
	label {
		font-size: clamp(12px, 3vw, 14px) !important;
	}
	a {
		font-size: clamp(11px, 3vw, 13px) !important;
	}
	.quoteWrapper .btns_wrap .common_btns button {
		margin-top: clamp(8px, 3vw, 20px) !important;
		font-size: clamp(10px, 3vw, 16px);
		width: clamp(100px, 3vw, 135px);
	}
	.success_wrap p {
    	font-size: clamp(18px, 3vw, 20px);
	}
	.modal_wrapper .success_wrap .modal_icon{
		width: clamp(30px, 3vw, 50px);
		height: clamp(30px, 3vw, 50px);
		font-size: clamp(26px, 3vw, 32px);
	}

	.success_wrap button {
		padding-top: clamp(8px, 3vw, 10px);
		padding-bottom: clamp(8px, 3vw, 10px);
		padding-left: clamp(10px, 3vw, 15px);
		padding-right: clamp(10px, 3vw, 15px);
		width: clamp(120px, 3vw, 135px);
		font-size: clamp(12px, 3vw, 14px);
	}	
	.modal_wrapper .success_wrap .modal_icon{
		width: 50px !important;
		height: 50px !important;
		font-size: 50px !important;
		font-weight: 600 !important;
	}
}

@media (max-width: 767px) {
    .contactWrapper{
		width: 98%;
		margin-top: clamp(15px, 4vw, 30px);
		padding-left: 5vw;
		padding-right: 5vw;
	}
	.contactWrapper .form_wrap h2{
		margin-bottom: clamp(20px, 2vw, 40px);
	}
  	.form_container .column {
    	flex-direction: column;
    	gap: 15px !important;
  	}
  	.form_container .column > .input_wrap {
    	flex: 1; 
		padding-bottom: 10px;
		margin: 0;
  	}
	.modal_wrapper .success_wrap {
		width: 80% !important;
		height: auto !important;
		font-size: clamp(20px, 3vw, 32px);
		padding: 15px 20px 30px !important;
		margin: 0 !important;
	}
	.modal_wrapper .success_wrap .modal_icon{
		width: clamp(40px, 3vw, 60px) !important;
		height: clamp(40px, 3vw, 60px) !important;
		font-size: clamp(30px, 3vw, 40px) !important;
	}
	.contactWrapper{
	padding: 30px 30px 15px;
	}
	.terms-box .label,
input[type="checkbox"] {
		margin-top: 0 !important;
	}
}