:host { display: block; }
body {
  margin: 0;
  background: linear-gradient(135deg, #0055A4 0%, #FFFFFF 50%, #EF4135 100%);
  background-attachment: fixed;
}
nav.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #0055A4 0%, #002d54 100%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  font-family: 'Segoe UI', Arial, sans-serif;
  box-sizing: border-box;
}
.navbar-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  box-sizing: border-box;
  position: relative;
}
.navbar-toggler {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.15s;
}
.navbar-toggler:hover { background: rgba(255,255,255,0.2); }
.navbar-toggler span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.15s ease;
}
.navbar-toggler.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.navbar-toggler.open span:nth-child(2) { opacity: 0; }
.navbar-toggler.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.navbar-collapse {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 6px;
  opacity: 0.85;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.nav-link:hover { background: rgba(255,255,255,0.15); opacity: 1; }
.nav-link.active { background: rgba(255,255,255,0.25); opacity: 1; }
.nav-dropdown { position: relative; }
.dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.15s;
}
.nav-dropdown.open .dropdown-toggle::after { transform: translateY(1px) rotate(225deg); }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  min-width: 180px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  padding: 6px;
  z-index: 1001;
}
.nav-dropdown.open .dropdown-menu { display: block; }
.dropdown-item {
  display: block;
  color: #222;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 6px;
}
.dropdown-item:hover { background: #eaf2fb; color: #0055A4; }
.dropdown-item.active { background: #eaf2fb; color: #0055A4; }

@media (max-width: 768px) {
  .navbar-container { flex-wrap: wrap; }
  .navbar-toggler { display: flex; }

  .navbar-collapse {
    order: 3;
    width: 100%;
    flex-basis: 100%;
    display: block;
    max-height: 0;
    overflow: hidden;
    background: #003b73;
    margin: 0 -20px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
    transition: max-height 0.3s ease;
  }
  .navbar-collapse.show { max-height: 480px; margin-top: 10px; }

  .navbar-collapse > .nav-link,
  .navbar-collapse > .nav-dropdown > .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    padding: 14px 20px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    opacity: 1;
  }
  .navbar-collapse > .nav-link:hover,
  .navbar-collapse > .nav-dropdown > .dropdown-toggle:hover { background: rgba(255,255,255,0.08); }
  .navbar-collapse > *:last-child > .dropdown-toggle,
  .navbar-collapse > .nav-link:last-child { border-bottom: none; }

  .dropdown-toggle::after { margin-left: 8px; flex-shrink: 0; }
  .nav-dropdown.open > .dropdown-toggle { background: rgba(255,255,255,0.1); }

  .dropdown-menu {
    display: block;
    position: static;
    max-height: 0;
    overflow: hidden;
    box-shadow: none;
    background: rgba(0,0,0,0.18);
    border-radius: 0;
    padding: 0;
    margin-top: 0;
    transition: max-height 0.25s ease;
  }
  .nav-dropdown.open .dropdown-menu { max-height: 300px; }

  .dropdown-item {
    padding: 12px 20px 12px 34px;
    border-radius: 0;
    color: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-dropdown .dropdown-menu .dropdown-item:last-child { border-bottom: none; }
  .dropdown-item:hover, .dropdown-item.active { background: rgba(255,255,255,0.12); color: #fff; }
}
footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: linear-gradient(135deg, #0055A4 0%, #002d54 100%);
  box-shadow: 0 -2px 8px rgba(0,0,0,0.25);
  font-family: 'Segoe UI', Arial, sans-serif;
  box-sizing: border-box;
  color: #fff;
  font-size: 13px;
}
footer .copy { opacity: 0.85; }
