/* style.css
   Modern Islamic Donation Platform
   Full stylesheet for Sedekah & Wakaf Website
*/

/* ========== RESET & VARIABLES ========== */
:root {
    --primary: #667eea;
    --primary-dark: #5a67d8;
    --primary-light: #818cf8;
    --secondary: #764ba2;
    --accent: #f093fb;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --dark: #1f2937;
    --gray: #6b7280;
    --gray-light: #f3f4f6;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.5rem;
    --radius: 0.75rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--gray-light);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ========== HEADER ========== */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 24px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.logo-text h1 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--dark);
}

.tagline {
    font-size: 0.75rem;
    color: var(--gray);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray);
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.btn-donasi-nav {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-donasi-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(255,255,255,0.1)' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") repeat-x bottom;
    background-size: cover;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.hero-icon {
    font-size: 4rem;
    margin-bottom: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero h2 {
    font-size: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
    color: white;
}

.hero-sub {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    display: block;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.125rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

/* ========== STATS SECTION MODERN ========== */
.stats-section-modern {
    padding: 60px 0;
    background: white;
}

.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card-modern {
    background: var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s;
}

.stat-card-modern:hover {
    transform: translateY(-5px);
}

.stat-icon-modern {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: white;
}

.stat-number-modern {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
}

.stat-label-modern {
    color: var(--gray);
    font-size: 0.875rem;
    margin-top: 8px;
}

.stat-trend {
    font-size: 0.75rem;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.stat-trend.up {
    color: var(--success);
}

/* ========== PROGRAM SECTION MODERN ========== */
.programs-section-modern {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.programs-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.program-card-modern {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.program-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.program-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.program-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.program-card-modern:hover .program-card-image img {
    transform: scale(1.05);
}

.program-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--success);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.program-card-body {
    padding: 24px;
}

.program-card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.program-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.program-card-body p {
    color: var(--gray);
    font-size: 0.875rem;
    margin-bottom: 20px;
}

.program-progress {
    margin-bottom: 20px;
}

.progress-bar-modern {
    background: #e5e7eb;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
}

.progress-fill-modern {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.75rem;
}

.collected {
    color: var(--primary);
    font-weight: 600;
}

.target {
    color: var(--gray);
}

.program-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.btn-detail {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.btn-detail:hover {
    gap: 12px;
}

.btn-donate {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-donate:hover {
    transform: scale(1.05);
}

/* ========== TESTIMONI SECTION MODERN ========== */
.testimoni-section-modern {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
}

.testimoni-slider-modern {
    overflow: hidden;
    position: relative;
}

.testimoni-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimoni-card-modern {
    flex: 0 0 100%;
    padding: 20px;
}

.testimoni-card-modern {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    margin: 0 10px;
    box-shadow: var(--shadow-md);
}

.testimoni-quote {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.5;
    margin-bottom: 16px;
}

.testimoni-text-modern {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark);
    margin-bottom: 24px;
    font-style: italic;
}

.testimoni-author-modern {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.author-info span {
    font-size: 0.75rem;
    color: var(--gray);
}

.rating {
    margin-top: 4px;
}

.rating i {
    color: #fbbf24;
    font-size: 0.75rem;
}

.testimoni-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.testimoni-prev,
.testimoni-next {
    background: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.testimoni-prev:hover,
.testimoni-next:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.testimoni-dots {
    display: flex;
    gap: 8px;
}

.testimoni-dot {
    width: 10px;
    height: 10px;
    background: #d1d5db;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.testimoni-dot.active {
    width: 30px;
    background: var(--primary);
    border-radius: 10px;
}

/* ========== FAQ SECTION MODERN ========== */
.faq-section-modern {
    padding: 80px 0;
}

.faq-grid-modern {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item-modern {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question-modern:hover {
    background: var(--gray-light);
}

.faq-question-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.faq-question-left i {
    color: var(--primary);
    font-size: 1.25rem;
}

.faq-icon {
    transition: transform 0.3s;
}

.faq-item-modern.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer-modern {
    display: none;
    padding: 0 24px 20px 56px;
    color: var(--gray);
    border-top: 1px solid #e5e7eb;
    line-height: 1.7;
}

.faq-footer {
    text-align: center;
    margin-top: 32px;
}

.faq-footer a {
    color: var(--primary);
    font-weight: 500;
}

/* ========== FOOTER MODERN ========== */
.footer-modern {
    background: var(--dark);
    color: #9ca3af;
    padding: 60px 0 30px;
}

.footer-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
}

.footer-logo h3 {
    color: white;
    font-size: 1rem;
    margin: 0;
}

.footer-logo p {
    font-size: 0.75rem;
    margin: 0;
}

.footer-description {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-col h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 0.875rem;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.verification-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.verification-badges span {
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.verification-badges span i {
    color: var(--success);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.875rem;
}

.contact-list li i {
    width: 20px;
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.75rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

/* ========== NOTIFICATION SIDEBAR ========== */
.notification-sidebar {
    position: fixed;
    left: -380px;
    top: 0;
    width: 360px;
    height: 100vh;
    background: white;
    box-shadow: var(--shadow-xl);
    z-index: 1001;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
}

.notification-sidebar.open {
    left: 0;
}

.notification-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.close-sidebar {
    background: none;
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
}

.notification-list {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.notification-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius);
    margin-bottom: 12px;
    background: var(--gray-light);
    transition: transform 0.2s;
}

.notification-item:hover {
    transform: translateX(5px);
}

.notification-icon-wrapper {
    position: relative;
}

.notification-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.notification-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: var(--success);
    border-radius: 50%;
    border: 2px solid white;
}

.notification-content {
    flex: 1;
}

.notification-text {
    font-size: 0.875rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.notification-time {
    font-size: 0.7rem;
    color: var(--gray);
}

.notification-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray);
}

.notification-empty i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.notification-footer {
    padding: 16px;
    border-top: 1px solid #e5e7eb;
}

.btn-refresh {
    width: 100%;
    background: var(--gray-light);
    border: none;
    padding: 10px;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-refresh:hover {
    background: var(--primary);
    color: white;
}

/* ========== SIDEBAR TOGGLE ========== */
.sidebar-toggle {
    position: fixed;
    left: 20px;
    bottom: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 99;
    transition: transform 0.2s;
}

.sidebar-toggle:hover {
    transform: scale(1.05);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: white;
    font-size: 0.7rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-tooltip {
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark);
    color: white;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.sidebar-toggle:hover .sidebar-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ========== FLOATING WHATSAPP ========== */
.floating-wa {
    position: fixed;
    right: 20px;
    bottom: 80px;
    background: #25D366;
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: var(--shadow-lg);
    z-index: 99;
    transition: all 0.3s;
}

.floating-wa:hover {
    transform: scale(1.1);
    background: #128C7E;
}

.wa-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark);
    color: white;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.floating-wa:hover .wa-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ========== SCROLL TO TOP ========== */
.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: var(--dark);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 99;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* ========== MODAL ========== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1100;
}

.modal-container-modern {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    background: white;
    border-radius: var(--radius-lg);
    z-index: 1101;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.modal-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.modal-header-modern h3 {
    color: white;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.modal-close:hover {
    transform: scale(1.1);
}

.modal-body-modern {
    padding: 24px;
    overflow-y: auto;
    max-height: calc(85vh - 120px);
}

.modal-section {
    margin-bottom: 24px;
}

.modal-section i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 12px;
    display: inline-block;
}

.modal-section h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.modal-section p {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.6;
}

.modal-security-badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 12px 20px;
    border-radius: var(--radius);
    text-align: center;
    font-size: 0.875rem;
    margin-top: 20px;
}

.modal-footer-modern {
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
    text-align: right;
}

.btn-modal-close {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
}

/* ========== FAQ MODAL ========== */
.faq-modal-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-modal-item {
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-modal-question {
    width: 100%;
    text-align: left;
    padding: 16px;
    background: var(--gray-light);
    border: none;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
}

.faq-modal-question:hover {
    background: #e5e7eb;
}

.faq-modal-answer {
    display: none;
    padding: 16px;
    background: white;
    border-top: 1px solid #e5e7eb;
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ========== TRUST BADGE MODERN ========== */
.trust-badge-modern {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: var(--radius);
    padding: 20px;
    margin: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-item i {
    font-size: 1.75rem;
    color: var(--success);
}

.trust-item strong {
    display: block;
    font-size: 0.875rem;
    color: var(--dark);
}

.trust-item span {
    font-size: 0.75rem;
    color: var(--gray);
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: #d1d5db;
}

/* ========== SHARE SECTION MODERN ========== */
.share-section-modern {
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    margin: 24px 0;
    text-align: center;
    box-shadow: var(--shadow);
}

.share-title {
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.share-buttons-modern {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn-wa {
    background: #25D366;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 40px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: transform 0.2s;
}

.share-btn-fb {
    background: #1877F2;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 40px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: transform 0.2s;
}

.share-btn-twitter {
    background: #1DA1F2;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 40px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: transform 0.2s;
}

.share-btn-copy {
    background: var(--gray);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 40px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: transform 0.2s;
}

.share-btn-wa:hover,
.share-btn-fb:hover,
.share-btn-twitter:hover,
.share-btn-copy:hover {
    transform: translateY(-2px);
}

.copy-message {
    margin-top: 12px;
    font-size: 0.875rem;
    color: var(--success);
}

/* ========== CAMPAIGN PAGE STYLES ========== */
.campaign-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 24px;
}

.campaign-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-lg);
    padding: 40px;
    color: white;
    margin-bottom: 30px;
}

.campaign-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.75rem;
    margin-bottom: 16px;
}

.campaign-title {
    font-size: 2rem;
    margin-bottom: 16px;
    color: white;
}

.campaign-meta {
    display: flex;
    gap: 24px;
    font-size: 0.875rem;
    opacity: 0.9;
}

.campaign-meta i {
    margin-right: 6px;
}

.campaign-image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 30px;
}

.campaign-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.progress-section-modern {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.progress-stats-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.progress-stat {
    text-align: center;
    flex: 1;
}

.progress-label {
    font-size: 0.75rem;
    color: var(--gray);
    display: block;
}

.progress-value {
    font-size: 1.25rem;
    font-weight: 700;
}

.progress-value.collected {
    color: var(--primary);
}

.progress-value.target {
    color: var(--dark);
}

.progress-value.remaining {
    color: var(--warning);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 0.75rem;
}

.progress-percentage {
    color: var(--primary);
    font-weight: 600;
}

.btn-donate-main {
    width: 100%;
    padding: 18px;
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.detail-program-modern {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.detail-header i {
    font-size: 1.5rem;
    color: var(--primary);
}

.detail-header h2 {
    font-size: 1.25rem;
    margin: 0;
}

.detail-content {
    color: var(--gray);
    line-height: 1.8;
}

.donor-list-modern {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.donor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.donor-header div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.donor-header i {
    font-size: 1.5rem;
    color: var(--primary);
}

.donor-header h2 {
    font-size: 1.25rem;
    margin: 0;
}

.donor-count {
    background: var(--gray-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
}

.donor-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.donor-card-modern {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--gray-light);
    border-radius: var(--radius);
    transition: transform 0.2s;
}

.donor-card-modern:hover {
    transform: translateX(5px);
}

.donor-avatar-modern {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.donor-info-modern {
    flex: 1;
}

.donor-name-modern {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.donor-amount-modern {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 4px;
}

.donor-message-modern {
    font-size: 0.75rem;
    color: var(--gray);
    font-style: italic;
    margin-bottom: 4px;
}

.donor-time-modern {
    font-size: 0.7rem;
    color: #9ca3af;
}

.empty-donor-modern {
    text-align: center;
    padding: 40px;
    color: var(--gray);
}

.empty-donor-modern i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* ========== LOAD MORE BUTTON ========== */
.programs-footer {
    text-align: center;
    margin-top: 40px;
}

.btn-load-more {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 32px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-load-more:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .campaign-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 30px 20px;
        transition: left 0.3s;
        z-index: 999;
    }
    
    .nav-menu.show {
        left: 0;
    }
    
    .hero {
        padding: 60px 20px;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .hero-stat-value {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .programs-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .stats-grid-modern {
        grid-template-columns: 1fr 1fr;
    }
    
    .trust-badge-modern {
        flex-direction: column;
        text-align: center;
    }
    
    .trust-divider {
        width: 80%;
        height: 1px;
    }
    
    .donor-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .notification-sidebar {
        width: 100%;
        left: -100%;
    }
    
    .footer-grid-modern {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .verification-badges {
        align-items: center;
    }
    
    .contact-list li {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-primary, .btn-outline {
        width: 100%;
        justify-content: center;
    }
    
    .stats-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .campaign-header {
        padding: 24px;
    }
    
    .progress-stats-row {
        flex-direction: column;
        text-align: center;
    }
    
    .share-buttons-modern {
        flex-direction: column;
    }
    
    .share-btn-wa, .share-btn-fb, .share-btn-twitter, .share-btn-copy {
        width: 100%;
        justify-content: center;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.program-card-modern, .stat-card-modern, .testimoni-card-modern {
    animation: fadeInUp 0.6s ease forwards;
}

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }