@import url('https://fonts.googleapis.com/css2?family=Spectral:wght@400;700&display=swap');

* {
    box-sizing: border-box; /* Ensure padding and border are included in element's width and height */
}

body {
    margin: 0;
    padding: 0;
    background-color: #D9CFB2;
    font-family: "Spectral", serif;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

a {
    text-decoration: none;
    color: inherit;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100px;
    background-color: #FFFFFF;
    padding: 0 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav .logo {
    height: 70px; /* Adjust height as needed */
}

.nav-button {
    padding: 15px 30px; /* Added padding */
    background-color: #3D382F;
    border-radius: 35px;
    color: white;
    font-family: 'Spectral', serif;
    font-size: 1em;
    border: none;
    cursor: pointer;
}

main {
    padding: 70px 45px;
    color: #7C6A0A;
    width: 100%;
    overflow: hidden;
}

main article {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap; /* Ensure responsiveness */
    width: 100%;
}

main article .impact-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: left;
}

main article h1 {
    font-size: 3em;
    margin: 0;
    color: #3D382F;
}

main article p {
    font-size: 1.5em;
}

main article div {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

main article button {
    padding: 15px 30px;
    background-color: #3D382F;
    border-radius: 35px;
    color: white;
    font-family: "Spectral", serif;
    font-size: 1em;
    border: none;
    cursor: pointer;
}

main article button:hover {
    transform: scale(1.1);
    transition-duration: 0.8s;
}

main article img {
    width: 25vw;
    max-width: 400px;
    border-radius: 19px;
}

main section {
    padding: 60px 20px;
}

main section h2 {
    color: #7C6A0A;
    font-size: 2em;
    text-align: center;
}

.about-us h2 {
    padding-bottom: 40px;
    font-weight: bold;
    color: #3D382F;
}

.about-us .mission-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.about-us .mission-section div {
    width: 100%;
    max-width: 300px;
    text-align: center;
}

.about-us .mission-section img {
    width: 100%;
    height: auto;
}

.about-us .mission-section p {
    font-size: 1.2em;
}

.gallery {
    margin: 20px;
    color: #3D382F;
    text-align: center;
}

.gallery .gallery-images {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.gallery .gallery-images a {
    width: 60%; /* Increased width */
    max-width: 600px; /* Increased max width */
}

.gallery .gallery-images img {
    width: 100%;
    height: auto;
}

.gallery .gallery-images img:hover {
    transform: scale(1.1);
    transition-duration: 0.8s;
}

.location {
    color: #3D382F;
    text-align: center;
}

.location h2 {
    font-size: 2.5em;
    padding: 20px 0;
    color: #3D382F;
}

.location .map img {
    width: 100%;
    max-width: 1200px; /* Increased max width */
    height: auto;
    border-radius: 19px;
}

.location h3,
.location p {
    font-size: 1.2em;
}

footer {
    padding: 40px;
    background-color: #3D382F;
    color: white;
    text-align: center;
}

footer .social-media {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-bottom: 20px;
}

footer .social-media img {
    width: 30px;
    height: auto;
}

@media (max-width: 768px) {
    nav .logo {
        height: 50px; /* Adjust height as needed */
    }

    .nav-button {
        width: auto;
        font-size: 0.8em;
        padding: 10px 20px; /* Adjust padding */
    }

    main {
        padding: 20px;
    }

    main article {
        flex-direction: column;
        align-items: center;
    }

    main article .impact-section {
        text-align: center;
        align-items: center;
    }

    main article div {
        flex-direction: column;
        align-items: center;
    }

    main article img {
        width: 90%;
    }

    main section h2 {
        text-align: center;
    }

    .about-us .mission-section {
        flex-direction: column;
        align-items: center;
    }

    .gallery .gallery-images {
        flex-direction: column;
        align-items: center;
    }

    .gallery .gallery-images a {
        width: 90%;
    }

    .location .map img {
        width: 90%;
    }
}
