﻿ /* ============================================
       VARIABLES & RESET
    ============================================ */
    :root {
        --primary: #00C853;
        --primary-dark: #009624;
        --secondary: #00BFA5;
        --accent: #FF4081;
        --dark: #1A237E;
        --light: #f8f9fa;
        --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
        --gradient-dark: linear-gradient(135deg, var(--dark) 0%, #283593 100%);
        --shadow: 0 10px 30px rgba(0, 200, 83, 0.1);
        --shadow-hover: 0 15px 40px rgba(0, 200, 83, 0.2);
        --hijau-donasi: #198754;
    }
    
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    body {
        font-family: 'Poppins', sans-serif;
        background: linear-gradient(135deg, #f5f7fa 0%, #e3f2fd 100%);
        color: #333;
        overflow-x: hidden;
    }
    
    /* ============================================
       UTILITY CLASSES
    ============================================ */
    .text-hijau { color: var(--hijau-donasi); }
    .bg-hijau { background-color: var(--hijau-donasi); }
    .icon-circle { 
        width: 60px; 
        height: 60px; 
        border-radius: 50%; 
        display: flex; 
        align-items: center; 
        justify-content: center; 
        font-size: 1.5rem; 
    }
    
    /* ============================================
       NAVBAR & HEADER
    ============================================ */
    .navbar {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        padding: 1rem 0;
        transition: all 0.3s ease;
    }
    
    .navbar-brand {
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 1.8rem;
        color: var(--primary) !important;
    }
    
    .navbar-brand i {
        color: var(--secondary);
    }
    
    .nav-link {
        font-weight: 500;
        color: #555 !important;
        margin: 0 10px;
        padding: 8px 16px !important;
        border-radius: 50px;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover, 
    .nav-link.active {
        background: var(--gradient-primary);
        color: white !important;
        transform: translateY(-2px);
    }
    
    .user-badge {
        background: var(--gradient-dark);
        color: white;
        padding: 8px 16px;
        border-radius: 50px;
        font-size: 0.9rem;
        display: inline-flex;
        align-items: center;
        margin-left: 15px;
    }
    
    .user-badge i {
        margin-right: 8px;
    }
    
    /* ============================================
       HERO SECTION
    ============================================ */
    .hero-section {
        background: var(--gradient-dark);
        color: white;
        padding: 10px 0 10px;
        position: relative;
        overflow: hidden;
        margin-top: 76px; /* Untuk mengkompensasi navbar fixed */
    }
    
    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M0,50 Q250,0 500,50 T1000,50 L1000,100 L0,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
        background-size: cover;
    }
    
    .hero-content {
        position: relative;
        z-index: 2;
    }
    
    .hero-title {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 20px;
        font-family: 'Montserrat', sans-serif;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        opacity: 0.9;
        margin-bottom: 30px;
        max-width: 600px;
    }
    
    .btn-hero {
        background: var(--gradient-primary);
        color: white;
        padding: 15px 40px;
        border-radius: 50px;
        font-weight: 600;
        font-size: 1.1rem;
        border: none;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
    }
    
    .btn-hero:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-hover);
        color: white;
    }
    
    /* ============================================
       SECTION TITLE
    ============================================ */
    .section-title {
        text-align: center;
        margin-bottom: 60px;
        padding: 0 15px;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--dark);
        margin-bottom: 15px;
        position: relative;
        display: inline-block;
    }
    
    .section-title h2::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: var(--gradient-primary);
        border-radius: 2px;
    }
    
    .section-title p {
        color: #666;
        font-size: 1.1rem;
        max-width: 600px;
        margin: 0 auto;
        line-height: 1.6;
    }
    
    /* ============================================
       STEP CARDS (CARA KERJA)
    ============================================ */
    .step-card {
        background: white;
        border-radius: 20px;
        padding: 30px;
        text-align: center;
        box-shadow: var(--shadow);
        transition: all 0.3s ease;
        height: 100%;
        border: 1px solid #e8e8e8;
        position: relative;
        min-height: 300px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .step-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-hover);
    }
    
    .step-icon {
        width: 100px;
        height: 100px;
        background: var(--gradient-primary);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 25px;
        color: white;
        font-size: 2.5rem;
    }
    
    .step-number {
        position: absolute;
        top: -15px;
        left: -15px;
        background: var(--accent);
        color: white;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 1.2rem;
    }
    
    .step-title {
        font-size: 1.3rem;
        font-weight: 600;
        color: var(--dark);
        margin-bottom: 15px;
    }
    
    .step-desc {
        color: #666;
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* ============================================
       CARD STEP (ALUR DONASI)
    ============================================ */
    .card-step { 
        border: none; 
        border-left: 5px solid var(--hijau-donasi); 
        transition: 0.3s; 
    }
    
    .card-step:hover { 
        transform: translateX(10px); 
        background-color: #f8fffb; 
    }
    
    /* ============================================
       INCOME ILLUSTRATION
    ============================================ */
    .income-card {
        background: white;
        border-radius: 20px;
        padding: 30px;
        box-shadow: var(--shadow);
        margin-top: 40px;
    }
    
    .income-header {
        background: var(--gradient-primary);
        color: white;
        padding: 20px;
        border-radius: 15px;
        margin-bottom: 25px;
        text-align: center;
    }
    
    .income-table {
        width: 100%;
        border-collapse: collapse;
    }
    
    .income-table th {
        background: #f8f9fa;
        padding: 15px;
        text-align: center;
        font-weight: 600;
        color: var(--dark);
        border-bottom: 2px solid var(--primary);
    }
    
    .income-table td {
        padding: 15px;
        text-align: center;
        border-bottom: 1px solid #eee;
    }
    
    .income-table tr:hover {
        background: #f8f9fa;
    }
    
    .highlight {
        background: linear-gradient(135deg, #E3F2FD 0%, #F3E5F5 100%) !important;
        font-weight: 600;
        color: var(--primary-dark);
    }
    
    /* ============================================
       PROMOTION CARDS
    ============================================ */
   .promo-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.promo-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--secondary);
}

.promo-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent), #1976D2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2.5rem;
    transform: rotate(45deg);
    box-shadow: var(--shadow-md);
}

.promo-card:hover .promo-icon {
    transform: rotate(0deg);
    transition: transform 0.5s ease;
}

.promo-icon i {
    transform: rotate(-45deg);
}

.promo-card:hover .promo-icon i {
    transform: rotate(0deg);
}

.promo-title {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}
    
    /* ============================================
       CTA SECTION
    ============================================ */
   .cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none" opacity="0.1"><path d="M0,100 L100,0 L100,100 Z" fill="white"/></svg>');
    background-size: cover;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: white;
}

.price-display {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    display: inline-block;
    margin: 2rem auto;
    min-width: 300px;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 0.5rem;
}

.price-note {
    font-size: 1.2rem;
    opacity: 0.9;
}

    /* ============================================
       FEATURES SECTION
    ============================================ */
    .features-section {
        padding: 80px 0;
        background: #f8f9fa;
    }
    
    .feature-item {
        display: flex;
        align-items: flex-start;
        margin-bottom: 40px;
        padding: 20px;
        background: white;
        border-radius: 15px;
        box-shadow: var(--shadow);
    }
    
    .feature-icon {
        flex-shrink: 0;
        width: 80px;
        height: 80px;
        background: var(--gradient-primary);
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 25px;
        color: white;
        font-size: 2rem;
    }
    
    .feature-content h3 {
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--dark);
        margin-bottom: 10px;
    }
    
    .feature-content p {
        color: #666;
        line-height: 1.6;
    }
    
    /* ============================================
       PAYMENT METHODS
    ============================================ */
   .payment-methods {
    padding: 5rem 0;
    background: white;
}

.payment-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 2px solid transparent;
}

.payment-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.payment-icon {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow);
}

.payment-icon.bca {
    background: linear-gradient(135deg, #0066B3, #004B87);
}

.payment-icon.bri {
    background: linear-gradient(135deg, #FF6B00, #CC5500);
}

.payment-icon.wallet {
    background: linear-gradient(135deg, #00A86B, #008F5A);
}

.payment-icon.flip {
    background: linear-gradient(135deg, #6A11CB, #2575FC);
}
    
    /* ============================================
       FORM SECTION
    ============================================ */
    .form-section {
        background: white;
        padding: 80px 0;
    }
    
    .form-container {
        max-width: 800px;
        margin: 0 auto;
        background: white;
        padding: 40px;
        border-radius: 20px;
        box-shadow: var(--shadow);
    }
    
    .form-title {
        text-align: center;
        margin-bottom: 30px;
        color: var(--dark);
        font-size: 2rem;
        font-weight: 700;
    }
    
    .error {
        color: #dc3545;
        background-color: #f8d7da;
        padding: 15px;
        border-radius: 10px;
        margin-bottom: 20px;
        border: 1px solid #f5c6cb;
    }
    
    .success {
        color: #198754;
        background-color: #d1e7dd;
        padding: 15px;
        border-radius: 10px;
        margin-bottom: 20px;
        border: 1px solid #badbcc;
    }
    
    .info {
        color: #666;
        font-size: 12px;
        margin-top: 5px;
        font-style: italic;
    }
    
    .sponsor-info {
        background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
        padding: 20px;
        border-radius: 15px;
        margin-bottom: 30px;
        border: 2px solid var(--primary);
    }
    
    .sponsor-info strong {
        color: var(--primary);
    }
    
    .form-control {
        border: 2px solid #e8e8e8;
        border-radius: 10px;
        padding: 12px 15px;
        font-size: 16px;
        transition: all 0.3s ease;
    }
    
    .form-control:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 0.25rem rgba(0, 200, 83, 0.25);
    }
    
    .form-label {
        font-weight: 600;
        color: var(--dark);
        margin-bottom: 8px;
    }
    
    .btn-submit {
        background: var(--gradient-primary);
        color: white;
        padding: 15px 40px;
        border-radius: 50px;
        font-weight: 600;
        font-size: 1.1rem;
        border: none;
        transition: all 0.3s ease;
        width: 100%;
        margin-top: 20px;
    }
    
    .btn-submit:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-hover);
    }
    
    /* ============================================
       FLOATING ELEMENTS
    ============================================ */
    /* Scroll to form button */
    .scroll-to-form {
        position: fixed;
        bottom: 100px;
        right: 30px;
        background: var(--gradient-primary);
        color: white;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        box-shadow: var(--shadow);
        z-index: 999;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
    }
    
    .scroll-to-form:hover {
        transform: scale(1.1);
        box-shadow: var(--shadow-hover);
    }
    
    /* WhatsApp Button */
    .whatsapp-float {
        position: fixed;
        bottom: 30px;
        right: 30px;
        background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
        color: white;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
        z-index: 1000;
        transition: all 0.3s ease;
        text-decoration: none;
    }
    
    .whatsapp-float:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
        color: white;
    }
    
    .whatsapp-tooltip {
        position: absolute;
        right: 70px;
        background: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 8px 15px;
        border-radius: 8px;
        font-size: 0.9rem;
        white-space: nowrap;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .whatsapp-float:hover .whatsapp-tooltip {
        opacity: 1;
    }
    
    /* Floating Member */
    #member-float {
        position: fixed;
        left: 15px;
        bottom: 15px;
        width: 220px;
		height: 160px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 12px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
        padding: 0;
        font-size: 12px;
        z-index: 1000;
        backdrop-filter: blur(10px);
        border: 2px solid var(--hijau-donasi);
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    #member-float:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .float-header {
        background: var(--hijau-donasi);
        color: white;
        padding: 10px;
        text-align: center;
        font-weight: bold;
        font-size: 11px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .float-header i {
        font-size: 14px;
    }
    
    .member-container {
        padding: 10px;
        min-height: 80px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .member-item {
        display: none;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.5s ease;
    }
    
    .member-item.active {
        display: block;
        opacity: 1;
        transform: translateY(0);
        animation: fadeInUp 0.5s ease forwards;
    }
    
    .member-name {
        font-weight: bold;
        color: var(--hijau-donasi);
        font-size: 13px;
        margin-bottom: 5px;
        line-height: 1.3;
    }
    
    .member-city {
        color: #666;
        font-size: 11px;
        display: flex;
        align-items: center;
        gap: 5px;
    }
    
    .member-city i {
        font-size: 10px;
        color: var(--hijau-donasi);
    }
    
    .float-controls {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 10px;
        background: rgba(0, 0, 0, 0.03);
        border-top: 1px solid #eee;
    }
    
    .float-counter {
        font-size: 10px;
        color: #888;
        font-weight: bold;
    }
    
    .float-nav-btn {
        background: var(--hijau-donasi);
        color: white;
        border: none;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .float-nav-btn:hover {
        background: #157347;
        transform: scale(1.1);
    }
    
    .float-nav-btn:disabled {
        background: #ccc;
        cursor: not-allowed;
        transform: none;
    }
    
    .float-nav {
        display: flex;
        gap: 5px;
    }
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* ============================================
       FOOTER
    ============================================ */
   /* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--primary-dark), #1a1a1a);
    color: white;
    padding: 4rem 0 2rem;
}

.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer h5 i {
    color: var(--secondary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ddd;
    transition: var(--transition);
    display: block;
    padding: 0.2rem 0;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
    color: var(--secondary);
}

.social-media {
    margin-top: 2rem;
}

.social-media h6 {
    color: #ddd;
    font-size: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}
    
    /* ============================================
       SOCIAL MEDIA
    ============================================ */
    .social-media h6 {
        font-size: 1rem;
        color: #fff;
        font-weight: 600;
    }
    
    .social-icons {
        display: flex;
        align-items: center;
    }
    
    .social-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 1.2rem;
    }
    
    .social-icon:hover {
        background: #007bff; /* Warna saat hover */
        transform: translateY(-3px);
        color: #fff;
    }
    
    /* Warna spesifik untuk setiap platform */
    .social-icon:nth-child(1):hover { background: #1877F2; } /* Facebook */
    .social-icon:nth-child(2):hover { background: #E4405F; } /* Instagram */
    .social-icon:nth-child(3):hover { background: #1DA1F2; } /* Twitter */
    .social-icon:nth-child(4):hover { background: #FF0000; } /* YouTube */
    
    /* ============================================
       RESPONSIVE DESIGN
    ============================================ */
    @media (max-width: 768px) {
        /* Hero Section */
        .hero-title {
            font-size: 2.2rem;
        }
        
        .price-amount {
            font-size: 2.5rem;
        }
        
        .section-title h2 {
            font-size: 2rem;
        }
        
        /* Features */
        .feature-item {
            flex-direction: column;
            text-align: center;
        }
        
        .feature-icon {
            margin-right: 0;
            margin-bottom: 20px;
        }
        
        /* Step Cards */
        .step-card {
            min-height: 280px;
        }
        
        /* Form */
        .form-container {
            padding: 20px;
        }
        
        /* Scroll Button */
        .scroll-to-form {
            bottom: 90px;
            right: 20px;
            width: 50px;
            height: 50px;
            font-size: 1.2rem;
        }
        
        /* Hero Section (Mobile Fix) */
        .hero-section {
            padding: 100px 0 60px;
            margin-top: 70px;
        }
        
        .hero-title {
            font-size: 2.5rem;
        }
        
        /* Floating Member */
        #member-float {
            width: 180px;
            left: 10px;
            bottom: 10px;
            font-size: 11px;
        }
        
        .float-header {
            font-size: 10px;
            padding: 8px;
        }
        
        .member-name {
            font-size: 12px;
        }
        
        .member-city {
            font-size: 10px;
        }
    }
    
    @media (max-width: 576px) {
        .hero-title {
            font-size: 1.8rem;
        }
        
        .btn-hero {
            padding: 12px 30px;
            font-size: 1rem;
        }
        
        .user-badge {
            font-size: 0.8rem;
            padding: 6px 12px;
            margin-left: 10px;
        }
        
        /* Floating Member */
        #member-float {
            width: 160px;
            left: 5px;
            bottom: 80px; /* Beri jarak dari WhatsApp button */
        }
    }