:root {
  --clr-primary: #1e5c3a;
  --clr-primary-dark: #143f28;
  --clr-primary-light: #e8f5ee;
  --clr-accent: #c9a84c;
  --clr-accent-light: #fdf6e3;
  --clr-border: #e5e7eb;
}



svg {
  flex: none;
}

button {
  cursor: pointer;
}


.nav-active {
    color: var(--clr-primary);
    position: relative;
    padding-bottom: 8px;
}

.nav-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--clr-accent);
    border-radius: 9999px;
}

/* ── Dropdown hover system ── */
.has-dropdown > .dropdown {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.has-subdrop > .subdropdown {
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

/* ── Swiper hero custom ── */
.hero-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: all 0.3s;
}
.hero-swiper .swiper-pagination-bullet-active {
  background: white;
  width: 28px;
  border-radius: 4px;
}
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  backdrop-filter: blur(4px);
  color: white;
  transition: background 0.2s;
}
.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.28);
}
.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
  font-size: 14px;
  font-weight: 700;
}

/* ── Marquee ── */
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.marquee-track {
  animation: marquee 32s linear infinite;
  display: flex;
  width: max-content;
}

/* ── FAQ accordion ── */
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.2s ease;
}
.faq-body.open {
  max-height: 200px;
}
.faq-icon {
  transition: transform 0.3s ease;
}
.faq-icon.open {
  transform: rotate(45deg);
}

/* ── Capabilities card hover ── */
.cap-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.cap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(30, 92, 58, 0.1);
}

/* ── Marquee ── */
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Form input focus */
.form-input {
  width: 100%;
  border: 1.5px solid var(--clr-border);
  border-radius: 12px;
  padding: 12px 16px;
  font-family: "Poppins", sans-serif;
  font-size: 0.875rem;
  color: #111827;
  background: #fff;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.form-input::placeholder {
  color: #9ca3af;
}
.form-input:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(30, 92, 58, 0.08);
}
textarea.form-input {
  resize: none;
}

/* Submit button press */
.btn-submit {
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.2s ease;
}
.btn-submit:hover {
  transform: translateY(-1px);
}
.btn-submit:active {
  transform: translateY(0);
}

/* Success toast */
#toast {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* Article prose */
.article-body h2 {
  font-family: "Figtree", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: #111827;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.article-body h3 {
  font-family: "Figtree", sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: #111827;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.article-body p {
  font-family: "Poppins", sans-serif;
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.85;
  margin-bottom: 1.1rem;
}
.article-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.1rem;
}
.article-body ul li {
  font-family: "Poppins", sans-serif;
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.8;
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: 0.35rem;
}
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-primary);
}
.article-body blockquote {
  border-left: 3px solid var(--clr-primary);
  background: var(--clr-primary-light);
  padding: 1rem 1.25rem;
  border-radius: 0 12px 12px 0;
  margin: 1.5rem 0;
}
.article-body blockquote p {
  margin-bottom: 0;
  font-style: italic;
  color: #374151;
}
.article-body strong {
  color: #111827;
  font-weight: 600;
}

/* TOC active */
.toc-link.active {
  color: var(--clr-primary);
  font-weight: 600;
}
.toc-link.active::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 14px;
  background: var(--clr-accent);
  border-radius: 2px;
  margin-right: 8px;
  vertical-align: middle;
}

/*to remove p tag from products*/
.prose p {
    margin-bottom: 1rem;
}
.prose ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.prose strong {
    font-weight: 600;
}
.prose li {
    margin-bottom: 0.25rem;
}