/* ==========================================================================
   HIRANYAKESHI AGROTECH PVT. LTD. - OFFICIAL DESIGN SYSTEM
   Color Palette:
   - Deep Pine:   #20383C (Primary: Header, Footer, Main Headings, Primary CTA)
   - Sandstone:   #F1E3C2 (Background for light sections, card surfaces)
   - Olive Clay:  #B2A667 (Accent: Hover states, icons, secondary CTA, highlights)
   - Dark Bark:   #393028 (Body text, dark sections, high contrast headings)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Core Brand Colors */
  --color-deep-pine: #20383C;
  --color-sandstone: #F1E3C2;
  --color-olive-clay: #B2A667;
  --color-dark-bark: #393028;

  /* Derived & Supporting Shades */
  --color-deep-pine-light: #2c4d52;
  --color-deep-pine-dark: #142427;
  --color-sandstone-light: #FAF4E6;
  --color-sandstone-dark: #E2D0A5;
  --color-sandstone-subtle: #FDFBF7;
  --color-olive-clay-light: #C7BC84;
  --color-olive-clay-dark: #988C4D;
  --color-dark-bark-muted: #5A4E44;
  --color-white: #FFFFFF;
  --color-border: rgba(178, 166, 103, 0.25);
  --color-border-dark: rgba(32, 56, 60, 0.15);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-sm: 0 2px 8px rgba(32, 56, 60, 0.06);
  --shadow-md: 0 8px 24px rgba(32, 56, 60, 0.09);
  --shadow-lg: 0 16px 40px rgba(32, 56, 60, 0.14);
  --shadow-xl: 0 24px 56px rgba(32, 56, 60, 0.18);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Layout */
  --container-max: 1240px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-dark-bark);
  background-color: var(--color-sandstone-subtle);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  /* Body opacity gated: only hidden when JS animations are active */
  transition: opacity 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
.section-tag,
.stat-number,
.stat-label {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* JS sets html.js-animations synchronously — without it, body is always visible */
html.js-animations body {
  opacity: 0;
}

html.js-animations body.page-ready {
  opacity: 1;
}

html.js-animations body.page-fading-out {
  opacity: 0;
}

body.no-motion {
  opacity: 1 !important;
  transition: none !important;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button,
input,
select,
textarea {
  font-family: inherit;
}

/* Typography Hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-deep-pine);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
}

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

p {
  font-size: 1.05rem;
  color: var(--color-dark-bark);
}

.lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--color-dark-bark-muted);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 900px;
}

/* Layout Utilities */
.section-padding {
  padding: 96px 0;
}

.section-padding-sm {
  padding: 60px 0;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(178, 166, 103, 0.2);
  color: var(--color-deep-pine);
  border: 1px solid var(--color-olive-clay);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-tag.light {
  background-color: rgba(241, 227, 194, 0.15);
  color: var(--color-sandstone);
  border-color: rgba(241, 227, 194, 0.3);
}

.section-heading-wrap {
  margin-bottom: 56px;
}

.section-heading-wrap p {
  max-width: 680px;
  margin: 12px auto 0;
}

/* Background Variants */
.bg-deep-pine {
  background-color: var(--color-deep-pine);
  color: var(--color-sandstone-light);
}

.bg-deep-pine h1,
.bg-deep-pine h2,
.bg-deep-pine h3,
.bg-deep-pine h4 {
  color: var(--color-sandstone);
}

.bg-deep-pine p {
  color: rgba(241, 227, 194, 0.88);
}

.bg-sandstone {
  background-color: var(--color-sandstone);
  color: var(--color-dark-bark);
}

.bg-sandstone-light {
  background-color: var(--color-sandstone-light);
}

.bg-dark-bark {
  background-color: var(--color-dark-bark);
  color: var(--color-sandstone-light);
}

.bg-dark-bark h1,
.bg-dark-bark h2,
.bg-dark-bark h3,
.bg-dark-bark h4 {
  color: var(--color-sandstone);
}

.bg-dark-bark p {
  color: rgba(241, 227, 194, 0.85);
}

/* Buttons */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.28s var(--ease-spring),
              box-shadow 0.28s var(--ease-out-expo),
              background-color 0.25s ease,
              border-color 0.25s ease,
              color 0.25s ease;
  text-align: center;
  line-height: 1.2;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.55s var(--ease-out-expo);
  z-index: -1;
  pointer-events: none;
}

.btn:hover::before {
  left: 100%;
}

.btn:active {
  transform: scale(0.96) translateY(0) !important;
  transition-duration: 0.08s !important;
}

.btn-primary {
  background-color: var(--color-deep-pine);
  color: var(--color-sandstone-light);
  border-color: var(--color-deep-pine);
}

.btn-primary:hover {
  background-color: var(--color-olive-clay);
  border-color: var(--color-olive-clay);
  color: var(--color-dark-bark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 24px rgba(32, 56, 60, 0.25);
}

.btn-accent {
  background-color: var(--color-olive-clay);
  color: var(--color-deep-pine);
  border-color: var(--color-olive-clay);
  font-weight: 700;
}

.btn-accent:hover {
  background-color: var(--color-deep-pine);
  color: var(--color-sandstone-light);
  border-color: var(--color-deep-pine);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 24px rgba(178, 166, 103, 0.3);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--color-sandstone);
  border-color: var(--color-sandstone);
}

.btn-outline-light:hover {
  background-color: var(--color-sandstone);
  color: var(--color-deep-pine);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 24px rgba(241, 227, 194, 0.2);
}

.btn-outline,
.btn-outline-dark {
  background-color: transparent;
  color: var(--color-deep-pine);
  border-color: var(--color-deep-pine);
}

.btn-outline:hover,
.btn-outline-dark:hover {
  background-color: var(--color-deep-pine);
  color: var(--color-sandstone-light);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 24px rgba(32, 56, 60, 0.2);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--color-deep-pine);
  border-bottom: 1px solid rgba(178, 166, 103, 0.2);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background-color: rgba(32, 56, 60, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  height: 72px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img,
.logo-icon-box img {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  max-width: 44px;
  max-height: 44px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.22));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.brand-logo:hover .brand-logo-img,
.brand-logo:hover .logo-icon-box img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 12px rgba(178, 166, 103, 0.35));
}

.logo-icon-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  flex-shrink: 0;
  background: transparent;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.site-footer .brand-logo-img,
.site-footer .logo-icon-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  flex-shrink: 0;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-sandstone);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.logo-tagline {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-olive-clay);
  font-weight: 600;
  display: block;
  margin-top: 2px;
  line-height: 1.3;
}

/* Desktop Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(241, 227, 194, 0.85);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-olive-clay);
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-sandstone);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown Menu Styles (Desktop) */
.has-dropdown {
  position: relative;
}

.dropdown-arrow {
  width: 14px;
  height: 14px;
  stroke: var(--color-sandstone);
  transition: transform 0.25s ease;
  pointer-events: none;
  opacity: 0.8;
}

.has-dropdown:hover .dropdown-arrow,
.has-dropdown:focus-within .dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
  stroke: var(--color-olive-clay);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(12px) scale(0.96);
  transform-origin: top center;
  min-width: 250px;
  background-color: rgba(32, 56, 60, 0.98);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(178, 166, 103, 0.35);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  padding: 10px 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out-expo),
              transform 0.25s var(--ease-spring),
              visibility 0.25s;
  z-index: 1100;
}

/* Invisible bridge so mouse hover doesn't break between link and dropdown */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  width: 100%;
  height: 16px;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.dropdown-menu li {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.22s var(--ease-out-expo), transform 0.22s var(--ease-out-expo);
}

.has-dropdown:hover .dropdown-menu li,
.has-dropdown:focus-within .dropdown-menu li {
  opacity: 1;
  transform: translateX(0);
}

.has-dropdown:hover .dropdown-menu li:nth-child(1),
.has-dropdown:focus-within .dropdown-menu li:nth-child(1) {
  transition-delay: 0.04s;
}
.has-dropdown:hover .dropdown-menu li:nth-child(2),
.has-dropdown:focus-within .dropdown-menu li:nth-child(2) {
  transition-delay: 0.08s;
}
.has-dropdown:hover .dropdown-menu li:nth-child(3),
.has-dropdown:focus-within .dropdown-menu li:nth-child(3) {
  transition-delay: 0.12s;
}
.has-dropdown:hover .dropdown-menu li:nth-child(4),
.has-dropdown:focus-within .dropdown-menu li:nth-child(4) {
  transition-delay: 0.16s;
}

.dropdown-item {
  display: block;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(241, 227, 194, 0.9);
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease-out-expo);
  white-space: nowrap;
}

.dropdown-item:hover,
.dropdown-item.active {
  background-color: rgba(178, 166, 103, 0.2);
  color: var(--color-sandstone-light);
  transform: translateX(6px);
}

.nav-cta-btn {
  background-color: var(--color-olive-clay);
  color: var(--color-deep-pine) !important;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-cta-btn:hover {
  background-color: var(--color-sandstone);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.nav-cta-btn::after {
  display: none !important;
}

/* Mobile Hamburger Toggle */
.mobile-toggle-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-sandstone);
}

.mobile-toggle-btn svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-sandstone);
}

/* Mobile Submenu & Accordion */
.mobile-nav-item.has-mobile-dropdown {
  width: 100%;
}

.mobile-dropdown-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(241, 227, 194, 0.08);
  color: var(--color-sandstone);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 10px 0;
  cursor: pointer;
  text-align: left;
}

.mobile-dropdown-arrow {
  width: 18px;
  height: 18px;
  stroke: var(--color-sandstone);
  transition: transform 0.25s ease;
}

.mobile-dropdown-toggle.open .mobile-dropdown-arrow {
  transform: rotate(180deg);
  stroke: var(--color-olive-clay);
}

.mobile-submenu {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  opacity: 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  margin: 0;
}

.mobile-submenu.open {
  max-height: 350px;
  opacity: 1;
  padding: 8px 12px;
  margin: 6px 0 10px;
}

.mobile-submenu-link {
  display: block;
  padding: 9px 8px;
  font-size: 0.95rem;
  color: rgba(241, 227, 194, 0.85);
  border-bottom: 1px dashed rgba(241, 227, 194, 0.08);
  transition: all 0.2s ease;
}

.mobile-submenu li:last-child .mobile-submenu-link {
  border-bottom: none;
}

.mobile-submenu-link:hover,
.mobile-submenu-link.active {
  color: var(--color-olive-clay);
  transform: translateX(4px);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 380px;
  height: 100vh;
  background-color: var(--color-deep-pine);
  border-left: 1px solid var(--color-olive-clay);
  box-shadow: var(--shadow-xl);
  z-index: 1050;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--transition-normal);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(178, 166, 103, 0.2);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-sandstone);
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(241, 227, 194, 0.08);
}

.mobile-nav-link.active {
  color: var(--color-olive-clay);
}

.mobile-drawer-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(178, 166, 103, 0.2);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  background-color: var(--color-deep-pine);
  color: var(--color-white);
  overflow: hidden;
}

/* Ken Burns background layer */
.hero-bg-layer {
  position: absolute;
  top: -8%;
  left: -8%;
  width: 116%;
  height: 116%;
  background: linear-gradient(180deg, rgba(32, 56, 60, 0.78) 0%, rgba(32, 56, 60, 0.88) 100%),
    url('/images/hero-paddy.jpg') center/cover no-repeat;
  z-index: 1;
  pointer-events: none;
  animation: kenBurnsHero 28s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes kenBurnsHero {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
  100% {
    transform: scale(1.04) translate3d(1%, -1.5%, 0);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

/* Sequential Cinematic Entrance */
.hero-section .hero-tag,
.hero-section .hero-title,
.hero-section .hero-subtitle,
.hero-section .hero-cta-group {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s var(--ease-out-expo), transform 0.85s var(--ease-out-expo);
}

.hero-section.hero-animating .hero-tag {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.hero-section.hero-animating .hero-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.hero-section.hero-animating .hero-subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.55s;
}

.hero-section.hero-animating .hero-cta-group {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.78s;
}

.hero-section.hero-visible .hero-tag,
.hero-section.hero-visible .hero-title,
.hero-section.hero-visible .hero-subtitle,
.hero-section.hero-visible .hero-cta-group {
  opacity: 1;
  transform: none;
  transition: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(178, 166, 103, 0.25);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(241, 227, 194, 0.4);
  color: var(--color-sandstone);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero-title {
  color: var(--color-sandstone-light);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--color-olive-clay-light);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
  color: rgba(241, 227, 194, 0.92);
  margin-bottom: 36px;
  max-width: 680px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Page Banner (For Inner Pages) */
.page-banner {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 60px;
  background-color: var(--color-deep-pine);
  position: relative;
  color: var(--color-sandstone-light);
  border-bottom: 3px solid var(--color-olive-clay);
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(178, 166, 103, 0.15), transparent 60%);
  pointer-events: none;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.page-banner h1 {
  color: var(--color-sandstone);
  margin-bottom: 16px;
}

.page-banner p {
  color: rgba(241, 227, 194, 0.85);
  font-size: 1.2rem;
}

/* ==========================================================================
   ABOUT SNAPSHOT SECTION
   ========================================================================== */
.about-snapshot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 3px solid var(--color-sandstone);
}

.about-image-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.about-image-card:hover img {
  transform: scale(1.03);
}

.about-badge-floating {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background-color: var(--color-deep-pine);
  color: var(--color-sandstone);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-olive-clay);
  box-shadow: var(--shadow-lg);
}

.about-badge-floating strong {
  display: block;
  font-size: 1.2rem;
  font-family: var(--font-heading);
  color: var(--color-sandstone-light);
}

.about-badge-floating span {
  font-size: 0.85rem;
  color: var(--color-olive-clay);
}

/* ==========================================================================
   VALUE CHAIN STEP FLOW (HOME & INNER PAGE)
   ========================================================================== */
.flow-scroll-container {
  position: relative;
  margin-top: 32px;
}

.value-flow-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}

.value-flow-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.value-flow-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-olive-clay);
  box-shadow: var(--shadow-lg);
}

.step-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background-color: var(--color-deep-pine);
  color: var(--color-sandstone);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.step-icon-wrap {
  width: 52px;
  height: 52px;
  background-color: var(--color-sandstone-light);
  color: var(--color-deep-pine);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid var(--color-sandstone-dark);
}

.step-icon-wrap svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-deep-pine);
}

.value-flow-card h4 {
  color: var(--color-deep-pine);
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.value-flow-card p {
  font-size: 0.92rem;
  color: var(--color-dark-bark-muted);
  line-height: 1.5;
}

/* Detailed Vertical Value Chain Timeline (For Value Chain Page) */
.timeline-flow {
  position: relative;
  max-width: 960px;
  margin: 40px auto 0;
  padding-left: 40px;
}

.timeline-flow::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 17px;
  bottom: 20px;
  width: 3px;
  background: linear-gradient(180deg, var(--color-olive-clay), var(--color-deep-pine));
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -40px;
  top: 12px;
  width: 36px;
  height: 36px;
  background-color: var(--color-deep-pine);
  border: 3px solid var(--color-olive-clay);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-sandstone);
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 2;
}

.timeline-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  transition: all var(--transition-normal);
}

.timeline-card:hover {
  transform: translateX(6px);
  border-color: var(--color-olive-clay);
  box-shadow: var(--shadow-md);
}

.timeline-icon-box {
  width: 64px;
  height: 64px;
  background-color: var(--color-sandstone);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-deep-pine);
}

.timeline-icon-box svg {
  width: 34px;
  height: 34px;
}

/* ==========================================================================
   WHY CHOOSE US / 4 BOXES
   ========================================================================== */
.feature-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-box {
  background: var(--color-white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.feature-box:hover {
  transform: translateY(-8px);
  border-color: var(--color-olive-clay);
  box-shadow: var(--shadow-xl);
}

.feature-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: var(--color-deep-pine);
  color: var(--color-sandstone);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background-color var(--transition-fast);
}

.feature-box:hover .feature-icon-circle {
  background-color: var(--color-olive-clay);
  color: var(--color-deep-pine);
}

.feature-icon-circle svg {
  width: 30px;
  height: 30px;
}

.feature-box h4 {
  color: var(--color-deep-pine);
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.feature-box p {
  color: var(--color-dark-bark-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* ==========================================================================
   PRODUCTS CATALOG & PREVIEW
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-olive-clay);
}

.product-thumb {
  position: relative;
  height: 230px;
  background-color: var(--color-sandstone);
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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

.product-tag-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: var(--color-deep-pine);
  color: var(--color-sandstone);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.product-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-body h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--color-deep-pine);
}

.product-body p {
  font-size: 0.95rem;
  color: var(--color-dark-bark-muted);
  margin-bottom: 18px;
  flex-grow: 1;
}

.product-specs-list {
  list-style: none;
  border-top: 1px solid var(--color-border);
  padding-top: 14px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--color-dark-bark);
}

.product-specs-list li {
  display: flex;
  justify-content: space-between;
}

.product-specs-list li strong {
  color: var(--color-deep-pine);
}

/* ==========================================================================
   FOR FARMERS SECTION & PAGE
   ========================================================================== */
.farmer-banner-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.farmer-benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0 36px;
}

.farmer-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.farmer-check-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--color-olive-clay);
  color: var(--color-deep-pine);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: bold;
}

.farmer-check-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-deep-pine);
}

/* ==========================================================================
   STATS / NUMBERS SECTION
   ========================================================================== */
.stats-strip {
  background: linear-gradient(135deg, var(--color-deep-pine), var(--color-deep-pine-dark));
  border-top: 2px solid var(--color-olive-clay);
  border-bottom: 2px solid var(--color-olive-clay);
  color: var(--color-sandstone);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: rgba(178, 166, 103, 0.3);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  font-weight: 800;
  color: var(--color-sandstone-light);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number span {
  color: var(--color-olive-clay);
}

.stat-label {
  font-size: 1.05rem;
  color: var(--color-sandstone);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   GALLERY PREVIEW
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  height: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(32, 56, 60, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-caption {
  color: var(--color-sandstone-light);
  font-size: 1rem;
  font-weight: 600;
}

/* ==========================================================================
   LEADERSHIP / TEAM SECTION (ABOUT US)
   ========================================================================== */
.leadership-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.leader-card {
  flex: 0 1 380px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.leader-card-featured {
  flex-basis: 100%;
  background: linear-gradient(135deg, var(--color-white), var(--color-sandstone));
  border: 2px solid var(--color-olive-clay);
  position: relative;
  padding: 44px 30px;
}

.leader-card-featured::before {
  content: "FOUNDING LEADER";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-deep-pine);
  color: var(--color-sandstone);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 20px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.leader-card-featured .leader-avatar {
  width: 150px;
  height: 150px;
  font-size: 2.6rem;
  border: 5px solid var(--color-olive-clay);
}

.leader-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-olive-clay);
}

.leader-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-deep-pine), var(--color-olive-clay));
  color: var(--color-sandstone);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 22px;
  border: 4px solid var(--color-sandstone);
  box-shadow: var(--shadow-md);
}

.leader-name {
  font-size: 1.5rem;
  color: var(--color-deep-pine);
  margin-bottom: 4px;
}

.leader-designation {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-olive-clay-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.leader-bio {
  font-size: 0.96rem;
  color: var(--color-dark-bark-muted);
  line-height: 1.6;
}

/* ==========================================================================
   CONTACT FORM & DETAILS
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: start;
}

.contact-info-card {
  background-color: var(--color-deep-pine);
  color: var(--color-sandstone-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 2px solid var(--color-olive-clay);
  box-shadow: var(--shadow-xl);
}

.contact-info-card h3 {
  color: var(--color-sandstone);
  margin-bottom: 16px;
  font-size: 1.6rem;
}

.contact-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(178, 166, 103, 0.2);
  border: 1px solid var(--color-olive-clay);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-sandstone);
}

.contact-detail-text h5 {
  color: var(--color-sandstone);
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-detail-text p,
.contact-detail-text a {
  color: rgba(241, 227, 194, 0.85);
  font-size: 0.95rem;
}

/* Contact Form Container */
.form-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 44px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group-full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark-bark);
}

.form-label span {
  color: #c93b2b;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #dcd3be;
  border-radius: var(--radius-sm);
  background-color: var(--color-sandstone-subtle);
  font-size: 0.98rem;
  color: var(--color-dark-bark);
  transition: border-color 0.25s ease,
              box-shadow 0.28s var(--ease-out-expo),
              background-color 0.25s ease,
              transform 0.25s var(--ease-spring);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-deep-pine);
  background-color: var(--color-white);
  box-shadow: 0 0 0 4px rgba(32, 56, 60, 0.16), 0 4px 14px rgba(32, 56, 60, 0.06);
  transform: translateY(-1px);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--color-deep-pine);
  color: var(--color-sandstone-light);
  padding-top: 80px;
  border-top: 4px solid var(--color-olive-clay);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr 1.1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(178, 166, 103, 0.2);
}

.footer-col h4 {
  color: var(--color-sandstone);
  font-size: 1.2rem;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--color-olive-clay);
}

.footer-about-text {
  font-size: 0.94rem;
  color: rgba(241, 227, 194, 0.85);
  margin: 18px 0 24px;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(241, 227, 194, 0.82);
  font-size: 0.94rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-sandstone);
  transform: translateX(4px);
}

.social-links-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  background-color: rgba(178, 166, 103, 0.15);
  border: 1px solid var(--color-olive-clay);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-sandstone);
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background-color: var(--color-olive-clay);
  color: var(--color-deep-pine);
  transform: translateY(-3px);
}

.social-icon-btn svg {
  width: 18px;
  height: 18px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.newsletter-input {
  flex-grow: 1;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(241, 227, 194, 0.3);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-sandstone-light);
  font-size: 0.92rem;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--color-sandstone);
  background-color: rgba(255, 255, 255, 0.14);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: rgba(241, 227, 194, 0.65);
}

.footer-bottom a {
  color: rgba(241, 227, 194, 0.75);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--color-sandstone);
  text-decoration: underline;
}

/* ==========================================================================
   CERTIFICATIONS & QUALITY STYLING
   ========================================================================== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.cert-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-olive-clay);
}

.cert-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  align-self: flex-start;
}

.badge-completed {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.badge-in-progress {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.cert-card h3 {
  font-size: 1.35rem;
  color: var(--color-deep-pine);
  margin-bottom: 12px;
}

.cert-card p {
  font-size: 0.96rem;
  color: var(--color-dark-bark-muted);
  line-height: 1.6;
}

.quality-process-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.quality-process-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.quality-process-item:hover {
  transform: translateX(6px);
  border-color: var(--color-olive-clay);
  box-shadow: var(--shadow-md);
}

.quality-process-icon {
  width: 52px;
  height: 52px;
  background-color: var(--color-deep-pine);
  color: var(--color-sandstone);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quality-process-icon svg {
  width: 26px;
  height: 26px;
}

.quality-process-body h4 {
  font-size: 1.2rem;
  color: var(--color-deep-pine);
  margin-bottom: 6px;
}

.quality-process-body p {
  font-size: 0.96rem;
  color: var(--color-dark-bark-muted);
  line-height: 1.6;
}

/* ==========================================================================
   TOAST NOTIFICATION SYSTEM
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  min-width: 320px;
  max-width: 440px;
  background-color: var(--color-deep-pine);
  color: var(--color-sandstone-light);
  border: 1px solid var(--color-olive-clay);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast.success {
  border-left: 5px solid #2ecc71;
}

.toast.error {
  border-left: 5px solid #e74c3c;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

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

/* ==========================================================================
   PAGE-SPECIFIC GRID CLASSES (REPLACING INLINE MULTI-COLUMN GRIDS)
   ========================================================================== */

/* Vision & Mission Grid (About Us) */
.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.vision-mission-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 44px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-olive-clay);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Infrastructure Pillars Grid */
.infra-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1040px;
  margin: 0 auto;
}

/* Sustainability Pillars Grid */
.sustainability-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1140px;
  margin: 0 auto;
}

/* B2B / Export Grids */
.b2b-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 24px;
  text-align: center;
}

.b2b-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 28px;
}

.export-offerings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 32px;
}

.b2b-partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 24px;
}

/* 3-Column Feature Grid */
.feature-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (MOBILE FIRST COMPLIANT)
   - Mobile: Up to 480px / 580px
   - Tablet: 481px - 768px / 992px
   - Laptop/Desktop: 993px and above
   ========================================================================== */

/* Medium Screens / Small Laptops (<= 992px) */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px;
  }

  .sustainability-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .parallax-bg {
    background-attachment: scroll !important;
    background-position: center center !important;
  }
}

/* Tablet Breakpoint (<= 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .section-padding {
    padding: 56px 0;
  }

  .page-banner {
    padding-top: calc(var(--header-height) + 36px);
    padding-bottom: 44px;
  }

  .page-banner h1 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-banner p {
    font-size: 1.05rem;
  }

  .nav-menu {
    display: none;
  }

  .mobile-toggle-btn {
    display: block;
  }

  .about-snapshot-grid,
  .farmer-banner-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .feature-grid-4,
  .feature-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .leadership-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .timeline-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  /* Specific non-home section grids */
  .cert-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .vision-mission-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .vision-mission-card {
    padding: 28px 20px;
  }

  .infra-pillars-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sustainability-pillars-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .export-offerings-grid,
  .b2b-features-grid,
  .b2b-partners-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Small Tablet / Phablet Breakpoint (<= 580px) */
@media (max-width: 580px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .feature-grid-4,
  .feature-grid-3,
  .products-grid,
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
}

/* Mobile Breakpoint (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section-padding {
    padding: 44px 0;
  }

  .logo-title {
    font-size: 1.1rem;
  }

  .logo-tagline {
    font-size: 0.65rem;
  }

  .brand-logo-img,
  .logo-icon-box {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    max-width: 38px;
    max-height: 38px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .stat-item {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(178, 166, 103, 0.2);
  }

  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group-full {
    grid-column: span 1;
  }

  .form-card {
    padding: 24px 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .timeline-flow {
    padding-left: 28px;
  }

  .timeline-flow::before {
    left: 10px;
  }

  .timeline-dot {
    left: -28px;
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
  }

  .b2b-stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .feature-box {
    padding: 24px 18px !important;
  }

  .cert-card {
    padding: 24px 18px;
  }
}

/* ==========================================================================
   BLOG / NEWS & UPDATES STYLES
   Color Palette: Deep Pine (#20383C), Sandstone (#F1E3C2), Olive Clay (#B2A667), Dark Bark (#393028)
   ========================================================================== */

/* Blog Filter Tabs */
.blog-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-tab {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-dark-bark);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filter-tab:hover {
  border-color: var(--color-olive-clay);
  color: var(--color-deep-pine);
  transform: translateY(-1px);
}

.filter-tab.active {
  background: var(--color-deep-pine);
  color: var(--color-sandstone);
  border-color: var(--color-deep-pine);
  box-shadow: 0 4px 14px rgba(32, 56, 60, 0.18);
}

.filter-tab .tab-count {
  font-size: 0.76rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(178, 166, 103, 0.2);
  color: inherit;
}

.filter-tab.active .tab-count {
  background: rgba(241, 227, 194, 0.25);
  color: var(--color-sandstone);
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 680px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Blog Card */
.blog-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-olive-clay);
}

.blog-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--color-sandstone);
}

.blog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-img-wrap img {
  transform: scale(1.06);
}

.blog-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--color-deep-pine);
  color: var(--color-sandstone);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.blog-card-body {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--color-dark-bark-muted);
  margin-bottom: 12px;
}

.blog-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.32rem;
  line-height: 1.35;
  color: var(--color-deep-pine);
  margin-bottom: 12px;
  font-weight: 700;
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-card-title {
  color: var(--color-olive-clay-dark);
}

.blog-card-excerpt {
  color: var(--color-dark-bark);
  font-size: 0.94rem;
  line-height: 1.55;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.blog-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(178, 166, 103, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-read-more {
  color: var(--color-deep-pine);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.blog-read-more:hover {
  color: var(--color-olive-clay-dark);
  gap: 10px;
}

/* Newsletter Section */
.blog-newsletter-section {
  background: var(--color-deep-pine);
  color: var(--color-sandstone);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.blog-newsletter-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(178, 166, 103, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-content-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 860px) {
  .newsletter-content-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
}

.blog-newsletter-section h3 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  color: var(--color-sandstone);
  margin-bottom: 8px;
  line-height: 1.25;
}

.blog-newsletter-section p {
  color: rgba(241, 227, 194, 0.85);
  font-size: 0.96rem;
  line-height: 1.5;
}

.newsletter-form-inline {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(241, 227, 194, 0.25);
}

@media (max-width: 540px) {
  .newsletter-form-inline {
    flex-direction: column;
    border-radius: var(--radius-md);
    background: transparent;
    padding: 0;
    border: none;
  }
}

.newsletter-form-inline input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 20px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
}

@media (max-width: 540px) {
  .newsletter-form-inline input {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(241, 227, 194, 0.3);
    border-radius: var(--radius-full);
  }
}

.newsletter-form-inline input::placeholder {
  color: rgba(241, 227, 194, 0.6);
}

.newsletter-form-inline button {
  white-space: nowrap;
}

/* ==========================================================================
   INDIVIDUAL BLOG POST READER PAGE
   ========================================================================== */

.article-container {
  max-width: 860px;
  margin: 0 auto;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--color-dark-bark-muted);
  margin-bottom: 24px;
}

.article-breadcrumb a:hover {
  color: var(--color-deep-pine);
  text-decoration: underline;
}

.article-header {
  margin-bottom: 32px;
}

.article-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-deep-pine);
  line-height: 1.22;
  margin-top: 14px;
  margin-bottom: 18px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .article-title {
    font-size: 1.85rem;
  }
}

.article-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--color-dark-bark-muted);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.article-featured-image-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.article-featured-image-box img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

.article-body-content {
  color: var(--color-dark-bark);
  font-size: 1.08rem;
  line-height: 1.8;
}

.article-body-content .lead-para {
  font-size: 1.22rem;
  font-weight: 500;
  color: var(--color-deep-pine);
  line-height: 1.7;
  margin-bottom: 26px;
}

.article-body-content p {
  margin-bottom: 20px;
}

.article-body-content h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-deep-pine);
  margin-top: 36px;
  margin-bottom: 14px;
  font-weight: 700;
}

.article-body-content ul,
.article-body-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-body-content li {
  margin-bottom: 10px;
}

.article-body-content blockquote {
  background: var(--color-sandstone-light);
  border-left: 4px solid var(--color-olive-clay);
  padding: 24px 28px;
  margin: 32px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-deep-pine);
  line-height: 1.6;
}

.article-nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}

/* Admin Tabs Styling */
.admin-tab-nav {
  display: flex;
  gap: 12px;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 28px;
}

.admin-tab-btn {
  background: none;
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark-bark-muted);
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.admin-tab-btn:hover {
  color: var(--color-deep-pine);
}

.admin-tab-btn.active {
  color: var(--color-deep-pine);
}

.admin-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--color-deep-pine);
}

.admin-tab-pane {
  display: none;
}

.admin-tab-pane.active {
  display: block;
}

.why-choose-heading {
  text-align: center;
}

.why-choose-small {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: #76671a;
  margin-bottom: 6px;
}

.why-choose-big {
  display: block;
  font-size: 2.8rem;
  font-weight: 700;
  color: #20383C;
}

.leader-card-featured {
  flex-basis: 90%;
}

/* Support Page Styles */
.support-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
}

.support-card {
  flex: 0 1 260px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.support-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-olive-clay);
}

.support-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.support-title {
  font-size: 1.125rem;
  color: var(--color-deep-pine);
  margin-bottom: 10px;
}

.support-desc {
  font-size: 0.92rem;
  color: var(--color-dark-bark-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.support-link {
  display: inline-block;
  font-weight: 700;
  color: var(--color-olive-clay-dark);
  text-decoration: none;
  border-bottom: 2px solid var(--color-olive-clay);
  padding-bottom: 2px;
  transition: color var(--transition-normal);
  word-break: break-all;
}

.support-link:hover {
  color: var(--color-deep-pine);
}

.faq-list {
  max-width: 800px;
  margin: 48px auto 0;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 18px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  font-size: 1.1rem;
  color: var(--color-deep-pine);
  margin-bottom: 8px;
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--color-dark-bark-muted);
  line-height: 1.6;
}

/* ==========================================================================
   PREMIUM MOTION DESIGN & ANIMATION SYSTEM
   ========================================================================== */

/* 1. Scroll-Reveal Classes — only hidden when JS animations engine is active */
html.js-animations .reveal {
  opacity: 0;
  transform: translateY(36px) scale(0.97);
  transition: opacity 0.8s var(--ease-out-expo),
              transform 0.8s var(--ease-out-expo);
  will-change: opacity, transform;
}

.reveal.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

.reveal-heading {
  overflow: hidden;
}

html.js-animations .reveal-heading > * {
  display: block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.85s var(--ease-out-expo),
              opacity 0.85s var(--ease-out-expo);
}

.reveal-heading.is-revealed > * {
  transform: translateY(0) !important;
  opacity: 1 !important;
}

/* 2. Staggered Grids & Items — only hidden when JS animations engine is active */
html.js-animations .stagger-item {
  opacity: 0;
  transform: translateY(36px) scale(0.97);
  transition: opacity 0.7s var(--ease-out-expo),
              transform 0.7s var(--ease-out-expo);
  transition-delay: calc(var(--stagger-index, 0) * 110ms);
  will-change: opacity, transform;
}

.stagger-container.is-revealed .stagger-item,
.stagger-item.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

/* 3. Card Micro-Interactions: Spring Lift & Shadow */
.feature-box,
.product-card,
.value-flow-card,
.leader-card,
.cert-card,
.blog-card,
.support-card,
.gallery-item {
  transition: transform 0.4s var(--ease-spring),
              box-shadow 0.4s var(--ease-out-expo),
              border-color 0.3s ease !important;
}

.feature-box:hover,
.product-card:hover,
.value-flow-card:hover,
.leader-card:hover,
.cert-card:hover,
.blog-card:hover,
.support-card:hover {
  transform: translateY(-8px) scale(1.025) !important;
  box-shadow: 0 20px 38px -10px rgba(32, 56, 60, 0.22), 0 8px 16px -4px rgba(0, 0, 0, 0.08) !important;
}

/* Card inner icon tilt and zoom */
.feature-box:hover .feature-icon-circle svg,
.value-flow-card:hover svg,
.support-card:hover svg {
  transform: scale(1.14) rotate(5deg);
  transition: transform 0.35s var(--ease-spring);
}

.feature-icon-circle svg,
.value-flow-card svg,
.support-card svg {
  transition: transform 0.35s var(--ease-out-expo);
}

/* 4. Animated Link Underline */
.nav-menu > li > a.nav-link:not(.nav-cta-btn),
.footer-col ul li a {
  position: relative;
  display: inline-block;
}

.nav-menu > li > a.nav-link:not(.nav-cta-btn)::after,
.footer-col ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-olive-clay);
  transition: width 0.3s var(--ease-out-expo);
}

.nav-menu > li > a.nav-link:not(.nav-cta-btn):hover::after,
.nav-menu > li > a.nav-link.active::after,
.footer-col ul li a:hover::after {
  width: 100%;
}

/* 5. Stat Counter Number Highlight */
.stat-number {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  transition: transform 0.3s var(--ease-spring);
}

.stat-item:hover .stat-number {
  transform: scale(1.06);
}

/* 6. Parallax Container */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: background-position 0.1s ease-out;
}

/* 7. Accessibility - Reduced Motion Fallback */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  body,
  html.js-animations body,
  .hero-bg-layer,
  .reveal,
  html.js-animations .reveal,
  .reveal-heading > *,
  html.js-animations .reveal-heading > *,
  .stagger-item,
  html.js-animations .stagger-item,
  .hero-section .hero-tag,
  .hero-section .hero-title,
  .hero-section .hero-subtitle,
  .hero-section .hero-cta-group {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}