@media (max-width: 768px) {
    .sidebar {
        position: static !important;
        width: 100% !important;
        min-height: auto !important;
        padding: 10px 0 !important;
        height: unset !important;

    }


    .sidebar a {
        display: inline-block !important;
        padding: 10px !important;
        font-size: 0.9rem !important;
        display: none !important;
        /* height: unset !important; */
    }

    .main-content {
        margin-left: 0 !important;
        padding: 10px !important;
    }

    .search-controls {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .nav-tabs .nav-link {
        font-size: 0.9rem !important;
        padding: 10px 20px !important;
    }

    .project-card {
        padding: 15px !important;
    }

    .project-info {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 576px) {
    .sidebar {
        text-align: center !important;
        height: unset !important;
    }

    .sidebar a {
        font-size: 0.8rem !important;
        padding: 8px !important;
        display: none !important;
    }

    .search-controls input,
    .search-controls select {
        font-size: 0.9rem !important;
        padding: 8px 10px !important;
    }

    .search-controls button {
        font-size: 0.9rem !important;
        padding: 8px 10px !important;
    }

    .project-card {
        padding: 10px !important;
    }

    .project-info {
        font-size: 0.8rem !important;
    }
}


/* .sidebar {
    background-color: #00aaff;
    width: 200px;
    height: 100vh;
    position: fixed;
    padding: 20px 0;
    color: white;
} */

.sidebar a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.sidebar a.active,
.sidebar a:hover {
    background-color: #ff4d4d;
    border-radius: 20px 0 0 20px;
}


  /* Sidebar Styling */
  .sidebar {
    background-color: #00aaff;
    color: white;
    position: fixed;
    top: 0;
    bottom: 0;
    width: 200px;
    padding: 20px 0;
    z-index: 1030;
    /* Ensure it stacks above main content on desktop */
}

.sidebar a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.sidebar a.active,
.sidebar a:hover {
    background-color: #ff4d4d;
    border-radius: 20px 0 0 20px;
}

.offcanvas {
    background-color: #00aaff;
    color: white;
}

.offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.offcanvas-body a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.offcanvas-body a.active,
.offcanvas-body a:hover {
    background-color: #ff4d4d;
    border-radius: 20px 0 0 20px;
}


.nav-tabs {
    background-color: #f0f0f0;
    border-radius: 25px;
    padding: 2px;
}

.nav-tabs .nav-link {
    border: none;
    border-radius: 25px;
    padding: 15px 40px;
    font-weight: bold;
    color: black;
    width: 100%;
    text-align: center;
}

.nav-tabs .nav-link.active {
    background-color: black;
    color: white;
}

.bg-primary{
  background-color: #00aaff !important;
}
