/* ============================================
   EnrichNow — Main Stylesheet
   Brand: Green (#185f39) + Mint (#34d399)
   Font: Plus Jakarta Sans
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: #ffffff;
  color: #1e293b;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ---------- CSS Variables ---------- */
:root {
  /* Brand greens */
  --brand-50:  #effaf3;
  --brand-100: #d8f3df;
  --brand-200: #b3e6c2;
  --brand-300: #82d29c;
  --brand-400: #4eb574;
  --brand-500: #2a9657;
  --brand-600: #1d7846;
  --brand-700: #185f39;
  --brand-800: #154b30;
  --brand-900: #113d28;

  /* Mint accents */
  --mint-400: #5fe0b0;
  --mint-500: #34d399;
  --mint-600: #10b981;

  /* Neutrals */
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* Shadows */
  --shadow-soft: 0 10px 40px -10px rgba(16,75,48,.25);
  --shadow-card: 0 25px 50px -20px rgba(16,75,48,.3);

  /* Radii */
  --r-sm: 0.75rem;   /* 12px */
  --r-md: 1rem;      /* 16px */
  --r-lg: 1.25rem;   /* 20px */
  --r-xl: 1.5rem;    /* 24px */
  --r-2xl: 2rem;     /* 32px */
  --r-full: 9999px;
}

/* ---------- Typography Scale ---------- */
.text-xs   { font-size: 0.75rem;  line-height: 1rem; }
.text-sm   { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem;     line-height: 1.5rem; }
.text-lg   { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl   { font-size: 1.25rem;  line-height: 1.75rem; }
.text-2xl  { font-size: 1.5rem;   line-height: 2rem; }
.text-3xl  { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl  { font-size: 2.25rem;  line-height: 2.5rem; }
.text-5xl  { font-size: 3rem;     line-height: 1; }
.text-6xl  { font-size: 3.75rem;  line-height: 1; }

/* ---------- Utility Classes ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px)  { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

/* ---------- Glass Effect ---------- */
.glass {
  background: rgba(255,255,255,.75);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}

/* ---------- Gradient Text ---------- */
.gradient-text {
  background: linear-gradient(120deg, var(--brand-600), var(--mint-500), var(--brand-600));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 4s linear infinite;
}

/* ---------- Animations ---------- */
@keyframes shine {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

@keyframes fadeUp {
  0%   { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

@keyframes blob {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(30px,-20px) scale(1.1); }
  66%       { transform: translate(-20px,20px) scale(.95); }
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes gradient {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .5; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: var(--r-full);
  padding: .625rem 1.25rem;
  font-size: .875rem;
  font-weight: 700;
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .8s;
}
.btn:hover::after { transform: translateX(100%); }

.btn-primary {
  background: var(--brand-700);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--brand-800); }

.btn-outline {
  background: transparent;
  color: var(--slate-700);
  border: 1.5px solid var(--slate-300);
}
.btn-outline:hover {
  border-color: var(--brand-700);
  color: var(--brand-700);
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-xl);
  transition: transform .35s ease, box-shadow .35s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(226,232,240,.6);
  height: 64px;
}

.site-header .inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img { height: 40px; width: auto; border-radius: 6px; transition: transform .3s; }
.nav-logo:hover img { transform: scale(1.05); }

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--slate-700);
}
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-link {
  position: relative;
  padding-bottom: 4px;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--brand-700);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease;
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.nav-link.active { color: var(--brand-700); }

/* Mobile menu toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
@media (min-width: 768px) { .nav-toggle { display: none; } }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  z-index: 99;
  padding: 2rem 1.5rem;
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-800);
  padding: .75rem 0;
  border-bottom: 1px solid var(--slate-100);
}
.mobile-nav a:last-child { border-bottom: none; }

/* ---------- Page Hero ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--brand-50), #fff, rgba(95,224,176,.08));
  border-bottom: 1px solid var(--slate-200);
  padding: 4rem 0;
  text-align: center;
}
.page-hero .breadcrumb {
  font-size: .75rem;
  color: var(--slate-500);
  margin-bottom: .75rem;
}
.page-hero .breadcrumb a:hover { color: var(--brand-700); }
.page-hero .eyebrow {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mint-600);
}
.page-hero h1 {
  margin-top: .75rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.1;
}
.page-hero p {
  margin-top: 1rem;
  color: var(--slate-600);
  max-width: 42ch;
  margin-inline: auto;
  line-height: 1.7;
}

/* ---------- Section Spacing ---------- */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* ---------- Marquee ---------- */
.marquee-track {
  overflow: hidden;
  border-top: 1px solid rgba(226,232,240,.7);
  border-bottom: 1px solid rgba(226,232,240,.7);
  background: rgba(255,255,255,.6);
}
.marquee-inner {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  padding: 1rem 0;
  white-space: nowrap;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--slate-500);
}

/* ---------- Grid Utilities ---------- */
.grid-bg {
  background-image:
    radial-gradient(rgba(29,120,70,.08) 1px, transparent 1px),
    radial-gradient(rgba(29,120,70,.05) 1px, transparent 1px);
  background-size: 28px 28px, 28px 28px;
  background-position: 0 0, 14px 14px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--slate-200);
  background: #fff;
  /* margin : 30px 0px 0px 0px; */
}
.site-footer .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0;
  font-size: .875rem;
  color: var(--slate-500);
}
@media (min-width: 640px) {
  .site-footer .inner {
    flex-direction: row;
    justify-content: space-between;
  }
}
.site-footer .brand { display: flex; align-items: center; gap: .75rem; }
.site-footer .brand img { height: 24px; width: auto; border-radius: 4px; }

/* ---------- Form Elements ---------- */
.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: .5rem;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  border-radius: var(--r-sm);
  padding: .75rem 1rem;
  font-size: 13px;
  font-family: inherit;
  color: var(--slate-900);
  background: #fff;
  border: 1.5px solid var(--slate-300);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-select:hover {
  border-color: var(--brand-400);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--slate-400); }
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(42,150,87,.12);
}
.form-textarea { resize: none; }

/* ---------- Badge ---------- */
.badge {
  display: inline-block;
  border-radius: var(--r-full);
  padding: .25rem .75rem;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--brand-700);
  color: #fff;
}

/* ---------- Ping Animation ---------- */
.ping-dot {
  position: relative;
  display: flex;
  height: 10px;
  width: 10px;
}
.ping-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--mint-400);
  animation: ping 1.2s cubic-bezier(0,0,.2,1) infinite;
}
.ping-dot::after {
  content: "";
  position: relative;
  display: inline-flex;
  border-radius: 50%;
  height: 10px;
  width: 10px;
  background: var(--mint-400);
}

/* ---------- Slider ---------- */
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.slide.active { opacity: 1; }

.slider-dots { display: flex; gap: 8px; }
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: 2px solid rgba(255,255,255,.3);
  transition: background .3s, border-color .3s;
}
.dot.active {
  background: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.5);
}

/* ---------- Product Grid ---------- */
.product-card { display: flex; flex-direction: column; overflow: hidden; }
.product-card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--slate-100); }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; background-color: #fbfbfb;}
.product-cat {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mint-600);
}
.product-name {
  margin-top: .25rem;
  font-weight: 700;
  color: var(--slate-900);
  transition: color .2s;
}
.product-card:hover .product-name { color: var(--brand-700); }
.product-desc {
  margin-top: .25rem;
  font-size: .875rem;
  color: var(--slate-500);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-footer {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.product-price { font-size: 1.125rem; font-weight: 800; color: var(--slate-900); }
.product-unit  { font-size: .75rem; color: var(--slate-500); }
.product-link  { font-size: .875rem; font-weight: 700; color: var(--brand-700); }
.product-card:hover .product-link { text-decoration: underline; }

/* ---------- Sidebar Filter ---------- */
.filter-sidebar { space-y: 2rem; }
.filter-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: .75rem;
}
.cat-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: .5rem .75rem;
  border-radius: var(--r-sm);
  font-size: .875rem;
  font-weight: 500;
  color: var(--slate-700);
  transition: background .2s, color .2s;
}
.cat-btn:hover { background: var(--slate-100); }
.cat-btn.active { background: var(--brand-700); color: #fff; }

/* ---------- Contact Info Card ---------- */
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--slate-200);
  padding: 0.7rem;
}
.contact-icon {
  display: inline-flex;
  height: 44px;
  width: 44px;
  align-items: center;
  justify-content: center;
  border-radius: .75rem;
  background: var(--brand-50);
  color: var(--brand-700);
  flex-shrink: 0;
}

/* ---------- Stats ---------- */
.stat-value { font-size: 2.25rem; font-weight: 800; color: var(--mint-400); }
.stat-label { font-size: .875rem; color: rgba(255,255,255,.6); margin-top: .5rem; }

/* ---------- Responsive helpers ---------- */
@media (min-width: 640px)  { .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px)  { .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:sidebar-grid { grid-template-columns: 240px 1fr; }
}

/* ---------- Misc ---------- */
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { inset: 0; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.text-center { text-align: center; }
.break-all { word-break: break-all; }
.leading-relaxed { line-height: 1.7; }
.truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}


.product-grid{
  margin-bottom:35px;
}
