@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');

button, body {
    font-family: "Merriweather", serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
p{
    font-size: 14px;
    line-height: 26px;
}
.container {
    width: 1140px;
    margin: auto;
}

header {
    width: 100%;
    background-color: rgba(0,0 , 0, 0.3);
    position: fixed;
    z-index: 2;
    display: flex;
    justify-content: center; 
    align-items: center; 
    padding: 10px 0; 
}

header .logo {
    display: flex;
    align-items: center;
    margin-right: 0px; 
    margin-left: 30px; 
}

header .logo img {
    height: 70px; 
    width: auto;  
}

header nav {
    display: flex; 
    justify-content: center; 
}

header nav ul {
    list-style-type: none;
    display: flex; 
    justify-content: center; 
    border-radius: 15px;
    margin: 0;
    padding: 0;
}

header nav ul li {
    display: inline-block;
}

header nav ul li a {
    display: inline-block;
    height: 75px;
    line-height: 75px;
    padding: 0 20px; 
    text-decoration: none;
    text-transform: capitalize;
    font-size: 16px;
    color: white;
    position: relative; 
    white-space: nowrap;
    transition: transform 0.3s ease, text-decoration 0.3s ease, color 0.3s ease;
}

header nav ul li a:hover {
    transform: scale(1.1);
    color: green; 
}



.banner-section {
    background: url('https://www.maasavitringo.org/wp-content/uploads/2024/04/ngo-img-5.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    height: 800px;
}

.banner-section .banner-content {
    max-width: 1200px;
    margin: 0 auto;
}

.banner-section h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
    margin-top: 300px;
}

.banner-section p {
    font-size: 1.2rem;
    color: #fff;
    margin-top: 10px;
    font-weight: 300;
}


.support-section {
    background-color: #27ae60;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.support-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.support-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    z-index: 2;
    position: relative;
}

.support-section .flex-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    z-index: 2;
    position: relative;
    flex-wrap: wrap;
}

.support-section .flex-container > div {
    width: 48%;
    color: #fff;
}

.support-section .support-form {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.support-section .support-form h1 {
    font-size: 1.8rem;
    color: #27ae60;
    margin-bottom: 20px;
}

.support-section .support-form label {
    font-size: 1rem;
    color: #2c3e50;
    margin: 10px 0;
}

.support-section .support-form input[type="checkbox"] {
    margin-right: 10px;
}

.support-section .support-form input[type="number"] {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.support-section .support-form .amount-display {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 20px 0;
    color: #2c3e50;
}

.support-section .support-form button {
    background-color: #27ae60;
    color: #fff;
    font-size: 1.2rem;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.support-section .support-form button:hover {
    background-color: #2c3e50;
}

.support-section h6 {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 20px;
}
/* Footer Section Styling */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.footer .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.footer-logo {
    flex: 1;
    margin: 10px;
}

.footer-logo img {
    width: 180px;
}

.footer-logo p {
    font-size: 0.9rem;
    color: #27ae60;
    margin-top: 10px;
}

.footer-links {
    flex: 1;
    margin: 10px;
    min-width: 250px;
    color: #27ae60;
}

.footer-links h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style-type: none;
    padding: 0;
}

.footer-links ul li {
    margin: 10px 0;
}

.footer-links ul li a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 1rem;
}

.footer-links ul li a:hover {
    color: #27ae60;
}

/* Contact Section */
.footer-contact {
    flex: 1;
    margin: 10px;
    min-width: 250px;
}

.footer-contact h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #27ae60;
}

.footer-contact ul {
    list-style-type: none;
    padding: 0;
}

.footer-contact ul li {
    margin: 10px 0;
    color: #ecf0f1;
    font-size: 1rem;
}

.footer-contact ul li span {
    font-weight: bold;
    color: #bdc3c7;
}

/* Newsletter Section */
.footer-newsletter {
    flex: 1;
    margin: 10px;
    min-width: 250px;
    text-align: left;
    margin-bottom: 20px;
}

.footer-newsletter h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #27ae60;
}

.footer-newsletter form {
    display: flex;
    flex-direction: column;
}

.footer-newsletter input {
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.footer-newsletter button {
    padding: 12px;
    background-color: #27ae60;
    border: none;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.footer-newsletter button:hover {
    background-color: #2ecc71;
}

.footer-bottom {
    background-color: #34495e;
    padding: 15px 0;
}

.footer-bottom p {
    font-size: 1rem;
    color: #bdc3c7;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        width: 90%;
    }

    header .logo img {
        height: 60px;
    }

    header nav ul li a {
        font-size: 14px;
        height: 60px;
        line-height: 60px;
    }

    .banner-section {
        height: 600px;
    }

    .banner-section h1 {
        font-size: 2rem;
    }

    .banner-section p {
        font-size: 1rem;
    }

    .support-section h2 {
        font-size: 2rem;
    }

    .support-section .flex-container > div {
        width: 100%;
    }

    .support-section .support-form {
        padding: 20px;
    }

    .footer-logo img {
        width: 150px;
    }

    .footer-links ul li a, .footer-contact ul li, .footer-newsletter input, .footer-newsletter button {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: row;
        padding: 10px 20px;
    }

    header .logo {
        margin: 0 auto 10px;
    }

    header nav ul {
        flex-direction: row; /* Keep navigation items in a horizontal row */
        justify-content: space-around; /* Space out items evenly */
        width: 100%;
    }

    header nav ul li {
        margin: 0px;
    }
    header nav ul li a {
        font-size: 14px; /* Adjust font size for smaller screens */
        padding: 0 10px; /* Reduce padding */
        height: auto; /* Allow flexible height */
        line-height: normal; /* Adjust line height */
    }

    .banner-section {
        height: 500px;
    }

    .banner-section h1 {
        font-size: 1.8rem;
    }

    .banner-section p {
        font-size: 0.9rem;
    }

    .support-section {
        padding: 40px 10px;
    }

    .support-section h2 {
        font-size: 1.8rem;
    }

    .support-section .support-form {
        padding: 15px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-logo, .footer-links, .footer-contact, .footer-newsletter {
        margin: 20px 0;
    }
}

@media (max-width: 480px) {
    header nav ul {
        flex-wrap: wrap; /* Allow wrapping if space is limited */
    }
    header nav ul li a {
        font-size: 12px;
        height: auto;
        line-height: normal;
        padding: 0 5px;
    }

    .banner-section {
        height: 400px;
    }

    .banner-section h1 {
        font-size: 1.5rem;
    }

    .banner-section p {
        font-size: 0.8rem;
    }

    .support-section h2 {
        font-size: 1.5rem;
    }

    .support-section .support-form {
        padding: 10px;
    }

    .footer-logo img {
        width: 120px;
    }

    .footer-links ul li a, .footer-contact ul li, .footer-newsletter input, .footer-newsletter button {
        font-size: 0.8rem;
    }
}