/* ============================================================
   ICV Header1 – Bizan Home-03 Inspired
   Brand colors: #004369 | #007dc5 | #007ec5
   ============================================================ */

:root {
  --icv-h1-dark: #004369;
  --icv-h1-primary: #007dc5;
  --icv-h1-primary-light: #007ec5;
  --icv-h1-heading: #091f2f;
  --icv-h1-text: #74787c;
  --icv-h1-white: #ffffff;
  --icv-h1-border: #eaeaea;
  --icv-h1-shell-gap: clamp(16px, 3vw, 48px);
  --icv-h1-radius: 0 0 18px 18px; /* straight top – only bottom corners curve */
  --icv-h1-transition: all 0.35s ease;
}

/* Custom container – avoids site .container zero-padding issue */
.icv-h1-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: clamp(16px, 4vw, 40px);
  box-sizing: border-box;
}

/* ---- Top Bar (inside white shell) ---- */
.icv-header1 .icv-h1-topbar {
  background: transparent;
  border-bottom: 1px solid var(--icv-h1-border);
  color: var(--icv-h1-text);
  font-size: 13px;
  padding: 12px 0;
  position: relative;
  z-index: 1;
}

.icv-header1 .icv-h1-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.icv-header1 .icv-h1-topbar-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.icv-header1 .icv-h1-topbar-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  position: relative;
}

.icv-header1 .icv-h1-topbar-list li:first-child {
  padding-left: 0;
}

.icv-header1 .icv-h1-topbar-list li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: rgba(0, 67, 105, 0.15);
}

.icv-header1 .icv-h1-topbar-list li i {
  color: var(--icv-h1-primary-light);
  font-size: 14px;
  flex-shrink: 0;
}

.icv-header1 .icv-h1-topbar-list a,
.icv-header1 .icv-h1-topbar-list span {
  color: var(--icv-h1-heading);
  text-decoration: none;
  transition: var(--icv-h1-transition);
  line-height: 1.4;
}

.icv-header1 .icv-h1-topbar-list a:hover {
  color: var(--icv-h1-primary-light);
}

/* Topbar social – inside white shell */
.icv-header1 .icv-h1-social-list {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.icv-header1 .icv-h1-social-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--icv-h1-primary);
  font-size: 15px;
  line-height: 1;
  transition: var(--icv-h1-transition);
}

.icv-header1 .icv-h1-social-list a i.fa {
  font-size: 15px;
  line-height: 1;
  width: 15px;
  text-align: center;
}

.icv-header1 .icv-h1-social-list a .icv-h1-social-svg {
  width: 15px;
  height: 15px;
  display: block;
  fill: currentColor;
  flex-shrink: 0;
}

.icv-header1 .icv-h1-social-list a:hover {
  color: var(--icv-h1-dark);
  transform: translateY(-2px);
}

/* ---- Primary Nav Shell (white block – straight top edges) ---- */
.icv-header1 .icv-h1-primary-shell {
  padding: 0;
  position: relative;
  z-index: 1000;
}

.icv-header1 .icv-h1-primary {
  background: var(--icv-h1-white);
  border-radius: 0;
  box-shadow: none;
  position: relative;
  transition: var(--icv-h1-transition);
  overflow: visible;
}

.icv-header1.is-home .icv-h1-primary-shell {
  padding: 0 var(--icv-h1-shell-gap);
}

.icv-header1.is-home .icv-h1-primary {
  border-radius: var(--icv-h1-radius);
  box-shadow: 0 8px 32px rgba(0, 67, 105, 0.1);
}

.icv-header1 .icv-h1-primary-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  min-height: 78px;
  overflow: visible;
  position: relative;
  z-index: 2;
}

.icv-header1 .icv-h1-logo {
  flex-shrink: 0;
}

.icv-header1 .icv-h1-logo a {
  display: block;
}

.icv-header1 .icv-h1-logo img {
  max-height: 54px;
  width: auto;
}

/* ---- Main Navigation ---- */
.icv-header1 .icv-h1-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.icv-header1 .icv-h1-menu {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.icv-header1 .icv-h1-menu > li {
  position: relative;
}

.icv-header1 .icv-h1-menu > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 14px 12px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--icv-h1-heading);
  text-decoration: none !important;
  border: none;
  background: transparent;
  box-shadow: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.icv-header1 .icv-h1-menu > li > a:hover,
.icv-header1 .icv-h1-menu > li > a:focus,
.icv-header1 .icv-h1-menu > li > a:active,
.icv-header1 .icv-h1-menu > li.has-dropdown:hover > a {
  color: var(--icv-h1-primary);
  text-decoration: none !important;
  border: none;
  background: transparent;
  outline: none;
}

/* Active menu – blue text only (no blue dot) */
.icv-header1 .icv-h1-menu > li.active > a {
  color: var(--icv-h1-primary);
  text-decoration: none !important;
}

/* Dropdown arrow */
.icv-header1 .icv-h1-menu > li.has-dropdown > a::after {
  content: "\f107";
  font-family: FontAwesome;
  margin-left: 2px;
  font-size: 11px;
  font-weight: normal;
  line-height: 1;
  display: inline-block;
  transition: transform 0.3s ease;
}

.icv-header1 .icv-h1-menu > li.has-dropdown:hover > a::after {
  transform: rotate(-180deg);
}

/* Dropdown */
.icv-header1 .icv-h1-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  max-width: 320px;
  background: var(--icv-h1-white);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border: none;
  border-radius: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 1100;
}

.icv-header1 .icv-h1-menu > li.has-dropdown:hover > .icv-h1-submenu,
.icv-header1 .icv-h1-menu > li.has-dropdown:focus-within > .icv-h1-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Keep last dropdowns from overflowing viewport */
.icv-header1 .icv-h1-menu > li.has-dropdown:nth-last-child(-n + 2) > .icv-h1-submenu {
  left: auto;
  right: 0;
}

.icv-header1 .icv-h1-submenu li {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.icv-header1 .icv-h1-submenu li + li {
  border-top: 1px dashed var(--icv-h1-border);
}

.icv-header1 .icv-h1-submenu li a {
  position: relative;
  display: block;
  padding: 14px 24px;
  font-size: 13px;
  color: var(--icv-h1-heading);
  text-decoration: none !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
  overflow: hidden;
  z-index: 1;
  transition: color 0.35s ease;
}

/* Left-to-right blue fill on submenu hover */
.icv-header1 .icv-h1-submenu li a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--icv-h1-primary);
  transition: width 0.35s ease;
  z-index: -1;
}

.icv-header1 .icv-h1-submenu li a:hover,
.icv-header1 .icv-h1-submenu li a:focus {
  color: var(--icv-h1-white);
  text-decoration: none !important;
}

.icv-header1 .icv-h1-submenu li a:hover::before,
.icv-header1 .icv-h1-submenu li a:focus::before {
  width: 100%;
}

/* Nested flyout under Services */
.icv-header1 .icv-h1-submenu > li.has-nested > a::after {
  content: "\f105";
  font-family: FontAwesome;
  float: right;
  margin-left: 12px;
  font-size: 12px;
  font-weight: normal;
  line-height: 1.2;
}

.icv-header1 .icv-h1-submenu--nested {
  top: 0;
  left: 100%;
  min-width: 280px;
  max-width: 360px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(10px);
}

.icv-header1 .icv-h1-submenu > li.has-nested:hover > .icv-h1-submenu--nested,
.icv-header1 .icv-h1-submenu > li.has-nested:focus-within > .icv-h1-submenu--nested {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.icv-header1 .icv-h1-menu > li.has-dropdown:nth-last-child(-n + 2) > .icv-h1-submenu .icv-h1-submenu--nested {
  left: auto;
  right: 100%;
  transform: translateX(-10px);
}

.icv-header1 .icv-h1-menu > li.has-dropdown:nth-last-child(-n + 2) > .icv-h1-submenu > li.has-nested:hover > .icv-h1-submenu--nested,
.icv-header1 .icv-h1-menu > li.has-dropdown:nth-last-child(-n + 2) > .icv-h1-submenu > li.has-nested:focus-within > .icv-h1-submenu--nested {
  transform: translateX(0);
}

/* ---- Hamburger Trigger (Bizan style) ---- */
.icv-header1 .icv-h1-sidebar-trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  padding: 10px;
  background: rgba(0, 125, 197, 0.1);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--icv-h1-transition);
}

.icv-header1 .icv-h1-sidebar-trigger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--icv-h1-primary);
  border-radius: 2px;
  transition: var(--icv-h1-transition);
}

.icv-header1 .icv-h1-sidebar-trigger:hover {
  background: rgba(0, 125, 197, 0.18);
}

/* ---- News Ticker ---- */
.icv-header1 .icv-h1-ticker {
  background: var(--icv-h1-primary-light);
  color: var(--icv-h1-white);
  overflow: hidden;
}

.icv-header1 .icv-h1-ticker marquee,
.icv-header1 .icv-h1-ticker .icv-h1-ticker-text {
  margin: 0;
  padding: 8px 0;
  font-size: 13px;
}

/* ---- Sticky: full-width white nav ---- */
.icv-header1.is-sticky .icv-h1-topbar {
  display: none;
}

.icv-header1.is-sticky .icv-h1-primary-shell {
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  animation: icvH1SlideDown 0.35s ease;
}

.icv-header1.is-sticky .icv-h1-primary {
  border-radius: 0;
  box-shadow: 0 4px 20px rgba(0, 67, 105, 0.1);
}

.icv-header1.is-sticky + .icv-h1-sticky-spacer {
  display: block;
}

.icv-h1-sticky-spacer {
  display: none;
  height: 78px;
}

@keyframes icvH1SlideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* ---- Overlay ---- */
.icv-h1-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--icv-h1-transition);
}

.icv-h1-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* ---- Bizan Info Sidebar ---- */
.icv-h1-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 380px;
  max-width: 92vw;
  height: 100vh;
  background: var(--icv-h1-white);
  z-index: 9999;
  overflow-y: auto;
  transition: right 0.4s ease;
  box-shadow: -6px 0 30px rgba(0, 0, 0, 0.12);
}

.icv-h1-sidebar.is-open {
  right: 0;
}

.icv-h1-sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 30px 20px;
  border-bottom: 1px solid var(--icv-h1-border);
}

.icv-h1-sidebar-logo img {
  max-height: 48px;
  width: auto;
}

.icv-h1-sidebar-close {
  background: none;
  border: none;
  color: var(--icv-h1-primary);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: var(--icv-h1-transition);
}

.icv-h1-sidebar-close:hover {
  color: var(--icv-h1-dark);
  transform: rotate(90deg);
}

.icv-h1-sidebar-body {
  padding: 20px 30px 36px;
}

/* ---- Mobile / Tablet accordion nav ---- */
.icv-h1-mobile-nav {
  display: none;
  margin: 0 0 28px;
}

.icv-h1-mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.icv-h1-mobile-menu > li {
  border-bottom: 1px solid var(--icv-h1-border);
}

.icv-h1-mobile-menu > li > a,
.icv-h1-mobile-row > a {
  display: block;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--icv-h1-heading);
  text-decoration: none;
  transition: var(--icv-h1-transition);
}

.icv-h1-mobile-menu > li > a:hover,
.icv-h1-mobile-row > a:hover,
.icv-h1-mobile-menu > li.active > a,
.icv-h1-mobile-menu > li.active > .icv-h1-mobile-row > a {
  color: var(--icv-h1-primary);
}

.icv-h1-mobile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.icv-h1-mobile-row > a {
  flex: 1;
  min-width: 0;
}

.icv-h1-submenu-toggle {
  position: relative;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 3px;
  background: var(--icv-h1-primary);
  color: var(--icv-h1-white);
  cursor: pointer;
  transition: var(--icv-h1-transition);
}

.icv-h1-submenu-toggle span,
.icv-h1-submenu-toggle span::before {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: var(--icv-h1-transition);
}

.icv-h1-submenu-toggle span::before {
  content: '';
  width: 2px;
  height: 12px;
}

.icv-h1-mobile-menu > li.is-open > .icv-h1-mobile-row .icv-h1-submenu-toggle {
  background: var(--icv-h1-dark);
}

.icv-h1-mobile-menu > li.is-open > .icv-h1-mobile-row .icv-h1-submenu-toggle span::before {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}

.icv-h1-mobile-submenu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0 0 12px 14px;
}

.icv-h1-mobile-menu > li.is-open > .icv-h1-mobile-submenu,
.icv-h1-mobile-submenu > li.is-open > .icv-h1-mobile-submenu {
  display: block;
}

.icv-h1-mobile-submenu > li.has-submenu > .icv-h1-mobile-row > a {
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--icv-h1-heading);
}

.icv-h1-mobile-submenu > li.has-submenu > .icv-h1-mobile-submenu {
  padding-left: 12px;
}

.icv-h1-mobile-submenu > li.is-open > .icv-h1-mobile-row .icv-h1-submenu-toggle {
  background: var(--icv-h1-dark);
}

.icv-h1-mobile-submenu > li.is-open > .icv-h1-mobile-row .icv-h1-submenu-toggle span::before {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}

.icv-h1-mobile-submenu li a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--icv-h1-text);
  text-decoration: none;
  transition: var(--icv-h1-transition);
}

.icv-h1-mobile-submenu li a:hover {
  color: var(--icv-h1-primary);
}

.icv-h1-sidebar-block {
  margin-bottom: 36px;
}

.icv-h1-sidebar-block:last-child {
  margin-bottom: 0;
}

.icv-h1-sidebar-block h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--icv-h1-heading);
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.icv-h1-sidebar-block p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--icv-h1-text);
  margin: 0 0 22px;
}

.icv-h1-sidebar-cta {
  display: inline-block;
  padding: 14px 28px;
  background: var(--icv-h1-primary);
  color: var(--icv-h1-white) !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: var(--icv-h1-transition);
}

.icv-h1-sidebar-cta:hover {
  background: var(--icv-h1-dark);
  color: var(--icv-h1-white) !important;
}

.icv-h1-sidebar-contact {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.icv-h1-sidebar-contact li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--icv-h1-text);
}

.icv-h1-sidebar-contact li a {
  color: var(--icv-h1-text);
  text-decoration: none;
  transition: var(--icv-h1-transition);
}

.icv-h1-sidebar-contact li a:hover {
  color: var(--icv-h1-primary);
}

.icv-h1-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--icv-h1-primary);
  color: var(--icv-h1-white);
  font-size: 14px;
  border-radius: 4px;
}

.icv-h1-sidebar-social {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.icv-h1-sidebar-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--icv-h1-primary);
  color: var(--icv-h1-white);
  font-size: 15px;
  line-height: 1;
  border-radius: 4px;
  transition: var(--icv-h1-transition);
}

.icv-h1-sidebar-social a i.fa {
  font-size: 15px;
  line-height: 1;
  width: 15px;
  text-align: center;
}

.icv-h1-sidebar-social a .icv-h1-social-svg {
  width: 15px;
  height: 15px;
  display: block;
  fill: currentColor;
  flex-shrink: 0;
}

.icv-h1-sidebar-social a:hover {
  background: var(--icv-h1-dark);
  color: var(--icv-h1-white);
}

/* ---- Responsive ---- */
@media (max-width: 1199px) {
  .icv-header1 .icv-h1-menu > li > a {
    padding: 14px 8px;
    font-size: 12px;
  }
}

@media (max-width: 991px) {
  .icv-header1 .icv-h1-nav {
    display: none;
  }

  .icv-header1 .icv-h1-primary-inner {
    min-height: 68px;
    padding: 10px 0;
  }

  .icv-header1 .icv-h1-logo img {
    max-height: 46px;
  }

  .icv-h1-sticky-spacer {
    height: 68px;
  }

  /* Show accordion menu on tablet + mobile */
  .icv-h1-mobile-nav {
    display: block;
  }

  /* Tablet: hide About description block */
  .icv-h1-sidebar-about {
    display: none;
  }
}

@media (max-width: 767px) {
  :root {
    --icv-h1-shell-gap: 12px;
  }

  .icv-header1 .icv-h1-topbar-list {
    flex-wrap: nowrap;
    width: 100%;
    justify-content: center;
    gap: 0;
  }

  .icv-header1 .icv-h1-topbar-list li:nth-child(2) {
    display: none;
  }

  .icv-header1 .icv-h1-topbar-list li {
    padding: 0 10px;
    flex-shrink: 1;
    min-width: 0;
  }

  .icv-header1 .icv-h1-topbar-list a {
    white-space: nowrap;
  }

  .icv-header1 .icv-h1-social-list {
    gap: 10px;
  }

  /* Mobile: hide About description */
  .icv-h1-sidebar-about {
    display: none;
  }

  .icv-h1-sidebar {
    width: 100%;
    max-width: 100vw;
    right: -100%;
  }
}

@media (max-width: 575px) {
  .icv-header1 .icv-h1-topbar {
    padding: 10px 0;
  }

  .icv-header1 .icv-h1-topbar-inner {
    justify-content: center;
    flex-wrap: nowrap;
  }

  .icv-header1 .icv-h1-social-list {
    display: none;
  }

  .icv-header1 .icv-h1-topbar-list {
    flex-wrap: nowrap;
    justify-content: center;
  }

  .icv-header1 .icv-h1-topbar-list li {
    padding: 0 8px;
    font-size: 11px;
    gap: 5px;
  }

  .icv-header1 .icv-h1-topbar-list li + li::before {
    height: 14px;
  }

  .icv-header1 .icv-h1-topbar-list li i {
    font-size: 12px;
  }
}
