/* ===== TRANG LIÊN HỆ (clone contact-us_d2) ===== */

.bluesun-contact-page {
	font-family: var(--bluesun-font-body);
}

/* Hero */
.bluesun-contact-hero {
	height: 400px;
	background-color: #833ca3;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
}

.bluesun-contact-hero-inner {
	max-width: 66%;
	padding: 50px 24px 0;
}

.bluesun-contact-hero-title {
	margin: 0 0 2px;
	font-size: 60px;
	font-weight: 700;
	line-height: 1.1;
	color: #fff;
}

.bluesun-contact-hero-desc {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
	color: #fff;
}

/* Breadcrumb */
.bluesun-contact-breadcrumb {
	background: #fff;
	padding: 0;
}

.bluesun-contact-breadcrumb-inner {
	max-width: 1680px;
	margin: 0 auto;
	padding: 1rem 15px 1rem 15px;
	display: flex;
	align-items: center;
	gap: 0;
	font-size: 16px;
	line-height: 28px;
}

.bluesun-contact-breadcrumb a {
	color: #1a1a1a;
	text-decoration: none;
	padding-right: 5px;
}

.bluesun-contact-breadcrumb a:hover {
	color: var(--bluesun-primary);
}

.bluesun-contact-breadcrumb .sep,
.bluesun-contact-breadcrumb .current {
	color: #1a1a1a;
}

/* Map */
.bluesun-contact-map-section {
	background: #fff;
}

.bluesun-map-wrap {
	position: relative;
	width: 100%;
	height: 650px;
	background-repeat: no-repeat;
	background-position: 45% center;
	background-size: cover;
	overflow: hidden;
	padding: 0 2.5rem;
	box-sizing: border-box;
}

.map-marker {
	position: absolute;
	cursor: pointer;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 6px;
	transform-origin: center;
	transition: transform 0.3s ease;
	border: none;
	background: none;
	padding: 0;
}

.marker-dot {
	width: 18px;
	height: 18px;
	background: #ff5722;
	border-radius: 50%;
	border: 3px solid #fff;
	flex-shrink: 0;
	transition: background-color 0.3s ease;
}

.map-marker.active .marker-dot {
	background: #0056b3;
}

.marker-flag {
	width: 24px;
	height: 16px;
	object-fit: cover;
	border-radius: 2px;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
	flex-shrink: 0;
}

.map-marker:hover,
.map-marker:focus-visible {
	transform: scale(1.3);
	z-index: 5;
	outline: none;
}

.map-info-boxes {
	position: absolute;
	right: 2.5rem;
	top: 50%;
	transform: translateY(-50%);
	width: 360px;
	max-width: calc(100% - 5rem);
	background: rgba(255, 255, 255, 0.95);
	padding: 25px 30px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
	border-radius: 10px;
	z-index: 3;
}

.map-info {
	display: none;
	animation: bluesunMapFadeIn 0.3s ease;
}

.map-info.active {
	display: block;
}

.map-info h3 {
	font-size: 20px;
	color: #333;
	margin: 0 0 10px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
}

.map-info p {
	font-size: 15px;
	color: #555;
	line-height: 1.5;
	margin: 4px 0;
}

.map-info a {
	color: #ff5722;
	text-decoration: none;
}

.map-info a:hover {
	text-decoration: underline;
}

@keyframes bluesunMapFadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Form + Why Choose (same gray section) */
.bluesun-contact-main-section {
	background: #f3f3f3;
	padding: 0;
}

.bluesun-contact-main-inner {
	max-width: 1680px;
	margin: 5rem auto 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
	align-items: stretch;
}

.bluesun-contact-form-col,
.bluesun-contact-why-col {
	background: #fff;
}

.bluesun-contact-form-col {
	padding: 0 2.5rem 2.5rem;
}

.bluesun-contact-why-col {
	padding: 5rem 2.5rem;
}

.bluesun-contact-form-title {
	margin: 5rem 0 0;
	text-align: center;
	font-size: 36px;
	line-height: 56px;
	font-weight: 600;
	color: #1a1a1a;
}

.bluesun-contact-form-desc {
	margin: 1.25rem 0 0;
	text-align: left;
	font-size: 18px;
	line-height: 32px;
	color: #616161;
}

.bluesun-contact-why-heading {
	margin: 0 0 2.5rem;
	text-align: center;
	font-size: 36px;
	line-height: 56px;
	font-weight: 600;
	color: #1a1a1a;
}

.bluesun-contact-why-rows {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.bluesun-contact-why-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
	margin-top: 2.5rem;
}

.bluesun-contact-why-row:first-child {
	margin-top: 0;
}

.contact-qafi {
	padding: 1.875rem 1.25rem;
	text-align: center;
	background: linear-gradient(180deg, #eef4fc 0%, #ffffff 100%);
	border-radius: 0;
}

.contact-qafi img {
	display: block;
	margin: 0 auto;
}

.contact-qafi h3 {
	margin: 1.25rem 0 0;
	font-size: 20px;
	line-height: 20px;
	font-weight: 600;
	color: #1a1a1a;
}

.contact-qafi p {
	margin: 1.25rem 0 0;
	font-size: 14px;
	line-height: 22px;
	color: #616161;
}

/* Contact form (WPForms-like) */
.contact-lam {
	margin-top: 1.25rem;
}

.contact-lam .wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.contact-lam .wpcf7-form p {
	margin: 0 0 15px;
}

.contact-lam .wpcf7-form label {
	display: none;
}

.contact-lam .wpcf7-form input[type="text"],
.contact-lam .wpcf7-form input[type="email"],
.contact-lam .wpcf7-form input[type="tel"],
.contact-lam .wpcf7-form textarea {
	width: 100%;
	height: 43px;
	padding: 0 14px;
	border: 1px solid rgba(0, 0, 0, 0.25);
	border-radius: 3px;
	font-family: inherit;
	font-size: 16px;
	color: rgba(0, 0, 0, 0.7);
	background: #fff;
	box-sizing: border-box;
}

.contact-lam .wpcf7-form textarea {
	height: auto;
	min-height: 120px;
	padding: 12px 14px;
	resize: vertical;
}

.contact-lam .wpcf7-form input::placeholder,
.contact-lam .wpcf7-form textarea::placeholder {
	color: rgba(0, 0, 0, 0.45);
}

.contact-lam .wpcf7-submit,
.contact-lam .contact-btn {
	display: inline-block;
	min-width: 120px;
	padding: 12px 28px;
	background: #ed741b;
	color: #fff;
	border: none;
	border-radius: 3px;
	font-size: 16px;
	font-weight: 500;
	text-transform: lowercase;
	cursor: pointer;
	transition: background 0.2s;
}

.contact-lam .wpcf7-submit:hover,
.contact-lam .contact-btn:hover {
	background: #d66515;
}

/* Info row */
.bluesun-contact-info-row {
	background: #f3f3f3;
	padding: 0;
}

.bluesun-contact-info-inner {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	max-width: 1680px;
	margin: 0 auto;
}

.bluesun-contact-info-col {
	background: #fff;
	padding: 3.75rem 2.5rem 0;
	text-align: center;
}

.bluesun-contact-info-col:last-child {
	padding-bottom: 3.75rem;
}

.bluesun-contact-info-col img {
	display: block;
	margin: 0 auto;
}

.bluesun-contact-info-col h3 {
	margin: 2.5rem 0 0;
	font-size: 30px;
	line-height: 30px;
	font-weight: 600;
	color: #000;
}

.bluesun-contact-info-col p {
	margin: 0;
	font-size: 18px;
	line-height: 32px;
	color: #616161;
}

.bluesun-contact-info-col .ct-hov {
	margin-top: 0;
}

.bluesun-contact-info-col a {
	color: #616161;
	text-decoration: none;
}

.bluesun-contact-info-col a:hover {
	color: #ed741b;
}

.bluesun-contact-info-col--address .bluesun-contact-address-text {
	margin-top: 10px;
	text-align: left;
	font-size: 18px;
	line-height: 32px;
}

/* CTA banners */
.bluesun-contact-banners {
	background: #f3f3f3;
	padding: 5rem 0;
}

.bluesun-contact-banners-inner {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.25rem;
	max-width: 1680px;
	margin: 0 auto;
	padding: 0;
}

.bluesun-contact-banner {
	min-height: 0;
	padding: 3.75rem 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.bluesun-contact-banner-content {
	width: 100%;
	padding: 0 1.5rem;
}

.bluesun-contact-banner-content h3 {
	margin: 0;
	font-size: 40px;
	line-height: 56px;
	font-weight: 600;
	color: #fff;
}

.bluesun-contact-banner-content p {
	margin: 1.25rem 0 0;
	font-size: 18px;
	line-height: 32px;
	color: #fff;
}

.bluesun-contact-banner .blkg-pra-btn {
	margin-top: 4.125rem;
}

.bluesun-contact-banner-btn.elementor-button {
	background: #fff;
	color: #ed741b;
	border: none;
	padding: 1.1875rem 2.5rem;
	border-radius: 0;
	font-size: 20px;
	line-height: 20px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s, color 0.3s;
}

.bluesun-contact-banner-btn.elementor-button:hover {
	background: #ed741b;
	color: #fff;
}

/* Hide footer CTA on contact page */
body.page-lien-he .bluesun-site-cta {
	display: none;
}

/* Responsive */
@media screen and (max-width: 1200px) {
	.bluesun-contact-main-inner,
	.bluesun-contact-banners-inner,
	.bluesun-contact-info-inner,
	.bluesun-contact-breadcrumb-inner {
		padding-left: 20px;
		padding-right: 20px;
	}
}

@media screen and (max-width: 1024px) {
	.bluesun-contact-main-inner {
		grid-template-columns: 1fr;
		margin-top: 3rem;
	}

	.bluesun-contact-form-col,
	.bluesun-contact-why-col {
		padding: 2rem 1.5rem;
	}

	.bluesun-contact-form-title {
		margin-top: 0;
		font-size: 28px;
		line-height: 1.3;
	}

	.bluesun-contact-why-heading {
		font-size: 28px;
		line-height: 1.3;
		margin-bottom: 1.5rem;
	}

	.bluesun-contact-why-row {
		grid-template-columns: 1fr;
		margin-top: 1.25rem;
	}

	.bluesun-contact-info-inner {
		grid-template-columns: 1fr;
	}

	.bluesun-contact-info-col {
		padding: 2rem 1.5rem;
	}

	.bluesun-contact-info-col:last-child {
		padding-bottom: 2rem;
	}

	.bluesun-contact-banners-inner {
		grid-template-columns: 1fr;
	}

	.bluesun-contact-banners {
		padding: 3rem 20px;
	}
}

@media screen and (max-width: 768px) {
	.bluesun-contact-hero {
		height: 100px;
	}

	.bluesun-contact-hero-inner {
		max-width: 100%;
		padding: 0 16px;
	}

	.bluesun-contact-hero-title {
		font-size: 20px;
		line-height: 20px;
	}

	.bluesun-contact-hero-desc {
		font-size: 10px;
		line-height: 25px;
	}

	.bluesun-map-wrap {
		height: auto;
		min-height: 320px;
		padding: 0 1rem;
	}

	.map-info-boxes {
		position: relative;
		right: auto;
		top: auto;
		transform: none;
		width: 100%;
		max-width: 100%;
		padding: 20px;
		box-shadow: none;
		border-radius: 0;
	}

	.bluesun-contact-banner-content h3 {
		font-size: 20px;
		line-height: 1.3;
	}

	.bluesun-contact-banner-content p {
		font-size: 13px;
	}

	.bluesun-contact-banner .blkg-pra-btn {
		margin-top: 1.5rem;
	}

	.bluesun-contact-banner-btn.elementor-button {
		font-size: 15px;
		padding: 10px;
	}
}
