body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    color: #333;
    transition: background-color 0.3s, color 0.3s;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #2c3e50;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 40px;
    margin-right: 1rem;
}

.navbar h1 {
    font-size: 1.75rem;
    margin: 0;
    color: #ecf0f1;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: #ecf0f1;
    margin: 0 1rem;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #1abc9c;
}

.theme-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #ecf0f1;
    transition: color 0.3s;
}

.theme-button:hover {
    color: #1abc9c;
}

.header {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: #ffffff;
    padding: 4rem 2rem;
    text-align: center;
}

.header-content {
    max-width: 800px;
    margin: auto;
}

.header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.header p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.impact-button {
    padding: 0.75rem 2rem;
    background-color: #ff6f61;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.impact-button:hover {
    background-color: #e05245;
}

.container {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.intro h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.intro p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.ngos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.ngo-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 250px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.ngo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.ngo-card img {
    border-radius: 12px; /* Curved corners for the logo */
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
}

.ngo-name {
    font-weight: bold;
    margin: 1rem 0 0.5rem;
}

.connect-button {
    padding: 0.5rem 1rem;
    background-color: #1abc9c;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.3s;
}

.connect-button:hover {
    background-color: #16a085;
}

.footer {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 1rem 2rem;
    text-align: center;
}

.dark-mode {
    background-color: #333;
    color: #f0f0f0;
}

.dark-mode .impact-button {
    background-color: #d43f3a;
}

.dark-mode .ngo-card {
    background-color: #444;
}

.dark-mode .connect-button {
    background-color: #16a085;
}

/* Media Queries for Responsiveness */

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    .navbar h1 {
        margin-bottom: 1rem;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-links a {
        margin: 0.5rem 0;
    }

    .header-content h2 {
        font-size: 2rem;
    }

    .header-content p {
        font-size: 1rem;
    }

    .impact-button {
        width: 100%;
    }

    .container {
        padding: 2rem;
    }

    .intro h2 {
        font-size: 1.75rem;
    }

    .intro p {
        font-size: 1rem;
    }

    .ngos {
        flex-direction: column;
    }

    .ngo-card {
        width: 100%;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .header-content h2 {
        font-size: 1.75rem;
    }

    .header-content p {
        font-size: 0.875rem;
    }

    .intro h2 {
        font-size: 1.5rem;
    }

    .intro p {
        font-size: 0.875rem;
    }

    .ngo-card {
        padding: 1rem;
    }

    .ngo-card img {
        width: 80px;
        height: 80px;
    }

    .ngo-name {
        font-size: 1rem;
    }

    .connect-button {
        font-size: 0.75rem;
    }
}

#map {
    width: 100%;
    height: calc(100vh - 100px); /* Adjust height to fit between navbar and footer */
    margin: 0;
}

.full-page-map {
    height: calc(100vh - 130px); /* Adjust height to fit between navbar and footer */
}

/* Ensure Map Container Resizes Properly */
@media (max-width: 768px) {
    .full-page-map {
        height: calc(100vh - 130px); /* Adjust height for smaller screens */
    }
}

@media (max-width: 480px) {
    .full-page-map {
        height: calc(100vh - 130px); /* Adjust height for smaller screens */
    }
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    color: #333;
    transition: background-color 0.3s, color 0.3s;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #2c3e50;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 40px;
    margin-right: 1rem;
}

.navbar h1 {
    font-size: 1.75rem;
    margin: 0;
    color: #ecf0f1;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: #ecf0f1;
    margin: 0 1rem;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #1abc9c;
}

.theme-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #ecf0f1;
    transition: color 0.3s;
}

.theme-button:hover {
    color: #1abc9c;
}

.container {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.about {
    margin-bottom: 3rem;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.team {
    margin-bottom: 3rem;
}

.team h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.team-member {
    margin-bottom: 1rem;
}

.team-member p {
    font-size: 1.25rem;
    margin: 0;
}

.mission p {
    font-size: 1.25rem;
    margin: 2rem 0;
}

.footer {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 1rem 2rem;
    text-align: center;
}

.dark-mode {
    background-color: #333;
    color: #f0f0f0;
}

.about-section, .contact-section {
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: left;
    max-width: 800px;
    margin: 2rem auto;
}

.about-section h2, .contact-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.about-section p, .contact-section p, .about-section ul li {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #555;
}

.dark-mode .contact-section {
    background-color: #444;
    color: #f0f0f0;
}

.dark-mode .contact-section h2 {
    color: #f0f0f0;
}

.dark-mode .contact-section p {
    color: #f0f0f0; 
}

.about-section ul {
    padding-left: 1.5rem;
}

.about-section ul li {
    list-style-type: disc;
}

.impact-section {
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: left;
    max-width: 800px;
    margin: 2rem auto;
}

.impact-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.impact-logo {
    width: 100px;
    height: 100px;
    border-radius: 12px;
}

.impact-content div {
    color: #333;
}

.dark-mode .impact-content div {
    color: #f0f0f0; /* Ensure text color remains the same */
}

.dark-mode .impact-section {
    background-color: #333;
}

.learn-more-button {
    padding: 0.75rem 1.5rem;
    background-color: #ff6f61;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.learn-more-button:hover {
    background-color: #e05245;
}


@media (max-width: 768px) { 
    .impact-content { 
        flex-direction: column; 
        align-items: flex-start; 
    } 
        
    .impact-logo { 
        margin: 1rem 0; 
    } 
    .learn-more-container { 
        width: 100%; 
    }
}
.gallery-section {
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 1000px;
    margin: 2rem auto;
}

.gallery-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.gallery img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.dark-mode .gallery-section {
    background-color: #333;
}

.dark-mode .gallery-section h2 {
    color: #f0f0f0;
}

.square-logo {
    border-radius: 12px; /* Make corners curved */
}

.dark-mode {
    background-color: #333;
    color: #f0f0f0;
}

.dark-mode .impact-button {
    background-color: #d43f3a;
}

.dark-mode .ngo-card {
    background-color: #444;
}

.dark-mode .connect-button {
    background-color: #16a085;
}

.square-logo { border-radius: 12px; /* Make corners curved */}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
}

.hamburger .bar {
    height: 3px;
    width: 25px;
    background-color: #ecf0f1;
    margin: 4px 0;
    transition: all 0.3s ease;
}

.nav-links.mobile {
    display: none;
    flex-direction: column;
    width: 100%;
}

.nav-links.mobile a {
    padding: 0.5rem;
    text-align: center;
    width: 100%;
    background-color: #2c3e50;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links.mobile.active {
        display: flex;
    }
}

/* Suggestion Section */
.suggestion-section {
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: left;
    max-width: 600px;
    margin: 2rem auto;
}

.suggestion-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.suggestion-section label {
    display: block;
    font-weight: bold;
    margin: 0.5rem 0 0.25rem;
}

.suggestion-section input,
.suggestion-section textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.suggestion-section button {
    padding: 0.75rem 1.5rem;
    background-color: #1abc9c;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.suggestion-section button:hover {
    background-color: #16a085;
}

/* Dark Mode Styles */
.dark-mode .suggestion-section {
    background-color: #444;
    color: #f0f0f0;
}

.dark-mode .suggestion-section input,
.dark-mode .suggestion-section textarea {
    background-color: #333;
    color: #f0f0f0;
    border: 1px solid #777;
}

.dark-mode .suggestion-section input::placeholder,
.dark-mode .suggestion-section textarea::placeholder {
    color: #bbb;
}

.dark-mode .suggestion-section button {
    background-color: #d43f3a;
}

.dark-mode .suggestion-section button:hover {
    background-color: #b52e2a;
}