body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Source Sans Pro', sans-serif;
    color: #fff;
    line-height: 1.6;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: url('background.jpg') no-repeat center center/cover;
    position: relative;
    overflow-x: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

header, main, footer {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}

header {
    padding-top: 40px;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin: 0 0 10px;
}

.mission {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 20px; /* Removed -32px and 20px left margin, centered with auto */
    padding: 0 10px;
    text-align: center; /* Explicitly center the text */
    line-height: 1.2;
}

.intro, .check-note {
    font-size: 1rem;
    margin: 5px 0;
    text-align: center; /* Ensure centering for intro and check-note */
}

h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 5px;
    text-align: center; /* Center the heading */
}

.donation {
    margin: -32px 0 20px; /* Keep the upward shift for the donation section */
    text-align: center; /* Ensure the entire donation section is centered */
}

.donation-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.donate-button {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    padding: 12px 25px;
    background-color: #4a704c;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.donate-button:hover {
    background-color: #355e38;
}

.check-note {
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact {
    padding: 20px;
    margin-bottom: 10px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.contact-content {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 5px;
    text-align: center; /* Center content within contact */
}

.contact .logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 0;
}

.contact p {
    margin: 5px 0;
    text-align: center; /* Center individual paragraphs */
}

.contact a {
    color: #fff;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}

.learn-more {
    font-size: 1rem;
    font-family: 'Source Sans Pro', sans-serif;
    color: #fff;
    margin: 10px 0;
    text-align: center;
}

.learn-more a {
    color: #fff;
    text-decoration: none;
}

.learn-more a:hover {
    text-decoration: underline;
}

.charity-info {
    font-size: 0.9rem;
    color: #ccc;
    margin: 5px 0;
    text-align: center;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    .mission {
        font-size: 1rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .donate-button {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    .logo {
        max-width: 120px;
    }
    .contact {
        max-width: 300px;
    }
    .contact-content {
        padding: 10px;
    }
}
