/* Exegypt Consultation Form — [exegypt_consultation_form] */

.ecf-section {
	--ecf-navy: #001844;
	--ecf-navy-2: #002D72;
	--ecf-gold: #C99638;
	--ecf-bg: #F8F9FC;
	--ecf-border: rgba(0, 45, 114, 0.15);
	--ecf-card-border: rgba(0, 45, 114, 0.10);
	--ecf-placeholder: rgba(0, 24, 68, 0.40);

	background: var(--ecf-bg);
	padding: 64px 24px;
	box-sizing: border-box;
}

.ecf-section *,
.ecf-section *::before,
.ecf-section *::after {
	box-sizing: border-box;
}

.ecf-card {
	display: grid;
	grid-template-columns: 430px 1fr;
	max-width: 1034px;
	margin: 0 auto;
	background: #fff;
	border-radius: 2px;
	border: 0.71px solid var(--ecf-card-border);
	box-shadow: 0 23px 76px rgba(0, 24, 68, 0.08);
	overflow: hidden;
}

/* Left navy info panel */

.ecf-panel {
	background: linear-gradient(123deg, var(--ecf-navy) 0%, var(--ecf-navy-2) 100%);
	color: #fff;
	padding: 48px;
}

.ecf-eyebrow {
	color: var(--ecf-gold);
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2.3px;
	margin-bottom: 16px;
}

.ecf-headline {
	margin: 0 0 24px;
	font-family: Montserrat, inherit;
	font-weight: 700;
	font-size: 32px;
	line-height: 1.15;
	color: #fff;
}

.ecf-headline em {
	display: inline-block;
	margin-top: 4px;
	color: var(--ecf-gold);
	font-style: italic;
	font-weight: 300;
}

.ecf-description {
	margin: 0 0 32px;
	color: rgba(255, 255, 255, 0.75);
	font-size: 15px;
	line-height: 1.6;
}

.ecf-checklist {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ecf-checklist li {
	display: flex;
	align-items: center;
	gap: 12px;
	color: rgba(255, 255, 255, 0.90);
	font-size: 13.5px;
}

.ecf-checklist .ecf-icon {
	flex: none;
	width: 14px;
	height: 14px;
	color: var(--ecf-gold);
}

.ecf-contact {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 24px;
	border-top: 0.71px solid rgba(255, 255, 255, 0.15);
}

.ecf-contact-row {
	display: flex;
	align-items: center;
	gap: 12px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 13.5px;
	text-decoration: none;
}

.ecf-contact-row .ecf-icon {
	flex: none;
	width: 13px;
	height: 13px;
	color: rgba(255, 255, 255, 0.85);
}

.ecf-contact-row:hover {
	color: #fff;
}

.ecf-contact-row:hover .ecf-icon {
	color: #fff;
}

/* Right form column */

.ecf-form-col {
	padding: 48px;
}

.ecf-form-title {
	margin: 0 0 24px;
	font-family: Montserrat, inherit;
	font-weight: 700;
	font-size: 23px;
	color: var(--ecf-navy);
}

.ecf-cf7-wrap .ecf-row {
	display: flex;
	gap: 16px;
}

.ecf-cf7-wrap .ecf-field {
	margin-bottom: 20px;
}

.ecf-cf7-wrap .ecf-field--half {
	flex: 1 1 50%;
	min-width: 0;
}

.ecf-cf7-wrap label {
	display: block;
	margin-bottom: 8px;
	color: var(--ecf-navy);
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.ecf-cf7-wrap .wpcf7-form-control-wrap {
	display: block;
}

.ecf-cf7-wrap input.wpcf7-form-control,
.ecf-cf7-wrap select.wpcf7-form-control,
.ecf-cf7-wrap textarea.wpcf7-form-control {
	width: 100%;
	background: var(--ecf-bg);
	border: 0.71px solid var(--ecf-border);
	border-radius: 2px;
	padding: 12px 16px;
	font-size: 13.5px;
	font-family: inherit;
	color: var(--ecf-navy);
	line-height: 20px;
}

.ecf-cf7-wrap input.wpcf7-form-control {
	height: 45px;
}

.ecf-cf7-wrap select.wpcf7-form-control {
	height: 45px;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001844' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 16px;
	padding-right: 40px;
}

.ecf-cf7-wrap textarea.wpcf7-form-control {
	height: 105px;
	resize: vertical;
}

.ecf-cf7-wrap ::placeholder {
	color: var(--ecf-placeholder);
	opacity: 1;
}

.ecf-cf7-wrap input.wpcf7-form-control:focus,
.ecf-cf7-wrap select.wpcf7-form-control:focus,
.ecf-cf7-wrap textarea.wpcf7-form-control:focus {
	outline: none;
	border-color: var(--ecf-navy-2);
}

.ecf-cf7-wrap input.wpcf7-not-valid,
.ecf-cf7-wrap select.wpcf7-not-valid,
.ecf-cf7-wrap textarea.wpcf7-not-valid {
	border-color: #c0392b;
}

.ecf-cf7-wrap .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	color: #c0392b;
	font-size: 12px;
}

.ecf-cf7-wrap .ecf-submit-row {
	margin-top: 4px;
	margin-bottom: 0;
}

.ecf-cf7-wrap input.wpcf7-submit {
	width: 100%;
	height: 50px;
	background: var(--ecf-gold);
	border: none;
	border-radius: 2px;
	color: #fff;
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	padding-right: 44px;
	text-align: center;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3Cpolyline points='12 5 19 12 12 19'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 24px center;
	background-size: 16px;
	transition: opacity 0.15s ease;
}

.ecf-cf7-wrap input.wpcf7-submit:hover {
	opacity: 0.9;
}

.ecf-cf7-wrap .wpcf7-spinner {
	margin-left: 8px;
}

.ecf-cf7-wrap .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 12px 16px;
	border-radius: 2px;
	font-size: 13px;
}

.ecf-cf7-wrap form.sent .wpcf7-response-output {
	border-color: #2e7d32;
	color: #2e7d32;
}

.ecf-cf7-wrap form.failed .wpcf7-response-output,
.ecf-cf7-wrap form.aborted .wpcf7-response-output {
	border-color: #c0392b;
	color: #c0392b;
}

.ecf-cf7-wrap .ecf-disclaimer {
	margin: 20px 0 0;
	text-align: center;
	color: #667085;
	font-size: 10.5px;
}

/* Responsive: stack to a single column on tablets/small laptops and phones,
   mirroring the theme's own 991px content-block breakpoint (see
   astra-child/css/programs.css .program-overview). */

@media (max-width: 991px) {
	.ecf-card {
		grid-template-columns: 1fr;
	}

	.ecf-cf7-wrap .ecf-row {
		flex-direction: column;
		gap: 0;
	}
}

@media (max-width: 480px) {
	.ecf-section {
		padding: 40px 16px;
	}

	.ecf-panel,
	.ecf-form-col {
		padding: 32px 24px;
	}

	.ecf-headline {
		font-size: 26px;
	}
}
