:root {
    --primary-color: #008080; /* Teal/Fidetech green */
    --secondary-color: #385a49; /* Dark green */
    --light-color: #f8f9fa; /* Light gray */
    --dark-color: #343a40; /* Dark gray */
    --text-color-light: #f8f9fa;
    --text-color-dark: #343a40;
}

body {
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background-color: #e9ecef;
}

#wrapper {
    overflow-x: hidden;
    width: 100%;
    height: 100vh; /* added a fixed height for the wrapper */
}

#sidebar-wrapper {
    min-height: 100vh;
    width: 250px;
    -webkit-transition: margin 0.25s ease-out;
    -moz-transition: margin 0.25s ease-out;
    -o-transition: margin 0.25s ease-out;
    transition: margin 0.25s ease-out;
}

    #sidebar-wrapper .sidebar-heading {
        padding: 0.875rem 1.25rem;
        font-size: 1.2rem;
    }

    #sidebar-wrapper .list-group {
        width: 100%;
    }

#page-content-wrapper {
    flex-grow: 1; /* added a flexible height for the page content */
    padding: 20px; /* added some extra padding to give space between elements */
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
}

.list-group-item.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.list-group-item:hover {
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

    .list-group-item:hover a {
        color: var(--text-color-light);
    }

.list-group-item-light a {
    color: var(--text-color-dark);
    text-decoration: none;
}

.sidebar-heading img {
    height: 40px;
    width: auto;
}

.navbar {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

#sidebarToggle {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease;
}

    #sidebarToggle:hover {
        background-color: var(--secondary-color);
        border-color: var(--secondary-color);
    }

.footer {
    padding: 1rem 0;
    background-color: var(--light-color);
}

.sticky-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #f5f5f5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
}

@media (min-width: 768px) {
    .sticky-footer {
        position: fixed;
    }
}

@media (min-width: 768px) {
    #sidebar-wrapper {
        margin-left: 0;
    }

    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }

    #wrapper.toggled #sidebar-wrapper {
        margin-left: -250px;
    }
}
