/* ── TOKENS (matching index.html exactly) ───────────────── */
:root {
  --green:       #09af11;
  --green-dk:    #067a0b;
  
  /* 🔽 REPLACE the brown with these forest tones */
  --forest-dark: #0d1a0d;    /* New hero/footer base */
  --card-bg:     #1a221a;    /* New card background (dark shadow) */
  
  /* 🔽 COOL down the cream to a forest mist */
  --cream:       #0d1a0d;    /* Cool, misty off-white */
  --sand:        #e0e6e0;    /* Cool, muted stone */
  
  --text:        #f5f0e8;
  --radius:      14px;
  --serif:       'Playfair Display', Georgia, serif;
  --sans:        'Poppins', sans-serif;
  --urgent:      #d94f3b;
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── GRAIN OVERLAY ──────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background-image: url("image/svg");
  opacity: 0.025;
}

/* ============================================================
   NAVBAR - PRECISE GRID ALIGNMENT
   ============================================================ */
   .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(13, 26, 14, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: 0.4s;
    box-shadow: var(--shadow);
    z-index: 1000;
    
    /* Use grid with minmax for balanced columns */
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    align-items: center;
    padding: 0.6rem 1rem;
    gap: 0.5rem;
  }
  
  /* ── LOGO (left) ──────────────────────────────────────────── */
  .logo-link {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    justify-self: start;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .logo img {
    height: 32px;
    width: 32px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .logo span {
    font-weight: 600;
    color: var(--green);
    font-size: 0.95rem;
    white-space: nowrap;
  }
  
  /* ── NAV LINKS (center) ──────────────────────────────────── */
  .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    justify-self: center;
    margin: 0;
  }
  
  .nav-links a {
    padding: 0.4rem 0.6rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
  }
  
  .nav-links a:hover {
    color: var(--green);
    background: rgba(9,175,17,0.08);
  }
  
  .nav-links a.active {
    color: var(--green);
  }
  
  /* ── NAV RIGHT ICONS ──────────────────────────────────────── */
  .nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    justify-self: end;
    min-width: 120px; /* Match the approximate width of the logo */
  }
  
  .nav-right .icon-img-btn,
  .nav-right .cart-icon {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
  }
  
  .nav-right .icon-img-btn:hover,
  .nav-right .cart-icon:hover {
    background: rgba(255,255,255,0.05);
  }
  
  .nav-right .nav-icon-img,
  .nav-right .cart-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  /* ── CART BADGE ──────────────────────────────────────────── */
  .cart-icon {
    position: relative;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 50%;
    background: red;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  
  .cart-badge.hidden {
    opacity: 0;
    visibility: hidden;
  }
  
  #cart-count.pop {
    transform: scale(1.4);
    transform-origin: top right;
  }
  
  /* ── NOTIFICATION BADGE ──────────────────────────────────── */
  .account-icon {
    position: relative;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .account-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
  }
  
  .notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 50%;
    background: red;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  
  .notification-badge.hidden {
    opacity: 0;
    visibility: hidden;
  }
  
  .notification-count.pop {
    transform: scale(1.4);
    transform-origin: top right;
  }
  
  /* ── MOBILE MENU BUTTON ──────────────────────────────────── */
  .menu-btn {
    display: none;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    width: 32px;
    height: 32px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
  }
  
  .menu-btn:hover {
    background: rgba(255,255,255,0.05);
  }
  
  .menu-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  /* ── MOBILE SLIDE MENU ───────────────────────────────────── */
  .slide-menu {
    position: fixed;
    top: 0; left: -280px;
    width: 260px; height: 100%;
    background: rgba(13, 26, 14, 0.85);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(4px);
    border-right: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    padding: 5rem 1.5rem 2rem;
    gap: 1.5rem;
    transition: left 0.3s ease;
    z-index: 1001;
  }
  .slide-menu.show { left: 0; }
  .slide-menu a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.2s;
  }
  .slide-menu a:hover,
  .slide-menu a.active { color: var(--green); }
  
  .overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
  }
  .overlay.show { opacity: 1; visibility: visible; backdrop-filter: blur(3px); }
  
 

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--brown);
  padding-top: 64px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(24,14,14,0.1) 0%, rgba(24,14,14,0.88) 100%),
    linear-gradient(135deg, #1a2e0a 0%, #0d1f06 40%, #180e0e 100%);
}
.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
  animation: drift 18s ease-in-out infinite alternate;
}
.orb-1 {
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, #09af11 0%, transparent 70%);
  top: -30%; left: -10%;
  animation-duration: 22s;
}
.orb-2 {
  width: 35vw; height: 35vw;
  background: radial-gradient(circle, #2d5a1b 0%, transparent 70%);
  top: 20%; right: -10%;
  animation-duration: 15s;
  animation-delay: -8s;
}
@keyframes drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(4%, 6%) scale(1.08); }
}
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 2px; height: 2px;
  background: rgba(9,175,17,0.6);
  border-radius: 50%;
  animation: float-up linear infinite;
}
@keyframes float-up {
  0%   { transform: translateY(0) scale(1);   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-100vh) scale(0); opacity: 0; }
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 5vh 6vw 5vh;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  opacity: 0;
  animation: fade-up 0.8s 0.3s forwards;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 40px; height: 1px;
  background: var(--green);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1.0;
  color: #fff;
  letter-spacing: -0.01em;
  opacity: 0;
  animation: fade-up 0.9s 0.55s forwards;
}
.hero h1 em {
  font-style: italic;
  color: var(--green);
}
.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  line-height: 1.75;
  margin-top: 1.4rem;
  font-weight: 300;
  opacity: 0;
  animation: fade-up 0.9s 0.8s forwards;
}
@keyframes fade-up {
  0%   { opacity: 0; transform: translateY(28px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ── WAVE DIVIDER ────────────────────────────────────────── */
.wave {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wave svg { display: block; }


/* ── FILTER STRIP ────────────────────────────────────────── */
.filter-section {
  position: sticky;
  top: 52px; /* matches navbar height */
  z-index: 99;
  width: 100vw;
  background: rgba(13, 26, 14, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.75rem 0;
  padding-left: 18px;
}

.filter-inner {
  width: 100%;
  padding: 0; /* remove padding from wrapper */
}

.section-tag {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0 1rem; /* padding stays on the label only */
}
.section-tag::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--green);
}

.filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 1rem 0.25rem; /* left indent matches label, right lets it breathe */
  width: 100%;
}

.filter-pills::-webkit-scrollbar { display: none; }

.pill {
  flex-shrink: 0;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
  white-space: nowrap;
  text-transform: uppercase;
}
.pill:hover {
  border-color: var(--green);
  color: var(--green);
}
.pill.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.pill.pill-urgent {
  border-color: #d04a02;
  color: #d04a02;
}
.pill.pill-urgent.active {
  background: #d04a02;
  border-color: #d04a02;
  color: #fff;
}
.pill.pill-urgent:hover:not(.active) {
  background: rgba(208, 74, 2, 0.15);
  border-color: #d04a02;
  color: #d04a02;
}

/* ── CARD GRID ───────────────────────────────────────────── */

.cards-section {
  padding: 0 6vw 100px;
  padding-top: 15;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 960px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* ── CARD ─────────── */
.card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  background: var(--brown-mid);
  animation: fadeIn 0.4s ease both;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(9,175,17,0.2);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.card:hover .card-img { transform: scale(1.06); }

.card-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card-img-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1a2e0a 0%, #0d1a06 100%);
}
.card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(24,14,14,0.96) 0%,
    rgba(24,14,14,0.5)  42%,
    rgba(24,14,14,0.0)  68%
  );
  pointer-events: none;
}
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card-link:hover .card {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card-link .card {
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

/* urgent badge */
.urgent-badge {
  position: absolute;
  top: 14px; left: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(24,14,14,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(217,79,59,0.5);
  border-radius: 999px;
  padding: 4px 10px 4px 8px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--urgent);
}
.urgent-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--urgent);
  animation: pulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.65); }
}

/* biome tag */
.biome-tag {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(24,14,14,0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.5);
}

/* card content */
.card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 22px 18px 18px;
}
.card-region {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.card-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--cream);
  margin-bottom: 6px;
}
.card-desc {
  font-size: 0.75rem;
  color: rgba(245,240,232,0.6);
  line-height: 1.55;
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* progress */
.card-progress {
  margin-top: 14px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.card-progress-bar {
  height: 100%;
  background: var(--green);
  border-radius: 2px;
  width: var(--progress);
  transition: width 0.6s ease 0.15s;
}
.card-goal {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: rgba(245,240,232,0.4);
  font-weight: 400;
}
.card-goal span:last-child { color: var(--green); }

/* ── MORE MISSIONS ───────────────────────────────────────── */
.more-wrap {
  text-align: center;
  padding: 44px 0 20px;
}
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  background: transparent;
  border: 2px solid #19ff00;
  text-align: center;
  color: #19ff00;
  padding: 10px 40px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-more:hover {
  background: #19ff00;
  color: #04101c;
  transform: translateY(-2px);
}
.btn-more svg { transition: transform 0.2s ease; }
.btn-more:hover svg { transform: translateY(3px); }
.btn-more.hidden { display: none; }

/* empty state */
.empty-state {
  grid-column: 1 / -1;
  padding: 80px 0;
  text-align: center;
  color: rgba(245,240,232,0.3);
  font-size: 0.9rem;
  font-style: italic;
}

/* ── SCROLL REVEAL ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  background: var(--brown);
  padding: 4rem 6vw 2.5rem;
  color: rgba(245,240,232,0.5);
}
.footer-top {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245,240,232,0.08);
}
.footer-brand .logo {
  margin-bottom: 1rem;
}
.footer-tagline {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--cream);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.footer-socials {
  display: flex;
  gap: 0.8rem;
}

.footer-socials img {
  width: 36px;
  height: 36px;
}

.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(245,240,232,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(245,240,232,0.6);
  transition: background 0.2s, color 0.2s;
  border: 1px solid rgba(245,240,232,0.1);
}
.social-btn:hover {
  background: var(--green);
  color: #fff;
}
.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(245,240,232,0.45);
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--green);
}
.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a {
  color: rgba(245,240,232,0.4);
  transition: color 0.2s;
}
.footer-bottom a:hover {
  color: var(--green);
}

/* ============================================================
   RESPONSIVE NAV VISIBILITY
   ============================================================ */
   @media (max-width: 959px) {
    .nav-links { display: none !important; }
    .menu-btn { display: flex !important; }
  }
  
  @media (min-width: 960px) {
    .menu-btn { display: none !important; }
    .nav-links { display: flex !important; }
  }
  
  @media (max-width: 959px) {
  .navbar {
    justify-content: space-between;
  }
  .logo {
    margin: 0;          /* remove any centering */
    flex: 0 0 auto;     /* prevent stretching */
  }
  .nav-right {
    margin-left: auto;  /* keep icons at far right */
    display: flex;
    align-items: center;
    gap: 12px;
  }
}

/* ── DARK THEME OVERRIDE ──────────────────────────────── */

/* Fix filter pills for dark background */
.pill {
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.2);
}

.pill:hover {
  border-color: var(--green);
  color: var(--green);
}

.pill.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.pill.pill-urgent {
  border-color: #d04a02;
  color: #d04a02;
}

.pill.pill-urgent.active {
  background: #d04a02;
  border-color: #d04a02;
  color: #fff;
}

.pill.pill-urgent:hover:not(.active) {
  background: rgba(208,74,2,0.15);
  border-color: #d04a02;
  color: #d04a02;
}

/* Fix filter section */
.filter-pills {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Fix section tag */
.section-tag {
  color: var(--green);
}
.section-tag::before {
  background: var(--green);
}

/* Fix card text - make it white on dark images */
.card-title {
  color: #ffffff !important;
}

.card-desc {
  color: rgba(255,255,255,0.7) !important;
}

.card-goal {
  color: rgba(255,255,255,0.5) !important;
}

.card-goal span:last-child {
  color: var(--green) !important;
}

.card-region {
  color: var(--green) !important;
}

/* Fix urgent badge on dark */
.urgent-badge {
  background: rgba(0,0,0,0.7);
  color: #d04a02;
}

/* Fix biome tag */
.biome-tag {
  background: rgba(0,0,0,0.7);
  color: rgba(255,255,255,0.6);
}

/* Fix empty state */
.empty-state {
  color: rgba(255,255,255,0.3);
}

/* Fix "More Missions" button if it has dark text */
.btn-more {
  color: #19ff00;
  border-color: #19ff00;
}

.btn-more:hover {
  background: #19ff00;
  color: #04101c;
}

  /* ── RESPONSIVE NAV ──────────────────────────────────────── */
  @media (max-width: 959px) {
    .navbar {
      grid-template-columns: 1fr auto;
      gap: 0.5rem;
    }
    
    .nav-links {
      display: none !important;
    }
    
    .menu-btn {
      display: flex !important;
      align-items: center;
      justify-content: center;
    }
    
    .nav-right {
      min-width: auto;
    }

    .footer-top {
      grid-template-columns: 1fr;
    }

    .footer-top {
      grid-template-columns: 1fr;
      gap: 0.5rem;}
  }
  
  @media (min-width: 960px) {
    .menu-btn {
      display: none !important;
    }
    .nav-links {
      display: flex !important;
    }
  }

 /* ── LARGE SCREENS (above 1300px) ────────────────────────── */
@media (min-width: 1300px) {
  .dashboard-container {
    padding: 0 2rem;
  }
  
  
  /* Desktop: add horizontal padding to match content */
  .navbar {
    padding-left: calc(2rem + (100% - 1300px) / 2);
    padding-right: calc(2rem + (100% - 1300px) / 2);
  }
}