body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
    color: #333;
}

header {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.5s ease;
}

header:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.1);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    background-color: #007bff;
    transform: scale(1.05);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: background-color 0.3s;
}

.hamburger:hover span {
    background-color: #ffdd57;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 100%;
        right: 0;
        width: 200px;
        text-align: center;
        animation: fadeIn 0.5s ease;
    }
    
    nav ul.show {
        display: flex;
    }
}

.hero {
    background: url('https://images.unsplash.com/photo-1517466787923-f1d74e3be247?auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    animation: slideIn 1s ease;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: fadeInUp 0.6s ease forwards;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease forwards;
}

.cta-btn {
    background-color: #007bff;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.content-section {
    padding: 80px 20px;
    text-align: center;
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #007bff;
}

.content-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.ngos {
    padding: 60px 20px;
    background-color: #f4f4f9;
    text-align: center;
}

.ngos h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.ngo-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.ngo {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    max-width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.ngo:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.ngo h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.ngo p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.connect-btn {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.connect-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body, html {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

body {
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
}

header {
    background-color: #007bff;
    padding: 20px;
    color: white;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.5s ease;
}

header:hover {
    background-color: #0056b3;
}

header .logo {
    font-size: 2rem;
    font-weight: bold;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #ffdd57;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background-color: white;
    margin: 4px 0;
    transition: background-color 0.3s;
}

.hamburger:hover span {
    background-color: #ffdd57;
}

@media (max-width: 768px) {
    header nav ul {
        display: none;
        flex-direction: column;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    header nav ul.show {
        display: flex;
        animation: slideDown 0.5s ease forwards;
    }
}

.hero {
    background: url('ngo2.jpeg') center/cover no-repeat;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeIn 1s ease;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); 
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    color: white;
    text-align: center;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInUp 0.6s ease forwards;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease forwards;
}

.btn {
    background-color: #ffdd57
    ;
    color: #333;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background-color: #ffd700;
    transform: scale(1.05);
}

.content-section {
    padding: 60px 20px;
    text-align: center;
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #007bff;
}

.content-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.ngos {
    padding: 60px 20px;
    background-color: #f4f4f9;
    text-align: center;
}

.ngos h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #007bff;
}

.ngo-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.ngo {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    max-width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.ngo:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.ngo h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #333;
}

.ngo p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.connect-btn {
    background-color: #ffdd57;
    color: black;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.connect-btn:hover {
    background-color: #ffdd57;
    transform: scale(1.05);
}

about-heading {
    color: #ffdd57
}

footer {
    background-color: #007bff;
    color: black;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer p {
    margin: 0;
}

#map-container {
    height:1000px
}

.highlight {
    color: #ffdd57;
    font-weight: bold;
}

@keyframes slideIn {
    from {
        transform: translateY(-50%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
