.site-header {
  background-color: #f4f8ff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  position: sticky;
  top: 0;
  z-index: 50;
  color: #0b1c3c;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.3rem 0.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-img {
  height: 48px;
  width: auto;
}
.nav-desktop {
  display: none;
  gap: 1.5rem;
  align-items: center;
}
.nav-desktop a {
  color: #0b1c3c;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-desktop a:hover {
  color: #2a6cf4;
}
.dropdown {
  position: relative;
}
.dropdown-btn {
  background: none;
  border: none;
  color: #0b1c3c;
  cursor: pointer;
  font: inherit;
}
.dropdown-btn:hover {
  color: #2a6cf4;
}
.dropdown-btn span {
  font-size:14px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;                  /* align to the right of the button */
  min-width: 240px;
  max-width: 90vw;           /* never exceed viewport width */
  background: #fff;
  padding: 0.5rem 0;
  border-radius: 0.375rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  display: none;
  z-index: 9999;
  overflow-wrap: break-word; /* wrap long text */
      margin-top: 0;            /* remove tiny gap */
    padding-top: 6px; 
}
.dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-menu a {
  display: block;
  padding: 0.35rem 0.5rem;
  color: var(--text);
  text-decoration: none;
}
.dropdown-menu a:hover {
  color: #2a6cf4;
}
.nav-mobile-toggle {
  display: none;
}
.nav-desktop {
  display: flex;
}
@media (max-width: 880px) {
  .nav-desktop {
    display: none;
  }
  .nav-mobile-toggle {
    display: block;
  }
}
.nav-mobile-toggle button {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
}
.nav-mobile-toggle button:hover {
  color: var(--accent);
}
.icon {
  width: 28px;
  height: 28px;
  stroke: currentColor;
}
.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg-darker);
  padding: 1rem 1.5rem 1.5rem;
  z-index: 9999;
}
.nav-mobile.show {
  display: block;
}
.nav-mobile a {
  display: block;
  color: var(--muted);
  padding: 0.75rem 0;
  text-decoration: none;
}
.nav-mobile a:hover {
  color: var(--accent);
}

.banner {
  width: 100%;
  padding: 15px 20px;
  text-align: center;
  font-weight: bold;
  position: fixed; 
  top: 90px;
  left: 0;
  z-index: 1; 
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.banner.hidden {
  transform: translateY(-100%);
  opacity: 0;
}
.banner.success {
  background-color: #28a745;
  color: #fff;
}
.banner.error {
  background-color: #dc3545;
  color: #fff;
}
#banner-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: inherit;
  cursor: pointer;
}
/* CTA Buttons in Header */
.nav-desktop a#get-started {
    background: #2a6cf4;
    color: white !important;
    padding: 0.45rem 1.1rem;
    border-radius: 8px;
    font-weight: 600;
    margin-left: 0.6rem;
    transition: background 0.2s;
}

.nav-desktop a#get-started:hover {
    background: #1f4fb3;
}


.nav-desktop a.button-alt,
#sign-in {
    border: 2px solid #2a6cf4;
    padding: 0.45rem 1.1rem;
    border-radius: 8px;
    font-weight: 600;
    color: #2a6cf4 !important;
    transition: all 0.2s;
}

.nav-desktop a.button-alt:hover,
#sign-in:hover {
    background: #2a6cf4;
    color: white !important;
}
.dropdown-menu {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.dropdown-menu a:hover {
  background: #e9f1ff;
  color: #2a6cf4;
}
.dropdown-menu {
  border: 1px solid #cecece;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}





