/* ==========================================
   AMCC - Global Layout Styles & CSS Variables
   ========================================== */

:root {
    --primary: #2c3e50;
    --primary-dark: #1a252f;
    --primary-light: #3498db;
    --secondary: #e74c3c;
    --accent: #f39c12;
    --accent-gold: #ffd700;
    --success: #27ae60;
    --warning: #f1c40f;
    --community: #9b59b6;
    --community-light: #be90d4;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-community: linear-gradient(135deg, var(--community) 0%, var(--primary-light) 100%);
    --gradient-gold: linear-gradient(135deg, var(--accent) 0%, var(--accent-gold) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(44, 62, 80, 0.95) 0%, rgba(155, 89, 182, 0.95) 100%);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    overflow-x: hidden;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   Header with Floating Design
   ========================================== */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 15px 30px;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
    animation: slideDown 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.4s ease;
}

.header.scrolled {
    top: 10px;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    padding: 12px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes slideDown {
    from { opacity: 0; transform: translate(-50%, -100px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover { transform: scale(1.02); }

.header-logo-img {
    height: 70px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* ==========================================
   Desktop Navigation
   ========================================== */
.nav-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.mobile-donate-item { display: none; }

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 80px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(155, 89, 182, 0.1), transparent);
    transition: left 0.6s ease;
}

.nav-link:hover::before { left: 100%; }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-community);
    transition: width 0.4s ease;
    border-radius: 3px;
}

.nav-link:hover::after { width: 70%; }

.nav-link:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--community);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.nav-link.active {
    background: var(--gradient-community);
    color: white;
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.3);
    transform: translateY(-2px);
}

.nav-link.active::after {
    width: 70%;
    background: var(--accent-gold);
}

.nav-link i { font-size: 1.2rem; transition: all 0.4s ease; }
.nav-link:hover i { transform: scale(1.2) rotate(10deg); color: var(--community); }
.nav-link.active i { transform: scale(1.2); color: var(--accent-gold); }
.nav-link span { font-size: 0.8rem; font-weight: 500; transition: all 0.3s ease; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-donate {
    padding: 10px 25px;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

.btn-donate:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(243, 156, 18, 0.4);
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    background: var(--gradient-community);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1001;
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    display: none;
}

.mobile-overlay.active {
    display: block;
}

/* Main Content Wrapper */
main {
    padding-top: 130px;
    min-height: 100vh;
}

/* ==========================================
   Footer Section Layout
   ========================================== */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    background-color: #f8f9fa;
    padding: 12px 20px;
    border-radius: 12px;
}
.footer-description { color: rgba(255, 255, 255, 0.7); margin-bottom: 25px; line-height: 1.6; }

.contact-list { list-style: none; }
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}
.contact-item i { color: var(--accent-gold); margin-top: 3px; }
.contact-label { display: block; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }
.contact-value { color: white; font-weight: 500; }

.links-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.links-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.links-list a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-gold);
}

.social-links { display: flex; flex-direction: column; gap: 12px; }
.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}
.social-link.facebook { background: rgba(59, 89, 152, 0.2); }
.social-link.instagram { background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d); }
.social-link.youtube { background: rgba(255, 0, 0, 0.2); }
.social-link:hover { transform: translateX(10px); }

.footer-middle {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
}

.donation-header { text-align: center; margin-bottom: 25px; }
.donation-header h3 { font-size: 1.6rem; display: flex; align-items: center; justify-content: center; gap: 12px; }
.donation-header h3 i { color: var(--accent-gold); }

.bank-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.bank-card {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid var(--accent-gold);
}

.bank-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.bank-item:last-child { border-bottom: none; }
.bank-label { color: rgba(255, 255, 255, 0.8); }
.bank-value { color: var(--accent-gold); font-weight: 700; }

.footer-inline-links {
    text-align: center;
    margin: 20px 0;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}

.quick-links-label {
    color: white;
    font-weight: 700;
    margin-right: 5px;
}

.footer-inline-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-inline-links a:hover {
    color: var(--accent-gold);
}

.footer-inline-links .separator {
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.footer-legal a:hover { color: var(--accent-gold); }

/* Events Dropdown */
.nav-item.events-dropdown {
    position: relative;
}

.events-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    margin-top: 10px;
    overflow: hidden;
    animation: fadeInUp 0.3s ease;
}

.events-dropdown-content a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.events-dropdown-content a:last-child {
    border-bottom: none;
}

.events-dropdown-content a:hover {
    background: var(--gradient-community);
    color: white;
    transform: translateX(10px);
}

.events-dropdown-content a i {
    width: 20px;
}

.nav-item.events-dropdown:hover .events-dropdown-content {
    display: block;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   Responsive Overrides for Layout Elements
   ========================================== */
@media (max-width: 1024px) {
    .footer-top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header {
        top: 10px;
        width: 95%;
        padding: 12px 20px;
    }
    
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-container {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        left: auto !important;
        width: 280px !important;
        height: 100vh !important;
        background: white !important;
        padding: 80px 20px 30px !important;
        transition: right 0.3s ease !important;
        z-index: 9999 !important;
        display: block !important;
        flex: none !important;
        box-shadow: -5px 0 30px rgba(0,0,0,0.2) !important;
        overflow-y: auto !important;
    }
    
    .nav-container.active {
        right: 0 !important;
    }
    
    .nav-menu {
        flex-direction: column !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        gap: 10px !important;
        display: flex !important;
    }
    
    .mobile-donate-item { display: block !important; }

    .nav-link {
        justify-content: flex-start !important;
        padding: 15px 20px !important;
        width: 100% !important;
        flex-direction: row !important;
        gap: 15px !important;
        background: #f5f5f5 !important;
        border-radius: 12px !important;
        color: #2c3e50 !important;
        min-width: auto !important;
    }
    
    .nav-link i {
        font-size: 1.2rem !important;
        width: 25px !important;
    }
    
    .nav-link span {
        font-size: 1rem !important;
    }
    
    .nav-link:hover, .nav-link:active {
        background: #9b59b6 !important;
        color: white !important;
    }
    
    .nav-link.active {
        background: #9b59b6 !important;
        color: white !important;
    }
    
    .nav-link::before, .nav-link::after {
        display: none !important;
    }
    
    .events-dropdown-content {
        position: static !important;
        display: none !important;
        box-shadow: none !important;
        background: transparent !important;
        margin-top: 0 !important;
        padding-left: 20px !important;
    }
    
    .events-dropdown-content a {
        padding: 10px 15px !important;
        color: var(--dark) !important;
        border-bottom: none !important;
    }
    
    .nav-item.events-dropdown:hover .events-dropdown-content {
        display: block !important;
    }
    
    .header-actions {
        display: none !important;
    }
    
    main {
        padding-top: 100px;
    }
    
    .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .header-logo-img { height: 50px; }
    .links-list { grid-template-columns: 1fr; }
}

/* ==========================================
   Support Our Mission / Online Donation Styles
   ========================================== */
.donation-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-top: 25px;
}

.donation-column h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-gold);
}

.donation-column.bank-transfer .bank-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
}

.payment-method-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.payment-method-card {
    background: #f4f6f8;
    border: 5px solid transparent;
    border-radius: 10px;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    box-sizing: border-box;
    position: relative;
    user-select: none;
    overflow: hidden;
}

.payment-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.payment-method-card:hover {
    border-color: #adadad;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.payment-method-card.active {
    background: #eafaf1 !important;
    border: 5px solid var(--success) !important;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    opacity: 1 !important;
}


.payment-method-card.active::after {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--success);
    font-size: 45px;
    z-index: 2;
    background: transparent;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Card Logo Containers */
.payment-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 15px;
    align-items: center;
    justify-items: center;
    width: 100%;
}

.payment-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 28px;
}

.payment-logo-wrapper.visa {
    width: 50px;
}

.payment-logo-wrapper.amex {
    width: 32px;
    height: 28px;
}

.payment-wallet-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.payment-logo-wrapper.apple-pay {
    width: 68px;
    height: 30px;
}

.payment-logo-wrapper.google-pay {
    width: 68px;
    height: 30px;
}

.payment-paypal-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.paypal-logo-svg {
    width: 85px;
    height: 48px;
}

.payment-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Amount Selector Style */
.donation-amount-container {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.amount-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-gold);
}

.amount-input-box {
    position: relative;
    width: 100%;
}

.amount-input-box .currency-symbol {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
    font-weight: 700;
}

.amount-input-box input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 12px 12px 12px 32px;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.amount-input-box input:focus {
    outline: none;
    border-color: var(--community);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px rgba(155, 89, 182, 0.3);
}

.amount-input-box input::-webkit-outer-spin-button,
.amount-input-box input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Cyan & Pink Buttons */
.payment-action-buttons {
    display: flex;
    margin-top: 20px;
    width: 100%;
}

.btn-pay-next-selector {
    width: 100%;
    padding: 12px 15px;
    background: #ec008c;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-pay-next-selector:hover {
    background: #d1007a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(236, 0, 140, 0.3);
}

.btn-pay-next-selector i {
    font-size: 0.95rem;
    transition: transform 0.2s;
}

.btn-pay-next-selector:hover i {
    transform: translateX(3px);
}

/* ==========================================
   Payment Flow Modal Overlays
   ========================================== */
.payment-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.payment-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.payment-modal-card {
    background: white;
    color: var(--dark);
    border-radius: 24px;
    padding: 35px;
    width: 90%;
    max-width: 460px;
    box-shadow: var(--shadow-xl);
    position: relative;
    display: none;
    max-height: 90vh;
    overflow-y: auto;
    animation: zoomInPay 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Custom Scrollbar for the modal so it looks clean */
.payment-modal-card::-webkit-scrollbar {
    width: 6px;
}
.payment-modal-card::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
    margin: 10px 0;
}
.payment-modal-card::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}
.payment-modal-card::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

@keyframes zoomInPay {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.payment-modal-card.active {
    display: block;
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.close-modal-btn:hover {
    color: var(--dark);
}

.payment-modal-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-amount-display {
    background: #f8f4ff;
    padding: 10px 15px;
    border-radius: 10px;
    font-weight: 600;
    color: var(--community);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.modal-amount-display .modal-amount-val {
    font-weight: 800;
    font-size: 1.15rem;
}

/* Credit Card Modal Forms */
.form-group-pay {
    margin-bottom: 18px;
}

.form-group-pay label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group-pay input {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: var(--dark);
}

.form-group-pay input:focus {
    outline: none;
    border-color: var(--community);
    box-shadow: 0 0 8px rgba(155, 89, 182, 0.15);
}

.card-input-wrapper {
    position: relative;
}

.card-input-wrapper input {
    padding-right: 45px;
}

.card-input-wrapper i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.35rem;
    color: #ccc;
    transition: color 0.3s;
}

.visa-color { color: #1a1f71 !important; }
.mastercard-color { color: #eb001b !important; }
.amex-color { color: #007bc1 !important; }

.form-row-pay {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.modal-action-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    gap: 15px;
}

.btn-pay-back {
    padding: 12px 25px;
    background: #f1f1f1;
    color: #555;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    flex: 1;
    transition: all 0.2s;
}

.btn-pay-back:hover {
    background: #e5e5e5;
}

.btn-pay-submit {
    padding: 12px 25px;
    background: var(--gradient-community);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    flex: 1.5;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(155, 89, 182, 0.2);
}

.btn-pay-submit:hover {
    box-shadow: 0 6px 16px rgba(155, 89, 182, 0.35);
    transform: translateY(-1px);
}

/* Wallet Simulator Styles */
.wallet-sim-container {
    background: #f9f9f9;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    border: 1px solid #eee;
}

.wallet-sim-sheet {
    margin-bottom: 25px;
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: var(--shadow-sm);
}

.sheet-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
}

.sheet-row:last-child {
    border-bottom: none;
}

.sheet-row.total {
    font-weight: 700;
    font-size: 1.05rem;
    border-top: 1.5px solid #eee;
    padding-top: 12px;
    color: var(--primary);
}

.sheet-lbl {
    color: #777;
}

.sheet-val {
    color: var(--dark);
    font-weight: 600;
}

.wallet-sim-trigger {
    background: black;
    color: white;
    border-radius: 50px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wallet-sim-trigger:hover {
    transform: scale(1.02);
}

.wallet-sim-trigger.processing {
    background: #555;
    pointer-events: none;
}

.wallet-sim-trigger.processing .trigger-icon i {
    animation: spinIcon 1s infinite linear;
}

@keyframes spinIcon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.trigger-icon {
    font-size: 1.4rem;
}

.wallet-sim-trigger p {
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
}

/* PayPal Simulation Box */
.paypal-sim-container {
    text-align: center;
    padding: 20px;
}

.paypal-spinner {
    font-size: 2.5rem;
    color: #003087;
    margin-bottom: 15px;
}

/* Success Pay Modal */
.payment-modal-card.success {
    text-align: center;
    padding: 40px 30px;
}

.success-icon-pay {
    width: 65px;
    height: 65px;
    background: #e8f8f0;
    color: #27ae60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    font-weight: 700;
}

.payment-modal-card.success h3 {
    justify-content: center;
    margin-bottom: 12px;
    font-size: 1.6rem;
}

.payment-modal-card.success p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-pay-success-close {
    width: 100%;
    padding: 12px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-pay-success-close:hover {
    background: #219653;
}

/* Loading Overlay for modal background when processing */
.payment-modal-overlay.processing::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 100000;
}

.payment-modal-overlay.processing::after {
    content: '\f110';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--community);
    z-index: 100001;
    animation: fa-spin 1s infinite linear;
}

@media (max-width: 992px) {
    .donation-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .payment-method-selector {
        grid-template-columns: 1fr;
    }
    .donation-amount-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-donate-submit {
        justify-content: center;
    }
}

