*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --nest-dark:  #0d3d3a;
  --nest-mid:   #1a5c56;
  --nest-bg:    #eeeee8;
  --nest-gold:  #c9913a;
  --nest-sage:  #8faa8b;
  --nest-sage2: #b5c9b0;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: var(--nest-bg);
  padding-top: 78px !important;
}

/* ======== NAVBAR ======== */
.site-nav {
  height: 78px;
  background: linear-gradient(135deg, #00323a 0%, #002b33 100%);
  display: flex;
  align-items: center;
  padding: 0 64px 0 40px;

  /* Fixed navbar */
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;

  z-index: 9999 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 190px;
  height: auto;
  flex-shrink: 0;
  background: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0 0 0 72px;
  padding: 0;
}

.nav-links a {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 30px 0 24px;
  display: inline-flex;
  position: relative;
  transition: color 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--nest-gold);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 15px;
  height: 3px;
  border-radius: 99px;
  background: var(--nest-gold);
}

.partner-nav-btn {
  margin-left: 24px;
  background: var(--nest-gold);
  color: #082f2d;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(201, 145, 58, 0.22);
  transition: transform 0.2s ease, background 0.2s ease;
}

.partner-nav-btn:hover {
  color: #082f2d;
  background: #d9a344;
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.24);
  background: transparent;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-toggle span,
.mobile-toggle span::before,
.mobile-toggle span::after {
  width: 18px;
  height: 2px;
  background: #fff;
  display: block;
  border-radius: 99px;
  position: relative;
  content: "";
}

.mobile-toggle span::before,
.mobile-toggle span::after {
  position: absolute;
  left: 0;
}

.mobile-toggle span::before {
  top: -6px;
}

.mobile-toggle span::after {
  top: 6px;
}

.mobile-menu {
  display: none;
  background: #00323a;
  padding: 18px 24px 24px;

  /* Fixed mobile dropdown under navbar */
  position: fixed !important;
  top: 78px;
  left: 0;
  width: 100%;

  z-index: 9998 !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  color: #fff;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-weight: 700;
  text-decoration: none;
}

.mobile-menu a:hover {
  color: var(--nest-gold);
}

.mobile-menu .partner-nav-btn {
  display: inline-flex;
  margin: 18px 0 0;
  border-bottom: none;
  color: #082f2d;
  padding: 14px 22px;
}

/* ======== RESPONSIVE ======== */
@media (max-width: 1024px) {
  .site-nav {
    padding: 0 26px;
  }

  .nav-links li a {
    font-size: 0.78rem;
    padding: 6px 7px;
  }
}

@media (max-width: 768px) {
  .site-nav {
    padding: 0 20px;
  }
}

@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }

  .mobile-toggle {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    width: 158px;
    height: auto;
  }
}
