/* Extra CSS for Cybersecurity Awareness Hub */
body {
	background-color: #10131f;
}

#nav a {
	transition: transform 0.2s ease, color 0.2s ease;
}

#nav a:hover {
	transform: translateY(-4px);
}

.cyber-hero header h1 {
	line-height: 1.05;
}

.eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 0.75em;
	font-weight: 700;
	color: #2f8fdd;
	margin-bottom: 0.45em;
}

.small-note {
	font-size: 0.8em;
	margin-top: 1em;
	color: #555;
}

.threat-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25em;
	margin-top: 1.5em;
}

.threat-card {
	background: #f7f9fc;
	border: 1px solid #dde6ef;
	border-radius: 12px;
	padding: 1em;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.threat-card img {
	width: 100%;
	border-radius: 10px;
	margin-bottom: 0.85em;
}

.threat-card h3 {
	margin-bottom: 0.4em;
	color: #1f3d5a;
}

.tool-box {
	background: linear-gradient(135deg, #eef7ff, #f7fbff);
	border-left: 6px solid #2f8fdd;
	border-radius: 12px;
	padding: 1.25em;
	margin: 1.5em 0;
}

.tool-box label {
	display: block;
	font-weight: 700;
	margin-bottom: 0.5em;
}

#passwordMeter {
	width: 100%;
	height: 1em;
	margin: 0.8em 0 0.3em;
}

.feedback {
	font-weight: 700;
	margin-bottom: 0;
}

.habit-list {
	background: #fafafa;
	border-radius: 12px;
	padding: 1.25em 1.5em;
	border: 1px solid #e2e2e2;
}

.habit-list ul {
	margin-bottom: 0;
}

form label {
	font-weight: 700;
	font-size: 0.9em;
	margin-bottom: 0.35em;
	display: inline-block;
}

.secondary-button {
	margin-left: 0.5em;
	background-color: #666 !important;
}

@media screen and (max-width: 736px) {
	.threat-grid {
		grid-template-columns: 1fr;
	}

	.secondary-button {
		margin-left: 0;
		margin-top: 0.7em;
	}
}

/* Cybersecurity image updates */
body {
	background-image: url("images/overlay.png"), url("images/bg.jpg");
	background-size: auto, cover;
	background-position: top left, center center;
	background-attachment: fixed, fixed;
}

.cyber-hero .pic img {
	object-fit: cover;
	object-position: center center;
	min-height: 100%;
}

.cyber-hero .pic {
	background: #0b1427;
}
