@charset "UTF-8";
/*
  teacher-theme.css - Educators Navy + Union Blue hero for teacher.ubsi.com.
  Chrome is navy; gold tokens are white per Adam (2026-08-16).
  Hero photo lives at /images/ on this host (not /lp/images/).
*/

:root {
	/* Step: page chrome = navy; white accents (no gold) */
	--blue-dark:    #003a70;
	--blue-hover:   #105fa8;
	--ctu-red:      #13294B;
	--ctu-red-dark: #1A3A5C;
	--ubsi-blue:    #2B4C7E;
	--gold:         #ffffff;
	--bg-dark:      #ffffff;
	--bg-mid:       #F8F9FA;
	--card-bg:      #ffffff;
	--border:       #cbd5e1;
	--text-main:    #212529;
	--text-muted:   #4a5568;
	--placeholder:  #999999;
	--required-asterisk: #ff6b6b;
	--ctu-z-svc-modal: 1040;
	--ilt-z-privacy-modal: 1100;
}

* { box-sizing: border-box; }

html {
	overflow-x: hidden;
	max-width: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 72px;
	/* Stop iPhone Safari from inflating small type (makes the badge look huge). */
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

body {
	margin: 0;
	font-family: system-ui, -apple-system, sans-serif;
	background: var(--bg-dark);
	color: var(--text-main);
	overflow-x: hidden;
	max-width: 100%;
}

/* -- Top Banner -- */
.ctu-top-banner {
	background: var(--ctu-red);
	color: #ffffff;
	text-align: center;
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .04em;
	overflow-wrap: break-word;
	word-break: break-word;
}
.ctu-top-banner a { color: #ffffff; text-decoration: underline; }

/* -- Nav Bar (white bar, navy text) -- */
.ctu-nav {
	background: #ffffff;
	border-bottom: 3px solid var(--ubsi-blue);
	padding: 14px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}
.ctu-nav .brand {
	font-size: 18px;
	font-weight: 700;
	color: var(--ubsi-blue);
	display: flex;
	align-items: center;
	gap: 10px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid #13294B;
	outline-offset: 2px;
}

/* -- Hero: Union Blue overlay on money-jar -- */
.ctu-hero {
	position: relative;
	border-bottom: 4px solid var(--blue-dark);
	padding: 48px 24px 60px;
	min-height: min(58vh, 560px);
	--ctu-red: #003a70;
	--ctu-red-dark: #105fa8;
	--ubsi-blue: #003a70;
	--gold: #ffffff;
	--border: #d2d3d4;
	background-color: var(--blue-dark);
	background-image:
		linear-gradient(160deg, rgba(0,58,112,0.93) 0%, rgba(0,40,80,0.95) 100%),
		url("/images/money-jar-1920w.webp");
	background-size: cover, cover;
	background-position: center, center;
	background-repeat: no-repeat;
}
@media (max-width: 1280px) {
	.ctu-hero {
		background-image:
			linear-gradient(160deg, rgba(0,58,112,0.93) 0%, rgba(0,40,80,0.95) 100%),
			url("/images/money-jar-1280w.webp");
	}
}
@media (max-width: 768px) {
	.ctu-hero {
		background-image:
			linear-gradient(160deg, rgba(0,58,112,0.94) 0%, rgba(0,40,80,0.96) 100%),
			url("/images/money-jar-768w.webp");
	}
}
@media (max-width: 480px) {
	.ctu-hero {
		background-image:
			linear-gradient(160deg, rgba(0,58,112,0.95) 0%, rgba(0,40,80,0.97) 100%),
			url("/images/money-jar-480w.webp");
		min-height: min(52vh, 520px);
	}
}
.ctu-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 1100px;
	width: 100%;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	align-items: start;
	color: #ffffff;
}
@media (min-width: 901px) {
	.ctu-hero-inner {
		grid-template-columns: 1.15fr 1fr;
		gap: 48px;
	}
}
.ctu-hero-inner > * { min-width: 0; max-width: 100%; }
.ctu-partnership-badge {
	display: inline-flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 6px;
	background: rgba(255,255,255,.12);
	border: 1px solid rgba(255,255,255,.45);
	border-radius: 100px;
	padding: 4px 12px;
	/* Scales with viewport: ~9px on iPhone, 22.4px on desktop. */
	font-size: clamp(9px, 2.2vw, 22.4px);
	font-weight: 600;
	color: #ffffff;
	letter-spacing: .04em;
	text-transform: uppercase;
	line-height: 1.2;
	margin-bottom: 16px;
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
.ctu-partnership-badge i {
	font-size: clamp(10px, 2.4vw, 16.8px);
	flex-shrink: 0;
}
@media (max-width: 767px) {
	/* Phone: small one-line chip, smaller than the H1. */
	.ctu-hero .ctu-partnership-badge {
		font-size: 10px;
		padding: 3px 10px;
		gap: 5px;
		letter-spacing: 0.02em;
		margin-bottom: 12px;
	}
	.ctu-hero .ctu-partnership-badge i { font-size: 11px; }
}
.ctu-hero h1 {
	font-size: clamp(26px, 2.8vw, 37px);
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 16px;
	text-shadow: 0 2px 12px rgba(0,0,0,0.55);
	overflow-wrap: break-word;
	max-width: 100%;
}
.ctu-hero h1 span { color: #ffffff; }
.ctu-hero .hero-sub {
	color: rgba(255,255,255,0.85);
	font-size: 18px;
	line-height: 1.6;
	margin-bottom: 28px;
	overflow-wrap: break-word;
	max-width: 100%;
}
.ctu-rebate-callout {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: rgba(255,255,255,.08);
	border-left: 4px solid #ffffff;
	padding: 14px 20px;
	border-radius: 0 8px 8px 0;
	font-size: 15px;
	margin-bottom: 12px;
	max-width: 100%;
	overflow-wrap: break-word;
}
.ctu-rebate-callout strong { color: #ffffff; }
.ctu-rebate-callout .savings { color: #ffffff; font-weight: 700; font-size: 18px; }

/* -- Form card -- */
.ctu-form-card {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 40px rgba(0,0,0,0.30);
}
.ctu-form-card-header {
	background: var(--ubsi-blue);
	color: #ffffff;
	padding: 16px 24px;
	text-align: center;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: .03em;
	white-space: normal;
	overflow-wrap: break-word;
}
.ctu-hero .ctu-form-card-header {
	background: var(--blue-dark);
	color: #ffffff;
}
.ctu-form-body { padding: 24px; }
.ctu-form-body label {
	display: block;
	font-size: 13px;
	color: var(--text-muted);
	margin-bottom: 5px;
	font-weight: 500;
}
.ctu-hero .ctu-form-body label { color: #222222; }
.ctu-form-body input:not([type="checkbox"]):not([type="radio"]),
.ctu-form-body select,
.ctu-form-body textarea {
	width: 100%;
	padding: 13px 14px;
	background: #f8f9fa;
	border: 1px solid var(--border);
	border-radius: 8px;
	color: var(--text-main);
	font-size: 15px;
	margin-bottom: 14px;
	transition: border-color .2s;
}
.ctu-hero .ctu-form-body input:not([type="checkbox"]):not([type="radio"]),
.ctu-hero .ctu-form-body select {
	background: #ffffff;
	border: 1px solid #d2d3d4;
	border-radius: 6px;
	color: #222222;
}
.ctu-hero .ctu-form-body input:not([type="checkbox"])::placeholder {
	color: #999999;
}
.ctu-form-body input:not([type="checkbox"]):not([type="radio"]):focus,
.ctu-form-body select:focus {
	outline: none;
	border-color: var(--ctu-red);
}
.ctu-hero .ctu-form-body input:not([type="checkbox"]):not([type="radio"]):focus,
.ctu-hero .ctu-form-body select:focus {
	border-color: var(--blue-dark);
}
.ctu-form-body select option { background: #ffffff; }
.ctu-optin {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 18px;
	font-size: 13px;
	color: var(--text-muted);
}
.ctu-hero .ctu-optin { color: #222222; }
.ctu-optin input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	padding: 0;
	flex-shrink: 0;
	accent-color: var(--ctu-red);
}
.ctu-hero .ctu-optin input[type="checkbox"] {
	accent-color: var(--blue-dark);
}
.btn-ctu {
	width: 100%;
	min-height: 44px;
	padding: 15px;
	background: var(--ctu-red);
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	transition: background .2s;
	letter-spacing: .02em;
	white-space: normal;
	max-width: 100%;
}
.btn-ctu:hover { background: var(--ctu-red-dark); }
.ctu-hero .btn-ctu { background: var(--blue-dark); }
.ctu-hero .btn-ctu:hover { background: var(--blue-hover); }
.form-error-msg {
	background: #fde8ea;
	border: 1px solid #b22222;
	border-radius: 8px;
	padding: 12px 16px;
	font-size: 14px;
	font-weight: 600;
	color: #b22222;
	margin-bottom: 14px;
}
.form-error-msg i {
	color: #b22222;
	margin-right: 6px;
}
.ctu-form-footer {
	text-align: center;
	font-size: 12px;
	color: var(--text-muted);
	margin-top: 14px;
}
.ctu-hero .ctu-form-footer { color: #4a5568; }
.ctu-form-footer a,
.ctu-form-footer button {
	color: var(--text-muted);
	text-decoration: underline;
}

/* -- Benefits -- */
.ctu-section { max-width: 1100px; margin: 0 auto; padding: 70px 24px; }
.ctu-section-title {
	text-align: center;
	margin-bottom: 48px;
}
.ctu-section-title .eyebrow {
	color: var(--ctu-red);
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: .14em;
	font-weight: 600;
	margin-bottom: 10px;
}
.ctu-section-title h2 {
	font-size: clamp(24px, 3vw, 36px);
	font-weight: 800;
	margin: 0;
}
.ilt-choice-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	margin-top: 28px;
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}
@media (min-width: 901px) {
	.ilt-choice-row { grid-template-columns: repeat(2, 1fr); }
}
.ilt-choice {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 24px 20px;
	text-align: center;
	text-decoration: none;
	color: inherit;
	display: block;
	transition: border-color .2s, transform .15s;
}
.ilt-choice:hover {
	border-color: var(--ctu-red);
	transform: translateY(-3px);
	color: inherit;
}
.ilt-choice i {
	font-size: 40px;
	color: var(--ctu-red);
	margin-bottom: 10px;
	display: block;
}
.ilt-choice strong { font-size: 16px; color: var(--text-main); }

.cls-client-error {
	background-color: #f8d7da !important;
	color: #58151c !important;
	border: 1px solid #f1aeb5 !important;
	font-weight: 500;
}
@keyframes cls-shake {
	0%, 100% { transform: translateX(0); }
	20% { transform: translateX(-6px); }
	40% { transform: translateX(6px); }
	60% { transform: translateX(-4px); }
	80% { transform: translateX(4px); }
}
.cls-shake { animation: cls-shake .4s ease; }

/* -- Who Qualifies -- */
.ctu-qualify-section {
	background: var(--bg-mid);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}
.ctu-qualify-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 60px 24px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
	align-items: start;
}
@media (min-width: 901px) {
	.ctu-qualify-inner { grid-template-columns: 1fr 1fr; }
}
.ctu-qualify-inner h2 {
	font-size: clamp(22px, 2.5vw, 32px);
	font-weight: 800;
	margin: 0 0 20px;
}
.ctu-qualify-inner h2 span { color: var(--ctu-red); }
.ctu-union-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 10px;
}
.ctu-union-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	color: var(--text-muted);
	line-height: 1.5;
}
.ctu-union-list li i {
	color: var(--ctu-red);
	font-size: 16px;
	margin-top: 2px;
	flex-shrink: 0;
}
.ctu-stat-blocks {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.ctu-stat {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 24px 16px;
	text-align: center;
}
.ctu-stat .stat-number {
	font-size: 30px;
	font-weight: 800;
	color: var(--ctu-red);
	display: block;
}
.ctu-stat .stat-label {
	font-size: 13px;
	color: var(--text-muted);
	margin-top: 4px;
}

/* -- CTA Strip -- */
.ctu-cta-strip {
	background: #ffffff;
	padding: 48px 24px;
	text-align: center;
	border-top: 1px solid var(--border);
}
.ctu-cta-strip h2 {
	font-size: clamp(22px, 2.5vw, 32px);
	font-weight: 800;
	margin: 0 0 8px;
	color: var(--ctu-red);
}
.ctu-cta-strip p {
	font-size: 16px;
	margin: 0 0 24px;
	color: var(--text-muted);
}
.ctu-cta-strip .btn-white {
	display: inline-block;
	padding: 14px 36px;
	background: var(--ctu-red);
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	border-radius: 10px;
	text-decoration: none;
	transition: background .2s;
}
.ctu-cta-strip .btn-white:hover { background: var(--ctu-red-dark); color: #fff; }
.ctu-cta-strip .phone-large {
	display: block;
	font-size: 22px;
	font-weight: 800;
	margin-top: 16px;
	color: var(--gold);
	text-decoration: none;
	letter-spacing: .02em;
}
/* White phone on white CTA: use navy so it stays readable */
.ctu-cta-strip .phone-large { color: var(--ctu-red); }

.btn-contact-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 22px;
	padding: 12px 22px;
	border: 2px solid #ffffff;
	border-radius: 8px;
	background: transparent;
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	white-space: normal;
	max-width: 100%;
	box-sizing: border-box;
	transition: background .2s, color .2s;
}
.ctu-hero-bullets {
	display: flex;
	gap: 20px;
	margin-top: 20px;
	flex-wrap: wrap;
}
.ctu-hero-bullets > div {
	font-size: 14px;
	color: rgba(255,255,255,0.8);
	display: flex;
	align-items: center;
	gap: 6px;
}
.ctu-hero-bullets i { color: #ffffff; }
.btn-contact-outline:hover {
	background: #ffffff;
	color: var(--blue-dark);
}

/* -- Thank-You -- */
.ctu-thanks {
	max-width: 640px;
	margin: 80px auto;
	padding: 0 24px;
	text-align: center;
}
.ctu-thanks-icon {
	width: 72px;
	height: 72px;
	background: rgba(19,41,75,.12);
	border: 2px solid var(--ctu-red);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 24px;
	font-size: 32px;
	color: var(--ctu-red);
}
.ctu-thanks h1 {
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 800;
	margin: 0 0 14px;
}
.ctu-thanks .cert-box {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 20px 24px;
	margin: 24px 0;
	font-size: 14px;
}
.ctu-thanks .cert-box .cert-id {
	font-family: monospace;
	font-size: 15px;
	color: var(--ctu-red);
	font-weight: 700;
	word-break: break-all;
}
.ctu-thanks .next-steps {
	text-align: left;
	margin-top: 28px;
}
.ctu-thanks .next-steps h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.ctu-thanks .next-steps ul {
	list-style: none;
	padding: 0;
	display: grid;
	gap: 10px;
}
.ctu-thanks .next-steps ul li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	color: var(--text-muted);
}
.ctu-thanks .next-steps ul li i { color: var(--ctu-red); margin-top: 2px; flex-shrink: 0; }

/* -- Contact page (same chrome as Benefits / Who Qualifies) -- */
.teacher-contact {
	background: var(--bg-mid);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	padding: 0 0 80px;
}
.teacher-contact .ctu-section {
	padding-bottom: 40px;
}
.teacher-contact .ctu-section-title h1 {
	font-size: clamp(24px, 3vw, 36px);
	font-weight: 800;
	margin: 0;
	color: var(--text-main);
	line-height: 1.25;
}
.teacher-contact-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	max-width: 920px;
	margin: 0 auto;
}
@media (min-width: 901px) {
	.teacher-contact-grid { grid-template-columns: 1fr 1fr; }
}
.teacher-contact-block {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 24px 22px;
	margin: 0;
	text-align: left;
}
.teacher-contact-block h2 {
	font-size: 16px;
	font-weight: 700;
	color: var(--text-main);
	margin: 0 0 12px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.teacher-contact-block h2 i {
	font-size: 22px;
	color: var(--ctu-red);
	flex-shrink: 0;
}
.teacher-contact-block p,
.teacher-contact-block address {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: var(--text-muted);
	font-style: normal;
}
.teacher-contact-block a {
	color: var(--ctu-red);
	font-weight: 600;
	text-decoration: none;
}
.teacher-contact-block a:hover,
.teacher-contact-block a:focus-visible {
	text-decoration: underline;
}
.teacher-contact-dba {
	max-width: 920px;
	margin: 28px auto 0;
	padding: 0 4px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--text-muted);
	text-align: center;
}

/* -- Footer -- */
.ctu-footer {
	background: var(--ctu-red);
	border-top: 3px solid #ffffff;
	padding: 32px 24px;
	text-align: center;
	font-size: 13px;
	color: rgba(255,255,255,0.8);
}
.ctu-footer a { color: rgba(255,255,255,0.9); text-decoration: underline; }
.ctu-footer .footer-phone {
	font-size: 18px;
	font-weight: 700;
	color: #ffffff;
	display: block;
	margin-bottom: 12px;
	text-decoration: none;
}

#privacyPolicyModal { z-index: var(--ilt-z-privacy-modal); }
.ctu-qualify-section [style*="color:#fff"],
[itemprop="acceptedAnswer"] [style*="color:#fff"] { color: var(--text-main) !important; }

@media (max-width: 900px) {
	.ilt-choice-row { grid-template-columns: 1fr; }
	.ctu-stat-blocks { grid-template-columns: 1fr 1fr; }
	body { padding-bottom: 72px; }
	.mobile-cta-bar { display: flex; }
	.ctu-hero { padding: 24px 16px 32px; min-height: 0; }
	.ctu-hero h1 {
		font-size: clamp(1.125rem, 5.2vw, 1.375rem);
		line-height: 1.25;
	}
	/* Mobile body: 16px is the iOS/Android standard (18px was too large on iPhone). */
	.ctu-hero .hero-sub {
		font-size: 16px;
		line-height: 1.5;
		margin-bottom: 20px;
		-webkit-text-size-adjust: 100%;
		text-size-adjust: 100%;
	}
	.ctu-hero .ctu-partnership-badge {
		font-size: 10px;
		padding: 3px 10px;
		gap: 5px;
		letter-spacing: 0.02em;
		margin-bottom: 12px;
	}
	.ctu-hero .ctu-partnership-badge i { font-size: 11px; }
	.ctu-form-card-header {
		font-size: 14px;
		padding: 12px 14px;
		letter-spacing: 0;
	}
	.ctu-section { padding: 40px 16px; }
	.ctu-form-body { padding: 16px; }
	.ctu-form-body input,
	.ctu-form-body select { margin-bottom: 10px; padding: 11px 12px; }
}
@media (max-width: 480px) {
	.ctu-stat-blocks { grid-template-columns: 1fr; }
	.ctu-hero .ctu-partnership-badge {
		font-size: 10px;
		padding: 3px 10px;
		gap: 5px;
		letter-spacing: 0.02em;
	}
	.ctu-hero .ctu-partnership-badge i { font-size: 11px; }
}

.mobile-cta-bar {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1030;
	background: var(--ubsi-blue);
	border-top: 3px solid var(--ctu-red);
	padding: 10px 16px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	box-shadow: 0 -4px 16px rgba(0,0,0,0.25);
}
.mobile-cta-bar-copy { flex: 1; min-width: 0; }
.mobile-cta-bar-copy .mobile-cta-title {
	font-size: 13px;
	font-weight: 700;
	color: #ffffff;
}
.mobile-cta-bar-copy .mobile-cta-sub {
	font-size: 11px;
	color: rgba(255,255,255,0.75);
	margin-top: 1px;
}
.mobile-cta-btn {
	background: var(--ctu-red);
	color: #ffffff;
	border: none;
	border-radius: 8px;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
	text-decoration: none;
}
.mobile-cta-btn:hover { background: var(--ctu-red-dark); color: #ffffff; }
