#main-container {
    margin-left: 72px !important; /* Sidebar ke liye space */
}

/* Default Header Style */
.header-section {
    background-color: transparent !important; /* Initially transparent */
    padding: 15px 0 !important;
    transition: all 0.3s ease !important;
    position: fixed !important;
    width: 100% !important;
    top: 0 !important;
    z-index: 1000 !important;
}

/* Shrunk Header Style with Background Color */
.header-section.shrink {
    background-color: #6e2522 !important; /* Solid background when scrolled */
    padding: 5px 0 !important;
    height: 60px !important; /* Adjust this based on your logo height */
}

/* Logo Adjustment */
.logo img {
    height: 50px !important; /* Adjust logo height as per your design */
    transition: all 0.3s ease !important;
}

.header-section.shrink .logo img {
    height: 45px !important; /* Smaller logo height when header shrinks */
}

/* Navigation Menu Adjustment */
.main-nav .nav {
    margin-top: 10px !important;
    transition: all 0.3s ease !important;
}

.header-section.shrink .main-nav .nav {
    margin-top: 5px !important;
}

/* Right Section (Search, Login) Adjustment */
.right-sub-item-area {
    margin-top: 10px !important;
    transition: all 0.3s ease !important;
}

/*========== 
Sidebar  
================*/
/* Default Sidebar Style (Desktop View) */
.sidebar {
    width: 72px !important;
    background-color: #6e2522 !important;
    background: linear-gradient(to right, #6e2522, #1712124a);
    height: 100vh !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    z-index: 999 !important;
    transition: all 0.3s ease !important;
    box-shadow: rgb(0 0 0 / 18%) 1.95px 1.95px 2.6px;
}

/* Navigation List */
.nav-list {
    list-style: none !important;
    width: 100% !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* Navigation Group (Centered) */
.nav-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important; /* Center the group vertically */
    flex-grow: 1 !important; /* Allow it to take available space */
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

/* Navigation Items (Desktop View) */
.nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 10px 0 !important;
    color: #f7d0b7 !important;
    cursor: pointer !important;
    transition: background-color 0.3s, color 0.3s !important;
}

.nav-item a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
    color: inherit !important;
}

.nav-item:hover {
    background-color: #1a0909 !important;
    color: #fff !important;
}

.icon {
    font-size: 20px !important;
}

.icon ion-icon {
    font-size: 24px !important; /* Adjust icon size */
}

.label {
    font-size: 10px !important;
    margin-top: 0px !important;
    font-family: Arial, sans-serif !important;
}

/* Spacer to push bottom items */
.spacer {
    flex-grow: 1 !important; /* Pushes Search and User to the bottom */
}

/* Media Query for Tablet and Smaller Screens (768px and below) */
@media (max-width: 768px) {
    /* Convert Sidebar to Footer */
    .sidebar {
        width: 100% !important;
        height: auto !important;
        position: fixed !important;
        bottom: 0 !important;
        top: auto !important;
        left: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-around !important;
        background-color: #1a1a1a !important;
        z-index: 999 !important;
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2) !important;
        /*border-radius: 50px 50px 0 0;*/
    }

    .logo {
        display: none !important;
    }
    .spacer {
        display: none !important;
    }
    .nav-list .nav-search,
    .nav-user {
        display: none !important;
    }

    /* Navigation List in Footer */
    .nav-list {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        justify-content: space-around !important;
    }

    /* Navigation Items in Footer */
    .nav-item {
        flex-direction: column !important;
        padding: 5px !important;
        margin: 0 !important;
        flex: 1 !important;
        text-align: center !important;
    }

    .nav-item a {
        flex-direction: column !important;
        align-items: center !important;
    }

    .icon {
        font-size: 20px !important;
    }

    .label {
        font-size: 10px !important;
        margin-top: 0px !important;
    }

    /* Adjust main content to avoid overlap with footer */
    #main-container {
        margin-left: 0 !important;
        width: 100% !important;
        padding-bottom: 70px !important;
    }

    /* Reset nav-group for mobile */
    .nav-group {
        flex-grow: 0 !important;
        justify-content: flex-start !important;
    }
}