/* NINSS site footer — shared by every page (standalone; does not need the other ninss-*.css files) */
.nf {
	--nf-navy: #273171;
	--nf-deep: #141942;
	--nf-red: #c8102e;
	--nf-sky: #6ec1e4;
	--nf-text: #b9c0e6;
	position: relative;
	overflow: hidden;
	background: radial-gradient(900px 420px at 100% 0%, rgba(58, 74, 168, .55), transparent 65%), linear-gradient(160deg, #1d245e, var(--nf-deep));
	color: var(--nf-text);
	font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 15px;
	line-height: 1.65;
}
.nf *, .nf *::before, .nf *::after { box-sizing: border-box; }
.nf::before {
	content: "";
	position: absolute;
	left: -160px;
	bottom: -220px;
	width: 480px;
	height: 480px;
	border-radius: 50%;
	border: 70px solid rgba(255, 255, 255, .03);
	pointer-events: none;
}
.nf-wrap { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.nf a { color: var(--nf-text) !important; text-decoration: none !important; transition: color .2s; }
.nf a:hover { color: #fff !important; }
.nf a:focus-visible { outline: 2px solid var(--nf-sky); outline-offset: 3px; border-radius: 4px; }

/* Admissions strip */
.nf-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 40px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.nf-cta h2 { margin: 0 0 4px; color: #fff; font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; line-height: 1.25; }
.nf-cta p { margin: 0; }
.nf .nf-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 26px;
	border-radius: 999px;
	background: var(--nf-red);
	color: #fff !important;
	font-weight: 700;
	box-shadow: 0 10px 24px rgba(200, 16, 46, .35);
	transition: transform .25s, box-shadow .25s;
}
.nf .nf-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(200, 16, 46, .45); }

/* Columns */
.nf-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
	gap: 40px;
	padding: 56px 0 48px;
}
.nf-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.nf-brand img { width: 64px !important; height: 64px !important; max-width: none !important; object-fit: contain; background: #fff; border-radius: 16px; padding: 4px; }
.nf-brand strong { display: block; color: #fff; font-size: 17px; line-height: 1.25; }
.nf-brand span { font-size: 13px; color: var(--nf-sky); letter-spacing: .04em; }
.nf-about { margin: 0 0 20px; }
.nf-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nf-badges li {
	font-size: 12px;
	font-weight: 600;
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	color: #e2e6f8;
}
.nf h3 {
	margin: 0 0 18px;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.nf h3::after { content: ""; display: block; width: 28px; height: 2px; margin-top: 10px; background: var(--nf-red); }
.nf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nf-list a { display: inline-flex; align-items: center; }
.nf-list a::before { content: ""; width: 0; height: 2px; margin-right: 0; background: var(--nf-sky); transition: width .25s, margin-right .25s; }
.nf-list a:hover::before { width: 10px; margin-right: 8px; }
.nf-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.nf-contact li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.nf-ico {
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: rgba(255, 255, 255, .08);
	color: var(--nf-sky);
}
.nf-contact small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #8890c4; }
.nf-contact a, .nf-contact address { color: #fff !important; font-style: normal; font-weight: 500; }

/* Bottom bar */
.nf-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 22px 0;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: 14px;
}
.nf-bottom p { margin: 0; }
.nf-credit a { color: #fff !important; font-weight: 700; border-bottom: 1px solid rgba(110, 193, 228, .6); }
.nf-credit a:hover { border-color: #fff; }
.nf .nf-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 999;
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--nf-navy);
	color: #fff !important;
	box-shadow: 0 10px 24px rgba(20, 25, 66, .35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity .3s, transform .3s, visibility 0s .3s, background .2s;
}
.nf .nf-top.is-shown { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s, background .2s; }
.nf .nf-top:hover { background: var(--nf-red); }

@media (max-width: 1024px) {
	.nf-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 600px) {
	.nf-cta { flex-direction: column; align-items: flex-start; padding: 32px 0; }
	.nf-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding: 40px 0 32px; }
	.nf-col-about, .nf-col-contact { grid-column: span 2; }
	.nf-bottom { flex-direction: column; align-items: flex-start; padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
	.nf *, .nf .nf-top { transition: none !important; }
}

/* Top contact bar — shared by every page */
.nt {
	width: 100%;
	background: linear-gradient(90deg, #141942, #273171 55%, #2f3a8a);
	border-bottom: 2px solid #c8102e;
	color: #d9ddf5;
	font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 14px;
	line-height: 1.4;
}
.nt *, .nt *::before, .nt *::after { box-sizing: border-box; }
.nt-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1200px; margin: 0 auto; padding: 8px 20px; }
.nt-contact { display: flex; flex-wrap: wrap; align-items: center; margin: 0 !important; padding: 0 !important; list-style: none; }
.nt-contact li { margin: 0; padding: 0; }
.nt-contact li + li { margin-left: 20px; padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .16); }
.nt a { display: inline-flex; align-items: center; gap: 8px; color: #d9ddf5 !important; text-decoration: none !important; transition: color .2s, background .2s, transform .2s; }
.nt-contact a:hover { color: #fff !important; }
.nt-contact svg { flex: none; color: #6ec1e4; }
.nt a:focus-visible { outline: 2px solid #6ec1e4; outline-offset: 3px; border-radius: 4px; }
.nt-social { display: flex; align-items: center; gap: 8px; flex: none; }
.nt-social > span { margin-right: 4px; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #9aa3d6; }
.nt-social a { justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff !important; }
.nt-social a:hover { transform: translateY(-2px); }
.nt-social a.is-fb:hover { background: #1877f2; }
.nt-social a.is-ig:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.nt-social a:focus-visible { border-radius: 50%; }
@media (max-width: 900px) {
	.nt-addr { display: none; }
}
@media (max-width: 600px) {
	.nt { font-size: 13px; }
	.nt-wrap { padding: 6px 16px; }
	.nt-social > span { display: none; }
	.nt-contact li + li { margin-left: 12px; padding-left: 12px; }
}
@media (max-width: 400px) {
	.nt-email span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.nt a { transition: none; }
	.nt-social a:hover { transform: none; }
}
