
/* =========================================
   HEADER THEME VARIABLES
========================================= */

:root {
  --header-bg: rgba(255, 255, 255, 0.78);
  --header-text: #172033;
  --header-muted: #64748b;
  --header-border: rgba(148, 163, 184, 0.22);

  --header-primary: #2563eb;
  --header-primary-hover: #1d4ed8;

  --header-surface: rgba(255, 255, 255, 0.94);
  --header-surface-hover: #f1f5f9;

  --header-shadow:
    0 8px 30px rgba(15, 23, 42, 0.055);

  --header-glass:
    rgba(255, 255, 255, 0.78);

  --header-icon-bg: #315bdc;
  --header-mobile-bg: #ffffff;
}

/* Optional dark theme */

html[data-theme="dark"] {
  --header-bg: rgba(15, 23, 42, 0.88);
  --header-text: #f1f5f9;
  --header-muted: #94a3b8;
  --header-border: rgba(148, 163, 184, 0.16);

  --header-primary: #60a5fa;
  --header-primary-hover: #93c5fd;

  --header-surface: #172033;
  --header-surface-hover: #253148;

  --header-shadow:
    0 12px 35px rgba(0, 0, 0, 0.25);

  --header-glass:
    rgba(15, 23, 42, 0.88);

  --header-icon-bg: #315bdc;
  --header-mobile-bg: #111827;
}

/* =========================================
   MAIN HEADER
========================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;

  background: var(--header-bg);


  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);

  color: var(--header-text);

  border-bottom: 1px solid var(--header-border);

  box-shadow: var(--header-shadow);

  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.header-inner {
  width: min(100% - 48px, 1120px);
  min-height: 70px;

  margin: 0 auto;
padding: 0px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 28px;
}

/* =========================================
   BRAND
========================================= */

.brand {
  display: flex;
  align-items: center;

  flex-shrink: 0;

  text-decoration: none;
  color: var(--header-text);
}

.brand-logo {
  display: block;

  width: 34px;
  height: 65px;

  object-fit: contain;
  object-position: left center;
}

.brand-name {
  display: flex;
  flex-direction: column;
  justify-content: center;

  gap: 2px;
  padding-left: 6px;
}

.brand-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;

  color: var(--header-text);
}

.brand-name small {
  color: var(--header-muted);

  font-size: 11px;
  font-weight: 500;

  white-space: nowrap;
  line-height: 1.4;
}

/* =========================================
   DESKTOP NAVIGATION
========================================= */

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 8px;
  flex: 1;
}

.nav-dropdown {
  position: relative;
}

.nav-link {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 7px;

  padding: 11px 13px;

  border: none;
  border-radius: 8px;

  background: transparent;

  color: var(--muted-color, #64748b);

  text-decoration: none;

  font-family: inherit;
  font-size: 14px;
  font-weight: 550;

  white-space: nowrap;
  cursor: pointer;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.nav-link:hover,
.nav-dropdown.is-open > .nav-link {
  background: rgba(37, 99, 235, 0.08);
  color: var(--header-primary);
}

.dropdown-arrow {
  display: inline-block;

  font-size: 11px;

  transition: transform 0.2s ease;
}

.nav-dropdown.is-open .dropdown-arrow,
.mobile-dropdown-trigger.is-open .dropdown-arrow {
  transform: rotate(180deg);
}

/* =========================================
   MEGA MENU
========================================= */

.mega-menu {
  position: fixed;

  top: 70px;
  left: 50%;

  z-index: 1100;

  width: min(1100px, calc(100vw - 32px));

  box-sizing: border-box;

  padding: 30px 28px;

  background: var(--header-surface);

  border: 1px solid var(--header-border);
  border-top: 2px solid rgba(37, 99, 235, 0.25);

  border-radius: 0 0 14px 14px;

  box-shadow:
    0 20px 55px rgba(15, 23, 42, 0.12),
    0 4px 12px rgba(15, 23, 42, 0.04);

  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translate(-50%, 12px);

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

/* Hover bridge */

.mega-menu::before {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  top: -14px;

  height: 14px;
}

/* =========================================
   DESKTOP HOVER DROPDOWN
========================================= */

@media (min-width: 851px) {
  .nav-dropdown:hover > .mega-menu,
  .nav-dropdown:focus-within > .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  .nav-dropdown:hover > .nav-link,
  .nav-dropdown:focus-within > .nav-link {
    background: rgba(37, 99, 235, 0.08);
    color: var(--header-primary);
  }

  .nav-dropdown:hover .dropdown-arrow,
  .nav-dropdown:focus-within .dropdown-arrow {
    transform: rotate(180deg);
  }
}

.nav-dropdown.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform: translate(-50%, 0);
}

/* =========================================
   MEGA MENU INNER
========================================= */

.mega-inner {
  width: 100%;
  margin: 0 auto;
}

.mega-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 34px;
}

.mega-single-column {
  display: grid;
  grid-template-columns: 1fr;
}

/* =========================================
   MEGA MENU COLUMN
========================================= */

.mega-column {
  min-width: 0;
}

.mega-heading {
  margin: 0 0 22px;
  padding-bottom: 14px;

  border-bottom: 1px solid var(--header-border);

  color: var(--header-muted);

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 1.3px;
  text-transform: uppercase;
}

/* =========================================
   MEGA ITEMS GRID
========================================= */

.mega-items {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  column-gap: 24px;
  row-gap: 20px;
}

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

/* =========================================
   MEGA ITEM
========================================= */

.mega-item {
  display: flex;
  align-items: flex-start;

  gap: 12px;

  min-width: 0;

  padding: 9px;

  border-radius: 10px;

  color: var(--header-text);
  text-decoration: none;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.mega-item:hover {
  background: var(--header-surface-hover);
  transform: translateY(-2px);
}

.mega-icon {
  width: 38px;
  height: 38px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;

  color: #ffffff;
  background: var(--header-icon-bg);

  box-shadow:
    0 3px 8px rgba(15, 23, 42, 0.12);
}

.mega-icon svg {
  display: block;

  width: 20px;
  height: 20px;

  stroke: currentColor;
  fill: none;
}

.mega-item-content {
  display: flex;
  flex-direction: column;

  gap: 5px;

  min-width: 0;
  padding-top: 1px;
}

.mega-item-content strong {
  color: var(--header-text);

  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.mega-item-content small {
  color: var(--header-muted);

  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
}

/* =========================================
   ICON COLORS
========================================= */

.icon-layout-grid {
  background: #315bdc;
}

.icon-rocket {
  background: #0891a7;
}

.icon-check-circle {
  background: #059669;
}

.icon-shield {
  background: #64748b;
}

.icon-sparkles,
.icon-plug {
  background: #9333ea;
}

.icon-download {
  background: #0d9488;
}

.icon-lock {
  background: #315bdc;
}

.icon-default {
  background: #475569;
}

.icon-user {
  background: #7c3aed;
}

.icon-send {
  background: #d97706;
}

.icon-brief-case {
  background: #059669;
}

.icon-inbox {
  background: #dc2626;
}

.icon-building-2 {
  background: #1d4ed8;
}

.icon-users {
  background: #db2777;
}

.icon-flag {
  background: #0891b2;
}

.icon-clipboard-check {
  background: #d97706;
}

.icon-message-square {
  background: #db2777;
}

.icon-search {
  background: #10b981;
}

.icon-book-open {
  background: #d97706;
}

.icon-help-circle {
  background: #2563eb;
}

.icon-trophy {
  background: #f59e0b;
}

.icon-monitor-activity{
  background: #10b981;
}

.icon-letter-h{
  background: #d97706;
}



/* =========================================
   HEADER ACTIONS
========================================= */

.header-actions {
  display: flex;
  align-items: center;

  gap: 18px;

  flex-shrink: 0;
}

/* Theme toggle */

.theme-toggle {
  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--header-border);
  border-radius: 50%;

  background: var(--header-surface);

  color: var(--header-text);

  font-size: 17px;

  cursor: pointer;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.theme-toggle:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--header-primary);
  transform: rotate(12deg);
}

.theme-icon {
  line-height: 1;
}

/* Sign in */

.sign-in-link {
  color: var(--header-muted);

  text-decoration: none;

  font-size: 14px;
  font-weight: 600;

  white-space: nowrap;

  transition: color 0.2s ease;
}

.sign-in-link:hover {
  color: var(--header-primary);
}

/* Demo button */

.demo-button {
     color: #2563eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}





/* =========================================
   MOBILE MENU BUTTON
========================================= */

.mobile-menu-toggle {
  display: none;

  width: 40px;
  height: 40px;

  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 5px;

  border: 1px solid var(--header-border);
  border-radius: 9px;

  background: var(--header-surface);

  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 18px;
  height: 2px;

  background: var(--header-text);

  border-radius: 5px;

  transition: 0.2s ease;
}

.mobile-menu-toggle.is-open span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-open span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================
   MOBILE NAVIGATION
========================================= */

.mobile-navigation {
  display: none;
}

.mobile-navigation:not([hidden]) {
  display: block;

  position: absolute;

  top: 100%;
  left: 0;
  right: 0;

  width: 100%;

  max-height: calc(100vh - 70px);

  overflow-y: auto;

  background: var(--header-mobile-bg);

  border-top: 1px solid var(--header-border);

  box-shadow:
    0 12px 30px rgba(15, 23, 42, 0.1);

  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

/* =========================================
   MOBILE NAV GROUP
========================================= */

.mobile-nav-group {
  width: 100%;

  border-bottom: 1px solid var(--header-border);
}

.mobile-nav-link,
.mobile-dropdown-trigger {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 14px 22px;

  border: none;

  background: transparent;

  color: var(--header-text);

  text-decoration: none;
  text-align: left;

  font-family: inherit;
  font-size: 14px;
  font-weight: 600;

  cursor: pointer;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-dropdown-trigger:hover,
.mobile-dropdown-trigger.is-open {
  color: var(--header-primary);

  background: rgba(37, 99, 235, 0.06);
}

/* =========================================
   MOBILE SUBMENU
========================================= */

.mobile-submenu {
  padding: 10px 16px 16px;

  background: rgba(148, 163, 184, 0.07);
}

.mobile-submenu-group {
  margin-bottom: 16px;
}

.mobile-submenu-heading {
  margin: 10px 0;

  color: var(--header-muted);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 1px;
  text-transform: uppercase;
}

.mobile-submenu-item {
  display: flex;
  align-items: flex-start;

  gap: 11px;

  padding: 10px 5px;

  color: var(--header-text);

  text-decoration: none;

  border-radius: 8px;

  transition: background 0.2s ease;
}

.mobile-submenu-item:hover {
  background: var(--header-surface-hover);
}

.mobile-submenu-icon {
  width: 33px;
  height: 33px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--header-icon-bg);
  color: #ffffff;

  border-radius: 8px;
}

.mobile-submenu-icon svg {
  width: 17px;
  height: 17px;

  stroke: currentColor;
  fill: none;
}

.mobile-submenu-content {
  display: flex;
  flex-direction: column;

  gap: 4px;

  min-width: 0;
}

.mobile-submenu-content strong {
  color: var(--header-text);

  font-size: 13px;
  font-weight: 650;
}

.mobile-submenu-content small {
  color: var(--header-muted);

  font-size: 11px;
  line-height: 1.5;
}

/* =========================================
   MOBILE ACTIONS
========================================= */

.mobile-actions {
  padding: 12px 18px 18px;

  border-top: 1px solid var(--header-border);
}

.mobile-demo-button {
  display: inline-flex;
  margin: 8px 0 0 4px;
}

/* =========================================
   HIDDEN ATTRIBUTE
========================================= */

[hidden] {
  display: none !important;
}

/* =========================================
   RESPONSIVE: TABLET
========================================= */

@media (max-width: 1050px) {
  .header-inner {
    gap: 14px;
  }

  .main-nav {
    gap: 2px;
  }

  .nav-link {
    padding: 10px 9px;
    font-size: 13px;
  }

  .header-actions {
    gap: 12px;
  }

  .mega-menu {
    width: min(900px, calc(100vw - 32px));
  }
}

/* =========================================
   RESPONSIVE: MOBILE
========================================= */

@media (max-width: 850px) {
  .header-inner {
    min-height: 68px;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mega-menu {
    display: none;
  }
}

/* =========================================
   RESPONSIVE: SMALL MOBILE
========================================= */

@media (max-width: 600px) {
  .header-inner {
    width: calc(100% - 32px);
    gap: 10px;
  }

  .brand-logo {
    width: 31px;
    height: 58px;
  }

  .brand-name {
    padding-left: 8px;
  }

  .brand-title {
    font-size: 15px;
  }

  .brand-name small {
    font-size: 9px;
  }

  .mobile-menu-toggle {
    width: 37px;
    height: 37px;
  }

  .mobile-submenu {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* =========================================
   ACCESSIBILITY
========================================= */

.nav-link:focus-visible,
.mega-item:focus-visible,
.theme-toggle:focus-visible,
.sign-in-link:focus-visible,
.demo-button:focus-visible,
.mobile-menu-toggle:focus-visible,
.mobile-nav-link:focus-visible,
.mobile-dropdown-trigger:focus-visible,
.mobile-submenu-item:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.55);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .site-header *,
  .site-header *::before,
  .site-header *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
.site-footer {
  width: 100%;
  padding: 36px 20px;
max-width: 1120px;
margin: 0 auto;
  border-top: 1px solid var(--line, rgba(15, 23, 42, 0.08));

  background: rgba(255, 255, 255, 0.25);
}

.footer-container {
  width: 100%;
  max-width: var(--max-width, 1120px);
  margin: 0 auto;
}

/* Footer menu */

.footer-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 32px;

  
}

/* Column */

.footer-column h3 {
  margin: 0 0 16px;

  font-size: 0.9rem;
  font-weight: 700;

  color: var(--text-color, #0f172a);
}

/* Links */

.footer-column ul {
  display: flex;
  flex-direction: column;

  gap: 10px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.footer-column a {
  color: var(--muted-color, #5b6474);

  font-size: 0.88rem;
  line-height: 1.5;

  text-decoration: none;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-column a:hover {
  color: var(--blue, #1d4ed8);
}

/* Bottom */


.footer-bottom p {
  margin: 0;
padding-bottom: 10px;
  color: var(--muted-color, #5b6474);

  font-size: 0.82rem;
  line-height: 1.5;
}

/* Responsive */

@media (max-width: 960px) {
  .footer-menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 48px 16px 20px;
  }

  .footer-menu-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
}

@media (max-width: 420px) {
  .footer-menu-grid {
    grid-template-columns: 1fr;
  }
}.page-content[data-astro-cid-ju4pidww] {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}
