/* Contact Us */

.contact .container {
	display: flex;
	flex-wrap: wrap;
}

.contact .container > * {
	flex: 1;
	text-align: center;
}

.contact-icons i {
	font-size: var(--secondary-fz);
	color: rgb(0, 173, 173);
}

.contact-icons h1,
.contact-text {
	color: var(--primary-fc);
}

iframe {
	width: 100%;
	height: 500px;
	border: none;
}

.contactus .container {
	gap: 2em;
}

.contactus-card {
	position: relative;
	width: 60%;
	border: 1px solid #000000;
}

.contactus-card .img-card {
	width: 100%;
	height: 350px;
	transition: all 0.5s ease;
	object-fit: cover;
	background-position: center;
}

.contactus-card h1 {
	font-weight: normal;
	font-size: var(--secondary-fz);
	font-family: var(--title-font);
}

.contact-form {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 2em;
	width: 60%;
	margin: auto;
}

.mt-70 {
	margin-top: 70px;
}

.contact-form input,
select,
textarea {
	width: 100%;
	box-sizing: border-box;
	outline-color: rgb(209, 209, 209);
	border: 1px solid #d3d3d3;
	border-radius: 3px;
	color: var(--primary-fc);
}

.contact-form label {
	color: var(--primary-fc);
	font-size: var(--primary-fz);
}

.contact-form input,
select,
textarea {
	padding: 10px 10px;
}

.form-row > * {
	margin: 20px 0;
}

.contact-form > * {
	justify-content: space-between;
	flex: 1;
}

.contact-form .form-actions {
	display: flex;
	justify-content: flex-end;
}

.contactus-text1,
.text-card {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 20px;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	z-index: 1;
	opacity: 1;
	color: var(--secondary-fc);
	text-shadow: var(--primary-textshadow);
}

.contactus-card:hover .img-card {
	opacity: 0;
}

.contactus-card:hover .contactus-text1,
.contactus-card:hover .text-card {
	opacity: 1;
	color: var(--primary-fc);
	transition: all 0.5s ease;
	text-shadow: none;
	cursor: pointer;
}

.contactus-text1 i,
.text-card i {
	padding-right: 10px;
}

.text-card i {
	color: rgb(0, 168, 126);
}

/* Media Queries */
@media (max-width: 989px) {
	.contact .container > * {
		flex: 1 1 45%;
	}
}

@media (max-width: 900px) {
	.contactus > * {
		font-size: 15px;
	}

	.contactus-card .img-card {
		height: 350px;
	}

	.contact-form {
		width: 85%;
		gap: 0;
	}

	.contact-form .col-form:first-child {
		margin-top: 0;
	}

	.contact-form > * {
		flex: 1 1 100%;
	}
}

@media (max-width: 767px) {
	.contact .container > * {
		flex: 1 1 100%;
	}

	iframe {
		height: 400px;
	}

	.contact .container .contact-icons {
		margin: 20px 0;
	}

	.contact .container .contact-icons h1 {
		font-size: var(--btn2-fz);
	}

	.contactus > * {
		flex-direction: column;
	}

	.contactus-card {
		width: 100%;
	}

	.contactus-card .img-card {
		height: 350px;
	}
}
