
 /*`new list */
  .main-menu {
  list-style: none;
  display: flex;
  gap: 0px;
  padding: 0;
}
.stori h3 p{font-size:18px;font-weight:700;}
.stori p{font-size:15px;font-weight:700;}
.main-menu li a {
  text-decoration: none;
  font-weight: 600;
  color: #000;
}
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  background: #fff;
}
.mega-panel {
    position: absolute;
    top: 100%;
    width: 61%;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 20px 62px;
    display: none;
    border-radius: 20px;
    display: none;;
    gap: 40px;
    flex-wrap: wrap;
}
.mega-panel.show {
  display: flex;
}

.panel-content {
  display: none;
  flex: 1;
  gap: 20px;
  align-items: flex-start;
  grid-template-columns: 1fr 1fr;
  display: grid;
}

.panel-content.active {
  display: grid;
}

.panel-content .text-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.panel-content .text-block h3 {
  font-size: 18px;
  margin: 0;
  font-weight: bold;
}

.panel-content .text-block p {
  font-size: 14px;
  color: #555;
  margin: 0 0 10px;
  float: inline-start;
}

.panel-content .image-block {
  text-align: left;
}

.panel-content .image-block img {
  max-width: 58%;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .panel-content {
    grid-template-columns: 1fr;
  }
  .mega-panel {
    flex-direction: column;
  }
}
  /* toggle */
@media (max-width: 991px) {
  .menuBar .mobilemenu, 
  .menuBar .close {
    display: inline-block;
    cursor: pointer;
    color: #000;
    font-weight: bold;
    font-size: 16px;
    margin-left: 15px;
  }

  .menuBar .close {
    display: none;
  }

  nav#menu ul {
    display: none; /* default hide */
    background:green;
    position: absolute;
    top: 223%;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  }

  nav#menu ul li {
    display: block;
    margin-bottom: 10px;
  }

  nav#menu ul li ul {
    position: static;
    box-shadow: none;
    padding-left: 20px;
    margin-top: 5px;
  }

  nav#menu ul .btns {
    /* display: inline-block; */
    margin-top: 10px;
    padding: 8px 15px;
    background: green;
    color: #fff;
    border-radius: 4px;
    text-align: center;
  }

  .user-dropdown {
    top: auto;
    right: auto;
    margin: 10px;
    text-align: left;
    position: relative !important;
  }

  .user-dropdown .dropdown-menu {
    position: relative !important;
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

  /* mobile end */
  @media only screen and (max-width: 991px) {
  .sidebar-panel {
    flex-direction: column;
    max-height: 90vh;
    overflow-y: auto;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 9999;
  }
.main-menu li{display: grid!important;}
  .left-sidebar, .middle-sidebar, .right-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ddd;
    text-align:left;
  }

  .middle-sidebar {
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
    padding: 15px;
  }

  .menuBar .mobilemenu {
    display: inline-block;
  }

  nav#menu ul {
    display: none;
    flex-direction: column;
  }
nav#menu ul.show {
  display: flex !important;
}
  .middle-box {
    flex-direction: row;
    align-items: center;
  }

  .middle-box img {
    width: 40px;
    height: 40px;
    margin: 0 15px 0 0;
  }

  .middle-box .text-content {
    flex: 1;
  }
}
  /* #enterprise.middle-sidebar {
  display: grid !important;
} */
.middle-sidebar {
  display: none;
}
.sidebar-panel {
    display: flex;
    width: 100%;
    background: #f9f9f9;
    border-top: 5px solid green;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    max-height: 400px; 
    overflow: hidden;
    border-bottom:5px solid green;
}

.left-sidebar, .middle-sidebar, .right-sidebar {
    width: 300px;
    background: #fff;
    border-right: 1px solid #ddd;
    overflow-y: auto;
    display: none;
    /* padding: 10px; */
    text-align:left;
}


.left-sidebar.active, .middle-sidebar.active, .right-sidebar.active {
    display: block;
}

.sidebar-item, .sub-sidebar-item, .nested-sidebar-item {
    padding: 21px 20px 17px;
    cursor: pointer;
    /* border-bottom: 1px solid #eee; */
    font-weight: 600;
}

.sidebar-item:hover, .sub-sidebar-item:hover, .nested-sidebar-item:hover {
    background: white;
}

/* Left Sidebar Scrollbar Style */
.left-sidebar::-webkit-scrollbar,
.middle-sidebar::-webkit-scrollbar,
.right-sidebar::-webkit-scrollbar {
    width: 6px;
}
.left-sidebar::-webkit-scrollbar-thumb,
.middle-sidebar::-webkit-scrollbar-thumb,
.right-sidebar::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

/* Middle Sidebar 3-3 grouping ke beech padding */
.middle-sidebar .sub-sidebar-item:nth-child(3) {
    margin-bottom: 20px;
}
.middle-sidebar .sub-sidebar-item:nth-child(6) {
    margin-bottom: 20px;
}
/* .middle-sidebar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  background: #fff;
} */

.middle-sidebar {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 25px;
  background: #fff;
  width: 100%;
}

.middle-sidebar.active {
  display: grid !important;
}
.middle-box {
  display: flex;
  align-items: flex-start;
  /* background: #f9f9f9; */
  padding: 15px;
  border-radius: 12px;
  text-decoration: none;
  color: #000;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

.middle-box img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.middle-box h5 {
  font-size: 16px;
  font-weight: 700;
  margin: 10px 0 6px;
}

.middle-box p {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

.middle-box:hover {
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.middle-box img {
  width: 45px;
  height: 45px;
  margin-right: 15px;
  margin-top: 4px;
}
.middle-box .text-content {
  flex: 1;
}
.middle-sidebar#enterprise {
  /* display: grid !important; */
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 25px;
  background: #fff;
  width: 100%;
}
.middle-sidebar.active {
  display: grid !important;
}
.middle-box .text-content h5 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.middle-box .text-content p {
  font-size: 14px;
  color: #444;
  margin: 5px 0 0;
  line-height: 1.4;
  font-weight:700;
}


/* megapanel */
.text-block h3 a{text-decoration:none;color:green;float:left;}
.middle-box {height: fit-content;}
.image-block h3 a{text-decoration:none;font-weight:700;font-size:20px;}


/* mediaquery responsive  */
/* Sidebar - Mobile View */
@media only screen and (max-width: 991px) {
  .sidebar-panel {
    flex-direction: column;
    max-height: 100vh;
    overflow-y: auto;
    position: fixed;
    top: 0;
    left: -100%;
    width: 250px;
    background: #fff;
    z-index: 9999;
    padding: 20px;
    transition: left 0.3s ease-in-out;
    border-right: 1px solid #ddd;
  }

  .sidebar-panel.active {
    left: 0;
  }

  .menuBar {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .menuBar li {
    position: relative;
  }

  .menuBar li a {
    display: block;
    padding: 12px;
    color: #333;
    text-decoration: none;
    background: #f9f9f9;
    border-bottom: 1px solid #ddd;
  }

  .middle-sidebar {
    display: none;
    background: #fff;
    padding-left: 15px;
    margin-top: 0;
  }

  .middle-sidebar.active {
    display: block !important;
  }

  /* Optional styling */
  .middle-sidebar li a {
    background: #fff;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
  }
}


