.header{position: fixed;top: 0;left: 0;z-index: 99;background: #fff;padding-left: 4rem;padding-right: 4rem;height: 95px;box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);right: 0;}
.head-box{display: flex;align-items: center;justify-content: space-between;margin-left: auto;margin-right: auto;width: 100%;max-width: 1536px;height: 100%;position: relative;z-index: 999;}
.logo {width: 200px;}
.logo h1{display: block;height: 60px;}
.logo img{width: auto;height: 60px;}
.header-r{width: calc(100% - 200px);display: flex;justify-content: right;align-items: center;}
.nav-links {display: flex;align-items: center;gap: 60px;list-style: none;}
.nav-links li{position:relative;padding:37px 0;}
.nav-links li:nth-child(3) ul{display:none !important;}
.nav-links li:nth-child(4) ul{display:none !important;}
.nav-links li ul{
    position: absolute;
    width: 310px;
    left: -108px;
    background: #fff;
    text-align: center;
    top: 92px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 9;
}
.nav-links li:hover ul{display: block;}
.nav-links li ul li{padding: 0;}
.nav-links li ul li a{
    font-size: 14px;
    font-weight: 400;
    display: block;
    padding: 15px 0;
}
.nav-links li ul li a:hover{background:#0059db;color:#fff;}
.nav-links li a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  text-transform: uppercase;
}
.nav-links li a:hover {color: #0059db;}
.nav-right {
  display: flex;
  align-items: center;
  gap:30px;
  margin-left: 50px;
}

.icon-btn {
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  transition: opacity 0.3s ease;
}

.icon-btn:hover {
  opacity: 0.7;
}

.icon-btn svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #444;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger {
  width: 32px;
  height: 24px;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #333;
  transition: all 0.3s ease;
}
.hamburger span:last-child{width: 75%;margin-left: auto;margin-right: 0;}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Overlay common */
.overlay {
  position: fixed;
  top: 81px;
  left: 0;
  width: 100%;
  height: calc(100vh - 81px);
  background: #838a91;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  overflow-y: auto;
}

.overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Search overlay */
.search-overlay .overlay-content {
  margin: 0 auto;
  width: 100%;
  max-width: 1536px;
  overflow-y: auto;
  font-weight: 300;
  display: flex;
  justify-self: center;
  align-items: center;
  height: 100%;
}
.search-overlay .overlay-content .top-ss{width: 100%;padding: 0 4rem;}

.search-overlay .label {
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: #fff;
}
.search-line {
  width: 100%;
  height: 1px;
  background: #ffffff5e;
  margin-bottom: 24px;
  position: relative;
}
.search-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 1px;
  background: #fff;
}
.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  overflow: hidden;
}

.search-input-wrap input {
  width: 80%;
  background: none;
  border: none;
  padding: 0 15px;
  font-size: 14px;
  color: #fff;
  outline: none;
  line-height: 50px;
  
  font-family: inherit;
}

.search-input-wrap input::placeholder {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}
.search-input-wrap button{
  background: none;
  border: none;
  width: 50px;
  height: 50px;
  position: relative;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.search-input-wrap .search-icon {  
  width: 25px;
  height: 25px;
  color: #fff;
}
.search-input-wrap button::after{
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 2px;
  height: 58%;
  background: #fff;
}

.close-btn {
  top: 27px;
  right: 4vw;
  width: 32px;
  height: 40px;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
}

.close-btn .line {
  display: block;
  width: 32px;
  height: 3px;
  background: #fff;
  transition: transform 0.3s ease;
}

.close-label {
    font-size: 16px;
    color: #fff;
    letter-spacing: 1px;
    margin-top: 83px;
    opacity: 0.7;
    transform: rotate(-90deg);
}

/* Menu overlay */
.menu-overlay .overlay-content {
  margin: 0 auto;
  width: 100%;
  max-width: 1536px;
  overflow-y: auto;
  font-weight: 300;
  display: flex;
  justify-self: center;
  align-items: center;
  height: 100%;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  width: 100%;
  padding: 0 4rem;
}

.menu-column h3 {
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 10px;
  color: #fff;
  position: relative;
}
.menu-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 1px;
  background: #fff;
}
.menu-column ul {
  list-style: none;
}

.menu-column li {
  margin-bottom: 20px;
}

.menu-column li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.3s ease;
  opacity: 0.9;
}

.menu-column li a:hover {
  opacity: 1;
}

.menu-column li a::before {
  content: '>';
  font-size: 10px;
  opacity: 0.6;
}

.highlight-box {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.3s ease;
}

.highlight-box:hover {
  background: rgba(255,255,255,0.15);
}

.highlight-box span {
  font-size: 13px;
  color: #fff;
  opacity: 0.9;
}

.highlight-box .arrow {
  font-size: 16px;
  opacity: 0.6;
}

.contact-btn {
  position: fixed;
  bottom: 0;
  right: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-top: none;
  border-right: none;
  border-left: 1px solid rgba(255,255,255,0.15);
  padding: 14px 24px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 1001;
}

.contact-btn:hover {
  background: rgba(255,255,255,0.15);
}

.contact-btn svg {
  width: 18px;
  height: 18px;
}

.header-on {background: #838a91;}
.header-on .logo img{filter: brightness(0) invert(1);}
.header-on .nav-links li a{color: #fff;}
.header-on .icon-btn svg{fill: #fff;}
.header-on .hamburger span{display: none;}

.wap-nav{display: none;}

/* Mobile */
@media (max-width: 1500px) {
  .header{padding: 0 1.5rem;}
  .close-btn{right:1.5rem;}
  .menu-grid{padding: 0 1.5rem;}
  .search-overlay .overlay-content .top-ss{padding: 0 1.5rem;}
}
@media (max-width: 1300px) {
  .menu-grid {grid-template-columns: repeat(2, 1fr);padding-top: 230px;overflow-y: scroll;}
  .header-on .nav-links{display: none;}
  

}
@media (max-width: 1200px) {
  .header-on .head-box{background: #838a91;}
  .nav-links { display: none; }
  .menu-grid { grid-template-columns: 1fr 1fr; gap: 24px;padding-top: 0px;}
  .menu-overlay .overlay-content { padding-top: 10px; flex-wrap: wrap;}
  .wap-nav{display: block;width: 100%;padding: 30px 1.5rem 30px;}
  .wap-nav ul{display: flex;justify-content: left;align-items: center;flex-wrap: wrap;}
  .wap-nav ul li{margin-right: 10px;margin-bottom: 10px;}
  .wap-nav ul a{border-radius: 5px;display: inline-block;padding: 10px 15px;background: rgba(0,0,0,0.1);text-align: center;text-transform: uppercase;color: #fff;font-size: 16px;}
  .logo img,.logo h1{height: 50px;}
  .header {height: 75px;}
  .hamburger {width: 30px;height: 20px;}
  .hamburger span{height: 2px;}
  .overlay{top: 75px;height: calc(100vh - 75px);}
}

@media (max-width: 780px) {
  .menu-grid { grid-template-columns: 1fr;padding-bottom: 70px;}
  .search-overlay .overlay-content { padding-top: 100px; }
}

/* Navbar inner layout */
.navbar .left { display: flex; align-items: center; gap: 8px; }

/* Placeholder content area for demo */
.hero {
  height: 400px;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 20px;
}