/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f7e9;
}

header {
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    padding: 15px 50px;
    align-items: center;
}

header .logo img {
    width: 150px;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

header nav ul li {
    display: inline;
}

header nav ul li a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.auth-buttons button {
    background-color: #e78300;
    border: 1px solid #e78300;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.auth-buttons button:hover {
    background-color: #8a2c2c;
    color: white;
}

/* Donation Section */
.donation-section {
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.thank-you-message {
    text-align: center;
    margin-bottom: 30px;
    font-size: 18px;
}

.donation-container {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.image-section img {
    width: 400px;
    height: auto;
    border-radius: 10px;
}

.donation-form {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 350px;
}

.donation-form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #2c8a2e;
}

.donation-options button {
    background-color: #2c8a2e;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
}

.donation-options button:hover {
    background-color: #217d28;
}

.donation-form label {
    display: block;
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
}

.donation-form select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.donation-form button[type="submit"] {
    background-color: #2c8a2e;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    cursor: pointer;
    margin-top: 20px;
}

.donation-form button[type="submit"]:hover {
    background-color: #217d28;
}

.payment-methods img {
    width: 50px;
    margin-right: 10px;
    margin-top: 20px;
}

/* Footer */
footer {
    background-color: #2c8a2e;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 50px;
}
body2 {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f2f7e9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container2 {
    width: 90%; /* Makes the container cover most of the viewport */
    max-width: 1200px; /* Max width for larger screens */
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header2 {
    background-color: #2f9e1f;
    color: white;
    padding: 15px 0;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

.donation2-options {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 20px;
    gap: 20px; /* Add spacing between columns */
}

.option {
    flex: 1;
    min-width: 250px; /* Minimum width to maintain column structure on small screens */
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 8px;
    box-sizing: border-box;
    transition: transform 0.2s ease-in-out;
}

.option:hover {
    transform: translateY(-5px); /* Slight hover effect */
}

.option h3 {
    color: #e86c1c;
    font-size: 18px;
    margin-bottom: 10px;
}

.option p {
    margin: 10px 0;
    color: #333;
}

.option .bank-details {
    color: #333;
}

.option .bank-details p {
    margin: 5px 0;
    font-size: 14px;
}

.donation2-btn {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #2f9e1f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

.donation2-btn:hover {
    background-color: #228017;
}

@media (max-width: 768px) {
    .donation2-options {
        flex-direction: column; /* Stack columns on small screens */
    }
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Modal container */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0, 0, 0, 0.5); 
    overflow-y: auto; /* Allows scrolling if content is larger than viewport */
}

/* Modal content */
.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%; /* Adjust for responsiveness */
    max-width: 600px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    position: relative; /* Keeps it centered */
}

/* Modal header */
.modal-header {
    background-color: #28a745;
    color: white;
    padding: 10px 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.modal-header h2 {
    margin: 0;
}

/* Modal close button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
}

/* Instructions Section */
.instructions {
    margin: 20px 0;
}

.instructions ol {
    margin: 0;
    padding-left: 20px;
}

/* Two-column form layout */
.donor-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.donor-form input {
    width: 90%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* Full-width input for the submit button */
.donor-form input[type="submit"] {
    grid-column: span 3; /* Makes submit button span both columns */
    background-color: #28a745;
    color: white;
    border: none;
    cursor: pointer;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
}

.donor-form input[type="submit"]:hover {
    background-color: #218838;
}

/* Center modal on screen */
.modal-content {
    top: 10%; /* Ensures it starts near the top, allowing scrolling */
    transform: translateY(0); /* Keeps it from overflowing initially */
}

/* Responsive styling */
@media (max-width: 768px) {
    .modal-content {
        width: 100%; /* Full-width for smaller screens */
    }

    /* Stack inputs in one column on smaller screens */
    .donor-form {
        grid-template-columns: 1fr;
    }
}
.slides {
    width: 100%;
    display: none; /* Hide all images by default */
}

.active-slide {
    display: block; /* Show only the active image */
}