/* ===== Base (Mobile First) ===== */
.navbar {
  background: #fff;
  padding: 0.75rem 0;
  z-index: 1000;
}

.navbar-brand img {
  width: 100px;
}

/* Hide desktop links initially (mobile first) */
.links {
  display: none;
}



/* Hamburger button */
.menu-toggle {
  font-size: 26px;
  background: none;
  border: none;
  color: var(--brand-2);
  cursor: pointer;
  z-index: 2001;
}

/* Sidebar (mobile menu) */
.sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 75%;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
  transition: left 0.3s ease-in-out;
  padding: 2rem 1.5rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar.active {
  left: 0;
}

.sidebar .close-btn {
    background: none;
    border: none;
    font-size: 28px;
    position: absolute;
    top: 0;
    right: 0;
}

.sidebar a.nav-link {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.sidebar a.nav-link:hover {
  color: var(--brand-2);
}

/* CTA inside sidebar */
.sidebar .btn-cta {
  width: 100%;
  margin-top: 1rem;
}

.btn-cta {
    color: #fff;
    font-weight: 500;
    border: 0;
    border-radius: 4px;
    padding: 0.4rem;
    font-size: 0.8rem;
    white-space: nowrap;
    background: var(--green-1);
    box-shadow: 0 8px 18px rgba(0, 116, 50, 0.22);
    transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-cta:hover,.btn-cta:focus {
  transform: translateY(-1px);
  filter: saturate(1.05);
  box-shadow: 0 12px 26px rgba(0, 116, 50, 0.26);
  color: #FFF;
}


.sidebar-logo {
    background: var(--green-1);
    position: absolute;
    width: 100%;
    height: 70px;
    line-height: 70px;
    left: 0;
    top: 0;
}
.sidebar .navbar-nav{
  margin-top: 70px;
}


/* ===== Desktop View ===== */
@media (min-width: 992px) {
  .menu-toggle {
    display: none;
  }

  .btn-cta{
    padding: 0.55rem 1rem;
    font-size: 1rem;
  }
  .links {
    display: flex;
  }

  .links a.nav-link {
    color: var(--ink);
    font-weight: 500;
    padding: 6px 8px;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: none;
  }

  .links a.nav-link:hover {
    background: #A3C8E6;
  }

  .cta-desktop {
    display: inline-block;
  }
}