/**
 * pages/contact.css — Contact Us Page Styles
 *
 * Structure:
 *   1. Hero section — Gradient background, breadcrumb, title, subtitle
 *   2. Get In Touch — 3 contact cards (WhatsApp, Email, Call)
 *   3. Contact Form + Office Location — 2-column layout with form and map
 *
 * @package MJC_Fintech_Child
 */

/* =====================================================
   GLOBAL UTILITIES
   ===================================================== */

.con-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 64px;
}

.con-bar {
	width: 80px;
	height: 4px;
	background-color: #2bbfce;
	border-radius: 2px;
}

.con-bar--center {
	margin: 24px auto 0;
}

.con-bar--sm {
	width: 64px;
	margin-top: 16px;
	margin-bottom: 36px;
}

/* =====================================================
   SECTION 1 — HERO
   ===================================================== */

.con-hero {
	background: linear-gradient(102deg, #0a2540 0.3%, #1e5f8c 99.7%);
	border-bottom: 1px solid #1e2939;
	padding: 64px 0 48px;
}

.con-hero-title {
	font-family: var(--font-heading);
	font-size: 64px;
	font-weight: 700;
	color: #ffffff;
	text-align: center;
	margin-top: 48px;
	line-height: 1.5;
	display: block;
}

.con-hero-subtitle {
	font-family: var(--font-body);
	font-size: 18px;
	color: #2bbfce;
	text-align: center;
	margin-top: 16px;
}

/* =====================================================
   SECTION 2 — GET IN TOUCH
   ===================================================== */

.con-touch {
	background-color: #ffffff;
	padding: 80px 0;
}

.con-touch-heading {
	font-family: var(--font-heading);
	font-size: 38px;
	font-weight: 700;
	color: #0a2540;
	text-align: center;
	margin: 0;
	display: block;
	line-height: 1.2;
}

.con-cards-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin-top: 64px;
}

.con-card {
	background-color: #e8f4f8;
	border: 1px solid #1e2939;
	border-radius: 24px;
	padding: 32px;
	text-align: center;
	min-height: 352px;
	display: flex;
	flex-direction: column;
	align-items: center;
	transition: all 0.25s ease;
}

.con-card:hover {
	box-shadow: 0 8px 24px rgba(43, 191, 206, 0.1);
	border-color: #2bbfce;
}

.con-card-icon {
	width: 64px;
	height: 64px;
	border-radius: 24px;
	background-color: #2bbfce;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	flex-shrink: 0;
}

.con-card-icon svg {
	width: 28px;
	height: 28px;
}

.con-card-title {
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 700;
	color: #0a2540;
	margin-top: 32px;
	margin-bottom: 0;
	display: block;
	line-height: 1.3;
}

.con-card-primary {
	font-family: var(--font-heading);
	font-size: 20px;
	font-weight: 500;
	color: #0a2540;
	margin-top: 16px;
	margin-bottom: 0;
	line-height: 1.4;
}

.con-card-sub {
	font-family: var(--font-body);
	font-size: 14px;
	color: #4a5565;
	margin-top: 8px;
	margin-bottom: 0;
	line-height: 1.5;
}

.con-card-btn {
	background-color: #0a2540;
	border-radius: 100px;
	height: 56px;
	width: 100%;
	max-width: 297px;
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 500;
	color: #ffffff;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 32px;
	transition: background-color 0.25s ease;
	cursor: pointer;
}

.con-card-btn:hover {
	background-color: #1e5f8c;
}

.con-card-btn:focus-visible {
	outline: 2px solid #2bbfce;
	outline-offset: 2px;
}

/* =====================================================
   SECTION 3 — FORM + LOCATION
   ===================================================== */

.con-form-section {
	background-color: #e8f4f8;
	padding: 80px 0;
}

.con-two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}

.con-form-card,
.con-location-card {
	background-color: #ffffff;
	border: 1px solid #1e2939;
	border-radius: 24px;
	padding: 32px;
}

.con-card-heading {
	font-family: var(--font-heading);
	font-size: 24px;
	font-weight: 700;
	color: #0a2540;
	margin: 0;
	display: block;
	line-height: 1.3;
}

/* ── Form ────────────────────────────────────────── */

.con-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.con-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.con-label {
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 500;
	color: #364153;
}

.con-input,
.con-select,
.con-textarea {
	background-color: #ffffff;
	border: 1px solid #1e2939;
	border-radius: 24px;
	padding: 0 16px;
	font-family: var(--font-body);
	font-size: 16px;
	color: #0a2540;
	width: 100%;
	transition: border-color 0.2s ease;
}

.con-input {
	height: 58px;
}

.con-select {
	height: 57px;
	appearance: none;
	cursor: pointer;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230a2540' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
}

.con-textarea {
	min-height: 120px;
	padding: 16px;
	resize: vertical;
	line-height: 24px;
	font-family: var(--font-body);
}

.con-input:focus,
.con-select:focus,
.con-textarea:focus {
	outline: none;
	border-color: #2bbfce;
}

.con-input::placeholder,
.con-textarea::placeholder {
	color: rgba(10, 37, 64, 0.5);
}

.con-submit {
	background-color: #0a2540;
	border-radius: 100px;
	height: 66px;
	width: 100%;
	border: none;
	cursor: pointer;
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 500;
	color: #ffffff;
	transition: background-color 0.25s ease;
	margin-top: 8px;
}

.con-submit:hover {
	background-color: #1e5f8c;
}

.con-submit:focus-visible {
	outline: 2px solid #2bbfce;
	outline-offset: 2px;
}

.con-success {
	display: none;
	background-color: rgba(43, 191, 206, 0.1);
	border: 1px solid #2bbfce;
	border-radius: 12px;
	padding: 16px;
	margin-top: 16px;
	font-family: var(--font-body);
	font-size: 14px;
	color: #0a2540;
	text-align: center;
	line-height: 1.6;
}

.con-success--show {
	display: block;
}

/* ── Location ────────────────────────────────────── */

.con-address {
	margin-bottom: 32px;
}

.con-office-name {
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 500;
	color: #0a2540;
	margin: 0;
	line-height: 1.4;
}

.con-address-line {
	font-family: var(--font-body);
	font-size: 16px;
	color: #4a5565;
	margin-top: 8px;
	margin-bottom: 0;
	line-height: 24px;
}

.con-map-placeholder {
    background-color: #e8f4f8;
    border: 1px solid #1e2939;
    border-radius: 24px;
    height: 482px;
    /* Remove display: flex; as it's not needed for a single full-size iframe */
    overflow: hidden; /* This is CRITICAL to keep the map inside the rounded corners */
    position: relative;
}

.con-map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: none;
}
/* =====================================================
   RESPONSIVE — TABLET (1024px and below)
   ===================================================== */

@media (max-width: 1024px) {
	.con-cards-grid {
		grid-template-columns: 1fr;
		max-width: 420px;
		margin-left: auto;
		margin-right: auto;
	}

	.con-two-col {
		grid-template-columns: 1fr;
	}
}

/* =====================================================
   RESPONSIVE — MOBILE (768px and below)
   ===================================================== */

@media (max-width: 768px) {
	.con-container {
		padding: 0 24px;
	}

	.con-hero {
		padding: 48px 0 32px;
	}

	.con-hero-title {
		font-size: 40px;
		margin-top: 32px;
	}

	.con-hero-subtitle {
		font-size: 16px;
		margin-top: 12px;
	}

	.con-touch {
		padding: 64px 0;
	}

	.con-touch-heading {
		font-size: 32px;
	}

	.con-cards-grid {
		gap: 16px;
		margin-top: 48px;
	}

	.con-card {
		min-height: auto;
		padding: 24px;
	}

	.con-card-btn {
		font-size: 14px;
		height: 48px;
	}

	.con-form-section {
		padding: 64px 0;
	}

	.con-form-card,
	.con-location-card {
		padding: 24px;
	}

	.con-card-heading {
		font-size: 20px;
	}

	.con-input,
	.con-select,
	.con-textarea {
		font-size: 14px;
	}

	.con-input {
		height: 48px;
	}

	.con-select {
		height: 48px;
	}

	.con-submit {
		height: 56px;
		font-size: 14px;
	}

	.con-map-placeholder {
		height: 300px;
		font-size: 14px;
	}

	.con-address-line {
		font-size: 14px;
	}
}