
   :root{
 /* === Brand Colors === */
--brand-green:#072A15;
--brand-green2:#2ddd45;
--bgcolor:#3b6641;

 /* === Text Colors for Dark Backgrounds === */
  --text-light:       #FFFFFF;   /* primary white text */
  --text-light-muted: #E0E0E0;   /* muted white text */
  --text-light-accent:#C7FAD6;   /* light greenish accent */
  --text-light-subtle:#B0B0B0;   /* subtle gray text */

  /* === Text Colors for Light Backgrounds === */
  --text-dark:        #111111;   /* primary dark text */
  --text-dark-muted:  #444444;   /* muted dark text */
  --text-dark-accent: #0F1F17;   /* dark greenish accent */
  --text-dark-subtle: #777777;   /* subtle gray for light bg */
}
   
   /* --- Custom Navigation Styles --- */
    .navbar {
        /* This is the key change: */
        position: absolute; /* Lifts the navbar out of the document flow */
        width: 100%;      /* Ensures it spans the full width */
        z-index: 10;      /* Keeps it on top of other content */
        font-size: 1.6rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
        background-color:black;
    }

    .brand-text{
        font-size:2rem;
    }
    .navbar-brand img {
        max-height: 40px; /* Adjust logo height */
    }

    /* Custom color for nav links and icons */
    .custom-nav-color {
        color: var(--text-light);
    }

    .navbar-nav .nav-link {
        font-weight: 500;
        transition: opacity 0.3s ease;
    }

    .navbar-nav .nav-link:hover,
    .navbar .bi-search:hover {
        opacity: 0.8;
    }

    /* Dropdown menu styling */
    .dropdown-menu {
        background-color: rgba(0, 0, 0, 0.5); /* Dark background for dropdown */
        
    }

    .dropdown-item {
        color: #f8f9fa; /* Light text for dropdown items */
        transition: background-color 0.3s ease;
    }

    .dropdown-item:hover {
        background-color: #e6ae20;
        color: #212529;
    }

    /* Custom Hamburger/X Icon Animation */
    .navbar-toggler {
        border: none;
        padding: 0;
        font-size: 24px; /* Makes the icon larger */
    }
    .navbar-toggler:focus {
        box-shadow: none;
    }

    /* Hides the default Bootstrap icon */
    .navbar-toggler .navbar-toggler-icon {
        display: none;
    }

    /* Custom icon styling */
    .toggler-icon {
        width: 30px;
        height: 22px;
        position: relative;
        display: inline-block;
    }

    .toggler-icon span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: #e6ae20;
        border-radius: 9px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: .25s ease-in-out;
    }

    .toggler-icon span:nth-child(1) { top: 0px; }
    .toggler-icon span:nth-child(2) { top: 9px; }
    .toggler-icon span:nth-child(3) { top: 18px; }

    /* Transform into 'X' when menu is open */
    .navbar-toggler.open .toggler-icon span:nth-child(1) {
        top: 9px;
        transform: rotate(135deg);
    }
    .navbar-toggler.open .toggler-icon span:nth-child(2) {
        opacity: 0;
        left: -30px;
    }
    .navbar-toggler.open .toggler-icon span:nth-child(3) {
        top: 9px;
        transform: rotate(-135deg);
    }

    /* Mobile Menu Animation */
    @media (max-width: 991.98px) {
        .navbar-collapse {
            /* This creates the smooth slide-down effect */
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.7s ease-in-out;
        }
        .navbar-collapse.show {
            /* A height large enough to fit the content */
            max-height: 500px; 
            /* Add a background to the mobile menu so text is readable */
            background-color:rgb(0, 0, 0);
            padding: 1rem;
            border-bottom-left-radius: 0.5rem;
            border-bottom-right-radius: 0.5rem;
        }
        .navbar-nav {
            padding-top: 1rem;
        }
    }

