/* =========================================================
   QTECH CONTACT PAGE
========================================================= */

.qtech-contact-page {
	width: 100%;
	background: #ffffff;
	color: #243447;
}

.qtech-contact-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 30px;
	padding-right: 30px;
}


/* =========================================================
   HERO
========================================================= */

.qtech-contact-hero {
	padding: 90px 0 80px;
	background: #f5f7f8;
}

.qtech-contact-hero-content {
	max-width: 850px;
}

.qtech-contact-eyebrow,
.qtech-contact-section-label,
.qtech-contact-detail > span,
.qtech-contact-bottom-inner > div > span {
	display: inline-block;
	margin-bottom: 15px;
	color: #2f8f46;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2.5px;
	text-transform: uppercase;
}

.qtech-contact-hero h1 {
	margin: 0 0 20px;
	color: #243447;
	font-size: clamp(52px, 6vw, 76px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -2px;
}

.qtech-contact-hero-content p {
	max-width: 620px;
	margin: 0;
	color: #64748b;
	font-size: 18px;
	line-height: 1.75;
}


/* =========================================================
   CONTACT MAIN
========================================================= */

.qtech-contact-main {
	padding: 100px 0;
	background: #ffffff;
}

.qtech-contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: stretch;
	gap: 80px;
}


/* =========================================================
   IMAGE
========================================================= */

.qtech-contact-image {
	position: relative;
	width: 100%;
	min-height: 650px;
	overflow: hidden;
	background: #e9edef;
}

.qtech-contact-image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 650px;
	object-fit: cover;
	object-position: center center;
}


/* =========================================================
   FORM AREA
========================================================= */

.qtech-contact-form-area {
	padding: 15px 0;
}

.qtech-contact-form-area h2 {
	margin: 0 0 15px;
	color: #243447;
	font-size: clamp(36px, 4vw, 50px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -1px;
}

.qtech-contact-form-intro {
	max-width: 560px;
	margin: 0 0 35px;
	color: #64748b;
	font-size: 15px;
	line-height: 1.7;
}


/* =========================================================
   CONTACT FORM 7
========================================================= */

.qtech-contact-form .wpcf7 {
	width: 100%;
}

.qtech-contact-form .wpcf7-form {
	margin: 0;
}

.qtech-contact-form .wpcf7-form p {
	margin: 0;
}

.qtech-contact-form .wpcf7-form > p {
	margin-bottom: 18px;
}

.qtech-contact-form .wpcf7-form label {
	display: block;
	margin-bottom: 7px;
	color: #344454;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.2px;
}

.qtech-contact-form .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.qtech-contact-form input[type="text"],
.qtech-contact-form input[type="email"],
.qtech-contact-form input[type="tel"],
.qtech-contact-form input[type="url"],
.qtech-contact-form select,
.qtech-contact-form textarea {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 13px 15px;
	border: 1px solid #d9dfe4;
	border-radius: 2px;
	outline: none;
	background: #ffffff;
	color: #243447;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.5;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.qtech-contact-form input[type="text"],
.qtech-contact-form input[type="email"],
.qtech-contact-form input[type="tel"],
.qtech-contact-form input[type="url"],
.qtech-contact-form select {
	height: 48px;
}

.qtech-contact-form textarea {
	min-height: 130px;
	resize: vertical;
}

.qtech-contact-form input:focus,
.qtech-contact-form select:focus,
.qtech-contact-form textarea:focus {
	border-color: #2f8f46;
	box-shadow: 0 0 0 3px rgba(47, 143, 70, 0.08);
}

.qtech-contact-form input::placeholder,
.qtech-contact-form textarea::placeholder {
	color: #9aa5af;
}


/* =========================================================
   CF7 SUBMIT BUTTON
========================================================= */

.qtech-contact-form input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 150px;
	height: 50px;
	margin-top: 5px;
	padding: 0 28px;
	border: 1px solid #2f8f46;
	border-radius: 3px;
	background: #2f8f46;
	color: #ffffff;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.25s ease;
}

.qtech-contact-form input[type="submit"]:hover {
	border-color: #26783a;
	background: #26783a;
	transform: translateY(-1px);
}


/* =========================================================
   CF7 RESPONSE
========================================================= */

.qtech-contact-form .wpcf7-response-output {
	margin: 20px 0 0 !important;
	padding: 12px 15px !important;
	border: 1px solid #d9dfe4 !important;
	font-size: 13px;
	line-height: 1.5;
}

.qtech-contact-form .wpcf7-not-valid-tip {
	margin-top: 5px;
	font-size: 11px;
	color: #c0392b;
}

.qtech-contact-form .wpcf7-spinner {
	margin: 0 0 0 10px;
}


/* =========================================================
   CONTACT DETAILS
========================================================= */

.qtech-contact-details {
	padding: 80px 0;
	border-top: 1px solid #e2e6e9;
	background: #ffffff;
}

.qtech-contact-details-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
	gap: 50px;
}

.qtech-contact-detail {
	padding-right: 25px;
	border-right: 1px solid #e1e5e8;
}

.qtech-contact-detail:last-child {
	border-right: none;
}

.qtech-contact-detail h3 {
	margin: 0 0 13px;
	color: #243447;
	font-size: 18px;
	line-height: 1.4;
}

.qtech-contact-detail h3 a {
	color: #243447;
	text-decoration: none;
}

.qtech-contact-detail h3 a:hover {
	color: #2f8f46;
}

.qtech-contact-detail p {
	margin: 0;
	color: #6b7885;
	font-size: 13px;
	line-height: 1.8;
}


/* =========================================================
   MAP
========================================================= */

.qtech-contact-map-section {
	width: 100%;
	background: #eef1f2;
}

.qtech-contact-map {
	width: 100%;
	height: 500px;
}

.qtech-contact-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}


/* =========================================================
   BOTTOM CTA
========================================================= */

.qtech-contact-bottom {
	padding: 75px 0;
	background: #f5f7f8;
}

.qtech-contact-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 50px;
}

.qtech-contact-bottom-inner > div {
	max-width: 700px;
}

.qtech-contact-bottom-inner > div > span {
	margin-bottom: 10px;
}

.qtech-contact-bottom h2 {
	margin: 0;
	color: #243447;
	font-size: clamp(32px, 4vw, 46px);
	line-height: 1.15;
	letter-spacing: -1px;
}

.qtech-contact-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 22px;
	border: 1px solid #2f8f46;
	border-radius: 3px;
	background: #2f8f46;
	color: #ffffff;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: all 0.25s ease;
}

.qtech-contact-button:hover {
	background: #26783a;
	border-color: #26783a;
	color: #ffffff;
	transform: translateY(-2px);
	text-decoration: none;
}

.qtech-contact-button span {
	font-size: 16px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media screen and (max-width: 1024px) {

	.qtech-contact-grid {
		grid-template-columns: 1fr;
		gap: 55px;
	}

	.qtech-contact-image {
		min-height: 500px;
		max-height: 600px;
	}

	.qtech-contact-image img {
		min-height: 500px;
	}

	.qtech-contact-details-grid {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 45px;
	}

	.qtech-contact-detail:nth-child(2) {
		border-right: none;
	}

	.qtech-contact-bottom-inner {
		align-items: flex-start;
		flex-direction: column;
	}

}


@media screen and (max-width: 767px) {

	.qtech-contact-container {
		padding-left: 20px;
		padding-right: 20px;
	}

	.qtech-contact-hero {
		padding: 65px 0;
	}

	.qtech-contact-hero h1 {
		font-size: 48px;
		letter-spacing: -1px;
	}

	.qtech-contact-hero-content p {
		font-size: 16px;
	}

	.qtech-contact-main {
		padding: 65px 0;
	}

	.qtech-contact-grid {
		gap: 45px;
	}

	.qtech-contact-image {
		min-height: 420px;
		max-height: 480px;
	}

	.qtech-contact-image img {
		min-height: 420px;
	}

	.qtech-contact-form-area h2 {
		font-size: 38px;
	}

	.qtech-contact-details {
		padding: 60px 0;
	}

	.qtech-contact-details-grid {
		grid-template-columns: 1fr;
		gap: 35px;
	}

	.qtech-contact-detail {
		padding-right: 0;
		padding-bottom: 30px;
		border-right: none;
		border-bottom: 1px solid #e1e5e8;
	}

	.qtech-contact-detail:last-child {
		padding-bottom: 0;
		border-bottom: none;
	}

	.qtech-contact-map {
		height: 400px;
	}

	.qtech-contact-bottom {
		padding: 60px 0;
	}

	.qtech-contact-bottom-inner {
		gap: 30px;
	}

	.qtech-contact-button {
		width: 100%;
		justify-content: center;
	}

}