/* Custom styles to work with Bootstrap */

/* General styles */
:root {
    --primary-color: #ff9900;
    --secondary-color: #141414;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Logo styles */
.navbar-brand img.logo {
    width: 80px;
    height: auto;
    margin-right: 15px;
}

.navbar-brand .brand-text h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.navbar-brand .brand-text h2 {
    font-size: 0.9rem;
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../Images/image2.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* Impact stories */
.impact-stories .card {
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.impact-stories .card:hover {
    transform: translateY(-5px);
}

.impact-stories .card img {
    height: 250px;
    object-fit: cover;
}

/* Get involved section */
.get-involved {
    background-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
}

.social-icons a {
    margin-right: 10px;
    font-size: 1.2rem;
}

.social-icons a:hover {
    opacity: 0.8;
}

/* Custom button styles */
.btn-warning {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-warning:hover {
    background-color: #e68a00;
    border-color: #e68a00;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-brand .brand-text h1 {
        font-size: 1.2rem;
    }
    
    .navbar-brand .brand-text h2 {
        font-size: 0.8rem;
    }
    
    .hero {
        min-height: 60vh;
    }
}

/* Image styles */
.card-img-top {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Program cards */
.program-card {
    height: 100%;
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

/* Contact form */
.contact-form {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

/* Newsletter section */
.subscribe-section {
    background-color: #f8f9fa;
}

/* Donate button */
.donate-btn {
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.donate-btn:hover {
    background-color: #e68a00;
}

/* Fix for Font Awesome icons */
.fa-beat-fade {
    animation: none !important;
}

/* Navigation dropdown */
.dropdown-menu {
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
}

*{
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #130e0e;
    
}
.donorbox{
    align-items: center;
    align-content: center;
    justify-content: center;
    display: flex;
}


a {
    text-decoration: none;
    color: #130e0e;
}
.topbar{
    background-color: #90a6c4;
    color: white;
    padding: 10px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;

}
.top-bar h4 {
    margin: 0;
    font-size: 14px;
}
.social-icons a {
    margin-left: 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
    filter: grayscale(50%);
}
.logo {
    max-width: 200px;
    mix-blend-mode: multiply;
    float: left;


}




.main{

    background-color: #567db4;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%; 
}

.navbar{ 

    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    justify-content: left;
    
    

}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
}
nav ul li a {
    color:white;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, font-size 0.2s  ease, transform 0.2s ease ;
}

nav ul li a:hover {
    color: #130e0e;
    font-size: 1.001em;
    transform: scale(1.02);
}

.donate-btn {
    background-color: #ff9900;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 10px;
}
.donate-btn:hover {
    background-color: #ffcc00;
}
.menu-toggle {
    display: none;
    background-color: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}
.menu-toggle:focus {
    outline: none;
}
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #0047ab;
        width: 100%;
        text-align: center;
    }
  

    nav ul.showing {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }

    .navbar{
        flex-direction: column;
        align-items: flex-start;
    }
}
@media (max-width: 480px) {
    .navbar h1, .navbar h2 {
        font-size: 18px;
        text-align: center;
        margin: 5px 0;
    }

    .logo {
        max-width: 80px;
        
    }

    .topbar {
        flex-direction: column;
    }

    .topbar h4, .social-icons {
        margin-bottom: 5px;
    }
}
.navbar active{
    display: block

    
}



@media (min-width: 768px){
    .navbar{
        display: flex;
    }
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #4A83B0; /* Slightly lighter blue */
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}
.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}



.dropdown:hover .dropdown-content {
    display: block;

}
.hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    height: 100vh; /* Full viewport height */
    overflow: hidden;
    background-size: cover; /* Ensures the image covers the entire area */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents tiling */
}

.hero-text {
    position: relative;
    z-index: 2; /* Ensures the text is above the background */
    padding: 20px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: slideshow 20s infinite;
    z-index: -1; /* Places the images behind the text */
}
.hero-btn {
    padding: 10px 20px;
    font-size: 1.4em;
    color: #ff9900;
    text-decoration: underline;
    font-weight: bolder;
}
.hero-text p {
    font-size: 1.4em;
    font-weight: bolder;

}
.hero-text h1 {
    font-size: 1.8em;
}

@keyframes slideshow {
    0% {
        background-image: url('../Images/podium.jpg');
    }
    25% {
        background-image: url('../Images/speaking.jpg');
    }
    50% {
        background-image: url('../Images/awardsgb.jpg');
    }
    75% {
        background-image: url('../Images/speaking2.jpg');
    }
    100% {
        background-image: url('../Images/samnaward.jpg');
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        height: 70vh; /* Adjusted height for smaller screens */
    }
    
    .hero-text h1 {
        font-size: 1.8em;
    }
    
    .hero-text p {
        font-size: 1.2em;
    }
    
    .hero-btn {
        padding: 10px 20px;
        font-size: 1em;
        color: #ff9900;
        text-decoration: underline;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 60vh; /* Further adjust height for very small screens */
    }
    
    .hero-text h1 {
        font-size: 1.5em;
    }
    
    .hero-text p {
        font-size: 1.2em;
    }
}
.mission {
    background-color: #f2f2f2;
    padding: 50px 20px;
    text-align: center;
}
.mission h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #0047ab;
}
.mission p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2em;
    margin-bottom: 20px;
    line-height: 1.3em;
    letter-spacing: 0.8px;
    font-size: large;
    justify-content: space-between;
}
.learn-more-btn {
    background-color: #ff9900;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 10px;
    transition: background-color 0.2s;
}
.learn-more-btn:hover {
    background-color: #ffcc00;
    
    
    transform: scale(1.02);
}
.impact-stories {
    padding: 50px 20px;
}

.impact-stories h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #0047ab;
}

.story {
    text-align: center;
    max-width: 300px;
    margin: 0 auto 30px;
}
.story img{
    width: 100%;
    border-radius: 5px;
}
.story h3 {
    margin: 15px 0;
    font-size: 1.5em;
    color: #333;
}
.readmore {
    color: #ff9900;
    font-weight: bolder;
    text-decoration: underline;

}.get-involved {
    background-color: #f2f2f2;
    text-align: center;
    padding: 50px 20px;
}

.get-involved h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #0047ab;
}

.get-involved p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.get-involved .donate-btn {
    background-color: #ff9900;
    color: white;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 10px;
    transition: background-color 0.2s;
}
.get-involved .donate-btn:hover {
    background-color: #ffcc00;
    
    transform: scale(1.02);
    
}



.subscribe-section {
    background-color: #90a6c4;
    color: white;
    text-align: center;
    padding: 10px 10px;
    border-radius: 2px;
    
}
.subscribe-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
}
.subscribe-section p {
    font-size: 1.2em;
    margin-bottom: 20px;
}
#subscribe-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 10px;
    
}

#subscribe-form input[type="email"] {
    padding: 10px;
    font-size: 1em;
    border-radius: 10px;
    border: none;
    flex: 1;
}
.subscribe-btn {
    background-color: #ff9900;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.subscribe-btn:hover {
    background-color: #ffcc00;

    
    transform: scale(1.02);
}


footer {
    background-color: #1E3A5F;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        padding: 15px 0;
    }

    .social-icons {
        justify-content: center;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 20px 10px;
    }

    .footer-section h3 {
        font-size: 1.2em; /* Reduce font size for better readability on smaller screens */
    }

    .footer-section p, 
    .footer-section ul {
        font-size: 0.9em; /* Adjust text size */
    }

    .social-icons a {
        font-size: 20px; /* Make social icons slightly larger for touchscreens */
    }

    .footer-bottom {
        padding: 10px;
    }
}
@media (max-width: 1024px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        padding: 15px 10px;
        min-width: 100%; /* Take full width of the screen */
    }

    .footer-section h3 {
        font-size: 1.5em; /* Slightly larger for easier readability on tablets */
    }

    .footer-section p,
    .footer-section ul li {
        font-size: 1em; /* Keep text readable */
    }

    .social-icons {
        justify-content: center;
        margin-top: 10px;
    }
}
@media (max-width: 320px) {
    .footer-section h3 {
        font-size: 1.1em; /* Reduce further for very small screens */
    }

    .footer-section p,
    .footer-section ul li {
        font-size: 0.8em;
    }

    .social-icons a {
        font-size: 18px; /* Standard size for very small screens */
    }

    .footer-bottom {
        padding: 8px;
    }
}

.join-now {
    margin-top: 30px;
}

.join-btn {
    background-color: #ff9900;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
}

.join-btn:hover {
    background-color: #ffcc00;
}


/* Sidebar Styling */
.sidebar {
    position: fixed;
    top: 0;
    left: -300px; /* Initially hidden off-screen */
    width: 300px;
    height: 100%;
    background-color: #567db4; /* Dark blue color */
    color: white;
    z-index: 1500; /* Higher than other elements */
    transition: left 0.4s ease; /* Smooth slide-in effect */
    padding-top: 60px; /* To avoid overlap with top elements */
    overflow-y: auto; /* Allow scrolling if content exceeds height */
}

/* Sidebar content (links) */
.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Light border to separate items */
}

.sidebar ul li a {
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar ul li a:hover {
    color: #ffcc00; /* Hover effect */
}

/* Close button for the Sidebar */
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}

/* Styling the menu-toggle button */


/* Overlay for Mobile Screens */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1400;
    transition: opacity 0.3s ease;
}

/* Footer Styles */
footer {
    background-color: #567db4; /* Dark blue background to match the theme */
    color: white;
    padding: 40px 0;
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    padding: 15px;
    min-width: 250px;
}

.footer-section h3 {
    color: black; /* Contrasting yellow color for headers */
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section p, 
.footer-section ul {
    margin: 0;
    padding: 0;
}

.footer-section ul {
    list-style-type: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #130e0e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffcc00; /* Match the hover color with the section headers */
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
    font-size: 18px;
    color: white;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1); /* Slightly increase the size on hover */
    color: #ffcc00; /* Change color to match headers */
}

.footer-bottom {
    background-color:  #90a6c4; 
    color: whitesmoke; 
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}
.copy{
    color: black;
}
.footer-bottom p {
    margin: 0;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }

    .footer-section {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}


