:root {
    --accent: #2b8cff;
    --accent-donate: orange;
    --accent-hover: #4aba7b;
    --muted: #6b7280;
    --bg: #f7f9fc;
    --card: #ffffff;
    --radius: 10px;
    --max-width: 1100px;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    margin: 0;
    background: var(--bg);
    color: #111827;
    line-height: 1.5;
    display: flex;
    justify-content: center;
    padding: 32px 16px;
}

.container {
    width: 100%;
    max-width: var(--max-width);
}

/* ---------------- HEADER ---------------- */

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);

    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.brand-title {
    font-weight: 700;
}

.brand-subtitle {
    font-size: 13px;
    color: var(--muted);
}

nav {
    display: flex;
    gap: 12px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--muted);
    padding: 8px 10px;
    border-radius: 8px;
}

.btn {
    background: var(--accent);
    color: rgb(255, 255, 255);
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.petrol {
    background: var(--accent-hover);
    color: rgb(255, 255, 255);
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.given {
    background: var(--accent-donate);
    color: rgb(255, 255, 255);
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
}


/* ---------------- HERO ---------------- */

.hero {
    border-radius: var(--radius);
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 20px;
    padding: 28px;
    align-items: center;
    margin-bottom: 22px;

    background-image: url("path/to/hero-image.jpg");
    background-size: cover;
    background-position: center;

    color: white;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            rgba(43, 140, 255, 0.75),
            rgba(76, 214, 182, 0.6));
    opacity: 0.95;
    border-radius: var(--radius);
}

.hero .content,
.hero .stats {
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin: 0 0 8px;
    font-size: 28px;
}

.hero p {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 44ch;
}

.hero-cta {
    display: inline-block;
    margin-top: 8px;
}

/* ---------------- STATS ---------------- */

.stats {
    background: rgba(255, 255, 255, 0.08);
    padding: 18px;
    border-radius: 12px;
    color: white;
    box-shadow: 0 6px 18px rgba(10, 10, 10, 0.08);
}

.stats-title {
    font-weight: 700;
    margin-bottom: 6px;
}

.stats .stat {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.stats .stat:last-child {
    margin-bottom: 0;
}

/* ---------------- MAIN GRID ---------------- */

.grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

/* ---------------- BLOG Link ---------------- */

.posts {
    display: grid;
    gap: 16px;
}

.post {
    background: var(--card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(11, 15, 30, 0.06);
    display: flex;
    flex-direction: column;
}

.post .thumb {
    height: 200px;
    background: #b8b4b4;
    background-size: cover;
    background-position: center;
}

.post .body {
    padding: 14px;
}

.post h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.post p {
    margin: 0 0 12px;
    color: var(--muted);
}

.meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--muted);
}

.read-more {
    color: var(--accent);
    text-decoration: none;
}

/* ---------------- SIDEBAR ---------------- */

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card {
    background: var(--card);
    padding: 14px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(11, 15, 30, 0.06);
}

.card-title {
    margin: 0 0 8px;
}

.card-muted {
    margin: 0;
    color: var(--muted);
}

.contact-line {
    margin-bottom: 8px;
}

/* ---------------- DONATE ---------------- */

.donate {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.donate-row {
    display: flex;
    gap: 8px;
}

.donate-btn {
    flex: 1;
}

.donate-btn-green {
    background: #10b981;
}

.donate-btn-amber {
    background: #f59e0b;
}

.donate input[type="text"] {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    width: 100%;
}

.donate-secure {
    text-align: center;
}


/* ---------------- GALLERY ---------------- */

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.gallery-item {
    display: block;
    height: auto;
    /* your thumbnail height */
    border-radius: 8px;
    overflow: hidden;
    /* clip the zoom */
    position: relative;
    transform: translateZ(0);
    /* helps smoothness */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    transform: scale(1);
    transition: transform 450ms cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 450ms cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}

.gallery-item:hover {
    z-index: 10;
    /* float above neighbors */
}

.gallery-item:hover img {
    transform: scale(1.25);
    /* increase for more “expand” */
    filter: saturate(1.05) contrast(1.05);
}

/* Optional: subtle dim on non-hovered images */
.gallery:hover .gallery-item:not(:hover) img {
    filter: brightness(0.92);
}

/* Responsive tweak (if you already have this, keep yours) */
@media (max-width: 900px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ---------------- FOOTER ---------------- */

footer {
    margin-top: 22px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    body {
        padding: 16px 10px;
    }

    .gallery img {
        height: 80px;
    }

    .hero h1 {
        font-size: 22px;
    }
}



/* ---------------- NEEDS SCROLL BAR ---------------- */

.needs-bar {
    margin: -6px 0 22px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;

    /* faded brown theme */
    background: linear-gradient(90deg, #7a5a3a, #a9825d);
    box-shadow: 0 6px 18px rgba(30, 20, 10, 0.12);
}

.needs-label {
    flex: 0 0 auto;
    font-weight: 700;
    font-size: 13px;
    color: rgba(255, 245, 235, 0.95);
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(234, 202, 44, 0.509);
    border: 1px solid rgba(255, 245, 235, 0.18);
}

.needs-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right,
            transparent,
            black 10%,
            black 90%,
            transparent);
}

.needs-track {
    display: flex;
    gap: 10px;
    width: max-content;
    animation: needs-scroll 22s linear infinite;
}

.needs-bar:hover .needs-track {
    animation-play-state: paused;
}

.need {
    flex: 0 0 auto;
    font-size: 13px;
    color: rgba(255, 245, 235, 0.95);
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 245, 235, 0.14);
    border: 1px solid rgba(255, 245, 235, 0.18);
    white-space: nowrap;
}

@keyframes needs-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Make it stack nicely on small screens */
@media (max-width: 480px) {
    .needs-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .needs-label {
        text-align: center;
    }
}

/* ---------------- FUNDS SECTION (BOTTOM) ---------------- */



.funds-section {
    margin-top: 32px;
}

.funds-box {
    background: #fff6c9;
    /* pale yellow */
    border-radius: 14px;
    border: 1px solid rgba(120, 90, 40, 0.25);
    box-shadow: 0 6px 18px rgba(30, 20, 10, 0.08);
    overflow: hidden;
}

.funds-header {
    cursor: pointer;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: #3b2a12;
    list-style: none;
}

.funds-header::-webkit-details-marker {
    display: none;
}

.funds-toggle {
    transition: transform 0.2s ease;
}

.funds-box[open] .funds-toggle {
    transform: rotate(180deg);
}

.funds-content {
    padding: 14px 16px 18px;
    border-top: 1px solid rgba(120, 90, 40, 0.25);
    color: #3b2a12;
}

.funds-content p {
    margin: 0 0 12px;
}

.funds-list {
    padding-left: 18px;
    margin: 0;
}

.funds-list li {
    margin-bottom: 6px;
    font-size: 14px;
}


/* ---------------- PEOPLE SECTION (GOLD) ---------------- */

.people {
    margin-top: 28px;
    padding: 18px;
    border-radius: 14px;
    background: linear-gradient(90deg, #f3c84b, #f8df86);
    border: 1px solid rgba(120, 90, 40, 0.22);
    box-shadow: 0 6px 18px rgba(30, 20, 10, 0.08);
}

.people-title {
    margin: 0 0 4px 0;
    color: #3b2a12;
}

.people-subtitle {
    margin: 0 0 14px 0;
    color: rgba(59, 42, 18, 0.78);
    font-size: 14px;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

/* each card is a details dropdown */
.person-card {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(120, 90, 40, 0.18);
    border-radius: 14px;
    overflow: hidden;
}

/* summary row */
.person-summary {
    list-style: none;
    cursor: pointer;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    position: relative;
}

.person-summary::-webkit-details-marker {
    display: none;
}

.person-media {
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    /* required for zoom crop */
    border: 1px solid rgba(120, 90, 40, 0.15);
    background: rgba(255, 255, 255, 0.35);
}

.person-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 240ms ease, filter 240ms ease;
}

/* Smooth image expand on hover (works on desktop) */
.person-card:hover .person-img {
    transform: scale(1.08);
    filter: saturate(1.05) contrast(1.05);
}

/* Header text */
.person-head {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.person-name {
    margin: 0;
    color: #3b2a12;
    font-size: 18px;
}

.person-role {
    margin: 0;
    color: rgba(59, 42, 18, 0.75);
    font-size: 13px;
}

/* chevron */
.person-chevron {
    position: absolute;
    right: 12px;
    top: 12px;
    color: rgba(59, 42, 18, 0.9);
    transition: transform 180ms ease;
    font-size: 16px;
}

.person-card[open] .person-chevron {
    transform: rotate(180deg);
}

/* expanded content */
.person-details {
    padding: 0 12px 12px 12px;
    border-top: 1px solid rgba(120, 90, 40, 0.18);
    color: rgba(59, 42, 18, 0.92);
}

.person-bio {
    margin: 10px 0 10px 0;
    font-size: 14px;
}

.person-points {
    margin: 0;
    padding-left: 18px;
    color: rgba(59, 42, 18, 0.85);
    font-size: 14px;
}

.person-points li {
    margin-bottom: 6px;
}

/* Responsive */
@media (max-width: 900px) {
    .people-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .people {
        padding: 14px;
    }

    .people-grid {
        grid-template-columns: 1fr;
    }

    .person-media {
        height: 150px;
    }
}

/* --- Make each people column keep its own height --- */
.people-grid {
    align-items: start;
    /* instead of default stretch */
}

/* extra safety (either one is fine, both is safest) */
.person-card {
    align-self: start;
}


/* --- Universal dropdown animation container --- */
.dd-anim {
    height: 0;
    overflow: hidden;
    transition: height 420ms cubic-bezier(0.4, 0, 0.2, 1);
    will-change: height;
}

/* Rotate icons when open */
details[open] .funds-toggle,
details[open] .person-chevron {
    transform: rotate(180deg);
    transition: transform 300ms ease;
}

/* Optional: subtle lift on hover */
details {
    transition: transform 200ms ease, box-shadow 200ms ease;
}

details:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .dd-anim {
        transition: none;
    }
}


/* ---------- Global button hover lift ---------- */
/* Targets: <button>, and your button-like links (.btn / .given / .petrol) */
button,
.btn,
.given,
.petrol {
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
    will-change: transform;
}

/* Hover/focus lift */
button:hover,
button:focus-visible,
.btn:hover,
.btn:focus-visible,
.given:hover,
.given:focus-visible,
.petrol:hover,
.petrol:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
    filter: brightness(1.02);
}



/* ---------------- CLEAR---------------- */

.transparency-doc-image {
    width: 70%;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(120, 90, 40, 0.15);
    background: rgba(255, 255, 255, 0.35);
    transition: transform 240ms ease, filter 240ms ease;
}

.transparency-hero {
    border-radius: var(--radius);
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 5px;
    padding: 10px;
    align-items: center;
    margin-bottom: 22px;

    background-image: linear-gradient(rgb(10, 161, 90), #007415);
    background-size: cover;
    background-position: center;

    color: rgb(255, 255, 255);
    position: relative;
    overflow: hidden;
}



/* ---------------- MOBILE NAV FIX ---------------- */

@media (max-width: 900px) {
    header {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .brand {
        justify-content: center;
        text-align: center;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    nav a {
        text-align: center;
    }
}

@media (max-width: 560px) {
    .logo {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }

    .brand {
        flex-direction: column;
        gap: 8px;
    }

    .brand-title {
        font-size: 18px;
        line-height: 1.2;
    }

    .brand-subtitle {
        font-size: 12px;
        line-height: 1.35;
    }

    nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
    }

    nav a,
    .petrol,
    .given,
    .btn {
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        padding: 12px 10px;
    }
}

@media (max-width: 380px) {
    nav {
        grid-template-columns: 1fr;
    }

    .brand-title {
        font-size: 16px;
    }

    .brand-subtitle {
        font-size: 11px;
    }
}