/* ==========================================================================
   NextGen Academy page
   ========================================================================== */

/* ---------- Hero ---------- */
.ng-hero {
	background:
		radial-gradient(ellipse at 85% 15%, rgba(46, 204, 113, 0.18), transparent 55%),
		#0c0f0d;
	color: #fff;
	padding: 168px 0 96px;
	overflow: hidden;
}

.ng-hero__inner {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 56px;
	align-items: center;
}

.ng-hero__title {
	color: #fff;
	font-size: clamp(2.4rem, 5.5vw, 4rem);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -0.03em;
	margin-bottom: 1.25rem;
}

.ng-hero__lede {
	color: rgba(255, 255, 255, 0.8);
	font-size: 1.05rem;
	line-height: 1.75;
	max-width: 560px;
	margin-bottom: 1.5rem;
}

.ng-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 2rem;
}

.ng-hero__badges li {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.85rem;
	color: #fff;
}

.ng-hero__badges svg {
	color: #2ecc71;
	flex-shrink: 0;
}

.ng-hero__media {
	position: relative;
	margin: 0;
}

.ng-hero__media img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 28px;
	border: 4px solid #2ecc71;
}

.ng-hero__chip {
	position: absolute;
	left: -24px;
	bottom: 32px;
	display: flex;
	flex-direction: column;
	padding: 14px 20px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
	line-height: 1.2;
}

.ng-hero__chip strong {
	font-size: 1.6rem;
	font-weight: 700;
	color: #111;
}

.ng-hero__chip span {
	font-size: 0.8rem;
	color: #555;
}

/* ---------- About, mission & vision ---------- */
.ng-about__grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 64px;
	align-items: start;
}

.ng-about .ng-head {
	margin-bottom: 0;
}

.ng-about__cards {
	display: grid;
	gap: 20px;
}

.ng-mv {
	padding: 32px;
	border-radius: 20px;
	background: #f4faf6;
	border: 1px solid #e1f2e7;
}

.ng-mv__title {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 1.15rem;
	font-weight: 600;
	margin-bottom: 0.6rem;
	color: #111;
}

.ng-mv__title::before {
	content: '';
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #2ecc71;
}

.ng-mv__text {
	margin: 0;
	color: #444;
	line-height: 1.7;
}

.ng-mv--vision {
	background: #0f1712;
	border-color: #0f1712;
}

.ng-mv--vision .ng-mv__title { color: #fff; }
.ng-mv--vision .ng-mv__text  { color: rgba(255, 255, 255, 0.8); }

/* ---------- Impact ---------- */
.ng-impact {
	background:
		radial-gradient(ellipse at 10% 100%, rgba(46, 204, 113, 0.14), transparent 50%),
		#0c0f0d;
}

.ng-impact__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.ng-impact__card {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 28px 24px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.ng-impact__value {
	font-size: clamp(2rem, 3.5vw, 2.75rem);
	font-weight: 700;
	line-height: 1;
	color: #2ecc71;
}

.ng-impact__label {
	font-weight: 600;
	color: #fff;
}

.ng-impact__desc {
	font-size: 0.9rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.65);
}

/* ---------- Programmes ---------- */
.ng-programmes {
	background: #f7faf8;
	scroll-margin-top: 80px;
}

.ng-programmes__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.ng-prog {
	display: flex;
	flex-direction: column;
	padding: 28px;
	border-radius: 22px;
	background: #fff;
	border: 1px solid #e6ece8;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ng-prog:hover {
	box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.25);
	transform: translateY(-3px);
}

.ng-prog.is-open {
	border-top: 4px solid #2ecc71;
}

.ng-prog__status {
	align-self: flex-start;
	margin-bottom: 1rem;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.is-open .ng-prog__status   { background: #e3f7eb; color: #17703d; }
.is-closed .ng-prog__status { background: #f1f3f4; color: #5f6368; }

.ng-prog__title {
	font-size: 1.3rem;
	font-weight: 600;
	line-height: 1.25;
	margin-bottom: 0.4rem;
	color: #111;
}

.ng-prog__tagline {
	font-size: 0.95rem;
	font-weight: 500;
	color: #17703d;
	margin-bottom: 0.9rem;
}

.ng-prog__desc {
	font-size: 0.95rem;
	line-height: 1.7;
	color: #555;
	margin-bottom: 0.9rem;
}

.ng-prog__explore {
	margin-bottom: 1.5rem;
	padding: 14px 16px;
	border-radius: 12px;
	background: #f7faf8;
	font-size: 0.88rem;
	line-height: 1.6;
	color: #555;
}

.ng-prog__explore strong {
	display: block;
	margin-bottom: 0.2rem;
	color: #111;
}

.ng-prog__cta {
	margin-top: auto;
}

.ng-prog__cta .ng-btn {
	width: 100%;
}

/* ---------- Alumni ---------- */
.ng-alumni {
	scroll-margin-top: 80px;
}

.ng-alumni__sub {
	font-size: 1.15rem;
	font-weight: 600;
	margin: 0 0 20px;
}

.ng-alumni__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.ng-video {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 20px;
	background: #fff;
	border: 1px solid #e6ece8;
}

.ng-video__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(135deg, #0f1712, #1d3a28);
}

.ng-video__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ng-video__play {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #2ecc71;
	color: #fff;
	box-shadow: 0 0 0 10px rgba(46, 204, 113, 0.25);
	transition: transform 0.2s ease;
}

a.ng-video__media:hover .ng-video__play {
	transform: scale(1.08);
}

.ng-video__play svg {
	width: 26px;
	height: 26px;
	margin-left: 3px;
}

.ng-video__soon {
	position: relative;
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.2);
	font-size: 0.8rem;
	font-weight: 600;
	color: #fff;
}

.ng-video__body {
	padding: 22px 24px 26px;
}

.ng-video__label {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #17703d;
}

.ng-video__title {
	font-size: 1.1rem;
	margin: 0.4rem 0 0.5rem;
}

.ng-video__desc {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.65;
	color: #555;
}

.ng-video__who {
	margin: 0.75rem 0 0;
	font-size: 0.9rem;
	font-weight: 600;
	color: #111;
}

.ng-quote {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	margin: 0;
	padding: 32px;
	border-radius: 20px;
	background: #0f1712;
}

.ng-quote__text::before {
	content: '\201C';
	display: block;
	font-size: 4rem;
	line-height: 0.8;
	color: #2ecc71;
}

.ng-quote__text p {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.6;
	color: #fff;
}

.ng-quote__who {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.75);
}

.ng-quote__who img {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
}

.ng-quote__who strong {
	display: block;
	color: #fff;
}

.ng-alumni__outro {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 40px;
}

.ng-alumni__outro p {
	margin: 0;
	max-width: 640px;
	color: #555;
}

/* ---------- Learning experience ---------- */
.ng-experience {
	background: #fff;
}

.ng-pillars {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
	list-style: none;
}

.ng-pillar {
	padding: 24px 20px;
	border-radius: 18px;
	background: #fff;
	border: 1px solid #e6ece8;
}

.ng-pillar__num {
	font-size: 0.85rem;
	font-weight: 700;
	color: #17703d;
}

.ng-pillar__title {
	font-size: 1.05rem;
	margin: 0.6rem 0 0.4rem;
}

.ng-pillar__desc {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.6;
	color: #555;
}

/* FAQs (shared component) — tint on this page */
.ng-page .fp-faqs {
	background: #f7faf8;
}

/* ---------- Partners & employers ---------- */
.ng-partners__grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 56px;
	align-items: start;
}

.ng-partners .ng-head {
	margin-bottom: 0;
}

.ng-partners__panel {
	padding: 32px;
	border-radius: 22px;
	background: #f4faf6;
	border: 1px solid #e1f2e7;
}

.ng-partners__lead {
	font-weight: 600;
	color: #111;
	margin-bottom: 1rem;
}

.ng-checklist {
	display: grid;
	gap: 14px;
}

.ng-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	line-height: 1.55;
	color: #333;
}

.ng-checklist__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	margin-top: 1px;
	border-radius: 50%;
	background: #2ecc71;
	color: #fff;
}

.ng-checklist__icon svg {
	width: 13px;
	height: 13px;
}

/* ---------- Final CTA ---------- */
.ng-final {
	padding: 112px 0;
	text-align: center;
	background: linear-gradient(135deg, #0f3d24 0%, #145c34 50%, #1f8a4c 100%);
}

.ng-final__inner {
	max-width: 820px;
}

.ng-final .ng-eyebrow {
	justify-content: center;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ng-final__title {
	color: #fff;
	font-size: clamp(2rem, 4.5vw, 3.25rem);
	font-weight: 500;
	line-height: 1.12;
	margin-bottom: 1.25rem;
}

.ng-final .ng-accent {
	color: #b8f5cf;
}

.ng-final__lede {
	font-size: 1.05rem;
	color: rgba(255, 255, 255, 0.85);
}

.ng-final__strong {
	margin-bottom: 2rem;
	font-weight: 600;
	color: #fff;
}

.ng-final .ng-btn--primary       { background: #fff; color: #0f3d24; }
.ng-final .ng-btn--primary:hover { background: #b8f5cf; color: #0f3d24; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.ng-pillars    { grid-template-columns: repeat(3, 1fr); }
	.ng-impact__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
	.ng-hero {
		padding: 140px 0 72px;
	}

	.ng-hero__inner,
	.ng-about__grid,
	.ng-partners__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.ng-hero__media {
		max-width: 480px;
	}

	.ng-hero__chip {
		left: 16px;
	}

	.ng-programmes__grid,
	.ng-alumni__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.ng-programmes__grid,
	.ng-alumni__grid,
	.ng-impact__grid,
	.ng-pillars {
		grid-template-columns: 1fr;
	}

	.ng-alumni__outro {
		flex-direction: column;
		align-items: flex-start;
	}

	.ng-final {
		padding: 80px 0;
	}
}
