/* ETSA navigation refinement */
.navbar-white {
  position: relative;
  z-index: 1030;
  border-bottom: 1px solid rgba(24, 62, 126, 0.08);
  box-shadow: 0 4px 18px rgba(24, 62, 126, 0.04);
}

.navbar-white > .container {
  max-width: 1280px;
  min-height: 64px;
}

.navbar-white .navbar-brand {
  display: inline-flex;
  align-items: center;
  margin-right: 2.25rem;
}

.navbar-white .navbar-nav {
  align-items: center;
  gap: 0.25rem;
}

.navbar-white .nav-item {
  margin-left: 0;
}

.navbar-white .nav-item .nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.65rem 0.95rem;
  color: #17233f;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.navbar-white .nav-item .nav-link:hover {
  background: rgba(31, 77, 153, 0.09) !important;
  color: var(--blue) !important;
  transform: translateY(-1px);
}

.navbar-white .nav-item .nav-link.active {
  background: var(--blue);
  color: #fff !important;
  box-shadow: 0 5px 12px rgba(31, 77, 153, 0.2);
}

.navbar-white .navbar-toggler {
  border: 1px solid rgba(31, 77, 153, 0.18);
  border-radius: 12px;
  padding: 0.5rem 0.65rem;
}

html[dir="rtl"] .navbar-white .navbar-nav {
  direction: rtl;
}

html[dir="rtl"] .etsa-language-nav-item {
  margin-left: 0 !important;
  margin-right: .6rem !important;
}

html[dir="rtl"] .etsa-language-switcher {
  direction: ltr;
}

/* Keep the chevron process diagram flowing left-to-right in RTL locales.
   The SVG artwork contains the step numbers and icons, so mirroring the
   whole image would also mirror those symbols and make them harder to read. */
html[dir="rtl"] .maklon-steps {
  direction: ltr;
}

html[dir="rtl"] .maklon-steps .img-container {
  margin-left: -30px;
  margin-right: 0;
}

html[dir="rtl"] .maklon-steps .img-container:first-child {
  margin-left: 0;
}

html[dir="rtl"] .maklon-steps-wrap > h2 {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
  padding-inline: 16px;
  font-size: clamp(1.35rem, 2.8vw, 2.35rem);
  line-height: 1.3;
  letter-spacing: 0;
}

html[dir="rtl"] #desc-box,
html[dir="rtl"] .maklon-steps .desc {
  direction: rtl;
  text-align: right;
}

@media (max-width: 1199px) {
  .navbar-white .navbar-brand {
    margin-right: 1rem;
  }

  .navbar-white .nav-item .nav-link {
    padding-inline: 0.7rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 991px) {
  .navbar-white > .container {
    min-height: 58px;
  }

  .navbar-white .navbar-collapse {
    margin-top: 0.8rem;
    padding: 0.75rem;
    background: #fff;
    border: 1px solid rgba(31, 77, 153, 0.1);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(20, 42, 80, 0.1);
  }

  .navbar-white .navbar-nav {
    align-items: stretch;
    gap: 0.25rem;
  }

  .navbar-white .nav-item .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 0.8rem 1rem;
  }

  html[dir="rtl"] .maklon-steps {
    direction: rtl;
  }

  html[dir="rtl"] .maklon-steps .img-container,
  html[dir="rtl"] .maklon-steps .img-container:first-child {
    margin-left: 0;
    margin-right: 0;
  }

  html[dir="rtl"] .maklon-steps .desc {
    text-align: right;
  }
}
