*{
    forced-color-adjust: none;
}
/* General Styles */
body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    width: 100%;
}

/* Hero Section */
.hero {
    background: no-repeat center cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

/* Donation Section */
.donate-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f9fa;
}

.donate-section img {
    width: 200px;
    margin-top: 20px;
}

/* Navbar */
.navbar-toggler {
    position: relative;
    right: 0;
    margin-left: auto; /* Ensures it stays on the right */
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
    }

    .navbar-toggler {
        right: 10px;
    }}
    @media (max-width: 576px) {
        .navbar-brand span {
            font-size: 14px; /* Reduce font size */
            max-width: 90%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
    }



.navbar-brand {
    font-size: 2rem;
    font-weight: bold;
    }     
    

.logo {
    width: 60px;  /* Adjust size as needed */
    height: 60px;
    margin-right: 10px; /* Space between logo and NGO name */
    border-radius: 50%; /* Makes the logo round (optional) */
    background-color: white;
    object-fit: contain;
}
/* Menu Button Styling */
.navbar .btn-outline-light {
    color: black; /* Black text */
    background-color: white; /* White background */
    border-color: white;
    font-weight: bold;
    font-size: 18px;
    padding: 5px 20px;
    transition: all 0.3s ease-in-out;
}

/* Hover Effect */
.navbar .btn-outline-light:hover {
    background-color: black; /* Black background */
    color: white; /* White text */
    border-color: black;
}

/* Fix When Menu Button is Clicked (Active/Focus State) */
.navbar .btn-outline-light:focus, 
.navbar .btn-outline-light:active,
.navbar .btn-outline-light.show {
    background-color: white !important; /* Keep white background */
    color: black !important; /* Keep black text */
    border-color: white !important;
    box-shadow: none !important; /* Remove Bootstrap default focus shadow */
}

/* Fix dropdown menu styling */
.dropdown-menu-dark {
    background-color: #343a40; /* Dark dropdown */
}

.dropdown-menu-dark .dropdown-item {
    color: white;
}

.dropdown-menu-dark .dropdown-item:hover {
    background-color: #495057; /* Slightly lighter hover effect */
}


/* Hero Section */
#hero {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: background-image 1s ease-in-out;
}

/* Dark Overlay to Make Text More Readable */
#hero .overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
}

/* Hero Content Styling */
.hero-content h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 20px;
}

/* Button Styling */
.hero-content .btn-warning {
    font-size: 18px;
    padding: 10px 20px;
    font-weight: bold;
}

/* about NGO */
#about-ngo {
    background: white;
    color: #222;
    padding: 60px 20px;
    text-align: center;
}

.ngo-description {
    font-size: 1.2em;
    font-family: Arial;
    max-width: 100%;
    margin: 0 auto 20px;
    line-height: 1.6;
    text-align: justify;
}
.highlight {
    font-weight: bold; /* Makes it bold */
    font-size: 1em;
    font-family: Arial;

}


.read-more-btn {
    display: inline-block;
    background: #ffa500;
    color: #fff;
    padding: 10px 20px;
    font-size: 1.1em;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.read-more-btn:hover {
    background: #ff8c00;
}


/* ngo intro video */
.ngo-intro-video {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.ngo-intro-video video {
    width: 80%;
    max-height: 500px;
    object-fit: cover;
}

#muteButton {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

#muteButton:hover {
    background: rgba(0, 0, 0, 0.9);
}

/* ongoing programs */
#programs {
        background: white; /* Dark gradient */
        padding: 30px;
        text-align: center;
}
#programs h2 {
    color: #ff6600; /* Bright orange to match your theme */
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ff6600, #ff9933); /* Subtle gradient */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.program h3 {
    color: #222; /* Dark color for contrast against white */
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.program-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.program {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa; /* Light gray background */
    color: #333; /* Dark text for readability */
    padding: 20px;
    border-radius: 8px;
    gap: 20px;
    width: 100%;
    max-width: 900px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Soft shadow */
}

.program-text {
    flex: 1;
    text-align: left;
    padding-right: 20px;
    width: 60%;
}

.program-images {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.program-images img {
    width: 200px;
    height: auto;
    border-radius: 8px;
    border: 2px solid #ddd; /* Light border around images */
}

@media (max-width: 768px) {
    .program {
        flex-direction: column; /* Stack image and text */
        align-items: center; /* Center content */
        text-align: center; /* Ensure proper alignment */
    }
    .ongoing-text, .program-text {
        width: 100%; /* Prevents it from being squeezed */
    }

    .program-images {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .program-images img {
        max-width: 80%;
    }
}


/* our programs */
#our-programs {
    background: #1a1a1a;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: white;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.program-card {
    background: #222;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(255, 165, 0, 0.3);
    transition: transform 0.3s;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.program-card h3 {
    margin: 15px 0 10px;
    font-size: 1.4em;
    color: #ffa500;
}

.program-card p {
    font-size: 1em;
    color: #ccc;
}

/* support button */
#support-section {
    background: #f8f9fa; /* Light background */
    text-align: left;
    padding: 40px;
    margin: 20px auto;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#support-section h2 {
    color: #222;
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: bold;
}

#support-section p {
    color: #444;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.support-btn {
    display: inline-block;
    background: #007bff; /* Blue color for a fresh look */
    color: white;
    padding: 14px 24px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.support-btn:hover {
    background: #0056b3; /* Darker blue on hover */
}


/* latest video on youtube */
#videos {
    text-align: center;
    padding: 20px;
    background-color: #111; /* Matches your dark theme */
    color: white;
}

.video-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.video-container iframe {
    width: 30%;
    min-width: 300px;
    height: 200px;
    border-radius: 8px;
}

/* Footer */
footer {
    background-color: #121212; /* Dark theme */
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* NGO Logo, Name & About */
.footer-section.brand {
    display: flex;
    align-items: flex-start;
    text-align: left;
    max-width: 600px;
}

.footer-section.brand img {
        width: 70px;
        height: 70px;
        margin-right: 15px;
        flex-shrink: 0;
        
        /* Add a circular frame */
        background-color: whitesmoke;
    
        border-radius: 50%; /* Circular shape */
        border: 2px solid rgba(255, 255, 255, 0.3); /* Soft border */
}


.brand-text {
    max-width: 500px;
}

.brand-text h2 {
    font-size: 22px;
    color: orange;
    margin: 0;
}

.brand-text p {
    font-size: 14px;
    margin-top: 5px;
}

/* Social Media Icons Below Name */
.social-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    display: inline-block;
    margin: 5px;
    font-size: 24px;
    color: white;
    transition: 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    color: orange;
}

/* Quick Links & Contact */
.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 20px;
}

.footer-section h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: orange;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

/* Footer Bottom */
.footer-bottom {
    background-color: #0d0d0d;
    padding: 15px;
    font-size: 14px;
    margin-top: 10px;
}