.brand-color {
    background-color: #819e23;
}

nav{
    background-color: #819e23;
    padding: 0.3rem;
}

 .container{
    color: #000000;
    font-weight: 700;
    font-size: 1.5rem;
}
 .container>h1{
    color: #fff;
}

.bg-green-800 {
    --tw-bg-opacity: 1;
/*    background-color: rgb(92, 137, 92);*/
    background-color: rgb(38 ,110 ,31);

}

 #formsubmit{
    background: #5c895c;
    padding: 0.5rem;
    width: -webkit-fill-available;
    color: #fff;
}

footer>div>div>span{
    color: #000;
    font-size: large;
    font-weight: 500;
}

.text-white{
        color: #fff;
}

footer>div>div>span{
        font-size: large!important;
}


/*NAV*/

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border: solid 3px #469045;
    border-radius: 2rem;
    margin: 4px;
}

.dropdown-toggle{
    width:-webkit-fill-available;
}

/*NAV*/


/*HEADER*/
.header{
        border: 3px solid #469045;
}
/* Make sure the dropdown is hidden initially */
.dropdown-menu {
  display: none;
}

/* Make sure the dropdown is hidden initially */
.dropdown-menu {
  display: none;
}

/* Show the dropdown when hovering over the button or the dropdown in desktop view */
@media (min-width: 768px) {
  .relative:hover .dropdown-menu,
  .relative:focus-within .dropdown-menu {
    display: block;
  }
}

/* Add this to prevent dropdown from disappearing when clicking the button */
.dropdown-toggle:focus {
  outline: none;
}

/* Mobile menu should toggle on click in small screens */
@media (max-width: 767px) {
  .dropdown-menu.active {
    display: block;
  }
}

.dropdown-menu{
    background-color: unset;
}
.dropdown-menu>a{
    background-color: #b3e766;
    color: #000000;
}
/*HEADER*/




/* Hover background for <a> tags */
.navigation-menu a:hover {
    background-color: #f0f0f0; /* Change to your desired background color */
    color: #000; /* Optional: Change text color on hover */
    transition: background-color 0.3s ease; /* Smooth transition effect */
}

/* Specific hover for buttons with brand color */
.navigation-menu a:hover.brand-color {
    background-color: #FFA500; /* Example: Orange background color for brand links */
    color: #fff; /* Optional: White text on hover */
}






.category-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.category-button {
    padding: 10px 20px;
    color: #fff;
    background-color: #5c895c; /* Button color */
    border: none;
    border-radius: 5px;
    margin: 0 5px;
    cursor: pointer; /* Change cursor to pointer */
    transition: background-color 0.3s, transform 0.2s;
}

.category-button:hover {
    background-color: #0056b3; /* Darker shade on hover */
    transform: translateY(-2px); /* Slight lift effect */
}

.category-button:active {
    transform: translateY(1px); /* Slight depression effect */
}

.category {
    margin-bottom: 40px;
}

.category-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}


.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    margin: 20px 0;
}

.filter-button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    background-color: #ea580c;
    color: #000000;
    cursor: pointer; /* Change cursor to pointer */
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    font-size: 1rem; /* Font size */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.filter-button:hover {
    background-color: #3f623f; /* Darker shade on hover */
    transform: translateY(-2px); /* Slight lift effect */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.filter-button:active {
    transform: translateY(1px); /* Slight depression effect */
}

@media (max-width: 576px) {
    .filter-button {
        flex: 1 1 100%; /* Stack buttons vertically on small screens */
        margin: 10px 0; /* Adjust margin for stacking */
    }
}

@media (min-width: 577px) {
    .filter-button {
        flex: 1 1 auto; /* Allow buttons to resize based on content */
    }
}






/*HOME*/
.financial-inclusion-section {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 20px;
}

.section {
    position: relative;
    flex: 1 1 30%; /* Flex property for responsiveness */
    margin: 10px;
    overflow: hidden;
    border-radius: 8px;
    color: #fff;
    text-align: center;
}

h2 {
    margin: 10px 0; /* Add margin for title */
}

.description {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    border-radius: 8px;
    margin-bottom: 10px;
}

.section-image {
    width: 100%; /* Make image responsive */
    height: 50%; /* Set height to half the section */
    object-fit: scale-down;
    border-radius: 8px 8px 0 0;
    background: antiquewhite;
}

.overlay {
    position: absolute;
    bottom: 0; /* Position overlay at the bottom */
    left: 0;
    width: 100%;
    height: 50%; /* Height of the overlay */
    background: rgba(0, 0, 0, 0.6); /* Overlay color */
    opacity: 0; /* Initially hidden */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s;
    color: #fff; /* Text color for overlay */
}

.section:hover .overlay {
    opacity: 1; /* Show overlay on hover */
}

/*HOME*/



.logo>a>img{
    background-color: #f4f4f4;
    height: 8rem;
}


.navigation-menu a,.navigation-menu div > button, .navigation-menu div > a {
    background-color: #d1ffa9;
}




/*HEADER*/
/* Ensure full width */
.info{
        margin-left: 1rem;
}
.header {
    width: 100%;
    background-color: var(--brand-color); /* Assuming brand-color is defined elsewhere */
    color: white;
}

.container {
/*    display: flex;*/
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap; /* Prevent flex items from wrapping */
    max-width: 100%; /* Ensure container uses full width */
    padding-left: 15px;
    padding-right: 15px;
}

.logo img {
    height: 3rem; /* Adjust the height of the logo */
    width: auto;
}

.info ul {
    display: flex;
    gap: 1rem; /* Space between info items */
    margin: 0;
    padding: 0;
    list-style: none;
}

.info li {
    display: inline-block;
}

.login {
    margin-left: auto;
}

.login a {
    background-color: #F59E0B; /* Tailwind yellow-500 */
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.login a:hover {
    background-color: #D97706; /* Tailwind yellow-600 */
}

/* Responsive fix for small screens */
@media (max-width: 768px) {
    .container {
        flex-wrap: wrap;
    }

    .info {
        width: 100%;
        margin-top: 10px;
        text-align: center;
    }

    .login {
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }

    .login a {
        display: inline-block;
        width: 100%;
        text-align: center;
    }
}

/*HEADER*/