:root {
    --navy-950: #07152d;
    --navy-900: #0b214a;
    --navy-800: #16386f;
    --navy-700: #1b4b93;
    --forest-950: #17382f;
    --forest-900: #1f4d3d;
    --forest-800: #2c6b56;
    --forest-700: #3d816a;
    --gold-500: #f2b329;
    --gold-400: #f6c658;
    --sun-500: #c78b2d;
    --sand-100: #f7f1e4;
    --sand-200: #efe4cd;
    --ink-900: #15233f;
    --ink-700: #4d5d7c;
    --ink-500: #7a88a2;
    --surface: #ffffff;
    --surface-soft: #f4f7fc;
    --surface-tint: #eef4ff;
    --border: rgba(11, 33, 74, 0.12);
    --shadow-soft: 0 24px 60px rgba(11, 33, 74, 0.12);
    --shadow-card: 0 18px 42px rgba(11, 33, 74, 0.1);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
}

.home-ngo-page .page-hero {
    background:
        radial-gradient(circle at right top, rgba(211, 163, 74, 0.22), transparent 24%),
        linear-gradient(135deg, #153328, #245342 58%, #2f6c58);
}

.home-ngo-page .page-hero::after {
    background: linear-gradient(90deg, rgba(16, 42, 34, 0.82) 0%, rgba(16, 42, 34, 0.62) 55%, rgba(16, 42, 34, 0.74) 100%);
}

.page-hero-inner {
    display: grid;
    gap: 16px;
    max-width: 760px;
}

.page-hero-summary {
    margin: 0;
    max-width: 680px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.8;
    font-size: 1.02rem;
    text-shadow: 0 8px 22px rgba(7, 21, 45, 0.25);
}

.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 6px;
}

.page-subnav-section {
    position: relative;
    margin-top: -30px;
    z-index: 2;
}

.page-subnav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    border: 1px solid rgba(23, 56, 47, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 48px rgba(23, 56, 47, 0.12);
}

.page-subnav-label {
    color: var(--forest-950);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.84rem;
}

.page-subnav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.page-subnav-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(36, 83, 66, 0.12);
    background: #f8f5ec;
    color: var(--forest-950);
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.page-subnav-link:hover,
.page-subnav-link.is-active {
    background: linear-gradient(135deg, #245342, #1b4236);
    color: #ffffff;
    transform: translateY(-1px);
}

.page-content-card {
    border: 1px solid rgba(23, 56, 47, 0.08);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 56px rgba(23, 56, 47, 0.12);
}

.ngo-hero-modern {
    align-items: stretch;
}

.ngo-hero-media {
    position: relative;
    display: grid;
    gap: 16px;
}

.ngo-hero-photo {
    width: 100%;
    min-height: 320px;
    border-radius: 28px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 60px rgba(7, 21, 45, 0.22);
}

.ngo-hero-media-card {
    padding: 22px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(23, 56, 47, 0.08);
    box-shadow: 0 24px 56px rgba(7, 21, 45, 0.18);
}

.ngo-stat-grid-compact .ngo-stat-card {
    padding: 16px;
}

.ngo-mini-list,
.ngo-project-list {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
    padding-left: 20px;
    color: #2b3b35;
}

.ngo-mini-list li,
.ngo-project-list li {
    line-height: 1.7;
}

.ngo-leadership-grid,
.ngo-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.ngo-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ngo-leadership-card,
.ngo-feature-card,
.ngo-topic-card,
.ngo-map-card,
.ngo-project-card,
.ngo-logo-tile {
    border: 1px solid rgba(23, 56, 47, 0.1);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 50px rgba(23, 56, 47, 0.12);
}

.ngo-leadership-card,
.ngo-feature-card,
.ngo-topic-card {
    overflow: hidden;
}

.ngo-leadership-media,
.ngo-feature-media,
.ngo-topic-media {
    display: block;
    width: 100%;
}

.ngo-leadership-media {
    height: 320px;
    object-fit: contain;
    object-position: center top;
    background: linear-gradient(180deg, #f5f0e3 0%, #ffffff 100%);
}

.ngo-feature-media,
.ngo-topic-media {
    height: 220px;
    object-fit: cover;
}

.ngo-leadership-body,
.ngo-feature-body,
.ngo-topic-body,
.ngo-map-card,
.ngo-project-card {
    padding: 24px;
}

.ngo-leadership-body h3,
.ngo-feature-body h3,
.ngo-topic-body h3 {
    margin: 0 0 12px;
    color: var(--forest-950);
    font-size: 1.35rem;
}

.ngo-leadership-body p,
.ngo-feature-body p,
.ngo-topic-body p,
.ngo-map-card p,
.ngo-project-card p {
    margin: 0;
    color: #54665f;
    line-height: 1.8;
}

.ngo-leadership-body blockquote {
    margin: 16px 0 18px;
    padding-left: 16px;
    border-left: 4px solid var(--sun-500);
    color: var(--forest-950);
    line-height: 1.8;
    font-weight: 700;
}

.ngo-topic-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.ngo-crosscut-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.ngo-crosscut-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(36, 83, 66, 0.08);
    border: 1px solid rgba(36, 83, 66, 0.12);
    color: var(--forest-950);
    font-weight: 700;
}

.ngo-crosscut-link:hover {
    background: linear-gradient(135deg, #245342, #1b4236);
    color: #ffffff;
}

.ngo-snapshot-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    gap: 24px;
}

.ngo-map-image {
    display: block;
    width: 100%;
    margin-top: 10px;
    border-radius: 22px;
    background: #f6f4ed;
    border: 1px solid rgba(23, 56, 47, 0.08);
}

.ngo-project-actions,
.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
}

.ngo-logo-marquee {
    overflow: hidden;
    margin-top: 18px;
}

.ngo-logo-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: ngo-logo-scroll 42s linear infinite;
}

.ngo-logo-strip {
    display: flex;
    gap: 16px;
    flex: 0 0 auto;
    width: max-content;
    align-items: stretch;
}

.ngo-logo-marquee:hover .ngo-logo-track {
    animation-play-state: paused;
}

.ngo-logo-tile {
    display: flex;
    flex: 0 0 178px;
    align-items: center;
    justify-content: center;
    min-height: 116px;
    padding: 16px;
    background: #fffdf8;
}

.ngo-logo-tile img {
    max-width: 100%;
    max-height: 68px;
    object-fit: contain;
}

@keyframes ngo-logo-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 8px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .ngo-logo-track {
        animation: none;
    }
}

@media (max-width: 1180px) {
    .ngo-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ngo-topic-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .page-subnav {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-subnav-links {
        justify-content: flex-start;
    }

    .ngo-leadership-grid,
    .ngo-feature-grid,
    .ngo-snapshot-layout {
        grid-template-columns: 1fr;
    }

    .ngo-topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .page-hero-actions,
    .page-subnav-links,
    .ngo-project-actions,
    .section-actions,
    .ngo-crosscut-links {
        flex-direction: column;
        align-items: stretch;
    }

    .ngo-topic-grid {
        grid-template-columns: 1fr;
    }

    .ngo-logo-tile {
        flex-basis: 144px;
        min-height: 96px;
    }

    .ngo-logo-tile img {
        max-height: 56px;
    }

    .ngo-leadership-media,
    .ngo-feature-media,
    .ngo-topic-media,
    .ngo-hero-photo {
        height: auto;
        min-height: 0;
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Candara, "Trebuchet MS", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top right, rgba(242, 179, 41, 0.15), transparent 30%),
        linear-gradient(180deg, #f9fbff 0%, #eef3fb 100%);
    color: var(--ink-900);
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

main {
    overflow: hidden;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    color: var(--navy-900);
    box-shadow: 0 16px 30px rgba(242, 179, 41, 0.3);
}

.button-light {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

.button-navy {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(11, 33, 74, 0.28);
}

.text-link,
.section-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--navy-900);
}

.text-link::after,
.section-link::after {
    content: "\2192";
}

.section-block {
    padding: 90px 0;
}

.section-soft {
    background: linear-gradient(180deg, rgba(11, 33, 74, 0.03), rgba(11, 33, 74, 0.01));
}

.section-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: #d99500;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 38px;
    text-align: center;
}

.section-title {
    margin: 0;
    font-size: clamp(1.65rem, 3vw, 2.55rem);
    line-height: 1.08;
    color: var(--navy-900);
}

.section-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 34px;
}

.site-header {
    position: relative;
    z-index: 40;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 36px rgba(11, 33, 74, 0.08);
}

.topbar {
    background: linear-gradient(135deg, var(--navy-950), var(--navy-900));
    color: #dce5f7;
}

.topbar-inner,
.topbar-left,
.topbar-right,
.topbar-utility {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-inner {
    justify-content: space-between;
    padding: 12px 0;
}

.topbar-right {
    gap: 18px;
    justify-content: flex-end;
}

.topbar-meta,
.topbar-utility a {
    color: inherit;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.social-links a:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.34);
}

.social-links a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.header-main {
    background: rgba(255, 255, 255, 0.96);
}

.header-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0;
}

.header-main-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.header-search {
    flex: 0 1 440px;
    width: min(100%, 440px);
}

.header-search-form {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 8px 8px 18px;
    border: 1px solid rgba(11, 33, 74, 0.12);
    border-radius: 999px;
    background: linear-gradient(135deg, #ffffff, #f4f8fd);
    box-shadow: 0 16px 34px rgba(11, 33, 74, 0.08);
}

.header-search-form input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 10px 0;
    color: var(--ink-900);
    font-size: 0.98rem;
}

.header-search-form input[type="search"]::placeholder {
    color: var(--ink-500);
}

.header-search-form input[type="search"]:focus {
    outline: none;
}

.header-search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-500), #f6b429);
    color: var(--navy-950);
    font-weight: 800;
    cursor: pointer;
    appearance: none;
    box-shadow: 0 12px 24px rgba(242, 179, 41, 0.24);
}

.header-search-button svg {
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1 1 auto;
    min-width: 0;
}

.brand-logo {
    width: 78px;
    height: 78px;
    border-radius: 24px;
    object-fit: cover;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(11, 33, 74, 0.12);
}

.brand-copy {
    min-width: 0;
}

.brand-copy h1 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--navy-900);
}

.brand-copy p {
    margin: 6px 0 0;
    color: var(--ink-700);
    font-size: 0.95rem;
}

.nav-toggle {
    display: none;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--navy-900);
    font-weight: 700;
}

.header-menu-bar {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-950));
    border-top: 1px solid rgba(11, 33, 74, 0.08);
}

.main-nav-shell {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    padding: 12px 0;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
}

.main-nav > a,
.nav-item > a {
    display: inline-flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 999px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    transition: background 0.2s ease, color 0.2s ease;
}

.main-nav > a:hover,
.main-nav > a.active,
.nav-item.is-active > a,
.nav-item > a:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.nav-item {
    position: relative;
}

.nav-item::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 14px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 14px 10px 10px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(11, 33, 74, 0.08);
    z-index: 30;
}

.dropdown-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: 12px;
    color: var(--ink-900);
}

.dropdown-menu a:hover {
    background: rgba(11, 33, 74, 0.05);
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
    display: block;
}

.hero-shell {
    position: relative;
    background: var(--navy-950);
}

.hero-slider {
    position: relative;
    min-height: 650px;
    overflow: hidden;
}

.slider-inner {
    position: relative;
    min-height: inherit;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.65s ease;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 21, 45, 0.88) 0%, rgba(7, 21, 45, 0.7) 45%, rgba(7, 21, 45, 0.35) 100%);
}

.slide-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
}

.slide-media-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 650px;
    padding: 80px 0 130px;
}

.slide-copy {
    max-width: 580px;
    color: #ffffff;
}

.hero-title {
    margin: 0 0 18px;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 1.02;
    color: #ffffff;
}

.hero-text {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.slider-control {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 2rem;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
}

.slider-control-prev {
    left: 24px;
}

.slider-control-next {
    right: 24px;
}

.slider-pagination {
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 5;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.slider-pagination button {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.slider-pagination button.active {
    background: var(--gold-500);
}

.hero-stats-wrap {
    background: linear-gradient(135deg, var(--navy-950), var(--navy-900));
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-pill {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 16px;
    color: #ffffff;
}

.stat-pill:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold-400);
    font-weight: 800;
}

.stat-pill strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.85rem;
}

.stat-pill span {
    color: rgba(255, 255, 255, 0.76);
}

body.home-ngo-page {
    background:
        radial-gradient(circle at top right, rgba(199, 139, 45, 0.15), transparent 28%),
        radial-gradient(circle at top left, rgba(44, 107, 86, 0.12), transparent 30%),
        linear-gradient(180deg, #fcfaf5 0%, #f3efe4 100%);
    color: #213126;
}

.home-ngo-page .site-header {
    box-shadow: 0 18px 40px rgba(23, 56, 47, 0.12);
}

.home-ngo-page .topbar,
.home-ngo-page .header-menu-bar {
    background: linear-gradient(135deg, var(--forest-950), var(--forest-800));
}

.home-ngo-page .button-primary {
    background: linear-gradient(135deg, #d3a34a, #b97821);
    color: #fffaf0;
    box-shadow: 0 16px 32px rgba(183, 120, 33, 0.24);
}

.home-ngo-page .button-light {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

.home-ngo-page .button-navy {
    background: linear-gradient(135deg, var(--forest-950), var(--forest-800));
    box-shadow: 0 16px 32px rgba(31, 77, 61, 0.24);
}

.home-ngo-page .section-kicker {
    color: var(--sun-500);
}

.home-ngo-page .section-title,
.home-ngo-page .text-link,
.home-ngo-page .section-link,
.home-ngo-page .brand-copy h1,
.home-ngo-page .program-body h3,
.home-ngo-page .feature-body h3,
.home-ngo-page .news-card-body h3,
.home-ngo-page .gallery-card-body h3,
.home-ngo-page .page-content h2,
.home-ngo-page .page-content h3,
.home-ngo-page .page-content h4 {
    color: var(--forest-950);
}

.home-ngo-page .header-search-form {
    background: linear-gradient(135deg, #ffffff, #f7f1e4);
}

.home-ngo-page .header-search-button {
    background: linear-gradient(135deg, #d3a34a, #b97821);
    color: #fffaf0;
}

.home-ngo-page .brand-logo,
.home-ngo-page .footer-logo {
    background: #fdfaf2;
}

.home-ngo-page .site-footer {
    background: linear-gradient(180deg, #142f27 0%, #0f211b 100%);
}

.home-ngo-page [id] {
    scroll-margin-top: 130px;
}

.section-heading-left {
    max-width: none;
    margin: 0 0 34px;
    text-align: left;
}

.section-intro {
    margin: 14px 0 0;
    max-width: 740px;
    color: #52635c;
    line-height: 1.8;
}

.ngo-hero-section {
    padding-top: 0;
}

.ngo-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    gap: 28px;
    padding: 42px;
    border-radius: 36px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(246, 198, 88, 0.22), transparent 24%),
        radial-gradient(circle at bottom left, rgba(61, 129, 106, 0.2), transparent 30%),
        linear-gradient(135deg, #16342b 0%, #245342 58%, #2f6c58 100%);
    box-shadow: 0 36px 90px rgba(23, 56, 47, 0.18);
}

.ngo-hero::before,
.ngo-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.ngo-hero::before {
    top: -60px;
    right: -90px;
    width: 240px;
    height: 240px;
    background: rgba(247, 241, 228, 0.08);
}

.ngo-hero::after {
    bottom: -90px;
    left: -70px;
    width: 220px;
    height: 220px;
    background: rgba(247, 241, 228, 0.06);
}

.ngo-hero-copy,
.ngo-hero-panel {
    position: relative;
    z-index: 1;
}

.ngo-hero-copy {
    display: grid;
    align-content: center;
    gap: 18px;
}

.ngo-hero-title {
    margin: 0;
    max-width: 760px;
    font-size: clamp(2.9rem, 5vw, 5rem);
    line-height: 1;
    color: #ffffff;
}

.ngo-hero-text {
    margin: 0;
    max-width: 640px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
    line-height: 1.9;
}

.ngo-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ngo-trust-strip span,
.ngo-policy-chip,
.ngo-value-tag {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.ngo-trust-strip span {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.ngo-hero-panel {
    display: grid;
    gap: 18px;
}

.ngo-panel-card,
.ngo-story-card,
.ngo-side-card,
.ngo-quote-card,
.ngo-theme-card,
.ngo-crosscut-card,
.ngo-reach-card,
.ngo-metrics-card,
.ngo-region-card,
.ngo-values-card,
.ngo-governance-card,
.ngo-contact-card {
    border: 1px solid rgba(23, 56, 47, 0.1);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 50px rgba(23, 56, 47, 0.12);
}

.ngo-panel-card {
    padding: 24px 24px 26px;
}

.ngo-panel-card-featured {
    background: linear-gradient(180deg, rgba(255, 249, 237, 0.96), rgba(255, 255, 255, 0.98));
}

.ngo-panel-kicker {
    margin: 0 0 10px;
    color: var(--sun-500);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.ngo-panel-card h3,
.ngo-story-card h3,
.ngo-side-card h3,
.ngo-theme-card h3,
.ngo-crosscut-card h3,
.ngo-district-card h3,
.ngo-contact-card h3,
.ngo-governance-card h3 {
    margin: 0 0 10px;
    color: var(--forest-950);
    font-size: 1.4rem;
    line-height: 1.2;
}

.ngo-panel-card p,
.ngo-story-card p,
.ngo-side-card p,
.ngo-theme-card p,
.ngo-crosscut-card p,
.ngo-reach-card p,
.ngo-metrics-card p,
.ngo-values-card p,
.ngo-governance-card p,
.ngo-contact-card p {
    margin: 0;
    color: #54665f;
    line-height: 1.8;
}

.ngo-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ngo-stat-card {
    display: grid;
    gap: 6px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(23, 56, 47, 0.08);
}

.ngo-stat-card strong {
    color: var(--forest-950);
    font-size: 1.8rem;
    line-height: 1;
}

.ngo-stat-card span {
    color: var(--forest-950);
    font-weight: 700;
}

.ngo-stat-card small,
.ngo-metric-row small {
    color: #66756e;
    line-height: 1.55;
}

.ngo-overview-layout,
.ngo-values-layout,
.ngo-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 24px;
}

.ngo-story-card,
.ngo-values-card,
.ngo-governance-card,
.ngo-reach-card,
.ngo-metrics-card {
    padding: 30px;
}

.ngo-bullet-list {
    display: grid;
    gap: 12px;
    margin: 22px 0 0;
    padding-left: 22px;
    color: #2b3b35;
}

.ngo-bullet-list li {
    line-height: 1.7;
}

.ngo-side-stack {
    display: grid;
    gap: 18px;
}

.ngo-side-card {
    padding: 26px;
    background: linear-gradient(180deg, rgba(255, 249, 237, 0.86), rgba(255, 255, 255, 0.98));
}

.ngo-quote-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.ngo-quote-card {
    padding: 26px;
}

.ngo-quote-card blockquote {
    margin: 0 0 18px;
    color: var(--forest-950);
    font-size: 1.05rem;
    line-height: 1.9;
}

.ngo-quote-card strong {
    color: #3d4f47;
}

.ngo-theme-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.ngo-theme-card,
.ngo-crosscut-card {
    padding: 24px;
}

.ngo-crosscut-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 34px 0 18px;
}

.ngo-crosscut-header h3 {
    margin: 0;
    color: var(--forest-950);
    font-size: 1.65rem;
}

.ngo-crosscut-header p {
    margin: 0;
    max-width: 540px;
    color: #5a6d65;
    line-height: 1.8;
}

.ngo-crosscut-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ngo-reach-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
    gap: 24px;
    align-items: start;
}

.ngo-region-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.ngo-region-card {
    padding: 22px;
    background: linear-gradient(180deg, rgba(247, 241, 228, 0.86), rgba(255, 255, 255, 0.98));
}

.ngo-region-card h3 {
    margin: 0 0 8px;
    color: var(--forest-950);
    font-size: 1.15rem;
}

.ngo-region-card p {
    margin: 0;
    color: #5b6a64;
    line-height: 1.7;
}

.ngo-metric-list {
    display: grid;
    gap: 14px;
}

.ngo-metric-row {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 14px 0;
    border-bottom: 1px solid rgba(23, 56, 47, 0.08);
}

.ngo-metric-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ngo-metric-row strong {
    color: var(--forest-950);
    font-size: 1.5rem;
}

.ngo-metric-row span {
    display: block;
    margin-bottom: 6px;
    color: #20352d;
    font-weight: 700;
}

.ngo-district-card {
    margin-top: 24px;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(247, 241, 228, 0.8), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(23, 56, 47, 0.08);
}

.ngo-district-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.ngo-district-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(23, 56, 47, 0.08);
    color: #33463f;
}

.ngo-district-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ngo-district-item strong {
    color: var(--forest-950);
}

.ngo-value-tags,
.ngo-policy-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ngo-value-tags {
    margin-top: 24px;
}

.ngo-value-tag {
    background: rgba(44, 107, 86, 0.12);
    color: var(--forest-950);
}

.ngo-governance-list {
    display: grid;
    gap: 14px;
    margin-bottom: 24px;
}

.ngo-governance-item {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(247, 241, 228, 0.72);
    color: #2b3b35;
    line-height: 1.75;
}

.ngo-policy-chip {
    background: rgba(23, 56, 47, 0.08);
    color: #2d433b;
}

.ngo-contact-band {
    padding-top: 18px;
}

.ngo-contact-layout {
    align-items: start;
    padding: 34px;
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(247, 241, 228, 0.18), transparent 26%),
        linear-gradient(135deg, #193a30 0%, #245444 100%);
    box-shadow: 0 34px 80px rgba(23, 56, 47, 0.18);
}

.ngo-contact-copy .section-title,
.ngo-contact-copy p {
    color: #ffffff;
}

.ngo-contact-copy p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.84);
}

.ngo-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.ngo-contact-grid {
    display: grid;
    gap: 16px;
}

.ngo-contact-card {
    padding: 24px;
    background: rgba(255, 255, 255, 0.96);
}

.ngo-contact-card a {
    color: var(--forest-950);
    font-weight: 700;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.program-card,
.feature-card,
.news-card,
.gallery-card,
.content-card,
.campus-copy {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.program-card {
    position: relative;
    overflow: hidden;
}

.feature-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.program-media {
    width: 100%;
    height: 185px;
    object-fit: cover;
}

.feature-media {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: #e9eef7;
}

.program-badge {
    position: absolute;
    top: 152px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 14px 22px rgba(11, 33, 74, 0.24);
}

.program-body {
    padding: 42px 24px 26px;
}

.feature-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
}

.feature-chip {
    display: inline-flex;
    align-self: flex-start;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(11, 33, 74, 0.08);
    color: var(--navy-900);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.program-body h3,
.feature-body h3,
.news-card-body h3,
.gallery-card-body h3 {
    margin: 0 0 12px;
    font-size: 1.28rem;
    color: var(--navy-900);
}

.program-body p,
.feature-body p,
.news-card-body p,
.gallery-card-body p,
.campus-copy p,
.page-content,
.footer-brand p,
.site-footer p {
    color: var(--ink-700);
    line-height: 1.75;
}

.campus-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.15fr;
    gap: 24px;
    align-items: stretch;
}

.campus-copy {
    padding: 40px;
}

.campus-mosaic {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.mosaic-card {
    position: relative;
    min-height: 210px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.mosaic-media,
.news-thumb,
.gallery-media {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.mosaic-card::after,
.news-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 21, 45, 0) 20%, rgba(7, 21, 45, 0.78) 100%);
}

.mosaic-label {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    color: #ffffff;
}

.mosaic-label strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.15rem;
}

.mosaic-label span {
    display: block;
    font-size: 0.94rem;
    color: rgba(255, 255, 255, 0.82);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.news-card {
    overflow: hidden;
}

.news-thumb {
    position: relative;
    height: 190px;
}

.date-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 74px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: #ffffff;
    box-shadow: 0 14px 24px rgba(11, 33, 74, 0.3);
}

.date-badge strong {
    font-size: 1.35rem;
    line-height: 1;
}

.date-badge span {
    margin-top: 4px;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
}

.news-card-body,
.gallery-card-body {
    padding: 24px;
}

.news-grid-featured {
    align-items: stretch;
}

.news-card-rich {
    display: flex;
    flex-direction: column;
}

.news-card-rich .news-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
}

.news-card-rich .news-thumb-rich {
    background-size: cover;
    background-position: center;
}

.news-card-featured {
    grid-column: span 2;
}

.news-card-featured .news-thumb {
    height: 320px;
}

.news-card-featured .news-card-body h3 {
    font-size: 1.7rem;
}

.news-thumb-topline {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    max-width: calc(100% - 96px);
}

.news-type-badge,
.news-attachment-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.news-type-badge {
    background: rgba(7, 21, 45, 0.76);
}

.news-type-event {
    background: rgba(21, 94, 117, 0.84);
}

.news-type-popup {
    background: rgba(180, 83, 9, 0.88);
}

.news-attachment-badge {
    background: rgba(255, 255, 255, 0.18);
}

.news-card-date {
    margin: 0 0 10px;
    color: var(--navy-700);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.news-card-rich .text-link {
    margin-top: auto;
}

.news-detail-summary {
    margin: 0 0 24px;
    font-size: 1.08rem;
    line-height: 1.9;
    color: var(--ink-900);
}

.news-detail-cover {
    margin-bottom: 28px;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: var(--shadow-card);
}

.news-detail-cover img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.news-attachments-section {
    margin-top: 34px;
}

.news-section-row {
    margin-bottom: 18px;
}

.news-section-title {
    font-size: clamp(1.5rem, 2vw, 2.1rem);
}

.news-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.news-gallery-card,
.news-file-card {
    border: 1px solid rgba(11, 33, 74, 0.08);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.news-gallery-card {
    overflow: hidden;
}

.news-gallery-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-gallery-card span {
    display: block;
    padding: 14px 16px 18px;
    color: var(--ink-700);
    font-weight: 700;
}

.news-file-list {
    display: grid;
    gap: 14px;
}

.news-file-card {
    display: grid;
    gap: 8px;
    padding: 20px 22px;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-file-card:hover,
.news-gallery-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 50px rgba(11, 33, 74, 0.14);
}

.news-file-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(11, 33, 74, 0.08);
    color: var(--navy-900);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-news-popup {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px;
}

.home-news-popup.is-hidden {
    display: none;
}

.home-news-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 21, 45, 0.58);
    backdrop-filter: blur(8px);
}

.home-news-popup-shell {
    position: relative;
    z-index: 1;
    width: min(900px, 100%);
}

.home-news-popup-card {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    overflow: hidden;
    border-radius: 32px;
    background: #ffffff;
    box-shadow: 0 40px 90px rgba(7, 21, 45, 0.28);
}

.home-news-popup-media {
    min-height: 360px;
    background-size: cover;
    background-position: center;
}

.home-news-popup-content {
    display: grid;
    align-content: center;
    gap: 14px;
    padding: 34px;
}

.home-news-popup-kicker {
    display: inline-flex;
    align-self: flex-start;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(11, 33, 74, 0.08);
    color: var(--navy-900);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-news-popup-content h3 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.08;
    color: var(--navy-900);
}

.home-news-popup-content p {
    margin: 0;
    color: var(--ink-700);
    line-height: 1.8;
}

.home-news-popup-date {
    color: var(--navy-700);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-news-popup-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 6px;
}

.home-news-popup-meta {
    color: var(--ink-700);
    font-weight: 700;
}

.home-news-popup-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(7, 21, 45, 0.84);
    color: #ffffff;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}

.has-news-popup {
    overflow: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.gallery-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 22px;
}

.gallery-category-card,
.gallery-photo-card {
    overflow: hidden;
}

.gallery-card-link,
.gallery-lightbox-trigger {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    color: inherit;
    text-align: left;
    text-decoration: none;
}

.gallery-lightbox-trigger {
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.gallery-card-link:hover .gallery-media,
.gallery-lightbox-trigger:hover .gallery-media,
.gallery-card-link:focus-visible .gallery-media,
.gallery-lightbox-trigger:focus-visible .gallery-media {
    transform: scale(1.03);
}

.gallery-card-link:focus-visible,
.gallery-lightbox-trigger:focus-visible {
    outline: 3px solid rgba(242, 179, 41, 0.55);
    outline-offset: -3px;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.search-result-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}

.search-result-media {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.search-result-body {
    padding: 24px;
}

.search-result-meta {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(11, 33, 74, 0.07);
    color: var(--navy-900);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.search-result-body h3 {
    margin: 0 0 12px;
    color: var(--navy-900);
    font-size: 1.3rem;
}

.search-result-body p {
    margin: 0;
    color: var(--ink-700);
    line-height: 1.75;
}

.search-result-body .text-link {
    display: inline-flex;
    margin-top: 18px;
}

.gallery-media {
    height: 230px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.gallery-lightbox.is-hidden {
    display: none;
}

.gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 21, 45, 0.78);
    backdrop-filter: blur(5px);
}

.gallery-lightbox-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    width: min(1120px, 100%);
}

.gallery-lightbox-stage {
    overflow: hidden;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 28px 70px rgba(7, 21, 45, 0.35);
}

.gallery-lightbox-image {
    display: block;
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    background: #e7edf7;
}

.gallery-lightbox-caption {
    padding: 20px 24px 24px;
}

.gallery-lightbox-counter {
    margin: 0 0 10px;
    color: var(--navy-700);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gallery-lightbox-caption h3 {
    margin: 0 0 10px;
    color: var(--navy-900);
    font-size: 1.3rem;
}

.gallery-lightbox-caption p:last-child {
    margin: 0;
    color: var(--ink-700);
    line-height: 1.8;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 48px;
    height: 48px;
    background: rgba(7, 21, 45, 0.78);
    font-size: 1.7rem;
    line-height: 1;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover,
.gallery-lightbox-close:focus-visible,
.gallery-lightbox-nav:focus-visible {
    background: rgba(242, 179, 41, 0.88);
    box-shadow: 0 12px 24px rgba(7, 21, 45, 0.2);
    outline: none;
}

.has-gallery-lightbox {
    overflow: hidden;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background:
        radial-gradient(circle at right top, rgba(242, 179, 41, 0.18), transparent 28%),
        linear-gradient(135deg, var(--navy-950), var(--navy-900));
}

.page-hero::before,
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
}

.page-hero::before {
    background-image: var(--page-hero-image);
    background-size: cover;
    background-position: center;
    opacity: 0.58;
    transform: scale(1.02);
    filter: saturate(1.05);
}

.page-hero::after {
    background:
        linear-gradient(90deg, rgba(7, 21, 45, 0.68) 0%, rgba(7, 21, 45, 0.42) 52%, rgba(7, 21, 45, 0.56) 100%);
}

.page-hero > .container {
    position: relative;
    z-index: 1;
}

.page-hero .section-kicker,
.page-title {
    color: #ffffff;
    text-shadow: 0 8px 22px rgba(7, 21, 45, 0.35);
}

.page-meta {
    margin-top: 16px;
}

.content-section {
    padding: 72px 0;
}

.content-card {
    padding: 34px;
}

.public-form-layout {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 24px;
    align-items: start;
}

.public-form-layout-single {
    grid-template-columns: minmax(0, 820px);
    justify-content: center;
}

.public-content-card,
.public-form-card,
.alumni-member-card,
.public-meta-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}

.public-form-card {
    display: grid;
    gap: 18px;
}

.public-form-heading p {
    margin: 10px 0 0;
    color: var(--ink-700);
    line-height: 1.75;
}

.public-form-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.public-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.public-meta-card {
    padding: 20px;
}

.public-meta-card strong {
    display: block;
    color: var(--navy-900);
    line-height: 1.6;
}

.public-form {
    display: grid;
    gap: 16px;
}

.public-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.public-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--navy-900);
    font-weight: 700;
}

.public-form input,
.public-form textarea,
.public-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(11, 33, 74, 0.26);
    border-radius: 16px;
    background: #ffffff;
    color: var(--ink-900);
    box-shadow: inset 0 0 0 1px rgba(11, 33, 74, 0.04);
}

.public-form textarea {
    min-height: 130px;
    resize: vertical;
}

.public-form input:focus,
.public-form textarea:focus,
.public-form select:focus {
    outline: none;
    border-color: var(--navy-700);
    box-shadow: 0 0 0 4px rgba(27, 75, 147, 0.08);
}

.public-form-actions {
    display: flex;
    justify-content: flex-start;
}

.alumni-members-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 26px;
}

.alumni-member-card {
    padding: 24px;
}

.alumni-member-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.alumni-member-top h3 {
    margin: 0 0 6px;
    color: var(--navy-900);
    font-size: 1.28rem;
}

.alumni-member-top p {
    margin: 0;
    color: var(--ink-700);
}

.alumni-member-meta {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--ink-700);
    line-height: 1.7;
}

.alumni-member-message {
    margin: 0;
    color: var(--ink-700);
    line-height: 1.8;
}

.page-content h2,
.page-content h3,
.page-content h4 {
    color: var(--navy-900);
}

.page-content p,
.page-content li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--ink-700);
}

.page-content ul,
.page-content ol {
    padding-left: 20px;
}

.prospectus-lead {
    margin: 0 0 24px;
    font-size: 1.06rem;
    line-height: 1.85;
    color: var(--ink-800);
}

.prospectus-copy {
    display: grid;
    gap: 14px;
}

.prospectus-section {
    margin-top: 30px;
}

.prospectus-section h2 {
    margin-bottom: 14px;
    color: var(--navy-900);
    font-size: 1.4rem;
}

.prospectus-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 22px;
}

.prospectus-card-grid,
.prospectus-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.prospectus-card,
.prospectus-link-card,
.prospectus-quote,
.prospectus-note,
.prospectus-table-wrap {
    border: 1px solid rgba(11, 33, 74, 0.08);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.prospectus-card,
.prospectus-quote,
.prospectus-note {
    padding: 22px;
}

.prospectus-card h3 {
    margin: 0 0 10px;
    color: var(--navy-900);
}

.prospectus-link-card {
    display: grid;
    gap: 8px;
    padding: 22px;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.prospectus-link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 50px rgba(11, 33, 74, 0.12);
}

.prospectus-link-card strong {
    color: var(--navy-900);
    font-size: 1.04rem;
}

.prospectus-link-card span {
    color: var(--ink-700);
    line-height: 1.7;
}

.prospectus-gallery figure {
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
    background: #f4f7fb;
    border: 1px solid rgba(11, 33, 74, 0.08);
}

.prospectus-gallery img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.page-content-portrait .prospectus-gallery {
    grid-template-columns: minmax(0, 360px);
    justify-content: center;
}

.page-content-portrait .prospectus-gallery img {
    height: auto;
    max-height: 460px;
    object-fit: contain;
    object-position: center top;
}

.page-content-partners .prospectus-gallery {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
}

.page-content-partners .prospectus-gallery figure {
    display: grid;
    align-items: center;
    justify-items: center;
    min-height: 112px;
    padding: 14px;
    border-radius: 18px;
    background: #ffffff;
}

.page-content-partners .prospectus-gallery img {
    width: 100%;
    height: 72px;
    object-fit: contain;
    object-position: center;
}

.prospectus-gallery figcaption {
    padding: 12px 14px 16px;
    color: var(--ink-700);
    font-size: 0.94rem;
}

.prospectus-quote {
    margin: 0;
    display: grid;
    gap: 12px;
    border-left: 5px solid var(--gold-500);
}

.prospectus-quote p {
    margin: 0;
    color: var(--ink-900);
    font-size: 1.04rem;
}

.prospectus-quote footer {
    color: var(--ink-600);
    font-weight: 700;
}

.prospectus-note p,
.prospectus-form-note {
    margin: 0;
    color: var(--ink-700);
}

.prospectus-table-wrap {
    margin-top: 18px;
    overflow-x: auto;
    padding: 10px;
}

.prospectus-table {
    width: 100%;
    border-collapse: collapse;
}

.prospectus-table caption {
    padding: 12px;
    text-align: left;
    color: var(--navy-900);
    font-weight: 800;
    font-size: 1rem;
}

.prospectus-table th,
.prospectus-table td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(11, 33, 74, 0.08);
    text-align: left;
    vertical-align: top;
}

.prospectus-table th {
    color: var(--navy-900);
    background: rgba(11, 33, 74, 0.04);
}

.prospectus-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.prospectus-form-grid label {
    display: block;
    margin-bottom: 6px;
    color: var(--navy-900);
    font-weight: 700;
}

.prospectus-form-grid input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #f8fafc;
    color: var(--ink-700);
}

.inline-link {
    margin-top: 18px;
}

.empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    text-align: center;
}

.site-footer {
    background: linear-gradient(180deg, #091833 0%, #071326 100%);
    color: #d6def0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr 0.9fr 1fr 1.15fr;
    gap: 24px;
    padding: 66px 0 34px;
}

.footer-brand-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.footer-logo {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: #ffffff;
}

.site-footer h3,
.site-footer h4 {
    margin: 0 0 16px;
    color: #ffffff;
}

.footer-brand-copy {
    display: grid;
    gap: 10px;
}

.footer-address {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}

.footer-tagline {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
    display: block;
    margin-bottom: 10px;
    color: #d6def0;
}

.footer-social a {
    display: inline-flex;
    margin-bottom: 0;
}

.footer-social {
    margin-top: 2px;
}

.footer-social a svg {
    width: 16px;
    height: 16px;
}

.admin-field-help {
    margin: 0;
    color: var(--ink-600);
    font-size: 0.92rem;
}

.newsletter-form {
    display: grid;
    gap: 12px;
}

.newsletter-form input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.66);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.reference-photo {
    background-image: url("../../home1.png");
    background-repeat: no-repeat;
    background-size: 1024px 1536px;
    background-color: #dbe7fb;
}

.reference-photo--program-1 {
    background-position: -48px -620px;
}

.reference-photo--program-2 {
    background-position: -237px -620px;
}

.reference-photo--program-3 {
    background-position: -425px -620px;
}

.reference-photo--program-4 {
    background-position: -613px -620px;
}

.reference-photo--program-5 {
    background-position: -801px -620px;
}

.reference-photo--campus-1 {
    background-position: -390px -879px;
}

.reference-photo--campus-2 {
    background-position: -677px -879px;
}

.reference-photo--campus-3 {
    background-position: -390px -1016px;
}

.reference-photo--campus-4 {
    background-position: -678px -1016px;
}

.reference-photo--news-1 {
    background-position: -32px -1200px;
}

.reference-photo--news-2 {
    background-position: -368px -1200px;
}

.reference-photo--news-3 {
    background-position: -673px -1200px;
}

.admin-dashboard-page {
    min-height: 100vh;
    padding: 24px;
    background: #eef3fb;
}

.admin-dashboard-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 24px;
    max-width: 1440px;
    margin: 0 auto;
}

.admin-sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
    color: #ffffff;
    box-shadow: 0 30px 80px rgba(11, 33, 74, 0.16);
}

.sidebar-top {
    display: grid;
    gap: 32px;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sidebar-logo {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-900);
    font-size: 1.55rem;
    font-weight: 800;
}

.sidebar-brand-title {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.sidebar-brand-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.sidebar-nav {
    display: grid;
    gap: 12px;
}

.sidebar-nav-link {
    display: block;
    padding: 14px 18px;
    border-radius: 16px;
    color: #dbe5f8;
    font-weight: 600;
}

.sidebar-nav-link.active,
.sidebar-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.sidebar-footer {
    display: grid;
    gap: 18px;
}

.sidebar-profile {
    display: flex;
    align-items: center;
    gap: 14px;
}

.profile-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-900);
    font-weight: 700;
}

.profile-name {
    font-weight: 700;
}

.profile-role {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
}

.sidebar-logout {
    width: 100%;
}

.admin-main,
.dashboard-content {
    display: grid;
    gap: 24px;
}

.admin-header,
.widget-card,
.stat-card,
.tab-pane,
.admin-list-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 30px;
}

.admin-header h1,
.tab-panel-header h2 {
    margin: 0;
}

.admin-intro,
.widget-note,
.menu-hint,
.alert,
.admin-list li span,
.admin-menu-tree li span {
    color: var(--ink-700);
}

.admin-actions-bar {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 240px;
    padding: 14px 14px 14px 40px;
    border: 1px solid #d7e1ef;
    border-radius: 16px;
    background: var(--surface-soft);
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-500);
}

.header-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--navy-700);
    font-weight: 700;
}

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

.stat-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
}

.stat-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
}

.stat-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--ink-700);
}

.stat-card strong {
    font-size: 2.2rem;
}

.stat-card-primary .stat-card-icon {
    background: #eef4ff;
    color: #1d4ed8;
}

.stat-card-secondary .stat-card-icon {
    background: #dcfce7;
    color: #16a34a;
}

.stat-card-tertiary .stat-card-icon {
    background: #fff8d7;
    color: #ca8a04;
}

.stat-card-quaternary .stat-card-icon {
    background: #efe7ff;
    color: #7c3aed;
}

.dashboard-widgets {
    display: grid;
    gap: 20px;
}

.dashboard-widgets-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.widget-card {
    padding: 24px;
}

.widget-header,
.widget-row,
.tab-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.widget-row strong {
    font-size: 2rem;
}

.widget-row span {
    color: var(--ink-700);
}

.small-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 14px;
    background: rgba(11, 33, 74, 0.05);
    color: var(--navy-900);
    font-weight: 600;
}

.admin-dashboard-page .button-secondary {
    background: #e6edf7;
    color: var(--ink-900);
    border: 1px solid #cfd9e6;
}

.tab-pane {
    display: none;
    padding: 24px;
}

.tab-pane.active {
    display: block;
}

.tab-panel-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.panel-summary-card {
    padding: 20px;
    border-radius: 18px;
    background: var(--surface-soft);
}

.panel-summary-card-soft {
    background: #eef4ff;
}

.admin-list,
.admin-menu-tree {
    list-style: none;
    padding-left: 0;
}

.admin-list li,
.admin-menu-tree li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    padding: 14px 16px;
    border: 1px solid #dee6f2;
    border-radius: 14px;
    background: #f8fafd;
}

.admin-menu-tree ul {
    margin-top: 10px;
    padding-left: 18px;
}

.admin-form {
    display: grid;
    gap: 18px;
}

.admin-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #334155;
}

.admin-form input[type="text"],
.admin-form input[type="number"],
.admin-form input[type="datetime-local"],
.admin-form input[type="file"],
.admin-form input[type="password"],
.admin-form select,
.admin-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cfd9e6;
    border-radius: 14px;
    background: #f8fafc;
    color: #0f172a;
}

.admin-form textarea {
    min-height: 120px;
    resize: vertical;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus,
.newsletter-form input:focus,
.search-box input:focus {
    outline: none;
    border-color: var(--navy-700);
    box-shadow: 0 0 0 4px rgba(27, 75, 147, 0.08);
}

.admin-form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #334155;
    font-weight: 600;
}

.admin-list-card {
    margin-top: 24px;
    padding: 24px;
}

.admin-list-card h3 {
    margin-top: 0;
}

.admin-list li .list-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.inline-form {
    display: inline;
    margin: 0;
}

.form-actions {
    margin-top: 12px;
}

.alert {
    margin-bottom: 18px;
    padding: 14px 18px;
    border-radius: 16px;
    font-weight: 600;
}

.alert-success {
    background: #dff7ea;
    color: #065f46;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
}

.tab-switch {
    border: none;
}

.admin-card {
    padding: 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: #ffffff;
}

.admin-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 2rem;
}

@media (max-width: 1180px) {
    .program-grid,
    .feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ngo-theme-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ngo-crosscut-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .alumni-members-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-card-featured {
        grid-column: span 2;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1080px) {
    .nav-toggle {
        display: inline-flex;
        justify-self: end;
        flex-shrink: 0;
    }

    .header-main-inner {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .header-search {
        order: 3;
        flex: 1 1 100%;
        width: 100%;
    }

    .header-main-actions {
        width: 100%;
        justify-content: space-between;
    }

    .main-nav-shell {
        display: none;
        padding: 14px 0 18px;
    }

    .main-nav-shell.is-open {
        display: block;
    }

    .main-nav {
        align-items: stretch;
        flex-direction: column;
        padding: 14px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.08);
        box-shadow: none;
    }

    .main-nav > a,
    .nav-item > a {
        width: 100%;
        justify-content: space-between;
        padding: 14px 16px;
    }

    .dropdown-menu {
        position: static;
        display: block;
        min-width: 0;
        margin-top: 8px;
        padding: 8px 0 0 14px;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .dropdown-menu a {
        padding: 8px 10px;
        color: rgba(255, 255, 255, 0.82);
    }

    .campus-layout,
    .feature-grid,
    .search-results-grid,
    .public-form-layout,
    .news-grid,
    .gallery-grid,
    .dashboard-widgets-columns,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .ngo-hero,
    .ngo-overview-layout,
    .ngo-values-layout,
    .ngo-contact-layout,
    .ngo-reach-layout,
    .ngo-quote-grid {
        grid-template-columns: 1fr;
    }

    .ngo-hero {
        padding: 36px;
    }

    .ngo-theme-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ngo-region-grid {
        grid-template-columns: 1fr;
    }

    .public-meta-grid {
        grid-template-columns: 1fr;
    }

    .news-card-featured {
        grid-column: span 1;
    }

    .news-card-featured .news-thumb {
        height: 240px;
    }

    .home-news-popup-card {
        grid-template-columns: 1fr;
    }

    .home-news-popup-media {
        min-height: 240px;
    }

    .gallery-lightbox {
        padding: 20px;
    }

    .gallery-lightbox-dialog {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .gallery-lightbox-stage {
        order: 1;
    }

    .gallery-lightbox-nav {
        position: absolute;
        top: 50%;
        z-index: 2;
        transform: translateY(-50%);
    }

    .gallery-lightbox-nav-prev {
        left: 12px;
    }

    .gallery-lightbox-nav-next {
        right: 12px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat-pill:nth-child(2n) {
        border-right: none;
    }

    .admin-dashboard-layout {
        grid-template-columns: 1fr;
    }

    .admin-header {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box input {
        width: 100%;
    }
}

@media (max-width: 820px) {
    .topbar-inner,
    .topbar-left,
    .topbar-right,
    .topbar-utility {
        flex-wrap: wrap;
    }

    .topbar-left,
    .topbar-right {
        width: 100%;
    }

    .topbar-right {
        justify-content: space-between;
    }

    .hero-slider,
    .hero-grid {
        min-height: 560px;
    }

    .hero-grid {
        padding: 64px 0 110px;
    }

    .slider-control {
        display: none;
    }

    .program-grid,
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ngo-crosscut-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .ngo-contact-layout {
        padding: 28px;
    }

    .alumni-members-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .home-news-popup {
        padding: 18px;
    }

    .home-news-popup-content {
        padding: 26px;
    }

    .gallery-toolbar {
        justify-content: flex-start;
    }

    .gallery-lightbox-image {
        max-height: 60vh;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .brand-logo {
        width: 64px;
        height: 64px;
    }

    .brand-copy h1 {
        font-size: 1.25rem;
    }

    .header-main-actions {
        flex-wrap: wrap;
    }

    .header-search-form {
        flex-wrap: wrap;
        border-radius: 26px;
    }

    .header-search-button {
        width: 48px;
    }

    .gallery-lightbox {
        padding: 14px;
    }

    .gallery-lightbox-nav {
        width: 46px;
        height: 46px;
    }

    .gallery-lightbox-caption {
        padding: 16px 18px 20px;
    }

    .hero-actions,
    .footer-bottom-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .ngo-hero,
    .ngo-contact-layout {
        padding: 22px;
        border-radius: 28px;
    }

    .ngo-hero-title {
        font-size: clamp(2.2rem, 11vw, 3.4rem);
    }

    .ngo-stat-grid,
    .ngo-theme-grid,
    .ngo-crosscut-grid,
    .ngo-quote-grid,
    .ngo-region-grid {
        grid-template-columns: 1fr;
    }

    .ngo-metric-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .ngo-story-card,
    .ngo-values-card,
    .ngo-governance-card,
    .ngo-reach-card,
    .ngo-metrics-card,
    .ngo-side-card,
    .ngo-quote-card,
    .ngo-theme-card,
    .ngo-crosscut-card,
    .ngo-contact-card,
    .ngo-panel-card,
    .ngo-district-card {
        padding: 20px;
    }

    .home-news-popup-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .prospectus-form-grid {
        grid-template-columns: 1fr;
    }

    .public-form-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats,
    .program-grid,
    .feature-grid,
    .campus-mosaic {
        grid-template-columns: 1fr;
    }

    .stat-pill {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .stat-pill:last-child {
        border-bottom: none;
    }

.content-card,
.campus-copy,
.widget-card,
.admin-header,
.stat-card,
.tab-pane {
    padding: 20px;
}
}

/* Saibaan home theme aligned to home1.png while keeping the new NGO content structure */
body.home-ngo-page {
    background:
        radial-gradient(circle at top right, rgba(242, 179, 41, 0.12), transparent 26%),
        linear-gradient(180deg, #fbfcff 0%, #f4f7fc 100%);
    color: var(--ink-900);
}

.home-ngo-page .site-header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 40px rgba(11, 33, 74, 0.1);
}

.home-ngo-page .topbar {
    background: linear-gradient(135deg, var(--navy-950), var(--navy-900));
}

.home-ngo-page .header-menu-bar {
    background: linear-gradient(135deg, #f4b223, #d89200);
    border-top: 1px solid rgba(11, 33, 74, 0.12);
    border-bottom: 1px solid rgba(11, 33, 74, 0.12);
}

.home-ngo-page .main-nav-shell {
    padding: 0;
}

.home-ngo-page .main-nav > a,
.home-ngo-page .nav-item > a {
    position: relative;
    padding: 18px 16px;
    border-radius: 0;
    color: #041127;
    background: transparent;
    font-weight: 900;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
}

.home-ngo-page .main-nav > a::after,
.home-ngo-page .nav-item > a::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 9px;
    height: 3px;
    border-radius: 999px;
    background: transparent;
}

.home-ngo-page .main-nav > a:hover,
.home-ngo-page .main-nav > a.active,
.home-ngo-page .nav-item.is-active > a,
.home-ngo-page .nav-item > a:hover {
    background: transparent;
    color: #000000;
}

.home-ngo-page .main-nav > a:hover::after,
.home-ngo-page .main-nav > a.active::after,
.home-ngo-page .nav-item.is-active > a::after,
.home-ngo-page .nav-item > a:hover::after {
    background: var(--navy-950);
}

.home-ngo-page .dropdown-menu {
    border-radius: 14px;
}

.home-ngo-page .button {
    border-radius: 10px;
}

.home-ngo-page .button-primary {
    background: linear-gradient(135deg, #f4b223, #d89200);
    color: var(--navy-950);
    box-shadow: 0 14px 28px rgba(242, 179, 41, 0.28);
}

.home-ngo-page .button-navy {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(11, 33, 74, 0.24);
}

.home-ngo-page .section-kicker {
    color: #d99500;
}

.home-ngo-page .section-title,
.home-ngo-page .text-link,
.home-ngo-page .section-link,
.home-ngo-page .brand-copy h1,
.home-ngo-page .page-content h2,
.home-ngo-page .page-content h3,
.home-ngo-page .page-content h4,
.home-ngo-page .page-subnav-label,
.home-ngo-page .page-subnav-link,
.home-ngo-page .ngo-leadership-body h3,
.home-ngo-page .ngo-feature-body h3,
.home-ngo-page .ngo-topic-body h3 {
    color: var(--navy-900);
}

.home-ngo-page .section-intro,
.home-ngo-page .ngo-leadership-body p,
.home-ngo-page .ngo-feature-body p,
.home-ngo-page .ngo-topic-body p,
.home-ngo-page .ngo-map-card p,
.home-ngo-page .ngo-project-card p,
.home-ngo-page .ngo-mini-list,
.home-ngo-page .ngo-project-list {
    color: #000000;
    font-size: calc(1rem + 1px);
}

body.home-ngo-page p {
    color: #000000;
    font-size: calc(1rem + 1px);
}

.home-ngo-page .hero-text,
.home-ngo-page .page-hero-summary,
.home-ngo-page .ngo-contact-copy p {
    color: rgba(255, 255, 255, 0.88);
}

.home-ngo-page .footer-brand p,
.home-ngo-page .site-footer p,
.home-ngo-page .footer-tagline {
    color: rgba(255, 255, 255, 0.78);
}

.home-ngo-page .header-search-form {
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(11, 33, 74, 0.08);
}

.home-ngo-page .header-search-button {
    background: linear-gradient(135deg, #f4b223, #d89200);
    color: var(--navy-950);
}

.home-ngo-page .brand-logo,
.home-ngo-page .footer-logo {
    background: #ffffff;
}

.home-ngo-page .brand-logo {
    border-radius: 0;
}

.home-ngo-page .site-footer {
    background: linear-gradient(180deg, #0a1d3d 0%, #07152d 100%);
}

.home-ngo-page .page-hero {
    background:
        radial-gradient(circle at right top, rgba(242, 179, 41, 0.24), transparent 24%),
        linear-gradient(135deg, var(--navy-950), #102b58 58%, #173a72 100%);
}

.home-ngo-page .page-hero::after {
    background: linear-gradient(90deg, rgba(7, 21, 45, 0.8) 0%, rgba(7, 21, 45, 0.56) 55%, rgba(7, 21, 45, 0.68) 100%);
}

.home-ngo-page .page-subnav {
    border: 1px solid rgba(11, 33, 74, 0.08);
    box-shadow: 0 20px 48px rgba(11, 33, 74, 0.1);
}

.home-ngo-page .page-subnav-link {
    border: 1px solid rgba(11, 33, 74, 0.08);
    background: #ffffff;
}

.home-ngo-page .page-subnav-link:hover,
.home-ngo-page .page-subnav-link.is-active {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: #ffffff;
}

.home-ngo-page .page-content-card,
.home-ngo-page .ngo-leadership-card,
.home-ngo-page .ngo-feature-card,
.home-ngo-page .ngo-topic-card,
.home-ngo-page .ngo-map-card,
.home-ngo-page .ngo-project-card,
.home-ngo-page .ngo-logo-tile,
.home-ngo-page .ngo-contact-card {
    border: 1px solid rgba(11, 33, 74, 0.08);
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(11, 33, 74, 0.08);
}

.ngo-home-hero-stage {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    padding: 78px 62px 56px;
    border-radius: 0 0 18px 18px;
    background-image: var(--ngo-home-hero-image);
    background-size: cover;
    background-position: center;
    box-shadow: 0 28px 70px rgba(11, 33, 74, 0.18);
}

.ngo-home-hero-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 21, 45, 0.84) 0%, rgba(7, 21, 45, 0.58) 48%, rgba(7, 21, 45, 0.4) 100%);
}

.ngo-home-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: end;
    gap: 30px;
    min-height: 426px;
}

.ngo-home-hero-copy {
    max-width: 620px;
}

.ngo-home-hero-panel {
    padding: 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

.ngo-home-hero-panel .ngo-panel-kicker,
.ngo-home-hero-panel .ngo-mini-list,
.ngo-home-hero-panel .ngo-mini-list li,
.ngo-home-hero-panel .ngo-trust-strip span {
    color: #ffffff;
}

.ngo-home-hero-panel .ngo-trust-strip {
    margin-top: 18px;
}

.ngo-home-hero-panel .ngo-trust-strip span {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.ngo-home-stats-wrap {
    position: relative;
    z-index: 3;
    margin-top: -14px;
    margin-bottom: 22px;
}

.ngo-home-stats-wrap .hero-stats {
    overflow: hidden;
    width: 100%;
    border-radius: 0;
    background: linear-gradient(135deg, var(--navy-950), var(--navy-900));
    box-shadow: 0 22px 42px rgba(11, 33, 74, 0.16);
}

.ngo-home-stat-copy {
    display: grid;
}

.ngo-home-stat-copy span {
    color: rgba(255, 255, 255, 0.82);
}

.home-ngo-page .ngo-crosscut-link {
    background: rgba(11, 33, 74, 0.04);
    border: 1px solid rgba(11, 33, 74, 0.08);
    color: var(--navy-900);
}

.home-ngo-page .ngo-crosscut-link:hover {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: #ffffff;
}

.home-ngo-page .ngo-logo-tile {
    min-height: 108px;
}

@media (max-width: 980px) {
    .ngo-home-hero-stage {
        padding: 56px 32px 38px;
    }

    .ngo-home-hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .ngo-home-hero-panel {
    max-width: 560px;
    }
}

@media (max-width: 720px) {
    .ngo-home-hero-stage {
        min-height: 0;
        padding: 42px 22px 28px;
        border-radius: 0 0 14px 14px;
    }

    .ngo-home-stats-wrap {
        margin-top: 0;
    }

    .home-ngo-page .main-nav > a,
    .home-ngo-page .nav-item > a {
        padding: 14px 0;
    }
}

.ngo-home-slider {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
}

.ngo-home-slider .slide::after {
    background: linear-gradient(90deg, rgba(7, 21, 45, 0.88) 0%, rgba(7, 21, 45, 0.68) 44%, rgba(7, 21, 45, 0.4) 100%);
}

.ngo-home-slider .slide-media {
    transform: scale(1.02);
}

.ngo-home-hero-grid-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.ngo-home-slider .hero-grid,
.ngo-home-slider.hero-slider {
    min-height: 620px;
}

.ngo-home-slider .hero-grid {
    align-items: center;
    padding: 84px 0 126px;
}

.ngo-home-slider .slide-copy {
    max-width: 640px;
}

.ngo-home-slider .hero-title {
    max-width: 720px;
    font-size: clamp(2.1rem, 3.8vw, 3.5rem);
    line-height: 1.08;
}

.ngo-home-slider .ngo-trust-strip {
    margin-top: 22px;
}

.ngo-home-slider .ngo-trust-strip span {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.ngo-home-slider .ngo-home-hero-panel {
    position: absolute;
    right: 28px;
    bottom: 92px;
    z-index: 5;
    width: min(320px, calc(100% - 56px));
    padding: 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

.ngo-home-slider .ngo-home-hero-panel .ngo-panel-kicker,
.ngo-home-slider .ngo-home-hero-panel .ngo-mini-list,
.ngo-home-slider .ngo-home-hero-panel .ngo-mini-list li {
    color: #ffffff;
}

.ngo-home-slider .slider-pagination {
    bottom: 28px;
}

@media (max-width: 1180px) {
    .ngo-home-slider .ngo-home-hero-panel {
        width: 280px;
    }
}

@media (max-width: 980px) {
    .ngo-home-slider,
    .ngo-home-slider .hero-grid,
    .ngo-home-slider.hero-slider {
        min-height: 560px;
    }

    .ngo-home-slider .hero-grid {
        padding: 64px 0 122px;
    }

    .ngo-home-slider .ngo-home-hero-panel {
        right: 20px;
        bottom: 88px;
    }
}

@media (max-width: 820px) {
    .ngo-home-slider .ngo-home-hero-panel {
        position: static;
        width: auto;
        margin: 0 20px 78px;
        background: rgba(7, 21, 45, 0.68);
        border-color: rgba(255, 255, 255, 0.12);
    }

    .ngo-home-slider,
    .ngo-home-slider .hero-grid,
    .ngo-home-slider.hero-slider {
        min-height: 0;
    }

    .ngo-home-slider .hero-grid {
        padding: 54px 0 24px;
    }
}
