.cevt-global-header {
  font-family: "Tiro Bangla", serif;
  width: min(1080px, calc(100% - 24px));
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.10);
}

.cevt-global-header a {
  text-decoration: none;
  color: inherit;
}

.cevt-global-header .top-access {
  background: #078d33;
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 14px 0 12px;
  min-height: 54px;
}

.cevt-global-header .top-links,
.cevt-global-header .quick-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.cevt-global-header .top-links {
  min-width: 0;
  position: relative;
}

.cevt-global-header .portal-link {
  font-weight: 700;
  white-space: nowrap;
  font-size: 14px;
  padding-right: 8px;
}

.cevt-global-header .top-chip,
.cevt-global-header .urgent-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 4px;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1;
}

.cevt-global-header .top-chip {
  background: rgba(255, 255, 255, 0.16);
  font-size: 13px;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
}

.cevt-global-header .top-chip span {
  font-size: 10px;
  opacity: 0.9;
}

.cevt-global-header .urgent-btn {
  background: #ef3d3d;
  font-size: 13px;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
}

.cevt-global-header .cevt-topbar-office {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.cevt-global-header .cevt-topbar-office-label,
.cevt-global-header .cevt-topbar-office-type-label {
  overflow: hidden;
  text-overflow: ellipsis;
}

.cevt-global-header .cevt-topbar-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 30;
  width: min(560px, calc(100vw - 32px));
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.22);
  padding: 14px;
}

.cevt-global-header .cevt-topbar-panel-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cevt-global-header .cevt-topbar-dynamic {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1 1 100%;
}

.cevt-global-header .cevt-topbar-select {
  min-width: 220px;
  min-height: 40px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  padding: 0 12px;
  color: #1f2937;
  font-family: inherit;
  font-size: 13px;
  background: #fff;
}

.cevt-global-header .cevt-topbar-office.is-open .top-chip {
  background: rgba(255, 255, 255, 0.22);
}

.cevt-global-header .cevt-topbar-go-btn[disabled] {
  opacity: 0.75;
  cursor: not-allowed;
}

.cevt-global-header .search-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 0 10px 0 16px;
  color: #667085;
  min-width: 260px;
  min-height: 38px;
  justify-content: space-between;
  font-size: 13px;
  border: 0;
}

.cevt-global-header .cevt-header-search-form {
  margin: 0;
}

.cevt-global-header .cevt-header-search-input {
  border: 0;
  background: transparent;
  color: #344054;
  font-size: 13px;
  width: 100%;
  min-width: 0;
  outline: none;
  font-family: inherit;
}

.cevt-global-header .cevt-header-search-input::placeholder {
  color: #667085;
  opacity: 1;
}

.cevt-global-header .cevt-header-search-button {
  border: 0;
  background: transparent;
  color: #344054;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  flex: 0 0 auto;
  font-family: inherit;
}

.cevt-global-header .cevt-header-search-button:hover,
.cevt-global-header .cevt-header-search-button:focus {
  color: #008a3d;
}

.cevt-global-header .cevt-header-search-form:focus-within {
  box-shadow: 0 0 0 2px rgba(0, 138, 61, 0.18);
}

.cevt-global-header .language,
.cevt-global-header .language-switch {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 14px;
  white-space: nowrap;
}

.cevt-global-header .language-icon {
  font-size: 16px;
  line-height: 1;
}

.cevt-global-header .cevt-lang-toggle {
  font-weight: 700;
}

.cevt-global-header .cevt-gt-loader {
  display: none;
}

.cevt-global-header .hero {
  position: relative;
  min-height: 212px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4, 38, 72, 0.82) 0%, rgba(5, 66, 113, 0.58) 38%, rgba(0, 0, 0, 0.28) 100%),
    var(--cevt-hero-bg-image, url("../images/hero-bg.jpg")) center center / cover no-repeat;
}

.cevt-global-header .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.12));
  opacity: 1;
}

.cevt-global-header .hero-content {
  position: relative;
  z-index: 1;
  padding: 54px 34px 42px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 18px;
}

.cevt-global-header .gov-seal {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff url("../../themes/responsive_npf/img/logo/logo.png") center center / cover no-repeat;
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.28);
  flex: 0 0 auto;
}

.cevt-global-header .hero-title h1 {
  margin: 0 0 6px;
  font-size: clamp(26px, 4.2vw, 40px);
  letter-spacing: -0.5px;
  font-weight: 800;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  color: #fff;
}

.cevt-global-header .hero-title p {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  opacity: 0.96;
  color: #fff;
}

.cevt-global-header .main-nav {
  background: #008a3d;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  min-height: 48px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.05) inset;
}

.cevt-global-header .main-nav,
.cevt-global-header .main-nav ul,
.cevt-global-header .main-nav li {
  color: #fff !important;
}

.cevt-global-header .nav-menu-wrap {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.cevt-global-header .nav-menu,
.cevt-global-header .nav-menu > li,
.cevt-global-header .nav-menu > li > a {
  background: transparent !important;
}

.cevt-global-header .nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cevt-global-header .nav-menu-home {
  flex: 0 0 auto;
}

.cevt-global-header .nav-menu:not(.nav-menu-home) {
  flex: 1 1 auto;
}

.cevt-global-header .nav-menu > li > a {
  display: block;
  padding: 15px 13px;
  font-size: 14px;
  font-weight: 700;
  border-right: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
}

.cevt-global-header .nav-menu > li > a:hover,
.cevt-global-header .nav-menu > li:hover > a,
.cevt-global-header .nav-menu > li:focus-within > a {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
}

.cevt-global-header .nav-menu > li {
  position: relative;
}

.cevt-global-header .nav-menu > li.menu-item-has-children > a::after {
  content: " ▾";
  font-size: 11px;
}

.cevt-global-header .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  min-width: 220px;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #ffffff !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  border: 1px solid #d9e2ec;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.cevt-global-header .sub-menu li {
  position: relative;
  display: block;
  margin: 0;
  border-bottom: 1px solid #edf2f7;
}

.cevt-global-header .sub-menu li:last-child {
  border-bottom: 0;
}

.cevt-global-header .sub-menu a {
  display: block;
  padding: 10px 14px;
  border-right: 0 !important;
  color: #1f2a37 !important;
  background: #ffffff !important;
  white-space: normal;
  line-height: 1.45;
}

.cevt-global-header .sub-menu a:hover,
.cevt-global-header .sub-menu li:hover > a,
.cevt-global-header .sub-menu li:focus-within > a {
  background: #eef7f1 !important;
  color: #006b2f !important;
}

.cevt-global-header .nav-menu > li:hover > .sub-menu,
.cevt-global-header .nav-menu > li:focus-within > .sub-menu,
.cevt-global-header .sub-menu > li:hover > .sub-menu,
.cevt-global-header .sub-menu > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.cevt-global-header .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  transform: translate(10px, 0);
}

.cevt-global-header .home-icon {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
  margin-right: 8px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: #fff !important;
}

.cevt-global-header .home-icon:hover,
.cevt-global-header .home-icon:focus {
  background: rgba(255, 255, 255, 0.24) !important;
}

.cevt-global-header .home-icon-mark {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.cevt-global-header .home-icon-mark svg {
  width: 18px;
  height: 18px;
  display: block;
}

.cevt-global-header .home-icon-label {
  line-height: 1;
}

.cevt-global-header .mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 5px;
  padding: 8px 12px;
  font-family: inherit;
  font-weight: 800;
}

.cevt-global-footer-wrap {
  width: min(1080px, calc(100% - 24px));
  margin: 0 auto;
}

.cevt-global-footer-wrap .footer-graphic {
  margin-top: 160px;
  height: 62px;
  background:
    linear-gradient(to top, #767676 0 10px, transparent 10px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1080' height='70' viewBox='0 0 1080 70'%3E%3Cg fill='%23727272'%3E%3Crect x='20' y='48' width='28' height='10'/%3E%3Crect x='55' y='38' width='18' height='20'/%3E%3Crect x='84' y='30' width='12' height='28'/%3E%3Crect x='812' y='43' width='18' height='15'/%3E%3Crect x='836' y='35' width='18' height='23'/%3E%3Crect x='860' y='25' width='20' height='33'/%3E%3Crect x='886' y='17' width='19' height='41'/%3E%3Crect x='912' y='25' width='17' height='33'/%3E%3Crect x='937' y='35' width='19' height='23'/%3E%3Crect x='964' y='44' width='22' height='14'/%3E%3C/g%3E%3C/svg%3E") center bottom / contain no-repeat;
}

.cevt-global-footer {
  background: #e5e5e5;
  border-top: 4px solid #7b7b7b;
  padding: 16px 18px 20px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 12px;
  color: #374151;
}

.cevt-global-footer .footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  font-weight: 700;
}

.cevt-global-footer .footer-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cevt-global-footer .footer-badge {
  width: 44px;
  height: 28px;
  border-radius: 5px;
  background: #fff;
  border: 1px solid #cbd5e1;
  display: grid;
  place-items: center;
  color: #008a3d;
  font-weight: 900;
  font-size: 11px;
}

@media (max-width: 920px) {
  .cevt-global-header .top-access {
    align-items: stretch;
    flex-direction: column;
    padding: 10px 12px;
  }

  .cevt-global-header .top-links,
  .cevt-global-header .quick-tools {
    width: 100%;
    flex-wrap: wrap;
  }

  .cevt-global-header .portal-link {
    width: 100%;
  }

  .cevt-global-header .cevt-topbar-office {
    flex-wrap: wrap;
    width: 100%;
  }

  .cevt-global-header .cevt-topbar-panel {
    width: 100%;
    left: 0;
  }

  .cevt-global-header .cevt-topbar-select {
    min-width: 0;
    width: 100%;
  }

  .cevt-global-header .search-pill {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .cevt-global-header .hero-content {
    padding: 42px 18px 34px;
  }

  .cevt-global-header .main-nav {
    padding: 8px 12px;
    align-items: flex-start;
    flex-direction: column;
  }

  .cevt-global-header .nav-menu-wrap {
    display: block;
    width: 100%;
  }

  .cevt-global-header .mobile-menu-btn {
    display: block;
    width: 100%;
    text-align: left;
  }

  .cevt-global-header .nav-menu {
    display: none;
    width: 100%;
    margin-top: 8px;
  }

  .cevt-global-header .nav-menu-home {
    display: block;
  }

  .cevt-global-header .nav-menu-wrap.is-open .nav-menu {
    display: block;
  }

  .cevt-global-header .sub-menu {
    position: static;
    min-width: 100%;
    box-shadow: none;
    padding: 0 0 0 14px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .cevt-global-header .nav-menu > li > a {
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .cevt-global-header .home-icon {
    margin: 8px 0 0;
    justify-content: center;
  }

  .cevt-global-footer {
    flex-direction: column;
  }

  .cevt-global-footer .footer-badges {
    justify-content: flex-start;
  }
}
