/**
 * YAKESMA SULTENG - Landing Page Styles
 * Modern Green Theme | Mobile First | Smooth Animations
 */

/* ========== CSS Variables ========== */
:root {
    --primary: #059669;
    --primary-light: #10b981;
    --primary-dark: #047857;
    --primary-glow: rgba(16, 185, 129, 0.15);
    --green-50: #ecfdf5;
    --green-100: #d1fae5;
    --green-900: #064e3b;
    --text: #1f2937;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --bg: #ffffff;
    --bg-alt: #f0fdf4;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 40px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 60px rgba(0,0,0,0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1140px;
}

/* ========== Reset & Base ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* ========== ANIMATED BACKGROUND BLOBS ========== */
.blob-wrapper {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    background: var(--bg);
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    border-radius: 50%;
    animation: moveBlob 20s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}

.blob:nth-child(1) { top: -100px; left: -100px; animation-duration: 25s; }
.blob:nth-child(2) { bottom: -100px; right: -100px; background: radial-gradient(circle, rgba(5, 150, 105, 0.06) 0%, transparent 70%); animation-duration: 30s; animation-delay: -5s; }
.blob:nth-child(3) { top: 40%; left: 30%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%); animation-duration: 22s; animation-delay: -10s; }

@keyframes moveBlob {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, 50px) scale(1.1); }
    66% { transform: translate(-50px, 150px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
    color: #fff;
    transition: var(--transition);
}

.navbar.scrolled .navbar-brand { color: var(--green-900); }

.brand-icon {
    font-size: 28px;
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar.scrolled .brand-icon {
    background: var(--green-50);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: #fff;
    background: rgba(255,255,255,0.15);
}

.navbar.scrolled .nav-link { color: var(--text); }
.navbar.scrolled .nav-link:hover, .navbar.scrolled .nav-link.active {
    color: var(--primary);
    background: var(--green-50);
}

.nav-cta {
    background: rgba(255,255,255,0.2) !important;
    color: #fff !important;
    font-weight: 600 !important;
    border: 1.5px solid rgba(255,255,255,0.3);
}

.navbar.scrolled .nav-cta {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span { background: var(--text); }

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #064e3b 0%, #047857 30%, #059669 60%, #10b981 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: #fff;
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
    animation: float 20s ease-in-out infinite;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    left: 60%;
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -30px); }
    66% { transform: translate(-20px, 20px); }
}

.hero-content {
    max-width: 700px;
    color: #fff;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.15);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: clamp(16px, 2vw, 19px);
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.btn-hero {
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-primary {
    background: #fff;
    color: var(--green-900);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-hero-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

.hero-stats {
    display: flex;
    gap: 24px;
    margin-top: 60px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 24px 32px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    flex: 1;
    min-width: 140px;
    max-width: 220px;
    transition: var(--transition);
}

.hero-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.3);
}

.hero-stat-value {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
}

.hero-stat-label {
    font-size: 13px;
    color: #ffffff; /* Hijau gelap (var(--primary-dark)) */
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

/* ========== SECTIONS ========== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-badge {
    display: inline-block;
    padding: 6px 18px;
    background: var(--green-50);
    color: var(--primary);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-about { background: var(--bg); }

/* ========== VISI MISI ========== */
.visi-misi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.vm-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.vm-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.vm-icon {
    font-size: 40px;
    margin-bottom: 20px;
    width: 72px;
    height: 72px;
    background: var(--green-50);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vm-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.vm-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.misi-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.misi-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.misi-check {
    width: 24px;
    height: 24px;
    background: var(--green-50);
    color: var(--primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.misi-list li strong {
    font-size: 14px;
    color: var(--text);
    display: block;
    margin-bottom: 2px;
}

.misi-list li p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

/* ========== PROGRESS DANA ========== */
.section-progress {
    background: linear-gradient(135deg, #064e3b, #059669);
    padding: 80px 0;
}

.progress-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 8px;
}

.progress-header .section-badge {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.progress-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 8px;
    color: #fff;
}

.progress-amount { text-align: right; }

.progress-current {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}

.progress-target {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.progress-bar-lg {
    width: 100%;
    height: 20px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
}

.progress-fill-lg {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #34d399, #6ee7b7, #a7f3d0);
    border-radius: 10px;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-fill-lg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-footer {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

/* ========== PROGRAMS ========== */
.section-programs { background: var(--bg-alt); }

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.program-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.program-img {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.program-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .program-img img {
    transform: scale(1.08);
}

.program-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--green-50), var(--green-100));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.program-body {
    padding: 20px;
}

.program-body h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.program-body p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.6;
}

.program-target {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed var(--border);
}

.program-target-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    margin-bottom: 12px;
    color: var(--text-light);
}

.program-target-info .target-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.program-target-info strong {
    color: var(--text);
    font-size: 14px;
}

.program-progress {
    height: 8px;
    background: var(--green-50);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.program-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--primary-dark));
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.program-progress-fill::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

.program-progress-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.program-progress-text {
    font-size: 13px;
    color: var(--primary);
    font-weight: 700;
}

/* ========== GALLERY ========== */
.section-gallery { background: var(--bg); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 8px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6,78,59,0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    font-size: 32px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-zoom {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gallery-title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

/* ========== LIGHTBOX ==========*/ /* Lightbox */
.lightbox {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-close {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.lightbox-close:hover { background: rgba(255,255,255,0.1); }

.lightbox-caption {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin-top: 16px;
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========== CONTACT SECTION REDESIGN ========== */
.section-contact {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Left: Info Cards */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-card {
    background: #fff;
    padding: 20px 5px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: var(--green-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 2px;
}

.contact-text p {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
}

/* Right: Bank Accounts */
.accounts-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.accounts-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: var(--primary);
}

.accounts-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.accounts-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.accounts-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
}

.accounts-header p {
    font-size: 13px;
    color: var(--text-light);
}

.account-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.account-item {
    padding: 16px 20px;
    background: var(--bg-alt);
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.account-item:hover {
    background: #fff;
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.bank-info strong {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.acc-number {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
    display: block;
}

.btn-copy {
    background: #fff;
    color: var(--primary);
    border: 1.5px solid var(--primary-light);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-copy:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-copy.btn-success {
    background: #10b981;
    color: #fff;
    border-color: #10b981;
}

.accounts-footer {
    padding-top: 20px;
    border-top: 1px dashed var(--border);
    text-align: center;
}

.accounts-footer p {
    font-size: 14px;
    color: var(--text-light);
}

.accounts-footer strong {
    color: var(--text);
    display: block;
    font-size: 15px;
    margin-top: 4px;
}

/* Response */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .contact-card {
        padding: 15px 10px;
        flex-direction: column;
        text-align: center;
    }
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-bottom: 8px;
    }
    .contact-text h3 { font-size: 11px; }
    .contact-text p { font-size: 11px; }
    .acc-number {
        font-size: 18px;
    }
    .container { padding: 0 20px; }
    
    .hero-stats { 
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px; 
        padding: 0;
    }

    .hero-stat {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        padding: 15px 5px;
        border-radius: var(--radius);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .hero-stat-value { font-size: 28px; }
    .hero-stat-label { font-size: 10px; opacity: 0.9; }
    
    /* 2 Col for Programs */
    .programs-grid { 
        display: grid;
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px;
    }
    .program-card { margin-bottom: 0; }
    .program-body { padding: 12px; }
    .program-body h3 { font-size: 14px; }
    .program-body p { display: none; } /* Hide description on mobile to save space */
    .program-target-info { font-size: 10px; flex-direction: column; gap: 4px; }

    /* 2 Col for Gallery */
    .gallery-grid { 
        display: grid;
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px; 
    }

    /* Impact Stats: Flexible for 3 items */
    .impact-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px;
        padding: 20px 5px;
        justify-items: center;
    }
    .impact-value { font-size: 24px; }
    .impact-label { font-size: 11px; }
}

@media (max-width: 400px) {
    .hero h1 { font-size: 24px; }
    .hero-stats { grid-template-columns: 1fr; gap: 8px; }
    .hero-stat { flex-direction: row; justify-content: center; gap: 10px; padding: 12px; }
    .hero-stat-value { font-size: 18px; }
    .hero-stat-label { font-size: 9px; }
    .btn-hero { padding: 12px 10px; font-size: 13px; }
    
    .programs-grid, .gallery-grid, .contact-info-grid { 
        grid-template-columns: 1fr; 
    }
    
    .program-body h3 { font-size: 16px; }
    .impact-grid { grid-template-columns: 1fr !important; padding: 15px; }
    .impact-item { padding: 10px 0; border-bottom: 1px solid #efefef; }
    .impact-item:last-child { border-bottom: none; }
}

/* ========== FOOTER ========== */
.footer {
    background: var(--green-900);
    color: rgba(255,255,255,0.8);
    padding: 48px 0 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 32px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-brand .brand-icon {
    font-size: 32px;
    background: rgba(255,255,255,0.1);
}

.footer-brand h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.footer-brand p {
    width: 100%;
    padding-left: 54px;
    font-size: 13px;
    margin-top: -4px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 115px;
    right: 28px;
    width: 62px;
    height: 62px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(5,150,105,0.4);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(5,150,105,0.5);
}

/* ========== FADE-UP ANIMATION ========== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== SKELETON LOADER ========== */
.skeleton-box {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeletonPulse 1.5s ease infinite;
    border-radius: 8px;
}

@keyframes skeletonPulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 80px 24px 24px;
        box-shadow: var(--shadow-xl);
        transition: right 0.4s ease;
        gap: 4px;
    }

    .nav-menu.active { right: 0; }

    .nav-link { color: var(--text) !important; width: 100%; padding: 12px 16px; }
    .nav-link:hover { background: var(--green-50) !important; color: var(--primary) !important; }

    .nav-cta {
        background: var(--primary) !important;
        color: #fff !important;
        text-align: center;
        margin-top: 12px;
    }

    .hero { padding: 100px 0 60px; }
    .hero h1 { font-size: 32px; }
    .hero-stats { gap: 24px; margin-top: 40px; padding-top: 24px; }
    .hero-stat-value { font-size: 28px; }

    .visi-misi-grid { grid-template-columns: 1fr; }

    .progress-header { flex-direction: column; }
    .progress-amount { text-align: left; }
    .progress-current { font-size: 22px; }

    .programs-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

    .footer-content { flex-direction: column; text-align: center; }
    .footer-brand p { padding-left: 0; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 8px; }

    .section { padding: 60px 0; }

    .impact-grid {
        padding: 20px 10px;
        gap: 10px;
    }
}

@media (max-width: 640px) {
    .container { padding: 0 20px; }
    
    .hero-stats { 
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px; 
        padding: 0;
    }

    .hero-stat {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        padding: 15px 5px;
        border-radius: var(--radius);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .hero-stat-value { font-size: 28px; }
    .hero-stat-label { font-size: 10px; opacity: 0.9; }
    
    /* 2 Col for Programs */
    .programs-grid { 
        display: grid;
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px;
    }
    .program-card { margin-bottom: 0; }
    .program-body { padding: 12px; }
    .program-body h3 { font-size: 14px; }
    .program-body p { display: none; } /* Hide description on mobile to save space */
    .program-target-info { font-size: 10px; flex-direction: column; gap: 4px; }

    /* 2 Col for Gallery */
    .gallery-grid { 
        display: grid;
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px; 
    }

    /* 2 Col for Contact Info Cards */
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .contact-card {
        flex-direction: column;
        text-align: center;
        padding: 15px 10px;
    }
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-bottom: 8px;
    }
    .contact-text h3 { font-size: 11px; }
    .contact-text p { font-size: 11px; }
    .acc-number {
        font-size: 18px;
    }

    /* Impact Stats: Flexible for 3 items */
    .impact-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px;
        padding: 20px 5px;
        justify-items: center;
    }
    .impact-value { font-size: 24px; }
    .impact-label { font-size: 11px; }
}

@media (max-width: 400px) {
    .hero h1 { font-size: 24px; }
    .hero-stats { grid-template-columns: 1fr; gap: 8px; }
    .hero-stat { flex-direction: row; justify-content: center; gap: 10px; padding: 12px; }
    .hero-stat-value { font-size: 18px; }
    .hero-stat-label { font-size: 9px; }
    .btn-hero { padding: 12px 10px; font-size: 13px; }
    
    .programs-grid, .gallery-grid, .contact-info-grid { 
        grid-template-columns: 1fr; 
    }
    
    .program-body h3 { font-size: 16px; }
    .impact-grid { grid-template-columns: 1fr !important; padding: 15px; }
    .impact-item { padding: 10px 0; border-bottom: 1px solid #efefef; }
    .impact-item:last-child { border-bottom: none; }
}

/* ========== IMPACT SECTION ========== */
.section-impact {
    background: var(--bg-alt);
    padding: 60px 0;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    justify-content: center;
}

.impact-item {
    text-align: center;
}

.impact-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.impact-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.impact-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

/* ========== TESTIMONIALS ========== */
.section-testimonials {
    background: var(--bg);
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 20px;
}

.testimonial-content {
    background: var(--bg-alt);
    padding: 40px;
    border-radius: var(--radius-lg);
    position: relative;
    margin-bottom: 30px;
    font-style: italic;
    font-size: 18px;
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 40px;
    border-width: 15px 15px 0 0;
    border-style: solid;
    border-color: var(--bg-alt) transparent transparent transparent;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-left: 20px;
}

.author-img {
    width: 60px;
    height: 60px;
    background: var(--green-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.author-info strong {
    display: block;
    font-size: 16px;
    color: var(--text);
}

.author-info span {
    font-size: 13px;
    color: var(--text-light);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* ========== FAQ ========== */
.section-faq {
    background: var(--bg-alt);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #fff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--green-50);
}

.faq-icon {
    font-size: 20px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-light);
    font-size: 15px;
}

.faq-item.active .faq-answer {
    padding: 0 24px 20px;
    max-height: 200px;
}


/* ========== WHATSAPP FAB ========== */
.whatsapp-fab {
    position: fixed;
    bottom: 30px;
    right: 28px;
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), inset 0 -4px 0 rgba(0,0,0,0.1);
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-fab:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

.whatsapp-fab svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* WA Tooltip */
.wa-tooltip {
    position: absolute;
    right: 80px;
    background: #fff;
    color: #1f2937;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.wa-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #fff;
}

.whatsapp-fab:hover .wa-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Pulse Animation Wrapper */
.whatsapp-fab::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #25D366;
    border-radius: 50%;
    z-index: -1;
    animation: pulse-wa 2s infinite;
}

@keyframes pulse-wa {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* ========== TOAST ========== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(31, 41, 55, 0.95);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-lg);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* ========== MITRA SECTION ========== */
.section-mitra {
    padding: 80px 0;
    background: transparent;
}

.mitra-card {
    background: #fff;
    padding: 30px 50px;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08); /* Card shadow putih */
    max-width: 1200px;
    margin: 0 auto;
}

.mitra-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px 50px;
}

.mitra-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.mitra-item img {
    max-height: 45px; /* Sesuaikan dengan foto user */
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
}

.mitra-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .section-mitra {
        padding: 50px 0;
    }
    .mitra-card {
        padding: 25px;
        margin: 0 15px;
    }
    .mitra-grid {
        gap: 25px;
    }
    .mitra-item img {
        max-height: 35px;
    }
}

/* ========== MODAL DONASI ========== */
.modal-donasi {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal-donasi.active {
    display: flex;
}

.modal-donasi-content {
    background: #fff;
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: modalSlideUp 0.3s ease-out;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-donasi-header {
    background: var(--green-900);
    color: #fff;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-donasi-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.modal-donasi-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
}

.modal-donasi-close:hover { opacity: 1; }

.modal-donasi-body {
    padding: 20px 5px;
    overflow-y: auto;
}

.rek-box {
    background: #f8fafc;
    border: 1px dashed var(--border);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.rek-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: 2px;
    margin: 10px 0;
    user-select: all;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-copy {
    background: #e2e8f0;
    border: none;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    color: #475569;
    font-weight: 600;
    transition: 0.2s;
}

.btn-copy:hover { background: #cbd5e1; }

.form-group {
    margin-bottom: 16px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px var(--green-100);
}

.btn-submit-donasi {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}
.btn-submit-donasi:hover {
    background: var(--primary-dark);
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}/* ========== MOBILE BOTTOM NAVIGATION (Native App Look) ========== */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(255, 255, 255, 0.85); /* Slightly more transparent */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1000;
    justify-content: space-around;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
}

.mob-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    gap: 2px;
}

.mob-nav-item.active {
    color: var(--primary);
}

.mob-nav-icon {
    font-size: 22px;
}

.mob-nav-label {
    font-size: 11px;
    font-weight: 700;
    margin-top: 2px;
}

.mob-nav-fab-wrapper {
    position: relative;
    width: 70px;
    height: 100%;
}

.mob-nav-fab {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 25px rgba(5, 150, 105, 0.4);
    border: 5px solid #fff;
    color: #fff;
    font-size: 28px;
    transition: var(--transition);
}

.mob-nav-fab:active {
    transform: translateX(-50%) scale(0.9);
}

/* Hide native desktop navbar on mobile to use Bottom Nav */
@media (max-width: 768px) {
    body {
        padding-bottom: 80px; 
    }

    /* Fixed Minimal Header for App feel */
    .navbar {
        background: transparent !important;
        box-shadow: none !important;
        padding: 5px 0 !important;
        position: absolute; /* Stick to top hero */
    }
    
    .navbar.scrolled {
        background: rgba(255,255,255,0.9) !important;
        backdrop-filter: blur(10px) !important;
        position: fixed;
    }

    .navbar-brand { 
        justify-content: center;
        width: 100%;
        color: #fff !important;
    }
    .navbar.scrolled .navbar-brand { color: var(--primary) !important; }

    .brand-icon { 
        background: rgba(255,255,255,0.2) !important; 
        width: 38px !important;
        height: 38px !important;
    }

    .nav-menu, .nav-toggle {
        display: none !important;
    }

    .mobile-nav {
        display: flex;
    }

    /* HERO REDESIGN */
    .hero {
        padding-top: 60px;
        min-height: auto;
        padding-bottom: 40px;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 28px !important;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 14px !important;
        margin-bottom: 25px;
        opacity: 0.9;
    }

    .hero-actions {
        display: flex;
        flex-direction: row; /* SIDE BY SIDE */
        justify-content: center;
        gap: 10px;
        margin-bottom: 40px;
    }
    
    .btn-hero {
        padding: 12px 20px;
        font-size: 13px;
        flex: 1;
        justify-content: center;
        border-radius: 12px;
    }

    /* STATS - 2 Columns (Reverted for better readability) */
    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-top: 30px;
    }
    
    .hero-stat {
        max-width: none;
        padding: 15px;
        border-radius: 20px;
    }
    
    .hero-stat-value {
        font-size: 24px;
        margin-bottom: 5px;
    }
    
    .hero-stat-label {
        font-size: 10px;
        letter-spacing: 0.5px;
        opacity: 0.9;
    }

    /* Card Refinement */
    .program-card, .vm-card, .progress-card {
        border-radius: 24px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    }
    
    /* FIX OVERLAP: Lift FABs higher on mobile */
    .whatsapp-fab {
        bottom: 100px !important;
        right: 15px !important;
        width: 50px !important;
        height: 50px !important;
        opacity: 0.9;
    }
    
    .whatsapp-fab svg {
        width: 32px !important;
        height: 32px !important;
    }
    
    .back-to-top {
        bottom: 160px !important; /* Stacked above WA fab (100px + size + gap) */
        right: 15px !important; 
        width: 50px !important;
        height: 50px !important;
        background: var(--primary) !important;
        color: #fff !important;
        border: none !important;
        box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3) !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
}
