/* ============================================================
   LAZISNU - Main Stylesheet
   Lembaga Amil Zakat, Infaq & Sedekah
   ============================================================ */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    /* Primary - Emerald Green */
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    
    /* Gold */
    --gold-50: #fffbeb;
    --gold-100: #fef3c7;
    --gold-200: #fde68a;
    --gold-300: #fcd34d;
    --gold-400: #fbbf24;
    --gold-500: #d4af37;
    --gold-600: #b8941f;
    --gold-700: #97740a;
    
    /* Neutral / Dark */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --black: #000000;
    
    /* Functional Colors */
    --primary: var(--emerald-500);
    --primary-dark: var(--emerald-600);
    --primary-light: var(--emerald-400);
    --gold: var(--gold-500);
    --gold-light: var(--gold-300);
    --text-dark: var(--gray-900);
    --text-body: var(--gray-600);
    --text-light: var(--gray-400);
    --bg-white: var(--white);
    --bg-light: var(--gray-50);
    --bg-gray: var(--gray-100);
    --border-color: var(--gray-200);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --glass-blur: 10px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.3);
    --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.3);
    
    /* Typography */
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-arabic: 'Amiri', Georgia, serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Layout */
    --container-width: 1280px;
    --navbar-height: 80px;
    --section-padding: 100px;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ===== SECTION STYLES ===== */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-desc {
    font-size: var(--font-size-lg);
    color: var(--text-body);
    line-height: 1.8;
}

.text-emerald {
    color: var(--primary);
}

.text-gold {
    color: var(--gold);
}

.text-center {
    text-align: center;
    margin-top: 48px;
}

/* ===== BUTTON STYLES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--emerald-700));
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-600));
    color: var(--white);
    border-color: var(--gold);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-600), var(--gold-700));
    border-color: var(--gold-600);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-sm {
    padding: 10px 20px;
    font-size: var(--font-size-sm);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== GLASS CARD ===== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    padding: 32px;
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-base);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* ===== FORM STYLES ===== */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    color: var(--text-dark);
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.form-control::placeholder {
    color: var(--text-light);
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-range {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    outline: none;
}

.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--navbar-height);
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    height: 70px;
}

.navbar-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--navbar-height);
    transition: height var(--transition-base);
}

.navbar.scrolled .navbar-wrapper {
    height: 70px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    z-index: 1001;
}

.navbar-logo {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-md);
    object-fit: contain;
}

.navbar-brand-text {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
    transition: color var(--transition-base);
}

.navbar.scrolled .navbar-brand-text {
    color: var(--text-dark);
}

/* Navbar Menu */
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.navbar.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary);
    background: rgba(16, 185, 129, 0.1);
}

.nav-link.btn-donasi-nav {
    background: linear-gradient(135deg, var(--gold), var(--gold-600));
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-weight: 600;
}

.nav-link.btn-donasi-nav:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

/* Dropdown Icon */
.dropdown-icon {
    font-size: 10px;
    transition: transform var(--transition-base);
}

.nav-item:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    border: 1px solid var(--gray-100);
}

.nav-item:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu .dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-size: var(--font-size-sm);
    color: var(--text-body);
    transition: all var(--transition-base);
    text-decoration: none;
}

.dropdown-menu .dropdown-link:hover {
    background: rgba(16, 185, 129, 0.05);
    color: var(--primary);
    padding-left: 24px;
}

/* Submenu */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: -8px;
}

.dropdown-submenu:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Navbar Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 8px;
    padding-left: 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.scrolled .navbar-actions {
    border-left-color: var(--gray-200);
}

.dark-mode-toggle {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    transition: all var(--transition-base);
    position: relative;
}

.navbar.scrolled .dark-mode-toggle {
    color: var(--text-dark);
}

.dark-mode-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .dark-mode-toggle:hover {
    background: var(--gray-100);
}

.dark-mode-toggle i {
    position: absolute;
    transition: all var(--transition-base);
}

.dark-mode-toggle .fa-sun {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

.dark-mode-toggle .fa-moon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Dark mode toggle state */
body.dark-mode .dark-mode-toggle .fa-sun {
    opacity: 1;
    transform: rotate(0) scale(1);
}

body.dark-mode .dark-mode-toggle .fa-moon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

/* Navbar Toggle (Mobile) */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.toggle-bar {
    display: block;
    width: 28px;
    height: 2.5px;
    background: var(--white);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.navbar.scrolled .toggle-bar {
    background: var(--text-dark);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(6, 78, 59, 0.85) 0%,
        rgba(16, 185, 129, 0.75) 50%,
        rgba(6, 78, 59, 0.85) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    padding: 120px 0 60px;
}

.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-badge i {
    margin-right: 8px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, var(--font-size-6xl));
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.15;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, var(--font-size-xl));
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-buttons .btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
}

/* Hero Counter */
.hero-counter {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.counter-item {
    text-align: center;
    color: var(--white);
}

.counter-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    opacity: 0.9;
}

.counter-number {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    line-height: 1.2;
}

.counter-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(120% + 1.3px);
    height: 120px;
}

.wave-divider .shape-fill {
    fill: var(--white);
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

.about-experience {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 24px 32px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 800;
}

.experience-text {
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

.about-content h3 {
    font-size: var(--font-size-3xl);
    margin-bottom: 16px;
}

.about-content > p {
    font-size: var(--font-size-lg);
    color: var(--text-body);
    margin-bottom: 32px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    gap: 20px;
    margin-bottom: 32px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-lg);
    color: var(--primary);
    font-size: var(--font-size-xl);
}

.feature-text h4 {
    font-size: var(--font-size-base);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: var(--font-size-sm);
    color: var(--text-body);
    line-height: 1.6;
}

/* ===== ZAKAT SERVICES SECTION ===== */
.zakat-services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.service-card {
    text-decoration: none;
    display: block;
    padding: 36px 32px;
    text-align: center;
    transition: all var(--transition-base);
    background: var(--white);
    border: 1px solid var(--gray-100);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border-radius: var(--radius-2xl);
    font-size: 1.75rem;
    color: var(--primary);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: 8px;
    color: var(--text-dark);
}

.service-card p {
    font-size: var(--font-size-sm);
    color: var(--text-body);
    margin-bottom: 16px;
}

.service-link {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary);
    transition: all var(--transition-base);
}

.service-card:hover .service-link {
    gap: 8px;
}

/* ===== DONATION SECTION ===== */
.donation {
    background: linear-gradient(135deg, var(--emerald-900), var(--emerald-800));
    position: relative;
}

.donation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.donation .section-header .section-badge {
    background: rgba(255, 255, 255, 0.15);
    color: var(--gold-light);
    border-color: rgba(255, 255, 255, 0.2);
}

.donation .section-header .section-title {
    color: var(--white);
}

.donation .section-header .section-desc {
    color: rgba(255, 255, 255, 0.8);
}

.donation-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
    align-items: start;
}

.donation-form-wrapper {
    background: var(--white);
}

.donation-form-wrapper h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: 24px;
    text-align: center;
}

/* Nominal Quick Select */
.nominal-quick {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.nominal-btn {
    padding: 10px 12px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    background: var(--bg-light);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: var(--font-primary);
    color: var(--text-body);
}

.nominal-btn:hover {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.05);
    color: var(--primary);
}

.nominal-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.payment-option:hover {
    border-color: var(--primary);
}

.payment-option input:checked + .payment-label {
    color: var(--primary);
}

.payment-option:has(input:checked) {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.05);
}

.payment-option input {
    display: none;
}

.payment-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-body);
    transition: color var(--transition-base);
}

.payment-label i {
    font-size: 1.1rem;
}

/* Bank Info */
.bank-list {
    display: grid;
    gap: 12px;
}

.bank-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
}

.bank-name {
    font-weight: 600;
    color: var(--text-dark);
}

.bank-account {
    font-family: monospace;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.bank-holder {
    color: var(--text-light);
}

/* Donation Info Sidebar */
.donation-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.donation-info-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.donation-info-card h4 {
    color: var(--white);
    font-size: var(--font-size-xl);
    margin-bottom: 20px;
}

.donation-info-card h4 i {
    color: var(--gold);
}

.program-progress {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.program-progress-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: var(--radius-lg);
}

.program-progress-mini {
    margin: 16px 0;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-600));
    border-radius: var(--radius-full);
    transition: width 1.5s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-percent {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
    display: block;
}

/* QRIS Card */
.donation-qris {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

.donation-qris h4 {
    color: var(--white);
    margin-bottom: 16px;
}

.donation-qris h4 i {
    color: var(--gold);
}

.qris-placeholder {
    width: 180px;
    height: 180px;
    background: var(--white);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--text-dark);
}

.qris-placeholder i {
    font-size: 4rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.qris-placeholder p {
    font-size: var(--font-size-sm);
    font-weight: 500;
}

/* ===== PROGRAMS SECTION ===== */
.programs {
    background: var(--bg-white);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.program-card {
    padding: 0;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--gray-100);
}

.program-card:hover {
    transform: translateY(-8px);
}

.program-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.1);
}

.program-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: rgba(6, 78, 59, 0.85);
    color: var(--white);
    font-size: var(--font-size-xs);
    font-weight: 600;
    border-radius: var(--radius-md);
    backdrop-filter: blur(5px);
}

.program-body {
    padding: 24px;
}

.program-body h3 {
    font-size: var(--font-size-lg);
    margin-bottom: 8px;
}

.program-body p {
    font-size: var(--font-size-sm);
    color: var(--text-body);
    margin-bottom: 16px;
}

/* ===== CALCULATOR SECTION ===== */
.calculator {
    background: var(--bg-light);
}

.calculator-wrapper {
    background: var(--white);
    max-width: 900px;
    margin: 0 auto;
}

.calculator-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-light);
    padding: 8px;
    border-radius: var(--radius-xl);
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.calc-tab {
    padding: 10px 20px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    background: transparent;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--text-body);
    font-family: var(--font-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.calc-tab:hover {
    background: rgba(16, 185, 129, 0.05);
    color: var(--primary);
}

.calc-tab.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.calc-panel {
    display: none;
}

.calc-panel.active {
    display: block;
}

.calc-panel h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: 8px;
}

.calc-info {
    font-size: var(--font-size-sm);
    color: var(--text-body);
    margin-bottom: 24px;
}

.calc-result {
    margin-top: 24px;
    padding: 20px;
    background: rgba(16, 185, 129, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(16, 185, 129, 0.1);
    display: none;
}

.calc-result.show {
    display: block;
}

.calc-result h4 {
    color: var(--primary);
    font-size: var(--font-size-lg);
    margin-bottom: 8px;
}

.calc-result .result-amount {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--primary-dark);
}

.calc-result .result-detail {
    font-size: var(--font-size-sm);
    color: var(--text-body);
    margin-top: 8px;
}

/* ===== ARTICLES SECTION ===== */
.articles {
    background: var(--bg-white);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.article-card {
    padding: 0;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--gray-100);
}

.article-card:hover {
    transform: translateY(-8px);
}

.article-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-date {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    color: var(--white);
    font-size: var(--font-size-xs);
    border-radius: var(--radius-md);
}

.article-body {
    padding: 24px;
}

.article-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    font-size: var(--font-size-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 8px;
}

.article-body h3 {
    font-size: var(--font-size-lg);
    margin-bottom: 8px;
}

.article-body h3 a {
    color: var(--text-dark);
    text-decoration: none;
}

.article-body h3 a:hover {
    color: var(--primary);
}

.article-body p {
    font-size: var(--font-size-sm);
    color: var(--text-body);
    margin-bottom: 16px;
}

.article-read-more {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all var(--transition-base);
}

.article-read-more:hover {
    gap: 8px;
    color: var(--primary-dark);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: var(--bg-light);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    gap: 24px;
    transition: transform var(--transition-slow);
}

.testimonial-card {
    min-width: 100%;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--gray-100);
}

.testimonial-stars {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-text {
    font-size: var(--font-size-lg);
    color: var(--text-body);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.author-avatar {
    font-size: 3rem;
    color: var(--primary);
}

.testimonial-author h4 {
    font-size: var(--font-size-base);
    margin-bottom: 2px;
}

.testimonial-author span {
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.testimonial-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--text-dark);
    font-size: var(--font-size-base);
}

.testimonial-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.testimonial-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: var(--radius-full);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 32px;
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 16px;
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    padding: 20px 24px;
    text-align: left;
}

.contact-card:hover {
    transform: translateY(-2px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-lg);
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.contact-card h4 {
    font-size: var(--font-size-base);
    margin-bottom: 4px;
}

.contact-card p,
.contact-card a {
    font-size: var(--font-size-sm);
    color: var(--text-body);
}

.contact-card a:hover {
    color: var(--primary);
}

.contact-form-wrapper .glass-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
}

.contact-form-wrapper h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: 24px;
}

/* ===== MAPS ===== */
.maps {
    padding-top: 0;
    padding-bottom: 0;
    background: var(--bg-light);
}

.maps-container {
    width: 100%;
    overflow: hidden;
}

.maps-container iframe {
    display: block;
    width: 100%;
    height: 450px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-900);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
}

.footer-logo span {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--white);
}

.footer-about p {
    font-size: var(--font-size-sm);
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-base);
    transition: all var(--transition-base);
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links h3 {
    color: var(--white);
    font-size: var(--font-size-lg);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: var(--radius-full);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-base);
}

.footer-links ul li a i {
    font-size: 10px;
    color: var(--primary);
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

.footer-contact ul li i {
    color: var(--primary);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-contact ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-contact ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    text-decoration: none;
}

.wa-float-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 500;
    white-space: nowrap;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.wa-float:hover .wa-float-tooltip {
    opacity: 1;
    visibility: visible;
    right: 80px;
}

.wa-float-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: var(--radius-full);
    font-size: 1.75rem;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    animation: waPulse 2s infinite;
    transition: all var(--transition-base);
}

.wa-float-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes waPulse {
    0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
    100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    font-size: var(--font-size-lg);
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* ===== 404 PAGE ===== */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-light);
    padding: 120px 24px 60px;
}

.error-number {
    font-size: 10rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--emerald-300));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.error-title {
    font-size: var(--font-size-4xl);
    margin: 16px 0;
}

.error-text {
    font-size: var(--font-size-lg);
    color: var(--text-body);
    max-width: 500px;
    margin: 0 auto 32px;
}

/* ===== UTILITY CLASSES ===== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
}

/* ===== KEYFRAMES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== SELECTION ===== */
::selection {
    background: var(--primary);
    color: var(--white);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

