:root {
  --hcb-primary: #005e9e;
  --hcb-secondary: #0078c1;
  --hcb-dark: #333333;
  --hcb-white: #ffffff;
  --hcb-light: #f5f9fc;
  --hcb-border: rgba(0, 94, 158, 0.14);
  --hcb-shadow: 0 18px 50px rgba(0, 50, 90, 0.14);
}

body.hcb-menu-open {
  overflow: hidden;
}

.hcb-header,
.hcb-header * {
  box-sizing: border-box;
}

/* === STICKY NAV BAR ===
   The whole header is sticky, but pulled UP by the height of the rows
   that should disappear (topbar + mainbar on desktop, topbar on mobile).
   That way the topbar/mainbar scroll out of view naturally and ONLY the
   nav strip (desktop) or main bar (mobile) remains pinned at top.
   The actual offset is computed by JS in --hcb-sticky-offset. */
.hcb-header {
  --hcb-sticky-offset: 0px;
  position: sticky;
  top: calc(var(--hcb-sticky-offset) * -1);
  z-index: 9999;
  background: var(--hcb-white);
  font-family: "Poppins", Arial, sans-serif;
}

.hcb-header.is-scrolled .hcb-nav,
.hcb-header.is-scrolled .hcb-mainbar {
  box-shadow: 0 8px 24px rgba(0, 45, 85, 0.10);
}

.hcb-header svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.hcb-container {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.hcb-topbar {
  background: linear-gradient(90deg, #004d82, var(--hcb-primary), var(--hcb-secondary));
  color: #fff;
  font-size: 13px;
}

.hcb-topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hcb-topbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hcb-trust-text {
  font-weight: 500;
  opacity: 0.96;
}

.hcb-toplink {
  color: #fff !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  opacity: 0.96;
}

.hcb-toplink:hover {
  opacity: 1;
  text-decoration: underline !important;
}

.hcb-mini-icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
}

.hcb-mini-icon svg {
  width: 14px;
  height: 14px;
}

.hcb-topbar-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hcb-topbar-socials a,
.hcb-drawer-socials a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #fff !important;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  text-decoration: none !important;
  transition: 0.25s ease;
}

.hcb-topbar-socials a:hover {
  background: #fff;
  color: var(--hcb-primary) !important;
  transform: translateY(-1px);
}

.hcb-topbar-socials svg,
.hcb-drawer-socials svg {
  width: 15px;
  height: 15px;
}

.hcb-mainbar {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hcb-border);
  transition: box-shadow 0.25s ease;
}

.hcb-header.is-scrolled .hcb-mainbar,
.hcb-header.is-scrolled .hcb-nav {
  box-shadow: 0 8px 30px rgba(0, 45, 85, 0.08);
}

.hcb-mainbar-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.hcb-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.hcb-logo img,
.hcb-drawer-logo img {
  display: block;
  max-width: 195px;
  height: auto;
}

.hcb-search {
  position: relative;
  flex: 1;
  max-width: 480px;
}

.hcb-search-form {
  position: relative;
  margin: 0;
}

.hcb-search-input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--hcb-border) !important;
  background: #eef8ff !important;
  border-radius: 999px !important;
  padding: 0 50px 0 18px !important;
  color: var(--hcb-dark) !important;
  font-size: 14px !important;
  outline: none !important;
  box-shadow: none !important;
}

.hcb-search-input:focus {
  border-color: var(--hcb-secondary) !important;
  box-shadow: 0 0 0 4px rgba(0, 120, 193, 0.12) !important;
}

.hcb-search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--hcb-primary) !important;
  color: #fff !important;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0 !important;
}

.hcb-search-results {
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
  right: 0;
  z-index: 10001;
  margin: 0 !important;
  padding: 8px !important;
  list-style: none !important;
  background: #fff;
  border: 1px solid var(--hcb-border);
  border-radius: 18px;
  box-shadow: var(--hcb-shadow);
  max-height: 320px;
  overflow-y: auto;
}

.hcb-search-results li {
  margin: 0 !important;
}

.hcb-search-results a,
.hcb-search-results span {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--hcb-dark) !important;
  text-decoration: none !important;
  font-size: 14px;
}

.hcb-search-results a:hover {
  background: var(--hcb-light);
  color: var(--hcb-primary) !important;
}

.hcb-main-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hcb-call-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--hcb-dark) !important;
  text-decoration: none !important;
  padding: 8px 12px;
  border: 1px solid var(--hcb-border);
  border-radius: 999px;
  background: #fff;
}

.hcb-call-card span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--hcb-primary);
  color: #fff;
}

.hcb-call-card strong {
  font-size: 14px;
  white-space: nowrap;
}

.hcb-quote-btn,
.hcb-nav-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--hcb-primary), var(--hcb-secondary));
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 12px 28px rgba(0, 94, 158, 0.24);
  transition: 0.25s ease;
  border: 0;
}

.hcb-quote-btn:hover,
.hcb-nav-quote:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0, 94, 158, 0.3);
  color: #fff !important;
}

.hcb-menu-toggle,
.hcb-drawer-close {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hcb-border) !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: var(--hcb-primary) !important;
  padding: 0 !important;
  place-items: center;
  cursor: pointer;
}

.hcb-menu-toggle .hcb-menu-close {
  display: none;
}

.hcb-menu-toggle.is-active .hcb-menu-open {
  display: none;
}

.hcb-menu-toggle.is-active .hcb-menu-close {
  display: block;
}

.hcb-nav {
  background: var(--hcb-light);
  border-bottom: 1px solid var(--hcb-border);
}

.hcb-nav-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hcb-nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hcb-nav-list > li {
  position: relative;
  margin: 0 !important;
}

.hcb-nav-list > li > a {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  color: var(--hcb-dark) !important;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 600;
  border-radius: 14px;
  transition: 0.22s ease;
}

.hcb-nav-list > li > a:hover,
.hcb-has-mega:hover > .hcb-mega-trigger {
  color: var(--hcb-primary) !important;
  background: rgba(0, 120, 193, 0.08);
}

.hcb-mega-trigger span svg {
  width: 15px;
  height: 15px;
}

.hcb-mega {
  position: absolute;
  left: 0;
  top: calc(100% + 12px);
  width: min(1120px, calc(100vw - 40px));
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 22px;
  background:
    radial-gradient(circle at top left, rgba(0, 120, 193, 0.12), transparent 34%),
    #fff;
  border: 1px solid var(--hcb-border);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--hcb-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: 0.22s ease;
}

.hcb-has-mega:hover .hcb-mega,
.hcb-has-mega:focus-within .hcb-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.hcb-mega-material {
  width: min(880px, calc(100vw - 40px));
}

.hcb-mega-intro {
  background: linear-gradient(145deg, var(--hcb-primary), var(--hcb-secondary));
  color: #fff;
  border-radius: 20px;
  padding: 24px;
  min-height: 100%;
}

.hcb-eyebrow {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}

.hcb-mega-intro h3 {
  color: #fff;
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 10px;
}

.hcb-mega-intro p {
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 18px;
}

.hcb-mega-intro a {
  color: #fff !important;
  font-weight: 700;
  text-decoration: underline !important;
  text-underline-offset: 5px;
}

.hcb-mega-grid {
  display: grid;
  gap: 12px;
}

.hcb-mega-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hcb-mega-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hcb-mega-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid rgba(0, 94, 158, 0.1);
  border-radius: 16px;
  background: rgba(245, 249, 252, 0.7);
  text-decoration: none !important;
  color: var(--hcb-dark) !important;
  transition: 0.22s ease;
}

.hcb-mega-card:hover {
  background: #fff;
  border-color: rgba(0, 120, 193, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 65, 110, 0.08);
}

.hcb-card-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #e5f5ff;
  color: var(--hcb-primary);
}

.hcb-card-icon svg {
  width: 22px;
  height: 22px;
}

.hcb-mega-card strong {
  display: block;
  color: var(--hcb-dark);
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 5px;
}

.hcb-mega-card small {
  display: block;
  color: #667085;
  font-size: 12px;
  line-height: 1.45;
}

.hcb-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 9997;
  background: rgba(10, 25, 40, 0.52);
  opacity: 0;
  visibility: hidden;
  transition: 0.24s ease;
}

.hcb-mobile-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.hcb-mobile-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(420px, 92vw);
  z-index: 9998;
  background: #fff;
  transform: translateX(105%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  box-shadow: -24px 0 70px rgba(0, 35, 65, 0.2);
  padding: 18px;
}

.hcb-mobile-drawer.is-active {
  transform: translateX(0);
}

.hcb-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hcb-border);
}

.hcb-drawer-close {
  display: grid;
}

.hcb-drawer-search {
  margin: 18px 0;
  max-width: none;
}

.hcb-drawer-menu {
  display: grid;
  gap: 8px;
}

.hcb-drawer-menu > a,
.hcb-accordion-btn {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  color: var(--hcb-dark) !important;
  text-decoration: none !important;
  font-weight: 650;
  font-size: 15px;
  padding: 0 14px;
  border-radius: 14px;
  background: var(--hcb-light) !important;
  border: 1px solid rgba(0, 94, 158, 0.08) !important;
  cursor: pointer;
}

.hcb-accordion-btn span {
  color: var(--hcb-primary);
  font-size: 22px;
  line-height: 1;
}

.hcb-accordion-panel {
  display: none;
  padding: 8px 8px 12px 18px;
}

.hcb-accordion-panel.is-open {
  display: grid;
  gap: 4px;
}

.hcb-accordion-panel a {
  color: #475467 !important;
  text-decoration: none !important;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 14px;
}

.hcb-accordion-panel a:hover {
  background: #eef8ff;
  color: var(--hcb-primary) !important;
}

.hcb-drawer-cta {
  margin-top: 18px;
  padding: 18px;
  background: linear-gradient(145deg, #eef8ff, #fff);
  border: 1px solid var(--hcb-border);
  border-radius: 20px;
  display: grid;
  gap: 10px;
}

.hcb-drawer-cta .hcb-quote-btn {
  width: 100%;
}

.hcb-drawer-contact {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--hcb-dark) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
}

.hcb-drawer-contact svg {
  color: var(--hcb-primary);
}

.hcb-drawer-socials {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hcb-drawer-socials a {
  color: var(--hcb-primary) !important;
  background: #eef8ff;
}

.hcb-drawer-socials a:hover {
  background: var(--hcb-primary);
  color: #fff !important;
}

@media (max-width: 1100px) {
  .hcb-desktop-search,
  .hcb-nav {
    display: none;
  }

  .hcb-menu-toggle {
    display: grid;
  }

  .hcb-mainbar-inner {
    min-height: 78px;
  }

  .hcb-call-card {
    display: none;
  }
}

@media (max-width: 768px) {
  .hcb-container {
    width: min(100% - 24px, 1240px);
  }

  .hcb-topbar-inner {
    justify-content: center;
    text-align: center;
    min-height: auto;
    padding: 8px 0;
  }

  .hcb-topbar-left {
    justify-content: center;
    gap: 10px;
  }

  .hcb-trust-text {
    width: 100%;
  }

  .hcb-topbar-socials {
    display: none;
  }

  .hcb-mainbar-inner {
    min-height: 72px;
    gap: 12px;
  }

  .hcb-logo img {
    max-width: 158px;
  }

  .hcb-main-actions {
    gap: 8px;
  }

  .hcb-main-actions .hcb-quote-btn {
    display: none;
  }
}

@media (max-width: 420px) {
  .hcb-toplink {
    font-size: 12px;
  }

  .hcb-logo img {
    max-width: 145px;
  }

  .hcb-mobile-drawer {
    width: 94vw;
  }
}
/* Mobile Drawer Icons Fix */
.hcb-drawer-contact svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    flex-shrink: 0 !important;
}

.hcb-drawer-contact {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
/* Mobile Drawer Overlap Fix */
.hcb-mobile-drawer {
    z-index: 100000 !important;
}
html {
    scrollbar-gutter: stable;
}

/* Mega-menu inside a sticky nav: keep dropdowns above page content */
.hcb-mega {
    z-index: 10000;
}
@media (max-width: 768px) {
  .hcb-topbar {
    display: none !important;
  }
}
@media (max-width: 768px) {
  /* Container ko balance karne ke liye */
  .hcb-mainbar-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 15px !important; /* Left aur Right dono taraf barabar gap */
    max-width: 100% !important;
    margin: 0 !important;
  }

  /* Logo margin reset */
  .hcb-logo {
    margin: 0 !important;
  }

  /* Header background aur halki shadow */
  .hcb-mainbar {
    background-color: #ffffff !important; 
    border-bottom: 1px solid #eee !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
  }
}
/* Drawer header aur logo ko chota (compress) karne ke liye */
.hcb-drawer-head {
  padding-bottom: 10px !important;
  min-height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Logo chota karne ke liye */
.hcb-drawer-head .hcb-logo img, 
.hcb-drawer-head img {
  max-width: 130px !important;
  height: auto !important;
}

/* Close button chota karne ke liye */
.hcb-drawer-head .hcb-drawer-close,
.hcb-drawer-head .close-btn {
  width: 36px !important;
  height: 36px !important;
  line-height: 36px !important;
  font-size: 18px !important;
}