/* Overlay Background */
.donation-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
    z-index: 1000;
}

/* Show Popup */
.donation-popup-overlay.active {
    visibility: visible;
    opacity: 1;
}

/* Popup Container */
.donation-popup {
    background: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: slideIn 0.4s ease;
    position: relative;
}

/* Close Button */
.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Popup Heading */
.donation-popup h2 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--primary-color);
}

/* Subtext */
.donation-popup p {
    font-size: 14px;
    margin-bottom: 20px;
    color: #666;
}

/* Donation Options */
.donation-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

/* Donation Amount Styles */
.donation-amount {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.donation-amount input[type="radio"] {
    display: none;
}

.donation-amount label {
    background: #f5f5f5;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
    width: 100%;
}

.donation-amount input[type="radio"]:checked + label {
    background: var(--primary-color); 
    color: #fff;
}

.custom-amount input {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 15px;
    width: 100%;
    font-size: 16px;
    margin-bottom: 20px;
}

/* Donate Button */
.donate-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.donate-btn:hover {
    background: #e6b800;
}

/* Donation Note */
.donation-note {
    margin-top: 20px;
    font-size: 14px;
    color: #555;
}

.donation-note .paymentImg {
    margin-top: 10px;
    max-width: 100%;
}

/* Animation */
@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
} 
.progress__item .progress__content {
    max-width: 100% !important;
}
.event__item .image img{
    object-fit: cover;
}