body {
  font-family: 'Segoe UI', 'Trebuchet MS', sans-serif;
  margin: 0;
  padding: 0;
  background: white;
  color: #222;
}

header {
  background: rgba(31, 60, 136, 0.75);
  color: white;
  padding: 20px 20px;
  position: fixed;
  top: 10px;
  left: 10px;
  right: 10px;
  width: calc(100% - 40px);
  max-width: calc(100% - 40px);
  z-index: 100;
  margin: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-sizing: border-box;
  overflow: visible;
  font-family: 'Segoe UI', 'Trebuchet MS', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

header::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 0 40px rgba(255, 255, 255, 0.18);
  filter: blur(8px);
  pointer-events: none;
  z-index: -1;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  gap: 30px;
}

.logo h1 {
  margin: 0;
  font-size: 1.8rem;
}

.logo p {
  margin: 5px 0 0 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.horizontal-nav {
  flex: 1;
}

.horizontal-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.horizontal-nav li {
  margin: 0;
}

.horizontal-nav a {
  display: block;
  padding: 10px 15px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

.horizontal-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.horizontal-nav a.active {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-link {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 4px;
  transition: background 0.3s;
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.contact-link.active {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.lang-switch-container {
  display: flex;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.05);
}

.lang-switch-container .lang-btn {
  min-width: 56px; /* 80px * 0.7 */
  padding: 6px 8px; /* 8px 12px * 0.7 */
  font-size: 0.85em; /* 30% smaller */
  border: none;
  border-radius: 4px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.lang-switch-container .lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.lang-switch-container .lang-btn.active {
  background: white;
  color: #1f3c88;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 240px 20px 0 20px;
}

main {
  padding: 20px 0;
}

@media (max-width: 600px) {
  .lang-switch {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .lang-btn {
    margin: 5px 4px;
  }

  .header-content {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }

  .horizontal-nav ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .horizontal-nav a {
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .header-right {
    justify-content: center;
  }

  .lang-switch-container {
    justify-content: center;
  }
}

section {
  background: #e8f0f8;
  margin-bottom: 8px;
  margin-top: 15px;
  padding: 15px;
  border-radius: 8px;
  scroll-margin-top: 180px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

section:first-of-type {
  margin-top: 120px;
}

section h1, section h2, section h3, section h4 {
  color: #1f3c88;
  margin-top: 0;
}

section ul {
  list-style: disc;
  padding-left: 20px;
}

section li {
  margin-bottom: 5px;
}