/* ===== IMPORT GOOGLE FONT ===== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* ===== NAVBAR FONT ===== */
.menu-bar,
.menu-bar ul.main-menu > li,
.sub-menu li {
    font-family: 'Roboto', sans-serif; /* Modern clean font */
    font-weight: 500; /* Medium weight for main menu */
    font-size: 14px;  /* Adjust for readability */
    letter-spacing: 0.5px; /* Slight spacing for clarity */
    color: #333; /* Default text color */
}

.menu-bar ul.main-menu > li:hover {
    color: #0b4a7c; /* Hover color as in your original CSS */
}

/* =====================================================
   COMMON (DESKTOP + MOBILE)
===================================================== */

/* TOP BAR */
.top-bar{
  background:#fff;
  border-bottom:1px solid #ddd;
  padding:10px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* LEFT LOGO */
.logo-area{
  display:flex;
  align-items:center;
  margin-left:20px;
}
.logo-area img{
  height:60px;
}

/* RIGHT LOGOS */
.gov-logos{
  display:flex;
  align-items:center;
  gap:16px;
  margin-right:30px;
}
.gov-logos img{
  height:62px;
}
.divider{
  width:1.5px;
  height:47px;
  background:#ccc;
}

/* MENU BAR */
.menu-bar{
  background:#fff;
  padding:15px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  box-shadow:0 6px 10px rgba(0,0,0,0.08);
  position:relative;
  z-index:99;
}

/* MAIN MENU */
.menu-bar ul.main-menu{
  list-style:none;
  display:flex;
  gap:22px;
  margin-left:20px;
}

.menu-bar ul.main-menu > li{
  position:relative;
  font-size:13px;
  font-weight:600;
  color:#333;
  cursor:pointer;
  padding:10px 6px;
}

.menu-bar ul.main-menu > li:hover{
  color:#0b4a7c;
}

/* SUB MENU COMMON */
.sub-menu li{
  padding:10px 18px;
  font-size:13px;
  font-weight:500;
  color:#333;
}

.sub-menu li:hover{
  background:#f6f6f6;
  color:#f58220;
}

/* HAMBURGER */
.hamburger{
  display:none;
  font-size:26px;
  cursor:pointer;
}

/* =====================================================
   DESKTOP VIEW (WEB)
===================================================== */
@media (min-width: 993px){

  /* hide + icon */
  .submenu-toggle{
    display:none;
  }

  /* dropdown */
  .sub-menu{
    position:absolute;
    top:100%;
    left:0;
    min-width:240px;
    background:#fff;
    border-top:3px solid #f58220;
    box-shadow:0 10px 25px rgba(0,0,0,0.18);
    padding:8px 0;
    opacity:0;
    visibility:hidden;
    transform:translateY(15px);
    transition:0.3s;
    z-index:999;
  }

  .has-sub:hover > .sub-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
  }
}

/* =====================================================
   MOBILE VIEW
===================================================== */
@media (max-width: 992px){

  /* top bar resize */
  .top-bar{
    padding:6px 10px;
  }

  .logo-area img{
    height:42px;
  }

  .gov-logos{
    gap:10px;
    margin-right:0;
  }

  .gov-logos img{
    height:32px;
  }

  .divider{
    height:32px;
    width:1px;
  }

  /* hamburger */
  .hamburger{
    display:block;
    margin-left:auto;
  }

  /* OFFCANVAS MENU */
  .menu-bar ul.main-menu{
    position:fixed;
    top:0;
    left:-100%;
    width:85%;
    height:100vh;
    background:#fff;
    overflow-y:auto;
    padding-top:110px;
    transition:left 0.35s ease;
    box-shadow:4px 0 20px rgba(0,0,0,0.25);
    z-index:9999;
    display:block;
  }

  .menu-bar.active ul.main-menu{
    left:0;
  }

  /* vertical items */
  .menu-bar ul.main-menu > li{
    padding:16px 20px;
    font-size:15px;
    border-bottom:1px solid #eee;
    background:#fff;
  }

  /* + icon */
  .submenu-toggle{
    display:block;
    position:absolute;
    right:18px;
    top:50%;
    transform:translateY(-50%);
    font-size:22px;
    color:#f58220;
    cursor:pointer;
  }

  /* submenu */
  .sub-menu{
    display:none;
    background:#f9f9f9;
   
    padding-left:12px;
    margin-top:10px;
  }

  .sub-menu li{
    padding:10px 0;
    font-size:14px;
    border-bottom:1px dashed #ddd;
  }

  .has-sub.active > .sub-menu{
    display:block;
  }
}


.menu-bar a{
  text-decoration:none;
  color:inherit;
  display:block;
  width:100%;
}

/* INNER LEVEL MENU */
.has-inner {
  position: relative;
}

/* right side submenu */
.inner-sub-menu.right-menu {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 230px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.18);
  display: none;
  padding: 10px 0;
  z-index: 1000;
}

/* list items */
.inner-sub-menu li {
  padding: 10px 16px;
  white-space: nowrap;
}

/* arrow */
.inner-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.arrow {
  font-size: 14px;
  color: #999;
}

/* DESKTOP: hover to open side menu */


/* MOBILE: JS controlled */
@media (max-width: 992px) {
  .inner-sub-menu.right-menu {
    position: static;
    box-shadow: none;
    padding-left: 16px;
  }
}


/* SHOW inner submenu on click */
.has-inner.active > .inner-sub-menu {
  display: block;
}

/* pointer feel */
.who-toggle {
  cursor: pointer;
}

/* optional: arrow rotate */
.has-inner.active .arrow {
  transform: rotate(90deg);
  display: inline-block;
  transition: 0.3s;
}
