.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  background: #ffffff;
  transition: all 0.3s ease;
}

.navbar__wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: linear-gradient(90deg, #ffffff 0%, #dce8f7 50%, #ffffff 100%);
  border-radius: 0;
  box-shadow: 0 4px 20px rgba(30, 58, 95, 0.08);
  position: relative;
  overflow: hidden;
}

.navbar__wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    #d4a24c 0%,
    #f0c777 25%,
    #fff4d6 50%,
    #f0c777 75%,
    #d4a24c 100%
  );
  background-size: 200% 100%;
  animation: shimmerBorder 4s linear infinite;
  z-index: 3;
}

@keyframes shimmerBorder {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: -200% 0%;
  }
}

.navbar--scrolled .navbar__wrapper {
  box-shadow: 0 6px 24px rgba(30, 58, 95, 0.14);
}

.navbar__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.navbar__glow--1 {
  width: 160px;
  height: 160px;
  top: -60px;
  left: 15%;
  background: radial-gradient(circle, rgba(212, 162, 76, 0.5) 0%, rgba(212, 162, 76, 0) 70%);
  animation: glowFloat1 9s ease-in-out infinite;
}

.navbar__glow--2 {
  width: 200px;
  height: 200px;
  top: -80px;
  left: 55%;
  background: radial-gradient(circle, rgba(45, 84, 128, 0.35) 0%, rgba(45, 84, 128, 0) 70%);
  animation: glowFloat2 11s ease-in-out infinite;
}

.navbar__glow--3 {
  width: 140px;
  height: 140px;
  top: -50px;
  left: 82%;
  background: radial-gradient(circle, rgba(212, 162, 76, 0.4) 0%, rgba(212, 162, 76, 0) 70%);
  animation: glowFloat3 8s ease-in-out infinite;
}

@keyframes glowFloat1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(60px, 20px) scale(1.15);
  }
}

@keyframes glowFloat2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-70px, 15px) scale(1.1);
  }
}

@keyframes glowFloat3 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-50px, 10px) scale(1.2);
  }
}

.navbar__container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 48px;
  gap: 24px;
  max-width: 1600px;
  margin: 0 auto;
  z-index: 2;
}

.navbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
}

.navbar__logo img {
  height: 78px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease, filter 0.25s ease;
  filter: drop-shadow(0 0 0 rgba(212, 162, 76, 0));
  animation: logoGlow 3.5s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% {
    filter: drop-shadow(0 0 0px rgba(212, 162, 76, 0));
  }
  50% {
    filter: drop-shadow(0 0 10px rgba(212, 162, 76, 0.45));
  }
}

.navbar__logo:hover img {
  transform: scale(1.06);
}

.navbar__links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  white-space: nowrap;
  z-index: 2;
}

.navbar__link {
  position: relative;
  text-decoration: none;
  color: #1e293b;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 10px 2px;
  transition: color 0.25s ease;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.navbar__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #d4a24c;
  border-radius: 2px;
  transition: width 0.28s ease;
}

.navbar__link:hover {
  color: #1e3a5f;
}

.navbar__link:hover::after {
  width: 100%;
}

/* Home (active) now looks exactly like every other link by default —
   only hover shows the gold underline, same as all links */
.navbar__link--active {
  color: #1e293b;
  font-weight: 700;
}

.navbar__link--active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #d4a24c;
  border-radius: 2px;
  transition: width 0.28s ease;
}

.navbar__link--active:hover {
  color: #1e3a5f;
}

.navbar__link--active:hover::after {
  width: 100%;
}

.navbar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  z-index: 2;
  margin-left: auto;
}

.navbar__iconBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  color: #1e3a5f;
  background: #ffffff;
  transition: all 0.25s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar__iconBtn:hover {
  border-color: #1e3a5f;
  background: #1e3a5f;
  color: #ffffff;
  transform: translateY(-2px);
}

.navbar__downloadBtn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(90deg, #1e3a5f, #2d5480);
  color: #ffffff;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  border: none;
  border-radius: 30px;
  padding: 13px 26px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(30, 58, 95, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.navbar__downloadBtn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: btnShine 3s ease-in-out infinite;
}

@keyframes btnShine {
  0% {
    left: -75%;
  }
  50% {
    left: 130%;
  }
  100% {
    left: 130%;
  }
}

.navbar__downloadBtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(30, 58, 95, 0.35);
}

.navbar__menuToggle {
  display: none;
  background: transparent;
  border: none;
  color: #1e3a5f;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.navbar__mobileMenu {
  display: none;
  flex-direction: column;
  background: #ffffff;
  border-top: 1px solid #f0f2f6;
  overflow-y: auto;
  max-height: 0;
  transition: max-height 0.35s ease;
  position: relative;
  z-index: 2;
}

.navbar__mobileMenu--open {
  display: flex;
  max-height: calc(100vh - 70px);
  padding: 14px 24px 26px 24px;
}

.navbar__mobileLink {
  text-decoration: none;
  color: #1e293b;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 4px;
  border-bottom: 1px solid #f0f2f6;
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
  outline: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  -webkit-appearance: none;
  appearance: none;
}

.navbar__mobileLink:hover {
  color: #1e3a5f;
}

.navbar__downloadBtn--mobile {
  margin-top: 18px;
  width: 100%;
  justify-content: center;
}

/* ---------- RESPONSIVE ---------- */

/* Large desktop: slightly tighten before links start competing for space */
@media (max-width: 1440px) {
  .navbar__container {
    padding: 14px 32px;
  }

  .navbar__links {
    gap: 28px;
  }
}

/* Small desktop */
@media (max-width: 1200px) {
  .navbar__container {
    padding: 12px 28px;
    gap: 16px;
  }

  .navbar__links {
    gap: 22px;
  }

  .navbar__link {
    font-size: 15px;
  }

  .navbar__logo img {
    height: 62px;
  }

  .navbar__actions {
    gap: 14px;
  }

  .navbar__downloadBtn {
    padding: 12px 22px;
    font-size: 14.5px;
  }
}

/* Tablet / small laptop (covers 1024px) */
@media (max-width: 1100px) {
  .navbar__links {
    gap: 24px;
  }

  .navbar__link {
    font-size: 14px;
    padding: 10px 0;
  }

  .navbar__logo img {
    height: 54px;
  }

  .navbar__iconBtn {
    width: 40px;
    height: 40px;
  }

  .navbar__downloadBtn {
    padding: 11px 18px;
    font-size: 13.5px;
    gap: 6px;
  }
}

/* Below this, switch to hamburger menu */
@media (max-width: 900px) {
  .navbar__links,
  .navbar__downloadBtn {
    display: none;
  }

  .navbar__menuToggle {
    display: flex;
    align-items: center;
  }

  .navbar__actions {
    gap: 10px;
  }

  .navbar__iconBtn {
    width: 38px;
    height: 38px;
  }

  .navbar__logo img {
    height: 52px;
  }

  .navbar__container {
    padding: 12px 24px;
  }

  .navbar__glow {
    display: none;
  }
}

/* Phone landscape / small tablet */
@media (max-width: 640px) {
  .navbar__container {
    padding: 10px 18px;
    gap: 12px;
  }

  .navbar__logo img {
    height: 46px;
  }

  .navbar__iconBtn {
    width: 36px;
    height: 36px;
  }

  .navbar__actions {
    gap: 8px;
  }

  .navbar__mobileMenu--open {
    padding: 12px 18px 22px 18px;
  }

  .navbar__mobileLink {
    font-size: 15px;
    padding: 12px 4px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .navbar__container {
    padding: 10px 14px;
    gap: 8px;
  }

  .navbar__logo img {
    height: 40px;
  }

  .navbar__iconBtn {
    width: 34px;
    height: 34px;
  }

  .navbar__actions {
    gap: 6px;
  }

  .navbar__menuToggle svg {
    width: 24px;
    height: 24px;
  }

  .navbar__mobileMenu--open {
    padding: 10px 14px 20px 14px;
  }

  .navbar__mobileLink {
    font-size: 14.5px;
    padding: 12px 2px;
  }

  .navbar__downloadBtn--mobile {
    padding: 12px 20px;
    font-size: 14px;
  }
}

/* Extra small phones */
@media (max-width: 360px) {
  .navbar__container {
    padding: 8px 12px;
  }

  .navbar__logo img {
    height: 36px;
  }

  .navbar__iconBtn {
    width: 32px;
    height: 32px;
  }

  .navbar__actions {
    gap: 4px;
  }
}