/* yellow - #e7c362 */
/* green - #86a51b */
:root {
  --font-primary: 'Inter', sans-serif;
  --color-dark-green: #1A361D;
  --color-green:#479530;
  --color-light-green: #071309;
}

body {
  font-family: var(--font-primary);
}

/* ==================== NAVBAR ==================== */

#site-header.scrolled {
  background-color: #fff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
#site-header:not(.scrolled) {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 6.25rem;
    /* account for fixed mobile header height */
  }

  #site-header {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  #navbar-container {
    gap: 0.75rem;
  }
}

#site-header.scrolled .nav-link,
#site-header.scrolled #mobile-toggle,
#site-header.scrolled .nav-link svg {
  color: rgb(58, 57, 57);

}

#site-header.scrolled .nav-link {
  text-shadow: none;
}

#site-header.scrolled .nav-link:hover {
  color: #1A361D;
}

#logo-wrap.scrolled {
  background-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

/* Mobile: make hamburger and mobile menu text clearly visible */
@media (max-width: 768px) {

  /* Ensure hero sits below header on smaller devices (kept for safety) */
  .hero-section {
    padding-top: 6.25rem;
  }

  #site-header {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  #navbar-container {
    gap: 0.75rem;
  }

  #site-header:not(.scrolled) #mobile-toggle {
    color: #374151;
    /* neutral-700 */
  }

  /* Force SVG stroke and icon colors for the hamburger */
  #mobile-toggle,
  #mobile-toggle svg,
  #mobile-toggle svg path,
  #mobile-toggle svg line {
    color: #374151 !important;
    stroke: #374151 !important;
    fill: none !important;
  }

  /* Mobile menu text color */
  nav#mobile-menu,
  nav#mobile-menu a,
  nav#mobile-menu button,
  nav#mobile-menu .mobile-link {
    color: #374151 !important;
  }

  /* Ensure icons inside mobile menu also adapt */
  nav#mobile-menu svg,
  nav#mobile-menu path,
  nav#mobile-menu line {
    stroke: #374151 !important;
    color: #374151 !important;
  }
}

/* Desktop: ensure navbar link hover is brand green */
/* Desktop: navbar link hover — same color, thoda size increase */
@media (min-width: 768px) {
  #site-header .nav-link {
    transition: transform 0.25s ease, color 0.3s ease;
    display: inline-block;
    /* transform ke liye zaroori */
  }

  #site-header .nav-link:hover,
  #site-header .nav-link:hover svg,
  #site-header .nav-link:hover path {
    transform: scale(1.08);
  }
}

#site-header.scrolled .nav-link:hover,
#site-header.scrolled .nav-link:hover svg {
  transform: scale(1.08);
}

#quote-btn.scrolled {
  background-color: var(--color-dark-green);
  color: #ffffff;
  box-shadow: none;
}

#quote-btn.scrolled:hover {
  background-color: var(--color-green);
}

#quote-btn.not-scrolled {
  background-color: #ffffff;
  color: var(--color-dark-green);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

#quote-btn.not-scrolled:hover {
  background-color: rgba(157, 201, 46, 0.2);
}

/* Products dropdown visible state */
#products-dropdown.open {
  pointer-events: auto;
  transform: translate(-50%, 0);
  opacity: 1;
}

/* ==================== HERO ==================== */

.bg-hero-lime {
  background-color: var(--color-light-green);
}

.text-hero-lime {
  color: var(--color-light-green);
}

.bg-hero-green {
  background-color: var(--color-green);
}

.achievements-strip {
  border-top: 3px solid var(--color-green);
  box-shadow: 0 -20px 50px rgba(18, 36, 26, 0.18);
}

/* Swiper pagination dots (custom, matches original hero-dot styling) */
.hero-dot {
  width: 24px;
  height: 3px;
  background: rgba(255, 255, 255, 0.45);
  display: inline-block;
  cursor: pointer;
  transition: all 0.25s ease;
  border-radius: 2px;
}

.hero-dot-active {
  width: 40px;
  background: var(--color-light-green);
}

.hero-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}

/* ==================== EXACT WRAP SECTION ==================== */

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* ==================== PRODUCTS SLIDER ==================== */

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.product-card-link {
  flex-shrink: 0;
  width: 280px;
  height: 420px;
  position: relative;
  margin-top: 1rem;
  display: block;
  z-index: 20;
  will-change: transform, opacity;
}

@media (min-width: 768px) {
  .product-card-link {
    width: 300px;
  }
}

/* ==================== WHY US / FOOTER ==================== */

.plug-upper-part,
.plug-lower-part {
  transition: transform 0.35s ease-out;
}

.plug-lower-leg {
  transition: opacity 0.35s ease-out;
}

#plug-connect:hover .plug-upper-part {
  transform: translate(-2px, 2px);
}

#plug-connect:hover .plug-lower-part {
  transform: translate(2px, -2px);
}

#plug-connect:hover .plug-lower-leg {
  opacity: 0;
}

/* ==================== CUSTOM SUBSCRIBE SECTION ==================== */

.custom-email-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.custom-subscribe-form {
  transition: all 0.3s ease;
}

.custom-subscribe-form:focus-within {
  border-color: var(--color-light-green);
  box-shadow: 0 0 0 4px rgba(157, 201, 46, 0.15);
}

/* ==================== CUSTOM SUBSCRIBE SECTION UPDATES ==================== */

.custom-subscribe-form {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-primary);
}

.custom-subscribe-form:focus-within {
  border-color: var(--color-green);
  box-shadow: 0 10px 30px -5px rgba(52, 123, 54, 0.12), 0 0 0 4px rgba(157, 201, 46, 0.15);
}

.custom-email-input {
  caret-color: var(--color-green);
  font-family: var(--font-primary);
}

/* ==================== CONTACT SECTION & 45° LEAF ANIMATION ==================== */
.cc-contact-section {
  font-family: var(--font-primary);
}

.cc-contact-section select option {
  font-family: var(--font-primary);
}

/* Base styling for the leaf: positioned at top-right corner, rotated -45 degrees anti-clockwise */
.cc-floating-leaf {
  transform: rotate(-45deg);
  transform-origin: top right;
  animation: leafWindSway45 6s ease-in-out infinite;
  will-change: transform;
}

/* Gentle organic breeze animation centered around -45 degrees */
@keyframes leafWindSway45 {
  0% {
    transform: rotate(-45deg) translate(0px, 0px) skew(0deg, 0deg);
  }

  25% {
    transform: rotate(-41deg) translate(5px, -5px) skew(2deg, -1deg);
  }

  50% {
    transform: rotate(-48deg) translate(-4px, 4px) skew(-2deg, 2deg);
  }

  75% {
    transform: rotate(-43deg) translate(3px, -3px) skew(1deg, -1deg);
  }

  100% {
    transform: rotate(-45deg) translate(0px, 0px) skew(0deg, 0deg);
  }
}

.custom-slider-container {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.custom-slider-container::-webkit-scrollbar {
  display: none;
}

/* 1. Initial state of elements to be animated */
.scroll-animate-left,
.scroll-animate-right {
  opacity: 0;
  will-change: transform, opacity;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Specific directions */
.scroll-animate-left {
  transform: translateX(-50px);
}

.scroll-animate-right {
  transform: translateX(50px);
}

/* Optional delays for staggered effect */
.animation-delay-150 {
  transition-delay: 150ms;
}

/* 2. State when visible (added by JS) */
.scroll-animate-left.is-visible,
.scroll-animate-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-left {
  opacity: 0;
  transform: translateX(-50px);
  will-change: transform, opacity;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

.scroll-animate-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.sh-textured-bg {
  background-color: #fafaf9;
  background-image: repeating-linear-gradient(90deg,
      rgba(0, 0, 0, 0.025) 0px,
      rgba(0, 0, 0, 0.025) 1px,
      transparent 1px,
      transparent 3px);
}

.sh-crosshatch-bg {
  background-color: #fbfbfa;
  background-image:
    linear-gradient(45deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
  background-size: 8px 8px;
}