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

:root {
  --bg: #F8FAFC;
  --bg2: #FFFFFF;
  --surface: #FFFFFF;
  --surface2: #F1F5F9;
  --ink: #0F172A;
  --soft: #334155;
  --muted: #64748B;
  --border: #E2E8F0;
  --primary: #059669;
  --phov: #047857;
  --pl: #D1FAE5;
  --plight: #D1FAE5;
  --pglow: rgba(5, 150, 105, .12);
  --dark: #022C22;
  --dark2: #064E3B;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  background-image: url("wavy_grid.svg");
  background-size: 1200px 1200px;
  background-position: top center;
  background-attachment: fixed;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header Container */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

/* Nav */
nav {
  position: relative;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 6%;
  background: rgba(248, 250, 252, .9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -1px;
}

.logo span {
  color: var(--primary);
}

.logo-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--pl);
  border: 1px solid #6EE7B7;
  padding: 3px 8px;
  border-radius: 999px;
  margin-left: 6px;
  line-height: 1.3;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
}

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all .3s ease;
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a.active {
  color: #34A853 !important;
  font-weight: 600;
  text-shadow: 0 0 12px rgba(52, 168, 83, .4);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #34A853;
  border-radius: 2px;
  transition: all .3s ease;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(52, 168, 83, .6);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .02em;
  transition: all .2s;
  box-shadow: 0 4px 12px rgba(5, 150, 105, .25);
}

.nav-cta:hover {
  background: var(--phov);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  font-size: 24px;
  color: var(--ink);
  line-height: 1;
  z-index: 110;
  font-family: 'Inter', sans-serif;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .08);
  padding: 16px 6% 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 105;
  animation: menuSlide .25s ease-out;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: var(--soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: all .2s;
}

.mobile-menu a:last-of-type {
  border-bottom: none;
}

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

.mobile-menu a.active {
  color: #34A853 !important;
  font-weight: 600;
  border-left: 3px solid #34A853;
  padding-left: 12px !important;
  background: rgba(52, 168, 83, .04);
  box-shadow: inset 4px 0 12px rgba(52, 168, 83, 0.02);
}

/* Styled Mobile CTA Button at the bottom of Dropdown */
.mobile-menu .mob-cta {
  display: block;
  text-align: center;
  background: var(--primary);
  color: white !important;
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-top: 16px;
  border: none;
  box-shadow: 0 4px 12px rgba(5, 150, 105, .25);
  transition: all .2s;
}

.mobile-menu .mob-cta:hover {
  background: var(--phov);
  transform: translateY(-1px);
}

@keyframes menuSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Common Buttons */
.btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 4px 14px rgba(5, 150, 105, .3);
}

.btn:hover {
  background: var(--phov);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s;
}

.btn-ghost:hover {
  background: rgba(5, 150, 105, .04);
  transform: translateY(-1px);
}

/* Footer styling */
footer {
  padding: 24px 6%;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  background: transparent;
  flex-wrap: wrap;
  gap: 10px;
}

.fl {
  display: flex;
  gap: 20px;
}

.fl a {
  color: var(--muted);
  text-decoration: none;
}

.fl a:hover {
  color: var(--primary);
}

/* Hide scrollbar on horizontal scrollbars for clean mobile appearance */
.i-tabs,
.filter-bar {
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

.i-tabs::-webkit-scrollbar,
.filter-bar::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari/Opera */
}

/* Responsive Overrides (max-width: 768px) */
@media (max-width: 768px) {

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

  nav {
    width: 100%;
    padding: 12px 6%;
    gap: 12px;
  }

  .logo {
    font-size: 20px;
    gap: 4px !important;
    min-width: 0;
  }

  .logo img {
    height: 34px !important;
    transform: scale(1) !important;
  }

  .logo-badge {
    font-size: 8px;
    padding: 3px 7px;
    margin-left: 2px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: block;
    flex-shrink: 0;
    margin-left: auto;
  }

  footer {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .fl {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
}

/* Top Banner Styles */
.top-banner {
  background: var(--dark);
  color: var(--pl);
  text-align: center;
  padding: 8px 6%;
  font-size: 13px;
  font-weight: 600;
  width: 100%;
  position: relative;
  border-bottom: 1px solid rgba(5, 150, 105, 0.2);
}
.top-banner a {
  color: #FFFFFF;
  text-decoration: underline;
  margin-left: 6px;
  transition: color 0.2s;
}
.top-banner a:hover {
  color: var(--primary);
}