/* Global styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden; /* Hide horizontal overflow */
}
.containers {
    margin: 100px auto;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* transparent background */
    padding: 40px;
    border-radius: 20px;
    /* box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); */
}
.logo {
    flex-basis: 20%;
    text-align: center;
}

.logo img {
    width: 100%;
    /* make the image take up the full width of the logo container */
    border-radius: 50%;
    /* add a circular border radius to the image */
}

.hero-text {
    flex-basis: 60%;
    /* make the hero text take up 60% of the container width */
    text-align: center;
    /* center the hero text horizontally */
}

.animated-title {
    font-size: 70px;
    /* increased font size of the title */
    font-weight: bold;
    /* make the title bold */
    color:#c7872d;
    /* change the text color to a darker gray */
    animation: titleAnimation 2s ease-in-out;
    /* add animation to the title */
}

.animated-text {
    font-size: 30px;
    /* increased font size of the text */
    color: #fb0000;
    /* change the text color to a lighter gray */
    animation: textAnimation 3s ease-in-out;
    /* add animation to the text */
}

/* Animation for the title */
@keyframes titleAnimation {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Animation for the text */
@keyframes textAnimation {
    0% {
        transform: translateX(-20px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #ffa96f, #b3e7f7, #56c7a9);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-icon {
    position: absolute;
    font-size: 30px;
    color: #fff;
    animation: float 8s infinite ease-in-out;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Navbar styles */
.vintage-navbar {
    background-color: #c7872d;
}

.vintage-navbar .navbar-brand,
.vintage-navbar .navbar-nav .nav-link {
    color: #f7e0db;
}

.vintage-navbar .navbar-nav .nav-link:hover {
    color: #ff8c42; /* Orange */
}

.vintage-navbar .navbar-toggler {
    border-color: #55504f; /* Light pink */
}



/* Logo and Hero Text container */
.welcome-message {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    text-align: center;
    padding: 20px;
    margin-top: 1em;
    margin-left: 15%;
    margin-right: 15%;
    max-width: 80%;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.9); /* Transparent background */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); /* Box shadow */
}
.container {
    margin: 100px auto;
    padding: 20px; /* Add padding */
    border-radius: 20px;
    
    
}
/* Welcome message container */
.container-1 {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 10px;
    background-color: #fff; /* Background color for the container */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Box shadow for container */
}

.header h2 {
    color: #333;
}

.header p {
    color: #666;
}

.header p:first-of-type {
    margin-top: 0;
}

.initiatives-list ul {
    list-style: none;
    padding: 0;
}

.initiatives-list li {
    margin-bottom: 20px;
}

.initiatives-list li div {
    font-weight: bold;
    color: #0066cc; /* Blue color for headings */
}

.initiatives-list li p {
    margin: 5px 0;
    color: #555;
}

.get-involved-link {
    font-weight: bold;
    color: #0066cc;
}

.get-involved-link:hover {
    text-decoration: underline;
}

/* Text container */
.text-container {
    text-align: center;
    margin-top: 50px;
    padding: 20px; /* Add padding */
}

.text-container h2 {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.text-container p {
    font-family: 'Montserrat', sans-serif;
}


.displaybutton:hover {
    background-color: #012d59; /* Blue color for headings */
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}

/* Make the container responsive */
@media (max-width: 992px) {
    .container {
        margin: 50px auto;
        padding: 10px; /* Reduce padding */
    }
}

@media (max-width: 768px) {
    .container,
    .container-1 {
        max-width: 80%;
    }

    .containers {
        flex-direction: column;
        /* stack the logo and hero text vertically */
        align-items: center;
        /* center the content horizontally */
        padding: 20px;
        /* reduce padding for smaller screens */
    }

    .logo {
        flex-basis: 100%;
        /* make the logo take up the full width of the container */
        margin-bottom: 20px;
        /* add some margin between the logo and hero text */
    }
    .logo img {
        width: 50%;
        /* make the image take up the full width of the logo container */
        border-radius: 50%;
        /* add a circular border radius to the image */
    }

    .hero-text {
        flex-basis: 100%;
        /* make the hero text take up the full width of the container */
    }

    .animated-title {
        font-size: 40px;
        /* reduce font size of the title for smaller screens */
    }

    .animated-text {
        font-size: 20px;
    }
}
@media (max-width: 768px) {
    .header {
        margin-bottom: 10px;
    }
    .initiatives-list ul {
        padding-left: 15px;
    }
}

/* Media Query for mobile devices */
@media (max-width: 576px) {
    .header {
        text-align: center;
    }
    .initiatives-list ul {
        padding-left: 10px;
    }
    .initiatives-list ul li {
        margin-bottom: 20px;
    }
}
