﻿/* â”€â”€ Dark alternate-section text overrides (section-light = #2f6142, section-dark = #2f6142) â”€â”€ */
[style*="section-light"],
[style*="section-dark"] {
	color: #fff;
}

[style*="section-light"] h2,
[style*="section-light"] h3,
[style*="section-light"] h4,
[style*="section-light"] strong,
[style*="section-dark"] h2,
[style*="section-dark"] h3,
[style*="section-dark"] h4,
[style*="section-dark"] strong {
	color: #fff;
}

[style*="section-light"] p,
[style*="section-light"] li,
[style*="section-light"] span,
[style*="section-dark"] p,
[style*="section-dark"] li,
[style*="section-dark"] span {
	color: rgba(255, 255, 255, .9);
}

[style*="section-light"] a:not(.btn):not(.btn-gradient),
[style*="section-dark"] a:not(.btn):not(.btn-gradient) {
	color: #b8e6c8;
}

[style*="section-light"] a:not(.btn):not(.btn-gradient):hover,
[style*="section-dark"] a:not(.btn):not(.btn-gradient):hover {
	color: #fff;
}

[style*="section-light"] .section-header p,
[style*="section-dark"] .section-header p {
	color: rgba(255, 255, 255, .85);
}

[style*="section-light"] .indicator-card,
[style*="section-light"] .service-tier-card,
[style*="section-dark"] .indicator-card,
[style*="section-dark"] .service-tier-card {
	background: rgba(255, 255, 255, .1);
	border-color: rgba(255, 255, 255, .15);
}

[style*="section-light"] .indicator-card h3,
[style*="section-light"] .indicator-card p,
[style*="section-light"] .service-tier-card h3,
[style*="section-light"] .service-tier-card p,
[style*="section-light"] .service-tier-card li,
[style*="section-dark"] .indicator-card h3,
[style*="section-dark"] .indicator-card p,
[style*="section-dark"] .service-tier-card h3,
[style*="section-dark"] .service-tier-card p,
[style*="section-dark"] .service-tier-card li {
	color: #fff;
}

/* â”€â”€ Standalone indicator card components (used on dark sections) â”€â”€ */
.rankings-indicator-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.5rem;
	margin-top: 1rem;
}

.indicator-card {
	padding: 1.5rem;
	border-radius: .75rem;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .15);
}

.indicator-icon-wrap {
	margin-bottom: 1rem;
	opacity: .9;
}

.indicator-name {
	font-size: 1.05rem;
	font-weight: 600;
	margin-bottom: .5rem;
	color: inherit;
}

.indicator-desc {
	font-size: .9rem;
	color: rgba(255, 255, 255, .8);
	line-height: 1.6;
	margin: 0;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: "Raleway", system-ui, sans-serif;
	color: var(--gray-900);
	background: var(--gray-100);
	line-height: 1.6;
	padding-top: 112px;
}

body.header-compact {
	padding-top: 72px;
}

h1,
h2,
h3,
h4 {
	font-family: "Montserrat", "Merriweather", serif;
}

.news-date,
.countdown span,
.event-card,
.btn {
	font-family: "Poppins", system-ui, sans-serif;
}

.section {
	padding: 3.75rem 0;
}

.section p {
	color: var(--gray-700);
	margin-bottom: 1rem;
	text-align: justify;
}

.section .muted {
	color: var(--gray-700);
	margin-top: 1rem;
}

.section .list {
	margin-top: 1rem;
	padding-left: 1.2rem;
	color: var(--gray-700);
}

/* â”€â”€ Dark-section overrides (specificity bump: .section + [attr]) â”€â”€ */
.section[style*="section-dark"] p,
.section[style*="section-dark"] li,
.section[style*="section-dark"] span,
.section[style*="section-light"] p,
.section[style*="section-light"] li,
.section[style*="section-light"] span {
	color: rgba(255, 255, 255, .9);
}

.section[style*="section-dark"] h2,
.section[style*="section-dark"] h3,
.section[style*="section-dark"] h4,
.section[style*="section-dark"] strong,
.section[style*="section-light"] h2,
.section[style*="section-light"] h3,
.section[style*="section-light"] h4,
.section[style*="section-light"] strong {
	color: #fff;
}

.section[style*="section-dark"] .muted,
.section[style*="section-light"] .muted {
	color: rgba(255, 255, 255, .85);
}

.section[style*="section-dark"] .list,
.section[style*="section-light"] .list {
	color: rgba(255, 255, 255, .9);
}

.section[style*="section-dark"] .section-header p,
.section[style*="section-light"] .section-header p {
	color: rgba(255, 255, 255, .85);
}

/* Metric cards inside dark sections */
.section[style*="section-dark"] .metric-card,
.section[style*="section-light"] .metric-card {
	background: rgba(255, 255, 255, .10);
	border-color: rgba(255, 255, 255, .15);
}

.section[style*="section-dark"] .metric-card h3,
.section[style*="section-dark"] .metric-card p,
.section[style*="section-light"] .metric-card h3,
.section[style*="section-light"] .metric-card p {
	color: #fff;
}

.section[style*="section-dark"] .metric-icon,
.section[style*="section-light"] .metric-icon {
	background: rgba(255, 255, 255, .15);
	color: #fff;
}

/* Stat cards inside dark sections */
.section[style*="section-dark"] .stat-card,
.section[style*="section-light"] .stat-card {
	background: rgba(255, 255, 255, .10);
	border-color: rgba(255, 255, 255, .15);
}

.section[style*="section-dark"] .stat-value,
.section[style*="section-light"] .stat-value {
	color: #fff;
}

.section[style*="section-dark"] .stat-card span,
.section[style*="section-light"] .stat-card span {
	color: rgba(255, 255, 255, .85);
}

/* Indicator cards inside dark sections (info-session page) */
.section[style*="section-dark"] .indicator-card,
.section[style*="section-light"] .indicator-card {
	background: rgba(255, 255, 255, .10);
	border-color: rgba(255, 255, 255, .15);
}

.section[style*="section-dark"] .indicator-card h3,
.section[style*="section-dark"] .indicator-card p,
.section[style*="section-light"] .indicator-card h3,
.section[style*="section-light"] .indicator-card p {
	color: #fff;
}

/* Text links on dark sections */
.section[style*="section-dark"] a:not(.btn):not(.btn-gradient),
.section[style*="section-light"] a:not(.btn):not(.btn-gradient) {
	color: #b8e6c8;
}

.section[style*="section-dark"] a:not(.btn):not(.btn-gradient):hover,
.section[style*="section-light"] a:not(.btn):not(.btn-gradient):hover {
	color: #fff;
}

/* â”€â”€ White-card text resets inside green sections â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   Both --section-light and --section-dark are #2f6142 (dark green),
   so section-level text is correctly white. But white-bg cards nested
   inside these sections need their text colours restored to dark.
   Specificity (0,3,1) beats the generic overrides above (0,2,1).    â”€â”€ */

/* Services icon cards */
.section[style*="section-"] .services-icon-card h3 {
	color: var(--green-900);
}

.section[style*="section-"] .services-icon-card p {
	color: #2f6142;
}

/* Pricing cards */
.section[style*="section-"] .pricing-desc {
	color: #2f6142;
}

.section[style*="section-"] .pricing-features li {
	color: #3a3a3a;
}

.section[style*="section-"] .pricing-features li em {
	color: #777;
}

.section[style*="section-"] .pricing-badge {
	color: #fff;
}

/* Testimonial cards */
.section[style*="section-"] .service-testimonial-body blockquote {
	color: #2f6142;
}

.section[style*="section-"] .service-testimonial-body strong {
	color: var(--green-900);
}

.section[style*="section-"] .service-testimonial-body span {
	color: #777;
}

/* Network Role cards */
.section[style*="section-"] .nw-role-card p {
	color: #444;
}

.section[style*="section-"] .nw-role-card h4 {
	color: var(--green-900);
}

.section[style*="section-"] .nw-role-card li {
	color: var(--gray-700);
}

.section[style*="section-"] .nw-role-badge {
	color: #fff;
}

.section[style*="section-"] .nw-role-header h3 {
	color: #fff;
}

/* Ranking cards (network programs grid) */
.section[style*="section-"] .ranking-card h3 {
	color: var(--green-900);
}

.section[style*="section-"] .ranking-card p {
	color: var(--gray-700);
}

.section[style*="section-"] .ranking-card .text-link {
	color: var(--green-600);
}

/* Benefit / beneficiary items */
.section[style*="section-"] .beneficiary-item span {
	color: #3a3a3a;
}

.section[style*="section-"] .benefit-item p {
	color: #3a3a3a;
}

/* Registration FAQ cards */
.section[style*="section-"] .reg-faq-item h4 {
	color: var(--gray-900);
}

.section[style*="section-"] .reg-faq-item p {
	color: var(--gray-600);
}

/* Contact info card (has its own dark bg, keep white) */
.section .contact-info-card strong,
.section .contact-info-card span,
.section .contact-info-card a {
	color: #fff;
}

.page-hero {
	position: relative;
	padding: 6.5rem 0 4.5rem;
	overflow: hidden;
	color: var(--white);
}

.page-hero--about {
	min-height: 55vh;
	display: flex;
	align-items: center;
}

.page-hero--rankings {
	min-height: 45vh;
	display: flex;
	align-items: center;
}

.page-hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0.8;
}

.page-hero--rankings .page-hero-bg {
	opacity: 0.55;
}

.page-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, rgba(10, 39, 20, 0.8), rgba(16, 73, 35, 0.4));
}

.page-hero-content {
	position: relative;
	text-align: left;
}

.page-hero-content h1 {
	font-size: clamp(2.1rem, 4vw, 3.4rem);
	margin: 0.75rem 0 0.5rem;
}

.page-hero-content .hero-subtitle {
	font-size: 1.1rem;
	max-width: 560px;
	color: rgba(255, 255, 255, 0.85);
}

.eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-size: 0.75rem;
	font-weight: 600;
}

.about-story-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
	align-items: center;
}

.about-video-card {
	background: var(--white);
	border-radius: 18px;
	box-shadow: var(--shadow);
	padding: 1rem;
}

.about-video-frame {
	position: relative;
	padding-top: 56.25%;
	border-radius: 14px;
	overflow: hidden;
	background: #e8ede9;
}

.about-image-frame {
	position: relative;
	border-radius: 1px;
	overflow: hidden;
	background: #e8ede9;
}

.about-video-frame iframe,
.about-video-frame img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
}

.stats-grid {
	margin-top: 2.5rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
}

.stat-card {
	background: var(--white);
	border-radius: 16px;
	padding: 1.5rem;
	border: 1px solid rgba(47, 125, 77, 0.15);
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
	text-align: left;
}

.stat-icon {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: rgba(47, 125, 77, 0.12);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0.75rem;
	color: var(--green-700);
}

.stat-icon svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.stat-value {
	font-size: 1.7rem;
	color: var(--green-700);
	display: block;
	font-weight: 700;
}


/* ── Landing About redesigned ─────────────────────────────────── */
.about--redesigned {
	position: relative;
	padding: 6rem 0 5rem;
	background: #fff;
	overflow: hidden;
}

/* Header */
.about-header {
	text-align: center;
	margin: 0 auto 3.5rem;
}

.about-eyebrow {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: .18em;
	font-size: .72rem;
	font-weight: 700;
	color: #2f7d4d;
	background: rgba(47, 125, 77, .1);
	padding: .3rem .9rem;
	border-radius: 99px;
	margin-bottom: 1.1rem;
	font-family: "Poppins", system-ui, sans-serif;
}

.about-heading {
	font-size: clamp(1.8rem, 3.5vw, 2.8rem);
	color: #174429;
	line-height: 1.2;
	margin-bottom: 1rem;
}

.about-lead {
	color: #4a6655;
	font-size: 1.05rem;
	line-height: 1.75;
	margin: 0;
}

/* Stats */
.about-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-bottom: 3rem;
	max-width: 75%;
	margin-left: auto;
	margin-right: auto;
}

.about-stat-item {
	position: relative;
	background: #f7fbf8;
	border: 1px solid rgba(47, 125, 77, .13);
	border-radius: 20px;
	padding: 2rem 1.75rem;
	text-align: center;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
	overflow: hidden;
}

.about-stat-item::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(47, 125, 77, .06) 0%, transparent 60%);
	border-radius: inherit;
}

.about-stat-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(23, 68, 41, .1);
	border-color: rgba(47, 125, 77, .35);
}

.about-stat-value {
	font-size: 2rem;
	font-weight: 800;
	color: #174429;
	font-family: "Montserrat", serif;
	display: block;
	margin-bottom: .4rem;
	position: relative;
}

.about-stat-label {
	font-size: .88rem;
	color: #5a7a65;
	line-height: 1.5;
	display: block;
	font-family: "Poppins", system-ui, sans-serif;
	position: relative;
}

.about-cta {
	text-align: center;
}

@media (max-width: 768px) {
	.about-stats {
		grid-template-columns: 1fr;
	}
}

.history-stack {
	display: grid;
	gap: 2rem;
}

.history-copy {
	max-width: 960px;
}

.history-carousel {
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
	border: 0;
}

.history-heading {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--green-700);
	margin-bottom: 0.75rem;
}

.carousel-track {
	position: relative;
}

.carousel-slide {
	display: none;
}

.carousel-slide.is-active {
	display: block;
	animation: fadeIn 0.4s ease;
}

.timeline {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
	padding-top: 1.75rem;
}

.timeline--three {
	grid-template-columns: repeat(3, minmax(0, 260px));
	justify-content: center;
}

.timeline::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 1.05rem;
	height: 2px;
	background: rgba(47, 125, 77, 0.25);
}

.timeline-step {
	background: var(--white);
	border-radius: 14px;
	padding: 1.25rem 1.1rem 1rem;
	position: relative;
	border: 1px solid rgba(47, 125, 77, 0.15);
	box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.timeline-step h4 {
	margin-bottom: 0.35rem;
	color: var(--green-700);
}

.timeline-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--green-700);
	position: absolute;
	top: -0.7rem;
	left: 1.25rem;
}

.timeline-dot::before {
	content: "";
	position: absolute;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(47, 125, 77, 0.2);
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.carousel-controls {
	display: flex;
	justify-content: flex-end;
	gap: 0.5rem;
	margin-top: 1rem;
}

.carousel-btn {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	border: 1px solid rgba(47, 125, 77, 0.3);
	background: var(--white);
	color: var(--green-700);
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.carousel-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
}

.metrics-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
}

.metric-card {
	background: var(--white);
	border-radius: 18px;
	padding: 1.6rem;
	border: 1px solid rgba(47, 125, 77, 0.2);
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.metric-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
	border-color: rgba(47, 125, 77, 0.4);
}

.metric-icon {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: rgba(47, 125, 77, 0.12);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	color: var(--green-700);
}

.metric-icon svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.rankings-grid-section {
	padding-top: 1.5rem;
}

.rankings-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
}

.ranking-card {
	background: var(--white);
	border-radius: 18px;
	padding: 1.6rem;
	border: 1px solid rgba(47, 125, 77, 0.2);
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	position: relative;
	overflow: hidden;
}

.ranking-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(140deg, rgba(47, 125, 77, 0.12), rgba(237, 221, 83, 0.12));
	opacity: 0;
	transition: opacity 0.2s ease;
}

.ranking-card:hover::after {
	opacity: 1;
}

.ranking-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
	border-color: rgba(47, 125, 77, 0.4);
}

.ranking-card>* {
	position: relative;
	z-index: 1;
}

.ranking-icon {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: rgba(47, 125, 77, 0.12);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	color: var(--green-700);
}

.ranking-icon svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	display: block;
}

.container {
	width: min(1200px, 92vw);
	margin: 0 auto;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.6rem 1.4rem;
	border-radius: 6px;
	background: var(--green-700);
	color: var(--white);
	font-weight: 600;
	gap: 0.5rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 12px 24px rgba(15, 123, 92, 0.25);
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 30px rgba(15, 123, 92, 0.3);
}

.btn-outline {
	background: transparent;
	border: 1px solid rgba(23, 68, 41, 0.4);
	color: var(--green-700);
	box-shadow: none;
}

.btn-primary {
	background: var(--green-700);
	color: var(--white);
}