:root {
    --nu-green: #008148;
    --nu-green-dark: #006b3c;
    --nu-green-light: #2fc256;
    --bg-gray: #f8fafc;
    --text-main: #2d3436;
    --color-cerdas: #1a73e8; 
    --color-sehat: #e91e63;  
    --color-berdaya: #f9a825; 
    --color-hijau: #2e7d32;  
    --color-damai: #673ab7;  
    --gold-gradient: linear-gradient(135deg, #f9a825 0%, #f57f17 100%);
}

body { background-color: var(--bg-gray); color: var(--text-main); font-family: 'Inter', sans-serif; margin: 0; padding: 0; padding-bottom: 80px; }
.content-padding { padding: 0 16px; }

/* --- Top Header --- */
.top-nav {
    background: var(--nu-green);
    padding: 20px 20px 70px 20px;
    color: white;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

/* --- SLIDER PHP (ANTI TERPOTONG) --- */
.carousel-container { 
    margin-top: -55px; 
    padding: 0 16px; 
}
.carousel-inner { 
    border-radius: 20px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); 
    background: #eee; 
    overflow: hidden;
}
.carousel-item { aspect-ratio: 16 / 9; background: #000; }
.carousel-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- Menu Layanan --- */
.menu-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
    background: white; padding: 20px 10px; border-radius: 25px;
    margin-top: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.menu-item { text-align: center; text-decoration: none !important; color: inherit; transition: 0.2s; }
.menu-item:active { transform: scale(0.9); }
.menu-icon {
    width: 50px; height: 50px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; margin: 0 auto 8px;
}
.menu-text { font-size: 11px; font-weight: 700; color: #444; }

/* --- TOMBOL UTAMA BARU --- */
.main-cta-box { margin-top: 15px; }
.btn-main-cta {
    background: var(--gold-gradient);
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(245, 127, 23, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.3s;
}
.btn-main-cta:active { transform: scale(0.97); }

/* --- 5 Pilar Section --- */
.section-title-wrap {
    display: flex; justify-content: space-between; align-items: center;
    margin: 25px 0 15px 0;
}
.section-title { font-size: 16px; font-weight: 800; color: #2d3436; margin: 0; }
.link-all { font-size: 13px; font-weight: 700; color: var(--nu-green); text-decoration: none !important; }

.pillar-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 auto; }
.pillar-card {
    background: white; border-radius: 18px; padding: 15px 10px;
    text-align: center; border: 1px solid #f1f5f9;
    text-decoration: none !important; transition: all 0.3s ease;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: calc(33.333% - 12px); min-width: 100px; max-width: 120px; min-height: 110px;
}
.pillar-icon-box { width: 45px; height: 45px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 10px; }
.pillar-name { font-size: 9px; font-weight: 800; color: #444; text-transform: uppercase; line-height: 1.2; }

/* Pillar Colors */
.bg-cerdas { background: #e3f2fd; color: var(--color-cerdas); }
.bg-sehat { background: #fce4ec; color: var(--color-sehat); }
.bg-berdaya { background: #fff8e1; color: var(--color-berdaya); }
.bg-hijau { background: #e8f5e9; color: var(--color-hijau); }
.bg-damai { background: #f3e5f5; color: var(--color-damai); }
.bg-default { background: #f1f5f9; color: #64748b; }

/* --- Campaign List --- */
.campaign-list { display: flex; flex-direction: column; gap: 15px; }
.campaign-card { background: white; border-radius: 20px; overflow: hidden; display: flex; text-decoration: none !important; border: 1px solid #f1f5f9; }
.campaign-img-wrapper { width: 100px; height: 100px; flex-shrink: 0; overflow: hidden; background: #f8fafc; border-right: 1px solid #f1f5f9; }
.campaign-img { width: 100%; height: 100%; object-fit: cover; }
.campaign-info { padding: 12px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.campaign-title { font-size: 13px; font-weight: 700; color: #333; margin-bottom: 8px; height: 38px; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.progress-bar-bg { height: 6px; background: #f1f5f9; border-radius: 10px; margin-bottom: 8px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: var(--nu-green); border-radius: 10px; }
.campaign-stats { display: flex; justify-content: space-between; align-items: center; }
.stat-nominal { font-size: 13px; font-weight: 800; color: var(--nu-green); }
.stat-percent { font-size: 11px; font-weight: 600; color: #94a3b8; }

.shimmer { background: #f6f7f8; background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%); background-repeat: no-repeat; animation: placeholderShimmer 1.5s infinite linear; }
@keyframes placeholderShimmer { 0% { background-position: -468px 0; } 100% { background-position: 468px 0; } }

.btn-donate-now { background: var(--nu-green); color: white !important; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; border-radius: 15px; font-weight: 800; font-size: 15px; text-decoration: none !important; box-shadow: 0 10px 20px rgba(0, 129, 72, 0.3); }