/* ==========================================================================
 * Contact Us Page — contact.css
 * ========================================================================== */

.ct-page {
	padding: 0;
}

.ct-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 30px;
}

/* ==========================================================================
 * Hero
 * ========================================================================== */
.ct-hero {
	position: relative;
	background-color: #2a2a2a;
	background-image: url('../images/contact/Customer-photo.webp');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.ct-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 0;
}

.ct-hero .ct-container {
	position: relative;
	z-index: 1;
}

.ct-hero__title {
	font-size: 40px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 12px;
}

.ct-hero__breadcrumb {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
}

.ct-hero__breadcrumb a {
	color: #fff;
	text-decoration: underline;
}

.ct-hero__sep {
	margin: 0 8px;
}

/* ==========================================================================
 * Body Layout
 * ========================================================================== */
.ct-body {
	padding: 60px 0 80px;
}

.ct-body__layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: flex-start;
}

/* ==========================================================================
 * Contact Form (Left)
 * ========================================================================== */
.ct-form-wrap {
	background: #f9f9f9;
	padding: 40px;
	border-radius: 4px;
}

.ct-form__title {
	font-size: 26px;
	font-weight: 700;
	color: #222;
	margin: 0 0 8px;
}

.ct-form__subtitle {
	font-size: 14px;
	color: #777;
	margin: 0 0 28px;
}

.ct-form__field {
	margin-bottom: 18px;
}

.ct-form__field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #333;
	margin-bottom: 6px;
}

.ct-required {
	color: #e53935;
}

.ct-form__field input[type="text"],
.ct-form__field input[type="email"],
.ct-form__field input[type="tel"],
.ct-form__field textarea,
.ct-form__select {
	width: 100%;
	padding: 10px 14px;
	font-size: 14px;
	font-family: inherit;
	color: #333;
	line-height: 1.4;
	border: 1px solid #ddd;
	background: #fff;
	border-radius: 3px;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
}

.ct-form__field input:focus,
.ct-form__field textarea:focus,
.ct-form__select:focus {
	border-color: #27ae60;
	outline: none;
	box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.12);
}

/* Native <select> normalization + custom dropdown arrow */
.ct-form__select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding-right: 38px;       /* room for the arrow */
	cursor: pointer;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%23666' d='M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 10px 10px;
}
.ct-form__select::-ms-expand { display: none; } /* hide arrow on IE/legacy Edge */
.ct-form__select:hover { border-color: #c4c4c4; }
.ct-form__select:focus {
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%2327ae60' d='M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z'/%3E%3C/svg%3E");
}
.ct-form__select option {
	color: #333;
	background: #fff;
}
.ct-form__select option[value=""] {
	color: #999;
}

.ct-form__checkboxes {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.ct-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 400;
	color: #555;
	cursor: pointer;
}

.ct-checkbox input[type="checkbox"] {
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.ct-form__file {
	font-size: 14px;
	color: #555;
}

.ct-form__submit {
	display: block;
	width: 100%;
	padding: 14px;
	background: #27ae60;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	border: none;
	border-radius: 30px;
	cursor: pointer;
	transition: background 0.2s;
	margin-top: 10px;
}

.ct-form__submit:hover {
	background: #219a52;
}

/* ==========================================================================
 * Info (Right)
 * ========================================================================== */
.ct-info {
	padding-top: 20px;
}

.ct-info__title {
	font-size: 26px;
	font-weight: 700;
	color: #222;
	margin: 0 0 8px;
}

.ct-info__subtitle {
	font-size: 14px;
	color: #777;
	margin: 0 0 28px;
}

.ct-info__list {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
}

.ct-info__list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 10px 0;
	font-size: 14px;
	color: #444;
	line-height: 1.6;
}

.ct-info__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	color: #e67e22;
	margin-top: 2px;
}

.ct-info__divider {
	border-top: 1px solid #e0e0e0;
	margin: 8px 0 20px;
}

.ct-info__checks {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
}

.ct-info__checks li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	font-size: 14px;
	color: #333;
}

.ct-info__cta {
	font-size: 14px;
	color: #333;
	line-height: 1.8;
}

.ct-info__cta u {
	color: #37729c;
}

/* ==========================================================================
 * Map block (embedded Google Maps + overlay link)
 * ========================================================================== */
.ct-info__map {
	position: relative;
	margin: 4px 0 20px;
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid #e6e6e6;
	background: #f1f3f6;
}
.ct-info__map iframe {
	display: block;
	width: 100%;
	height: 280px;
	border: 0;
}
.ct-info__map-overlay {
	position: absolute;
	right: 12px;
	bottom: 12px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 4px;
	transition: background 0.2s ease;
}
.ct-info__map-overlay:hover {
	background: rgba(0, 0, 0, 0.85);
}

/* Stacked phone / email pair (e.g. local + WhatsApp number on the same row) */
.ct-info__pair {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

/* ==========================================================================
 * Responsive
 * ========================================================================== */
@media (max-width: 960px) {
	.ct-body__layout {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.ct-hero {
		height: auto;
		padding: 60px 0;
	}

	.ct-hero__title {
		font-size: 30px;
	}

	.ct-info__map iframe {
		height: 240px;
	}
}

@media (max-width: 640px) {
	.ct-page { overflow-x: hidden; }
	.ct-container {
		padding: 0 16px;
	}

	.ct-body {
		padding: 36px 0 48px;
	}

	.ct-hero {
		padding: 40px 0;
	}

	.ct-hero__title {
		font-size: 24px;
		margin-bottom: 8px;
	}

	.ct-hero__breadcrumb {
		font-size: 12px;
	}

	.ct-form-wrap {
		padding: 20px 18px;
		border-radius: 6px;
	}

	.ct-form__title {
		font-size: 20px;
	}

	.ct-form__subtitle {
		font-size: 13px;
		margin-bottom: 20px;
	}

	.ct-form__field {
		margin-bottom: 14px;
	}

	.ct-form__field label {
		font-size: 12.5px;
	}

	.ct-form__field input[type="text"],
	.ct-form__field input[type="email"],
	.ct-form__field input[type="tel"],
	.ct-form__field textarea,
	.ct-form__select {
		padding: 10px 12px;
		font-size: 14px;
	}

	.ct-form__checkboxes {
		flex-wrap: wrap;
		gap: 12px 18px;
	}

	.ct-checkbox {
		font-size: 13px;
	}

	.ct-form__submit {
		padding: 12px;
		font-size: 15px;
	}

	.ct-info {
		padding-top: 0;
	}

	.ct-info__title {
		font-size: 20px;
	}

	.ct-info__subtitle {
		font-size: 13px;
		margin-bottom: 18px;
	}

	.ct-info__list li {
		font-size: 13.5px;
		gap: 10px;
		padding: 8px 0;
		line-height: 1.55;
	}

	.ct-info__icon {
		width: 20px;
		height: 20px;
	}

	.ct-info__icon svg {
		width: 18px;
		height: 18px;
	}

	.ct-info__map iframe {
		height: 200px;
	}

	.ct-info__map-overlay {
		right: 8px;
		bottom: 8px;
		padding: 6px 10px;
		font-size: 11px;
	}

	.ct-info__checks li {
		font-size: 13px;
		padding: 4px 0;
	}

	.ct-info__cta {
		font-size: 13px;
	}

	.ct-info__qr {
		margin-top: 18px;
		padding-top: 16px;
	}

	.ct-info__qr-title {
		font-size: 14px;
		margin-bottom: 12px;
	}

	.ct-info__qr-grid {
		gap: 12px;
	}

	.ct-info__qr-item {
		padding: 10px;
	}

	.ct-info__qr-item img {
		max-width: 140px;
	}

	.ct-info__qr-item figcaption {
		font-size: 13px;
	}
}

@media (max-width: 380px) {
	.ct-hero__title { font-size: 22px; }
	.ct-form-wrap { padding: 18px 14px; }
	.ct-info__qr-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
 * Right-column QR codes (WhatsApp + WeChat)
 * ========================================================================== */
.ct-info__qr {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #eee;
}

.ct-info__qr-title {
	font-size: 16px;
	font-weight: 700;
	color: #222;
	margin: 0 0 16px;
	line-height: 1.4;
}

.ct-info__qr-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.ct-info__qr-item {
	margin: 0;
	padding: 12px;
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 6px;
	text-align: center;
}

.ct-info__qr-item img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 160px;
	margin: 0 auto 8px;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}

.ct-info__qr-item figcaption {
	font-size: 14px;
	color: #444;
	font-weight: 600;
}
