@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Shared OTCL main navigation for standalone Business Solution pages.
   Rules are intentionally scoped to the header so page-specific designs remain unchanged. */
#header, #header * { box-sizing: border-box; }
#header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px;
  margin:0;
  background-color:#16233b;
  z-index:1000;
  position:sticky;
  top:0;
  left:0;
  width:100%;
  font-family:'Poppins',sans-serif;
  line-height:normal;
}
#header a { text-decoration:none; }
#header ul, #header li { list-style:none; margin:0; }
#header #navbar {
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  margin:0;
}
#header #navbar > li {
  padding:0 20px;
  position:relative;
  margin:0;
}
#header .nav-link {
  font-size:16px;
  font-weight:600;
  color:#fff;
  padding:8px;
  transition:.3s ease;
  text-decoration:none;
  line-height:normal;
}
#header .nav-link:hover {
  background-color:#fff;
  color:#16233b;
  border-radius:12px 0 12px 0;
}
#header .logo-link { display:block; flex:0 0 auto; }
#header .logo-img {
  width:250px !important;
  height:60px !important;
  object-fit:contain !important;
  background-color:#16233b;
  border-radius:8px;
  margin:0 0 0 25px !important;
  padding:0 !important;
  box-shadow:none !important;
  max-width:none !important;
}
#header #mobile { display:none; align-items:center; }
#header #mobile i { color:#fff; font-size:24px; cursor:pointer; }
#header .close-menu { display:none; }
#header .business-dropdown { position:relative; }
#header .business-dropdown-toggle {
  background:transparent;
  border:0;
  cursor:pointer;
  font-family:inherit;
  display:flex;
  align-items:center;
  gap:7px;
  margin:0;
}
#header .business-dropdown-menu {
  display:none;
  position:absolute;
  top:calc(100% + 12px);
  right:0;
  width:330px;
  min-width:0;
  padding:10px;
  margin:0;
  background:#fff;
  border:1px solid #dfe5ec;
  border-radius:14px;
  box-shadow:0 18px 45px rgba(0,0,0,.18);
  z-index:2000;
}
#header .business-dropdown.open .business-dropdown-menu,
#header .business-dropdown:focus-within .business-dropdown-menu { display:block; }
#header .business-dropdown-menu li { padding:0 !important; margin:0 !important; }
#header .business-dropdown-menu a {
  display:flex !important;
  align-items:center;
  gap:12px;
  padding:11px 12px !important;
  margin:0 !important;
  color:#17202a !important;
  border-radius:9px;
  white-space:normal;
  font-size:16px;
  font-weight:400;
  line-height:normal;
}
#header .business-dropdown-menu a:hover { background:rgba(247,148,29,.12) !important; color:#f7941d !important; }
#header .business-dropdown-menu i { width:22px; text-align:center; color:#f7941d; }
#header .theme-toggle {
  display:inline-flex;
  align-items:center;
  gap:7px;
  border:1px solid rgba(255,255,255,.35);
  background:transparent;
  color:#fff;
  padding:8px 12px;
  border-radius:22px;
  cursor:pointer;
  font:600 14px Poppins,sans-serif;
  margin:0;
}
#header .theme-toggle:hover { background:rgba(255,255,255,.12); }
body.otcl-nav-dark #header .business-dropdown-menu { background:#121c2d; border-color:#263449; }
body.otcl-nav-dark #header .business-dropdown-menu a { color:#eef2f7 !important; }
body.otcl-nav-open { overflow:hidden; }

@media (max-width:799px) {
  #header #navbar {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    position:fixed;
    top:0;
    right:-300px;
    height:100vh;
    width:255px;
    background-color:#16233b;
    box-shadow:0 40px 60px rgba(0,0,0,.6);
    padding:90px 0 0 10px;
    transition:right .4s;
    overflow-y:auto;
    max-height:100vh;
    z-index:2500;
  }
  #header #navbar.active { right:0; }
  #header #navbar > li { margin-bottom:55px; padding:0 20px; width:100%; }
  #header #mobile { display:flex; align-items:center; padding:20px; }
  #header .close-menu {
    display:block;
    position:absolute;
    top:30px;
    left:30px;
    color:#fff;
    font-size:24px;
    z-index:2600;
    background:transparent;
    border:0;
    padding:0;
    cursor:pointer;
  }
  #header .business-dropdown-menu {
    position:static;
    width:100%;
    margin:8px 0 0;
    box-shadow:none;
  }
  #header .business-dropdown-toggle { width:100%; justify-content:space-between; }
  #header .business-dropdown-menu li { width:100%; }
  #header .theme-item { padding-top:8px !important; padding-bottom:8px !important; }
  #header .theme-toggle { width:100%; justify-content:center; }
}
@media (max-width:499px) {
  #header .logo-img { width:190px !important; height:auto !important; margin-left:10px !important; }
}
