:root {
    --bg: #f7f2ea;
    --surface: #fffdf9;
    --surface-soft: #fcf6ec;
    --surface-strong: #fff;
    --line: rgba(70, 45, 17, 0.12);
    --text: #24160a;
    --muted: #685646;
    --green: #1d6a44;
    --green-deep: #133d29;
    --gold: #cc7a11;
    --gold-soft: #fbe1bc;
    --green-soft: #deefe3;
    --shadow: 0 24px 50px rgba(65, 43, 18, 0.1);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(204, 122, 17, 0.09), transparent 24%),
        radial-gradient(circle at top right, rgba(29, 106, 68, 0.12), transparent 23%),
        linear-gradient(180deg, #fcf7ef 0%, var(--bg) 100%);
    line-height: 1.6;
}

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

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

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 2rem));
    margin: 0 auto;
}

.site-shell {
    position: relative;
    overflow: hidden;
}

.site-shell::before,
.site-shell::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    filter: blur(24px);
    opacity: 0.25;
    pointer-events: none;
}

.site-shell::before {
    top: 220px;
    left: -160px;
    background: var(--gold-soft);
}

.site-shell::after {
    top: 880px;
    right: -180px;
    background: var(--green-soft);
}

header,
main,
footer {
    position: relative;
}

header {
    z-index: 1000;
}

main,
footer {
    z-index: 1;
}

.top-strip {
    background: var(--green-deep);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.top-strip .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.72rem 0;
}

.main-nav {
    position: relative;
    z-index: 1000;
    padding: 2rem 0 1.2rem;
}

.nav-shell {
    position: relative;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: rgba(255, 253, 248, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    box-shadow: 0 14px 32px rgba(63, 40, 17, 0.08);
    backdrop-filter: blur(14px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.brand img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    padding: 0.22rem;
    box-shadow: 0 10px 22px rgba(29, 106, 68, 0.14);
}

.brand-title {
    font-size: 1.02rem;
    line-height: 1.2;
    font-weight: 800;
}

.brand-note {
    color: var(--muted);
    font-size: 0.8rem;
}

.nav-toggle {
    display: none;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.2rem;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
}

.nav-links a {
    position: relative;
}

.nav-group {
    position: relative;
    z-index: 1002;
}

.nav-group-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.nav-group-trigger i {
    width: 0.95rem;
    height: 0.95rem;
}

.nav-submenu {
    position: absolute;
    top: calc(100% + 0.85rem);
    left: 0;
    min-width: 240px;
    display: none;
    gap: 0.35rem;
    padding: 0.8rem;
    background: #fffdf9;
    border: 1px solid rgba(255, 255, 255, 0.94);
    border-radius: 18px;
    box-shadow: 0 18px 34px rgba(63, 40, 17, 0.12);
    z-index: 9999;
    pointer-events: auto;
}

.nav-submenu a {
    display: block;
    padding: 0.58rem 0.7rem;
    border-radius: 12px;
    color: var(--muted);
    pointer-events: auto;
}

.nav-submenu a:hover,
.nav-submenu a.is-active {
    background: var(--surface-soft);
}

.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu,
.nav-group.is-submenu-open .nav-submenu {
    display: grid;
}

.nav-group.is-active-group .nav-group-trigger {
    color: var(--green-deep);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
    color: var(--green-deep);
}

.nav-links a.is-active::after,
.nav-links a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 2px;
    background: var(--gold);
}

.page-hero,
.hero-card,
.card {
    background: rgba(255, 253, 248, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.hero-card,
.card {
    border-radius: var(--radius-xl);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(29, 106, 68, 0.1);
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    color: var(--text);
}

.display {
    font-family: "DM Serif Display", serif;
    letter-spacing: -0.03em;
    line-height: 0.96;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 50px;
    padding: 0 1.3rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #e38a17 0%, #bf6607 100%);
    box-shadow: 0 14px 28px rgba(204, 122, 17, 0.22);
}

.btn-green {
    color: #fff;
    background: linear-gradient(135deg, #217148 0%, #154b31 100%);
    box-shadow: 0 14px 28px rgba(29, 106, 68, 0.22);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.76);
    color: var(--green-deep);
    border-color: var(--line);
}

.hero {
    padding: 0.4rem 0 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
    gap: 1.5rem;
}

.hero-copy,
.hero-media {
    border-radius: var(--radius-xl);
}

.hero-copy {
    padding: clamp(1.6rem, 3vw, 2.5rem);
}

.hero-copy h1 {
    margin-top: 1rem;
    font-size: clamp(3rem, 2vw, 4rem);
    line-height: 1.08;
    max-width: 100%;
}

.hero-copy h1 .hero-line {
    display: block;
    max-width: 100%;
    white-space: nowrap;
}

.hero-copy p {
    margin-top: 1.15rem;
    max-width: 46rem;
    color: var(--muted);
    font-size: 0.85rem;
    text-align: justify;
    text-align-last: left;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.8rem;
}

.hero-note {
    margin-top: 1.5rem;
    padding: 1rem 1.1rem;
    background: var(--surface-soft);
    border-left: 4px solid var(--gold);
    color: var(--muted);
    border-radius: 0 16px 16px 0;
}

.hero-media {
    display: grid;
    gap: 1rem;
    padding: 1rem;
}

.hero-photo,
.media-frame {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
}

.hero-photo {
    min-height: 300px;
}

.hero-photo img,
.media-frame img {
    width: 100%;
    height: 80%;
    object-fit: cover;
}

.hero-logo-photo {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.5rem, 5vw, 3rem);
    background: #fffdfa;
}

.hero-logo-photo img {
    width: min(100%, 360px);
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

.slideshow {
    min-height: 504px;
    background: #efe6d8;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 500ms ease;
}

.slide.is-active {
    opacity: 1;
}

.slideshow-dots {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    display: flex;
    gap: 0.45rem;
}

.slideshow-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.35);
}

.slideshow-dot.is-active {
    background: #fff;
}

.hero-badge {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 0.95rem 1rem;
    background: rgba(19, 61, 41, 0.82);
    color: #fff;
    border-radius: 18px;
}

.hero-badge strong {
    display: block;
}

.hero-badge span {
    display: block;
    margin-top: 0.2rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.9rem;
}

.quick-grid,
.stats-grid,
.feature-grid,
.program-grid,
.updates-grid,
.gallery-grid,
.contact-grid,
.split-grid,
.timeline-grid,
.numbers-grid,
.cards-grid {
    display: grid;
    gap: 1rem;
}

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

.image-split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    height: 100%;
}

.image-split-grid .media-frame {
    min-height: 100%;
}

.quick-card,
.mini-card,
.program-card,
.update-card,
.number-card,
.timeline-card,
.info-card {
    padding: 1.2rem;
    background: var(--surface-soft);
    border: 1px solid rgba(204, 122, 17, 0.1);
    border-radius: var(--radius-lg);
}

.quick-card strong,
.mini-card strong,
.number-card strong,
.timeline-card strong {
    display: block;
    margin-top: 0.7rem;
}

.quick-card p,
.mini-card p,
.number-card p,
.timeline-card p,
.program-card p,
.update-card p,
.section-head p,
.lead,
.body-copy p,
.info-card p,
.info-list li {
    color: var(--muted);
}

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

.number-card {
    background: rgba(255, 253, 248, 0.95);
    text-align: center;
    box-shadow: 0 14px 28px rgba(65, 43, 18, 0.07);
}

.number-card strong {
    margin-top: 0;
    font-size: 2rem;
    color: var(--green-deep);
}

main section {
    padding: 0 0 4.6rem;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 5rem;
    margin-bottom: 1.5rem;

}

.section-head h2 {
    font-size: clamp(2.15rem, 3vw, 3.5rem);
}

.motives-head {
    display: block;
}

.section-title-nowrap {
    white-space: nowrap;
    font-size: clamp(1.65rem, 4vw, 3.5rem);
}

.section-head.motives-head p {
    max-width: 60rem;
    margin-top: 1rem;
}

.section-head p {
    max-width: 50rem;
}

.split-grid,
.contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
}

.card-pad {
    padding: 2rem;
}

.body-copy p + p,
.info-card p + p {
    margin-top: 1rem;
}

.director-message {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(1.2rem, 3vw, 2rem);
    align-items: stretch;
    padding: clamp(1.2rem, 3vw, 2rem);
    background: rgba(255, 253, 248, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.88);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.director-photo {
    min-height: 360px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--surface-soft);
}

.director-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.director-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.director-copy h2 {
    margin-top: 0.65rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.director-copy p {
    margin-top: 1rem;
    color: var(--muted);
}

.director-signature {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    color: var(--green-deep);
    font-weight: 800;
}

.director-signature span {
    display: block;
    margin-top: 0.2rem;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 600;
}

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

.program-card,
.update-card,
.timeline-card,
.info-card {
    background: rgba(255, 253, 248, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 36px rgba(65, 43, 18, 0.08);
}

.program-card h3,
.update-card h3,
.timeline-card h3 {
    margin-top: 0.9rem;
    font-size: 1.12rem;
}

.program-card p,
.update-card p,
.timeline-card p {
    margin-top: 0.55rem;
}

.icon-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 18px;
    background: var(--green-soft);
    color: var(--green);
}

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

.supporter-wall {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.supporter-card,
.supporter-empty {
    padding: 1.35rem;
    background: linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(251, 225, 188, 0.42));
    border: 1px solid rgba(204, 122, 17, 0.16);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 36px rgba(65, 43, 18, 0.08);
}

.supporter-card h3,
.supporter-empty h3 {
    margin-top: 0.75rem;
    font-size: 1.22rem;
}

.supporter-card p,
.supporter-empty p {
    margin-top: 0.45rem;
    color: var(--muted);
}

.supporter-card small {
    display: block;
    margin-top: 0.8rem;
    color: var(--green-deep);
    font-weight: 800;
}

.supporter-name-card {
    display: grid;
    place-items: center;
    min-height: 110px;
    text-align: center;
}

.supporter-name-card h3 {
    margin-top: 0;
}

.donor-detail-card {
    display: grid;
    gap: 0.45rem;
    text-align: center;
}

.donor-detail-card h3 {
    margin-top: 0;
}

.donor-detail-card p {
    color: var(--muted);
}

.donor-detail-card strong {
    color: var(--green-deep);
    font-size: 1.15rem;
}

.donor-detail-card small {
    color: var(--muted);
    font-weight: 700;
}

.donor-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 36px rgba(65, 43, 18, 0.08);
}

.donor-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    background: rgba(255, 253, 248, 0.95);
    overflow: hidden;
}

.donor-table th,
.donor-table td {
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.donor-table th {
    background: var(--green-deep);
    color: #fff;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.donor-table td:last-child,
.donor-table th:last-child {
    text-align: right;
}

.donor-table tr:last-child td {
    border-bottom: 0;
}

.donor-table tbody tr:nth-child(even) {
    background: var(--surface-soft);
}

.supporter-badge {
    display: inline-flex;
    padding: 0.3rem 0.7rem;
    background: var(--green-soft);
    color: var(--green-deep);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.update-tag {
    display: inline-flex;
    padding: 0.3rem 0.7rem;
    background: var(--gold-soft);
    color: #92540d;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    min-height: 270px;
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(65, 43, 18, 0.1);
}

.gallery-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 240ms ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 10%, rgba(0, 0, 0, 0.63) 100%);
}

.gallery-caption {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1;
    color: #fff;
}

.gallery-caption strong {
    display: block;
    font-size: 1.08rem;
}

.gallery-caption span {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.info-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.info-list li {
    position: relative;
    padding-left: 1.1rem;
}

.info-list li::before {
    content: "";
    position: absolute;
    top: 0.66rem;
    left: 0;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--gold);
}

.donate-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    gap: 1.2rem;
}

.detail-list {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.2rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1rem;
    background: var(--surface-soft);
    border: 1px solid rgba(204, 122, 17, 0.1);
    border-radius: 16px;
}

.detail-row strong {
    flex-shrink: 0;
}

.detail-row span {
    color: var(--muted);
    text-align: right;
}

.qr-box {
    display: grid;
    place-items: center;
    min-height: 280px;
    margin-top: 1.2rem;
    padding: 1.2rem;
    background: linear-gradient(135deg, rgba(29, 106, 68, 0.06), rgba(204, 122, 17, 0.08));
    border: 2px dashed rgba(29, 106, 68, 0.2);
    border-radius: 22px;
    text-align: center;
}

.qr-box img {
    width: min(260px, 100%);
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 16px;
}

.qr-placeholder {
    display: grid;
    gap: 0.7rem;
    color: var(--muted);
}

.qr-placeholder i {
    margin: 0 auto;
    color: var(--green);
}

.donate-note {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    background: #fff7ee;
    border-left: 4px solid var(--gold);
    border-radius: 0 16px 16px 0;
    color: var(--muted);
}

.document-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    background: var(--surface-soft);
    border: 1px solid rgba(204, 122, 17, 0.14);
    border-radius: 18px;
    color: var(--green-deep);
    font-weight: 800;
}

.document-link i {
    flex-shrink: 0;
}

.map-embed {
    position: relative;
    z-index: 0;
    overflow: hidden;
    min-height: 360px;
    border-radius: 24px;
    border: 1px solid rgba(204, 122, 17, 0.14);
    box-shadow: 0 18px 36px rgba(65, 43, 18, 0.08);
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
    display: block;
}

.contact-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem;
    background: var(--surface-soft);
    border: 1px solid rgba(204, 122, 17, 0.1);
    border-radius: 18px;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.2rem;
}

.footer {
    padding: 0 0 2rem;
}

.footer-shell {
    padding: clamp(1.5rem, 3vw, 2.2rem);
    background: rgba(19, 61, 41, 0.96);
    border-radius: 24px;
    color: rgba(255, 255, 255, 0.86);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(150px, 0.7fr));
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff;
    font-weight: 800;
    line-height: 1.2;
}

.footer-brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 0.22rem;
}

.footer-brand-block p {
    margin-top: 0.9rem;
    max-width: 28rem;
}

.footer-contact-details {
    display: grid;
    gap: 0.35rem;
    font-size: 0.9rem;
    line-height: 1.45;
}

.footer-contact-details span {
    display: block;
}

.footer-contact-details strong {
    display: inline;
    color: #fff;
}

.footer-column {
    display: grid;
    align-content: start;
    gap: 0.45rem;
}

.footer-shell strong,
.footer-column strong {
    display: block;
    color: #fff;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
}

.footer-column a:hover,
.footer-column a:focus-visible {
    color: #fff;
}

.footer-bottom {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.8rem;
    padding-top: 1rem;
    margin-top: 0.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
}

.page-hero {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-xl);
}

.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    gap: 1.2rem;
    align-items: center;
}

.page-hero h2  {
    margin-top: 0.85rem;
    font-size: clamp(0.7rem, 0vw, 0.6rem);
}

.page-hero p {
    margin-top: 1rem;
    max-width: 46rem;
    color: var(--muted);
    font-size: 1.05rem;
}

.education-quote {
    margin-top: 1rem;
    max-width: 45rem;
    padding: 1rem 1.1rem;
    background: var(--surface-soft);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-md);
    color: var(--green-deep);
    font-family: "DM Serif Display", serif;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    line-height: 1.2;
}

.education-quote span {
    display: block;
    margin-top: 0.35rem;
    color: var(--muted);
    font-family: "Manrope", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
}

.education-detail-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.15rem 0.8rem;
    align-items: start;
    padding: 1rem;
    background: var(--surface-soft);
    border: 1px solid rgba(204, 122, 17, 0.1);
    border-radius: var(--radius-md);
}

.education-detail-list .icon-chip {
    grid-row: span 2;
}

.education-detail-list p {
    margin-top: 0.15rem;
}

.education-gallery .gallery-item {
    min-height: 310px;
}

.page-hero .media-frame {
    min-height: 280px;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.2rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.58rem 0.9rem;
    border-radius: 999px;
    background: rgba(29, 106, 68, 0.08);
    color: var(--green-deep);
    font-size: 0.9rem;
    font-weight: 700;
}

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

.reveal {
    opacity: 0;
    transform: translateY(22px);
    animation: rise 700ms ease forwards;
}

.delay-1 { animation-delay: 90ms; }
.delay-2 { animation-delay: 180ms; }
.delay-3 { animation-delay: 270ms; }

@keyframes rise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1080px) {
    .nav-shell,
    .section-head,
    .hero-grid,
    .director-message,
    .split-grid,
    .contact-grid,
    .donate-layout,
    .page-hero-grid {
        grid-template-columns: 1fr;
    }

    .nav-shell,
    .section-head {
        flex-direction: column;
        align-items: flex-start;
        border-radius: 28px;
    }

    .program-grid,
    .stats-grid,
    .numbers-grid,
    .updates-grid,
    .cards-grid,
    .supporter-wall,
    .footer-grid,
    .gallery-grid,
    .timeline-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .top-strip .container {
        flex-direction: column;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        border-radius: 50%;
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.85);
        color: var(--green-deep);
        cursor: pointer;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 0.8rem;
    }

    .nav-shell.is-open .nav-links {
        display: flex;
    }

    .nav-group {
        width: 100%;
    }

    .nav-group-trigger {
        width: 100%;
        justify-content: space-between;
    }

    .nav-submenu {
        position: static;
        min-width: 0;
        display: grid;
        width: 100%;
        padding: 0.5rem 0 0 1rem;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .hero-copy,
    .hero-media,
    .director-message,
    .card-pad,
    .page-hero {
        padding: 1.4rem;
    }

    .director-photo {
        min-height: 280px;
    }

    .quick-grid,
    .program-grid,
    .stats-grid,
    .numbers-grid,
    .updates-grid,
    .cards-grid,
    .supporter-wall,
    .footer-grid,
    .gallery-grid,
    .timeline-grid,
    .image-split-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .brand-title {
        font-size: 0.95rem;
    }

    .hero-copy h1 .hero-line {
        white-space: normal;
    }

    .section-title-nowrap {
        font-size: clamp(1.25rem, 7vw, 1.65rem);
        white-space: nowrap;
    }
}
