* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Inter", serif;
    height: 100vh;
  }
  
  /* Navbar */
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 5px;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }
  
  /* Left Section: Sidebar + Titles */
  .navbar .child-nav {
    display: flex;
    align-items: center;
    gap: 55px;
    flex: 1; /* Takes equal space */
  }
  .child-nav ul{
    display: flex;
    list-style: none;
    gap: 55px;
  }
 .child-nav ul li a{
    text-decoration: none;
    color: rgba(92, 92, 92, 1);
  }


  .user-container ul{
    display: flex;
    list-style: none;
    gap: 55px;
  }
  .user-container li a{
    text-decoration: none;
    color: rgba(92, 92, 92, 1);
  }
  
  /* Center Logo */
  .navbar .logo-container {
    display: flex;
    justify-content: center;
    flex: 1; /* Ensures center alignment */
  }
  
  .navbar .logo-container img {
    width: 90px; /* Adjust logo size */
    height: auto;
    position: relative;
    top: 30px;
    left: 7px;
  }
  
  /* Right Section: User Icon */
  .navbar .user-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1; /* Takes equal space */
    gap: 25px;
  }
  
  /* Sidebar Button */
  .navbar button {
    font-size: 15px;
    padding: 5px 10px;
    background-color: white;
    border: none;
    cursor: pointer;
  }
  .sidebar-btn img{
    width: 25px;
    height: auto;
  }
  
  /* User Icon */
  .navbar .user-container img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }
  
  
  /* Sidebar */
  .sidebar {
    position: fixed;
    top: 0;
    left: -270px; /* Hidden initially */
    width: 270px;
    height: 100%;
    background: white;
    box-shadow: 9px 0px 9px 0px rgba(172, 62, 109, 0.3);
    transition: left 0.3s ease-in-out;
    border-radius: 0px 50px 50px 0px;
    padding: 20px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
  }
  
  /* Show sidebar when active */
  .sidebar.active {
    left: 0;
  }
  
  /* Sidebar Close Button - Moved to Right */
  .sidebar .close-btn {
    font-size: 24px;
    color: black;
    border: none;
    background: none;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 15px;
  }
  
  /* Sidebar Grid Layout */
  .sidebar-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 22px;
  }
  
  /* Sidebar Boxes */
  .sidebar-item {
    background: rgba(93, 93, 92, 1);
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .sidebar-item:hover {
    background: #333;
  }
  
  /* Sidebar Icons */
  .sidebar-item img {
    width: 30px;
    height: 30px;
    margin-bottom: 5px;
  }
  /* Mobile Menu Button */
.mobile-menu-icon {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}




/* 📱 Responsive */
@media (max-width: 768px) {

    .mobile-menu-icon {
        display: block;
    }

    .sidebar {
        width: 240px;
    }
}

@media (max-width: 480px) {
    header {
        height: 70px;
    }
    .logo-container img {
        height: 35px;
    }
    .user-container img {
        height: 30px;
    }
}





/* 📱 Responsive Media Queries */
@media (max-width: 768px) {
    header {
        height: 70px;
        padding: 0 10px;
    }

    /* Hide full menu, show hamburger */
    .child-nav ul,
    .user-container ul {
        display: none;
    }

    .child-nav {
        justify-content: space-between;
        width: 100%;
    }

    .sidebar-btn {
        display: block;
    }

    .logo-container img {
        height: 35px;
    }

    .user-container img {
        height: 35px;
    }
}

@media (max-width: 480px) {
    header {
        height: 60px;
        padding: 0 5px;
    }

    .logo-container img {
        height: 30px;
    }

    .user-container img {
        height: 30px;
    }



    .sidebar-menu .sidebar-item span {
        font-size: 14px;
    }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: white;
        width: 100%;
        padding: 10px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.show {
        display: flex;
    }
}