:root {
    --primary: #087f5b;
    --dark: #07543f;
    --gold: #d7a84b;
    --background: #f6f9f7;
    --text: #20342b;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: min(1120px, 92%);
    margin: auto;
}

.navbar {
    background: white;
    border-bottom: 1px solid #e5ebe7;
    padding: 18px 0;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.logo {
    font-size: 21px;
    font-weight: bold;
    color: var(--dark);
    text-decoration: none;
}

nav a {
    margin-left: 20px;
    color: var(--text);
    text-decoration: none;
}

.hero {
    background: linear-gradient(135deg, #07543f, #0c9870);
    color: white;
    padding: 100px 0;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 54px);
    max-width: 750px;
    line-height: 1.2;
}

.hero p {
    max-width: 620px;
    font-size: 18px;
}

.btn {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 9px;
    background: var(--gold);
    color: #17251d;
    font-weight: bold;
    text-decoration: none;
    margin-top: 20px;
}

.section {
    padding: 65px 0;
}

.section h2 {
    font-size: 30px;
    margin-bottom: 25px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: white;
    padding: 26px;
    border-radius: 16px;
    border: 1px solid #e5ebe7;
    box-shadow: 0 5px 20px rgba(0,0,0,.04);
}

.card h3 {
    color: var(--dark);
}

.card p {
    white-space: pre-line;
}

footer {
    background: #073e30;
    color: white;
    padding: 35px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .cards {
        grid-template-columns: 1fr;
    }

    nav a {
        margin: 0 12px 0 0;
    }

    .hero {
        padding: 65px 0;
    }
}

/* Foto program donasi */
.program-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
    display: block;
}

.detail-image {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 14px;
    margin: 20px 0;
    display: block;
}


/* Indikator dana terkumpul */
.rpn-progress-home,
.rpn-progress-detail {
    margin: 20px 0;
}

.rpn-progress-track {
    width: 100%;
    height: 12px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
    margin: 12px 0;
}

.rpn-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #087f5b, #22c55e);
    border-radius: 999px;
}

.rpn-progress-home p,
.rpn-progress-detail p {
    margin: 8px 0;
}

