:root {
    --ink: #1c1a16;
    --ink-soft: #514c42;
    --paper: #f7f2e7;
    --emerald: #257571;
    --emerald-deep: #1a5451;
    --emerald-tint: #dcebea;
    --marigold: #d8b276;
    --marigold-deep: #b8925a;
    --brick: #a6432b;
    --line: #e4d6bc;
    --radius-arch: 260px 260px 8px 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    /* background: var(--paper); */
    color: var(--ink);
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

h1,
h2,
h3,
h4,
.display-serif {
    font-family: "Fraunces", serif;
    color: var(--emerald-deep);
    letter-spacing: -0.01em;
    font-weight: 600;
}

p {
    max-width: 70ch;
}

a {
    text-decoration: none;
}

.container-xl {
    max-width: 1240px;
}

::selection {
    background: var(--marigold);
    color: #fff;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--marigold);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* TOPBAR */
.topbar {
    background: var(--emerald-deep);
    color: #cfe3dd;
    font-size: 0.82rem;
    overflow: hidden;
}

.topbar a {
    color: #cfe3dd;
}

.topbar a:hover {
    color: var(--marigold);
}

.ticker-wrap {
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.ticker {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 22s linear infinite;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.ticker span {
    margin-right: 3rem;
}

/* NAVBAR */
.navbar-saadi {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.9rem 0;
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--marigold);
    font-family: "Fraunces", serif;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.brand-text {
    font-family: "Fraunces", serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--emerald-deep);
    line-height: 1.1;
}

.brand-text small {
    display: block;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    color: var(--marigold-deep);
}

.nav-link-saadi {
    color: var(--ink) !important;
    font-weight: 500;
    font-size: 0.89rem;
    padding: 0.5rem 0.75rem !important;
    position: relative;
}

.nav-link-saadi::after {
    content: "";
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.1rem;
    height: 2px;
    background: var(--marigold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.nav-link-saadi:hover::after {
    transform: scaleX(1);
}

.nav-item.dropdown .dropdown-toggle::after {
    vertical-align: 0.15em;
    margin-left: 0.35rem;
    opacity: 0.7;
}

.dropdown-menu {
    border: 1px solid var(--line);
    border-top: 2px solid var(--marigold);
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(26, 84, 81, 0.14);
    padding: 0.4rem;
    margin-top: 0.4rem !important;
}

.dropdown-menu .dropdown-item {
    font-size: 0.89rem;
    font-weight: 500;
    color: var(--ink);
    border-radius: 4px;
    padding: 0.55rem 0.8rem;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background: var(--emerald-tint);
    color: var(--emerald-deep);
}

@media (min-width: 992px) {
    .navbar-nav .dropdown-menu {
        display: none;
        opacity: 0;
        transform: translateY(6px);
        transition:
            opacity 0.15s ease,
            transform 0.15s ease;
    }

    .navbar-nav .dropdown:hover > .dropdown-menu,
    .navbar-nav .dropdown-menu.show {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-donate {
    background: var(--marigold);
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    padding: 0.55rem 1.3rem;
    border: none;
}

.btn-donate:hover {
    background: var(--marigold-deep);
    color: #fff;
}

.btn-outline-emerald {
    border: 1.5px solid var(--emerald);
    color: var(--emerald);
    border-radius: 4px;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    background: transparent;
}

.btn-outline-emerald:hover {
    background: var(--emerald);
    color: #fff;
}

/* HERO */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    color: #fff;
    min-height: 560px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 640px;
    padding: 4.5rem 0;
}

.hero-eyebrow {
    display: inline-block;
    background: rgba(216, 178, 118, 0.18);
    border: 1px solid rgba(216, 178, 118, 0.5);
    color: var(--marigold);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    padding: 0.4rem 0.9rem;
    border-radius: 30px;
    margin-bottom: 1.2rem;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.1rem, 4.4vw, 3.4rem);
    line-height: 1.12;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero p.lead-text {
    color: #eaf1ef;
    font-size: 1.12rem;
    max-width: 48ch;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

/* generic arch frame, still used elsewhere */
.arch-frame {
    position: relative;
    border-radius: var(--radius-arch);
    overflow: hidden;
    border: 6px solid rgba(255, 255, 255, 0.08);
}

.arch-fill {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.6rem;
    color: #fff;
    text-align: center;
    padding: 1.5rem;
}

/* QUICK LINKS */
.quick-strip {
    background: var(--emerald);
    padding: 1.6rem 0;
}

.quick-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: #fff;
    padding: 0.9rem 0.5rem;
    border-radius: 6px;
    transition: background 0.18s ease;
    text-align: left;
}

.quick-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.quick-item i {
    font-size: 1.4rem;
    color: var(--marigold);
    width: 2rem;
    text-align: center;
}

.quick-item .qi-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
}

/* SECTIONS */
.section-pad {
    padding: 5rem 0;
}

.section-head {
    max-width: 680px;
    margin-bottom: 2.4rem;
}

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

.rule {
    width: 56px;
    height: 3px;
    background: var(--marigold);
    border-radius: 2px;
    margin: 1rem 0 0;
}

/* ABOUT */
.about-copy p {
    color: var(--ink-soft);
}

.about-copy strong {
    color: var(--emerald-deep);
}

/* NEWS WIDGET / TICKER */
.news-card {
    background: var(--emerald-deep);
    color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card h5 {
    color: #fff;
    font-family: "Fraunces", serif;
    font-size: 1.05rem;
}

.news-card .badge-count {
    background: var(--marigold);
    color: #3a2405;
    font-size: 0.72rem;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-weight: 600;
}

.news-ticker {
    overflow: hidden;
    position: relative;
    flex: 1;
    min-height: 150px;
}

.news-ticker-track {
    transition: transform 0.6s ease;
}

.news-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.9rem 0;
    font-size: 0.88rem;
    color: #cfe3dd;
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}

.news-item i {
    color: var(--marigold);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* OBJECTIVES ACCORDION */
.focus-section {
    /* background: var(--emerald-tint); */
}

.accordion-saadi .accordion-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
}

.accordion-saadi .accordion-item:first-of-type {
    border-top: 1px solid var(--line);
}

.accordion-saadi .accordion-button {
    background: transparent;
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--emerald-deep);
    padding: 1.3rem 0.5rem;
    box-shadow: none !important;
}

.accordion-saadi .accordion-button::after {
    filter: invert(41%) sepia(53%) saturate(600%) hue-rotate(0deg);
}

.accordion-saadi .accordion-button:not(.collapsed) {
    color: var(--marigold-deep);
    background: transparent;
}

.accordion-saadi .accordion-body {
    padding: 0 0.5rem 1.6rem 2.9rem;
    color: var(--ink-soft);
}

.accordion-saadi .accordion-body ul,
.accordion-saadi .accordion-body ol {
    padding-left: 1.1rem;
}

.accordion-saadi .accordion-body li {
    margin-bottom: 0.5rem;
}

.accordion-saadi .accordion-body ul.sub-list {
    list-style: disc;
    margin-top: 0.3rem;
}

.focus-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    background: var(--emerald);
    color: var(--marigold);
    border-radius: 50%;
    font-size: 0.9rem;
    margin-right: 0.9rem;
}

/* ORG MEMBERS */
.member-card {
    background: var(--emerald);
    border-radius: 8px;
    padding: 2rem;
    color: #fff;
    height: 100%;
}

.member-card i.icon-circle {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--marigold);
    margin-bottom: 1rem;
}

.member-card h3 {
    color: #fff;
    font-size: 1.15rem;
}

.member-card p {
    color: #bcd4cc;
    font-size: 0.9rem;
}

.member-card .btn {
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    border-radius: 4px;
    font-size: 0.88rem;
    padding: 0.5rem 1.1rem;
}

.member-card .btn:hover {
    background: #fff;
    color: var(--emerald-deep);
}

/* GALLERY */
.gallery-tile {
    border-radius: 6px;
    min-height: 210px;
    text-align: center;
    overflow: hidden;
}

.gallery-tile img {
    height: 210px;
    width: 100%;
    object-fit: cover;
    border-radius: 6px;
}

/* DONATE CARDS */
.donate-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.8rem;
    height: 100%;
    background: #fff;
    transition:
        border-color 0.18s ease,
        transform 0.18s ease;
    text-align: center;
}

.donate-card:hover {
    border-color: var(--marigold);
    transform: translateY(-3px);
}

.donate-card .icon-circle {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: var(--emerald);
    color: var(--marigold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 1rem;
}

.donate-card h3 {
    font-size: 1.05rem;
}

.donate-card p {
    font-size: 0.88rem;
    color: var(--ink-soft);
    margin: 0 auto;
}

.social-dot {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald);
    margin-right: 0.5rem;
}

.social-dot:hover {
    background: var(--marigold);
    border-color: var(--marigold);
    color: #fff;
}

/* FOOTER */
footer {
    background: var(--emerald-deep);
    color: #a9c2ba;
    font-size: 0.9rem;
}

footer h6 {
    color: #fff;
    font-family: "Fraunces", serif;
    font-weight: 600;
    margin-bottom: 1.1rem;
}

footer a {
    color: #a9c2ba;
}

footer a:hover {
    color: var(--marigold);
}

footer ul {
    list-style: none;
    padding: 0;
}

footer li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: #7fa198;
}

.footer-social .social-dot {
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

@media (max-width: 767px) {
    .hero {
        min-height: 460px;
    }

    .hero-content {
        padding: 3rem 0;
    }
}

/* ---------- PAGE BANNER ---------- */
.page-banner {
    background: linear-gradient(
        90deg,
        var(--emerald-deep) 0%,
        #0c1a19 65%,
        #060d0c 100%
    );
    padding: 2.2rem 0 2.6rem;
    text-align: center;
}

.page-banner h1 {
    font-family: "Fraunces", serif;
    font-weight: 600;
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin: 0;
    letter-spacing: 0.01em;
}

.banner-rule-wrap {
    display: flex;
    justify-content: center;
    margin-top: 1.4rem;
}

.banner-rule {
    width: 190px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--emerald) 0%, var(--marigold) 100%);
    opacity: 0.9;
}

/* ---------- ABOUT SECTION ---------- */
.section-pad {
    padding: 4rem 0;
}

.about-page h2,
.stack-heading {
    font-family: "Fraunces", serif;
    font-weight: 600;
    color: var(--emerald-deep);
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    margin-bottom: 1.4rem;
}

.about-logo {
    max-width: 140px;
}

.about-copy p {
    color: var(--ink-soft);
    line-height: 1.75;
    max-width: 78ch;
    margin-bottom: 1.1rem;
}

.about-copy strong {
    color: var(--ink);
    font-weight: 700;
}

/* ---------- FOUNDATION HISTORY ACCORDION ---------- */
.foundation-accordion .accordion-item {
    border: none;
    border-radius: 6px;
    overflow: hidden;
}

.foundation-accordion .accordion-button {
    background: var(--emerald-deep);
    color: #fff;
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1rem 1.5rem;
    box-shadow: none !important;
    border-radius: 6px;
}

.foundation-accordion .accordion-button:not(.collapsed) {
    background: var(--emerald);
    border-radius: 6px 6px 0 0;
}

.foundation-accordion .accordion-button::after {
    filter: invert(1) brightness(2);
}

.foundation-accordion .accordion-body {
    background: var(--emerald-tint);
    color: var(--ink-soft);
    padding: 1.4rem 1.5rem;
    line-height: 1.75;
}

/* ---------- CORE VALUES / OUR ETHICS (stacked, no bullets) ---------- */
.stack-list p {
    color: var(--ink-soft);
    line-height: 1.75;
    max-width: 90ch;
    margin-bottom: 0.55rem;
}

.stack-list strong {
    color: var(--ink);
    font-weight: 700;
}

/* ---------- WHY JOIN US ---------- */
.join-list {
    padding-left: 1.3rem;
    margin: 1rem 0;
}

.join-list li {
    color: var(--ink-soft);
    line-height: 1.75;
    margin-bottom: 0.5rem;
}

.join-list li::marker {
    color: var(--marigold-deep);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 767px) {
    .page-banner {
        padding: 1.8rem 0 2rem;
    }

    .about-logo {
        max-width: 100px;
        margin-bottom: 1rem;
    }

    .section-pad {
        padding: 2.8rem 0;
    }
}
.contact-form .form-label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--ink);
    margin-bottom: 0.35rem;
}

.contact-form .form-control {
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 0.65rem 0.9rem;
    font-size: 0.92rem;
    background: #fff;
    color: var(--ink);
}

.contact-form .form-control:focus {
    border-color: var(--marigold);
    box-shadow: 0 0 0 3px rgba(216, 178, 118, 0.2);
    outline: none;
}

.map-frame {
    width: 100%;
    height: 360px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
}

@media (max-width: 767px) {
    .map-frame {
        height: 280px;
    }
}
.donate-form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 2.2rem 2rem;
    box-shadow: 0 10px 30px rgba(26, 84, 81, 0.08);
}

.donate-emoji {
    font-size: 1.4rem;
    margin-right: 0.4rem;
}

.donate-form-title {
    display: inline;
    font-size: 1.4rem;
    margin: 0;
}

.donate-field {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.donate-field:focus-within {
    border-color: var(--marigold);
    box-shadow: 0 0 0 3px rgba(216, 178, 118, 0.2);
}

.donate-field-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    flex-shrink: 0;
    background: var(--emerald-tint);
    color: var(--emerald-deep);
    font-size: 1rem;
}

.donate-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    color: var(--ink);
    min-width: 0;
}

.donate-input:focus {
    outline: none;
}

.donate-input::placeholder {
    color: #8a8578;
}

.donate-80g-note {
    text-align: center;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--ink);
    margin: 1.2rem 0 1rem;
    line-height: 1.6;
}

.donate-80g-hi {
    display: block;
    font-weight: 700;
    margin-top: 0.2rem;
}

.btn-donate-now {
    width: 100%;
    background: var(--emerald);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.9rem;
    font-weight: 700;
    font-size: 1.05rem;
    margin-top: 0.4rem;
    transition: background 0.18s ease;
}

.btn-donate-now:hover {
    background: var(--emerald-deep);
}

@media (max-width: 575px) {
    .donate-form-card {
        padding: 1.6rem 1.2rem;
    }
}
.bf-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 2.2rem;
    box-shadow: 0 10px 30px rgba(26, 84, 81, 0.08);
}

.bf-subtitle {
    text-align: center;
    color: var(--ink-soft);
    font-size: 0.92rem;
    font-weight: 600;
    max-width: 50ch;
    margin: 0 auto 1.8rem;
    line-height: 1.6;
}

.bf-section-head {
    background: var(--emerald);
    color: #fff;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.65rem 1rem;
    border-radius: 5px;
    margin: 1.6rem 0 1.1rem;
}

.bf-section-head:first-of-type {
    margin-top: 0;
}

.bf-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.35rem;
}

.bf-field {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
    /* background: var(--paper); */
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.bf-field:focus-within {
    border-color: var(--marigold);
    box-shadow: 0 0 0 3px rgba(216, 178, 118, 0.2);
}

.bf-field-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    flex-shrink: 0;
    background: var(--emerald-tint);
    color: var(--emerald-deep);
    font-size: 0.92rem;
}

.bf-input,
.bf-select,
.bf-textarea {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.75rem 0.9rem;
    font-size: 0.92rem;
    color: var(--ink);
    min-width: 0;
    width: 100%;
}

.bf-input:focus,
.bf-select:focus,
.bf-textarea:focus {
    outline: none;
}

.bf-input::placeholder,
.bf-textarea::placeholder {
    color: #8a8578;
}

.bf-textarea {
    resize: vertical;
    min-height: 52px;
}

.bf-field.readonly {
    background: #eef1ee;
}

.bf-field.readonly .bf-input {
    background: transparent;
    color: var(--ink-soft);
}

/* file upload fields */
.bf-file-field {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
    /* background: var(--paper); */
}

.bf-file-field .bf-field-icon {
    width: 2.8rem;
}

.bf-file-field input[type="file"] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.55rem 0.7rem;
    font-size: 0.85rem;
}

.bf-id-block {
    /* background: var(--emerald-tint); */
    border-radius: 6px;
    padding: 1rem 1rem 0.2rem;
    margin-bottom: 1.2rem;
}

.bf-upload-section {
    /* background: var(--emerald-tint); */
    border-radius: 6px;
    padding: 1rem 1rem 0.2rem;
}

.bf-actions {
    display: flex;
    gap: 0.7rem;
    justify-content: center;
    margin-top: 1.8rem;
}

.btn-bf-submit {
    background: var(--emerald);
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 0.7rem 1.8rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-bf-submit:hover {
    background: var(--emerald-deep);
    color: #fff;
}

.btn-bf-reset {
    background: #6b7280;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 0.7rem 1.8rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-bf-reset:hover {
    background: #565d68;
    color: #fff;
}

@media (max-width: 575px) {
    .bf-card {
        padding: 1.6rem 1.2rem;
    }
}
    .verify-card {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 10px;
        padding: 2.4rem 2rem;
        box-shadow: 0 10px 30px rgba(26, 84, 81, 0.08);
    }

    .verify-logo {
        max-width: 90px;
    }

    .verify-title {
        font-size: 1.6rem;
        margin-bottom: 0.2rem;
    }

    .verify-subtitle {
        color: var(--ink-soft);
        font-size: 0.98rem;
        margin-bottom: 0.6rem;
    }

    .verify-form .rule {
        margin-bottom: 0;
    }

    .verify-field {
        display: flex;
        align-items: stretch;
        border: 1px solid var(--line);
        border-radius: 6px;
        overflow: hidden;
        background:#fff;
        transition: border-color 0.18s ease, box-shadow 0.18s ease;
    }

    .verify-field:focus-within {
        border-color: var(--marigold);
        box-shadow: 0 0 0 3px rgba(216, 178, 118, 0.2);
    }

    .verify-field-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2.9rem;
        flex-shrink: 0;
        background: var(--emerald-tint);
        color: var(--emerald-deep);
        font-size: 0.95rem;
    }

    .verify-input {
        flex: 1;
        border: none;
        background: transparent;
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
        color: var(--ink);
        min-width: 0;
    }

    .verify-input:focus {
        outline: none;
    }

    .verify-input::placeholder {
        color: #8a8578;
    }

    .verify-actions {
        display: flex;
        gap: 0.8rem;
        margin-top: 1.4rem;
    }

    .btn-verify-now,
    .btn-verify-clear {
        flex: 1;
        border: none;
        border-radius: 6px;
        padding: 0.75rem 1rem;
        font-weight: 700;
        font-size: 0.95rem;
    }

    .btn-verify-now {
        background: var(--emerald);
        color: #fff;
    }

    .btn-verify-now:hover {
        background: var(--emerald-deep);
        color: #fff;
    }

    .btn-verify-clear {
        background: var(--emerald-tint);
        color: var(--emerald-deep);
    }

    .btn-verify-clear:hover {
        background: #cde3e0;
        color: var(--emerald-deep);
    }

    .verify-result {
        border: 1px solid var(--line);
        border-radius: 8px;
        padding: 1.2rem 1.4rem;
        background: var(--emerald-tint);
    }

    .verify-result-head {
        color: var(--emerald-deep);
        font-weight: 700;
        font-size: 1.02rem;
        margin-bottom: 0.8rem;
    }

    .verify-result-head i {
        color: var(--emerald);
    }

    .verify-result-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .verify-result-list li {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.5rem 0;
        border-bottom: 1px dashed var(--line);
        font-size: 0.9rem;
    }

    .verify-result-list li:last-child {
        border-bottom: none;
    }

    .verify-result-list span {
        color: var(--ink-soft);
    }

    .verify-result-list strong {
        color: var(--ink);
    }

    .verify-back {
        margin-top: 1.6rem;
    }

    .verify-back a {
        color: var(--emerald-deep);
        font-weight: 600;
        font-size: 0.92rem;
    }

    .verify-back a:hover {
        color: var(--marigold-deep);
    }

    .verify-trust-row {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        margin-top: 1.8rem;
        padding-top: 1.6rem;
        border-top: 1px solid var(--line);
    }

    .verify-trust-item {
        flex: 1;
        text-align: center;
        color: var(--ink-soft);
        font-weight: 600;
        font-size: 0.85rem;
    }

    .verify-trust-item i {
        display: block;
        color: var(--emerald);
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    @media (max-width: 575px) {
        .verify-card {
            padding: 1.8rem 1.2rem;
        }

        .verify-actions {
            flex-direction: column;
        }
    }
/* =========================================================
   BENEFICIARIES PAGE
   Scoped styles — all selectors prefixed with .bn-
   Works alongside global root.css variables.
   ========================================================= */

/* ---------- INTRO + APPLY CTA ---------- */
.bn-intro-section {
    padding: 3.5rem 0 1.5rem;
    background: var(--paper);
}

.bn-heading {
    font-family: "Fraunces", serif;
    font-weight: 600;
    color: var(--emerald-deep);
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    margin-bottom: 0.8rem;
}

.bn-subtext {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.75;
    margin: 0;
    max-width: 60ch;
}

/* Apply card */
.bn-apply-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.8rem 1.6rem;
    text-align: center;
    box-shadow: 0 10px 28px rgba(26, 84, 81, 0.07);
    position: relative;
    overflow: hidden;
}

.bn-apply-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald), var(--marigold));
}

.bn-apply-icon {
    width: 3.2rem;
    height: 3.2rem;
    margin: 0 auto 0.9rem;
    border-radius: 50%;
    background: var(--emerald-tint);
    color: var(--emerald-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.bn-apply-title {
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--emerald-deep);
    margin-bottom: 0.5rem;
}

.bn-apply-text {
    color: var(--ink-soft);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0 auto 1.2rem;
    max-width: 40ch;
}

.btn-bn-apply {
    display: inline-flex;
    align-items: center;
    background: var(--emerald);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.65rem 1.4rem;
    border-radius: 6px;
    transition: background 0.18s ease;
}

.btn-bn-apply:hover {
    background: var(--emerald-deep);
    color: #fff;
}

.btn-bn-apply i {
    font-size: 0.8rem;
    transition: transform 0.18s ease;
}

.btn-bn-apply:hover i {
    transform: translateX(3px);
}

/* ---------- CARD GRID ---------- */
#beneficiaries .section-pad {
    padding-top: 2rem;
}

.bn-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1.6rem 1.5rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.bn-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald), var(--marigold));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.bn-card:hover {
    transform: translateY(-5px);
    border-color: var(--marigold);
    box-shadow: 0 14px 32px rgba(26, 84, 81, 0.12);
}

.bn-card:hover::before {
    opacity: 1;
}

/* Card top row */
.bn-card-top {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.bn-avatar {
    width: 3.1rem;
    height: 3.1rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--emerald-tint);
    color: var(--emerald-deep);
    font-family: "Fraunces", serif;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
}

.bn-id {
    flex: 1;
    min-width: 0;
}

.bn-name {
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 1.08rem;
    color: var(--emerald-deep);
    margin: 0 0 0.15rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bn-location {
    font-size: 0.8rem;
    color: var(--ink-soft);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.bn-location i {
    color: var(--marigold-deep);
    font-size: 0.75rem;
}

/* Status badge */
.bn-status {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.bn-status--active {
    background: var(--emerald-tint);
    color: var(--emerald-deep);
}

.bn-status--graduated {
    background: #f3e6cd;
    color: var(--marigold-deep);
}

.bn-status--inactive {
    background: #f1e2dd;
    color: var(--brick);
}

/* Meta chips */
.bn-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.9rem;
}

.bn-chip {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    background: var(--emerald);
    color: #fff;
    letter-spacing: 0.02em;
}

.bn-chip--ghost {
    background: transparent;
    color: var(--ink-soft);
    border: 1px solid var(--line);
}

/* Support text */
.bn-support {
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

/* ---------- BOTTOM CTA ---------- */
.bn-cta {
    margin-top: 4rem;
    background: linear-gradient(135deg, var(--emerald-deep) 0%, var(--emerald) 100%);
    color: #fff;
    border-radius: 12px;
    padding: 2.8rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bn-cta::after {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(216, 178, 118, 0.14);
}

.bn-cta h3 {
    color: #fff;
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    margin-bottom: 0.6rem;
    position: relative;
    z-index: 1;
}

.bn-cta p {
    color: #cfe3dd;
    margin: 0 auto 1.4rem;
    max-width: 48ch;
    position: relative;
    z-index: 1;
}

.bn-cta-btn {
    position: relative;
    z-index: 1;
    padding: 0.7rem 1.8rem !important;
    font-size: 0.95rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 767px) {
    .bn-intro-section {
        padding: 2.4rem 0 1rem;
    }

    .bn-subtext {
        text-align: left;
    }

    .bn-apply-card {
        margin-top: 0.5rem;
        padding: 1.5rem 1.2rem;
    }

    .bn-card {
        padding: 1.3rem 1.2rem;
    }

    .bn-cta {
        padding: 2rem 1.2rem;
        margin-top: 2.8rem;
    }
}

@media (max-width: 400px) {
    .bn-card-top {
        flex-wrap: wrap;
    }

    .bn-status {
        margin-left: auto;
    }
}

/* =========================================================
   ACTIVITY GALLERY + LIGHTBOX
   ========================================================= */

.activity-tile {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--emerald-tint);
    cursor: zoom-in;
    box-shadow: 0 6px 18px rgba(26, 84, 81, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.activity-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(26, 84, 81, 0.16);
}

.activity-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.activity-tile:hover img {
    transform: scale(1.08);
}

/* Hover overlay with zoom icon */
.activity-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(26, 84, 81, 0) 40%,
        rgba(9, 24, 23, 0.75) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    color: #fff;
    font-size: 1.6rem;
}

.activity-overlay i {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.85);
    transition: transform 0.25s ease;
}

.activity-tile:hover .activity-overlay {
    opacity: 1;
}

.activity-tile:hover .activity-overlay i {
    transform: scale(1);
}

/* ---------- LIGHTBOX ---------- */
.activity-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(9, 24, 23, 0.94);
    backdrop-filter: blur(4px);
    z-index: 1090;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.activity-lightbox.show {
    display: flex;
    opacity: 1;
}

.activity-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
    animation: lbZoomIn 0.28s ease;
    background: #0c1a19;
}

@keyframes lbZoomIn {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}

/* Close button */
.activity-lightbox-close {
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}

.activity-lightbox-close:hover {
    background: var(--marigold);
    transform: rotate(90deg);
}

/* Prev / Next nav */
.activity-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}

.activity-lightbox-nav:hover {
    background: var(--marigold);
}

.activity-lightbox-prev {
    left: 1.4rem;
}

.activity-lightbox-next {
    right: 1.4rem;
}

.activity-lightbox-prev:hover { transform: translateY(-50%) translateX(-3px); }
.activity-lightbox-next:hover { transform: translateY(-50%) translateX(3px); }

/* Counter */
.activity-lightbox-counter {
    position: absolute;
    bottom: 1.4rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    backdrop-filter: blur(6px);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 767px) {
    .activity-lightbox {
        padding: 1rem;
    }

    .activity-lightbox-img {
        max-width: 94vw;
        max-height: 78vh;
    }

    .activity-lightbox-nav {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.9rem;
    }

    .activity-lightbox-prev { left: 0.5rem; }
    .activity-lightbox-next { right: 0.5rem; }

    .activity-lightbox-close {
        top: 0.8rem;
        right: 0.8rem;
        width: 2.4rem;
        height: 2.4rem;
    }

    .activity-lightbox-counter {
        bottom: 0.8rem;
        font-size: 0.78rem;
    }
}