/* static/your_app_name/css/custom.css */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa; /* Light gray background */
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    padding-bottom: 130px;
}

h1 {
    color: #333;
}

.navbar {
    background-color:rgb(148,146, 13);
    color: #ffffff;
}

/* static/your_app_name/css/custom.css */

/* Navbar links initial style */
.navbar-dark .navbar-nav .nav-link {
    color: #ffffff; /* White text color */
    font-weight: normal; /* Normal font weight */
    border-radius: 5px; /* Rounded corners */
    transition: all 0.3s ease; /* Smooth animation */
}

/* Navbar links hover style */
.navbar-dark .navbar-nav .nav-link:hover {
    font-weight: bold; /* Bold font weight on hover */
    background-color: rgba(255, 255, 255, 0.1); /* Light background color on hover */
    border: 2px solid #ffffff; /* White border */
    padding: 8px 15px; /* Padding inside the link */
    border-radius: 8px; /* Rounded corners */
    color:white;
}

.active {
    font-weight: bold; /* Example: Bold font weight for active link */
    background-color: black; /* Example: White background for active link */
    color: white; /* Example: Dark text color for active link */
    border-radius: 5px; /* Example: Rounded corners */
} 

/* Main content wrapper */
.main-content {
    flex: 1; /* This pushes the footer to the bottom */
    margin-top:60px;
}

/* Login Page CSS */
.login-container {
    flex: 1; /* Pushes footer to bottom */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.login-form {
    max-width: 400px;
    width: 100%;
    padding: 30px;
    background-color: #ffffff; /* White background */
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
}
.login-form h2 {
    text-align: center;
    margin-bottom: 30px;
}

/* Login Page CSS End */

/* Footer styles */
.footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 10px;
    width: 100%;
    position: fixed;
    bottom: 0;
}

.container-flex {
    flex: 1 0 auto;
    overflow-y: auto; /* Enable vertical scrolling */
    padding: 20px 0; /* Add padding for better spacing */
}

/* Star background */
.star-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    overflow: hidden;
    z-index: -1;
}

.star-background .star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    animation: twinkling 2s infinite ease-in-out;
}

@keyframes twinkling {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.content {
    position: relative;
    z-index: 1;
}

/* Additional CSS for cards */
.card-about {
    transition: transform 0.3s ease-in-out;
}

.card-about:hover {
    transform: scale(1.05);
}

h1.display-4, h2.card-title {
    position: relative;
    animation: fadeInDown 1s;
}

.card-about-body p {
    animation: fadeInUp 1s;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Programs CSS */

.title-container {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(251, 3, 3, 0.1);
    text-align: center;
    color: white;
    margin-bottom: 20px;
}
.program-card {
    transition: transform 0.2s;
    border-radius: 10px;
}
.program-card:hover {
    transform: scale(1.05);
}

.program-card-style{
    background: rgb(148,146, 13);
    color:white;
    font-weight: bold;
}


.wrapper>* {
    flex: 0 0 auto;
}

a {
    text-decoration: none;
    background-color: transparent;
}

.py-8 {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
}

.footer-link-01 li+li {
    padding-top: 0.8rem;
}

.footer-title-01 {
    font-size: 16px;
    margin: 0 0 20px;
    font-weight: 600;
}

.footer-title-01 {
    font-size: 16px;
    margin: 0 0 20px;
    font-weight: 600
}

.footer-link-01 li+li {
    padding-top: .8rem
}

@media (max-width: 991.98px) {
    .footer-link-01 li+li {
        padding-top: .6rem
    }
}

.footer-link-01 a {
    position: relative;
    display: inline-block;
    vertical-align: top
}

.footer-link-01 a:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: auto;
    right: 0;
    width: 0;
    height: 1px;
    transition: ease all .35s;
    background: currentColor
}

.footer-link-01 a:hover:after {
    left: 0;
    right: auto;
    width: 100%
}

/* HOme Page CSS */

.home-container{
    margin-top:60px;
}
.btn-stacked {
    margin-top: 10px;
}
.home-section {
    padding: 60px 0;
}
.home-section h2 {
    margin-bottom: 30px;
}
.educate-engage-empower .col-md-4 {
    margin-bottom: 30px;
}
.feature-card{
    background-color: rgb(255, 234, 0);
    border-radius: 20px;
    font-weight: bold;
    color:#000;
    border: none;
    border-radius: 15px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: scale(1.05);
}

.testimonial {
    background-color: rgb(255, 255, 255);
    padding: 50px 0;
    border-radius:20px;
}

.testimonial blockquote {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.testimonial .author {
    font-weight: bold;
}

/* GetInvolved CSS */

.container-getinvolved {
    background-color: #444; /* Slightly lighter background for the container */
    border-radius: 15px;
    margin-top:30px;
    margin-bottom:30px;
    padding: 30px;
  }
  .btn-success-getinvolved {
    background-color: #28a745;
    border-color: #28a745;
  }
  .impact-card{
    margin-top:20px;
  }

  .partnerships-section {
    background-color: #343a40;
    padding: 50px 0;
}
.partnerships-section h2, .partnerships-section p, .partnerships-section li {
    color: white;
}
.benefits-list {
    padding-left: 20px;
}
.benefit-item {
    background-color: #ffffff;
    margin-bottom: 10px;
    padding: 15px;
    color:black;
    border-radius: 5px;
    transition: background-color 0.5s ease;
}
.benefit-item:hover {
    background: rgb(148,146, 13);
    color:white;
    font-weight: bold;
}

.impact-style{
    background: rgb(148,146, 13);
    color:white;
    font-weight: bold;
}



/* Jumbotron Custom CSS */

.jumbotron-custom {
    background: rgb(148,146, 13);
    color: white;
    padding: 2rem 1rem;
    border-radius: 8px;
    transition: transform 0.2s;
}
.jumbotron-custom h1 {
    font-size: 2.5rem;
}
.jumbotron-custom p {
    font-size: 1.25rem;
}
.jumbotron-custom:hover {
    transform: scale(1.05);
}

/* Error 404 CSS */

.error-container {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    min-height: 100vh;
}
.card-error {
    background-color: #495057;
    border-radius: 20px;
    border: none;
}
.card-body-error h1 {
    font-size: 5em;
}
.card-body-error h2 {
    font-size: 2em;
}
.card-body-error p {
    font-size: 1.2em;
}
.home-button-error {
    margin-top: 20px;
}
@keyframes shooting-star {
    0% {
        top: 0;
        left: 0;
        opacity: 1;
    }
    100% {
        top: 100px;
        left: 100px;
        opacity: 0;
    }
}
.star-error {
    width: 5px;
    height: 5px;
    background: rgb(234, 84, 84);
    position: absolute;
    top: 0;
    left: 0;
    animation: shooting-star 1.5s infinite ease-in-out;
}