/* Add space above summary table heading in financials */
.financial-summary + h2 {
	margin-top: 22px;
}
/* Add top margin to section title for financial statement pages to match other pages */
#financial-statement-page > .section-title.section-title--tight {
	margin-top: 14px;
}
.financial-table-wrapper {
	scrollbar-width: none; /* Firefox */
}
.financial-table-wrapper::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Opera */
}
/* Align compliance notes bullet points with text above */
.compliance ul {
	margin-left: 0;
	padding-left: 20px;
}
/* Responsive financial table for mobile */
.financial-table-wrapper {
	width: 100%;
	overflow-x: auto;
}

@media (max-width: 600px) {
	.financial-table th, .financial-table td {
		font-size: 12px;
		min-width: 90px;
		padding-right: 10px;
		padding-left: 6px;
	}
	.financial-table td:nth-child(2), .financial-table th:nth-child(2) {
		min-width: 120px;
	}
	.financials-center {
		padding: 12px 2px 12px 2px;
	}
}
.financial-table td:nth-child(2), .financial-table th:nth-child(2) {
	min-width: 220px;
}
.financial-table th, .financial-table td {
	font-size: 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 140px;
}
/* Add spacing between financial table cells */
.financial-table {
	border-collapse: collapse;
}
.financial-table th, .financial-table td {
	padding-right: 28px;
	padding-left: 18px;
	padding-top: 8px;
	padding-bottom: 8px;
	font-size: 14px;
	white-space: nowrap;
	overflow: visible;
	text-overflow: unset;
	text-align: left;
	border: none;
	border-right: 1.5px solid #e0e0e0;
	background: none;
	min-width: 150px;
}
.financial-table th:last-child, .financial-table td:last-child {
	border-right: none;
}
.financial-table th {
	font-weight: 600;
}
/* Center financial statement content with margin */
.financials-center {
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(47, 79, 79, 0.06);
	padding: 32px 24px 32px 24px;
}
/* Justify text for projects page main content */
#projects .donate-content,
#projects .donate-section,
#projects .donate-content p,
#projects .donate-section p,
#projects .donate-content ul,
#projects .donate-section ul,
#projects .donate-content li,
#projects .donate-section li {
	text-align: justify;
}
/* Center QR code image in donate page */
.qr-code-container {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 18px 0;
}
.qr-code-container img {
	display: block;
	max-width: 100%;
	height: auto;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scrollbar-gutter: stable;
}

:root {
	--font-body: "Roboto", "Segoe UI", Arial, sans-serif;
	--font-heading: var(--font-body);
	--text-main: #2f4f4f;
	--text-muted: #555;
	--text-light: #616161;
	--text-heading: #1b3a33;
	--section-tint: #fff;
	--section-soft: #fff;
	--accent-purple: #666;
	--accent-purple-dark: #555;
	--accent-green: #0c6d3c;
	--accent-green-dark: #095429;
	--accent-earth: #d0671d;
	--focus-ring: #d0671d;
	--surface-base: #ffffff;
	--surface-subtle: #fffaf5;
	--border-soft: #e7dfd2;
	--border-strong: #d9cdbc;
	--shadow-sm: 0 2px 12px rgba(255, 255, 255, 0.06);
	--shadow-md: 0 10px 28px rgba(255, 255, 255, 0.1);
	--shadow-lg: 0 18px 40px rgba(255, 255, 255, 0.12);
	--card-shadow: var(--shadow-sm);
	--card-shadow-hover: var(--shadow-md);
	--radius-md: 12px;
	--radius-lg: 16px;
	--radius-xl: 20px;
	--radius: var(--radius-lg);
	--content-width: 980px;
	--narrow-width: 900px;
	--document-width: 1100px;
	--max-width: 1400px;
}

body {
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	width: 100%;
	font-family: var(--font-body);
	color: var(--text-main);
	/* background: rgba(251, 236, 221, 0.5); */
	background: rgba(255, 255, 255, 0.5);
	line-height: 1.6;
}

a {
	color: var(--accent-green);
	font-weight: 400;
	font-size: 16px;
	text-decoration: none;
	transition: color 0.3s ease, font-size 0.2s ease;
}

a:hover {
	color: #5e0338;
	font-size: 16px;
	text-decoration: none;
}

/* Consistent keyboard focus visibility across links, controls, and custom focusable elements */
:where(a, button, input, select, textarea, summary, [role="button"], [tabindex]):focus-visible {
	outline: 3px solid var(--focus-ring);
	outline-offset: 2px;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
	border-radius: 6px;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-heading);
	line-height: 1.25;
	letter-spacing: -0.01em;
	margin: 0;
	color: var(--text-heading);
}

h2,
h3 {
	font-family: var(--font-heading);
	color: var(--text-main);
}

p,
li {
	line-height: 1.6;
}

.page {
	width: 100%;
	max-width: var(--max-width);
}

.site-header {
	width: 100%;
	padding: 36px 40px 36px 40px;
	position: relative;
	background: #ffffff url("../images/worldmapbg.png") right center / contain no-repeat;
	min-height: auto;
	display: grid;
	grid-template-columns: 140px 1fr;
	grid-template-rows: auto auto auto;
	gap: 0 20px;
	align-items: center;
}

.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.05);
	pointer-events: none;
}

.site-header > * {
	position: relative;
	z-index: 1;
}

.logo {
	display: block;
	width: 140px;
	height: 140px;
	margin: 0 10px 0 0;
	object-fit: contain;
	grid-column: 1;
	grid-row: 1 / 4;
	align-self: center;
}

.site-header h1 {
	grid-column: 2;
	grid-row: 1;
	text-align: left;
	margin: 0 0 12px 0;
	padding: 0;
	font-size: clamp(2.2rem, 3vw, 2.6rem);
	color: var(--text-main);
	font-weight: 700;
	line-height: 1.3;
}

.tagline {
	grid-column: 2;
	grid-row: 2;
	text-align: left;
	margin: 0 0 12px 0;
	padding: 0;
	font-size: clamp(1.15rem, 1.8vw, 1.3rem);
	font-weight: normal;
	color: var(--text-muted);
	font-style: italic;
	line-height: 1.4;
}

.main-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 18px;
	margin: 0 0 0 0;
	font-size: 15px;
	grid-column: 2;
	grid-row: 3;
}

.main-nav a {
	color: var(--accent-green);
    text-decoration: none;
	font-weight: 400;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(251, 236, 221, 0.3);;
	transition: background 0.2s ease, color 0.2s ease, font-size 0.2s ease;
}

.main-nav a:hover {
	background: rgba(47, 79, 79, 0.1);
}

.mission-hero {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 28px 40px 20px;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 28px;
	align-items: center;
}

.mission-copy h2 {
	font-size: clamp(30px, 4.8vw, 48px);
	line-height: 1.2;
	margin-bottom: 14px;
	color: #1b3a33;
}

.mission-copy p {
	font-size: 18px;
	line-height: 1.6;
	color: var(--text-muted);
	margin-bottom: 18px;
}

.mission-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 18px;
}

.quick-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.quick-stats li {
	background: #fff;
	border: 1px solid #ece4d8;
	border-radius: 10px;
	padding: 12px 10px;
	text-align: center;
	font-size: 14px;
	color: var(--text-muted);
}

.quick-stats strong {
	display: block;
	font-size: 20px;
	line-height: 1.2;
	margin-bottom: 4px;
	color: #1b3a33;
}

.mission-media img {
	width: 100%;
	height: min(420px, 55vw);
	object-fit: cover;
	border-radius: 16px;
	box-shadow: 0 10px 26px rgba(22, 42, 37, 0.14);
}

.section {
	width: 100%;
	padding: 18px 0;
}

.section--tint {
	background: var(--section-tint);
}

.section--soft {
	background: var(--section-soft);
}

.section-title {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 20px 12px;
	font-size: clamp(1.7rem, 2.8vw, 2.15rem);
	font-weight: normal;
	margin-top: 0;
}

.section-title--tight {
	margin-top: 0;
}

.section-title hr {
	flex: 1;
	border: none;
	border-top: 2px solid var(--text-main);
}

.section-title span,
.section-title h2 {
	margin: 0 15px;
	font-size: inherit;
	font-weight: inherit;
}

.section-subtitle {
	text-align: center;
	margin: 0;
	padding: 10px 0 5px 0;
	color: #666;
	font-size: clamp(1.2rem, 2vw, 1.5rem);
	font-weight: normal;
}

.philosophy-cards-section,
.activities-section,
.social-section {
	text-align: center;
	padding: 44px 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.philosophy-cards-container,
.cta-cards-container {
	display: flex;
	justify-content: center;
	align-items: stretch;
	flex-wrap: wrap;
	max-width: var(--max-width);
	margin: 0 auto;
}

.philosophy-cards-container {
	gap: 30px;
}

.cta-cards-container {
	gap: 30px;
}

/* Carousel Styling */
.carousel-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	width: 100%;
	margin: 0 auto;
}

#activitiesCarousel {
	display: flex;
	overflow-x: auto;
	overflow-y: hidden;
	gap: 30px;
	scroll-behavior: smooth;
	flex-wrap: nowrap;
	width: 100%;
	padding: 0;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

#activitiesCarousel::-webkit-scrollbar {
	height: 0;
}

.carousel-btn {
	background: var(--accent-green);
	color: white;
	border: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(12, 109, 60, 0.3);
}

.carousel-icon {
	width: 24px;
	height: 24px;
	stroke: currentColor;
}

.carousel-btn:hover {
	background: var(--accent-green-dark);
	transform: scale(1.15) rotate(90deg);
	box-shadow: 0 6px 20px rgba(12, 109, 60, 0.5);
}

.carousel-btn:active {
	transform: scale(0.95);
}

/* End Carousel Styling */

.philosophy-card,
.activity-card,
.cta-card {
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--card-shadow);
	text-align: center;
	transition: 0.3s;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.philosophy-card:hover,
.activity-card:hover,
.cta-card:hover {
	background: #fff;
	transform: translateY(-8px);
	box-shadow: var(--card-shadow-hover);
}

.philosophy-card {
	flex: 1;
	min-width: 280px;
	max-width: 100%;
	width: 100%;
	height: auto;
	padding: 30px 25px;
	justify-content: flex-start;
}

.philosophy-card img {
	width: 150px;
	height: 150px;
	object-fit: contain;
	margin: 0 auto 20px auto;
	display: block;
}

.mission-image {
	margin-top: 25px;
}

.philosophy-card h3 {
	font-size: 28px;
	margin-bottom: 15px;
	color: var(--text-main);
	font-weight: 600;
}

.philosophy-card p {
	font-size: 16px;
	color: var(--text-muted);
	line-height: 1.5;
	margin-bottom: 12px;
	text-align: justify;
}

.objectives-list {
	text-align: justify;
	margin: 0;
	padding-left: 20px;
	font-size: 16px;
	color: var(--text-muted);
	line-height: 1.5;
}

.objectives-list li {
	margin-bottom: 15px;
}

.objectives-list li:last-child {
	margin-bottom: 0;
}

.sdg-grid {
	width: 100%;
	text-align: center;
	padding: 40px 20px;
}

.sdg-icons {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
	align-items: center;
	justify-items: center;
}

.sdg-icons a {
	display: flex;
	align-items: center;
	justify-content: center;
}

.sdg-icons img {
	width: 180px;
	height: 180px;
	object-fit: contain;
}

.sdg-disclaimer {
	text-align: center;
	font-size: 10px;
	color: #bbb;
	margin-top: -20px;
	padding: 0 20px;
}

.sdg-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: antiquewhite;
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
	line-height: 1.2;
}

.sdg-pill--4 {
	color: #d0671d;
}

.sdg-pill--13 {
	color: #0c6d3c;
}

.sdg-pill--16 {
	color: #121893;
}

.activity-card {
	flex: 0 0 100%;
	min-width: 100%;
	padding: 20px;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.activity-card:hover {
	background: #fff;
	transform: translateY(-5px);
	/* box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); */
}

.activity-card img {
	width: 220px;
	height: 220px;
	object-fit: cover;
	border-radius: 50%;
	margin-bottom: 15px;
}

.activity-card h3 {
	font-size: 22px;
	margin-bottom: 10px;
	color: #444;
	text-align: center;
}

.activity-card p {
	font-size: 15px;
	color: var(--text-muted);
	line-height: 1.5;
	margin-bottom: 10px;
}

.activity-card a {
	color: var(--accent-green);
	font-weight: 400;
	text-decoration: none;
}

.activity-card a:hover {
	color: #5e0338;
	text-decoration: none;
}

.section-wrapper,
.contact-section {
	width: 100%;
	padding: 44px 32px;
	font-family: var(--font-body);
	background: transparent;
}

.section-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.cta-card {
	flex: 1;
	min-width: 280px;
	max-width: 100%;
	width: 100%;
	padding: 40px 30px;
	justify-content: space-between;
}

.cta-card img {
	width: 180px;
	height: 180px;
	object-fit: contain;
	margin-bottom: 25px;
}

.cta-card h2 {
	font-size: 28px;
	color: #1b3a33;
	line-height: 1.5;
	font-weight: 600;
	margin-bottom: 20px;
}

.cta-card p {
	font-size: 16px;
	color: var(--text-muted);
	line-height: 1.5;
	margin-bottom: 25px;
	text-align: justify;
}

.btn-whatsapp,
.btn-volunteer,
.btn-donate,
.btn-subscribe,
.btn-secondary {
	padding: 14px 28px;
	border-radius: var(--radius-md);
	text-decoration: none;
	font-weight: 600;
	font-size: 16px;
	display: inline-block;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	margin-top: auto;
}

.btn-whatsapp {
	background: #1b8754;
	color: #fff;
}

.btn-whatsapp:hover {
	background: #13653f;
	transform: scale(1.05);
}

.btn-volunteer {
	background: var(--accent-green);
	color: #fff;
}

.btn-volunteer:hover {
	background: var(--accent-green-dark);
	transform: scale(1.05);
	color: #fff;
}

.btn-donate,
.btn-subscribe {
	background: var(--accent-green);
	color: #fff;
}

.btn-donate:hover,
.btn-subscribe:hover {
	background: var(--accent-green-dark);
	transform: scale(1.05);
}

.btn-secondary {
	background: transparent;
	color: var(--text-main);
	border: 1px solid rgba(47, 79, 79, 0.22);
}

.btn-secondary:hover {
	background: rgba(47, 79, 79, 0.08);
}

.contact-section {
	display: flex;
	justify-content: center;
	align-items: center;
}

.contact-container {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 40px;
	max-width: 100%;
	width: 100%;
	margin: 0 auto;
}

.contact-text {
	flex: 1;
	min-width: 300px;
	width: 100%;
	max-width: 100%;
}

.contact-text h2 {
	font-size: 32px;
	font-weight: 600;
	color: var(--text-main);
	margin-bottom: 10px;
	border-bottom: 2px solid #dcdcdc;
	display: inline-block;
	padding-bottom: 5px;
}

.contact-text p {
	font-size: 17px;
	color: #444;
	line-height: 1.5;
	margin-bottom: 18px;
}

.contact-text .label {
	margin-top: 15px;
	font-weight: 600;
	color: var(--text-main);
	font-size: 18px;
}

.email-text {
	margin-top: 8px;
	font-size: 17px;
	color: #444;
}

.email-text a {
	color: var(--accent-green);
	font-weight: 400;
	text-decoration: none;
}

.contact-map {
	flex: 1.2;
	min-width: 320px;
	width: 100%;
	max-width: 100%;
}

.contact-map iframe {
	width: 100%;
	height: 350px;
	border: none;
	border-radius: 12px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.social-icons {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 25px;
	margin-top: 10px;
	flex-wrap: wrap;
}

.social-icons img {
	height: 40px;
	width: auto;
	object-fit: contain;
	transition: 0.3s;
	cursor: pointer;
}

.social-icons img:hover {
	transform: scale(1.1);
	opacity: 0.9;
}

.story-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	max-width: 1100px;
	margin: 0 auto;
	padding: 6px 20px 18px;
}

#success-story .story-grid {
	grid-template-columns: 1fr;
	max-width: 900px;
}

.story-card {
	background: var(--surface-base);
	border: 1px solid var(--border-soft);
	border-radius: var(--radius-lg);
	padding: 18px;
	box-shadow: var(--shadow-sm);
}

.story-card h3 {
	font-size: 22px;
	margin-bottom: 8px;
	color: #1b3a33;
}

.story-card p {
	font-size: 15px;
	line-height: 1.6;
	color: var(--text-muted);
	margin-bottom: 8px;
}

.story-before-after {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 12px 0;
}

.story-pill {
	background: #f9f4eb;
	border-radius: 10px;
	padding: 10px;
	font-size: 14px;
	line-height: 1.45;
	color: #4d5e5a;
}

.contact-inline-form {
	margin-top: 16px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	max-width: 560px;
	background: #fff;
	border: 1px solid #e7dfd2;
	border-radius: 12px;
	padding: 14px;
}

.contact-inline-form input,
.contact-inline-form textarea {
	font: inherit;
	padding: 10px 12px;
	border: 1px solid #d6cec1;
	border-radius: 8px;
	color: var(--text-main);
	background: #fff;
}

.contact-inline-form textarea {
	min-height: 96px;
	resize: vertical;
}

.contact-form-note {
	font-size: 13px;
	line-height: 1.5;
	color: var(--text-light);
	margin-top: 6px;
}

.contact-form-status {
	font-size: 14px;
	font-weight: 600;
	color: var(--accent-green);
}

.footer {
	width: 100%;
	background: #ffffff;
	padding: 18px 10px;
	text-align: center;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--text-muted);
	border-top: 1px solid #ddd;
}

.subscribe-bar {
	width: 100%;
	padding: 26px 20px;
	background: var(--section-soft);
	border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.subscribe-inner {
	max-width: var(--max-width);
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.subscribe-text h3 {
	font-size: 22px;
	margin-bottom: 6px;
}

.subscribe-text p {
	color: var(--text-muted);
}

.subscribe-form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.subscribe-form input {
	padding: 12px 14px;
	border-radius: 8px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	min-width: 220px;
	font-size: 15px;
}

.footer-social,
.footer-signature-line {
	color: #1d3f3c;
}

.footer-signature-line,
.footer-signature-line span {
	font-weight: 400;
}

.footer-content {
	max-width: var(--max-width);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.footer-section {
	order: 2;
	width: 100%;
	text-align: center;
}

.footer-section p {
	margin: 0;
	font-size: 14px;
}

.footer-signature {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}

.footer-links {
	order: 1;
	width: 100%;
	text-align: center;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0;
}

.footer-links a {
	display: inline-flex;
	align-items: center;
	color: #0c6d3c;
	text-decoration: none;
	margin: 0;
	font-weight: 400;
	transition: color 0.3s ease, font-size 0.2s ease;
}

.footer-links a + a::before {
	content: "|";
	color: #999;
	margin: 0 8px;
}

.footer-links a:hover {
	color: #5e0338;
	text-decoration: none;
}

.footer-social {
	order: initial;
	width: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.footer-social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	text-decoration: none;
}

.footer-social-link img {
	width: 24px;
	height: 24px;
	object-fit: contain;
	display: block;
	transition: all 0.2s ease;
}

.footer-social-link:hover img {
	transform: translateY(-1px);
	opacity: 0.88;
}

.policy-content {
	max-width: var(--narrow-width);
	margin: 0 auto;
	padding: 0 20px;
	line-height: 1.5;
}

.policy-content h2 {
	font-size: 28px;
	margin-top: 30px;
	margin-bottom: 16px;
	color: var(--text-main);
}

.policy-content h3 {
	font-size: 20px;
	margin-top: 24px;
	margin-bottom: 12px;
	color: #666;
}

.policy-content ul {
	margin-left: 20px;
	margin-bottom: 16px;
}

.policy-content ul li {
	margin-bottom: 8px;
	color: var(--text-muted);
}

.policy-content p {
	margin-bottom: 16px;
	color: var(--text-muted);
	text-align: justify;
}

.policy-content a {
	color: var(--accent-green);
	text-decoration: none;
	font-weight: 400;
	transition: color 0.3s ease, font-size 0.2s ease;
}

.policy-content a:hover {
	color: #5e0338;
	text-decoration: none;
}

.document-page .policy-content {
	max-width: var(--document-width);
	padding: 0 20px 24px;
}

.document-page .pdf-container {
	display: block;
	width: 100%;
	height: min(78vh, 980px);
	min-height: 440px;
	border: 1px solid #ddd;
	border-radius: 8px;
	margin: 20px 0;
	background: #fff;
}

.pdf-mobile-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	align-items: center;
	margin: 8px 0 12px;
}

.pdf-mobile-actions .btn-secondary,
.pdf-mobile-actions .btn-donate {
	font-size: 14px;
	padding: 10px 16px;
	margin-top: 0;
}

.policy-contact {
	background: var(--surface-base);
	padding: 0px;
	border-radius: var(--radius-md);
	margin: 16px 0;
}

.policy-contact p {
	margin: 8px 0;
}

.last-updated {
	margin-top: 32px;
	padding-top: 16px;
	border-top: 1px solid #ddd;
	color: #888;
}

/* Donate Page Styles */
.donate-hero {
	max-width: var(--narrow-width);
	margin: 0 auto;
	padding: 0 20px;
	text-align: justify;
}

.donate-hero h2 {
	font-size: 36px;
	margin-bottom: 12px;
	color: var(--text-main);
}

.donate-intro {
	line-height: 1.6;
	color: var(--text-muted);
	text-align: justify;
}

.donate-intro p {
	margin-bottom: 12px;
	font-size: 16px;
	line-height: 1.6;
}

.donate-intro .intro-text {
	font-size: 18px;
	color: #666;
	margin-bottom: 16px;
}

.about-intro {
	width: 92%;
	margin: 0 auto 8px;
	padding: 4px 24px 8px;
	text-align: justify;
}

.about-intro p {
	margin: 0 0 10px;
	font-size: 1.05rem;
	line-height: 1.7;
	color: var(--text-muted);
}

.about-intro .learn-more-link {
	font-weight: 600;
}

@media (max-width: 480px) {
	.about-intro {
		padding: 0 16px 6px;
	}

	.about-intro p {
		font-size: 0.98rem;
		line-height: 1.6;
	}
}

.donate-content {
	max-width: var(--narrow-width);
	margin: 0 auto;
	padding: 0 20px;
	text-align: justify;
}

.donate-section {
	margin-bottom: 16px;
	text-align: justify;
}

:where(.content-page, .footer-linked-page, #projects, #blog, #success-story, #transparency, #volunteer, #certificate-view) .section {
	padding-top: 14px;
	padding-bottom: 14px;
}

:where(.content-page, .footer-linked-page, #projects, #blog, #success-story, #transparency, #volunteer, #certificate-view) .donate-section,
:where(.content-page, .footer-linked-page, #projects, #blog, #success-story, #transparency, #volunteer, #certificate-view) .donate-intro {
	margin-bottom: 0;
}

.donate-section h3 {
	font-size: 22px;
	margin-bottom: 16px;
	color: #666;
}

.project-title-link {
	color: var(--accent-green);
	text-decoration: none;
	display: inline-block;
	font-weight: 400;
	transition: color 0.3s ease, font-size 0.2s ease;
}

.project-title-link:hover,
.project-title-link:focus-visible {
	color: #5e0338;
	text-decoration: none;
}

.donate-section p {
	margin-bottom: 12px;
	color: var(--text-muted);
	line-height: 1.6;
	font-size: 16px;
}

.content-page .policy-content,
.content-page .donate-hero,
.content-page .donate-content,
.content-page .team-grid-wrap {
	max-width: var(--content-width);
	margin-left: auto;
	margin-right: auto;
}

.content-page .policy-content,
.content-page .donate-hero,
.content-page .donate-content {
	padding-left: 24px;
	padding-right: 24px;
}

.donate-hero--left,
.donate-content--left {
	text-align: left;
}

.donate-content--compact {
	padding-bottom: 14px;
}

.section-minor-title {
	font-size: 1.4rem;
	font-weight: 600;
	color: var(--text-heading);
	margin-bottom: 20px;
}

.section-minor-title--left {
	text-align: left;
}

.section-minor-title--center {
	text-align: center;
}

.section-minor-title--spacious {
	margin-bottom: 30px;
}

/* Footer-linked pages use a consistent reading width and horizontal rhythm. */
.footer-linked-page .policy-content,
.footer-linked-page .donate-hero,
.footer-linked-page .donate-content,
.footer-linked-page .team-grid-wrap {
	max-width: var(--content-width);
	margin-left: auto;
	margin-right: auto;
}

.footer-linked-page .policy-content,
.footer-linked-page .donate-hero,
.footer-linked-page .donate-content {
	padding-left: 24px;
	padding-right: 24px;
}

.footer-linked-page .donate-hero,
.footer-linked-page .donate-intro {
	text-align: left;
}

.footer-linked-page .donate-hero h3 {
	margin-bottom: 12px;
	color: var(--text-main);
}

.doc-note {
	margin-top: 20px;
	color: #999;
	font-size: 14px;
}

#not-found {
	min-height: calc(100vh - 220px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 20px;
	background: linear-gradient(180deg, #fff9f3 0%, #f4f9fb 100%);
}

.not-found-card {
	width: min(760px, 100%);
	background: var(--surface-base);
	border: 1px solid var(--border-soft);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-lg);
	padding: 36px 28px;
	text-align: center;
}

.not-found-code {
	margin: 0;
	font-size: clamp(3.2rem, 9vw, 5.4rem);
	line-height: 1;
	color: var(--accent-earth);
	letter-spacing: 0.04em;
}

.not-found-title {
	margin: 10px 0 12px;
	color: #1f3b4d;
	font-size: clamp(1.3rem, 3.5vw, 2rem);
}

.not-found-text {
	margin: 0 auto 22px;
	max-width: 620px;
	color: #2d4150;
	line-height: 1.6;
}

.not-found-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-bottom: 16px;
}

.not-found-help {
	margin: 0;
	color: #334f5f;
}

.not-found-help a {
	color: var(--accent-green);
	text-decoration: none;
	font-weight: 400;
}

.not-found-help a:hover {
	color: #5e0338;
	text-decoration: none;
}

.support-list {
	list-style: disc;
	margin: 0;
	padding-left: 24px;
}

.support-list li {
	color: var(--text-muted);
	line-height: 1.6;
}

.donate-qr-section {
	text-align: left;
}

.donate-qr-section h3 {
	font-size: 22px;
	margin-bottom: 16px;
	color: #666;
	text-align: left;
}

.donate-qr-section p {
	margin-bottom: 12px;
	color: var(--text-muted);
	line-height: 1.6;
	font-size: 16px;
	text-align: left;
}

.upi-details {
	background: var(--surface-base);
	border: 1px solid var(--border-soft);
	border-radius: var(--radius-lg);
	padding: 28px 24px;
	margin: 12px 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	box-shadow: var(--shadow-sm);
}

.org-details ul,
.org-details ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

.org-details li,
.org-details p {
	display: block;
	list-style: none;
}

.upi-info {
	width: 100%;
    text-align: center;
}

.upi-info p {
	margin: 8px 0;
    text-align: center;
	color: var(--text-muted);
	font-size: 16px;
	line-height: 1.6;
}

.upi-info p strong {
	color: var(--text-main);
}


.learn-more-link {
	color: var(--accent-green);
	font-weight: 400;
	text-decoration: none;
	transition: color 0.3s ease, font-size 0.2s ease;
}

.learn-more-link:hover {
	color: #5e0338;
	text-decoration: none;
}


.upi-warning p {
	margin: 0;
	font-size: 14px;
}

.email-link {
	color: var(--accent-green);
	text-decoration: none;
	font-weight: 400;
	transition: color 0.3s ease, font-size 0.2s ease;
}

.email-link:hover {
	color: #5e0338;
	text-decoration: none;
}

.org-details {
	background: #ffffff;
	padding: 0;
	border-radius: 8px;
	text-align: left;
}

.org-details ul {
	margin: 0;
	padding-left: 0;
	list-style: disc inside;
}

.org-details li {
	margin: 6px 0;
	color: var(--text-muted);
	line-height: 1.6;
	font-size: 16px;
}

.org-details p {
	margin: 12px 0;
	color: var(--text-muted);
	line-height: 1.6;
	font-size: 16px;
}

.org-details p strong {
	color: var(--text-main);
}

.org-details a {
	color: var(--accent-green);
	text-decoration: none;
	font-weight: 400;
	transition: color 0.3s ease, font-size 0.2s ease;
}

.org-details a:hover {
	color: #5e0338;
	text-decoration: none;
}

.donor-wall-section {
	margin-top: 4px;
}

.donor-wall {
	background: linear-gradient(145deg, #fffefb 0%, #f6f1e8 100%);
	border: 1px solid #e7dfd2;
	border-radius: 14px;
	padding: 10px 10px;
	min-height: 0;
}

.donor-wall-loading,
.donor-wall-error {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--text-muted);
}

.donor-wall-error {
	color: #8b2c2c;
}

.donor-cloud {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 14px;
}

.donor-cloud--bulb {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 0px;
	position: relative;
	width: min(100%, 340px);
	margin: 4px auto 0;
	padding: 2px 2px;
	border: none;
	background: transparent;
}

.donor-cloud-row {
	--row-width: 80%;
	--row-offset: 0;
	width: var(--row-width);
	margin-left: var(--row-offset);
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2px;
	border: none;
	border-radius: 0;
	padding: 0;
	background: transparent;
}
.donor-tag {
	margin-bottom: 0 !important;
	margin-top: 0 !important;
	line-height: 1.1 !important;
}

.donor-tag {
	--tag-size: 0.95rem;
	--tag-weight: 700;
	--tag-color: #1b4b44;
	font-size: var(--tag-size);
	font-weight: var(--tag-weight);
	line-height: 1.0;
	color: var(--tag-color);
	padding: 0;
	border: none;
	background: transparent;
	letter-spacing: 0.01em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
	transition: transform 0.2s ease, color 0.2s ease;
}

.donor-tag:hover {
	transform: translateY(-2px);
	color: #0f6454;
}

.donor-cloud--bulb .donor-tag {
	position: static;
	transform: none;
	white-space: nowrap;
	padding: 0;
	max-width: none;
	overflow: visible;
	text-overflow: clip;
	z-index: 2;
}

.donor-cloud--bulb .donor-tag:hover {
	transform: translateY(-2px);
}

@media (max-width: 700px) {
	.team-grid-wrap,
	.team-intro,
	
	.team-card {
		text-align: center !important;
	}
	.team-grid {
		justify-content: center !important;
	}
}
	.donor-cloud--bulb {
		min-height: 380px;
		gap: 2px;
	}

	.donor-cloud-row {
		gap: clamp(6px, 0.8vw, 10px);
	}

	.donor-cloud--bulb .donor-tag {
		font-size: clamp(0.95rem, var(--tag-size), 2.2rem);
	}
}

@media (max-width: 850px) {
	.mission-hero,
	.story-grid,
	.story-before-after {
		grid-template-columns: 1fr;
	}

	.mission-hero {
		padding: 22px 20px 14px;
	}

	.quick-stats {
		grid-template-columns: 1fr;
	}

	.mission-copy p {
		font-size: 16px;
	}

	.mission-media img {
		height: auto;
	}

	.site-header {
		padding: 16px 30px;
		grid-template-columns: 110px 1fr;
		grid-template-rows: auto auto auto;
		gap: 0 20px;
	}

	.logo {
		width: 110px;
		height: 110px;
		margin: 0;
	}

	.site-header h1 {
		font-size: 28px;
		margin: 20px 0 0 0;
	}

	.tagline {
		font-size: 15px;
		margin: 14px 0 0 0;
		font-style: italic;
	}

	.main-nav {
		grid-row: 3;
		grid-column: 2;
		justify-content: flex-start;
	}

	.contact-text h2 {
		font-size: 28px;
	}

	.contact-map iframe {
		height: 280px;
	}
}

@media (max-width: 768px) {
	.site-header {
		padding: 14px 20px;
		grid-template-columns: 80px 1fr;
		grid-template-rows: auto auto auto;
		gap: 0 12px;
		align-items: start;
	}

	.logo {
		width: 80px;
		height: 80px;
		margin: 0;
		grid-column: 1;
		grid-row: 1 / 3;
	}

	.site-header h1 {
		text-align: left;
		font-size: 22px;
		grid-column: 2;
		grid-row: 1;
		margin: 20px 0 0 0;
		padding: 0;
	}

	.tagline {
		text-align: left;
		font-size: 15px;
		margin: 15px 0 0 0;
		padding: 0;
		grid-column: 2;
		grid-row: 2;
		font-style: italic;
	}

	.main-nav {
		gap: 10px;
		font-size: 12px;
		margin: 12px 0 0 0;
		grid-column: 2;
		grid-row: 3;
		justify-content: flex-start;
	}

	.section-title {
		font-size: 24px;
		padding: 3% 2%;
	}

	.section-subtitle {
		font-size: 22px;
	}

	.philosophy-card {
		min-width: 100%;
		max-width: 100%;
		height: auto;
		min-height: 500px;
	}

	.activity-card {
		min-width: 100%;
		text-align: justify;
		max-width: 100%;
		width: 100%;
	}

	.activity-card {
		max-width: 100%;
		width: 100%;
	}

	.philosophy-card img {
		width: 120px;
		height: 120px;
	}

	.philosophy-card h3 {
		font-size: 24px;
	}

	.philosophy-card p {
		font-size: 15px;
		text-align: center;
	}

	.sdg-icons {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 0;
		row-gap: 44px;
	}

	.cta-card {
		min-width: 100%;
		max-width: 100%;
	}

	.cta-card img {
		width: 150px;
		height: 150px;
	}

	.cta-card h2 {
		font-size: 24px;
	}

	.cta-card p {
		font-size: 15px;
	}
}

@media (max-width: 480px) {
	.site-header {
		padding: 8px 12px 0;
		grid-template-columns: 60px 1fr;
		grid-template-rows: auto auto auto;
		gap: 0 10px;
		align-items: start;
	}

	.logo {
		width: 60px;
		height: 60px;
		margin: 0;
		grid-column: 1;
		grid-row: 1 / 3;
	}

	.site-header h1 {
		grid-column: 2;
		grid-row: 1;
		font-size: 18px;
		margin: 6px 0 0 0;
		text-align: left;
	}

	.tagline {
		grid-column: 2;
		grid-row: 2;
		font-size: 15px;
		margin: 2px 0 0 0;
		text-align: left;
	}

	.main-nav {
		grid-column: 2;
		grid-row: 3;
		justify-content: flex-start;
	}

	.section-title {
		font-size: 20px;
		padding: 16px 12px;
	}

	.section-title span,
	.section-title h2 {
		margin: 0 10px;
	}

	.section-subtitle {
		font-size: 18px;
		padding: 8px 0 4px 0;
	}

	.philosophy-cards-section,
	.activities-section,
	.section-wrapper,
	.contact-section,
	.social-section,
	.sdg-grid {
		padding: 28px 16px;
	}

	.sdg-grid {
		padding: 28px 24px;
	}

	.philosophy-card {
		min-height: 0;
		height: auto;
		padding: 24px 18px;
	}

	.philosophy-card p,
	.objectives-list {
		text-align: left;
	}

	.sdg-icons {
		column-gap: 0;
		row-gap: 44px;
	}

	.sdg-icons img {
		width: 132px;
		height: 132px;
	}

	.cards-container,
	.cta-cards-container {
		gap: 20px;
	}

	.activity-card,
	.cta-card {
		width: 100%;
	}

	.activity-card img {
		width: 180px;
		height: 180px;
	}

	.cta-card h2 {
		font-size: 20px;
	}

	.cta-card p {
		font-size: 14px;
	}

	.btn-whatsapp,
	.btn-volunteer,
	.btn-donate,
	.btn-subscribe,
	.btn-secondary {
		width: 100%;
		text-align: center;
	}

	.contact-text h2 {
		font-size: 24px;
	}

	.contact-text p,
	.email-text {
		font-size: 15px;
	}

	.contact-map iframe {
		height: 240px;
	}

	.footer-content {
		flex-direction: column;
		text-align: center;
	}

	.footer-section {
		order: 3;
		min-width: 100%;
	}

	.footer-signature {
		gap: 8px;
	}

	.footer-links {
		order: 1;
		display: flex;
		justify-content: center;
		align-items: center;
		flex-wrap: wrap;
		min-width: 100%;
		margin-top: 0;
		padding: 0;
		text-align: center;
	}

	.footer-links a {
		display: inline-flex;
		margin-bottom: 8px;
	}

	.footer-links a + a::before {
		margin: 0 6px;
	}

	.footer-social {
		order: initial;
		min-width: 0;
		margin-bottom: 0;
	}

	.policy-content {
		padding: 0 16px;
		text-align: justify;
	}

	.footer-linked-page .policy-content,
	.footer-linked-page .donate-hero,
	.footer-linked-page .donate-content {
		padding-left: 16px;
		padding-right: 16px;
	}

	.content-page .policy-content,
	.content-page .donate-hero,
	.content-page .donate-content {
		padding-left: 16px;
		padding-right: 16px;
	}

	.policy-content h2 {
		font-size: 24px;
	}

	.policy-content h3 {
		font-size: 18px;
	}

	.document-page .policy-content {
		padding: 0 14px 18px;
	}

	.document-page .pdf-container {
		height: 70vh;
		min-height: 340px;
		margin: 16px 0;
	}
	.donate-hero h2 {
		font-size: 28px;
	}

	.section-minor-title {
		font-size: 1.2rem;
	}

	.donate-intro {
		font-size: 15px;
	}

	.donate-intro .intro-text {
		font-size: 16px;
	}

	.donate-section h3 {
		font-size: 20px;
	}

	.donate-content {
		padding: 0 16px;
	}

	.document-page .pdf-container {
		height: 62vh;
		min-height: 300px;
	}

	.upi-details {
		padding: 20px 16px;
	}

	.upi-amount-grid {
		gap: 6px;
	}

	.qr-placeholder {
		padding: 30px 40px;
		min-width: 200px;
	}

	.org-details {
		padding: 0;
		text-align: left;
	}

	.org-details p {
		font-size: 14px;
	}

	.upi-warning {
		text-align: center;
		border-left: none;
		border-top: 4px solid #ffc107;
	}
    p {
        line-height: 1.5;
    }
}

/* ---------------------------------------------------
   CERTIFICATE SYSTEM — verify.html & certificate.html
--------------------------------------------------- */

/* -- Verify page wrapper -- */
.cert-verify-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 28px 20px 36px;
	gap: 24px;
	max-width: 720px;
	margin: 0 auto;
	width: 100%;
}

.cert-verify-card {
	background: var(--surface-base);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	padding: 30px 32px;
	width: 100%;
	text-align: center;
}

#verify .section-title,
#certificate-view .section-title {
	font-size: 28px;
}

.cert-verify-icon {
	font-size: 44px;
	line-height: 1;
	margin-bottom: 14px;
}

.cert-verify-card h2 {
	font-size: 22px;
	font-weight: 700;
	color: var(--text-main);
	margin-bottom: 8px;
}

.cert-verify-desc {
	font-size: 15px;
	color: var(--text-muted);
	margin-bottom: 24px;
}

/* -- Verify form -- */
.cert-verify-form {
	text-align: left;
}

.cert-verify-form label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--text-main);
	margin-bottom: 8px;
}

.cert-input-row {
	display: flex;
	gap: 10px;
	align-items: stretch;
}

.cert-input-row input {
	flex: 1;
	padding: 12px 16px;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 8px;
	font-size: 16px;
	font-family: monospace;
	transition: border-color 0.2s, box-shadow 0.2s;
	background: #fff;
}

.cert-input-row input:focus,
.cert-input-row input:focus-visible {
	border-color: var(--accent-green);
	box-shadow: 0 0 0 3px rgba(12, 109, 60, 0.18);
}

.btn-verify {
	padding: 12px 22px;
	background: var(--accent-green);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
	white-space: nowrap;
}

.btn-verify:hover {
	background: var(--accent-green-dark);
}

.cert-input-hint {
	font-size: 13px;
	color: var(--text-light);
	margin-top: 8px;
}

.cert-form-error {
	background: #fdecea;
	border: 1px solid #e57373;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 14px;
	color: #c62828;
	margin-top: 12px;
	text-align: left;
}

/* -- Result containers -- */
.cert-result {
	width: 100%;
}

.cert-result-loading {
	text-align: center;
	color: var(--text-muted);
	font-size: 15px;
	padding: 20px;
}

.cert-result-box {
	border-radius: 12px;
	padding: 28px 32px;
	width: 100%;
}

.cert-result-valid {
	background: #f1fbf5;
	border: 1px solid #a5d6a7;
}

.cert-result-invalid {
	background: #fdecea;
	border: 1px solid #ef9a9a;
	text-align: center;
}

.cert-result-error {
	background: #fff8e1;
	border: 1px solid #ffe082;
	text-align: center;
}

.cert-result-bigicon {
	display: block;
	font-size: 36px;
	margin-bottom: 10px;
}

.cert-result-invalid h3,
.cert-result-error h3 {
	color: #444;
	margin-bottom: 8px;
}

.cert-result-invalid p,
.cert-result-error p {
	font-size: 14px;
	color: var(--text-muted);
	margin-bottom: 6px;
}

.cert-result-invalid a,
.cert-result-error a {
	color: var(--accent-green);
	font-weight: 400;
}

/* -- Valid result -- */
.cert-valid-header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	margin-bottom: 20px;
}

.cert-valid-badge {
	display: inline-block;
	background: var(--accent-green);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 999px;
	letter-spacing: 0.04em;
}

.cert-valid-header h3 {
	font-size: 20px;
	font-weight: 700;
	color: var(--text-main);
	margin: 0;
}

.cert-valid-subtitle {
	font-size: 14px;
	color: var(--text-muted);
}

/* -- Certificate detail grid (verify page result) -- */
.cert-details-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 24px;
	margin-bottom: 20px;
}

.cert-detail-item {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.cert-detail-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--text-light);
}

.cert-detail-value {
	font-size: 15px;
	color: var(--text-main);
	font-weight: 500;
}

.cert-id-mono {
	font-family: monospace;
	font-size: 14px;
	font-weight: 700;
	color: var(--accent-green);
	letter-spacing: 0.04em;
}

/* -- Result action buttons -- */
.cert-result-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 4px;
}

.btn-view-cert {
	display: inline-block;
	padding: 11px 24px;
	background: var(--accent-green);
	color: #fff;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s;
}

.btn-view-cert:hover {
	background: var(--accent-green-dark);
	color: #fff;
	font-size: 15px;
}

.btn-verify-alt {
	display: inline-block;
	padding: 11px 24px;
	background: transparent;
	color: var(--text-main);
	border: 1px solid rgba(47, 79, 79, 0.25);
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s;
}

.btn-verify-alt:hover {
	background: rgba(47, 79, 79, 0.06);
}

/* -- Info cards section (bottom of verify page) -- */
.cert-info-cards-wrapper {
	padding: 30px 20px;
}

.cert-info-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
	max-width: 900px;
	margin: 0 auto;
}

.cert-info-card {
	flex: 1;
	min-width: 220px;
	max-width: 280px;
	background: var(--surface-base);
	border-radius: var(--radius-lg);
	padding: 24px 22px;
	box-shadow: var(--shadow-sm);
	text-align: left;
}

.cert-info-icon {
	display: block;
	font-size: 32px;
	margin-bottom: 12px;
}

.cert-info-card h3 {
	font-size: 16px;
	font-weight: 700;
	text-align: left;
	color: var(--text-main);
	margin-bottom: 8px;
}

.cert-info-card p {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	text-align: left;
}

.cert-info-card a {
	color: var(--accent-green);
	font-weight: 400;
	text-decoration: none;
}

.cert-info-card a:hover {
	color: #5e0338;
	text-decoration: none;
}

/* ---------------------------------------------------
   CERTIFICATE VIEW PAGE — certificate.html
--------------------------------------------------- */

.cert-page-loading {
	text-align: center;
	padding: 60px 20px;
	color: var(--text-muted);
	font-size: 16px;
}

.cert-error-box {
	max-width: 540px;
	margin: 40px auto;
	text-align: center;
	padding: 40px 24px;
}

.cert-error-box h2 {
	font-size: 22px;
	color: var(--text-main);
	margin: 12px 0 8px;
}

.cert-error-box p {
	font-size: 15px;
	color: var(--text-muted);
	margin-bottom: 20px;
}

/* -- Certificate view layout -- */
.cert-view-wrapper {
	max-width: 1000px;
	margin: 0 auto;
	padding: 32px 24px 48px;
}

.cert-view-wrapper--with-pdf {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 32px;
	align-items: start;
}

.cert-meta-panel {
	background: var(--surface-base);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	padding: 28px 24px;
}

.cert-valid-badge-large {
	display: inline-block;
	background: var(--accent-green);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: 999px;
	letter-spacing: 0.04em;
	margin-bottom: 20px;
}

/* -- Detail rows on certificate view page -- */
.cert-details-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 24px;
}

.cert-detail-row {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-bottom: 12px;
	border-bottom: 1px solid #f0f0f0;
}

.cert-detail-row:last-child {
	border-bottom: none;
}

.cdl {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--text-light);
}

.cdv {
	font-size: 15px;
	color: var(--text-main);
	font-weight: 500;
}

.cert-id-mono {
	font-family: monospace;
	font-size: 14px;
	font-weight: 700;
	color: var(--accent-green);
	letter-spacing: 0.04em;
}

/* -- Certificate view action buttons -- */
.cert-view-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.btn-download-cert {
	display: inline-block;
	padding: 12px 20px;
	background: var(--accent-green);
	color: #fff;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	text-align: center;
	transition: background 0.2s;
}

.btn-download-cert:hover {
	background: var(--accent-green-dark);
}

.cert-no-pdf-note {
	font-size: 13px;
	color: var(--text-light);
	font-style: italic;
	margin-bottom: 6px;
}

/* -- PDF panel -- */
.cert-pdf-panel {
	background: var(--surface-base);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	padding: 24px;
	overflow: hidden;
	color-scheme: light;
}

.cert-pdf-panel h3 {
	font-size: 16px;
	font-weight: 700;
	color: var(--text-main);
	margin-bottom: 16px;
}

.cert-pdf-viewer {
	border-radius: 8px;
	overflow: auto;
	background-color: white !important;
	color: black !important;
	color-scheme: light;
	min-height: 320px;
	max-height: 80vh;
	/* Removed aspect-ratio for better mobile fit */
}

.cert-pdf-viewer iframe {
	display: block;
	max-width: 100%;
	width: 100%;
	height: 100%;
	background: #ffffff;
	color-scheme: light;
	border: none;
	border-radius: 0;
}

/* Team page */
.team-grid-wrap {
	max-width: 1080px;
	margin: 0 auto;
	padding: 8px 20px 46px;
}

.team-intro {
	text-align: left;
	font-size: 16px;
	color: var(--text-muted);
	margin: 0 0 22px;
}

.team-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: left;
	gap: 20px;

}

.team-group + .team-group {
	margin-top: 26px;
}

.team-group-title {
	margin: 0 0 6px;
	font-size: 24px;
	font-weight: 400;
	color: var(--text-main);
	text-align: left;
}

.team-group-note {
	margin: 0 0 14px;
	font-size: 15px;
	color: var(--text-muted);
	text-align: left;
}

.team-card {
	flex: 1 1 260px;
	min-width: 240px;
	max-width: 320px;
	background: #fff;
	border: 1px solid var(--border-soft);
	border-radius: var(--radius-lg);
	padding: 22px 20px;
	box-shadow: 0 8px 20px rgba(24, 31, 29, 0.08);
	text-align: left;
}

.team-face {
	width: 84px;
	height: 84px;
	margin: 0 0 12px 0;
	border-radius: 50%;
	font-size: 40px;
	display: block;
	object-fit: cover;
	background: linear-gradient(145deg, #f7f3ea 0%, #e8f4ee 100%);
	border: 1px solid rgba(47, 79, 79, 0.12);
}

.team-card h3 {
	font-size: 20px;
	font-weight: 400;
	margin: 0 0 6px;
	color: var(--text-main);
}

.team-card p {
	margin: 0;
	font-size: 15px;
	color: var(--text-muted);
}

.team-role {
	margin-bottom: 10px !important;
	font-weight: 400;
}

.team-link {
	display: inline-block;
	font-size: 15px;
	font-weight: 400;
	text-decoration: none;
}

.team-link:hover {
	color: #5e0338;
	font-size: 15px;
	text-decoration: none;
}

/* -- Responsive -- */
@media (max-width: 860px) {
	.cert-view-wrapper--with-pdf {
		grid-template-columns: 1fr;
	}

	.cert-details-grid {
		grid-template-columns: 1fr;
	}

	.cert-verify-card {
		padding: 28px 22px;
	}

	.team-grid {
		justify-content: center;
	}
}

@media (max-width: 560px) {
	.social-icons {
		flex-wrap: wrap;
		justify-content: center;
		max-width: 260px;
		margin-left: auto;
		margin-right: auto;
	}
	.social-icons a {
		flex: 0 0 33%;
		display: flex;
		justify-content: center;
		margin-bottom: 10px;
	}
	.social-icons img {
		height: 36px;
	}
	.philosophy-card p {
		text-align: justify !important;
	}
	.objectives-list {
		text-align: justify !important;
	}
	.cert-input-row {
		flex-direction: column;
	}

	.cert-pdf-viewer {
		min-height: 180px;
		max-height: 50vh;
		overflow: auto;
		border-radius: 6px;
	}

	.cert-pdf-mobile-fallback {
		display: flex;
		flex-direction: column;
		gap: 12px;
		align-items: center;
		text-align: center;
		padding-top: 8px;
	}

	.cert-result-box {
		padding: 20px 18px;
	}

	.cert-info-card {
		max-width: 100%;
	}

	.team-grid {
		gap: 14px;
	}

	   .team-card {
		   flex-basis: 100%;
		   min-width: 0;
		   max-width: 100%;
		   text-align: left !important;
	   }
}
