*{
  box-sizing: border-box;
}
body, ul, li {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}

.main-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  z-index: 999;
}
.main-header.shrink {
  padding: 10px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}



.logo img {
    width:200px;
  height: auto;
  transition: height 0.3s ease;
}
.main-header.shrink .logo img {
  height: 32px;
}

.main-nav ul.menu {
  display: flex;
  gap: 25px;
}

.menu li {
  position: relative;
}
.menu a {
  font-weight: 500;
  color: #333;
  transition: color 0.3s;
}
.menu li:hover > a {
  color: #0073e6;
}
.menu .submenu {
  display: none;
  position: absolute;
  background: #fff;
  top: 100%;
  left: 0;
  min-width: 150px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.menu li.has-submenu:hover .submenu {
  display: block;
}
.submenu li a {
  display: block;
  padding: 10px;
}

/* Mobile */
.mobile-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}
.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

/* Offcanvas */
.offcanvas {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 6px rgba(0,0,0,0.15);
  transition: right 0.3s ease;
}
.offcanvas.open {
  right: 0;
}
.offcanvas-inner {
  padding: 20px;
}
.offcanvas-close {
  font-size: 30px;
  cursor: pointer;
  text-align: right;
  margin-bottom: 20px;
}
.offcanvas-menu li {
  margin-bottom: 15px;
}
.offcanvas-menu .submenu {
  padding-left: 15px;
}
.offcanvas-menu a {
  font-size: 16px;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
}

