/**
 * Diwan — Contact Us page (Elementor page ID 413)
 * Styles the existing Elementor markup; does not replace the page template.
 */

body.page-id-413 #wrapper,
body.page-contact-us #wrapper {
	background: #ffffff;
}

.elementor-413 {
	--dc-navy: #1e2e4f;
	--dc-navy-deep: #16233d;
	--dc-gold: #d2bb82;
	--dc-gold-header: #d4a84b;
	--dc-muted: #5a6b86;
	--dc-border: #e6ebf2;
	--dc-input-border: #dfe5ee;
	font-family: 'Cairo', sans-serif;
	direction: rtl;
	color: var(--dc-navy);
	max-width: 1100px;
	margin: 0 auto;
	padding: 48px 20px 80px;
}

.elementor-413 *,
.elementor-413 *::before,
.elementor-413 *::after {
	box-sizing: border-box;
}

/* ── Hero ── */
.elementor-413 > .elementor-element-bdbc886 > .e-con-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	max-width: 640px;
	margin: 0 auto 56px;
	padding: 0 !important;
	gap: 0;
}

.elementor-413 .elementor-element-d8c994e img {
	width: 160px;
	height: auto;
	margin-bottom: 24px;
}

.elementor-413 .elementor-element-afb10bc .elementor-heading-title {
	margin: 0 0 12px;
	font-size: clamp(26px, 4vw, 36px);
	font-weight: 800;
	line-height: 1.35;
	color: var(--dc-navy);
}

.elementor-413 .elementor-element-21c0dc9 {
	max-width: 100%;
}

.elementor-413 .elementor-element-21c0dc9 p {
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.8;
	color: var(--dc-muted);
}

/* ── Contact cards ── */
.elementor-413 > .elementor-element-bf16786 {
	background: transparent !important;
}

.elementor-413 > .elementor-element-bf16786 > .e-con-inner {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	flex-wrap: nowrap !important;
	gap: 28px !important;
	margin-bottom: 64px;
	padding: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
}

.elementor-413 .elementor-element-bf16786 .e-con-full {
	width: 100% !important;
	max-width: 100% !important;
	flex-basis: auto !important;
	background: #ffffff !important;
	border: 1px solid var(--dc-border) !important;
	border-radius: 16px !important;
	padding: 32px 20px 28px !important;
	text-align: center;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.elementor-413 .elementor-element-bf16786 .e-con-full:hover {
	border-color: #c8d2e0;
	box-shadow: 0 10px 28px rgba(30, 46, 79, 0.08);
	transform: translateY(-2px);
}

.elementor-413 .elementor-icon-box-wrapper {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	gap: 14px;
	width: 100%;
}

.elementor-413 .elementor-icon-box-icon {
	margin-bottom: 4px;
}

.elementor-413 .elementor-icon-box-icon .elementor-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: rgba(210, 187, 130, 0.14);
}

.elementor-413 .elementor-icon-box-title span {
	font-size: 18px;
	font-weight: 800;
	color: var(--dc-navy);
}

.elementor-413 .elementor-icon-box-description {
	margin: 0 auto;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.75;
	color: var(--dc-muted) !important;
	max-width: 240px;
}

.elementor-413 .elementor-element-bf16786 .elementor-widget-button {
	width: 100%;
	margin-top: 6px;
}

.elementor-413 .elementor-element-bf16786 .elementor-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 160px;
	min-height: 42px;
	padding: 0 20px !important;
	border-radius: 10px !important;
	border: 1px solid var(--dc-navy) !important;
	background: #ffffff !important;
	color: var(--dc-navy) !important;
	font-family: 'Cairo', sans-serif;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.elementor-413 .elementor-element-bf16786 .elementor-button:hover,
.elementor-413 .elementor-element-bf16786 .elementor-button:focus {
	background: var(--dc-navy) !important;
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 14px rgba(30, 46, 79, 0.12);
}

/* ── Form + illustration ── */
.elementor-413 > .elementor-element-95c2ff2 > .e-con-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: center;
	padding: 0 !important;
}

.elementor-413 .elementor-element-a453833 {
	background: #f8fafc;
	border: 1px solid var(--dc-border);
	border-radius: 18px;
	padding: 32px 28px;
}

.elementor-413 .elementor-form-fields-wrapper {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.elementor-413 .elementor-field-group {
	margin: 0 !important;
	width: 100% !important;
}

.elementor-413 .elementor-field-textual {
	width: 100%;
	min-height: 48px;
	padding: 12px 16px;
	border: 1px solid var(--dc-input-border);
	border-radius: 10px;
	background: #ffffff;
	color: var(--dc-navy);
	font-family: 'Cairo', sans-serif;
	font-size: 14px;
	font-weight: 500;
	text-align: right;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.elementor-413 textarea.elementor-field-textual {
	min-height: 132px;
	resize: vertical;
}

.elementor-413 .elementor-field-textual::placeholder {
	color: #9aa8bc;
}

.elementor-413 .elementor-field-textual:focus {
	border-color: #9fb0c9;
	box-shadow: 0 0 0 3px rgba(30, 46, 79, 0.08);
}

.elementor-413 .elementor-field-type-submit .elementor-button {
	width: 100%;
	min-height: 48px;
	margin-top: 4px;
	border: none;
	border-radius: 10px;
	background: var(--dc-navy);
	color: #ffffff;
	font-family: 'Cairo', sans-serif;
	font-size: 14px;
	font-weight: 700;
	transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.elementor-413 .elementor-field-type-submit .elementor-button:hover,
.elementor-413 .elementor-field-type-submit .elementor-button:focus {
	background: var(--dc-navy-deep);
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(30, 46, 79, 0.18);
}

/* Fix Elementor wrong submit label ("البحث") */
.elementor-413 .elementor-field-type-submit .elementor-button-text {
	font-size: 0;
	line-height: 0;
}

.elementor-413 .elementor-field-type-submit .elementor-button-text::after {
	content: 'إرسال الرسالة';
	font-size: 14px;
	line-height: 1.2;
}

.elementor-413 .elementor-element-3cd8c3a {
	display: flex;
	align-items: center;
	justify-content: center;
}

.elementor-413 .elementor-element-18e0895 img {
	width: min(100%, 320px);
	height: auto;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
	.elementor-413 {
		padding: 36px 16px 64px;
	}

	.elementor-413 > .elementor-element-bf16786 > .e-con-inner {
		grid-template-columns: 1fr !important;
		gap: 20px !important;
		margin-bottom: 48px;
	}

	.elementor-413 > .elementor-element-95c2ff2 > .e-con-inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.elementor-413 .elementor-element-a453833 {
		order: 2;
	}

	.elementor-413 .elementor-element-3cd8c3a {
		order: 1;
	}
}

@media (max-width: 480px) {
	.elementor-413 .elementor-element-bf16786 .e-con-full {
		padding: 24px 16px 20px;
	}

	.elementor-413 .elementor-element-a453833 {
		padding: 24px 18px;
	}
}
