/* Navigation */
.nav-container {
  max-width: 93rem;
}

@media (max-width: 1420px) {
  translate-button {
    display: flex;
    justify-content: center;
  }

  .text-l.mobile-text-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Language switcher */
.lang-dropdown {
  position: relative;
  user-select: none;
}

.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background 0.15s;
}

.lang-dropdown-btn:hover {
  background: rgba(255,255,255,0.1);
}

.lang-dropdown-arrow {
  opacity: 0.6;
  transition: transform 0.2s;
}

.lang-dropdown-btn[aria-expanded="true"] .lang-dropdown-arrow {
  transform: rotate(180deg);
}

.lang-dropdown-list {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  list-style: none;
  margin: 0;
  padding: 4px;
  min-width: 64px;
  z-index: 999;
}

.lang-dropdown-list.open {
  display: block;
}

.lang-dropdown-option {
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #344054;
  transition: background 0.15s;
}

.lang-dropdown-option:hover {
  background: #f2f4f7;
}

.lang-dropdown-option.selected {
  color: #101828;
  background: #f9fafb;
}

/* Testimonial marquee */
#testimonials-row-1,
#testimonials-row-2 {
  overflow: hidden;
  width: 100%;
}

#testimonials-track-1,
#testimonials-track-2 {
  display: flex;
  width: max-content;
}

#testimonials-track-1 {
  animation: marquee-left 50s linear infinite;
}

#testimonials-track-2 {
  animation: marquee-right 50s linear infinite;
}

@keyframes marquee-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
