/* =========================================================
   Free Student Evaluation – multi-step form
   Uses theme variables from base.css
   ========================================================= */

.fe-section {
	padding: 90px 0;
	background: var(--pbmit-light-color);
}
/* Raleway shows small "old-style" numbers by default – use full-height numbers */
.fe-section,
.fe-cta-band {
	font-variant-numeric: lining-nums;
	font-feature-settings: "lnum" 1;
}

/* ---------- Left info column ---------- */
.fe-info .pbmit-heading-subheading .pbmit-title {
	font-size: 42px;
	line-height: 1.2;
	letter-spacing: -1px;
	margin-bottom: 18px;
}
.fe-info .pbmit-heading-desc {
	margin-bottom: 28px;
}
.fe-benefits {
	list-style: none;
	padding: 0;
	margin: 0 0 30px;
}
.fe-benefits li {
	position: relative;
	padding: 0 0 18px 44px;
	color: var(--pbmit-blackish-color);
	font-weight: 500;
}
.fe-benefits li span {
	display: block;
	font-weight: 400;
	font-size: 15px;
	color: var(--pbmit-body-typography-color);
}
.fe-benefits li i {
	position: absolute;
	left: 0;
	top: 2px;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	border-radius: 50%;
	background: var(--pbmit-blackish-color);
	color: var(--pbmit-white-color);
	font-size: 13px;
}
/* Theme subtitle icon (sky blue by default) -> navy on this page */
.fe-info .pbmit-heading-subheading .pbmit-subtitle:after {
	color: var(--pbmit-blackish-color);
}
/* WhatsApp note: same layout as the benefit items, separated by a thin line */
.fe-benefits-note {
	padding-top: 24px;
	border-top: 1px solid #dfe6ee;
}
.fe-benefits-note li {
	padding-bottom: 0;
}
.fe-benefits-note li i {
	background: #25d366;
	font-size: 16px;
}

/* ---------- Form card ---------- */
.fe-card {
	background: var(--pbmit-white-color);
	border-radius: 20px;
	padding: 40px;
	box-shadow: 0 20px 50px rgba(var(--pbmit-blackish-color-rgb), 0.08);
}
.fe-progress-top {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	font-weight: 600;
	color: var(--pbmit-blackish-color);
	margin-bottom: 8px;
}
.fe-progress {
	height: 6px;
	border-radius: 6px;
	background: var(--pbmit-light-color);
	overflow: hidden;
	margin-bottom: 32px;
}
.fe-progress-bar {
	height: 100%;
	width: 0;
	background: var(--pbmit-blackish-color);
	border-radius: 6px;
	transition: width .35s ease;
}

/* ---------- Steps ---------- */
.fe-step {
	display: none;
	animation: feFade .35s ease;
}
.fe-step.is-active {
	display: block;
}
@keyframes feFade {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: none; }
}
.fe-step-intro {
	color: var(--pbmit-blackish-color);
	font-weight: 600;
	margin-bottom: 4px;
}
.fe-question {
	margin-bottom: 26px;
}
.fe-question:last-of-type {
	margin-bottom: 0;
}
.fe-label {
	display: block;
	font-size: 20px;
	font-weight: 600;
	color: var(--pbmit-blackish-color);
	margin-bottom: 4px;
	line-height: 1.35;
}
.fe-label .req {
	color: #e5484d;
}
.fe-hint {
	font-size: 14px;
	margin-bottom: 12px;
}

/* Option cards (radio / checkbox) */
.fe-options {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	margin-top: 12px;
}
.fe-options.cols-2 {
	grid-template-columns: repeat(2, 1fr);
}
.fe-option {
	position: relative;
	margin: 0;
	cursor: pointer;
}
.fe-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.fe-option span {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 52px;
	padding: 10px 14px;
	border: 1.5px solid #d9e2ec;
	border-radius: 10px;
	background: var(--pbmit-white-color);
	color: var(--pbmit-blackish-color);
	font-weight: 500;
	line-height: 1.3;
	transition: border-color .2s, background-color .2s;
}
.fe-option span b {
	flex: 0 0 28px;
	height: 28px;
	line-height: 26px;
	text-align: center;
	border: 1.5px solid #c3cfdb;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 700;
	background: var(--pbmit-white-color);
	transition: all .2s;
}
.fe-option:hover span {
	border-color: var(--pbmit-blackish-color);
}
.fe-option input:focus-visible + span {
	outline: 3px solid rgba(var(--pbmit-blackish-color-rgb), .3);
	outline-offset: 2px;
}
.fe-option input:checked + span {
	border-color: var(--pbmit-blackish-color);
	background: rgba(var(--pbmit-blackish-color-rgb), .06);
}
.fe-option input:checked + span b {
	background: var(--pbmit-blackish-color);
	border-color: var(--pbmit-blackish-color);
	color: var(--pbmit-white-color);
}

/* Text inputs */
.fe-card .form-control,
.fe-card .form-select {
	height: 52px;
	border: 1.5px solid #d9e2ec;
	border-radius: 10px;
	padding: 10px 16px;
	background-color: var(--pbmit-white-color);
	color: var(--pbmit-blackish-color);
	margin-bottom: 0;
	font-size: 16px;
}
.fe-card textarea.form-control {
	height: auto;
	min-height: 90px;
}
.fe-card .form-control:focus,
.fe-card .form-select:focus {
	border-color: var(--pbmit-blackish-color);
	box-shadow: none;
}
.fe-row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}
.fe-field label {
	display: block;
	font-weight: 600;
	color: var(--pbmit-blackish-color);
	margin-bottom: 6px;
	font-size: 15px;
}
/* Phone with country code */
.fe-phone {
	display: flex;
	gap: 8px;
}
.fe-phone .form-control {
	flex: 1 1 auto;
	min-width: 0;
}
.fe-code {
	flex: 0 0 104px;
}

/* ---------- Custom dropdown ---------- */
.fe-select {
	position: relative;
}
/* Real <select> stays in the form for the value, but is hidden */
.fe-select > select {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
	left: 0;
	bottom: 0;
}
.fe-select-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	height: 52px;
	padding: 0 14px 0 16px;
	border: 1.5px solid #d9e2ec;
	border-radius: 10px;
	background: var(--pbmit-white-color);
	color: var(--pbmit-blackish-color);
	font-family: var(--pbmit-body-typography-font-family);
	font-size: 16px;
	font-weight: 500;
	text-align: left;
	cursor: pointer;
	transition: border-color .2s;
}
.fe-select-value {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.fe-select-value.is-placeholder {
	color: #909193;
	font-weight: 400;
}
.fe-select-chev {
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
	transition: transform .2s;
}
.fe-select-trigger:hover,
.fe-select-trigger:focus-visible,
.fe-select.is-open .fe-select-trigger {
	border-color: var(--pbmit-blackish-color);
	outline: none;
}
.fe-select.is-open .fe-select-chev {
	transform: rotate(180deg);
}
.fe-select-trigger.fe-invalid {
	border-color: #e5484d;
}
.fe-select-code .fe-select-value {
	font-weight: 600;
}

.fe-select-panel {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 100%;
	padding: 6px;
	background: var(--pbmit-white-color);
	border: 1px solid #e3eaf1;
	border-radius: 12px;
	box-shadow: 0 16px 40px rgba(var(--pbmit-blackish-color-rgb), .15);
	z-index: 30;
	animation: feFade .15s ease;
}
.fe-select.is-open .fe-select-panel {
	display: block;
}
.fe-select.is-up .fe-select-panel {
	top: auto;
	bottom: calc(100% + 6px);
}
.fe-select-code .fe-select-panel {
	width: 280px;
}
.fe-card .fe-select-search {
	display: block;
	width: 100%;
	height: 40px;
	margin: 0 0 6px;
	padding: 0 12px;
	border: 1.5px solid #d9e2ec;
	border-radius: 8px;
	font-size: 15px;
	color: var(--pbmit-blackish-color);
	background: var(--pbmit-light-color);
}
.fe-card .fe-select-search:focus {
	border-color: var(--pbmit-blackish-color);
	background: var(--pbmit-white-color);
}
.fe-select-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 260px;
	overflow-y: auto;
	overscroll-behavior: contain;
}
.fe-select-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 8px;
	color: var(--pbmit-blackish-color);
	font-size: 15px;
	line-height: 1.3;
	cursor: pointer;
}
.fe-select-list li[hidden] {
	display: none;
}
.fe-select-list li.is-active {
	background: rgba(var(--pbmit-blackish-color-rgb), .06);
}
.fe-select-list li.is-selected {
	background: var(--pbmit-blackish-color);
	color: var(--pbmit-white-color);
	font-weight: 600;
}
.fe-select-extra {
	color: #52606d;
	font-weight: 600;
	font-size: 14px;
}
.fe-select-list li.is-selected .fe-select-extra {
	color: var(--pbmit-white-color);
}
.fe-select-empty {
	display: none;
	padding: 10px 12px;
	font-size: 14px;
	color: #909193;
}
.fe-select-list::-webkit-scrollbar {
	width: 6px;
}
.fe-select-list::-webkit-scrollbar-thumb {
	background: #c3cfdb;
	border-radius: 6px;
}
.fe-phone-hint {
	font-size: 13px;
	margin: 6px 0 0;
}
.fe-conditional {
	display: none;
	margin-top: 14px;
}
.fe-conditional.is-visible {
	display: block;
}

/* Consent */
.fe-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-top: 20px;
	font-size: 14px;
	cursor: pointer;
}
/* Custom checkbox – the theme sets appearance:none on input:hover, which hid the native box */
.fe-card .fe-consent input[type="checkbox"],
.fe-card .fe-consent input[type="checkbox"]:hover,
.fe-card .fe-consent input[type="checkbox"]:focus {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	border: 1.5px solid #c3cfdb;
	border-radius: 5px;
	background: var(--pbmit-white-color) no-repeat center / 14px 14px;
	cursor: pointer;
	transition: background-color .2s, border-color .2s;
}
.fe-card .fe-consent:hover input[type="checkbox"] {
	border-color: var(--pbmit-blackish-color);
}
.fe-card .fe-consent input[type="checkbox"]:focus-visible {
	outline: 3px solid rgba(var(--pbmit-blackish-color-rgb), .3) !important;
	outline-offset: 2px;
}
.fe-card .fe-consent input[type="checkbox"]:checked {
	border-color: var(--pbmit-blackish-color);
	background-color: var(--pbmit-blackish-color);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Errors */
.fe-error {
	display: none;
	margin-top: 10px;
	color: #e5484d;
	font-size: 14px;
	font-weight: 500;
}
.fe-error.is-visible {
	display: block;
}
.fe-invalid span,
.fe-card .form-control.fe-invalid {
	border-color: #e5484d !important;
}

/* Honeypot */
.fe-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Nav buttons */
.fe-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 32px;
}
.fe-btn-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 26px;
	border: 1.5px solid #d9e2ec;
	border-radius: 30px;
	background: var(--pbmit-white-color);
	color: var(--pbmit-blackish-color);
	font-family: var(--pbmit-btn-typography-font-family);
	font-size: var(--pbmit-btn-typography-font-size);
	font-weight: var(--pbmit-btn-typography-variant);
	line-height: var(--pbmit-btn-typography-line-height);
	transition: border-color .2s, background-color .2s;
}
.fe-btn-back svg {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
}
.fe-btn-back:hover {
	border-color: var(--pbmit-blackish-color);
}
.fe-btn-back[hidden] {
	display: inline-flex !important;
	visibility: hidden;
}
.fe-nav .pbmit-btn {
	margin-left: auto;
	background-color: var(--pbmit-blackish-color);
	color: var(--pbmit-white-color);
}
.fe-nav .pbmit-btn:hover,
.fe-nav .pbmit-btn:focus {
	background-color: var(--pbmit-secondary-color);
	color: var(--pbmit-white-color);
}
.fe-nav .pbmit-btn[disabled] {
	opacity: .7;
	cursor: wait;
}

/* Success screen */
.fe-success {
	display: none;
	text-align: center;
	padding: 20px 0;
}
.fe-success.is-visible {
	display: block;
	animation: feFade .35s ease;
}
.fe-success-icon {
	width: 80px;
	height: 80px;
	line-height: 80px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: var(--pbmit-blackish-color);
	color: var(--pbmit-white-color);
	font-size: 34px;
}
.fe-success h3 {
	margin-bottom: 12px;
}
.fe-success p {
	margin-bottom: 26px;
}
.fe-wa-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	border-radius: 50px;
	background: #25d366;
	color: #fff !important;
	font-weight: 600;
}
.fe-wa-btn:hover {
	background: #1eb457;
}

/* ---------- Header (all pages) ---------- */
/* Keep the header button on one line */
.site-header .pbmit-header-button2 .pbmit-btn,
.site-header .pbmit-header-button2 .pbmit-button-text {
	white-space: nowrap;
}
/* Desktop: the header button is the CTA, so hide the extra menu item to keep the menu on one line.
   Mobile (<=1200px): the header button is hidden by the theme, so the menu item shows instead. */
@media (min-width: 1201px) {
	.main-menu .navigation > li.fe-menu-item {
		display: none;
	}
}
@media (min-width: 1201px) and (max-width: 1366px) {
	.site-header .pbmit-header-button2 .pbmit-btn {
		padding-left: 26px;
		padding-right: 26px;
	}
}
.main-menu .navigation > li.fe-menu-item > a {
	color: var(--pbmit-global-color);
}

/* ---------- Homepage CTA band ---------- */
.fe-cta-band {
	padding: 60px 0;
	background: var(--pbmit-blackish-color);
}
.fe-cta-band .fe-cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}
.fe-cta-band .pbmit-subtitle {
	color: var(--pbmit-global-color);
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 8px;
	display: block;
}
.fe-cta-band h2 {
	color: var(--pbmit-white-color);
	font-size: 36px;
	line-height: 1.25;
	margin-bottom: 10px;
}
.fe-cta-band p {
	color: rgba(255, 255, 255, .75);
	margin: 0;
}
.fe-cta-band .pbmit-btn {
	flex-shrink: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
	.fe-info {
		margin-bottom: 40px;
	}
}
@media (max-width: 767px) {
	.fe-section {
		padding: 50px 0;
	}
	.fe-card {
		padding: 24px 18px;
		border-radius: 16px;
	}
	.fe-info h2,
	.fe-cta-band h2 {
		font-size: 28px;
	}
	.fe-label {
		font-size: 18px;
	}
	.fe-row,
	.fe-options.cols-2 {
		grid-template-columns: 1fr;
	}
	.fe-cta-band .fe-cta-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}
