* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #1f2933;
    background: #f5f7fa;
}

.main-nav {
    background: #0f172a;
    color: #fff;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand-logo {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.6px;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 14px;
}

.login-btn {
    color: #fff;
    font-weight: 700;
}

.logout-inline {
    margin: 0;
}

.logout-inline-btn {
    border: 0;
    background: #b42318;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

.hero-section {
    background-image: url("https://www.morsemoving.com/wp-content/uploads/2022/09/How-to-Donate-Your-Things-Before-Moving-img1-new.jpg");
    background-position: center;
    background-size: cover;
    color: #fff;
    padding: 56px 12px;
}

.hero-content {
    max-width: 860px;
    margin: 0 auto;
}

.hero-content h1 {
    margin: 0 0 10px;
    font-size: 40px;
}

.text-gradient {
    color: #a5f3fc;
}

.cta-button {
    margin-top: 14px;
    display: inline-block;
    background: #10b981;
    color: #fff;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 700;
}

.content-wrapper {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 12px;
}

.section-header h2 {
    margin: 0 0 4px;
}

.main-footer {
    margin-top: 24px;
    padding: 16px;
    text-align: center;
    color: #4b5563;
}

.donation-container {
    margin: auto;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 500px;
    overflow-y: scroll;
}

/* Mini Divs (Donation Cards) */
.donation-card {
    background: #ffffff;
    border-radius: 12px;
    width: 100%;
    height: fit-content;
    box-shadow: 0 4px 15px rgba(40, 116, 74, 0.05);
    border: 1px solid #e1e8e4;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin: auto;
    margin-bottom: 20px;
}

.donation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(40, 116, 74, 0.12);
}

/* Card Content Inner Padding */
.donation-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.donation-category{
    background-color: #1b4332;
    padding: 10px;
    border-radius: 20px;
    color: white;
    margin-bottom: 20px;
    margin: auto;
    margin-left: 0px;
    margin-top: 0px;
}

/* Title */
.donation-title {
    font-size: 1.25rem;
    color: #1b4332;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Details / Description */
.donation-details {
    font-size: 0.95rem;
    color: #556b5c;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes the money stats to the bottom so they align */
}

/* Progress Bar Container */
.progress-container {
    background-color: #e8f0ec;
    border-radius: 10px;
    height: 8px;
    width: 100%;
    margin-bottom: 15px;
    overflow: hidden;
}

/* Actual Progress Fill */
.progress-bar {
    background-color: #2a9d8f;
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease-in-out;
}

/* Badge Styles */
.badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    margin-right: 0.5rem;
}

.badge-success {
    background-color: #10b981;
    color: #ffffff;
}

.badge-danger,
.badge-urgent {
    background-color: #ef4444;
    color: #ffffff;
}

.badge-featured {
    background-color: #10b981;
    color: #ffffff;
}

.badge.no {
    background-color: #6b7280;
    color: #ffffff;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 10px;
}

/* Money / Metrics Styling */
.donation-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.amount-raised {
    color: #2a9d8f;
    font-weight: 700;
    font-size: 1.05rem;
}

.goal-amount {
    color: #7a8f81;
}

/* View Button (Optional but completes the card look) */
.view-btn {
    display: block;
    text-align: center;
    background-color: #f0f7f4;
    color: #2a9d8f;
    padding: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-top: 1px solid #e1e8e4;
    transition: background-color 0.2s, color 0.2s;
}

.view-btn:hover {
    background-color: #2a9d8f;
    color: #ffffff;
}
