:root {
    --bg: #0d1117;
    /* --card: #161b22; */
    --card: #1b1919;
    --accent: #facc15;
    --muted: #9ca3af;
    --radius: 14px;
}

* {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.don-header {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 40px;
}

.don-header h1 {
    font-size: 28px;
    margin-bottom: 6px;
}

.don-header p {
    color: var(--muted)
}

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.don-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.don-card img {
    width: 100%;
    border-radius: var(--radius);
    aspect-ratio: 16/9;
    object-fit: cover;
}

.don-card h2 {
    margin: 0;
    font-size: 20px;
}

.don-card p {
    color: var(--muted);
    font-size: 14px;
}

.progress {
    background: #1f2937;
    border-radius: 999px;
    overflow: hidden;
    height: 10px;
}

.progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #f59e0b);
    width: 0%;
}

.stats {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--muted);
}

.don-btn {
    display: block;
    text-align: center;
    background: yellowgreen;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 6px;
    cursor: pointer;
}

.don-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.91);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.don-modal .don-box {
    background: var(--card);
    padding: 20px;
    border-radius: var(--radius);
    width: 300px;
    text-align: center;
}

.don-modal h3 {
    color: #fff;
}

.don-modal label {
    display: block;
    text-align: left;
    margin-top: 10px;
    margin-bottom: 5px;
    color: #fff;
    font-size: 14px;
}

.don-modal input {
    outline: none;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: none;
    background: #1f2937;
    color: #f3f4f6;
    margin-top: 4px;
}

.close {
    margin-top: 10px;
    background: transparent;
    border: none;
    color: var(--muted);
    cursor: pointer
}

@media screen and (min-width:310px) and (max-width: 760px) {
    .don-header {
        margin: 0px 15px;
        padding: 15px !important;
    }

    .don-header h1 {
        font-size: 20px !important;
    }

    .don-header p {
        font-size: 14px !important;
    }

    .don-card {
        margin: 0px 15px;
    }
}