:root {
    --primary-color: oklch(65% 0.25 260);
    --secondary-color: #333;
    --background-color: #f4f4f4;
    --font-family: 'Inter', sans-serif;
}

body {
    font-family: var(--font-family);
    margin: 0;
    background-color: var(--background-color);
    background-image: url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%239C92AC" fill-opacity="0.1" fill-rule="evenodd"%3E%3Cpath d="M0 40L40 0H20L0 20M40 40V20L20 40"/%3E%3C/g%3E%3C/svg%3E');
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
    background-color: rgba(255, 255, 255, 0.8);
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    filter: brightness(1.1);
}

.how-it-works {
    padding: 80px 20px;
    text-align: center;
}

.how-it-works h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--secondary-color);
}

.steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.step {
    background: white;
    padding: 40px;
    border-radius: 15px;
    width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.step p {
    color: #666;
}

.about-us {
    background-color: #fff;
    padding: 80px 20px;
}

.about-us-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-us h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.about-us p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.contact-us {
    background-color: #f4f4f4;
    padding: 80px 20px;
    text-align: center;
}

.contact-us h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

footer {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 20px;
}

site-header {
    display: block;
}

/* Utility Styles */
.hidden {
    display: none !important;
}

/* Donation Category Styles */
.donation-categories {
    padding: 80px 20px;
    text-align: center;
    background-color: white;
}

.donation-categories h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--secondary-color);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background: #f9f9f9;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-card h3 {
    font-size: 1.5rem;
    margin: 20px;
    color: var(--secondary-color);
}

.category-card p {
    font-size: 1rem;
    color: #666;
    padding: 0 20px 20px;
    line-height: 1.6;
}

/* User Flow Section */
.user-flows {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 80px 20px;
}

.flow-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    width: 400px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.flow-card h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 700px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

/* Registration Form */
.item-entry {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 15px;
    align-items: center;
}

.item-entry select, .item-entry textarea {
    grid-column: span 2;
}

/* Public Donation Listings */
.latest-donations {
    padding: 80px 20px;
    text-align: center;
    background-color: #fff;
}

.donation-listings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.donation-card {
    background: #f9f9f9;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: left;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.donation-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.donation-card-content {
    padding: 20px;
    flex-grow: 1;
}

/* NGO Modal Specific Styles */
#ngo-donation-listings {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ngo-donation-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 20px;
    align-items: center;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
}

.ngo-donation-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.ngo-donation-details h3 {
    margin: 0 0 10px;
    color: var(--primary-color);
}

.ngo-donation-claim {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.ngo-donation-claim input[type="checkbox"] {
    width: 25px;
    height: 25px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 5px;
}

.quantity-controls input {
    width: 70px;
    padding: 8px;
    text-align: center;
}

#ngo-claim-form .cta-button {
    width: 100%;
    margin-top: 30px;
}

