/* ============================================================
   INDUS HOLDINGS — Header / Navigation (header.css)
   ============================================================ */

/* ── Fixed Nav ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  padding: 0 60px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(21,101,168,.1);
  transition: box-shadow .3s, background .3s;
  animation: slideDown .6s ease both;
}
.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,.1);
  background: rgba(255,255,255,.99);
}

/* ── Logo — always pinned far left ── */
.header-logo {
  display: flex; align-items: center;
  flex-shrink: 0;
  margin-right: auto;   /* pushes everything else to the right */
  text-decoration: none;
}
.header-logo img {
  height: 58px; width: auto;
  object-fit: contain; border-radius: 8px;
  transition: transform .3s;
  display: block;
}
.header-logo:hover img { transform: scale(1.04); }

/* ── Desktop Nav Links ── */
.header-nav { display: flex; align-items: center; gap: 36px; flex-shrink: 0; }
.header-nav .nav-list { display: flex; gap: 36px; list-style: none; }

.header-nav .nav-list a {
  font-size: 14px; font-weight: 500; color: var(--slate);
  text-decoration: none; transition: color .2s;
  position: relative; padding-bottom: 4px;
}
.header-nav .nav-list a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--grad); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.header-nav .nav-list a:hover { color: var(--blue); }
.header-nav .nav-list a:hover::after,
.header-nav .nav-list a.active::after { transform: scaleX(1); }
.header-nav .nav-list a.active { color: var(--blue); }

/* ── CTA Button ── */
.header-cta {
  padding: 11px 26px; border-radius: 8px;
  background: var(--grad); color: #fff;
  font-size: 14px; font-weight: 600; border: none;
  box-shadow: 0 4px 16px rgba(21,101,168,.3);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none; white-space: nowrap;
}
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21,101,168,.4);
}

/* ── Hamburger (mobile) ── */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px;
  background: none; border: none; padding: 4px;
  cursor: pointer;
}
.hamburger span {
  display: block; height: 2px; border-radius: 2px;
  background: var(--charcoal);
  transition: transform .3s, opacity .3s, width .3s;
}
.hamburger span:nth-child(1) { width: 26px; }
.hamburger span:nth-child(2) { width: 20px; }
.hamburger span:nth-child(3) { width: 26px; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 26px; }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 26px; }

/* ── Mobile Drawer ── */
.mobile-nav {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(21,101,168,.08);
  padding: 24px;
  flex-direction: column; gap: 8px;
  z-index: 999;
  box-shadow: 0 20px 50px rgba(0,0,0,.12);
  transform: translateY(-10px); opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
}
.mobile-nav.open { display: flex; transform: translateY(0); opacity: 1; }

.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-radius: 12px;
  font-size: 15px; font-weight: 500; color: var(--slate);
  text-decoration: none;
  transition: background .2s, color .2s;
  border: 1px solid transparent;
}
.mobile-nav a:hover,
.mobile-nav a.active {
  background: rgba(21,101,168,.06);
  color: var(--blue);
  border-color: rgba(21,101,168,.12);
}
.mobile-nav a.active { font-weight: 600; }
.mobile-nav a .nav-arrow { font-size: 12px; color: var(--mist); }
.mobile-nav a.active .nav-arrow,
.mobile-nav a:hover .nav-arrow { color: var(--blue-lt); }

.mobile-nav .mobile-cta {
  margin-top: 10px; text-align: center;
  padding: 15px; border-radius: 12px;
  background: var(--grad); color: #fff;
  font-size: 15px; font-weight: 600;
  box-shadow: 0 6px 20px rgba(21,101,168,.35);
}
.mobile-nav .mobile-divider {
  height: 1px; background: rgba(21,101,168,.08); margin: 4px 0;
}

/* ── Breadcrumb ── */
.page-breadcrumb {
  position: absolute; top: calc(var(--nav-h) + 20px); left: 60px; z-index: 5;
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,.45);
}
.page-breadcrumb a { color: rgba(255,255,255,.45); transition: color .2s; }
.page-breadcrumb a:hover { color: rgba(255,255,255,.8); }
.page-breadcrumb .sep { color: rgba(255,255,255,.2); }
.page-breadcrumb .cur { color: rgba(255,255,255,.85); font-weight: 500; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .site-header { padding: 0 24px; }
  .header-nav .nav-list { display: none; }
  .header-cta.desktop-only { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 480px) {
  .header-logo img { height: 48px; }
  .page-breadcrumb { left: 24px; }
}
