/* 
 * Humantic AI - New Mobile Navbar Styles
 * Modern dark-themed mobile navigation
 */

/* Navbar container wrapper */
.humantic-new-navbar-container {
  position: fixed;
  top: 5px;
  left: 20px;
  right: 20px;
  z-index: 1050;
}

/* Main navbar */
.humantic-new-mobile-navbar {

  position: relative;
  border: none;
  border-radius: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
background: var(--Purple-950, #110A33);
}

/* Top navigation bar with logo and hamburger */
.humantic-new-mobile-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 25px;
  background: transparent;
  position: relative;
  z-index: 1041;
}

/* Close X icon when menu is open */
.humantic-new-close-icon {
  position: absolute;
  top: 50%;
  right: 35px;
  transform: translateY(-35%);
  
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.humantic-new-close-icon i{
    font-size: 30px;
    color: #ffc107;
}
.humantic-new-navbar-container.menu-open .humantic-new-close-icon {
  opacity: 1;
  visibility: visible;
}

.humantic-new-navbar-container.menu-open .humantic-new-hamburger {
  opacity: 0;
  visibility: hidden;
}

/* Logo styling */
.humantic-new-mobile-top .humantic-logo {
  height: 30px;
  width: auto;
}

/* Hamburger menu styling */
.humantic-new-hamburger {
  background: none;
  border: 2px solid #4A90E2;
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  transition: all 0.3s ease;
  outline: none;
  outline-width: 0px;
  outline: none !important;
  outline-style: none !important;
  border: none;
  
}

.humantic-new-hamburger-line {
  width: 20px;
  height: 2px;
  background-color:#ffc107;
  transition: all 0.3s ease;
  margin: 2px 0;
  transform-origin: center;
}

/* Hamburger animation when menu is open */
.humantic-new-hamburger.active .humantic-new-hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.humantic-new-hamburger.active .humantic-new-hamburger-line:nth-child(2) {
  opacity: 0;
}

.humantic-new-hamburger.active .humantic-new-hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.humantic-new-submenu-divider{
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 7px;
    margin-bottom: 7px;
}

/* Mobile menu content */
.humantic-new-mobile-menu {
  position: absolute;
  top: 40%;
  left: 0;
  right: 0;
  

background: var(--Purple-950, #110A33);
  z-index: -1;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
  border-radius: 0 0 25px 25px;
}

.humantic-new-mobile-menu.active {
  max-height: 600px;
  overflow-y: auto;
}

/* Menu sections */
.humantic-new-menu-section {
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.humantic-new-menu-section:last-child {
  border-bottom: none;
}

/* Main menu items */
.humantic-new-menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 25px;
  /* font-size: 18px; */
  font-weight: 500;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  transition: all 0.3s ease;
  cursor: pointer;
  outline: none;
  outline-width: 0px;
  outline: none !important;
  outline-style: none !important;
  color: white;

    /* Mobile/B3 */
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 147%; /* 22.05px */
}

.humantic-new-menu-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffc107;
  text-decoration: none;
}

.humantic-new-menu-item.active {
  color: #ffc107;
}

/* Arrow icon for expandable items */
.humantic-new-menu-arrow {
  font-size: 30px;
  transition: transform 0.3s ease;
  color: #ffffff;
}

.humantic-new-menu-item.expanded .humantic-new-menu-arrow {
  transform: rotate(90deg);
  color: #ffc107;
}

/* Submenu container */
.humantic-new-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #110A33;
}

.humantic-new-submenu.expanded {
  max-height: 1080px;
}

/* Submenu section headers */
.humantic-new-submenu-header {
  

  padding: 20px 25px 10px 25px;
  margin: 0;
  color: var(--Neutral-50, #FFF);

/* Mobile/B6 */
font-family: Manrope;
font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: 133%; /* 15.96px */
letter-spacing: 0.2px;
text-transform: uppercase;
opacity: 0.5;
}

/* Submenu items */
.humantic-new-submenu-item {
  display: flex;
  align-items: center;
  /* color: #ffffff; */
  text-decoration: none;
  padding: 15px 25px;
  /* font-size: 16px; */
  /* font-weight: 400; */
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  color: var(--Neutral-50, #FFF);

    /* Mobile/B4-A */
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 143%; /* 20.02px */
    letter-spacing: 0.098px;
}

.humantic-new-submenu-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffc107;
  text-decoration: none;
  border-left-color: #ffc107;
}

/* Submenu item text */
.humantic-new-submenu-text {
    color: var(--Neutral-50, #FFF);

/* Mobile/B4-A */
font-family: 'Manrope', sans-serif;
font-size: 14px;
font-style: normal;
font-weight: 700;
line-height: 143%; /* 20.02px */
letter-spacing: 0.098px;
  flex: 1;
}

.humantic-new-submenu-description {
  /* font-size: 14px; */
  /* color: #b8b8b8; */
  margin-top: 2px;
  color: var(--Neutral-400, #BABABA);


/* Mobile/B5-B */
font-family: 'Manrope', sans-serif;
font-size: 13px;
font-style: normal;
font-weight: 400;
line-height: 138%; /* 17.94px */
letter-spacing: 0.149px;
}

/* Special styling for items with descriptions */
.humantic-new-submenu-item.has-description {
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 25px;
}

.humantic-new-submenu-item.has-description .humantic-new-submenu-text {
  font-weight: 500;
}

/* Pricing section styling */
.humantic-new-pricing-section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.humantic-new-pricing-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.humantic-new-pricing-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffc107;
  text-decoration: none;
}

/* Action buttons section */
.humantic-new-action-section {
  padding: 25px;
  border-bottom: none;
}

.humantic-new-action-buttons {
  display: flex;
  gap: 15px;
}

.humantic-new-btn {
  flex: 1;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid;
}

.humantic-new-btn-login {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

.humantic-new-btn-login:hover {
  background: #ffffff;
  color: #1a1a2e;
  text-decoration: none;
}

.humantic-new-btn-demo {
  background: #ffc107;
  border-color: #ffc107;
  color: #1a1a2e;
}

.humantic-new-btn-demo:hover {
  background: #ffcd39;
  border-color: #ffcd39;
  color: #1a1a2e;
  text-decoration: none;
}

/* Hide default Bootstrap navbar on new design */
.humantic-new-design .navbar.navbar-dark.fixed-top {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 1023.98px) {
  .humantic-new-navbar-container {
    display: block !important;
  }
}

@media (min-width: 1024px) {
  .humantic-new-navbar-container {
    display: none !important;
  }
}

/* Smooth scrolling for menu items */
.humantic-new-mobile-menu {
  scroll-behavior: smooth;
  padding: 0px 20px;
  padding-top: 45px;
  scrollbar-width: 0px;
  -webkit-scrollbar-width: 0px;
  -webkit-scrollbar-track: none;
  -webkit-scrollbar-thumb: none;
  -webkit-scrollbar-track-piece: none;
  -webkit-scrollbar-corner: none;
  -webkit-scrollbar-resizer: none;
  -webkit-scrollbar-track-piece: none;
}

.humantic-new-mobile-menu::-webkit-scrollbar {
    display: none; /* hides scrollbar in webkit browsers */
  }

/* Active state for submenu items */
.humantic-new-submenu-item.active {
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
  border-left-color: #ffc107;
}

/* Body overlay when menu is open - lighter for top-down design */
.humantic-new-body-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1030;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.humantic-new-body-overlay.active {
  opacity: 1;
  visibility: visible;
}
