/* ==========================================================================
   ISFT Header Styles
   Custom CSS for the Elementor Header Template
   ========================================================================== */

/* ----- Header Container ----- */
.isft-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  background: var(--header-bg, #141519);
  transition: all 0.3s ease;
}

.isft-header.scrolled {
  height: 64px;
  background: rgba(20, 21, 25, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ----- Navigation Links ----- */
.nav-link {
  position: relative;
  color: var(--nav-text, #9CA3AF);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.25s ease;
  cursor: pointer;
}

.nav-link:hover {
  color: var(--nav-text-hover, #F3F4F6);
}

/* Animated Underline */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent, #7C3AED);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: #F3F4F6;
}

.nav-link.active::after {
  width: 100%;
}

/* ----- CTA Button ----- */
.isft-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--accent, #7C3AED);
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.isft-cta-button:hover {
  background: var(--accent-hover, #8B5CF6);
  transform: translateY(-1px);
}

.isft-cta-button:active {
  transform: translateY(0);
}

/* ----- Mobile Menu ----- */
.mobile-menu-trigger {
  display: none;
  color: #F3F4F6;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .mobile-menu-trigger {
    display: block;
  }
  
  .nav-container-desktop {
    display: none;
  }
}

/* ----- Body Offset for Fixed Header ----- */
body.scrolled {
  padding-top: 64px;
}

/* ----- Header Variables ----- */
:root {
  /* Header Dark Theme */
  --header-bg: #141519;
  --header-bg-glass: rgba(20, 21, 25, 0.92);
  --nav-text: #9CA3AF;
  --nav-text-hover: #F3F4F6;
  --accent: #7C3AED;
  --accent-hover: #8B5CF6;
}
