@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;
}

.fullContainer {
    width: 100%;
}

.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; /* Smooth transition for scaling, underlining, and color */
}

header nav ul li a:hover {
    transform: scale(1.1); 
    color: green; 
}
.banner {
    min-height: 100vh;
    width: 100%;
    background-image: url(banner1.jpeg);
    background-size: cover;
    background-attachment: fixed;
}
.banner h1 {
    margin-top: 230px;
    display: inline-block;
    font-size: 3.5rem;
    color: white;
    text-shadow: 0 0 2px black;
    width: 50%;
    line-height: 4.2rem;
    font-weight: 100;
}
.banner h1 span{
    background-color: red;
    display: inline-block;
    line-height: 3.5rem;
    padding: 0 15px;
    font-weight: 600;
    border-radius: 5px
}
.banner p {
    color: white;
    width: 50%;
    text-shadow: 0 0 2px black;
    margin-top: 10px;
}

.banner button {
    background-color: red;
    border: 0;
    outline: none;
    color: white;
    padding: 10px 15px;
    margin-top: 20px;
    font-size: 20px;
    border-radius:3px;
    font-weight: 600;

}

.statistics {
    background-color: whitesmoke;
    padding: 40px 40px;
    text-align: center;
}

.statistics .section-title {
    font-size: 3rem;
    font-weight: 700;
    color: black;
    margin-bottom: 40px;
}


.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 20px;
}

.stat-item {
    background-color: white;
    border-radius: 20px;
    padding: 30px 20px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: green; 
    margin-bottom: 10px;
    transition: all 0.5s ease-in-out;
}

.stat-description {
    font-size: 1.2rem;
    color: black;
    font-weight: 600;
}
.stories {
    background-color: white;
    padding: 60px 40px;
    text-align: center;
}

.stories .section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 70px;
}

.story-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    background-color: whitesmoke;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.story-item:hover {
    transform: translateY(-10px);
}

.story-image {
    flex: 1;
    max-width: 50%;
}

.story-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.story-text {
    flex: 1;
    max-width: 50%;
    padding: 20px;
    text-align: left;
}

.story-text h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.story-text p {
    font-size: 1.2rem;
    color: black;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    text-decoration: none;
    background-color: green;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background-color: darkgreen;
}
.programs {
    background-color: whitesmoke;
    padding: 60px 40px;
    text-align: center;
}

.programs .section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
}

.programs-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.program-item {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 30%;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.program-item:hover {
    transform: translateY(-10px);
}

.program-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.program-item:hover .program-image img {
    transform: scale(1.1); 
}

.program-details {
    padding: 20px;
}

.program-details h3 {
    font-size: 1.8rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

.program-details p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}
.donate-us {
    background-color: lightskyblue;
    color: white;
    text-align: center;
    padding: 60px 40px;
    border-radius: 15px;
    margin-top: 80px;
    position: relative;
}

.donate-us::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://helplocal.in/blog/wp-content/uploads/2020/12/191286_1.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    border-radius: 15px;
    z-index: -1;
}

.donate-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.donate-message {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.donate-button {
    background-color: green;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    color: white;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.donate-button a {
    text-decoration: none;
    color: white;
}

.donate-button:hover {
    background-color: darkgreen;
    transform: translateY(-5px);
}
/* Partners Section */
.partners {
    background-color: #f4f4f4;
    padding: 60px 0;
    text-align: center;
}

.partners .section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.partner-item {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 22%; 
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.partner-item img {
    width: 80%;
    height: 100px; 
    object-fit: contain; 
    border-radius: 50%;
    margin-top: 30px;
}

.partner-info {
    padding: 20px;
}

.partner-info h3 {
    font-size: 1.5rem;
    color: #333;
    margin: 15px 0;
    font-weight: 600;
}

.partner-info p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 20px;
}
.accolades-section {
    background-color: white; 
    padding: 50px 0;
    text-align: center;

}

.accolades-section .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px;
}

.accolades-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.accolades-section p {
    font-size: 1rem;
    color: black;
    line-height: 1.5;
    margin-bottom: 30px;
}

.btn-accolades {
    display: inline-block;
    background-color: goldenrod; 
    color: black;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-accolades:hover {
    background-color:goldenrod;
    transform: scale(1.1);
}
/* 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 {
        flex-direction: row; /* Keep nav items horizontal */
        justify-content: space-around; /* Add spacing between items */
        width: 100%; /* Ensure nav spans full width */
    }

    header nav ul li a {
        
            font-size: 14px;
            height: auto; /* Allow flexible height */
            line-height: normal; /* Adjust line height */
            padding: 10px 15px; /* Add padding for spacing */
    }

    .banner h1 {
        font-size: 2.5rem;
    }

    .banner p {
        font-size: 1rem;
    }

    .statistics .section-title, .stories .section-title, .programs .section-title {
        font-size: 2.5rem;
    }

    .program-item {
        width: 45%;
    }

    .donate-title {
        font-size: 2.5rem;
    }

    .donate-message {
        font-size: 1.1rem;
    }

    .partners .section-title {
        font-size: 2.5rem;
    }

    .partner-item {
        width: 30%;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: row;
        padding: 15px 0;
        flex-wrap: wrap;
    }

    header .logo {
        margin: 0 auto;
    }

    header nav ul {
        flex-direction: row; /* Keep nav items horizontal */
        justify-content: center; /* Center the nav items */
        width: 100%; /* Ensure nav spans full width */
    }

    header nav ul li {
        margin-bottom: 10px;
    }

    .banner h1 {
        font-size: 2rem;
    }

    .banner p {
        font-size: 0.9rem;
    }

    .statistics, .stories, .programs {
        padding: 30px 20px;
    }

    .program-item {
        width: 100%;
    }

    .donate-title {
        font-size: 2rem;
    }

    .donate-message {
        font-size: 1rem;
    }

    .partners-grid {
        flex-direction: column;
        gap: 20px;
    }

    .partner-item {
        width: 100%;
    }
}

@media (max-width: 480px) {
    header nav ul li a {
        font-size: 12px;
        height: auto;
        line-height: normal;
        padding: 0 5px;
    }

    .banner h1 {
        font-size: 1.5rem;
    }

    .banner p {
        font-size: 0.8rem;
    }

    .statistics .section-title, .stories .section-title, .programs .section-title {
        font-size: 1.8rem;
    }

    .donate-title {
        font-size: 1.8rem;
    }

    .donate-message {
        font-size: 0.9rem;
    }

    .footer-logo img {
        width: 120px;
    }

    .footer-links ul li a, .footer-contact ul li, .footer-newsletter input, .footer-newsletter button {
        font-size: 0.8rem;
    }
}