.crm-header {
width: 100%;
background: #ffffff;
border-bottom: 1px solid #eef0f3;


position: relative; /* ✅ REQUIRED */
z-index: 1000; /* ✅ REQUIRED */
}

.crm-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.crm-logo {
  display: flex;
  align-items: center;
}

.crm-logo-img {
  height: 36px;        /* matches previous logo height */
  width: auto;
  display: block;
}

/* Optional: slightly larger on desktop */
@media (min-width: 769px) {
  .crm-logo-img {
    height: 40px;
  }
}



/* NAV CENTER */
.crm-nav {
  display: flex;
  gap: 32px;
}

.crm-nav a {
  font-size: 16px;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
}

.crm-nav a:hover {
  color: #0f172a;
}

/* RIGHT ACTIONS */
.crm-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.watch-demo {
  font-size: 16px;
  font-weight: 500;
  color: #0f172a;
  text-decoration: none;
}

.btn-register {
  background: #00B98E;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #00B98E;

  box-shadow: 0 4px 10px rgba(18, 150, 200, 0.25);
}

.btn-register:hover {
  background: #00B98E;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #0f172a;
  margin: 5px 0;
  transition: 0.3s;
}

/* MOBILE MENU WRAPPER */
.crm-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .crm-menu {
    position: absolute;
    top: 100%;                 /* ✅ below header */
    left: 0;
    width: 100%;
    background: #ffffff;

    border-top: 1px solid #eef0f3;
    padding: 24px;

    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }

  .crm-menu.active {
    display: flex;             /* ✅ toggles correctly */
  }

  .crm-nav,
  .crm-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }

  .btn-register {
    width: 100%;
    text-align: center;
  }

  .menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
}