
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

.container {
    width: 85%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Hero Section */
.hero-section {
    background-image: url('IMG-20210830-WA0011.jpg'); /* Replace 

with your image */
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
}


.hero-content {
    position: relative; /* To sit above the overlay */
    z-index: 1;
    max-width: 700px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}


.cta-button {
    background-color: #007bff; /* Primary color */
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.cta-button:hover {
    background-color: #0056b3; /* Darker shade on hover */
    transform: translateY(-3px);
}


/* Story Snippet */
.story-snippet {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.story-snippet h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50; /* Dark blue */
}

.story-snippet p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 20px auto;
    color: #555;
}

/* Impact Visualizer */
.impact-visualizer {
    padding: 60px 0;
    background-color: #eef7ff; /* Light blue background */
    text-align: center;
}

.impact-visualizer h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.impact-item {
    background-color: #9DC183;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.impact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.impact-item img {
    max-width: 40%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 50%; /* Makes placeholder images circular */
}

.impact-item h3 {

    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #007bff;
}

.impact-item p {
    font-size: 1rem;
    color: #555;
}

/* Donation Form Section */
.donation-form-section {
    padding: 60px 0;
    background-color: #fff;
}

.donation-form-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #2c3e50;

}

.donation-form-section > .container > p { /* Targeting the paragraph directly under container */
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #555;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}


.donation-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 30px 40px;
    border-radius: 8px;

    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.donation-form fieldset {
    border: none;
    padding: 0;
    margin-bottom: 20px;
}

.donation-form legend {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

.amount-selection, .donation-frequency {
    display: flex;
    justify-content: space-between;

    margin-bottom: 25px;
    gap: 10px; /* Adds space between buttons */
}

.amount-button, .frequency-button {
    background-color: #fff;
    border: 2px solid #ddd;
    color: #555;
    padding: 12px 0; /* Adjusted padding */
    flex-grow: 1; /* Makes buttons take equal width */
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.amount-button:hover, .frequency-

button:hover {
    border-color: #007bff;
    color: #007bff;
}

.amount-button.active, .frequency-button.active {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.custom-amount {
    margin-bottom: 25px;
}

.custom-amount label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;

}

.donation-form input[type="text"],
.donation-form input[type="email"],
.donation-form input[type="number"] {
    width: calc(100% - 22px); /* Account for padding and border */
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.donation-form input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}


.card-details-row {
    display: flex;
    gap: 15px;
}

.card-details-row > div {
    flex: 1;
}

.submit-donation-button {
    background-color: #28a745; /* Green for confirm/submit */
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 5px;
    width: 100%;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;

    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.submit-donation-button:hover {
    background-color: #218838; /* Darker green */
    transform: translateY(-2px);
}

.trust-badges {
    text-align: center;
    margin-top: 20px;
}
.trust-badges p {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;

    justify-content: center;
}
.trust-badges img {
    margin-left: 8px;
    height: 25px; /* Adjust as needed */
    vertical-align: middle;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background-color: #f0f4f8; /* Slightly different light background */
}
.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #2c3e50;
}
.faq-item {

    background-color: #fff;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #007bff;
}
.faq-item p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 0;
}
.faq-item p a {
    color: #007bff;
    text-decoration: none;
}
.faq-item p a:hover {

    text-decoration: underline;
}


/* Footer */
footer {
    background-color: #2c3e50; /* Dark blue footer */
    color: #fff;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}
footer p {
    margin: 5px 0;
}
footer a {
    color: #87cefa; /* Light sky blue for links */
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .story-snippet h2, .impact-visualizer h2, .donation-form-section h2, .faq-section h2 {
        font-size: 2rem;
    }
    .amount-selection {
        flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    }
    .amount-button {

        width: calc(50% - 5px); /* Two buttons per row */
        margin-bottom: 10px;
    }
    .card-details-row {
        flex-direction: column;
        gap: 0; /* Remove gap when stacked */
    }
    .card-details-row input {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .impact-item h3 {
        font-size: 1.5rem;
    }
    .donation-form {
        padding: 20px;
    }
     .amount-button {
        width: 100%; /* Full width for smallest screens */
    }
}
