/* ===============================
   MOBILE HEADER
================================ */
.mobile-header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #063232;
  z-index: 99999;
  box-shadow: 0 3px 12px rgba(0,0,0,.2);
}

.mobile-header-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
}

.mobile-header-left img{
  height: 38px;
}

.mobile-header-spacer{
  height: 64px;
}

/* Hamburger */
.menu-toggle{
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span{
  width: 26px;
  height: 3px;
  background: #ffffff;
  display: block;
  border-radius: 2px;
}

/* ===============================
   DRAWER MENU
================================ */
.mobile-drawer{
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: #ffffff;
  z-index: 100000;
  transition: 0.35s ease;
  box-shadow: -8px 0 25px rgba(0,0,0,.25);
}

.mobile-drawer.open{
  right: 0;
}

.drawer-header{
  background: #0c6e6d;
  color: #ffffff;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
}

.drawer-close{
  background: none;
  border: none;
  font-size: 26px;
  color: #ffffff;
  cursor: pointer;
}

.drawer-menu{
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer-menu li{
  border-bottom: 1px solid #eee;
}

.drawer-menu li a{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  color: #003436;
  text-decoration: none;
}

.drawer-menu li a:hover{
  background: #f1f7f7;
}

/* ===============================
   OVERLAY
================================ */
.drawer-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.drawer-overlay.show{
  opacity: 1;
  visibility: visible;
}

/* Desktop hide */
@media (min-width: 992px){
  .mobile-header,
  .mobile-header-spacer,
  .mobile-drawer,
  .drawer-overlay{
    display: none !important;
  }
}


/* =====================================
   MOBILE HEADER: White → Green on Scroll
===================================== */

/* Default (top position) — WHITE */
.mobile-header{
  background: #ffffff !important;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

/* Hamburger color on white */
.mobile-header .menu-toggle span{
  background: #063232;
}

/* ===== Scroll / Sticky state ===== */
/* যখন body বা header এ sticky class যোগ হবে */
body.scrolled .mobile-header,
.mobile-header.sticky,
.mobile-header.is-sticky{
  background: #063232 !important;
  box-shadow: 0 3px 12px rgba(0,0,0,.25);
}

/* Hamburger color on green */
body.scrolled .mobile-header .menu-toggle span,
.mobile-header.sticky .menu-toggle span,
.mobile-header.is-sticky .menu-toggle span{
  background: #ffffff;
}

