/* ===== HEADER ===== */
header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-cta-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

.header-cta {
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-teal)
  );
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* ===== LANGUAGE DROPDOWN ===== */
.lang-dropdown {
  position: relative;
  display: inline-block;
  margin-left: 1rem;
}

.lang-dropdown-btn {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  height: 42px;
}

.lang-dropdown-btn:hover {
  background: var(--gray-light);
  border-color: var(--primary-green);
}

.lang-dropdown-btn img {
  width: 24px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.lang-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background-color: var(--white);
  min-width: 160px;
  box-shadow: var(--shadow-hover);
  border-radius: 12px;
  z-index: 1001;
  padding: 8px 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lang-dropdown-content.show {
  display: block;
}

.lang-dropdown-content button {
  width: 100%;
  padding: 10px 16px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: var(--dark-blue);
  font-weight: 500;
  transition: background 0.2s ease;
}

.lang-dropdown-content button:hover {
  background-color: var(--gray-light);
  color: var(--primary-green);
}

.lang-dropdown-content button img {
  width: 20px;
  height: auto;
  border-radius: 2px;
}

.arrow-down {
  font-size: 0.6rem;
  color: var(--gray-medium);
  transition: transform 0.3s ease;
}

.lang-dropdown.active .arrow-down {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  body {
    padding-bottom: 74px; /* Space for the fixed CTA button */
  }

  .header-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    z-index: 1002;
    text-align: center;
    border-radius: 0;
    padding: 1.25rem;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
    border: none;
  }

  .lang-dropdown {
    margin-left: 0.5rem;
  }
  .lang-dropdown-btn {
    padding: 5px 8px;
    height: 38px;
  }
}
