/**
 * RM Agrichem Private Limited - Visual Design System
 * Reference Brand System:
 * - Primary Vibrant Green: #76C12B (lime accent, buttons, links, active nav)
 * - Mint: #F3FAF4 (main background for header, navbar, and most page sections)
 * - Dark Slate: #2D3748 (nav text, headings, and footer background)
 * - Hero Overlay: dark slate rgba(45, 55, 72, 0.65)
 * - Golden Wheat: #FBD87D (accordion headers, badges, highlights - replaces brown)
 * - Light Cream: #F3E6B9 (alternate section backgrounds and form boxes)
 * - Text: #1E2A22 on light backgrounds, never white on mint/cream/golden
 * - Typography: Inter / Poppins with bold, tight-tracking headings
 * - Buttons: fully rounded pills with a soft green glow shadow
 */

:root {
  /* Shared Theme Tokens matching RM Agrichem Logo & Brand System */
  --rm-green: #65BA46;
  --rm-charcoal: #22292E;
  --rm-charcoal-2: #2C353B;
  --rm-charcoal-3: #3A444B;
  --rm-primary-green: var(--rm-green, #65BA46);
  --rm-primary-green-hover: #56A23A;
  --rm-primary-green-light: #7ECC62;
  --rm-primary-green-soft: rgba(101, 186, 70, 0.14);
  --rm-charcoal-hover: var(--rm-charcoal-3, #3A444B);
  --rm-charcoal-dark: #1E2327;
  --rm-charcoal-border: var(--rm-charcoal-3, #3A444B);
  --rm-text-light-grey: #C9D1CC;
  --rm-text-muted-grey: #9AA59E;
  --rm-footer-bg: var(--rm-charcoal, #22292E);
  --rm-footer-bottom-bg: var(--rm-charcoal-2, #2C353B);
  --rm-footer-border: var(--rm-charcoal-3, #3A444B);

  /* Brand Palette from Logo */
  --primary-navy: #032B45;
  /* RGB 3, 43, 69: “RM”, microscope, headings, footer, navy sections */
  --leaf-green: #65BA46;
  /* RGB 101, 186, 70: “AGRICHEM”, logo ring, buttons, links, top strip, active nav */
  --mint-bg: #F3FAF4;
  /* Mint: header and main page backgrounds */
  --pure-white: #FFFFFF;

  /* Compatibility & Semantic Aliases */
  --vibrant-green: #65BA46;
  --primary-green: #65BA46;
  --dark-slate: #032B45;
  --dark-green: #032B45;
  --primary-navy: #032B45;
  --light-cream: #F3FAF4;
  --text-dark: #032B45;
  --text-navy: #032B45;

  /* Semantic Tokens */
  --green: var(--leaf-green);
  --fresh: var(--leaf-green);
  --forest: var(--primary-navy);
  --forest-green: var(--primary-navy);
  --text: var(--text-dark);
  --muted: #5B7282;
  --line: rgba(3, 43, 69, 0.12);
  --line-soft: rgba(3, 43, 69, 0.06);
  --cream: var(--mint-bg);
  --sage: var(--mint-bg);
  --sage-border: rgba(101, 186, 70, 0.25);
  --harvest: var(--golden-wheat);

  /* Typography */
  --font-heading: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', 'Merriweather', Georgia, serif;

  /* Elevation & Corners */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 8px rgba(3, 43, 69, 0.04);
  --shadow: 0 6px 20px rgba(3, 43, 69, 0.07);
  --shadow-lg: 0 16px 36px rgba(3, 43, 69, 0.12);
  --shadow-pill: 0 4px 18px rgba(101, 186, 70, 0.35);
  --shadow-green: 0 4px 18px rgba(101, 186, 70, 0.38);

  /* Bootstrap Variable Overrides */
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--text-dark);
  --bs-body-bg: var(--mint-bg);
  --bs-link-color: var(--primary-navy);
  --bs-link-hover-color: var(--leaf-green);
  --bs-border-color: var(--line);
}

/* Base Setup */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--mint-bg);
  /* Mint #F3FAF4 as main background */
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings with Dark Slate #2D3748 and bold, tight-tracking */
h1,
h2,
h3,
h4,
h5,
h6,
.brand-text {
  font-family: var(--font-heading);
  color: var(--dark-slate);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h1 {
  font-weight: 800;
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

h2 {
  font-weight: 700;
  font-size: clamp(1.75rem, 3.4vw, 2.45rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
}

h3 {
  font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.3;
}

h4 {
  font-weight: 600;
  font-size: 1.35rem;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.72;
  color: var(--muted);
  font-weight: 400;
}

a {
  text-decoration: none;
  transition: all 0.2s ease;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 2000;
  background: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* Section Rhythm & Alternating Backgrounds (Mint #F3FAF4 and Cream #F3E6B9) */
.section {
  padding: clamp(3.8rem, 6.5vw, 6.2rem) 0;
  background-color: var(--mint-bg);
}

.section-mint,
.section-sage {
  background-color: var(--mint-bg) !important;
}

.section-cream {
  background-color: var(--light-cream) !important;
  color: var(--text-dark) !important;
}

.section-white {
  background-color: var(--pure-white) !important;
}

/* Primary Navy Section (#032B45) with white or mint #F3FAF4 text */
.section-navy,
.bg-navy {
  background-color: var(--primary-navy) !important;
  color: #FFFFFF !important;
}

.section-navy h1,
.section-navy h2,
.section-navy h3,
.section-navy h4,
.section-navy h5,
.section-navy h6,
.bg-navy h1,
.bg-navy h2,
.bg-navy h3,
.bg-navy h4,
.bg-navy h5,
.bg-navy h6 {
  color: #FFFFFF !important;
}

.section-navy p,
.section-navy .text-muted,
.bg-navy p,
.bg-navy .text-muted {
  color: var(--mint-bg) !important;
  /* Mint #F3FAF4 text on navy */
  opacity: 0.95;
}

.section-navy a:not(.btn),
.bg-navy a:not(.btn) {
  color: #FFFFFF !important;
  text-decoration: underline;
}

.section-navy a:not(.btn):hover,
.bg-navy a:not(.btn):hover {
  color: var(--mint-bg) !important;
}

.section-navy .card,
.section-navy .rm-card,
.bg-navy .card,
.bg-navy .rm-card {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: #FFFFFF !important;
}

.section-navy .eyebrow,
.bg-navy .eyebrow {
  color: var(--mint-bg) !important;
}

.section-navy .eyebrow::before,
.bg-navy .eyebrow::before {
  background-color: var(--mint-bg) !important;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-green);
  margin-bottom: 0.75rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 3px;
  background-color: var(--primary-green);
  border-radius: var(--radius-pill);
}

.text-muted-rm {
  color: var(--muted);
}

/* ==========================================================================
   Slim Vibrant Green Top Announcement Strip (#76C12B)
   - Order: email | phone 1 | phone 2 | social icons
   - 26px circle social icons with subtle white border, turning white on hover
   - Right-of-centre alignment on desktop, centred wrapped on mobile
   ========================================================================== */
.rm-topbar {
  background-color: var(--vibrant-green);
  /* #76C12B */
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.82rem;
  padding: 0.35rem 0;
  position: relative;
  z-index: 1040;
}

.rm-topbar a.topbar-item {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.82rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.rm-topbar a.topbar-item:hover {
  opacity: 0.92;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.rm-topbar .topbar-divider {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300;
  user-select: none;
}

/* Social icons in top strip:
   - small white icons (~16px) inside 26px circles
   - subtle white border
   - spaced 6px apart
   - turning white with green #76C12B icons on hover
*/
.topbar-socials {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-social-btn {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background-color: transparent;
  color: #FFFFFF !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.22s ease;
  line-height: 1;
}

.topbar-social-btn:hover {
  background-color: #FFFFFF !important;
  border-color: #FFFFFF !important;
  color: var(--vibrant-green) !important;
  /* Green icon on white circle */
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.topbar-social-btn i {
  color: inherit;
  font-size: inherit;
  line-height: 1;
  transition: color 0.22s ease;
}

/* Right-of-centre alignment on desktop / tablet */
@media (min-width: 992px) {
  .topbar-group {
    margin-right: 1.5rem;
  }
}

/* Mobile wrapping: on mobile, wrap the icons onto a second line, centred */
@media (max-width: 767.98px) {
  .topbar-group {
    justify-content: center !important;
    gap: 0.35rem 0.6rem !important;
  }

  .topbar-socials {
    width: 100% !important;
    justify-content: center !important;
    margin-top: 4px;
    gap: 6px;
  }

  .rm-topbar a.topbar-item {
    font-size: 0.76rem;
  }
}

/* ==========================================================================
   Sticky Navbar with Mint #F3FAF4 Background & Proper Layering
   - Position sticky/relative with z-index 1000
   - No overflow hidden that clips dropdowns
   ========================================================================== */
header.rm-nav,
.rm-nav {
  background-color: var(--mint-bg) !important;
  /* Mint #F3FAF4 */
  border-bottom: 1px solid rgba(45, 55, 72, 0.08);
  box-shadow: 0 4px 18px rgba(45, 55, 72, 0.06);
  position: sticky !important;
  top: 0;
  z-index: 1000 !important;
  overflow: visible !important;
  transition: all 0.25s ease;
}

.navbar {
  padding: 0.75rem 0;
  position: relative;
  overflow: visible !important;
}

.navbar>.container {
  overflow: visible !important;
}

.navbar-collapse {
  overflow: visible;
}

/* Brand: Logo Lockup
   - Microscope-and-leaf icon: ~55px tall (45px in sticky header)
   - “RM” in a navy serif (#032B45)
   - “AGRICHEM” in spaced green uppercase (#65BA46) with ® mark
   - “Private Ltd.” in small navy text below “AGRICHEM”
*/
.brand-logo-icon {
  height: 55px;
  width: auto;
  max-width: 65px;
  object-fit: contain;
  display: block;
  transition: height 0.25s ease, transform 0.25s ease;
}

.rm-nav.is-scrolled .brand-logo-icon,
.rm-nav.sticky-header .brand-logo-icon {
  height: 45px;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.brand-main {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}

.brand-rm-serif {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary-navy);
  /* Navy #032B45 */
  letter-spacing: -0.02em;
  line-height: 1;
  margin-right: 5px;
  transition: font-size 0.25s ease;
}

.rm-nav.is-scrolled .brand-rm-serif {
  font-size: 1.6rem;
}

.brand-agrichem-spaced {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--leaf-green);
  /* Leaf Green #65BA46 */
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  transition: font-size 0.25s ease;
}

.rm-nav.is-scrolled .brand-agrichem-spaced {
  font-size: 1.02rem;
}

.brand-reg-mark {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-left: 2px;
  vertical-align: super;
  line-height: 1;
}

.brand-tagline {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--primary-navy);
  /* Small navy text below AGRICHEM */
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 2px;
  line-height: 1;
}

.navbar-brand:hover .brand-logo-icon {
  transform: scale(1.05);
}

/* Nav items: Rounded pills with soft shadow on active or hovered item */
.navbar .nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--dark-slate);
  padding: 0.48rem 1.15rem;
  border-radius: var(--radius-pill);
  position: relative;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.navbar .nav-link:hover {
  background-color: var(--vibrant-green);
  color: #FFFFFF !important;
  box-shadow: var(--shadow-pill);
  transform: translateY(-1px);
}

.navbar .nav-link.active {
  background-color: var(--vibrant-green);
  color: #FFFFFF !important;
  font-weight: 600;
  box-shadow: var(--shadow-pill);
}

/* Thin vertical dividers between items on desktop */
@media (min-width: 992px) {
  .navbar-nav .nav-item {
    display: flex;
    align-items: center;
  }

  .navbar-nav .nav-item:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 16px;
    background-color: rgba(45, 55, 72, 0.16);
    margin: 0 0.25rem;
  }
}

/* Caret rotation styling */
.navbar .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.38rem;
  vertical-align: 0.15em;
  transition: transform 0.25s ease !important;
}

/* ==========================================================================
   Desktop Hover Dropdowns (Products and Company)
   - Parent <li> position: relative
   - Dropdown position: absolute; top: 100%; left: 0; z-index: 9999
   - min-width: 220px, white bg, border-radius: 10px, soft shadow, 8px padding
   - Menu items turn mint #F3FAF4 with green #76C12B text on hover
   - Smooth hover: opacity: 0 -> 1, translateY(10px) -> 0 with transition: all 0.25s ease
   - Hover gap fix: 10px transparent bridge (::before)
   - Rotate ▾ arrow 180° on hover
   ========================================================================== */
@media (min-width: 992px) {

  .navbar-nav>li.nav-item.dropdown,
  .navbar-nav .dropdown.hover-dropdown {
    position: relative !important;
  }

  .navbar-nav .dropdown.hover-dropdown>.dropdown-menu {
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 9999 !important;
    min-width: 220px !important;
    background-color: #FFFFFF !important;
    border-radius: 10px !important;
    border: 1px solid rgba(45, 55, 72, 0.08) !important;
    box-shadow: 0 10px 28px rgba(45, 55, 72, 0.12), 0 4px 10px rgba(0, 0, 0, 0.04) !important;
    padding: 8px !important;
    margin: 0 !important;

    /* Smooth hover animation */
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    transition: all 0.25s ease !important;
    pointer-events: none !important;
  }

  /* Hover gap fix: transparent bridge above dropdown */
  .navbar-nav .dropdown.hover-dropdown>.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
  }

  /* Show on hover (CSS :hover and JS .is-hovered) */
  .navbar-nav .dropdown.hover-dropdown:hover>.dropdown-menu,
  .navbar-nav .dropdown.hover-dropdown.is-hovered>.dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }

  /* Rotate arrow 180° on hover */
  .navbar-nav .dropdown.hover-dropdown:hover>.dropdown-toggle::after,
  .navbar-nav .dropdown.hover-dropdown.is-hovered>.dropdown-toggle::after {
    transform: rotate(180deg) !important;
  }
}

/* Dropdown Menu Items: Turn mint #F3FAF4 with green #76C12B text on hover */
.navbar-nav .dropdown-menu .dropdown-item {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 6px;
  padding: 0.52rem 0.82rem;
  color: var(--dark-slate);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-nav .dropdown-menu .dropdown-item:hover,
.navbar-nav .dropdown-menu .dropdown-item:focus {
  background-color: var(--mint-bg) !important;
  /* Mint #F3FAF4 */
  color: var(--leaf-green) !important;
  /* Leaf Green #65BA46 text */
  transform: translateX(3px);
}

.navbar-nav .dropdown-menu .dropdown-item:hover i,
.navbar-nav .dropdown-menu .dropdown-item:focus i {
  color: var(--leaf-green) !important;
}

.navbar-nav .dropdown-menu .dropdown-divider {
  border-color: rgba(45, 55, 72, 0.08);
  margin: 6px 0;
}

/* ==========================================================================
   Mobile (below 992px): Tap-to-expand accordions inside hamburger menu
   - Turn off hover behavior
   - Position: static (pushes content below down)
   - Arrow rotates 180° when expanded
   ========================================================================== */
@media (max-width: 991.98px) {
  .navbar-nav .dropdown.hover-dropdown {
    position: static !important;
    width: 100%;
  }

  .navbar-nav .dropdown.hover-dropdown>.dropdown-menu {
    position: static !important;
    float: none !important;
    transform: none !important;
    box-shadow: none !important;
    border: 1px solid rgba(45, 55, 72, 0.08) !important;
    border-radius: 8px !important;
    background-color: #FFFFFF !important;
    padding: 6px !important;
    margin-top: 6px !important;
    margin-bottom: 8px !important;
    width: 100% !important;
    min-width: 100% !important;
    z-index: 1 !important;
    transition: none !important;

    /* Hidden by default on mobile */
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Tap-to-expand: when opened, pushes content below down */
  .navbar-nav .dropdown.hover-dropdown.is-open>.dropdown-menu,
  .navbar-nav .dropdown.hover-dropdown>.dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Rotate ▾ arrow when expanded on mobile */
  .navbar-nav .dropdown.hover-dropdown.is-open>.dropdown-toggle::after,
  .navbar-nav .dropdown.hover-dropdown>.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg) !important;
  }

  .navbar-nav .dropdown.hover-dropdown>.dropdown-menu::before {
    display: none !important;
  }
}

.cart-link {
  position: relative;
  font-size: 1.45rem;
  color: var(--dark-slate);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.cart-link:hover {
  color: var(--vibrant-green);
  transform: translateY(-1px);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  border-radius: var(--radius-pill);
  background: var(--vibrant-green);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  line-height: 20px;
  text-align: center;
  padding: 0 5px;
  box-shadow: 0 2px 6px rgba(118, 193, 43, 0.4);
}

.cart-badge[hidden] {
  display: none;
}

/* ==========================================================================
   Home Page Hero (New: 90vh full width, real farmer spraying photo)
   ========================================================================== */
.home-hero-90vh {
  min-height: 90vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  padding: clamp(4rem, 8vh, 6.5rem) 0;
  overflow: hidden;
}

.hero-dark-slate-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(45, 55, 72, 0.65);
  /* Dark Slate Overlay */
  z-index: 1;
}

.hero-eyebrow {
  margin-bottom: 1.25rem;
}

.hero-green-line {
  display: inline-block;
  width: 34px;
  height: 3.5px;
  background-color: var(--vibrant-green);
  border-radius: 2px;
}

.hero-eyebrow-text {
  color: var(--vibrant-green);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-massive-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.8rem, 5.8vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.text-vibrant-green {
  color: var(--vibrant-green) !important;
}

.hero-description {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.68;
  max-width: 650px;
  font-weight: 400;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

/* Buttons: Fully rounded pills with soft green glow shadow */
.btn {
  font-family: var(--font-body);
  border-radius: var(--radius-pill);
  /* Fully rounded pills */
  font-weight: 600;
  padding: 0.72rem 1.65rem;
  font-size: 0.96rem;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-solid-pill {
  background-color: var(--vibrant-green);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--vibrant-green);
  box-shadow: 0 4px 18px rgba(118, 193, 43, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-hero-solid-pill:hover {
  background-color: #68ab24;
  border-color: #68ab24;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(118, 193, 43, 0.55);
  color: #FFFFFF !important;
}

.btn-hero-glass-pill {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-pill);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-hero-glass-pill:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #FFFFFF;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Subtle fade-up animation on load */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

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

.hero-fade-up {
  animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1.04rem;
  border-radius: var(--radius-pill);
}

.btn-sm {
  padding: 0.45rem 1.15rem;
  font-size: 0.86rem;
  border-radius: var(--radius-pill);
}

.btn-primary-green,
.btn-green {
  background-color: var(--vibrant-green);
  border: none;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(118, 193, 43, 0.3);
}

.btn-primary-green:hover,
.btn-primary-green:focus,
.btn-green:hover,
.btn-green:focus {
  background-color: var(--rm-primary-green-hover, #56A23A);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(101, 186, 70, 0.4);
}

.btn-white-corporate {
  background-color: var(--pure-white);
  color: var(--primary-navy);
  border: 1px solid rgba(101, 186, 70, 0.25);
  box-shadow: 0 2px 10px rgba(3, 43, 69, 0.06);
}

.btn-white-corporate:hover {
  background-color: var(--light-cream);
  border-color: var(--leaf-green);
  color: var(--primary-navy);
  transform: translateY(-2px);
}

.btn-outline-green {
  border: 2px solid var(--vibrant-green);
  color: var(--vibrant-green);
  background: transparent;
}

.btn-outline-green:hover {
  background-color: var(--vibrant-green);
  border-color: var(--vibrant-green);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

.btn-wa {
  background-color: #25D366;
  border: none;
  color: #033614;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-wa:hover {
  background-color: #20BA5A;
  color: #01240C;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.42);
}

/* Modern Cards */
.rm-card {
  background-color: var(--pure-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}

.rm-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(101, 186, 70, 0.45);
}

.icon-bubble {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background-color: var(--pale-mint);
  color: var(--primary-green);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 1.1rem;
  border: 1px solid var(--sage-border);
  transition: all 0.25s ease;
}

.rm-card:hover .icon-bubble {
  background-color: rgba(101, 186, 70, 0.16);
  transform: translateY(-2px);
}

.cat-card {
  display: block;
  padding: 1.6rem 1.4rem;
  color: var(--charcoal);
  text-align: left;
}

.cat-card:hover {
  color: var(--charcoal);
}

.cat-card h3 {
  font-size: 1.05rem;
}

.cat-card .count {
  font-size: 0.82rem;
  color: var(--muted);
}

.cat-card .arrow {
  color: var(--primary-green);
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.cat-card:hover .arrow {
  transform: translateX(5px);
}

/* Product Cards */
.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card .thumb {
  aspect-ratio: 1 / 1;
  background-color: var(--pale-mint);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.25rem;
  transition: transform 0.35s ease;
}

.product-card:hover .thumb img {
  transform: scale(1.05);
}

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

.product-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0.3rem 0 0.45rem;
}

.product-card h3 a {
  color: var(--forest-green);
  transition: color 0.2s ease;
}

.product-card h3 a:hover {
  color: var(--primary-green);
}

.badge-cat {
  background-color: var(--pale-mint);
  color: var(--primary-green);
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  border: 1px solid var(--sage-border);
  letter-spacing: 0.02em;
}

.pack-chip {
  display: inline-block;
  background-color: var(--pure-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.15rem 0.65rem;
  font-size: 0.76rem;
  color: var(--muted);
  margin: 0 0.3rem 0.3rem 0;
  transition: all 0.2s ease;
}

.pack-chip:hover {
  border-color: var(--primary-green);
  color: var(--primary-green);
}

/* Pack Selector on Product Detail */
.product-pack-card,
#select-pack,
#select-pack.rm-card {
  height: auto !important;
  min-height: 0 !important;
  align-self: flex-start;
  width: 100%;
}

.product-details-full {
  width: 100%;
  clear: both;
}

.product-desc-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--charcoal);
}

.pack-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.pack-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pack-option span {
  display: inline-block;
  min-width: 88px;
  text-align: center;
  padding: 0.65rem 1.1rem;
  border: 2px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  background: var(--pure-white);
  color: var(--forest-green);
  transition: all 0.2s ease;
}

.pack-option input:checked+span {
  border-color: var(--primary-green);
  background: var(--pale-mint);
  color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(101, 186, 70, 0.25);
}

.pack-option input:focus-visible+span {
  outline: 3px solid rgba(101, 186, 70, 0.5);
  outline-offset: 2px;
}

.qty-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--pure-white);
}

.qty-box button {
  border: 0;
  background: var(--pale-mint);
  width: 42px;
  height: 42px;
  font-size: 1.15rem;
  color: var(--forest-green);
  transition: all 0.2s ease;
}

.qty-box button:hover {
  background: rgba(101, 186, 70, 0.18);
  color: var(--primary-green);
}

.qty-box input {
  width: 58px;
  text-align: center;
  border: 0;
  height: 42px;
  font-weight: 600;
  color: var(--forest-green);
  -moz-appearance: textfield;
}

.spec-table th {
  width: 34%;
  color: var(--forest-green);
  font-weight: 700;
  background-color: var(--pale-mint);
  font-family: var(--font-heading);
  font-size: 0.88rem;
}

.spec-table td,
.spec-table th {
  padding: 0.85rem 1.1rem;
  vertical-align: top;
  border-color: var(--line);
}

.gallery-main {
  background-color: var(--pale-mint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.75rem;
}

.gallery-thumbs {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.9rem;
  flex-wrap: wrap;
}

.gallery-thumbs button {
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 0;
  width: 76px;
  height: 76px;
  overflow: hidden;
  background: var(--pure-white);
  transition: all 0.2s ease;
}

.gallery-thumbs button[aria-current="true"] {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 2px rgba(101, 186, 70, 0.35);
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Inner Page Hero: Shorter 40vh Banner with Real Farmer/Field Photo & Dark Slate Overlay */
.page-hero {
  min-height: clamp(250px, 40vh, 380px);
  background-image: url('../images/farmers/field-golden.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.5rem 0;
  color: #FFFFFF;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(45, 55, 72, 0.65);
  /* Dark Slate Overlay */
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-hero h1 {
  color: #FFFFFF !important;
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.08rem;
}

.rm-breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.6);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  font-family: var(--font-body);
}

.rm-breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.rm-breadcrumb a:hover {
  color: var(--golden-wheat);
}

.page-hero .breadcrumb-item.active {
  color: #FFFFFF !important;
  font-weight: 600;
}

.page-hero .breadcrumb-item.active {
  color: #FFFFFF;
  font-weight: 500;
}

.breadcrumb-item+.breadcrumb-item::before {
  color: #A3D4B5;
}

/* Call to Action Band */
.cta-band {
  background: linear-gradient(135deg, #032B45 0%, #06395A 60%, #032B45 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 4.5vw, 3.8rem);
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(3, 43, 69, 0.18);
}

.cta-band h2,
.cta-band h3 {
  color: #FFFFFF;
  font-weight: 800;
}

.cta-band p {
  color: #E2EDF3;
  font-size: 1.1rem;
}

.stat {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--primary-green);
  line-height: 1;
}

/* Documents & Gallery */
.doc-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.35rem;
}

.doc-icon {
  flex: 0 0 52px;
  height: 52px;
  border-radius: 12px;
  background-color: var(--pale-mint);
  color: var(--primary-green);
  border: 1px solid var(--sage-border);
  display: grid;
  place-items: center;
  font-size: 1.45rem;
}

.doc-meta {
  font-size: 0.83rem;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.15rem;
}

.gallery-grid a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--pale-mint);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-grid a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.gallery-grid a:hover img {
  transform: scale(1.05);
}

.event-card .cover {
  aspect-ratio: 16 / 10;
  background: var(--pale-mint);
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: 1px solid var(--line-soft);
}

.event-card .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.empty-state {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--muted);
  background: var(--pure-white);
}

.empty-state i {
  font-size: 2.6rem;
  color: var(--primary-green);
}

/* Form Controls */
.form-control,
.form-select {
  border-radius: 10px;
  border: 1px solid rgba(3, 43, 69, 0.16);
  padding: 0.72rem 1rem;
  font-size: 0.95rem;
  color: var(--charcoal);
  background-color: var(--pure-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.22rem rgba(101, 186, 70, 0.25);
  color: var(--charcoal);
}

.form-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--forest-green);
  margin-bottom: 0.4rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

/* ==========================================================================
   Redesigned Website Footer - Charcoal #22292E Theme & Responsive Layout
   ========================================================================== */
.rm-footer {
  background-color: var(--rm-charcoal, #22292E) !important;
  color: #C9D1CC;
  padding: 4.5rem 0 0;
  margin-top: 0;
  border-top: none;
}

.rm-footer h2,
.rm-footer .h6,
.footer-col-title,
.footer-connect-title {
  color: #FFFFFF !important;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-weight: 700;
  font-family: var(--font-heading, 'Inter', sans-serif);
}

.footer-logo {
  background: #FFFFFF;
  border-radius: 50%;
  padding: 3px;
}

.footer-tagline {
  color: #C9D1CC !important;
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 360px;
}

.btn-wa {
  background: var(--rm-green, #65BA46) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: var(--radius-pill, 9999px) !important;
  padding: 0.55rem 1.35rem !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  box-shadow: 0 4px 16px rgba(101, 186, 70, 0.4) !important;
  transition: all 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  text-decoration: none !important;
}

.btn-wa:hover {
  background: #56A23A !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 22px rgba(101, 186, 70, 0.55) !important;
  color: #FFFFFF !important;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #C9D1CC !important;
  text-decoration: none !important;
  font-size: 0.92rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--rm-green, #65BA46) !important;
  transform: translateX(3px);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #C9D1CC !important;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-contact-list a,
.footer-contact-list span {
  color: #C9D1CC !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.footer-contact-list a:hover {
  color: var(--rm-green, #65BA46) !important;
}

.footer-contact-list i {
  color: var(--rm-green, #65BA46) !important;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-connect-title {
  color: #FFFFFF !important;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-heading, 'Inter', sans-serif);
}

/* 38px Round Social Buttons under Connect With Us */
.footer-connect .social-circle-btn,
.rm-footer .social-circle-btn,
.social-circle-btn {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  border-radius: 50% !important;
  background-color: var(--rm-charcoal-2, #2C353B) !important;
  color: var(--rm-green, #65BA46) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  font-size: 1.15rem !important;
  line-height: 1 !important;
  border: none !important;
  box-shadow: none !important;
  transition: all 0.25s ease !important;
  cursor: pointer;
}

.footer-connect .social-circle-btn i,
.rm-footer .social-circle-btn i,
.social-circle-btn i {
  color: var(--rm-green, #65BA46) !important;
  font-size: 1.15rem !important;
  line-height: 1 !important;
  transition: color 0.25s ease !important;
}

.footer-connect .social-circle-btn:hover,
.rm-footer .social-circle-btn:hover,
.social-circle-btn:hover {
  background-color: var(--rm-green, #65BA46) !important;
  color: #FFFFFF !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 4px 12px rgba(101, 186, 70, 0.35) !important;
}

.footer-connect .social-circle-btn:hover i,
.rm-footer .social-circle-btn:hover i,
.social-circle-btn:hover i {
  color: #FFFFFF !important;
}

.footer-divider {
  border: 0;
  border-top: 1px solid var(--rm-charcoal-3, #3A444B) !important;
  opacity: 1;
  margin: 3.5rem 0 0;
}

.footer-bottom-bar {
  background-color: var(--rm-charcoal-2, #2C353B) !important;
  border-top: 1px solid var(--rm-charcoal-3, #3A444B) !important;
  color: #C9D1CC !important;
  font-size: 0.86rem;
  padding: 1.25rem 0;
  margin-top: 3.5rem;
}

.footer-bottom-bar span {
  color: #C9D1CC !important;
}

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: #25D366;
  color: #FFFFFF;
  display: grid;
  place-items: center;
  font-size: 1.85rem;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
  z-index: 1040;
  transition: transform 0.25s ease;
}

.wa-float:hover {
  color: #FFFFFF;
  transform: scale(1.08) translateY(-2px);
}

/* Pagination & Filter Pills */
.pagination .page-link {
  color: var(--forest-green);
  border-radius: 8px;
  margin: 0 0.2rem;
  border-color: var(--line);
  font-family: var(--font-body);
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  transition: all 0.2s ease;
}

.pagination .page-link:hover {
  color: var(--primary-green);
  border-color: var(--primary-green);
  background-color: var(--pale-mint);
}

.pagination .active .page-link {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  color: #FFFFFF;
}

.filter-pill {
  display: inline-block;
  padding: 0.45rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--forest-green);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  margin: 0 0.4rem 0.55rem 0;
  background: var(--pure-white);
  transition: all 0.2s ease;
}

.filter-pill:hover,
.filter-pill.active {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  color: #FFFFFF;
}

/* Universal Overrides for Consistent Corporate Theme */
.text-success {
  color: var(--primary-green) !important;
}

.bg-success {
  background-color: var(--primary-green) !important;
}

.border-success {
  border-color: var(--primary-green) !important;
}

.badge.text-bg-warning {
  background-color: var(--harvest) !important;
  color: #FFFFFF !important;
}

.badge.text-bg-success {
  background-color: var(--primary-green) !important;
  color: #FFFFFF !important;
}

.badge.text-bg-secondary,
.badge.text-bg-light {
  background-color: var(--pale-mint) !important;
  color: var(--forest-green) !important;
  border: 1px solid var(--line) !important;
}

.alert-success {
  background-color: var(--pale-mint) !important;
  border-color: var(--sage-border) !important;
  color: var(--forest-green) !important;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem 0;
  }

  .hero-cover {
    min-height: 520px;
  }
}

/* ==========================================================================
   Our Team & Leadership Module Styles
   ========================================================================== */
.director-message-card {
  background: var(--pale-mint);
  border: 1px solid rgba(101, 186, 70, 0.25);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: 0 10px 30px rgba(3, 43, 69, 0.06);
  position: relative;
  overflow: hidden;
}

.director-message-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--primary-green);
}

.director-photo-wrap {
  width: 100%;
  max-width: 280px;
  height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(3, 43, 69, 0.12);
  border: 3px solid var(--pure-white);
  background: #E8F4EC;
  margin: 0 auto;
}

.director-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.director-quote {
  font-family: var(--font-body);
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  line-height: 1.78;
  color: var(--forest-green);
  font-weight: 400;
  position: relative;
}

.quote-icon-decor {
  font-size: 3rem;
  line-height: 1;
  color: var(--primary-green);
  opacity: 0.3;
}

/* Team Member Rectangular Photo Cards with Hover Lift */
.team-card {
  background: var(--pure-white);
  border: 1px solid rgba(3, 43, 69, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(3, 43, 69, 0.05);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(3, 43, 69, 0.12);
  border-color: rgba(101, 186, 70, 0.4);
}

.team-card-photo {
  position: relative;
  width: 100%;
  height: 270px;
  background-color: var(--pale-mint);
  overflow: hidden;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

.team-card:hover .team-card-photo img {
  transform: scale(1.05);
}

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

.team-card-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--dark-green);
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

.team-card-designation {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--vibrant-green);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.team-card-bio {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.team-card-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--dark-green);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Career Page & Golden Wheat / Light Cream Design System
   ========================================================================== */
.career-hero-banner {
  background-image: url('../images/farmers/career-banner.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
}

.career-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(3, 43, 69, 0.88) 0%, rgba(101, 186, 70, 0.72) 100%);
  z-index: 1;
}

/* Career Accordion: Golden Wheat #FBD87D Header with Dark Text #1E2A22 */
.career-accordion {
  display: flex;
  flex-direction: column;
}

.career-accordion-item {
  border: 1px solid rgba(101, 186, 70, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.career-accordion-item:hover {
  border-color: rgba(101, 186, 70, 0.4);
  box-shadow: var(--shadow);
}

.career-accordion-header {
  background-color: var(--golden-wheat) !important;
  color: var(--text-dark) !important;
  /* DARK TEXT, NEVER WHITE */
  font-family: var(--font-body);
  font-weight: 700;
  padding: 1.15rem 1.45rem;
  cursor: pointer;
  width: 100%;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: filter 0.2s ease;
}

.career-accordion-header:hover {
  filter: brightness(0.96);
}

.career-toggle-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background-color: rgba(3, 43, 69, 0.1);
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.career-accordion-header.collapsed .toggle-plus,
.career-accordion-header[aria-expanded="false"] .toggle-plus {
  display: inline-block !important;
}

.career-accordion-header.collapsed .toggle-minus,
.career-accordion-header[aria-expanded="false"] .toggle-minus {
  display: none !important;
}

.career-accordion-header:not(.collapsed) .toggle-plus,
.career-accordion-header[aria-expanded="true"] .toggle-plus {
  display: none !important;
}

.career-accordion-header:not(.collapsed) .toggle-minus,
.career-accordion-header[aria-expanded="true"] .toggle-minus {
  display: inline-block !important;
}

/* Open Accordion Panel: Light Cream #F3E6B9 Background with Dark Text #1E2A22 */
.career-accordion-body {
  background-color: var(--light-cream) !important;
  color: var(--text-dark) !important;
  /* DARK TEXT, NEVER WHITE */
  padding: 1.6rem;
  border-top: 1px solid rgba(101, 186, 70, 0.18);
}

.career-accordion-body h3,
.career-accordion-body h4,
.career-accordion-body .fw-bold {
  color: var(--text-dark) !important;
}

.job-resp-list li {
  color: var(--text-dark) !important;
  margin-bottom: 0.45rem;
  line-height: 1.6;
}

/* Form Boxes: Light Cream #F3E6B9 with Golden Wheat #FBD87D Accent & Dark Text */
.career-form-card,
.form-box,
.contact-form-box {
  background-color: var(--light-cream) !important;
  color: var(--text-dark) !important;
  /* DARK TEXT, NEVER WHITE */
  border: 1px solid rgba(45, 55, 72, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.send-accent-badge {
  background-color: var(--golden-wheat) !important;
  color: var(--text-dark) !important;
  /* DARK TEXT, NEVER WHITE */
  font-weight: 800;
  letter-spacing: 0.05em;
  display: inline-block;
  padding: 0.15rem 0.65rem;
  border-radius: var(--radius-xs);
  box-shadow: 0 2px 6px rgba(3, 43, 69, 0.08);
}

/* Highlight Badges in Golden Wheat (replaces brown everywhere) */
.badge-golden,
.badge-wheat,
.highlight-badge {
  background-color: var(--golden-wheat) !important;
  color: var(--text-dark) !important;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  border: 1px solid rgba(101, 186, 70, 0.2);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
}

/* Hover Underlines in Golden Wheat */
.hover-underline {
  position: relative;
  text-decoration: none;
}

.hover-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 3px;
  background-color: var(--golden-wheat);
  border-radius: 2px;
  transition: width 0.28s ease;
}

.hover-underline:hover::after {
  width: 100%;
}

/* ==========================================================================
   Full-Width Animated Stats Counter Band (#76C12B Background)
   - Full-width band with #76C12B background, white text
   - 4 equal columns split by thin white vertical dividers on desktop
   - 2x2 grid without dividers on mobile
   - Large bold number (~48px) with smaller label underneath
   ========================================================================== */
.stats-band-section {
  background-color: var(--vibrant-green);
  /* #76C12B */
  color: #FFFFFF;
  padding: clamp(2.4rem, 4.2vw, 3.4rem) 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 20px rgba(118, 193, 43, 0.28);
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.stat-item {
  position: relative;
  text-align: center;
  padding: 0.8rem 1.25rem;
}

/* Thin white vertical dividers between columns on desktop */
@media (min-width: 768px) {
  .stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 15%;
    bottom: 15%;
    right: 0;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.35);
  }
}

/* On mobile, 2x2 grid without dividers */
@media (max-width: 767.98px) {
  .stat-item::after {
    display: none !important;
  }

  .stat-item {
    padding: 1.15rem 0.6rem;
  }
}

.stat-number-wrap {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 4.5vw, 3.2rem);
  /* about 48px to 52px */
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}

.stat-number-wrap .counter {
  font-variant-numeric: tabular-nums;
  display: inline-block;
}

.stat-number-wrap .stat-suffix {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 700;
  margin-left: 2px;
  color: #FFFFFF;
  white-space: nowrap;
}

.stat-number-wrap .stat-suffix.stat-suffix-word {
  margin-left: 0.3em;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 700;
}

.stat-label {
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 0.45rem;
  letter-spacing: 0.015em;
  line-height: 1.35;
}

/* Enquiry & Quotation solid white modals */
#enquiryModal .modal-content,
#quoteSuccessModal .modal-content {
  background-color: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22) !important;
}

#quoteSuccessModal.show,
#enquiryModal.show {
  opacity: 1 !important;
}

/* ==========================================================================
   Cart Page Layout & Items
   ========================================================================== */
.cart-section {
  position: relative !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  margin: 0 !important;
  clear: both;
}

.cart-items-col {
  height: auto !important;
  min-height: 0 !important;
}

.cart-item-card,
[data-line-row].rm-card {
  height: auto !important;
  min-height: 96px !important;
  max-height: none !important;
  position: static !important;
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
  padding: 0.85rem 1.15rem !important;
  display: flex !important;
  align-items: center;
  gap: 1rem;
  transition: opacity 0.22s ease, transform 0.22s ease, max-height 0.22s ease;
}

.cart-item-card.removing,
[data-line-row].rm-card.removing {
  opacity: 0 !important;
  transform: translateX(-15px) !important;
  pointer-events: none !important;
}

.cart-item-card:hover:not(.removing),
[data-line-row].rm-card:hover:not(.removing) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cart-item-img {
  width: 72px;
  height: 72px;
  min-width: 72px;
  max-width: 72px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 10px;
  background-color: var(--pale-mint, #F3FAF4);
}

.cart-summary-col {
  height: auto !important;
  min-height: 0 !important;
}

.cart-summary-card {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin-top: 0 !important;
  background: var(--pure-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 992px) {
  .cart-summary-card {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 100px !important;
    z-index: 10;
  }
}

@media (max-width: 991.98px) {
  .cart-summary-card {
    position: static !important;
    top: auto !important;
    margin-top: 1.5rem;
  }
}

.cart-note-box {
  background-color: var(--pale-mint, #F3FAF4);
  border: 1px solid var(--sage-border, #DCEEE2);
  color: var(--primary-navy, #032B45);
  font-weight: 500;
  line-height: 1.45;
}

.rm-footer {
  position: relative;
  z-index: 2;
  clear: both;
}