* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} 
image-carousel
body {
    font-family: Arial, sans-serif;
    background-color: #eafbea;
}
header {
    background: #2e7d32;
    color: white;
    padding: 15px 20px;
    text-align: center;
}
/* Navbar Base Styles */
  /* Navbar Base Styles */
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #388e3c;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Left Side - Logo */
.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 15px;
    transition: 0.3s;
}

.nav-links a:hover {
    background: #1b5e20;
    border-radius: 5px;
}

/* Donate Button */
.donate-btn {
    background: #ffcc00;
    color: #1b0b0b;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.donate-btn:hover {
    background: #ffeb3b;
}

/* Right Side */
.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Hide Menu Icon by Default */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

/* 🔥 Mobile View Adjustments 🔥 */
@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        background: #388e3c;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 10px 0;
        /* 🔥 Instead of display: none, use this */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links li {
        text-align: left;
        padding: 10px 0px;
        margin-left:10px;
    }

    /* Show Hamburger Menu */
    .menu-toggle {
        display: block;
    }

    /* 🔥 Mobile: Donate Now FIRST, Menu Icon SECOND */
    .nav-right {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .donate-btn {
        order: 1; /* Moves Donate Now to first position */
    }

    .menu-toggle {
        order: 2; /* Moves menu icon next to Donate Now */
    }

    /* Hide Donate Button in Menu */
    .desktop-donate {
        display: none;
        
    }
}

/* 🔥 Desktop View: Donate Button Next to Contact */
@media (min-width: 769px) {
    .nav-right {
        display: none;
    }

    .desktop-donate {
        display: block;
    }
}

/* home section */
.home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 10%;
    background: linear-gradient(to right, #0f6b2c, #157d3c);
    color: white;
    min-height: 80vh;
}

/* Left Content */
.home .content {
    max-width: 50%;
}

.home h1 {
    font-size: 42px;
    font-weight: bold;
    line-height: 1.3;
}

.home h1 span {
    color: #ffcc00;
    text-decoration: underline;
}

.home p {
    font-size: 18px;
    margin: 15px 0;
    max-width: 500px;
}

.home .buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s;
    margin-top: 40px;
}

.btn.donate {
    background: #ffcc00;
    color: black;
}

.btn.donate:hover {
    background: #ffeb3b;
}

.btn {
    background: white;
    color: #0f6b2c;
    border: 2px solid white;
}

.btn:hover {
    background: #0f6b2c;
    color: white;
}

/* Right Side Image */
.home .image {
    max-width: 55%;
    height: 50%;
    overflow: hidden;
    border-radius: 0 0% 10% 0;
}

.home .image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0 0% 0% 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .home {
        flex-direction: column;
        text-align: center;
        padding: 40px 5%;
    }

    .home .content {
        max-width: 100%;
    }

    .home .buttons {
        justify-content: center;
    }

    .home .image {
        max-width: 100%;
        border-radius: 15px;
    }
    .home .image:hover{
        transform: translateY(-10px); 
    }
}



/* About Us Section */
.about {
    background: white;
    padding: 80px 10%;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

/* About Text */
.text {
    flex: 1;
    max-width: 50%;
    text-align: left;
}

.text h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
}

.text p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.btn {
    background: #4CAF50;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s;
    display: inline-block;
}

.btn:hover {
    background: #388E3C;
}

/* Carousel */
.image-carousel {
    flex: 1;
    max-width: 45%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.carousel-container {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
}

/* Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: gray;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.carousel-indicators button.active {
    background-color: black;
}


.indicator {
    width: 12px;
    height: 12px;
    background: gray;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: 0.3s;
}

.indicator.active {
    background: #4CAF50;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about {
        padding: 60px 5%;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .text {
        max-width: 100%;
        text-align: center;
    }

    .image-carousel {
        max-width: 100%;
    }
}


/* About Us Section */
.about-us {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background-color: #fafafa;
}


.about-us-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 20px;
    flex-wrap: wrap;
    gap: 30px;
}


.owner-image {
    flex: 1 1 350px;
    text-align: center;
}

.owner-image img:hover {
    transform: translateY(-5px); 
}
.owner-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}


.about-text {
    flex: 2 1 500px;
    text-align: left;
}


.about-text h2 {
    font-size: 2.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}
.about-text h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1307f1;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}


.know-more-btn {
    padding: 12px 25px;
    background-color: #007bff;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}


.know-more-btn:hover {
    background-color: #0056b3;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}


@media screen and (min-width: 768px) {
    .owner-image img {
        max-width: 400px;   /* Slightly larger image for desktop */
    }
}


/* Mobile View */
@media screen and (max-width: 767px) {
    .owner-image img {
        max-width: 100%;   /* Full width on small screens */
    }




    .owner-image {
        margin-bottom: 5px;
    }


    .about-text {
        padding-left: 0;
        text-align: center;
    }


    .about-text h2 {
        font-size: 1.8rem;
    }


    .about-text p {
        font-size: 1rem;
    }


    .know-more-btn {
        padding: 10px 20px;
    }
}




/* Our Mission Section */
.mission {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 10%;
    background: #f4f4f4;
}
.mission-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}
.text {
    max-width: 50%;
    text-align: left;
}
.text h2 {
    font-size: 40px;
    margin-bottom: 15px;
    text-align: left;
}
.text p {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: left;
}
.text ul {
    list-style: none;
    padding: 0;
}
.text ul li {
    font-size: 20px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    text-align: left;
}
.text ul li i {
    color: #4CAF50;
    font-size: 26px;
    margin-right: 15px;
}
.progress-container {
    max-width: 45%;
}
.progress-box {
    margin-bottom: 15px;
}
.progress-box span {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
}
.progress-bar {
    width: 100%;
    background: #ddd;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
}
.progress {
    height: 100%;
    transition: width 1.5s ease-in-out;
}
.food { background: #4CAF50; }
.education { background: #FFC107; }
.healthcare { background: #2196F3; }
.welfare { background: #FF5722; }
@keyframes progressMove {
    0% { transform: translateX(0); }
    50% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}

.progress {
    height: 100%;
    transition: width 1.5s ease-in-out;
    animation: progressMove 1s infinite alternate ease-in-out;
}

@media (max-width: 768px) {
    .mission-content {
        flex-direction: column;
        text-align: center;
    }
    .text {
        max-width: 100%;
        text-align: center;
    }
    .text ul li {
        justify-content: center;
    }
    .progress-container {
        max-width: 100%;
    }
}
/* our services */
/* Our Services Section */
.our-services {
    text-align: center;
    padding: 80px 10%;
    background: #f9f9f9;
}
.our-services h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
}
.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
/* .service-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
} */
.service-box:hover {
    transform: translateY(-5px);
}
.service-icon {
    font-size: 50px;
    color: #4CAF50;
    margin-bottom: 10px;
}
.service-box h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}
.service-box p {
    font-size: 16px;
    color: #666;
}
@media (max-width: 768px) {
    .service-container {
        grid-template-columns: 1fr;
    }
}

.service-box {
    text-align: center;
    background: #f0f8f0;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 450px; /* Thumbnail width */
    margin: auto;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 250px; /* Thumbnail height */
    object-fit: cover; /* Crop image like YouTube thumbnail */
    border-radius: 10px;
}

.service-content {
    padding: 15px;
}

h3 {
    font-size: 20px;
    color: #2e7d32;
    margin-bottom: 8px;
}

p {
    font-size: 14px;
    color: #555;
}


/* our gallary */
.our-gallery {
    text-align: center;
    padding: 50px 0;
    background: #f4f4f4; /* Light gray background for a clean look */
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-items: center;
}

.gallery-item {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    background: white;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 350px; /* Ensure fixed height for all cards */
}

/* IMAGE FIX - Full image should be visible */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* No crop, full image visible */
    border-radius: 10px;
}

/* Apply same styling for video & iframe */
.gallery-item video,
.gallery-item iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* YouTube Embed - Responsive */
.youtube {
    position: relative;
    width: 100%;
    max-width: 350px;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
    height: 0;
    border-radius: 10px;
    overflow: hidden;
}

.youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}


/* testimonials section */
.testimonials {
    padding: 80px 10%;
    text-align: center;
}

.testimonials h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #2E7D32;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.testimonial {
    background: white;
    color: #333;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.testimonial img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #4CAF50;
    margin-bottom: 15px;
}

.testimonial p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.testimonial h4 {
    font-size: 20px;
    font-weight: bold;
    color: #2E7D32;
}

.testimonial span {
    font-size: 14px;
    color: #777;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonial-container {
        flex-direction: column;
        align-items: center;
    }
}

/* our team */

.our-team {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
}
.our-team h2 {
    font-size: 36px;
    margin-bottom: 20px;
}
.team-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.team-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 320px;
}
.team-card img {
    width: 100%;
    border-radius: 10px;
}
.team-card h3 {
    font-size: 24px;
    margin: 10px 0;
}
.team-card p {
    font-size: 18px;
    color: gray;
}

/* get invlolved section */

.get-involved {
    text-align: center;
    padding: 80px 10%;
    background: #41c338;
}
.section-title {
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
}
.involved-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}
.involved-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 30%;
    transition: transform 0.3s;
}
.involved-box:hover {
    transform: translateY(-5px);
}
.involved-box i {
    font-size: 40px;
    color: #4CAF50;
    margin-bottom: 15px;
}
.involved-box h3 {
    font-size: 24px;
    margin-bottom: 10px;
}
.involved-box p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}
.btn {
    display: inline-block;
    padding: 12px 25px;
    background: #4CAF50;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}
.btn:hover {
    background: #388E3C;
}

@media (max-width: 768px) {
    .involved-container {
        flex-direction: column;
        align-items: center;
    }
    .involved-box {
        width: 100%;
    }
}

/* campaign section */

.campaigns {
    padding: 80px 10%;
    background: #f9f9f9;
    text-align: center;
}
.section-title {
    font-size: 36px;
    margin-bottom: 10px;
    color: #333;
}
.section-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    color: #666;
}
.campaign-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.campaign-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.campaign-card:hover {
    transform: translateY(-5px);
}
.campaign-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.campaign-content {
    padding: 20px;
}
.campaign-content h3 {
    font-size: 24px;
    color: #333;
}
.campaign-content p {
    font-size: 16px;
    color: #666;
    margin: 15px 0;
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}
.btn:hover {
    background: #388E3C;
}

/* contact us */

/* Contact Section Styles */
.contact-section {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
}

.contact-container {
    max-width: 500px;
    margin: auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form button {
    background: #28a745;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.contact-form button:hover {
    background: #218838;
}

/* Responsive Design */
@media (max-width: 600px) {
    .contact-container {
        width: 100%;
    }
}
/* 🔥 Map Styling */
.map-container {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 10px;
}

/* ✅ Responsive Design */
@media (max-width: 768px) {
    .contact-section {
        padding: 40px 5%;
    }

    .contact-form {
        padding: 15px;
    }

    .contact-form button {
        font-size: 16px;
    }
}


/* footer section */

/* Footer Styling */
.footer {
    background: #1b1b1b;
    color: white;
    padding: 50px 10%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo h2 {
    font-size: 24px;
    color: #4CAF50;
}

.footer-logo p {
    font-size: 16px;
    margin-top: 10px;
    color:white;
}

.footer-links,
.footer-contact,
.footer-social {
    flex: 1;
    min-width: 200px;
    
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #4CAF50;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    transition: 0.3s;
}


.footer-links ul li a:hover {
    color: #4CAF50;
}

.footer-contact p {
    font-size: 16px;
    margin: 5px 0;
    color:white;
}

.footer-contact i {
    color: #4CAF50;
    margin-right: 10px;
}

.footer-social .social-icons {
    display: flex;
    gap: 15px;
}

.footer-social .social-icons a {
    color: white;
    font-size: 20px;
    transition: 0.3s;
}

.footer-social .social-icons a:hover {
    color: #4CAF50;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #444;
    padding-top: 15px;
    font-size: 14px;
}
.footer-rights {
color:white;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-social .social-icons {
        justify-content: center;
    }
}


/* donation page css styling */

