body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    font-size: 1.4rem; 
    padding: 0;
    background-color: #f3f3f3;
    color: #333;
}

.top-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #222;
    color: white;
    padding: 1rem;
    text-align: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.logo img {
    max-width: 80px;
    margin-right: 10px;
}

.top-bar .logo {
    font-size: 1.7rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0a7304;
    padding: 1rem 2rem;
    z-index: 1000;
    position: relative;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    z-index: 1100;
}

#mobile-menu {
    display: none;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    #mobile-menu {
        display: block;
    }

    #nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #0a7304;
    }

    #nav-links.active {
        display: flex;
    }
}

.hamburger div {
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease-in-out;
}

.hamburger.open div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open div:nth-child(2) {
    opacity: 0;
}

.hamburger.open div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 500;
}

.nav-links li a:hover {
    color: #fdb827;
}

.donate-btn {
    background: #fdb827;
    color: white;
    padding: 0.7rem 1.5rem;
    border: none;
    cursor: pointer;
    font-size: 1.6rem;
    border-radius: 5px;
}

.hero {
    margin-top: 80px;
    background: url('Jdpc pics/Front.jpg') no-repeat center center/cover;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 10px;
}

.hero-content h1 {
    font-size: 2.5rem;
}

.hero-buttons .btn-primary, .hero-buttons .btn-secondary {
    margin: 1rem;
    padding: 0.7rem 1.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
}

.btn-primary {
    background: orange;
    color: white;
}

.btn-secondary {
    background: white;
    color: #333;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: #0a7304;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        text-align: center;
        padding: 10px 0;
    }

    .nav-links.active {
        display: flex;
    }
}

.vision-mission {
    text-align: center;
    padding: 50px 20px;
    background-color: #f5f5f5;
}

.vision-mission .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}

.vision, .mission {
    max-width: 500px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.vision:hover, .mission:hover {
    transform: scale(1.05);
    background: #ffcc00;
    cursor: pointer;
    color: #0a7304;
}

.core-values {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
}

.values-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.value-circle {
    background: white;
    color: #333;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, background 0.3s;
}

.value-circle:hover {
    transform: translateY(-5px);
    background: #ffcc00;
    cursor: pointer;
}

.significance {
    text-align: center;
    padding: 20px;
}

.partners {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
}

.partners img {
    height: 120px;
    object-fit: contain;
    transition: transform 0.3s ease;
    max-width: 100%;
}

.partners img:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .partners {
        justify-content: center;
    }

    .partners img {
        height: 100px;
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .partners {
        gap: 10px;
    }

    .partners img {
        height: 80px;
    }
}

footer {
    background-color: #222;
    color: white;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

.footer-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.foot-img img {
    width: 120px;
    height: auto;
}

.footer-details {
    max-width: 800px;
    text-align: left;
}

.footer-details p,
.footer-details a {
    margin: 8px 0;
    font-size: 1rem;
    color: #ddd;
}

.footer-details a:hover {
    color: #ffcc00;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-details {
        text-align: center;
    }

    .foot-img {
        margin-bottom: 1rem;
    }
}

/* Updated Styles for Humanitarian Impact Section with Slideshow */
.humanitarian-impact {
    padding: 50px 20px;
    background: linear-gradient(135deg, #f9f9f9, #e8f0e8);
    text-align: center;
}

.humanitarian-impact h2 {
    font-size: 2.5rem;
    color: #0a7304;
    margin-bottom: 2rem;
}

.impact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.impact-text {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.impact-text:hover {
    transform: translateY(-5px);
}

.impact-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.impact-slideshow {
    flex: 1;
    min-width: 300px;
    position: relative;
    max-width: 600px;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 1.2rem;
    border-radius: 0 0 15px 15px;
    line-height: 1.4;
}

.dots-container {
    text-align: center;
    margin-top: 20px;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.dot.active {
    background-color: #0a7304;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1.2s ease-out forwards;
}

.slide-in {
    opacity: 0;
    animation: slideIn 1.3s ease forwards;
}

.fade {
    animation: fade 1.5s ease-in-out;
}

@media (max-width: 768px) {
    .impact-content {
        flex-direction: column;
        align-items: center;
    }

    .impact-slideshow {
        max-width: 100%;
    }

    .slideshow-container {
        height: 300px;
    }

    .caption {
        font-size: 1rem;
        padding: 10px;
    }

    .dot {
        height: 12px;
        width: 12px;
    }
}

.advertisement-section {
    padding: 60px 20px;
    background-color: #fef6f0;
    border-top: 2px solid #e6a95c;
    border-bottom: 2px solid #e6a95c;
}

.advertisement-section .container {
    max-width: 1100px;
    margin: auto;
}

.advertisement-section h2 {
    color: #cc5500;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.advertisement-section h3 {
    color: #444;
    margin-top: 25px;
}

.advertisement-section ul {
    list-style-type: disc;
    padding-left: 20px;
}

.advertisement-section p, .advertisement-section li {
    font-size: 1rem;
    line-height: 1.6;
}