@charset "UTF-8";

:root {
  --green: #1f7a3a;
  --green-hover: #17622d;
  --dark: #14371f;
  --light: #f5faf3;
  --yellow: #f5b93f;
  --orange: #ee7b31;
  --text: #26352a;
  --muted: #66756a;
  --white: #ffffff;
  --border: #edf2ea;
  --shadow-sm: 0 4px 12px rgba(20, 55, 31, 0.05);
  --shadow: 0 18px 45px rgba(20, 55, 31, 0.12);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 34px;
  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.container {
  width: min(1180px, 92%);
  margin: auto;
}

/* Topbar */
.topbar {
  background: var(--dark);
  color: #e8f5e9;
  font-size: 14px;
  padding: 10px 0;
  font-weight: 500;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar a {
  color: #e8f5e9;
}

.topbar a:hover {
  color: var(--yellow);
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition), background var(--transition);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--dark);
  font-size: 24px;
  letter-spacing: -0.5px;
}

.logo img {
  height: 110px;
  width: auto;
  display: block;
  margin: -15px 0;
}

.menu {
  display: flex;
  gap: 28px;
  align-items: center;
  font-weight: 600;
  color: #314136;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-socials {
  display: flex;
  gap: 16px;
  align-items: center;
  border-right: 1px solid var(--border);
  padding-right: 24px;
}


.header-socials a {
  color: var(--muted);
  transition: var(--transition);
  display: flex;
}

.header-socials a[aria-label="Facebook"] { color: #1877F2; }
.header-socials a[aria-label="Instagram"] { color: #E4405F; }
.header-socials a[aria-label="YouTube"] { color: #FF0000; }
.header-socials a[aria-label="LinkedIn"] { color: #0A66C2; }

.header-socials a:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--dark);
}

.menu a {
  position: relative;
}

.menu a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width var(--transition);
}

.menu a:not(.btn):hover::after,
.menu a.active:not(.btn)::after {
  width: 100%;
}

.menu a:hover {
  color: var(--green);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(31, 122, 58, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--green-hover);
  box-shadow: 0 12px 24px rgba(31, 122, 58, 0.3);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--green);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  color: var(--green-hover);
}

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

.btn-outline:hover {
  background: var(--green);
  color: var(--white);
}

/* Connect button in the nav gets a special green style */
.menu a.btn-outline {
  border-color: var(--green);
  color: var(--green);
}

.menu a.btn-outline:hover {
  background: var(--green);
  color: var(--white);
}

/* Active connect page - full green */
.menu a.btn-primary.active,
.menu a.btn-primary {
  background: var(--green);
  color: var(--white);
}

/* Typography & General Sections */
section {
  padding: 80px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-end;
  margin-bottom: 40px;
}

.section-head.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-inline: auto;
  max-width: 700px;
}

.section-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -1px;
}

.section-head p {
  color: var(--muted);
  max-width: 520px;
  font-size: 18px;
}

.section-head.center p {
  max-width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eaf6e7;
  color: var(--green);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top left, #dff3d7, transparent 40%), linear-gradient(135deg, #f7fff4 0%, #fff7e6 100%);
  padding: 90px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.1;
  color: var(--dark);
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero .lead {
  font-size: 20px;
  color: var(--muted);
  max-width: 660px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.trust-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--dark);
  font-weight: 700;
  font-size: 15px;
  margin-top: 8px;
}

.trust-row span {
  background: var(--white);
  padding: 10px 18px;
  border-radius: 30px;
  border: 1.5px solid rgba(31, 122, 58, 0.15);
  box-shadow: 0 4px 15px rgba(31, 122, 58, 0.04);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.trust-row span:hover {
  transform: translateY(-3px);
  border-color: var(--green);
  box-shadow: 0 8px 24px rgba(31, 122, 58, 0.12);
}

.trust-row .trust-icon-wrapper {
  background: rgba(31, 122, 58, 0.12);
  color: var(--green);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 900;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
  transform: rotate(2deg);
  transition: transform var(--transition);
}

.hero-card:hover {
  transform: rotate(0deg);
}

.farm-visual {
  height: 480px;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(31, 122, 58, 0.8), rgba(245, 185, 63, 0.6)), url('images/hero-bg.webp') center/cover;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  color: var(--white);
  overflow: hidden;
}

.visual-box {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 24px;
  border-radius: 24px;
  width: 100%;
}

.visual-box h3 {
  font-size: 32px;
  margin-bottom: 8px;
  line-height: 1.2;
}

/* Category Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  height: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.card .icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: #eef8ea;
  display: grid;
  place-items: center;
  font-size: 32px;
  margin-bottom: 24px;
  transition: transform var(--transition);
}

.card:hover .icon {
  transform: scale(1.1);
  background: var(--green);
  color: var(--white);
}

.card h3 {
  color: var(--dark);
  margin-bottom: 12px;
  font-size: 22px;
}

.card p {
  color: var(--muted);
  font-size: 16px;
}

.light {
  background: var(--light);
}

/* Crop Grid */
.crop-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.crop {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  font-weight: 800;
  color: var(--dark);
  box-shadow: 0 10px 25px rgba(20, 55, 31, 0.06);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.crop:hover {
  transform: translateY(-5px);
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.crop .icon {
  font-size: 36px;
  margin-bottom: 12px;
  display: block;
}

/* Split Section */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.problem {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 50px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.problem::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: var(--green);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: 0;
}

.problem>* {
  position: relative;
  z-index: 1;
}

.problem h2 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.2;
  margin-bottom: 20px;
}

.problem p {
  color: #d8eadc;
  margin-bottom: 30px;
  font-size: 18px;
}

.steps {
  display: grid;
  gap: 20px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  border: 1px solid transparent;
}

.step:hover {
  transform: translateX(10px);
  border-color: var(--yellow);
  box-shadow: var(--shadow);
}

.num {
  min-width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--yellow);
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--dark);
  font-size: 20px;
}

.step h3 {
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 16px;
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.product-img {
  height: 240px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f5e9, #fff2cc);
  display: grid;
  place-items: center;
  font-size: 70px;
  position: relative;
}

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

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

.product-body h3 {
  color: var(--dark);
  margin-bottom: 12px;
  font-size: 24px;
}

.product-body p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.video-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.test-grid {
    display: flex;
    overflow-x: auto;
    gap: 24px;
    padding: 20px 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    /* Snap to each card cleanly - no half-card transitions */
    scroll-snap-type: x mandatory;
}
.test-grid::-webkit-scrollbar {
    height: 6px;
}
.test-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.test-grid::-webkit-scrollbar-thumb {
    background: var(--green);
    border-radius: 4px;
}

.yt-short {
  flex: 0 0 300px;
  aspect-ratio: 9/16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--dark);
  transition: transform var(--transition);
  /* Snap point: always snap to the start of each card */
  scroll-snap-align: start;
}

.yt-short:hover {
  transform: translateY(-5px);
}

.yt-short iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.slider-btn {
  background: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--green);
  z-index: 10;
  transition: all var(--transition);
  flex-shrink: 0;
}

.slider-btn:hover {
  background: var(--green);
  color: white;
  transform: scale(1.1);
}

.slider-btn:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .slider-btn {
    display: none;
  }
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--green), var(--dark));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+CjxjaXJjbGUgY3g9IjIiIGN5PSIyIiByPSIyIiBmaWxsPSJyZ2JhKDI1NSwgMjU1LCAyNTUsIDAuMSkiLz4KPC9zdmc+') repeat;
  opacity: 0.5;
}

.cta>* {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.15;
  margin-bottom: 16px;
}

.cta p {
  color: #dff1e2;
  font-size: 18px;
}

/* Footer */
footer {
  background: #0d2414;
  color: #c9dacd;
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

footer h3 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 24px;
}

footer h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 18px;
}

footer p {
  margin-bottom: 20px;
  line-height: 1.8;
}

footer ul {
  list-style: none;
}

footer li {
  margin-bottom: 12px;
}

footer a {
  color: #c9dacd;
  transition: color var(--transition);
}

footer a:hover {
  color: var(--yellow);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  color: #aab9ad;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--yellow);
  color: var(--dark);
  transform: translateY(-3px);
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  background: #25d366;
  color: var(--white);
  border-radius: 999px;
  padding: 16px 24px;
  font-weight: 800;
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.35);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform var(--transition), box-shadow var(--transition);
  font-size: 16px;
}

.whatsapp-float:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(37, 211, 102, 0.45);
  color: var(--white);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Page Headers */
.page-header {
  background: var(--dark);
  color: var(--white);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(31, 122, 58, 0.5), transparent 70%);
}

.page-header h1 {
  font-size: clamp(40px, 5vw, 56px);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.page-header p {
  font-size: 20px;
  color: #d8eadc;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Content Blocks */
.content-block {
  font-size: 18px;
  color: var(--muted);
  max-width: 800px;
}

.content-block h3 {
  color: var(--dark);
  font-size: 28px;
  margin: 40px 0 20px;
}

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

.content-block ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

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

/* Forms */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid #d1dbd4;
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  transition: var(--transition);
  background: #fcfdfc;
}

.form-control:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(31, 122, 58, 0.1);
  background: var(--white);
}

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

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

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

.info-icon {
  width: 54px;
  height: 54px;
  background: #eaf6e7;
  color: var(--green);
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 8px;
}

.info-text p,
.info-text a {
  color: var(--muted);
  font-size: 16px;
}

/* Job Cards */
.job-cards {
  display: grid;
  gap: 24px;
}

.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 30px;
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.job-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
}

.job-info h3 {
  font-size: 24px;
  color: var(--dark);
  margin-bottom: 8px;
}

.job-meta {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 15px;
}

.job-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* =====================================
   RESPONSIVE — TABLET (max 1024px)
===================================== */
@media (max-width: 1024px) {

  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .cta > div:last-child {
    justify-content: center;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .crop-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .farm-visual {
    height: 400px;
  }

  /* Team grid on tablet */
  .cards[style*="repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* =====================================
   RESPONSIVE — MOBILE (max 768px)
===================================== */
@media (max-width: 768px) {

  /* --- Navigation --- */
  .logo {
    order: 1;
  }

  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    gap: 12px;
    z-index: 200;
    /* Removed border-top to eliminate the green line */
  }

  .nav-right {
    display: flex;
    order: 2;
    gap: 12px;
    margin-right: 0;
    align-items: center;
  }

  .hamburger {
    display: block;
    order: 3;
    margin-left: 8px;
  }

  .header-socials {
    padding-right: 0;
    border-right: none;
    gap: 8px;
  }

  .nav-right .btn {
    display: none; /* Hide button on very small header, keep socials */
  }


  .menu.active {
    display: flex;
  }


  .menu a {
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  .menu a.btn {
    width: 100%;
    text-align: center;
  }

  /* --- Logo --- */
  .logo img {
    height: 70px;
    margin: -8px 0;
  }

  /* --- Topbar --- */
  .topbar {
    font-size: 12px;
    padding: 8px 0;
  }

  .topbar-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
  }

  .topbar-address {
    display: block;
    font-size: 11px;
    opacity: 0.85;
    white-space: normal;      /* allow wrapping to 2 lines */
    word-break: break-word;
    max-width: 95vw;
    line-height: 1.4;
  }

  .topbar-contact {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 4px;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
    white-space: nowrap;
  }

  .topbar-contact a {
    display: inline;
    white-space: nowrap;
  }

  /* --- Sections --- */
  section {
    padding: 48px 0;
  }

  .page-header {
    padding: 48px 0 !important;
  }

  .page-header h1 {
    font-size: clamp(28px, 7vw, 40px);
  }

  /* --- Hero --- */
  .hero {
    padding: 50px 0 40px;
    text-align: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero h1 {
    font-size: clamp(32px, 8vw, 48px);
  }

  .hero .lead {
    font-size: 17px;
    margin: 0 auto 28px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }

  .farm-visual {
    height: auto;
    min-height: 380px;
    border-radius: var(--radius);
    padding: 24px;
  }

  .visual-box {
    padding: 20px;
    border-radius: 20px;
  }

  .visual-box h3 {
    font-size: 22px;
    margin-bottom: 6px;
  }

  .visual-box p {
    font-size: 14px;
    line-height: 1.5;
  }

  .trust-bar {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }

  /* --- Cards & Grids --- */
  .cards {
    grid-template-columns: 1fr !important;
  }

  .product-grid {
    grid-template-columns: 1fr !important;
  }

  .crop-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* --- Section Heads --- */
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .section-head h2 {
    font-size: clamp(24px, 6vw, 36px);
  }

  .section-head p {
    font-size: 16px;
  }

  /* --- Split Layouts --- */
  .split {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Reverse order on mobile so text appears first on split layouts */
  .split > div:first-child img {
    border-radius: var(--radius);
  }

  /* --- Advisory Section --- */
  .problem {
    padding: 28px !important;
  }

  .problem h2 {
    font-size: clamp(22px, 5vw, 32px) !important;
  }

  .steps {
    gap: 16px;
  }

  /* --- Values list --- */
  .values-list .value-item {
    gap: 14px !important;
    margin-bottom: 18px !important;
  }

  .values-list h3 {
    font-size: 17px !important;
  }

  .values-list p {
    font-size: 14px !important;
  }

  /* --- Video Slider --- */
  .video-slider-wrapper {
    gap: 8px;
  }

  .slider-btn {
    display: none;
  }

  .yt-short {
    flex: 0 0 220px;
  }

  /* --- CTA --- */
  .cta {
    padding: 36px 24px !important;
    grid-template-columns: 1fr !important;
    gap: 24px;
    text-align: center;
  }

  .cta h2 {
    font-size: clamp(22px, 5vw, 32px) !important;
  }

  .cta > div:last-child {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .cta .btn {
    width: 100%;
    max-width: 280px;
  }

  /* --- Contact Grid --- */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  .contact-info-card {
    padding: 24px;
  }

  /* --- Footer --- */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  .copy {
    flex-direction: column !important;
    gap: 8px;
    text-align: center;
  }

  /* --- Job Cards --- */
  .job-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  /* --- Team Section --- */
  .cards[style*="repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* --- WhatsApp Float Button --- */
  .whatsapp-float {
    padding: 12px 16px;
    font-size: 14px;
    bottom: 16px;
    left: 16px;
  }

  /* --- General Buttons --- */
  .btn {
    font-size: 15px;
    padding: 12px 20px;
  }

  .nav-right .btn {
    display: inline-flex; /* Show back on medium mobile if space permits */
    padding: 10px 16px;
    font-size: 13px;
  }
}


/* =====================================
   RESPONSIVE — SMALL MOBILE (max 480px)
===================================== */
/* Seasonal Solutions Mobile Card Fix */
/* Seasonal Solutions Mobile Card Fix */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 0 16px; /* Inset for card feel */
  }

  .product {
    background: var(--white) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--border) !important;
    margin-bottom: 8px;
  }

  .product-img {
    height: 260px !important;
    overflow: hidden !important;
  }

  .product-body {
    padding: 24px !important;
    text-align: center;
  }
  
  .product-body h3 {
    font-size: 20px !important;
    margin-bottom: 12px !important;
  }
  
  .product-body p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
}
@media (max-width: 480px) {

  .crop-grid {
    grid-template-columns: 1fr !important;
  }

  .hero h1 {
    font-size: clamp(28px, 9vw, 40px);
  }

  .hero .lead {
    font-size: 15px;
  }

  .yt-short {
    flex: 0 0 85vw;
  }

  /* Team grid: 1 column on very small screens */
  .cards[style*="repeat(4"] {
    grid-template-columns: 1fr !important;
  }

  .cta {
    padding: 28px 16px !important;
  }

  .section-head h2 {
    font-size: clamp(22px, 7vw, 30px);
  }

  /* Topbar full hide on tiny screens */
  .topbar-contact a {
    display: block;
  }
}

/* --- Updated Responsive & UI Fixes --- */

/* Topbar Styling */
.topbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.topbar-address {
    font-size: 0.9em;
    text-align: left;
}
/* Zoho Recruit Customization */
.zoho-embed-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 768px) {
  .zoho-embed-wrapper {
    padding: 16px 12px;
    border-radius: var(--radius);
    overflow-x: hidden;
  }
}

#rec_job_listing_div {
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 6px;
    width: 100%;
    max-width: 100%;
}

#rec_job_listing_div::-webkit-scrollbar {
    width: 6px;
}

#rec_job_listing_div::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#rec_job_listing_div::-webkit-scrollbar-thumb {
    background: var(--green);
    border-radius: 10px;
}

/* Forcing Zoho Search Button to Green */
.rec-search-button, 
#rec_job_listing_div button,
#rec_job_listing_div .zcr-search-button,
#rec_job_listing_div input[type="button"] {
    background-color: var(--green) !important;
    border-color: var(--green) !important;
    color: white !important;
    border-radius: 6px !important;
    transition: var(--transition) !important;
}

#rec_job_listing_div button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Mobile Responsiveness Enhancements */
@media (max-width: 768px) {
    .topbar-container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    .topbar-address {
        text-align: center;
        max-width: 100%;
    }
    .topbar-contact {
        white-space: normal;
    }
    
    .product-grid, .team-grid, .contact-grid {
        grid-template-columns: 1fr !important;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    header .container {
        flex-wrap: nowrap;
    }

    .nav-right .btn {
        display: none;
    }

    .header-socials {
        display: flex;
        gap: 8px;
        padding-right: 0;
        border-right: none;
    }

    .header-socials svg {
        width: 16px;
        height: 16px;
    }

    .nav-right {
        gap: 8px;
    }

    .logo img {
        height: 80px;
        margin: -10px 0;
    }

    nav {
        padding: 10px 0;
    }
}

.footer-numbers { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.footer-numbers span { color: var(--muted); }

/* Zoho Embed Mobile Overrides */
@media (max-width: 768px) {
  /* Force Zoho embed elements to fit mobile width */
  .embed_jobs_head,
  .embed_jobs_head2,
  .embed_jobs_head3,
  .embed_job_item,
  .embed_jobs_head .zcr-jobs-list,
  .embed_jobs_head .zcr-filter-section,
  .embed_jobs_head .zcr-search-section {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  /* Force job listing to stack vertically */
  .embed_jobs_head .zcr-jobs-layout {
    flex-direction: column !important;
    width: 100% !important;
  }

  /* Hide sidebar filter on mobile - show jobs full width */
  .embed_jobs_head .zcr-filter-section {
    width: 100% !important;
    margin-bottom: 16px !important;
  }

  /* Job title wrapping */
  .embed_jobs_head .zcr-job-title,
  .embed_jobs_head .zcr-job-desc,
  .embed_jobs_head a {
    word-break: break-word !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Search button full width on mobile */
  .embed_jobs_head button[type="submit"],
  .embed_jobs_head .zcr-search-button {
    width: 100% !important;
    margin-top: 8px !important;
  }

  /* Input fields full width */
  .embed_jobs_head input[type="text"],
  .embed_jobs_head input[type="search"] {
    width: 100% !important;
    margin-bottom: 8px !important;
  }
}
/* Farmer Reviews */
.farmer-reviews {
    background: var(--white);
}

.review-slider-wrapper {
    overflow: hidden;
    margin-top: 40px;
    padding: 20px 0;
    position: relative;
    max-width: 100%;
    box-sizing: border-box;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.review-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll-reviews 40s linear infinite;
    padding-left: 30px;
}

@keyframes scroll-reviews {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); }
}

.review-track:hover {
    animation-play-state: paused;
}


.review-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    transition: var(--transition);
    width: 450px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border-color: var(--green);
}

.review-header {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    margin-bottom: 24px;
}

.farmer-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #e0e7e1;
    flex-shrink: 0;
    overflow: hidden;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-sm);
}

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

.farmer-info h3 {
    font-size: 20px;
    margin: 0;
    color: var(--dark);
    line-height: 1.3;
    text-align: left;
}

.village {
    display: block;
    font-size: 14px;
    color: var(--green);
    font-weight: 600;
    margin-top: 4px;
}

.farmer-address {
    font-size: 14px;
    color: var(--muted);
    text-align: left;
    margin: 0;
    line-height: 1.4;
}

.testimony {
    font-style: italic !important;
    text-align: left;
    color: var(--text);
    font-size: 17px;
    line-height: 1.65;
    position: relative;
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    -ms-hyphens: none !important;
    hyphens: none !important;
}

.testimony::before {
    content: '"';
    font-size: 40px;
    color: var(--green);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -15px;
    font-family: serif;
}

/* Responsive Overrides for new elements */
@media (max-width: 1024px) {
    .review-track {
        animation-duration: 30s;
    }
    .review-card {
        width: 350px;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .review-card {
        width: 300px;
        padding: 20px;
    }
    
    .product-img {
        height: 220px !important;
        overflow: hidden !important;
    }

    .review-card {
        padding: 24px;
        width: 280px;
    }
    
    .review-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .farmer-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .testimony {
        text-align: left;
        font-style: italic !important;
        font-size: 14px !important;
        line-height: 1.55 !important;
        letter-spacing: -0.01em !important;
        word-spacing: -0.01em !important;
        -webkit-hyphens: none !important;
        -moz-hyphens: none !important;
        -ms-hyphens: none !important;
        hyphens: none !important;
    }
}


/* --- Team Slider --- */
.team-slider-wrapper {
  overflow: hidden;
  padding: 40px 0;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.team-track {
  display: flex;
  width: max-content;
  animation: slide-team 30s linear infinite;
  gap: 30px;
  padding-left: 30px;
}

.team-track:hover {
  animation-play-state: paused;
}

.team-card {
  width: 280px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  border: 1.5px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  border-color: var(--green);
}

.member-img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  background: #f8f8f8;
  border: 1px solid var(--border);
}

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

.team-card h3 {
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 4px;
}

.member-role {
  color: var(--green);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes slide-team {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-280px * 4 - 30px * 4)); }
}

@media (max-width: 768px) {
  .team-card {
    width: 240px;
  }
  
  @keyframes slide-team {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-240px * 4 - 30px * 4)); }
  }
}

/* Why Trust Section styling */
.why-trust-section {
  padding: 80px 0;
  background: radial-gradient(circle at 10% 20%, rgba(31, 122, 58, 0.03) 0%, transparent 80%), var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.why-trust-section .section-desc {
  max-width: 600px;
  margin: 10px auto 0;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}

.why-trust-section .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.why-trust-section .feature-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.01);
}

.why-trust-section .feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 4px; height: 100%;
  background: var(--green);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}

.why-trust-section .feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(31, 122, 58, 0.08);
  border-color: rgba(31, 122, 58, 0.15);
}

.why-trust-section .feature-card:hover::before {
  transform: scaleY(1);
}

.why-trust-section .feature-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(31, 122, 58, 0.08);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.why-trust-section .feature-card:hover .feature-icon-box {
  background: var(--green);
  color: var(--white);
  transform: rotate(5deg) scale(1.05);
}

.why-trust-section .feature-card h3 {
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 14px;
  font-weight: 700;
}

.why-trust-section .feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* --- Zoho SalesIQ Theme Color Override --- */
/* Forces Zoho chat widget button, headers, and backgrounds to use Krishidhan's green brand colors */
#zsiq_float,
.zsiq_flt_rel,
.zsiq_float_icon,
[id^="zsiq_float"],
.zsiq-theme-bg-color,
.zsiq_theme_bg,
.zsiq_floatmain,
.zsiq_theme1,
.zsiq_chatbtn,
[id^="zsiq_badge"] {
    background-color: #1f7a3a !important;
    background: linear-gradient(135deg, #1f7a3a 0%, #17622d 100%) !important;
}

#zsiq_float:hover,
.zsiq_flt_rel:hover,
[id^="zsiq_float"]:hover,
.zsiq_floatmain:hover,
.zsiq_chatbtn:hover {
    background-color: #17622d !important;
    background: linear-gradient(135deg, #17622d 0%, #14371f 100%) !important;
    transform: scale(1.05) !important;
}

.zsiq-theme-color,
.zsiq_theme_text,
.zsiq_flt_usertxt {
    color: #1f7a3a !important;
}

.zsiq-theme-border,
.zsiq_theme_border {
    border-color: #1f7a3a !important;
}

/* Testimony hyphens fix — no auto-hyphenation across all browsers */
@media (max-width: 768px) {
  .testimony {
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    -ms-hyphens: none !important;
    hyphens: none !important;
  }
}

/* Zoho SalesIQ Widget Positioning */
#zsiq_float {
    z-index: 9999999 !important;
    left: auto !important;
}

/* Desktop: Push chat window up and put 'X' below it */
@media (min-width: 769px) {
    #zsiq_float {
        bottom: 25px !important;
        right: 30px !important;
    }
    #zsiq_maintick, 
    [id^="zsiq_maintick"] {
        bottom: 100px !important;
        right: 30px !important;
        left: auto !important;
    }
}

/* Mobile: Lift float button so it doesn't block footer */
@media (max-width: 768px) {
    #zsiq_float {
        bottom: 80px !important;
        right: 15px !important;
    }
}

/* Force the chat window to the right on Desktop so it doesn't overflow the left edge */
@media (min-width: 769px) {
    #zsiq_maintick,
    [id^="zsiq_maintick"] {
        left: auto !important;
        right: 20px !important;
    }
}

