 .btn-hover-none:hover{
    background: unset !important; /* Fixed typo from !importantQ to !important */
}
/* Updated styles for the header layout */
.sticky-header.main-bar-wraper {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background: #fff;
}

/* Main container */
.main-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
}

/* Default header layout (not scrolled) - with menu in next row */
.logo-header {
  display: flex;
  align-items: center;
  padding: 0;
  margin-bottom:5px;
}

/* Center logo by default */
.logo-center {
  position: absolute;
  left: 52%;
  transform: translateX(-50%);
  z-index: 1;
}

/* Search input area on left side */
.header-search {
  display: flex;
  align-items: center;
  width: 33%;
}

.header-search .search-btn {
  border: none;
  background: none;
  color: #000;
  font-size: 18px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.search-input-box {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #d6dfe1;
  padding-bottom: 8px;
  width: 150px;
  margin-right: 15px;
}

.search-input-box input {
  border: none;
  outline: none;
  width: 180px;
  padding: 5px 5px 5px 10px;
  font-size: 11px;
}

.search-input-box .search-icon {
  color: #555;
  font-size: 16px;
}

/* Extra nav positioning */
.extra-nav {
  display: flex;
  align-items: center;
  width: 56%;
  justify-content: flex-end;
}

.extra-nav .header-right {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.extra-nav .header-right li {
  display: flex;
  align-items: center;
  margin: 0 8px;
}

/* Main navigation - default state (full width in next row) */
.header-nav {
  order: 3;
  width: 100%;
  margin-top: 10px;
}

.header-nav .navbar-nav {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* MODIFIED: Scrolled header styling - logo left, menu center */
.is-fixed .main-bar .container {
  flex-wrap: nowrap;
  height: 70px;
  position: relative;
  display: flex;
  align-items: center;
}

/* MODIFIED: When scrolled, move logo to left */
.is-fixed .logo-header.logo-center {
  position: static; /* Changed from absolute */
  left: auto; /* Reset left positioning */
  transform: none; /* Reset transform */
  order: 1; /* Move to first position */
  margin: 0;
  margin-right: 20px; /* Add some spacing from menu */
}

/* MODIFIED: When scrolled, center the menu */
.is-fixed .header-nav {
  position: static;
  width: auto;
  margin-top: 0;
  order: 2; /* Center position */
  flex: 1; /* Take available space to center properly */
  display: flex;
  justify-content: center; /* Center the menu */
}

.is-fixed .header-nav.navbar-collapse {
  justify-content: center !important; /* Center aligned menu */
}

.is-fixed .header-nav .navbar-nav {
  padding-left: 0; /* Remove left padding */
  justify-content: center; /* Center the navigation items */
}

/* When scrolled, keep extra nav on right */
.is-fixed .extra-nav {
  order: 3;
  width: auto;
  flex-shrink: 0; /* Prevent shrinking */
}

/* When scrolled, hide search input */
.is-fixed .header-search {
  display: none;
}

.is-fixed .search-toggle {
  display: flex !important;
}

/* Hide search toggle by default, show when scrolled */
.search-toggle {
  display: none !important;
}

/* Mobile adjustments */
@media screen and (max-width: 1200px) {
  /* Center logo on mobile */
  .logo-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    top: 2px;
  }
  
  /* Header container adjustments */
  .main-bar .container {
    flex-wrap: wrap;
    height: auto;
  }
  
  /* Menu wrapper full width */
  .header-nav {
    width: 100%;
    order: 3;
  }
  
  /* Position toggle button on right */
  .navbar-toggler {
    margin: 0 0 0 auto;
    order: 3;
  }
  
  /* Hide search input on mobile */
  .search-input-box {
    display: none;
  }
  
  /* Show search icon on mobile */
  .search-toggle {
    display: flex !important;
  }
  
  /* Menu full width on mobile */
  .mo-left .header-nav {
    overflow-y: scroll;
    position: fixed;
    width: 100%;
    left: -100%;
    height: 100vh !important;
    transition: all 0.5s;
    top: 0;
    background-color: #fff;
    margin: 0;
    z-index: 99;
  }
  
  /* Menu when shown */
  .mo-left .header-nav.show {
    left: 0;
    transition: all 0.8s;
    margin: 0;
    width: 100%;
  }
  
  /* MODIFIED: On mobile when scrolled, keep logo centered */
  .is-fixed .logo-header.logo-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    order: 2;
    margin-right: 0;
  }
  
  /* Menu layout on mobile when fixed */
  .is-fixed .header-nav {
    width: 100%;
    order: 3;
    justify-content: center;
  }
}

@media screen and (max-width:440px) {
  .mo-left .header-nav .logo-header {
    float: none;
    height: auto !important;
    max-width: 100%;
    padding: 30px 20px;
    width: 67% !important;
  }
  
  .header-nav .logo-header {
    padding: 0px 14px !important;
    float: none;
    height: auto;
  }
  
  .fs_13 {
    font-size: 12px !important;
  }
}
