/* ==========================================================================
   Shared section primitives — NextGen Academy + Community Development pages
   (eyebrow, section heading, buttons, banner)
   ========================================================================== */

.ng-section {
	padding: 96px 0;
}

.ng-accent {
	color: #2ecc71;
}

/* ---------- Eyebrow ---------- */
.ng-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: #333;
	margin-bottom: 0.9rem;
}

.ng-eyebrow__dot {
	width: 20px;
	height: 20px;
	border: 2px dotted #2ecc71;
	border-radius: 50%;
	flex-shrink: 0;
	animation: ng-spin 8s linear infinite;
}

.ng-eyebrow--light {
	color: rgba(255, 255, 255, 0.85);
}

@keyframes ng-spin {
	to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	.ng-eyebrow__dot { animation: none; }
}

/* ---------- Section heading ---------- */
.ng-head {
	max-width: 720px;
	margin-bottom: 48px;
}

.ng-head--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.ng-head__kicker {
	font-size: 1rem;
	font-weight: 500;
	color: #555;
	margin-bottom: 0.5rem;
}

.ng-head__title {
	font-size: clamp(1.9rem, 4vw, 2.75rem);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #111;
	margin-bottom: 1.1rem;
}

.ng-head__lede {
	color: #555;
	font-size: 1rem;
	line-height: 1.75;
	margin-bottom: 0.9rem;
}

.ng-head__lede:last-child {
	margin-bottom: 0;
}

.ng-head--light .ng-eyebrow     { color: rgba(255, 255, 255, 0.85); }
.ng-head--light .ng-head__kicker { color: rgba(255, 255, 255, 0.7); }
.ng-head--light .ng-head__title  { color: #fff; }
.ng-head--light .ng-head__lede   { color: rgba(255, 255, 255, 0.75); }

/* ---------- Buttons ---------- */
.ng-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.ng-btns--center {
	justify-content: center;
}

.ng-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.75rem;
	border: 0;
	border-radius: 999px;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

a.ng-btn:hover {
	transform: translateY(-2px);
}

.ng-btn:focus-visible {
	outline: 2px solid #2ecc71;
	outline-offset: 3px;
}

.ng-btn--primary,
.ng-btn--primary:hover {
	color: #fff;
}
.ng-btn--primary       { background: #2ecc71; }
.ng-btn--primary:hover { background: #24b462; }

.ng-btn--dark,
.ng-btn--dark:hover {
	color: #fff;
}
.ng-btn--dark       { background: #111; }
.ng-btn--dark:hover { background: #2ecc71; }

.ng-btn--outline {
	background: transparent;
	color: #111;
	box-shadow: inset 0 0 0 1.5px #111;
}
.ng-btn--outline:hover {
	background: #111;
	color: #fff;
}

.ng-btn--ghost-light {
	background: transparent;
	color: #fff;
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.8);
}
.ng-btn--ghost-light:hover {
	background: #fff;
	color: #111;
}

.ng-btn--disabled {
	background: #eceff1;
	color: #5f6368;
	cursor: not-allowed;
}

/* ---------- Banner (CTA strip) ---------- */
.ng-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	margin-top: 64px;
	padding: 40px 48px;
	border-radius: 24px;
}

.ng-banner__title {
	font-size: 1.6rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.ng-banner p {
	margin: 0;
	max-width: 640px;
	line-height: 1.7;
}

.ng-banner .ng-btn {
	flex-shrink: 0;
}

.ng-banner--green                    { background: #eaf7ef; }
.ng-banner--green .ng-banner__title  { color: #111; }
.ng-banner--green p                  { color: #444; }

.ng-banner--dark                     { background: #0f1712; }
.ng-banner--dark .ng-banner__title   { color: #fff; }
.ng-banner--dark p                   { color: rgba(255, 255, 255, 0.75); }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
	.ng-section {
		padding: 72px 0;
	}

	.ng-head {
		margin-bottom: 36px;
	}

	.ng-banner {
		flex-direction: column;
		align-items: flex-start;
		padding: 32px 24px;
		margin-top: 48px;
	}
}
