body{
  font-family:'Work Sans',sans-serif;
  padding-top: 72px !important;
}

:root{
  --primary:var(--theme-primary, #2e7d32);
  --brand-deep:var(--theme-brand-deep, #1b2e1c);
  --brand-muted:var(--theme-brand-muted, #6c757d);
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

.glass-nav{
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-color: rgba(248,249,250,0.9);
  border-bottom: 1px solid #e5e7eb;
}

/* Mobile: backdrop-filter is GPU-expensive; use solid tint instead */
@media (max-width: 991.98px){
  .glass-nav{
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: rgba(248,249,250,0.97);
  }
}

.brand-title{
  font-size:24px;
  font-weight:900;
  letter-spacing:-1px;
  text-transform:uppercase;
  color:var(--brand-deep);
  line-height:1;
}

.brand-sub{
  font-size:11px;
  font-weight:700;
  letter-spacing:0.2em;
  text-transform:uppercase;
  color:var(--primary);
}

.navbar-nav .nav-link{
  font-size:14px;
  font-weight:700;
  color:var(--brand-deep);
  position:relative;
  transition:0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active{
  color:var(--primary);
}

.navbar-nav .nav-link::after{
  content:"";
  position:absolute;
  width:0%;
  height:2px;
  left:0;
  bottom:-4px;
  background:var(--primary);
  transition:0.3s;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after{
  width:100%;
}

.search-wrapper{
  position:relative;
}

.search-icon{
  position:absolute;
  left:12px;
  top:50%;
  transform:translateY(-50%);
  font-size:20px;
  color:var(--brand-muted);
}

.search-box{
  background: rgba(226,232,240,0.6);
  border:none;
  border-radius:8px;
  padding:8px 12px 8px 40px;
  font-size:14px;
  width:260px;
}

.search-box:focus{
  outline:none;
  box-shadow:0 0 0 2px rgba(var(--theme-primary-rgb, 46,125,50),0.3);
}

@media (max-width: 991.98px) {
  #menu.collapse {
    display: block;
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    overflow: hidden;
    transition:
      max-height 320ms ease,
      opacity 220ms ease,
      transform 260ms ease;
  }

  #menu.collapse.show {
    max-height: 420px;
    opacity: 1;
    transform: translateY(0);
  }

  #menu.navbar-collapse {
    width: 100%;
    justify-content: center !important;
  }

  #menu .navbar-nav {
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    padding: 10px 0 6px;
  }

  #menu .nav-link {
    padding: 10px 0;
    white-space: normal;
  }
}

.site-footer{
  background:
    radial-gradient(1200px 420px at 20% -10%, rgba(255,255,255,.06) 0%, rgba(255,255,255,0) 60%),
    radial-gradient(900px 360px at 85% 0%, rgba(255,255,255,.04) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(180deg, #1a1f23 0%, #14181b 55%, #121517 100%);
  color: rgba(255,255,255,.78);
  font-family: 'Work Sans', sans-serif;
}

.footer-inner{
  padding-top: 48px;
  padding-bottom: 26px;
}

.footer-wrap{
  max-width: 1200px;
}

.footer-brand-text{
  color: #fff;
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 22px;
}

.footer-desc{
  color: rgba(225, 231, 236, .62);
  font-size: 14.5px;
  line-height: 1.85;
  max-width: 340px;
}

.footer-title{
  color: rgba(255,255,255,.88);
  font-weight: 800;
  letter-spacing: 1.8px;
  font-size: 12px;
  margin: 6px 0 14px;
  text-transform: uppercase;
}

.footer-list li{ margin: 10px 0; }

.footer-link{
  color: rgba(225, 231, 236, .70);
  text-decoration: none;
  font-size: 14.5px;
  line-height: 1.7;
}
.footer-link:hover{ color: rgba(255,255,255,.92); }
.footer-link-static{
  display: inline-block;
  cursor: default;
  white-space: pre-line;
}

.footer-support{
  margin-top: 10px;
  color: var(--primary);
  font-weight: 800;
  font-size: 14px;
}
.footer-support:hover{ color: var(--theme-primary-hover, #39b54a); }
.footer-support-icon{ font-size: 16px; line-height: 1; }

.footer-sep{
  border: 0;
  height: 1px;
  background: rgba(255,255,255,.10);
  margin-top: 28px !important;
  margin-bottom: 22px !important;
}

.footer-bottom-left{
  color: rgba(225, 231, 236, .55);
  font-size: 12px;
}

.footer-bottom-link{
  color: rgba(225, 231, 236, .60);
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.footer-bottom-link:hover{ color: rgba(255,255,255,.92); }

.footer-bottom-right{
  row-gap: 10px;
}

@media (max-width: 360px){
  .footer-bottom-link{ font-size: 10px; letter-spacing: 1px; }
}

@media (max-width: 767.98px){
  .site-footer .footer-brand{
    justify-content: center;
    width: 100%;
  }

  .site-footer .footer-desc{
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }
}
