/* ==========================================================================
   Amira Agriculture Developer - Premium Agricultural Corporate Website
   Core Stylesheet & Design System
   ========================================================================== */

/* --- 1. Design Tokens & CSS Variables --- */
:root {
  --color-forest: #168447;          /* Primary agricultural green */
  --color-forest-deep: #124D32;     /* Deep forest green */
  --color-forest-darkest: #0B291D;
  --color-forest-light: #1E9954;
  --color-accent-green: #168447;
  --color-accent-hover: #126B38;
  --color-accent-subtle: #EAF5EC;   /* Light natural green */
  --color-soil-brown: #795338;      /* Warm soil brown */
  --color-soil-dark: #5A3C26;
  --color-offwhite: #F5F7F2;        /* Alternate section background */
  --color-offwhite-alt: #EBF0E6;
  --color-white: #FFFFFF;
  --color-charcoal: #202820;        /* Primary text */
  --color-charcoal-light: #3D443F;
  --color-muted: #626B62;           /* Secondary text */
  --color-border: #E0E7DC;
  --color-border-dark: #C2CEC0;

  /* Typography */
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Elevation */
  --shadow-sm: 0 2px 6px rgba(16, 59, 42, 0.05);
  --shadow-md: 0 6px 18px rgba(16, 59, 42, 0.08);
  --shadow-lg: 0 14px 34px rgba(16, 59, 42, 0.12);
  --shadow-hover: 0 20px 40px rgba(16, 59, 42, 0.14);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s ease-in-out;
  --transition-normal: 0.28s ease-in-out;
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 2. Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-charcoal);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Skip link for keyboard accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--color-forest-deep);
  color: var(--color-white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 99999;
  text-decoration: none;
  font-weight: 600;
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: 20px;
  outline: 3px solid var(--color-accent-green);
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-forest-deep);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1, .h1 { font-size: clamp(2rem, 4vw + 0.5rem, 3.25rem); font-weight: 800; }
h2, .h2 { font-size: clamp(1.75rem, 3vw + 0.3rem, 2.5rem); font-weight: 700; }
h3, .h3 { font-size: clamp(1.35rem, 2vw + 0.2rem, 1.85rem); font-weight: 700; }
h4, .h4 { font-size: 1.25rem; font-weight: 600; }
h5, .h5 { font-size: 1.1rem; font-weight: 600; }
h6, .h6 { font-size: 0.95rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }

p {
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: var(--color-charcoal);
}

p.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-muted);
}

a {
  color: var(--color-forest);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--color-accent-green);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Focus styles */
:focus-visible {
  outline: 3px solid var(--color-accent-green);
  outline-offset: 3px;
}

/* --- 3. Buttons & Interactive Elements --- */
.btn {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  padding: 0.72rem 1.6rem;
  min-height: 44px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-decoration: none;
  border: 1.5px solid transparent;
}

.btn-forest {
  background-color: var(--color-forest);
  color: var(--color-white);
  border-color: var(--color-forest);
}
.btn-forest:hover, .btn-forest:focus {
  background-color: var(--color-forest-deep);
  border-color: var(--color-forest-deep);
  color: var(--color-white);
  box-shadow: 0 6px 16px rgba(23, 77, 53, 0.25);
  transform: translateY(-2px);
}

.btn-fresh {
  background-color: var(--color-accent-green);
  color: var(--color-white);
  border-color: var(--color-accent-green);
}
.btn-fresh:hover, .btn-fresh:focus {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-white);
  box-shadow: 0 6px 16px rgba(110, 158, 69, 0.28);
  transform: translateY(-2px);
}

.btn-outline-forest {
  background-color: transparent;
  color: var(--color-forest);
  border-color: var(--color-forest);
}
.btn-outline-forest:hover, .btn-outline-forest:focus {
  background-color: var(--color-forest);
  color: var(--color-white);
  box-shadow: 0 6px 16px rgba(23, 77, 53, 0.15);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.8);
}
.btn-outline-white:hover, .btn-outline-white:focus {
  background-color: var(--color-white);
  color: var(--color-forest-deep);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}

/* Section Header Utility */
.section-kicker {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent-green);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}
.section-kicker::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  background-color: var(--color-accent-green);
}

.section-title {
  color: var(--color-forest-deep);
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--color-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.08rem;
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

/* Background Variants */
.bg-offwhite {
  background-color: var(--color-offwhite);
}
.bg-forest-deep {
  background-color: var(--color-forest-deep);
  color: var(--color-white);
}
.bg-forest {
  background-color: var(--color-forest);
  color: var(--color-white);
}
.bg-forest-deep h1, .bg-forest-deep h2, .bg-forest-deep h3, .bg-forest-deep h4,
.bg-forest h1, .bg-forest h2, .bg-forest h3, .bg-forest h4 {
  color: var(--color-white);
}

/* Subtle Borders */
.border-subtle {
  border-color: var(--color-border) !important;
}

/* --- 4. Global Header & Navigation --- */
.site-topbar {
  background-color: var(--color-forest-deep);
  color: rgba(247, 247, 240, 0.85);
  font-size: 0.82rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-topbar a {
  color: rgba(247, 247, 240, 0.85);
  transition: color var(--transition-fast);
}
.site-topbar a:hover {
  color: var(--color-accent-green);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}
.site-header.scrolled {
  box-shadow: 0 8px 24px rgba(16, 59, 42, 0.08);
}

.navbar-brand {
  padding: 0.3rem 0;
  display: inline-flex;
  align-items: center;
}
.navbar-brand img {
  height: 64px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}
.navbar-brand:hover img {
  transform: scale(1.02);
}
@media (max-width: 768px) {
  .navbar-brand img {
    height: 52px;
    max-width: 180px;
  }
}
@media (max-width: 480px) {
  .navbar-brand img {
    height: 46px;
    max-width: 150px;
  }
}

.navbar-nav .nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--color-charcoal);
  padding: 0.6rem 0.7rem !important;
  white-space: nowrap;
  position: relative;
  transition: color var(--transition-fast);
}
.navbar-nav .nav-link:hover {
  color: var(--color-forest);
}
.navbar-nav .nav-link.active {
  color: var(--color-forest);
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0.7rem;
  right: 0.7rem;
  height: 2px;
  background-color: var(--color-accent-green);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}
.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
  transform: scaleX(1);
}

.header-cta-btn {
  padding: 0.55rem 1.35rem;
  font-size: 0.9rem;
}

/* Mobile Navbar Toggle */
.navbar-toggler {
  border: 1px solid var(--color-border);
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  color: var(--color-forest-deep);
}
.navbar-toggler:focus {
  box-shadow: none;
  outline: 2px solid var(--color-accent-green);
}

@media (max-width: 991px) {
  .navbar-collapse {
    background-color: var(--color-white);
    padding: 1.25rem 1rem;
    margin-top: 0.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
  }
  .navbar-nav .nav-link::after {
    display: none;
  }
  .navbar-nav .nav-link {
    padding: 0.65rem 0.5rem !important;
    border-bottom: 1px solid #f2f5f1;
  }
  .header-cta-wrap {
    margin-top: 1rem;
    padding-top: 0.5rem;
  }
}

/* --- 5. Hero Sections --- */
/* Home Hero (Inspired by Jordan Agri Services seedling reference) */
.hero-home {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0c1c14;
  background-size: cover;
  background-position: center bottom;
  color: var(--color-white);
  padding: 6.5rem 0 5rem;
  overflow: hidden;
  text-align: center;
}
.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center 45%,
    rgba(14, 45, 28, 0.45) 0%,
    rgba(10, 32, 20, 0.75) 65%,
    rgba(6, 20, 12, 0.90) 100%
  );
  z-index: 1;
}
.hero-home .container {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-badge i {
  color: #A4D87A;
}

.hero-brand-headline {
  color: var(--color-white);
  font-size: clamp(2rem, 5.5vw + 0.4rem, 4.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-title {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1.25rem, 2.5vw + 0.25rem, 2.2rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  word-break: break-word;
}

.hero-lead {
  font-size: clamp(0.98rem, 1.4vw + 0.2rem, 1.25rem);
  line-height: 1.65;
  color: rgba(245, 247, 242, 0.92);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.25rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  word-break: break-word;
}

/* Green CTA Buttons over Hero (Jordan Agri style) */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.btn-hero-primary {
  background-color: #168447;
  color: #FFFFFF !important;
  border: 2px solid #168447;
  padding: 0.88rem 2.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  min-height: 50px;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-decoration: none;
}
.btn-hero-primary:hover, .btn-hero-primary:focus {
  background-color: #124D32;
  border-color: #124D32;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.btn-hero-secondary {
  background-color: rgba(18, 77, 50, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF !important;
  border: 2px solid rgba(255, 255, 255, 0.4);
  padding: 0.88rem 2.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  min-height: 50px;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-decoration: none;
}
.btn-hero-secondary:hover, .btn-hero-secondary:focus {
  background-color: #168447;
  border-color: #FFFFFF;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

@media (max-width: 576px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
}

.hero-pillars-bar {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.hero-pillar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  color: rgba(255, 255, 255, 0.95);
  text-align: left;
}
.hero-pillar-item i {
  font-size: 1.6rem;
  color: #A4D87A;
}
.hero-pillar-text h6 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-white);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}
.hero-pillar-text p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(245, 247, 242, 0.8);
}

/* --- Full-Width Image Section: Tractor & Farmland About --- */
.section-tractor-about {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
  padding: 6.5rem 0;
  overflow: hidden;
}
.section-tractor-about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(14, 38, 25, 0.92) 0%,
    rgba(18, 52, 35, 0.82) 50%,
    rgba(18, 52, 35, 0.65) 100%
  );
  z-index: 1;
}
@media (max-width: 991px) {
  .section-tractor-about::before {
    background: rgba(14, 38, 25, 0.88);
  }
}
.section-tractor-about .container {
  position: relative;
  z-index: 2;
}
.tractor-about-panel {
  background: rgba(18, 52, 35, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 2.75rem 2.5rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
@media (max-width: 768px) {
  .section-tractor-about {
    padding: 4.5rem 0;
  }
  .tractor-about-panel {
    padding: 1.75rem 1.25rem;
  }
}

/* --- Full-Width Image Section: What We Offer (Lush Crops) --- */
.section-what-we-offer {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
  padding: 6rem 0;
  overflow: hidden;
}
.section-what-we-offer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 41, 26, 0.88) 0%,
    rgba(18, 77, 50, 0.80) 50%,
    rgba(11, 41, 26, 0.92) 100%
  );
  z-index: 1;
}
.section-what-we-offer .container {
  position: relative;
  z-index: 2;
}
.offer-glass-card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-charcoal);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all var(--transition-normal);
}
.offer-glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  background: #FFFFFF;
}
.offer-glass-card .offer-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--color-accent-subtle);
  color: var(--color-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

/* --- Full-Width Image Section: Core Principles (Agricultural Values) --- */
.section-agricultural-values {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
  padding: 6.5rem 0;
  overflow: hidden;
}
.section-agricultural-values::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 41, 26, 0.88) 0%,
    rgba(18, 77, 50, 0.78) 50%,
    rgba(11, 41, 26, 0.90) 100%
  );
  z-index: 1;
}
.section-agricultural-values .container {
  position: relative;
  z-index: 2;
}

.values-glass-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--color-charcoal);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.85rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.values-glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #168447, #A4D87A);
  opacity: 0;
  transition: opacity var(--transition-normal);
}
.values-glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.32);
  background: #FFFFFF;
  border-color: rgba(164, 216, 122, 0.5);
}
.values-glass-card:hover::before {
  opacity: 1;
}

.values-glass-card .values-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--color-accent-subtle);
  color: var(--color-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(22, 132, 71, 0.15);
}
.values-glass-card:hover .values-icon {
  background: var(--color-forest);
  color: #FFFFFF;
  transform: scale(1.12) rotate(5deg);
  box-shadow: 0 6px 18px rgba(22, 132, 71, 0.35);
}

/* --- Cookie Consent Banner (Jordan Agri style) --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.cookie-banner.cookie-banner-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-text {
  color: var(--color-charcoal);
  line-height: 1.45;
}
.btn-cookie {
  background-color: var(--color-forest);
  color: var(--color-white) !important;
  border: 1px solid var(--color-forest);
  border-radius: var(--radius-sm);
  padding: 0.45rem 1.15rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--transition-fast);
}
.btn-cookie:hover, .btn-cookie:focus {
  background-color: var(--color-forest-deep);
  color: var(--color-white) !important;
}

/* Inner Page Hero / Banner */
.page-hero {
  position: relative;
  background-color: var(--color-forest-deep);
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  padding: 4.5rem 0 3.8rem;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(16, 59, 42, 0.93) 0%,
    rgba(23, 77, 53, 0.88) 100%
  );
  z-index: 1;
}
.page-hero .container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  margin-bottom: 1rem;
  background: transparent;
  padding: 0;
  font-size: 0.85rem;
}
.breadcrumb-item a {
  color: rgba(247, 247, 240, 0.75);
  text-decoration: none;
}
.breadcrumb-item a:hover {
  color: var(--color-accent-green);
}
.breadcrumb-item.active {
  color: var(--color-white);
  font-weight: 600;
}
.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(247, 247, 240, 0.4);
}

.page-hero-title {
  color: var(--color-white);
  font-size: clamp(2rem, 3.2vw + 0.3rem, 2.9rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
}
.page-hero-desc {
  font-size: 1.12rem;
  color: rgba(247, 247, 240, 0.88);
  max-width: 660px;
  margin-bottom: 0;
}

/* --- 6. Cards & Grids --- */
/* Product Card */
.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent-green);
  box-shadow: var(--shadow-hover);
}

.product-card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--color-offwhite);
}
.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.product-card:hover .product-card-img-wrap img {
  transform: scale(1.05);
}

.product-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--color-forest-deep);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.product-card-category {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-green);
  margin-bottom: 0.35rem;
  display: block;
}

.product-card-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-title {
  font-size: 1.18rem;
  margin-bottom: 0.6rem;
  color: var(--color-forest-deep);
}
.product-card-title a {
  color: inherit;
}
.product-card-title a:hover {
  color: var(--color-accent-green);
}

.product-card-desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.55;
  margin-bottom: 1.1rem;
  flex-grow: 1;
}

.product-card-specs {
  background-color: var(--color-offwhite);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
}
.product-spec-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}
.product-spec-row:last-child {
  margin-bottom: 0;
}
.product-spec-row span.label {
  color: var(--color-muted);
}
.product-spec-row span.value {
  color: var(--color-charcoal);
  font-weight: 600;
  text-align: right;
}

.product-card-footer {
  display: flex;
  gap: 0.6rem;
  margin-top: auto;
}

/* Service Card */
.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-forest);
  box-shadow: var(--shadow-hover);
}

.service-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background-color: var(--color-accent-subtle);
  color: var(--color-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.4rem;
  transition: all var(--transition-normal);
}
.service-card:hover .service-icon-wrap {
  background-color: var(--color-forest);
  color: var(--color-white);
}

.service-card-title {
  font-size: 1.28rem;
  margin-bottom: 0.8rem;
}

.service-card-desc {
  font-size: 0.93rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.service-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  font-size: 0.87rem;
  color: var(--color-charcoal);
  flex-grow: 1;
}
.service-benefits-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.55rem;
}
.service-benefits-list li::before {
  content: "\F272"; /* bi-check2 */
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent-green);
  font-weight: 700;
}

/* Crop Card */
.crop-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background-color: var(--color-forest-deep);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.crop-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  color: var(--color-white);
}

.crop-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.crop-card:hover .crop-card-img {
  transform: scale(1.08);
}

.crop-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 59, 42, 0.1) 0%,
    rgba(16, 59, 42, 0.45) 40%,
    rgba(16, 59, 42, 0.95) 100%
  );
  z-index: 1;
}

.crop-card-content {
  position: relative;
  z-index: 2;
}

.crop-badge {
  display: inline-block;
  background-color: var(--color-accent-green);
  color: var(--color-white);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.6rem;
}

.crop-card-title {
  color: var(--color-white);
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
}

.crop-scientific-name {
  font-style: italic;
  font-size: 0.82rem;
  color: rgba(247, 247, 240, 0.8);
  margin-bottom: 0.75rem;
}

.crop-card-highlights {
  font-size: 0.83rem;
  color: rgba(247, 247, 240, 0.9);
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

.crop-card-link-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-green);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition-fast);
}
.crop-card:hover .crop-card-link-text {
  gap: 0.7rem;
  color: #8ac05d;
}

/* Article Card (Knowledge Hub) */
.article-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-normal);
}
.article-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent-green);
  box-shadow: var(--shadow-hover);
}

.article-card-img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background-color: var(--color-offwhite);
}
.article-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.article-card:hover .article-card-img-wrap img {
  transform: scale(1.06);
}

.article-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 0.65rem;
}
.article-category-tag {
  color: var(--color-forest);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-card-title {
  font-size: 1.18rem;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}
.article-card-title a {
  color: var(--color-forest-deep);
}
.article-card-title a:hover {
  color: var(--color-accent-green);
}

.article-card-excerpt {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.article-card-link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-forest);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
}
.article-card-link:hover {
  color: var(--color-accent-green);
  gap: 0.65rem;
}

/* Feature/Value Item */
.feature-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  transition: all var(--transition-normal);
  height: 100%;
}
.feature-box:hover {
  border-color: var(--color-forest);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-box-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: var(--color-accent-subtle);
  color: var(--color-forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

/* --- 7. Search & Filter Bar --- */
.filter-search-container {
  background: var(--color-offwhite);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.filter-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.filter-btn {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-charcoal);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-btn:hover {
  border-color: var(--color-forest);
  color: var(--color-forest);
}
.filter-btn.active {
  background-color: var(--color-forest);
  border-color: var(--color-forest);
  color: var(--color-white);
}

.search-input-wrap {
  position: relative;
}
.search-input-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted);
  font-size: 1rem;
}
.search-input-wrap .form-control {
  padding-left: 2.6rem;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-size: 0.92rem;
}
.search-input-wrap .form-control:focus {
  border-color: var(--color-forest);
  box-shadow: 0 0 0 3px rgba(23, 77, 53, 0.15);
}

.filter-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.86rem;
  color: var(--color-muted);
}

/* Empty State */
.empty-results-box {
  background: var(--color-offwhite);
  border: 1px dashed var(--color-border-dark);
  border-radius: var(--radius-md);
  padding: 3.5rem 2rem;
  text-align: center;
  margin: 2rem 0;
}
.empty-results-icon {
  font-size: 3rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

/* --- 8. Product & Article Detail Templates --- */
.product-detail-hero-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.specs-table {
  width: 100%;
  margin-bottom: 1.5rem;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.specs-table tr:nth-child(even) {
  background-color: var(--color-offwhite);
}
.specs-table th, .specs-table td {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-border);
}
.specs-table th {
  width: 38%;
  color: var(--color-muted);
  font-weight: 600;
  font-family: var(--font-heading);
}
.specs-table td {
  color: var(--color-charcoal);
  font-weight: 600;
}
.specs-table tr:last-child th,
.specs-table tr:last-child td {
  border-bottom: none;
}

.product-features-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
}
.product-features-checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
.product-features-checklist li::before {
  content: "\F26A"; /* bi-check-circle-fill */
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--color-accent-green);
}

.notice-box {
  background-color: var(--color-offwhite);
  border-left: 4px solid var(--color-forest);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}
.notice-box h6 {
  margin-bottom: 0.4rem;
  color: var(--color-forest);
}
.notice-box p:last-child {
  margin-bottom: 0;
}

/* Editorial Article Layout */
.article-editorial-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-charcoal);
}
.article-editorial-content h2,
.article-editorial-content h3 {
  margin-top: 2.2rem;
  margin-bottom: 0.9rem;
}
.article-editorial-content ul,
.article-editorial-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.article-editorial-content li {
  margin-bottom: 0.5rem;
}
.editorial-quote {
  background-color: var(--color-offwhite);
  border-left: 4px solid var(--color-accent-green);
  padding: 1.6rem 2rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2.2rem 0;
  font-style: italic;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-forest-deep);
}
.editorial-quote p {
  margin-bottom: 0;
}

/* --- 9. Forms & Static Contact UI --- */
.contact-form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 0.4rem;
}
.form-label span.req {
  color: #D32F2F;
}

.form-control, .form-select {
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
  color: var(--color-charcoal);
  transition: all var(--transition-fast);
}
.form-control:focus, .form-select:focus {
  border-color: var(--color-forest);
  box-shadow: 0 0 0 3px rgba(23, 77, 53, 0.15);
}

.form-check-input:checked {
  background-color: var(--color-forest);
  border-color: var(--color-forest);
}
.form-check-label {
  font-size: 0.88rem;
  color: var(--color-muted);
}

.static-submission-alert {
  background-color: #f1f7ed;
  border: 1px solid #c9dec2;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--color-forest-deep);
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.static-submission-alert i {
  font-size: 1.2rem;
  color: var(--color-accent-green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- 10. Call to Action Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-forest-deep) 0%, var(--color-forest) 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 158, 69, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}
.cta-banner p {
  color: rgba(247, 247, 240, 0.9);
  max-width: 600px;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* --- 11. Footer --- */
.site-footer {
  background-color: var(--color-forest-deep);
  background-image: 
    radial-gradient(circle at 85% 15%, rgba(22, 132, 71, 0.22) 0%, transparent 50%),
    radial-gradient(circle at 12% 85%, rgba(164, 216, 122, 0.08) 0%, transparent 45%);
  color: rgba(247, 247, 240, 0.82);
  padding-top: 3.8rem;
  border-top: 3px solid var(--color-accent-green);
  position: relative;
  overflow: hidden;
}

.site-footer .container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(164, 216, 122, 0.6), transparent);
}

.footer-brand-wrap {
  display: inline-block;
  margin-bottom: 1.1rem;
  transition: transform var(--transition-normal);
}
.footer-brand-wrap:hover {
  transform: translateY(-2px) scale(1.02);
  filter: drop-shadow(0 4px 14px rgba(164, 216, 122, 0.35));
}
.footer-brand-wrap img {
  height: 46px;
  width: auto;
}
.footer-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(247, 247, 240, 0.78);
  margin-bottom: 1.5rem;
  max-width: 310px;
}

.footer-title {
  color: var(--color-white);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
  display: inline-block;
}
.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--color-accent-green);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}
.col-12:hover .footer-title::after,
.col-6:hover .footer-title::after {
  width: 50px;
  background-color: #A4D87A;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.6rem;
}
.footer-links a {
  color: rgba(247, 247, 240, 0.78);
  font-size: 0.88rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.footer-links a i {
  transition: transform var(--transition-fast), color var(--transition-fast);
}
.footer-links a:hover {
  color: #A4D87A;
  transform: translateX(4px);
}
.footer-links a:hover i {
  transform: translateX(3px);
  color: #A4D87A;
}

.footer-contact-item {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
  font-size: 0.86rem;
  color: rgba(247, 247, 240, 0.82);
  transition: transform var(--transition-fast);
}
.footer-contact-item:hover {
  transform: translateX(4px);
}
.footer-contact-item i {
  color: #A4D87A;
  font-size: 0.92rem;
  flex-shrink: 0;
  margin-top: 1px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(164, 216, 122, 0.25);
  transition: all var(--transition-normal);
}
.footer-contact-item:hover i {
  background: var(--color-forest);
  color: #ffffff;
  border-color: #A4D87A;
  transform: scale(1.14) rotate(6deg);
  box-shadow: 0 0 14px rgba(164, 216, 122, 0.45);
}
.footer-contact-item a,
.footer-contact-item span {
  word-break: break-word;
  overflow-wrap: anywhere;
}
.footer-contact-item a {
  color: rgba(247, 247, 240, 0.9);
  transition: all var(--transition-fast);
}
.footer-contact-item a:hover {
  color: #A4D87A;
  text-decoration: underline !important;
}

.footer-placeholder-note {
  font-size: 0.76rem;
  color: rgba(247, 247, 240, 0.5);
  font-style: italic;
  margin-top: 0.5rem;
  line-height: 1.4;
}

.footer-bottom {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
  color: rgba(247, 247, 240, 0.6);
}
.footer-bottom a {
  color: rgba(247, 247, 240, 0.6);
  transition: color var(--transition-fast);
}
.footer-bottom a:hover {
  color: #A4D87A;
}

/* --- 12. Utilities & Micro-interactions --- */
.crop-stat-badge {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.8rem;
  font-size: 0.82rem;
  text-align: center;
}
.crop-stat-badge .val {
  font-weight: 700;
  color: var(--color-forest-deep);
  display: block;
}
.crop-stat-badge .lbl {
  color: var(--color-muted);
  font-size: 0.75rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--color-forest);
  color: var(--color-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 1000;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background-color: var(--color-accent-green);
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .cta-banner {
    padding: 2.5rem 1.5rem;
  }
  .contact-form-card {
    padding: 1.5rem;
  }
}

/* --- 13. Dynamic Animations & Visual Flourishes --- */
@keyframes floatSubtle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes leafSway {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-6deg);
  }
  75% {
    transform: rotate(6deg);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(22, 132, 71, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(22, 132, 71, 0);
  }
}

/* Card and Content Hover Micro-Interactions */
.card,
.feature-box,
.service-card,
.product-card,
.knowledge-card,
.crop-category-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease !important;
}
.card:hover,
.feature-box:hover,
.service-card:hover,
.product-card:hover,
.knowledge-card:hover,
.crop-category-card:hover {
  transform: translateY(-7px) !important;
  box-shadow: 0 20px 40px rgba(16, 59, 42, 0.12) !important;
  border-color: rgba(22, 132, 71, 0.35) !important;
}

/* Service & Feature Icons Dynamic Elevation */
.service-icon-wrap,
.feature-box-icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, color 0.3s ease !important;
}
.card:hover .service-icon-wrap,
.feature-box:hover .feature-box-icon,
.service-card:hover .service-icon-wrap {
  transform: scale(1.14) rotate(5deg) !important;
}

/* High-End Button Shimmer Sweep */
.btn-forest,
.btn-fresh,
.btn-outline-forest {
  position: relative;
  overflow: hidden;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.btn-forest::after,
.btn-fresh::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -80%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: rotate(25deg);
  pointer-events: none;
  transition: left 0.75s ease;
}
.btn-forest:hover::after,
.btn-fresh:hover::after {
  left: 140%;
}
.btn-forest:hover,
.btn-fresh:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(22, 132, 71, 0.3);
}

/* Floating Seedling Badge Animation */
.hero-seedling-badge,
.section-kicker i,
.site-topbar i.bi-seedling {
  display: inline-block;
  animation: floatSubtle 4s ease-in-out infinite;
}

/* Scroll-Driven Entrance Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Accessibility: prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
