/* Palestine Theme Interactive Styles for Open Donasi Section */
.donasi {
    background-color: #f4f7f6; /* Soft off-white with slight green tint */
    color: #3a3a3a;
    border: 1px solid #7bbf8a;
    border-radius: 8px;
    padding: 30px 20px;
    box-shadow: 0 0 10px rgba(123, 191, 138, 0.3);
    margin-bottom: 40px;
}

.donasi h2.donasi-title {
    color: #a33a3a;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.donasi .donasi-icon {
    filter: brightness(0.8);
    margin: 0 10px;
}

.donasi .donasi-info {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(123, 191, 138, 0.15);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.donasi-info.program-a {
    background-color: #d7e9d7; /* soft green */
    color: #3a3a3a;
}

.donasi-info.program-b {
    background-color: #e6c6c6; /* soft muted red */
    color: #3a3a3a;
}

.donasi-info.program-c {
    background-color: #f0e6d2; /* soft beige */
    color: #3a3a3a;
}

.donasi .donasi-info:hover {
    box-shadow: 0 8px 20px rgba(123, 191, 138, 0.4);
    transform: translateY(-5px);
}

.donasi .donasi-header {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.donasi .donasi-program-name {
    font-weight: 700;
}

.program-a img.img-fluid,
.program-b img.img-fluid,
.program-c img.img-fluid {
    height: 200px !important;
    width: 300px !important; /* fixed width */
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.donasi .donasi-stats span {
    font-size: 0.9rem;
}

.donasi .progress {
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.donasi .progress-bar {
    background-color: #7bbf8a;
    transition: width 0.5s ease;
}

.donasi .progress-bar-50 {
    background-color: #a33a3a;
}

.donasi .progress-bar-25 {
    background-color: #d67b7b;
}

.donasi img.img-fluid {
    border-radius: 6px;
    margin-bottom: 15px;
    width: auto;
    height: auto;
    object-fit: cover;
}

.donasi .donasi-label p {
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.donasi .btn.btn-danger {
    background-color: #a33a3a;
    border-color: #a33a3a;
    font-weight: 600;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.donasi .btn.btn-danger:hover {
    background-color: #7bbf8a;
    border-color: #7bbf8a;
    box-shadow: 0 4px 12px rgba(123, 191, 138, 0.6);
    color: #000000;
}

.donasi .countdown .durasi {
    font-size: 0.9rem;
    font-weight: 600;
}

.donasi .elapsed-days.badge {
    background-color: #a33a3a;
    color: white;
    font-size: 0.85rem;
    padding: 5px 10px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .donasi .donasi-info {
        padding: 10px;
    }
    .donasi .donasi-header {
        font-size: 1rem;
    }
}

/* Styling for no active donation program message */
.no-donasi-message {
    background: linear-gradient(270deg, #000000 0%, #ffffff 25%, #007a3d 50%, #ce1126 75%, #000000 100%);
    background-size: 1000% 1000%;
    animation: palestineFlagAnimation 15s ease infinite;
    color: #ffffff;
    font-family: 'Georgia', serif;
    font-size: 1.3rem;
    font-weight: 900;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    margin: 20px auto;
    max-width: 600px;
    position: relative;
}

.no-donasi-message-video-santri {
    background: linear-gradient(270deg, #0000008c 0%, #ffffff 25%, #57007a48 50%, #11cece5e 75%, #0000005d 100%);
    background-size: 1000% 1000%;
    animation: palestineFlagAnimation 15s ease infinite;
    color: #474747;
    font-family: 'Georgia', serif;
    font-size: 1.3rem;
    font-weight: 900;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    margin: 20px auto;
    max-width: 600px;
    position: relative;
}

@keyframes palestineFlagAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Add a small Palestine flag icon on the left */
.no-donasi-message::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 25px;
    background: url('assets/palestine-flag-icon.png') no-repeat center center;
    background-size: contain;
}

/* Optional: Add a subtle nuclear symbol as background watermark */
.no-donasi-message::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: url('assets/nuclear-symbol.png') no-repeat center center;
    background-size: contain;
    opacity: 0.15;
}

/* Add a small Palestine flag icon on the left */
.no-donasi-message-video-santri::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 25px;
    background: url('assets/palestine-flag-icon.png') no-repeat center center;
    background-size: contain;
}

/* Optional: Add a subtle nuclear symbol as background watermark */
.no-donasi-message-video-santri::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: url('assets/nuclear-symbol.png') no-repeat center center;
    background-size: contain;
    opacity: 0.15;
}
