/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: white;
    text-align: center;
}

/* Support Header */
/* Support Header - Background Image with Overlay */
.support-header {
    padding: 200px 20px;
    text-align: center;
    color: white;
    background: url('images/ongoing_library2.jpg') no-repeat center center/cover;
    position: relative;
    min-height: 300px;
}

/* Overlay to improve readability */
.support-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
}

/* Text Styling */
.support-header h1 {
    font-size: 3rem;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

.support-header p {
    font-size: 1.3rem;
    font-weight: 500;
    color: #f1f1f1; /* Light color for visibility */
    position: relative;
    z-index: 2;
}

/* Responsive Fix for Mobile View */
@media (max-width: 768px) {
    .support-header {
        padding: 60px 20px;  /* Reduce padding on smaller screens */
        min-height: 180px;  /* Reduce height to avoid too much space */
        background-position: center center;  /* Center the image for better focus */
    }

    .support-header h1 {
        font-size: 2rem;  /* Adjust font size for mobile */
    }

    .support-header p {
        font-size: 1.1rem;
    }
}

/* Impact Section */
.impact {
    background-color: #f8f8f8;
    color: black;
    padding: 50px 20px;
}

.impact h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.impact-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.impact-box {
    background: #fff;
    color: black;
    padding: 15px;
    border-radius: 8px;
    width: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.donation-info {
    background: #2c2c2c; /* Slightly lighter than black */
    color: white; /* Ensuring text is visible */
    padding: 40px 20px;
    text-align: center;
}

.donation-info h2 {
    font-size: 2rem;
    color: orange;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5); /* Makes text more readable */
}

.donation-info ul {
    list-style: none;
    padding: 0;
}

.donation-info li {
    background: rgba(255, 255, 255, 0.15); /* Semi-transparent for contrast */
    color: white;
    padding: 15px;
    margin: 10px auto;
    border-radius: 5px;
    width: 80%;
    max-width: 500px;
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .donation-info {
        padding: 30px 15px;
    }

    .donation-info h2 {
        font-size: 1.8rem;
    }

    .donation-info li {
        width: 90%;
        font-size: 1rem;
        padding: 12px;
    }
}

/* Donate Now Section */

/* Donate Section */
.donate-now {
    background: linear-gradient(135deg, #f7e7b4, #2c2c2c);
    color: #ffffff;
    text-align: center;
    padding: 50px 20px;
    border-radius: 10px;
    max-width: 800px;
    margin: auto;
    margin-top: 40px;
}

/* Heading */
.qr-heading {
    font-size: 26px;
    font-weight: bold;
    color: #ffcc00;
    margin-bottom: 20px;
}

/* Donation Container */
.donation-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap; /* Ensures responsiveness */
}

/* QR Code Styling */
.qr-section img {
    width: 200px;
    height: auto;
    border-radius: 10px;
    border: 3px solid #ffcc00;
    padding: 8px;
    background: white;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

/* UPI Section */
.upi-section .upi-box {
    background: #fff8dc;
    color: #2c2c2c;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    font-size: 18px;
    width: fit-content;
    border: 2px solid #ffcc00;
}

/* Copy Button */
.upi-section .upi-box button {
    background: #ff8c00;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

/* Copy Message */
#copy-message {
    color: green;
    font-weight: bold;
    display: none;
    margin-top: 5px;
}

/* Donation Benefits Section */
.donation-benefits {
    margin-top: 20px;
    padding: 15px;
   background-color: #121212;
    border-radius: 8px;
    border-radius: 8px;
}

/* Style for the paragraph inside the donation benefits */
.donation-benefits p {
    color: #e0e0e0;
    font-size: 16px;
    font-weight: 500;
}


.donation-benefits ul {
    list-style-type: none;
    padding: 0;
}

.donation-benefits li {
    background: rgba(255, 204, 0, 0.2);
    padding: 10px;
    border-radius: 5px;
    margin: 8px 0;
    font-size: 18px;
    color: #ffffff;
    font-weight: bold;
    display: flex;
    text-align: center;
}


.donation-form {
    background-color: #222;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 50%;
    margin: 20px auto;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.donation-form h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 15px;
    color: #f8a81d; /* Orange heading */
}

.donation-form form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.donation-form label {
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
    display: block;
}

.donation-form input {
    width: 95%;
    padding: 10px;
    border: 1px solid #f8a81d; /* Orange border */
    border-radius: 5px;
    background-color: #333;
    color: #fff;
    font-size: 16px;
    margin-bottom: 10px;
    display: block;
}

.donation-form button {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    font-weight: bold;
    color: #222;
    background-color: #f8a81d; /* Orange button */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 15px;
}

.donation-form button:hover {
    background-color: #d48800;
}

#successMessage {
    text-align: center;
    font-size: 16px;
    margin-top: 15px;
    color: #4caf50; /* Green success message */
}