﻿

html, body, form {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    font-family: Arial, Helvetica, sans-serif, Arial, sans-serif !important;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
}

.wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
}
form {
    height: 100%;
    display: flex;
    flex-direction: column;
}


.our_impact {
    font-size:2.5rem;
    letter-spacing:4px;
    font-weight:bold;
}

p {
    
}

.cfd-campaign {
    font-weight: bold;
    margin-top: 0;
}

.top-bar {
    background-color: #4CAF50;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.top-bar .social-icons {
    display: inline-flex;
    gap: 10px;
    font-size: 18px;
}

.top-bar .social-icons a {
    color: white;
}


.social-links {
    transition: transform 0.3s ease;
}

    .social-links:hover {
        transform: scale(1.1);
    }

.top-bar .follow-us {
    font-size: 16px;
    color: white;
    margin-bottom: 5px;
}

header {
    background-color: white;
    /* White background */
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    header .navbar {
        flex-grow: 1;
    }

    header .logo {
        width: 350px;
        max-height: 150px;
    }





.nav-link:hover {
    color: #007bff;
}


.navbar {
    padding: 20px;
}

.navbar-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    flex-grow: 3; /* Allows the navbar items to spread out */
    justify-content: flex-end;
    font-size: x-large;
}

    .navbar-nav .nav-item {
        margin-right: 20px; /* Adjust the spacing as needed */
    }

    .navbar-nav .dropdown-menu {
        min-width: 200px; /* Adjust dropdown width */
    }


.topnav a {
    color: white;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    display: block;
}

    /* Style the hamburger menu */
    .topnav a.icon {
        background: black;
        display: block;
        position: absolute;
        right: 0;
        top: 0;
    }


/* Style the active link (or home/logo) */
.active {
    background-color: #04AA6D;
    color: white;
}

.navbar-nav .nav-item {
    margin: 0;
}



.our_impact {
    font-size:2.5rem;
    letter-spacing:4px;
    font-weight:bold;
}




.navbar-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    gap: 15px;
}

.hero {
    background: url('../images/landingimage.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    color: white;
    padding: 100px 20px;
    text-align: center;
    border-radius: 10px;
    min-height: 750px;
    position: relative;
}

    .hero::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.3));
        border-radius: 10px;
    }

    .hero h1, .hero p, .hero button {
        position: relative;
        z-index: 1;
    }

    .hero button {
        margin-top: 20px;
        padding: 15px 30px;
        border: none;
        border-radius: 5px;
        background: #4CAF50;
        color: #fff;
        font-size: 20px;
        transition: all 0.3s ease;
    }

        .hero button:hover {
            transform: scale(1.1);
            background-color: #3a9e41;
        }

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
}

.content-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    background-color: white;
    padding: 20px;
    font-size: xx-large;
}

.text-content {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}





.content-section h1 {
    color: #263e8f;
    margin-bottom: 20px;
}

.content-section h2 {
    color: #263e8f;
    margin-bottom: 20px;
}

.content-section p {
    font-size: 28px;
    line-height: 1.6;
}



.campaign-link {
    margin-top: 20px;
}

.campaign-link a {
    display: inline-block;
    background-color: #263e8f;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.campaign-link a:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.carousel-caption {
    background: rgba(255, 255, 255, 0.5); /* Glass effect */
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    color: #333;
    position: absolute;
    top: 10px;
    right: 10px; /* Align explicitly to the top-right */
    transform: translate(0, 0); /* Remove any centering translations */
    max-width: 40%;
    min-height: 120px;
    z-index: 10;
    margin-left: 50%;
    max-height: fit-content;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
}

    .carousel-caption:hover {
        transform: translateY(-5px);
    }

#carousel {
    position: relative;
}

.carousel-inner {
    position: relative;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
}

.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    min-height: 500px;
    max-height: 500px;
}

#headline-controls {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

    #headline-controls i {
        font-size: 20px;
        margin: 0 5px;
        cursor: pointer;
        color: #ccc;
    }

        #headline-controls i.on {
            color: #007bff;
        }

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}


#headline-controls i:hover {
    color: #0056b3;
}

.report-button {
    margin-top: 20px;
    display: block;
    text-align: center;
}

    .report-button button {
        background-color: #263e8f;
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        font-size: 16px;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.3s ease;
    }

        .report-button button:hover {
            background-color: #0056b3;
            transform: scale(1.1);
        }


.spacing {
    margin-top: 20px;
}

.spacing-carousel {
    margin-top: 50px;
}

.impact-container {
    padding: 20px 0;
}

    .impact-container h2 {
        text-align: center;
        margin-bottom: 20px;
        color: #263e8f;
        font-weight: bold;
    }

.impact {
    text-align: center;
}


    /* Animated Impact Stats */
    .impact .number {
        font-size: 48px;
        font-weight: bold;
        color: #4CAF50;
        animation: countUp 2s ease-out;
    }




.carousel-container {
    margin: 0;
}

.events-link {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .events-link a {
        color: #007bff;
        text-decoration: none;
        font-size: 18px;
    }

        .events-link a:hover {
            text-decoration: underline;
        }

.sponsors-section {
    margin-top: 20px;
    padding: 20px;
    background-color: #ffffff;
    text-align: center;
}

    .sponsors-section h2 {
        color: #263e8f;
        font-style: italic;
        margin-bottom: 10px;
    }

.sponsor-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .sponsor-logos img {
        max-width: 150px;
        height: 150px;
        object-fit: contain;
        margin: 0;
    }

footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px;
    width: 100%;
    margin: 0;
    font-size: 18px
}



    footer a {
        color: white;
        font-size: 18px;
        text-decoration: underline;
    }

    footer .social-icons {
        margin-top: 10px;
        display: flex;
        justify-content: center;
        gap: 15px;
    }

        footer .social-icons a {
            font-size: 24px;
            color: white;
            transition: color 0.3s ease;
        }

            footer .social-icons a:hover {
                color: #007bff;
            }

.video-container {
    width: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
}




@keyframes countUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 992px) {
    .content-section {
        flex-direction: column;
    }

    .text-content {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 1168px) {
    .content-section .row {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .content-section .col-10 {
        order: 1; /* Text first */
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center; /* Centers text content */
    }

        .content-section .col-10 .text-content {
            max-width: 90%; /* Restricts text width for better readability */
        }

    .content-section .col-2 {
        order: 2; /* Moves video below */
        width: 100%;
        display: flex;
        justify-content: center; /* Centers video */
        margin-top: 20px;
    }

    .video-container {
        width: 100%;
        max-width: 600px; /* Ensures the video doesn’t stretch too much */
    }
}

@media (max-width: 768px) {
    .impact-container h2 {
        font-size: 20px; /* Make title smaller */
        text-align: center;
    }

    .impact-container .d-flex {
        flex-direction: column; /* Stack impact items vertically */
        align-items: center;
        text-align: center;
    }

    .impact {
        margin-bottom: 15px; /* Add spacing between each impact item */
    }

        .impact .number {
            font-size: 28px; /* Reduce number size */
            font-weight: bold;
        }

        .impact p {
            font-size: 16px; /* Reduce text size for better readability */
        }

    .report-button button {
        font-size: 14px; /* Make button text smaller */
        padding: 10px 15px; /* Adjust button size */
    }
}

@media (max-width: 768px) {
    .sponsors-section h2 {
        font-size: 20px; /* Reduce title size */
        text-align: center;
    }

    .sponsor-logos {
        display: flex;
        flex-wrap: wrap;
        justify-content: center; /* Centers the logos */
        align-items: center;
        gap: 15px; /* Add spacing between logos */
    }

        .sponsor-logos img {
            max-width: 120px; /* Reduce logo size */
            height: auto;
        }

        .sponsor-logos div {
            display: none; /* Hides empty spacing divs */
        }
}
