.donate-nav-btn {
    background: #00685f;
    border: 1px solid #00685f;
    color: #fff !important;
    border-radius: 999px;
    font-weight: 800;
    padding: 0.65rem 1.2rem !important;
}

.donate-nav-btn:hover,
.donate-nav-btn:focus {
    background: #003f3a;
    border-color: #003f3a;
}

.donation-page {
    background: #f7fbfa;
}

.donation-hero {
    padding: 3.5rem 0;
    background:
        radial-gradient(circle at 86% 14%, rgba(0, 104, 95, 0.10), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f7fbfa 100%);
}

.donation-shell,
.donation-modal-shell {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e7eeec;
    border-radius: 24px;
    box-shadow: 0 22px 70px rgba(14, 50, 56, 0.13);
}

.donation-story-panel {
    min-height: 100%;
    padding: 2.2rem;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(0, 63, 58, 0.18), rgba(0, 63, 58, 0.88)),
        url('../img/connection-hands.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.donation-story-logo {
    width: 116px;
    height: auto;
    padding: 0.6rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.94);
    margin-bottom: 1.25rem;
}

.donation-story-panel h1,
.donation-story-panel h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    line-height: 1.08;
}

.donation-story-panel p {
    color: rgba(255,255,255,0.9);
}

.donation-form-panel {
    padding: 2.2rem;
}

.donation-form-title {
    font-family: Georgia, "Times New Roman", serif;
    color: #003f3a;
    font-weight: 700;
}

.donation-form-intro,
.donation-security-note {
    color: #5f6f79;
}

.donation-amounts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1.25rem 0;
}

.donation-amount-btn {
    appearance: none;
    border: 1px solid rgba(0, 104, 95, 0.28);
    background: #fff;
    color: #003f3a;
    border-radius: 12px;
    padding: 0.85rem 0.5rem;
    font-weight: 800;
    transition: 0.16s ease;
}

.donation-amount-btn:hover,
.donation-amount-btn:focus,
.donation-amount-btn.is-selected {
    background: #eaf5f3;
    border-color: #00685f;
    color: #00685f;
    outline: none;
}

.donation-amount-btn:focus-visible,
.donation-widget .btn:focus-visible,
.donation-widget .form-control:focus-visible {
    outline: 3px solid rgba(0, 104, 95, 0.22);
    outline-offset: 2px;
}

.donation-custom-amount .input-group-text {
    background: #f7fbfa;
    color: #003f3a;
    font-weight: 800;
}

.donation-message {
    min-height: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.donation-message.is-error {
    color: #a11818;
}

.donation-message.is-success {
    color: #00685f;
}

.donation-security-note {
    font-size: 0.9rem;
}

.donation-modal .modal-dialog {
    max-width: 1040px;
}

.donation-modal .modal-content {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
}

.donation-modal .modal-body {
    padding: 0;
}

.donation-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 5;
    background-color: rgba(255,255,255,0.94);
    border-radius: 50%;
    padding: 0.75rem;
}

.donation-reminder-panel {
    padding: 3rem;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.donation-reminder-panel h2 {
    font-family: Georgia, "Times New Roman", serif;
    color: #003f3a;
    font-weight: 700;
}

.donation-reminder-card {
    border: 1px solid #e7eeec;
    border-radius: 18px;
    background: #fff;
    padding: 1.5rem;
}

.donation-success-card {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e7eeec;
    border-radius: 22px;
    padding: 2.4rem;
    box-shadow: 0 18px 50px rgba(14, 50, 56, 0.09);
}

.donation-success-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eaf5f3;
    color: #00685f;
    font-size: 1.8rem;
}

@media (max-width: 991.98px) {
    .donate-nav-item {
        margin-top: 0.75rem;
        margin-left: 0 !important;
    }

    .donation-story-panel {
        min-height: 360px;
    }
}

@media (max-width: 575.98px) {
    .donation-hero {
        padding: 1.5rem 0;
    }

    .donation-form-panel,
    .donation-reminder-panel {
        padding: 1.35rem;
    }

    .donation-story-panel {
        min-height: 300px;
        padding: 1.35rem;
    }

    .donation-story-logo {
        width: 92px;
    }

    .donation-amounts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .donation-modal .modal-dialog {
        margin: 0.5rem;
    }
}
