/*==================================================
  MFNXT HEADER
==================================================*/
.mfnxt-header {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;  
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.75);
  }
  
  /*==================================================
    MAIN NAVBAR
  ==================================================*/
  
  .mfnxt-navbar {
    display: grid;
  
    grid-template-columns: auto 1fr auto;
  
    align-items: center;
  
    gap: 32px;
  
    min-height: 78px;
  }
  
  /*==================================================
    LOGO
  ==================================================*/
  
  .mfnxt-logo {
    display: flex;
  
    align-items: center;
  
    flex-shrink: 0;
  
    text-decoration: none;
  }
  
  .mfnxt-logo img {
    display: block;
  
    width: auto;
    height: 35px;
  
    object-fit: contain;
  
    transition: transform 0.25s ease;
  }
  
  .mfnxt-logo:hover img {
    transform: scale(1.02);
  }
  
  /*==================================================
    DESKTOP NAVIGATION
  ==================================================*/
  
  .mfnxt-nav {
    display: flex;
  
    align-items: center;
    justify-content: center;
  }
  
  .mfnxt-nav ul {
    display: flex;
  
    align-items: center;
    justify-content: center;
  
    gap: 8px;
  
    margin: 0;
    padding: 0;
  
    list-style: none;
  }
  
  .mfnxt-nav li {
    position: relative;
  }
  
  .mfnxt-nav a {
    position: relative;
  
    display: inline-flex;
  
    align-items: center;
  
    padding: 9px 11px;
  
    color: var(--c-slate, #475569);
  
    font-family: var(--third-font, var(--primary-font));
    font-size: 14px;
    font-weight: 600;
  
    letter-spacing: 0.01em;
  
    text-decoration: none;
  
    white-space: nowrap;
  
    transition: color 0.25s ease;
  }
  
  /* underline */
  
  .mfnxt-nav a::after {
    content: "";
  
    position: absolute;
  
    left: 11px;
    right: 100%;
  
    bottom: 2px;
  
    height: 2px;
  
    border-radius: 10px;
  
    background: linear-gradient(
      90deg,
      var(--secondary-color, #cc0000),
      var(--primary-color, #0066cc)
    );
  
    transition: right 0.3s ease;
  }
  
  .mfnxt-nav a:hover {
    color: var(--c-ink, #111827);
  }
  
  .mfnxt-nav a:hover::after {
    right: 11px;
  }
  
  /*==================================================
    HEADER RIGHT
  ==================================================*/
  
  .mfnxt-header-right {
    display: flex;
  
    align-items: center;
    justify-content: flex-end;
  
    gap: 10px;
  
    flex-shrink: 0;
  }
  
  /*==================================================
    LANGUAGE BUTTON
  ==================================================*/
  
  .mfnxt-lang-btn {
    display: inline-flex;
  
    align-items: center;
    justify-content: center;
  
    gap: 7px;
  
    height: 40px;
  
    padding: 0 11px;
  
    border: 1px solid var(--c-line, #e2e8f0);
  
    border-radius: 50px;
  
    background: #ffffff;
  
    color: var(--c-slate, #475569);
  
    font-size: 12px;
    font-weight: 600;
  
    cursor: pointer;
  
    transition:
      border-color 0.25s ease,
      color 0.25s ease,
      background-color 0.25s ease;
  }
  
  .mfnxt-lang-btn:hover {
    border-color: var(--primary-color, #0066cc);
  
    color: var(--primary-color, #0066cc);
  
    background: #ffffff;
  }
  
  .mfnxt-lang-btn i:first-child {
    font-size: 14px;
  }
  
  .mfnxt-lang-btn i:last-child {
    font-size: 10px;
  }
  
  /*==================================================
    DESKTOP CTA
  ==================================================*/
  
  .mfnxt-header-cta {
    display: inline-flex;
  
    align-items: center;
    justify-content: center;
  
    gap: 7px;
  
    min-height: 44px;
  
    padding: 0 19px;
  
    border-radius: 50px;
  
    background: var(--primary-color, #0066cc);
  
    color: #ffffff;
  
    font-size: 13px;
    font-weight: 600;
  
    text-decoration: none;
  
    white-space: nowrap;
  
    box-shadow: 0 10px 24px -10px rgba(0, 94, 184, 0.55);
  
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease,
      background-color 0.25s ease;
  }
  
  .mfnxt-header-cta:hover {
    color: #ffffff;
  
    background: var(--primary-color, #0066cc);
  
    transform: translateY(-2px);
  
    box-shadow: 0 16px 30px -12px rgba(0, 94, 184, 0.65);
  }
  
  .mfnxt-header-cta i {
    font-size: 14px;
  }
  
  /*==================================================
    MOBILE MENU BUTTON
  ==================================================*/
  
  .mfnxt-menu-btn {
    display: none;
  
    align-items: center;
    justify-content: center;
  
    width: 42px;
    height: 42px;
  
    padding: 0;
  
    border: 1px solid var(--c-line, #e2e8f0);
  
    border-radius: 10px;
  
    background: #ffffff;
  
    color: var(--c-ink, #111827);
  
    font-size: 23px;
  
    cursor: pointer;
  
    transition:
      border-color 0.25s ease,
      color 0.25s ease,
      background-color 0.25s ease;
  }
  
  .mfnxt-menu-btn:hover {
    border-color: var(--primary-color, #0066cc);
  
    color: var(--primary-color, #0066cc);
  
    background: var(--primary-color-soft, #f0f7ff);
  }
  
  /*==================================================
    MOBILE MENU
  ==================================================*/
  
  .mfnxt-mobile-menu {
    display: none;
  
    width: 100%;
  
    padding: 0;
  
    border-top: 1px solid transparent;
  }
  
  /*==================================================
    MOBILE MENU OPEN
  ==================================================*/
  
  .mfnxt-header.mobile-open .mfnxt-mobile-menu {
    display: block;
  
    padding: 10px 0 18px;
  
    border-top-color: rgba(226, 232, 240, 0.75);
  
    animation: mfnxtMenuOpen 0.25s ease;
  }
  
  /*==================================================
    MOBILE NAVIGATION
  ==================================================*/
  
  .mfnxt-mobile-menu nav ul {
    display: flex;
  
    flex-direction: column;
  
    width: 100%;
  
    margin: 0;
    padding: 0;
  
    list-style: none;
  
    gap: 2px;
  }
  
  .mfnxt-mobile-menu nav li {
    width: 100%;
  }
  
  .mfnxt-mobile-menu nav a {
    display: flex;
  
    align-items: center;
  
    width: 100%;
  
    min-height: 46px;
  
    padding: 11px 12px;
  
    border-radius: 10px;
  
    color: var(--c-ink, #111827);
  
    font-family: var(--third-font, var(--primary-font));
  
    font-size: 14px;
  
    font-weight: 600;
  
    text-decoration: none;
  
    transition:
      color 0.2s ease,
      background-color 0.2s ease;
  }
  
  .mfnxt-mobile-menu nav a:hover {
    background: rgba(0, 102, 204, 0.05);
  
    color: var(--primary-color, #0066cc);
  }
  
  /*==================================================
    MOBILE ACTIONS
  ==================================================*/
  
  .mfnxt-mobile-actions {
    display: flex;
  
    flex-direction: column;
  
    gap: 10px;
  
    margin-top: 12px;
  
    padding-top: 14px;
  
    border-top: 1px solid rgba(226, 232, 240, 0.75);
  }
  
  /*==================================================
    MOBILE LANGUAGE
  ==================================================*/
  
  .mfnxt-mobile-language {
    display: flex;
  
    align-items: center;
  
    justify-content: space-between;
  
    width: 100%;
  
    min-height: 44px;
  
    padding: 0 12px;
  
    border: 1px solid var(--c-line, #e2e8f0);
  
    border-radius: 10px;
  
    background: #ffffff;
  
    color: var(--c-slate, #475569);
  
    font-size: 13px;
  
    font-weight: 600;
  
    cursor: pointer;
  }
  
  .mfnxt-mobile-language i:first-child {
    margin-right: auto;
  
    margin-right: 9px;
  }
  
  .mfnxt-mobile-language i:last-child {
    font-size: 10px;
  }
  
  /*==================================================
    MOBILE CTA
  ==================================================*/
  
  .mfnxt-mobile-cta {
    display: flex;
  
    align-items: center;
    justify-content: center;
  
    gap: 8px;
  
    width: 100%;
  
    min-height: 46px;
  
    padding: 0 18px;
  
    border-radius: 50px;
  
    background: var(--primary-color, #0066cc);
  
    color: #ffffff;
  
    font-size: 14px;
  
    font-weight: 600;
  
    text-decoration: none;
  
    box-shadow: 0 10px 24px -10px rgba(0, 94, 184, 0.55);
  
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease;
  }
  
  .mfnxt-mobile-cta:hover {
    color: #ffffff;
  
    transform: translateY(-1px);
  
    box-shadow: 0 14px 28px -12px rgba(0, 94, 184, 0.65);
  }
  
  /*==================================================
    MENU ANIMATION
  ==================================================*/
  
  @keyframes mfnxtMenuOpen {
    from {
      opacity: 0;
  
      transform: translateY(-5px);
    }
  
    to {
      opacity: 1;
  
      transform: translateY(0);
    }
  }
  
  /*==================================================
    LAPTOP
  ==================================================*/
  
  @media (max-width: 1199px) {
    .mfnxt-navbar {
      gap: 22px;
    }
  
    .mfnxt-nav ul {
      gap: 2px;
    }
  
    .mfnxt-nav a {
      padding-left: 8px;
      padding-right: 8px;
  
      font-size: 13px;
    }
  
    .mfnxt-header-cta {
      padding-left: 15px;
      padding-right: 15px;
  
      font-size: 12px;
    }
  }
  
  /*==================================================
    TABLET / IPAD
  ==================================================*/
  
  @media (max-width: 991px) {
    .mfnxt-navbar {
      display: grid;
  
      grid-template-columns: 1fr auto;
  
      gap: 12px;
  
      min-height: 68px;
    }
  
    /* Hide desktop navigation */
  
    .mfnxt-nav {
      display: none;
    }
  
    /* Hide desktop language */
  
    .mfnxt-header-right .mfnxt-lang-btn {
      display: none;
    }
  
    /* Hide desktop CTA */
  
    .mfnxt-header-right .mfnxt-header-cta {
      display: none;
    }
  
    /* Show hamburger */
  
    .mfnxt-menu-btn {
      display: flex;
    }
  
    /* Keep right side compact */
  
    .mfnxt-header-right {
      gap: 0;
    }
  
    /* Mobile logo */
  
    .mfnxt-logo img {
      height: 36px;
    }
  
    /*
         IMPORTANT:
         Mobile menu remains in normal document flow.
         Therefore opening it pushes the hero/content down.
      */
  
    .mfnxt-mobile-menu {
      display: none;
    }
  }
  
  /*==================================================
    MOBILE
  ==================================================*/
  
  @media (max-width: 576px) {
    .mfnxt-navbar {
      min-height: 64px;
    }
  
    .mfnxt-logo img {
      height: 34px;
    }
  
    .mfnxt-menu-btn {
      width: 40px;
      height: 40px;
  
      font-size: 22px;
    }
  
    .mfnxt-header.mobile-open .mfnxt-mobile-menu {
      padding-top: 8px;
  
      padding-bottom: 14px;
    }
  }
  
  /*==================================================
    SMALL PHONES
  ==================================================*/
  
  @media (max-width: 380px) {
    .mfnxt-logo img {
      height: 32px;
    }
  
    .mfnxt-menu-btn {
      width: 38px;
      height: 38px;
  
      font-size: 21px;
    }
  }
  
  /*==================================================
    DESKTOP ONLY
  ==================================================*/
  
  @media (min-width: 992px) {
    .mfnxt-mobile-menu {
      display: none !important;
    }
  }
  
  /*==================================================
    MOBILE ONLY
  ==================================================*/
  
  @media (max-width: 991px) {
    .mfnxt-mobile-menu {
      display: none;
    }
  
    .mfnxt-header.mobile-open .mfnxt-mobile-menu {
      display: block;
    }
  }
  
  /*==================================================
    HEADER CSS ENDS
  ==================================================*/
  