/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

a {
    text-decoration: none;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 10px 0;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

header.visible {
    transform: translateY(0);
}

header.hidden {
    transform: translateY(-100%);
}

header nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

header nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

header nav li:not(:last-child) {
    margin-right: 10px;
}

header nav li a {
    text-decoration: none;
    color: #555;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s ease-in-out;
}

header nav li a:hover {
    color: #007bff;
}

/* Home Section Styles */
#home {
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    background-color: #f5f5f5;
    padding: 150px 0;
    text-align: center;
    color: #111;
}

#home h1 {
    font-size: 48px;
    margin-bottom: 72px;

}

#home .button {
    background-color: #fff;
    color: #555;
    font-size: 16px;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-weight: bold;
}

#home .button:hover {
    color: #007bff;
}

#home .button:active {
    box-shadow: none;
    transform: translateY(2px);
}

/* About Section Styles */
#about {
    padding: 100px 0;
    text-align: center;
}

#about h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

#about p {
    font-size: 18px;
    margin-bottom: 30px;
}

#about .stats {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
}

#about .stats .box {
    flex-basis: 30%;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

#about .stats .box h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

#about .stats .box p {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Programs Section Styles */
#programs {
    background-color: #f5f5f5;
    padding: 100px 0;
}

#programs h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 30px;
}

#programs .program {
    margin-bottom: 30px;
}

#programs .program img {
    height: 100px;
    margin-bottom: 20px;
}

#programs .program h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

#programs .program p {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Donate Section Styles */
#donate {
    background-color: #fff;
    padding: 50px 0;
    text-align: center;
}

#donate h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

#donate p {
    font-size: 18px;
    margin-bottom: 30px;
}

/*Helped Section Styles*/
#helped {
    background-color: #f5f5f5;
    padding: 50px 0;
    text-align: center;
}

#helped h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

#helped p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Footer Styles */
footer {
    background-color: #fff;
    color: #555;
    padding: 50px 0;
    text-align: center;
}

footer p {
    font-size: 16px;
    margin-bottom: 20px;
}

footer h3 {
    font-size: 24px;
    margin-bottom: 30px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer li {
    margin-bottom: 10px;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.cr {
    color: #444;
    font-size: small;
}

/* Media Queries for Footer Styles */
@media screen and (max-width: 768px) {
    footer {
        text-align: center;
    }

    footer ul {
        display: flex;
        justify-content: center;
    }

    footer li {
        margin: 0 10px;
    }
}

/* Responsive Styles */
@media screen and (max-width: 768px) {

    /* Header Styles */
    header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #header-nav {
        margin-top: 30px;
    }

    #header-nav li {
        display: block;
        margin: 10px 0;
    }

    /* About Section Styles */
    #about .about-content {
        flex-direction: column;
        text-align: center;
    }

    #about .about-img {
        margin-bottom: 30px;
    }

    /* programs
 Section Styles */
    #programs .program {
        text-align: center;
        margin-bottom: 30px;
    }

    #programs .program i {
        margin-bottom: 10px;
        font-size: 36px;
    }

    #programs .program h3 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    #programs .program p {
        font-size: 18px;
    }
}

@media screen and (max-width: 480px) {

    /* Hero Section Styles */
    #home h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    #home p {
        font-size: 18px;
        margin-bottom: 30px;
    }

    /* About Section Styles */
    #about .about-img {
        width: 100%;
    }

    /* programs
 Section Styles */
    #programs .program h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    #programs .program p {
        font-size: 16px;
    }
}