:root {
  /* Primitive Color Tokens */
  --color-white: rgba(255, 255, 255, 1);
  --color-black: rgba(0, 0, 0, 1);
  --color-cream-50: rgba(245, 255, 248, 1);
  /* Very pale mint green */
  --color-cream-100: rgba(235, 255, 240, 1);
  /* Soft mint green white */
  --color-gray-200: rgba(230, 245, 235, 1);
  /* Light subtle green tint */
  --color-gray-300: rgba(175, 210, 180, 1);
  --color-gray-400: rgba(140, 190, 150, 1);
  --color-slate-500: rgba(100, 140, 110, 1);
  --color-brown-600: rgba(90, 130, 95, 1);
  /* Muted light green-brown */
  --color-charcoal-700: rgb(253 253 253);
  --color-charcoal-800: #4F8234;
  --color-slate-900: rgba(15, 35, 20, 1);
  /* Dark green for text */

  /* Brand Green Shades (light to dark, lighter) */
  --color-teal-300: rgba(190, 240, 200, 1);
  --color-teal-400: rgba(160, 225, 170, 1);
  --color-teal-500: rgba(120, 190, 120, 1);
  --color-teal-600: rgba(90, 160, 90, 1);
  --color-teal-700: rgba(60, 130, 60, 1);
  --color-teal-800: rgba(40, 100, 40, 1);

  /* Supporting color accents */
  --color-red-400: rgba(245, 90, 90, 1);
  --color-red-500: rgba(185, 40, 40, 1);
  --color-orange-400: rgba(230, 140, 80, 1);
  --color-orange-500: rgba(170, 70, 40, 1);

  /* RGB versions for opacity */
  --color-brown-600-rgb: 90, 130, 95;
  --color-teal-500-rgb: 120, 190, 120;
  --color-slate-900-rgb: 15, 35, 20;
  --color-slate-500-rgb: 100, 140, 110;
  --color-red-500-rgb: 185, 40, 40;
  --color-red-400-rgb: 245, 90, 90;
  --color-orange-500-rgb: 170, 70, 40;
  --color-orange-400-rgb: 230, 140, 80;

  /* Background color tokens (Light Mode) */
  --color-bg-1: rgba(255, 255, 255, 1);
  /* Pure white background */
  --color-bg-2: rgba(245, 255, 248, 1);
  /* Very pale mint green surface */
  --color-bg-3: rgba(255, 255, 255, 0.15);
  /* Soft light green highlight */
  --color-bg-4: rgba(245, 90, 90, 0.1);
  --color-bg-5: rgba(145, 50, 220, 0.1);
  --color-bg-6: rgba(230, 140, 80, 0.1);
  --color-bg-7: rgba(235, 65, 140, 0.1);
  --color-bg-8: rgba(35, 165, 210, 0.1);

  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-bg-1);
  --color-surface: var(--color-bg-2);
  --color-text: var(--color-slate-900);
  --color-text-secondary: rgba(var(--color-slate-500-rgb), 0.6);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.15);
  --color-btn-primary-text: var(--color-white);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.08);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);
  --color-select-caret: rgba(var(--color-slate-900-rgb), 0.8);

  /* Common style patterns */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2378be78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* Typography */
  --font-family-base: "FKGroteskNeue", "Geist", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-mono: "Berkeley Mono", ui-monospace, SFMono-Regular, Menlo,
    Monaco, Consolas, monospace;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 24px;
  --font-size-4xl: 30px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 550;
  --font-weight-bold: 600;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --letter-spacing-tight: -0.01em;

  /* Spacing */
  --space-0: 0;
  --space-1: 1px;
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;

  /* Text Sizes */
  --text-20: 1.58rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);

  /* Animation */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --scanner-z-index: 9999;
}

/* For WebKit browsers (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--krishnaagri-background-color);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #dfe8c2;
  border-radius: 10px;
  border: 1px solid #f9fbe7;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #c3d19c;
}

/* For Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--krishnaagri-brand-color-dark) #f9fbe7;
}

/* Dark mode colors */
@media (prefers-color-scheme: dark) {
  :root {
    /* RGB versions for opacity control (Dark Mode) */
    --color-gray-400-rgb: 119, 124, 124;
    --color-teal-300-rgb: 50, 184, 198;
    --color-gray-300-rgb: 167, 169, 169;
    --color-gray-200-rgb: 245, 245, 245;

    /* Background color tokens (Dark Mode) */
    --color-bg-1: rgba(29, 78, 216, 0.15);
    /* Dark blue */
    --color-bg-2: rgba(180, 83, 9, 0.15);
    /* Dark yellow */
    --color-bg-3: rgba(21, 128, 61, 0.15);
    /* Dark green */
    --color-bg-4: rgba(185, 28, 28, 0.15);
    /* Dark red */
    --color-bg-5: rgba(107, 33, 168, 0.15);
    /* Dark purple */
    --color-bg-6: rgba(194, 65, 12, 0.15);
    /* Dark orange */
    --color-bg-7: rgba(190, 24, 93, 0.15);
    /* Dark pink */
    --color-bg-8: rgba(8, 145, 178, 0.15);
    /* Dark cyan */

    /* Semantic Color Tokens (Dark Mode) */
    --color-background: var(--color-charcoal-700);
    --color-surface: var(--color-charcoal-800);
    --color-text: var(--color-gray-200);
    --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
    --color-primary: var(--color-teal-300);
    --color-primary-hover: var(--color-teal-400);
    --color-primary-active: var(--color-teal-800);
    --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
    --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
    --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
    --color-border: rgba(var(--color-gray-400-rgb), 0.3);
    --color-error: var(--color-red-400);
    --color-success: var(--color-teal-300);
    --color-warning: var(--color-orange-400);
    --color-info: var(--color-gray-300);
    --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
    --color-btn-primary-text: var(--color-slate-900);
    --color-card-border: rgba(var(--color-gray-400-rgb), 0.2);
    --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
    --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    --button-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

    /* Common style patterns - updated for dark mode */
    --focus-ring: 0 0 0 3px var(--color-focus-ring);
    --focus-outline: 2px solid var(--color-primary);
    --status-bg-opacity: 0.15;
    --status-border-opacity: 0.25;
    --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

    /* RGB versions for dark mode */
    --color-success-rgb: var(--color-teal-300-rgb);
    --color-error-rgb: var(--color-red-400-rgb);
    --color-warning-rgb: var(--color-orange-400-rgb);
    --color-info-rgb: var(--color-gray-300-rgb);

    /* Brand Colors */
    --krishnaagri-brand-color: #E91E63;
    --krishnaagri-brand-color-light: #F48FB1;
    --krishnaagri-brand-color-dark: #C2185B;

    --krishnaagri-accent-color: #2E7D32;
    --krishnaagri-accent-color-light: #66BB6A;
    --krishnaagri-accent-color-dark: #1B5E20;

    --krishnaagri-text-color: #212121;
    --krishnaagri-background-color: #F9F9F9;
    --krishnaagri-white-color: #FFFFFF;
    --krishnaagri-gray-color: #9E9E9E;
  }
}

/* Data attribute for manual theme switching */
[data-color-scheme="dark"] {
  /* RGB versions for opacity control (dark mode) */
  --color-gray-400-rgb: 119, 124, 124;
  --color-teal-300-rgb: 50, 184, 198;
  --color-gray-300-rgb: 167, 169, 169;
  --color-gray-200-rgb: 245, 245, 245;

  /* Colorful background palette - Dark Mode */
  --color-bg-1: rgba(29, 78, 216, 0.15);
  /* Dark blue */
  --color-bg-2: rgba(180, 83, 9, 0.15);
  /* Dark yellow */
  --color-bg-3: rgba(21, 128, 61, 0.15);
  /* Dark green */
  --color-bg-4: rgba(185, 28, 28, 0.15);
  /* Dark red */
  --color-bg-5: rgba(107, 33, 168, 0.15);
  /* Dark purple */
  --color-bg-6: rgba(194, 65, 12, 0.15);
  /* Dark orange */
  --color-bg-7: rgba(190, 24, 93, 0.15);
  /* Dark pink */
  --color-bg-8: rgba(8, 145, 178, 0.15);
  /* Dark cyan */

  /* Semantic Color Tokens (Dark Mode) */
  --color-background: var(--color-charcoal-700);
  --color-surface: var(--color-charcoal-800);
  --color-text: var(--color-gray-200);
  --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
  --color-primary: var(--color-teal-300);
  --color-primary-hover: var(--color-teal-400);
  --color-primary-active: var(--color-teal-800);
  --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
  --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
  --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
  --color-border: rgba(var(--color-gray-400-rgb), 0.3);
  --color-error: var(--color-red-400);
  --color-success: var(--color-teal-300);
  --color-warning: var(--color-orange-400);
  --color-info: var(--color-gray-300);
  --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
  --color-btn-primary-text: var(--color-slate-900);
  --color-card-border: rgba(var(--color-gray-400-rgb), 0.15);
  --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
  --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

  /* Common style patterns - updated for dark mode */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for dark mode */
  --color-success-rgb: var(--color-teal-300-rgb);
  --color-error-rgb: var(--color-red-400-rgb);
  --color-warning-rgb: var(--color-orange-400-rgb);
  --color-info-rgb: var(--color-gray-300-rgb);
}

[data-color-scheme="light"] {
  /* RGB versions for opacity control (light mode) */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;

  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);

  /* RGB versions for light mode */
  --color-success-rgb: var(--color-teal-500-rgb);
  --color-error-rgb: var(--color-red-500-rgb);
  --color-warning-rgb: var(--color-orange-500-rgb);
  --color-info-rgb: var(--color-slate-500-rgb);

  --hero-slide-count: 3;
}

/* Base styles */
html {
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

h1 {
  font-size: var(--font-size-4xl);
}

h2 {
  font-size: var(--font-size-3xl);
}

h3 {
  font-size: var(--font-size-2xl);
}

h4 {
  font-size: var(--font-size-xl);
}

h5 {
  font-size: var(--font-size-lg);
}

h6 {
  font-size: var(--font-size-md);
}

p {
  margin: 0 0 var(--space-16) 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

a:hover {
  color: var(--color-primary-hover);
}

code,
pre {
  font-family: var(--font-family-mono);
  font-size: calc(var(--font-size-base) * 0.95);
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
}

code {
  padding: var(--space-1) var(--space-4);
}

pre {
  padding: var(--space-16);
  margin: var(--space-16) 0;
  overflow: auto;
  border: 1px solid var(--color-border);
}

pre code {
  background: none;
  padding: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  border: none;
  text-decoration: none;
  position: relative;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn--primary {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--krishnaagri-brand-color);
  color: #fff;
  padding: 0.6em 1.4em;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.5s, box-shadow 0.3s ease, transform 0.2s ease;
}

.btn--primary span {
  position: relative;
  z-index: 2;
  transition: color 0.8s;
}

/* circular takeover background animation */
.btn--primary::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 50%;
  width: 250%;
  aspect-ratio: 1;
  background: #222;
  border-radius: 50%;
  transform: translate(-50%, 100%) scale(0.5);
  transform-origin: bottom center;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.btn--primary:hover::after,
.btn--primary:focus::after {
  transform: translate(-50%, 0) scale(1);
}

.btn--primary:hover {
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.btn--secondary {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #49834d;
  color: #fff;
  padding: 0.6em 1.4em;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.5s, box-shadow 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.btn--secondary span {
  position: relative;
  z-index: 2;
  transition: color 0.8s;
}

/* circular takeover background animation */
.btn--secondary::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 50%;
  width: 250%;
  aspect-ratio: 1;
  background: #222;
  border-radius: 50%;
  transform: translate(-50%, 100%) scale(0.5);
  transform-origin: bottom center;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.btn--secondary:hover::after,
.btn--secondary:focus::after {
  transform: translate(-50%, 0) scale(1);
}

.btn--secondary:hover {
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-btn-primary-text);
}

.btn--sm {
  padding: var(--space-4) var(--space-12);
  font-size: var(--font-size-sm);
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: var(--space-10) var(--space-20);
  font-size: var(--font-size-lg);
  border-radius: 999px;
}

.btn--full-width {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.VIpgJd-ZVi9od-ORHb {
  display: none !important;
}

.skiptranslate {
  display: none !important;
}

.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

.translated-ltr {
  margin-top: 0 !important;
  padding-top: 0 !important;
  overflow: visible !important;
}

.translated-ltr .goog-te-banner-frame.skiptranslate {
  display: none !important;
}

.translated-ltr body {
  top: 0 !important;
}

.notranslate {
  all: unset;
}

/* Form elements */
.form-control {
  display: block;
  width: 100%;
  padding: var(--space-8) var(--space-12);
  font-size: var(--font-size-md);
  line-height: 1.5;
  color: #000000;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  transition: border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard);
}

textarea.form-control {
  color: #000000;
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
}

select.form-control {
  color: #000000;
  padding: var(--space-8) var(--space-12);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: var(--select-caret-light);
  background-repeat: no-repeat;
  background-position: right var(--space-12) center;
  background-size: 16px;
  padding-right: var(--space-32);
}

/* Add a dark mode specific caret */
@media (prefers-color-scheme: dark) {
  select.form-control {
    background-image: var(--select-caret-dark);
  }
}

/* Also handle data-color-scheme */
[data-color-scheme="dark"] select.form-control {
  background-image: var(--select-caret-dark);
}

[data-color-scheme="light"] select.form-control {
  background-image: var(--select-caret-light);
}

.form-control:focus {
  color: #000000;
  border-color: var(--color-primary);
  outline: var(--focus-outline);
}

.form-label {
  color: #000000;
  display: block;
  margin-bottom: var(--space-8);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.form-group {
  margin-bottom: var(--space-16);
}

/* Card component */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--duration-normal) var(--ease-standard);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card__body {
  padding: var(--space-16);
}

.card__header,
.card__footer {
  padding: var(--space-16);
  border-bottom: 1px solid var(--color-card-border-inner);
}

/* Status indicators - simplified with CSS variables */
.status {
  display: inline-flex;
  align-items: center;
  padding: var(--space-6) var(--space-12);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.status--success {
  background-color: rgba(var(--color-success-rgb, 33, 128, 141),
      var(--status-bg-opacity));
  color: var(--color-success);
  border: 1px solid rgba(var(--color-success-rgb, 33, 128, 141), var(--status-border-opacity));
}

.status--error {
  background-color: rgba(var(--color-error-rgb, 192, 21, 47),
      var(--status-bg-opacity));
  color: var(--color-error);
  border: 1px solid rgba(var(--color-error-rgb, 192, 21, 47), var(--status-border-opacity));
}

.status--warning {
  background-color: rgba(var(--color-warning-rgb, 168, 75, 47),
      var(--status-bg-opacity));
  color: var(--color-warning);
  border: 1px solid rgba(var(--color-warning-rgb, 168, 75, 47), var(--status-border-opacity));
}

.status--info {
  background-color: rgba(var(--color-info-rgb, 98, 108, 113),
      var(--status-bg-opacity));
  color: var(--color-info);
  border: 1px solid rgba(var(--color-info-rgb, 98, 108, 113), var(--status-border-opacity));
}

/* Container layout */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--space-16);
  padding-left: var(--space-16);
}

@media (min-width: 640px) {
  .container {
    max-width: var(--container-sm);
  }
}

@media (min-width: 768px) {
  .container {
    max-width: var(--container-md);
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: var(--container-lg);
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: var(--container-xl);
  }
}

/* Utility classes */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: var(--space-4);
}

.gap-8 {
  gap: var(--space-8);
}

.gap-16 {
  gap: var(--space-16);
}

.m-0 {
  margin: 0;
}

.mt-8 {
  margin-top: var(--space-8);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

.mx-8 {
  margin-left: var(--space-8);
  margin-right: var(--space-8);
}

.my-8 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.p-0 {
  padding: 0;
}

.py-8 {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

.px-8 {
  padding-left: var(--space-8);
  padding-right: var(--space-8);
}

.py-16 {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.px-16 {
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}

.block {
  display: block;
}

.hidden {
  display: none !important;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 2px;
}

/* Dark mode specifics */
[data-color-scheme="dark"] .btn--outline {
  border: 1px solid var(--color-border-secondary);
}

@font-face {
  font-family: 'FKGroteskNeue';
  src: url('https://r2cdn.perplexity.ai/fonts/FKGroteskNeue.woff2') format('woff2');
}

/* END PERPLEXITY DESIGN SYSTEM */
/* Custom Agricultural Theme Styles */
:root {
  /* Agricultural theme colors */
  --color-agricultural-green: #2d5016;
  --color-agricultural-light-green: #4a7c23;
  --color-agricultural-accent: #8bc34a;
  --color-earth-brown: #8d6e63;
  --color-wheat-gold: #ffc107;
}

body {
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background: linear-gradient(120deg, #bfffc9 0%, #acd8aa 100%);
  margin: 0;
  padding: 0;
  background-size: 300% 300%;
  animation: gradientMove 10s ease-in-out infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.leaves-container {
  position: fixed;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.leaf {
  position: absolute;
  width: 30px;
  height: 30px;
  background: url('../logo/leaf.svg') no-repeat center/contain;
  opacity: 0.6;
  animation: floatLeaf 10s linear infinite;
  left: 10vw;
  top: 90vh;
}

@keyframes floatLeaf {
  0% {
    transform: translateY(0) rotate(0);
  }

  100% {
    transform: translateY(-100vh) rotate(360deg);
  }
}

/* Navigation */
.navbar {
  background: #F9F9F9;
  backdrop-filter: blur(12px);
  border-radius: 2.5em;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  border: none;
  position: fixed;
  top: 1em;
  left: 0;
  right: 0;
  width: 88vw;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1100;
  transition: box-shadow 0.3s ease;
  padding: 0 1.5rem;
}

.translated-ltr .navbar {
  margin-top: 0 !important;
  padding-top: 0 !important;
  background: #F9F9F9 !important;
}

.nav-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 70px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-brand .logo {
  height: 2.8em;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-brand .brand-name {
  margin: 0;
  color: var(--krishnaagri-text-color);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
  line-height: 1.1;
}

/* Center Menu */
.nav-menu {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2.5rem;
}

.nav-link {
  color: var(--krishnaagri-text-color);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link.contact-btn-mobile {
  display: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--krishnaagri-background-color);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--krishnaagri-brand-color-dark);
  ;
}

.nav-link.active {
  color: var(--krishnaagri-brand-color-dark);
  background-color: var(--krishnaagri-background-color);
  border-radius: 6px;
}

.nav-link.contact-btn-mobile.active {
  color: var(--krishnaagri-brand-color-dark);
  background-color: var(--krishnaagri-background-color);
  border-radius: 6px;
}

/* Right Section */
.nav-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: none;
  border: none;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  /* add padding for better hover */
}

.lang-menu {
  display: none;
  position: absolute;
  top: 100%;
  /* attach right below button */
  left: 0;
  min-width: 120px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 6px 0;
  margin: 0;
  z-index: 99;
}

.lang-menu li {
  color: var(--krishnaagri-text-color);
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.lang-menu li:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* show on hover */
.lang-dropdown:hover .lang-menu {
  display: block;
}

.contact-btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #E91E63;
  color: #fff;
  padding: 0.6em 1.4em;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.5s, box-shadow 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.contact-btn span {
  position: relative;
  z-index: 2;
  transition: color 0.8s;
}

/* circular takeover background animation */
.contact-btn::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 50%;
  width: 250%;
  aspect-ratio: 1;
  background: #222;
  border-radius: 50%;
  transform: translate(-50%, 100%) scale(0.5);
  transform-origin: bottom center;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.contact-btn:hover::after,
.contact-btn:focus::after {
  transform: translate(-50%, 0) scale(1);
}

.contact-btn:hover {
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

/* Hamburger for Mobile */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #E91E63;
  border-radius: 2px;
}

/* Mobile Styles */
/* Mobile Styles */
@media (max-width: 768px) {

  /* Style the contact button to look like a prominent menu item */
  .nav-link.contact-btn-mobile {
    display: block;
    color: #212121;
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
  }

  .contact-btn-mobile:hover,
  .contact-btn-mobile:focus {
    color: #C2185B !important;
  }

  /* Nav menu: make it fixed below navbar with padding */
  .nav-menu {
    position: fixed;
    left: -200%;
    top: 70px;
    flex-direction: column;
    background-color: #F9F9F9;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--color-border);
    padding: var(--space-16) 0;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: var(--space-8) 0;
  }

  /* Hamburger button visible on mobile */
  .hamburger {
    display: flex;
  }

  /* Nav actions: reduced gap on mobile */
  .nav-actions {
    gap: 0.75rem;
  }

  /* Container for language dropdown and contact button on mobile */
  .mobile-nav-footer {
    display: flex;
    justify-content: flex-end;
    /* align right */
    align-items: center;
    padding: 0 1.5rem 1rem;
    gap: 1rem;
    border-top: 1px solid #ddd;
  }

  /* Move language dropdown into mobile menu footer */
  .lang-dropdown {
    position: relative;
    display: inline-block;
  }

  /* Language menu styled for mobile */
  .lang-menu {
    position: absolute;
    top: 100%;
    left: auto;
    right: 0;
    min-width: 120px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 6px 0;
    margin: 0;
    display: none;
    z-index: 1100;
  }

  /* Show language menu on hover or tap */
  .lang-dropdown:hover .lang-menu,
  .lang-dropdown:focus-within .lang-menu {
    display: block;
  }

  /* Style contact button for mobile */
  .contact-btn {
    display: none;
  }

  /* Move nav-actions into nav-menu for mobile layout */
  .nav-actions {
    flex-direction: row;
    justify-content: flex-end;
  }
}



/* QR Scanner Modal */
.qr-scanner-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: var(--scanner-z-index);
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.scanner-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-20);
}

.scanner-container {
  background: var(--krishnaagri-accent-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.scanner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-20);
  border-bottom: 1px solid var(--color-border);
}

.scanner-header h3 {
  margin: 0;
  color: var(--color-text);
  font-size: var(--font-size-xl);
}

.close-scanner {
  background: transparent;
  border: none;
  font-size: var(--font-size-2xl);
  color: var(--color-text-secondary);
  cursor: pointer;
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-standard);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-scanner:hover {
  background: var(--color-secondary);
  color: var(--color-text);
}

.scanner-content {
  padding: var(--space-20);
}

.camera-container {
  position: relative;
  width: 100%;
  height: 300px;
  background: var(--color-background);
  border-radius: var(--radius-base);
  overflow: hidden;
  margin-bottom: var(--space-16);
}

#scanner-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-base);
}

#scanner-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Scanner Viewfinder */
.scanner-viewfinder {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.viewfinder-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 3px solid var(--color-primary);
}

.viewfinder-corner.tl {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.viewfinder-corner.tr {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

.viewfinder-corner.bl {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}

.viewfinder-corner.br {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

/* Scanner scanning animation */
.scanner-viewfinder::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
  animation: scanLine 2s linear infinite;
}

@keyframes scanLine {
  0% {
    top: 0;
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    top: 100%;
    opacity: 1;
  }
}

.scanner-instructions {
  text-align: center;
  margin-bottom: var(--space-16);
}

.scanner-instructions p {
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-12) 0;
  font-size: var(--font-size-base);
}

.scanner-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: var(--space-8) var(--space-16);
  background: var(--color-bg-1);
  border-radius: var(--radius-base);
  border: 1px solid var(--color-border);
}

.status-text {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
}

.scanner-status.scanning {
  background: var(--color-bg-3);
  border-color: var(--color-success);
}

.scanner-status.scanning .status-text {
  color: var(--color-success);
}

.scanner-status.error {
  background: var(--color-bg-4);
  border-color: var(--color-error);
}

.scanner-status.error .status-text {
  color: var(--color-error);
}

.scanner-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-16);
}

/* Floating QR Button */
.floating-qr-btn {
  position: fixed;
  bottom: var(--space-24);
  right: var(--space-24);
  width: 60px;
  height: 60px;
  background-color: var(--krishnaagri-brand-color-light);
  color: var(--color-btn-primary-text);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all var(--duration-normal) var(--ease-standard);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-qr-btn:hover {
  background-color: var(--krishnaagri-brand-color-dark);
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.floating-qr-btn:active {
  transform: scale(0.95);
}

/* Page Management */
.page {
  min-height: calc(100vh - 140px);
}

.page.hidden {
  display: none;
}

/* ===== Scroll Hero (pinned) ===== */
/* ===============================
   HERO SECTION
   =============================== */

#scroll-hero {
  position: relative;
  /* Height controls how long the hero stays pinned: slides * viewport height */
  height: calc(var(--hero-slide-count, 4) * 100dvh);
  /* Fallback background while images load */
  background: #0f3114;
}

.hero-pin {
  position: sticky;
  top: 0;
  height: 100dvh;
  /* dynamic vh = fixes mobile browser bar issue */
  overflow: hidden;
  /* better support than clip */
  display: grid;
  place-items: center;
}

/* ===============================
     Background Crossfade
     =============================== */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* fills full screen */
  object-position: center;
  transform: scale(1.02);
  opacity: 0;
  transition: opacity 600ms ease, transform 800ms ease;
  will-change: opacity, transform;
  filter: saturate(1.05) contrast(1.02);
}

.hero-bg.active {
  opacity: 1;
  transform: scale(1);
}

/* ===============================
     Overlays
     =============================== */
.hero-pin::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  /* black overlay (adjust opacity) */
  z-index: 1;
  /* sits above background, below text */
}

/* ===============================
     Text Overlay
     =============================== */
.hero-overlay {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: min(92vw, 1100px);
  margin: 0 auto;
  padding: 0 1rem;
  color: #fff;
  text-align: center;
}

.hero-text h1 {
  color: var(--krishnaagri-white-color);
  font-size: clamp(2rem, 5vw, 4rem);
  /* responsive font size */
  letter-spacing: .5px;
  margin: 0 0 .6rem;
  text-shadow: 0 6px 25px rgba(0, 0, 0, .35);
}

.hero-text p {
  color: var(--krishnaagri-white-color);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  opacity: .95;
  margin: 0 auto 1.5rem;
  max-width: 720px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, .35);
}

.hero-text {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 450ms ease, transform 450ms ease;
}

.hero-text.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
     Dots (navigation)
     =============================== */
.hero-dots {
  color: var(--krishnaagri-gray-color);
  display: flex;
  gap: .5rem;
  justify-content: center;
  margin-top: 1rem;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
  transition: transform 200ms ease, background 200ms ease;
}

.hero-dots button[aria-current="true"] {
  background: #fff;
  transform: scale(1.2);
}

/* ===============================
     Mobile Optimizations
     =============================== */
@media (max-width: 768px) {
  #scroll-hero {
    height: calc(var(--hero-slide-count, 4) * 80dvh);
    /* shorter scroll */
  }

  .hero-bg {
    object-fit: cover;
    object-position: center;
    transform: scale(1.04);
  }

  .hero-text h1 {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
  }

  .hero-text p {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    max-width: 90%;
  }
}

/* Featured Products Section */
.featured-products-section {
  padding: var(--space-32) 0;
  background: var(--krishnaagri-background-color);
}

.featured-products-section h2 {
  text-align: center;
  margin-bottom: var(--space-32);
  color: var(--krishnaagri-text-color);
  font-size: var(--font-size-3xl);
}

/* Features Section */
.features-section {
  padding: var(--space-32) 0;
  background: var(--krishnaagri-background-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-32);
  margin-top: var(--space-32);
}

.feature-card {
  text-align: center;
  padding: var(--space-32);
  background: var(--color-background);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: transform var(--duration-normal) var(--ease-standard);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: var(--space-16);
}

.feature-card h3 {
  margin-bottom: var(--space-16);
  color: #000000;
}

.feature-card p {
  color: #000000;
}

/* Products Styles */
.products-header {
  /* background: linear-gradient(rgba(74, 124, 35, 0.9), rgba(74, 124, 35, 0.9)),
    url('https://pplx-res.cloudinary.com/image/upload/v1755153176/pplx_project_search_images/208d41557cf3956b2e62f70ed4d9cb36210cb6ca.png'); */
  background: linear-gradient(rgba(27, 94, 32, 0.9), rgba(102, 187, 106, 0.9)),
    url('../background/4.png');
  background-size: cover;
  background-position: center;
  padding: var(--space-32) 0;
  text-align: center;
  color: white;
}

.products-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.products-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}




.products-header .container {
  margin-top: 80px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.products-filters {
  padding: var(--space-24) 0;
  background: linear-gradient(135deg, #68cc33, #4fb222, #7ae14b);
  border-bottom: 1px solid var(--color-border);
}

.filters-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-16);
  max-width: 800px;
  margin: 0 auto;
}

/* --- GRID CONTAINER --- */
.products-content {
  padding: clamp(1rem, 2.5vw, 2.5rem) 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(0.8rem, 1.6vw, 1.4rem);
  align-items: stretch;
}

/* --- PRODUCT CARD --- */
.product-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  border: 1px solid #ececec;
  background: #fff;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
}

/* --- PRODUCT TITLE --- */
.product-card-title {
  font-size: var(--text-20);
  font-weight: 200;
  margin: 1rem 1rem 0.25rem;
  text-align: center;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
}

/* --- IMAGE / EMOJI --- */
.product-card-img,
.product-emoji {
  position: relative;
  flex: 1 1 auto;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  margin: 0;
  top: 0;
  left: 0;
  transition: transform 0.8s ease-in-out;
  will-change: transform;
  cursor: pointer;
}

.product-card-img:hover {
  transform: scale(1.05);
}

.product-emoji {
  display: grid;
  place-items: center;
  height: clamp(140px, 32vh, 260px);
}

/* --- BUTTON --- */
.product-card-btn {
  font-size: var(--text-20);
  font-weight: 400;
  background-color: white;
  color: black;
  border-radius: 10rem;
  justify-content: center;
  align-items: center;
  max-width: 11.9841rem;
  height: 3.88889rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.74603rem;
  text-decoration: none;
  display: flex;
  position: absolute;
  bottom: 2.38095rem;
  left: 0;
  right: 0;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  isolation: isolate;
  transition: color 0.5s, box-shadow 0.3s ease;
}

.product-card-btn div {
  position: relative;
  z-index: 1;
  transition: color 0.8s;
}

/* circular orange takeover background from bottom */
.product-card-btn::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 50%;
  width: 250%;
  aspect-ratio: 1;
  background: var(--krishnaagri-brand-color);
  border-radius: 50%;
  transform: translate(-50%, 100%) scale(0.5);
  transform-origin: bottom center;
  transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.product-card:hover .product-card-btn::after,
.product-card:focus-within .product-card-btn::after,
.product-card-img:hover+.product-card-btn::after {
  transform: translate(-50%, 0) scale(1);
}

.product-card:hover .product-card-btn,
.product-card:focus-within .product-card-btn {
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  outline: none;
}

@media (min-width: 1400px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}

@media (max-width: 786px) {

  .products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 1rem;
  }

  product-card {
    aspect-ratio: 2.4 / 3.6;
    /* maintain card ratio */
  }

  .product-card-btn {
    display: none;
  }

  .product-card-title {
    font-size: 1.25rem;
  }
}

/* motion safety */
@media (prefers-reduced-motion: reduce) {

  .product-card,
  .product-card-btn,
  .product-card-btn::after {
    transition: none;
  }
}



/* ===== HERO ===== */
/* Keep your wrapper, but make the hero go full-bleed while the body sits on #DDF5CF */
#product-detail-page {
  background: #D1EEC6;
  /* covers full width */
  width: 100%;
}

.product-detail.container {
  /* page background under the hero */
  background: #D1EEC6;
  padding: 0 0 32px;
  overflow: visible;
  /* don't clip the full-width hero */
}

/* ===== FULL-WIDTH HERO (inside a constrained container) ===== */
.pd-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  /* make it span the viewport width even inside a .container */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  /* control top/bottom spacing of the stage */
  padding: 40px 0 60px;
}

/* If your CSS file lives in /assets/css/, use ../products/... */
.pd-hero__bg {
  position: absolute;
  inset: 0;
  background: url('products/bg_img.png') center/cover no-repeat;
  z-index: 0;
}

.pd-pack {
  margin-top: 70px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pd-pack__img {
  width: clamp(280px, 36vw, 560px);
  height: auto;
  /* filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .28)); */
}

/* .pd-pack__shadow {
  margin-top: -12px;
  width: clamp(260px, 34vw, 540px);
  height: clamp(26px, 6vw, 64px);
  background: radial-gradient(50% 65% at 50% 50%,
      rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .02) 70%, transparent 100%);
  filter: blur(8px);
  opacity: .55;
  pointer-events: none;
} */

/* ===== BODY (contained details on #DDF5CF ===== */
.container {
  margin-top: 80px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.pd-body {
  margin: 2rem auto 2.5rem;
}

.pd-title {
  color: #12100c;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 800;
  margin: 0 0 .75rem;
  padding-bottom: 0rem;
  border-bottom: 4px solid var(--krishnaagri-text-color);
}

.pd-lead {
  color: #3b3426;
  margin: .75rem 0 1.5rem;
  line-height: 1.65;
}

.pd-block {
  margin: 2rem 0;
}

.pd-block__title {
  font-weight: 800;
  text-transform: uppercase;
  color: #4c3b26;
  margin: 0 0 .75rem;
}

.pd-rows {
  display: grid;
  gap: .9rem;
}

.pd-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1rem;
  padding: .65rem 0;
  border-bottom: 1px solid #b4e7a0;
}

.pd-row:last-child {
  border-bottom: 0;
}

.pd-row__label {
  color: #7a6c58;
  font-weight: 700;
  white-space: nowrap;
}

.pd-row__value {
  color: #1f1d19;
}

.pd-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 2rem;
  color: #1f1d19;
}

.pd-benefits li {
  position: relative;
  padding-left: 1.7rem;
  line-height: 1.6;
}

.pd-benefits li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #f15b00;
  font-weight: 800;
}

.pd-cta {
  margin-top: 2rem;
}

.pd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: #f15b00;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 16px rgba(241, 91, 0, .3);
}

.pd-btn:hover {
  background: #d84f00;
}

/* Responsive */
@media (max-width: 786px) {
  .product-detail.container {
    background-color: #DCF3CF;
  }

  .pd-row {
    grid-template-columns: 1fr;
  }

  .pd-benefits {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 900px) {}



body {
  background: #ffffff;
  font-family: Arial, sans-serif;
}

/* Container for Certification Section */
.container-cert {
  max-width: 450px;
  margin: 40px auto;
  background: #d6e8ba;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Main Title Styling */
.title-main {
  color: #2e6b25;
  text-align: center;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 28px;
  text-transform: uppercase;
  text-shadow: 1px 1px 3px rgba(46, 107, 37, 0.3);
}

/* Each certification section box */
.cert-section {
  margin: 0 auto 22px;
  text-align: center;
  background: #fff;
  border-radius: 10px;
  padding: 8px 0 10px;
  width: 94%;
  box-sizing: border-box;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.cert-section:hover {
  transform: scale(1.02);
}

/* Certification label styles */
.cert-label {
  display: inline-block;
  padding: 6px 28px;
  border-radius: 6px 6px 0 0;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: 1.2px;
  color: #fff;
  text-transform: uppercase;
  user-select: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Color variants for labels */

.groundnut-label {
  background: #9e1b1b;
}

.castor-label {
  background: #1b5d2f;
}

.wheat-label {
  background: #1c2970;
}

.til-label {
  background: #d8227d;
}

.moong-label {
  background: #0199fd;
}

.urid-label {
  background: #8a251d;
}

.cumin-label {
  background: #8a251d;
}

/* Varieties list styling */
.varieties-list {
  font-size: 1.1rem;
  color: #223322;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin: 4px 0 2px;
  line-height: 1.45;
}

/* Flex container for rows with multiple sections */
.flex-row-cert {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: -6px;
  margin-bottom: 12px;
}

/* Smaller flex row variant */
.small-row {
  margin-top: 8px;
  margin-bottom: 0;
}

/* Single certification box in flex row */
.cert-single {
  width: 48%;
}

/* Single varieties styling */
.varieties-single {
  font-size: 1.12rem;
  color: #223322;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-top: 4px;
  margin-bottom: 0;
  line-height: 1.4;
}


/* Main Product Image (on top) */
.product-icon {
  position: relative;
  z-index: 1;
  width: 100%;
  /* max-width: 95%; */
  height: 250px;
  object-fit: cover;
  border-radius: 20px;
  background: transparent;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
  /* padding: 0px; */
  display: block;
  margin: 0 auto;
}

.product-icon-list {
  position: relative;
  z-index: 1;
  width: 350px;
  max-width: 90%;
  height: 250px;
  object-fit: cover;
  border-radius: 20px;
  background: transparent;
  /* box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10); */
  padding: 20px;
  display: block;
  margin: 0 auto;
}

.product-detail-info h1 {
  color: #000000;
  margin-bottom: var(--space-16);
  font-weight: bold;
}

.product-detail-category {
  background: rgb(255, 255, 255);
  color: #000000;
  padding: var(--space-6) var(--space-12);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  display: inline-block;
  margin-bottom: var(--space-16);
}

.product-detail-overview {
  margin-bottom: var(--space-24);
  color: #000000;
  line-height: 1.6;
  font-weight: 700;
}

.product-detail-sections {
  padding: 0 var(--space-32) var(--space-32);
}

.product-section {
  margin-bottom: var(--space-32);
}

.product-section h3 {
  color: #000000;
  margin-bottom: var(--space-16);
  border-bottom: 2px solid var(--color-bg-3);
  padding-bottom: var(--space-8);
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--color-border);
  color: #000000;
}

.feature-list li:before {
  content: '✓';
  color: #000000;
  font-weight: bold;
  margin-right: var(--space-8);
}

.specifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-16);
}

.spec-item {
  /* background: var(--color-bg-3); */
  background: linear-gradient(135deg, #e5ffd8, #f4ffef, #7ae14b);
  padding: var(--space-16);
  border-radius: var(--radius-base);
  text-align: center;
}

.spec-label {
  font-weight: var(--font-weight-semibold);
  color: #000000;
  margin-bottom: var(--space-4);
}

.spec-value {
  color: #000000;
}

/* --- Plyr Custom Theme for Excellent Agro --- */

/* Main player controls background: match green accent */
.plyr__controls {
  background: rgba(0, 0, 0, 0.25) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  height: 32px !important;
  padding: 4px 8px !important;
  border-radius: 1rem !important;
  overflow: visible;
}

/* Progress bar: red, YouTube style */
.plyr__progress input[type='range'] {
  color: #65934D !important;
  /* Youtube red */
  background: #404040 !important;
  /* dark background for buffer */
  height: 6px;
  border-radius: 0px;
}

/* Played bar: solid red */
.plyr__progress--played {
  background: #65934D !important;
}

/* Control icons: white by default, green on hover */
.plyr__control svg {
  fill: #FFFFFF !important;
}

.plyr__control:hover,
.plyr__control:focus {
  background-color: rgba(132, 255, 156, 0.15) !important;
  /* subtle transparent green */
  border-radius: 0.25rem;
}

/* Play button: prominent green accent, soft shadow */
.plyr__control--overlaid {
  background: #65934D !important;
  box-shadow: 0 2px 12px rgba(101, 147, 77, 0.18);
  border-radius: 50%;
}

.plyr__control--overlaid svg {
  fill: #FFFFFF !important;
}

/* Volume slider */
.plyr__volume input[type='range'] {
  color: #65934D !important;
}

/* Time text, labels: use dark green */
.plyr__time {
  color: #355C23 !important;
  font-weight: bold;
}

/* Menu and tooltip backgrounds: soft green, rounded */
.plyr__menu,
.plyr__tooltip {
  background: #7fbc5d !important;
  color: #fff !important;
  border-radius: 0.75rem !important;
}

.plyr__menu__container {
  border-radius: 1rem !important;
}

/* Fullscreen button style */
.plyr__control--fullscreen svg {
  fill: #355C23 !important;
}


.product-videos {
  width: 50%;
  margin: 2rem auto;
  padding: 2rem 0 1rem 0;
  background: transparent;
  border-radius: 1.2rem;
  box-shadow: 0 4px 24px 0 rgba(41, 85, 41, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-videos h3 {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #000000;
  text-align: center;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .product-videos {
    width: 90%;
    /* Take most of the screen width */
    padding: 1.5rem 1rem 1rem 1rem;
    /* Adjust padding for smaller screens */
  }

  .product-videos h3 {
    font-size: 1.25rem;
    /* Slightly smaller title font size */
  }
}

@media (max-width: 480px) {
  .product-videos {
    width: 100%;
    /* Full width on very small devices */
    padding: 1rem 0.5rem 0.5rem 0.5rem;
  }

  .product-videos h3 {
    font-size: 1.1rem;
    /* Even smaller title font on phones */
  }
}

#about-page.hidden .about-header {
  display: none;
}

#about-page {
  max-width: 960px;
  margin: 40px auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.section-header {
  background: linear-gradient(rgba(27, 94, 32, 0.9), rgba(102, 187, 106, 0.9)),
    url('../background/4.png');
  background-size: cover;
  background-position: center;
  padding: var(--space-32) 0;
  text-align: center;
  color: white;
}

.section-header .about-header-content {
  margin-top: 80px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h1 {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.section-header p {
  margin: 0 0 var(--space-16) 0;
}

/* Hide the section-header by default, show only for about page */
.section-header.hidden {
  display: none;
}


/* About Us Container */
.about-us-page.container {
  background: var(--krishnaagri-background-color);
  padding: 40px 30px 60px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(50, 168, 82, 0.15);
}

/* Header Row */
.header-row {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 3px solid #2ecc71;
  padding-bottom: 10px;
  margin-bottom: 30px;
  justify-content: center;
}

.header-row img {
  height: 140px;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(57, 92, 18, 0.3);
  object-fit: contain;
}

.header-row h1 {
  font-family: 'Georgia', serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: #27ae60;
  text-shadow: 1px 1px 4px rgba(40, 100, 40, 0.2);
  margin: 0;
  background: linear-gradient(90deg, #27ae60, #145214);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Content Paragraphs */
.content p {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #34495e;
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

/* Section Titles */
h2 {
  font-weight: 700;
  font-size: 2rem;
  color: #145214;
  margin-top: 48px;
  margin-bottom: 16px;
  border-left: 6px solid var(--krishnaagri-brand-color-light);
  padding-left: 12px;
  letter-spacing: 0.03em;
}

/* Mission and Vision Text */
.mission p,
.vision p {
  font-weight: 600;
  font-size: 1.1rem;
  color: #2c3e50;
  max-width: 700px;
  margin-top: 0;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Quality Assurance Section */
.quality-assurance-section {
  background: linear-gradient(135deg, #b0f4b9 60%, #53c168 100%);
  margin-top: 60px;
  padding: 40px 30px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(30, 110, 40, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

/* Left Column */
.left-column {
  flex: 1 1 320px;
  max-width: 450px;
}

.sprout-timeline {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}

.sprout-timeline img {
  width: 50px;
  filter: drop-shadow(1px 1px 1.5px rgba(0, 0, 0, 0.1));
  border-radius: 6px;
}

h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1e5c04;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}

h3 span {
  color: #2e8b13;
}

.left-column p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #254d18;
  max-width: 420px;
  font-weight: 600;
}

/* Right Column */
.right-column {
  flex: 1 1 320px;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* Circular Image Containers */
.plant-sprout {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: white;
  padding: 8px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.12);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.18s cubic-bezier(.32, .72, .8, 1.26), box-shadow 0.18s;
}

.plant-sprout:hover {
  transform: scale(1.04) rotate(-2deg);
  box-shadow: 0 0 32px 6px rgba(120, 230, 160, 0.22), 0 2px 30px rgba(44, 132, 77, 0.11);
}

.plant-sprout img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: inset 0 0 10px rgba(50, 100, 50, 0.3);
}

/* Field and Description Side by Side */
.field-text-wrapper {
  display: flex;
  align-items: flex-start;
  position: relative;
  /* Remove gap, we'll position child manually */
}

.field-image {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.17);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
  position: absolute;
  left: -340px;
  top: 15px;
  z-index: 1;
  transition: box-shadow 0.17s, transform 0.17s;
}

.field-image:hover {
  box-shadow: 0 10px 34px rgba(90, 200, 110, 0.17), 0 2px 16px rgba(44, 80, 77, 0.08);
  transform: scale(1.06) rotate(-2.5deg);
}

.field-image img {
  width: 196px;
  height: 196px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(25, 85, 25, 0.13) inset;
  border: 3px solid #fff;
}

.description-text {
  margin-left: 55px;
  max-width: 355px;
  font-size: 1.1rem;
  color: #2f4f1f;
  font-weight: 600;
  line-height: 1.6;
  z-index: 2;
  position: relative;
  background: transparent;
}

/* Responsive: stack vertically on small screens */
@media (max-width: 900px) {

  .left-column h3 {
    font-size: 1.4rem;

  }

  .field-text-wrapper {
    flex-direction: column;
    align-items: center;
    position: static;
    gap: 20px;
    /* add spacing between image and text */
  }

  .field-image {
    position: static;
    left: auto;
    top: auto;
    margin-bottom: 20px;
    margin-top: 20px;
    width: 160px;
    /* smaller image on mobile */
    height: 160px;
    padding: 8px;
    transition: none;
    /* smoother on mobile */
  }

  .field-image:hover {
    box-shadow: 0 6px 18px rgba(90, 200, 110, 0.12), 0 1px 12px rgba(44, 80, 77, 0.06);
    transform: scale(1.03) rotate(-1deg);
  }

  .field-image img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    box-shadow: inset 0 0 10px rgba(25, 85, 25, 0.2);
    border: 3px solid #fff;
  }

  .description-text {
    margin-left: 0;
    text-align: center;
    max-width: 100%;
    padding: 0 12px;
  }
}

.values-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.value-card {
  flex: 1;
  min-width: 250px;
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.contact-header {
  background: linear-gradient(rgba(27, 94, 32, 0.9), rgba(102, 187, 106, 0.9)),
    url('../background/4.png');
  background-size: cover;
  background-position: center;
  padding: var(--space-32) 0;
  text-align: center;
  color: white;
}

.contact-header .container {
  margin-top: 80px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-card {
  max-width: 500px;
  margin: 0 auto;
  padding: 30px;
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}

/* Dark section for About Us content */
.about-content {
  background: #4cd09b;
  /* dark black background */
  color: #111010;
  /* light gray/white text for readability */
  padding: 50px 20px;
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
}

.about-content .about-text p {
  font-size: var(--font-size-md);
  line-height: 1.8;
  margin-bottom: 20px;
  color: #060606;
  /* softer white for comfortable reading */
}

/* Cultivation Guide Styles */
.guide-header {
  /* background: linear-gradient(rgba(45, 80, 22, 0.9), rgba(45, 80, 22, 0.9)),
    url('https://pplx-res.cloudinary.com/image/upload/v1755153176/pplx_project_search_images/a36367b91b847065a7a4d9f7ff88ec7587232199.png'); */
  background: linear-gradient(rgba(27, 94, 32, 0.9), rgba(102, 187, 106, 0.9)),
    url('../background/4.png');
  background-size: cover;
  background-position: center;
  padding: var(--space-32) 0;
  text-align: center;
  color: white;
}

.guide-content {
  padding: var(--space-32) 0;
}

.guide-sections {
  max-width: 900px;
  margin: 0 auto;
}

.guide-section {
  margin-bottom: var(--space-32);
}

.guide-section h2 {
  color: var(--color-agricultural-green);
  margin-bottom: var(--space-24);
  font-size: var(--font-size-2xl);
}

.guide-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-24);
  margin-bottom: var(--space-20);
  box-shadow: var(--shadow-sm);
}

.guide-card h3 {
  color: var(--color-agricultural-light-green);
  margin-bottom: var(--space-16);
}

.guide-card ul {
  list-style: none;
  padding: 0;
}

.guide-card li {
  padding: var(--space-6) 0;
  position: relative;
  padding-left: var(--space-20);
}

.guide-card li:before {
  content: '→';
  color: var(--color-agricultural-green);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Gallery Header */
.gallery-header {
  background: linear-gradient(rgba(27, 94, 32, 0.9), rgba(102, 187, 106, 0.9)),
    url('../background/4.png');
  background-size: cover;
  background-position: center;
  padding: var(--space-32) 0;
  text-align: center;
  color: white;
  position: relative;
}

.gallery-header .container {
  margin-top: 80px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Content sections padding */
.gallery-content {
  padding: var(--space-32) 0;
}

.gallery-content .container {
  background-color: var(--krishnaagri-background-color);
}

/* Sections spacing */
.gallery-section {
  margin-bottom: var(--space-40);
}

.gallery-section-header {
  text-align: center;
  margin-bottom: var(--space-24);
  padding-bottom: var(--space-8);
  position: relative;
  display: inline-block;
  width: 100%;
}

/* Center the h2 text */
.gallery-section-header h2 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: #000000;
  margin: 0 auto;
  display: inline-block;
  padding-bottom: 8px;
  position: relative;
}

/* Underline with custom style */
.gallery-section-header h2::after {
  content: "";
  position: absolute;
  width: 60px;
  /* width of underline */
  height: 3px;
  /* thickness */
  background: var(--krishnaagri-brand-color-light);
  /* underline color */
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  border-radius: 2px;
}

.gallery-divider {
  border: none;
  border-top: 2px solid var(--color-border);
  margin: var(--space-32) 0;
}



/* Section header styles */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-24);
  padding-bottom: var(--space-16);
}

.section-header h2 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin: 0;
}

/* Show more and back button styles */
.show-more-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 24px;
  /* space above button */
}

.show-more-btn {
  background: var(--krishnaagri-accent-color);
  color: #ffff;
  padding: 12px 36px;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 2px 10px rgba(74, 124, 35, 0.07);
  outline: none;
}

.show-more-btn:hover {
  color: #000000;
  background: #61a833;
  transform: translateY(-2px) scale(1.04);
}

.back-btn {
  margin-top: 10px;
  background: var(--color-primary);
  color: white;
  padding: var(--space-8) var(--space-16);
  border: none;
  border-radius: var(--radius-md);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.back-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: var(--space-16);
}

.show-more-btn:hover,
.back-btn:hover {
  background: var(--color-primary-dark);
}

/* Grid layouts for galleries */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-20);
}

/* Thumbnails for images */
.image-thumbnail {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-thumbnail:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.thumbnail-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Video thumbnails */
.video-thumbnail {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.video-thumbnail:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.video-thumbnail-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Play overlay on video thumbnails */
.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.video-thumbnail:hover .play-overlay {
  opacity: 1;
}

.play-button {
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

/* Detail view container centering and styling */
.detail-content {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  padding: var(--space-32) 0;
}

.detail-card {
  background: var(--color-surface, #fff);
  border-radius: var(--radius-xl, 24px);
  box-shadow: 0 6px 36px rgba(60, 90, 50, 0.12);
  padding: var(--space-32, 2rem);
  margin: auto;
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.detail-card:hover {
  box-shadow: 0 12px 48px rgba(60, 90, 50, 0.20);
  transform: translateY(-2px) scale(1.01);
}

.detail-image,
.video-player {
  width: 100%;
  max-width: 640px;
  border-radius: var(--radius-lg, 16px);
  box-shadow: var(--shadow-lg, 0 4px 32px rgba(74, 124, 35, 0.11));
  margin-bottom: var(--space-16, 1rem);
  background: #f8f8f8;
  object-fit: contain;
  transition: box-shadow 0.2s;
}

/* Navigation buttons wrapper */
.nav-buttons {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

/* Navigation buttons */
.nav-btn {
  margin-bottom: 20px;
  background: var(--color-primary, #4a7c23);
  color: black;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-md, 12px);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.nav-btn:disabled {
  background: #bbb;
  cursor: not-allowed;
}

.nav-btn:not(:disabled):hover {
  background: var(--color-primary-dark, #357010);
}

/* Responsive adjustments */
@media (max-width: 900px) {

  .detail-card,
  .detail-image,
  .video-player {
    max-width: 98vw;
    padding: var(--space-16, 1rem);
    margin: 0;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-16);
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-12);
  }

  .video-iframe {
    height: 250px;
  }
}

.contact-content {
  padding: var(--space-32) 0;
  background-color: var(--krishnaagri-background-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-32);
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  background: #ffffff;
  padding: var(--space-32);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  position: relative;
  /* REQUIRED for child absolute positioning */
  min-height: 480px;
  /* optional for space */
  overflow: hidden;
  /* ensures the logo stays inside if too large */
}

.contact-logo-absolute {
  position: absolute;
  top: 32px;
  right: 162px;
  z-index: 2;
}

.contact-logo-absolute .contact-logo {
  max-width: 300px;
  height: auto;
  opacity: 0.98;
  filter: drop-shadow(0 4px 16px rgba(74, 124, 35, 0.13));
}

@media (max-width: 840px) {
  .contact-logo-absolute {
    top: 16px;
    right: 16px;
  }

  .contact-logo-absolute .contact-logo {
    max-width: 50px;
  }
}


@media (max-width: 600px) {
  .contact-logo-absolute {
    top: 16px;
    right: 16px;
  }

  .contact-logo-absolute .contact-logo {
    max-width: 50px;
  }
}


.contact-info h2 {
  color: #000000;
  margin-bottom: var(--space-24);
}

.contact-item {
  margin-bottom: var(--space-24);
}

.contact-item h3 {
  color: #000000;
  margin-bottom: var(--space-8);
  font-size: var(--font-size-lg);
}

.contact-item p {
  color: #000000;
  margin-bottom: 0px;
}

.contact-form-container {
  background: #ffffff;
  padding: var(--space-32);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.contact-form h2 {
  color: var(--color-agricultural-green);
  margin-bottom: var(--space-24);
}

/* Footer */
.footer {
  position: relative;
  background: linear-gradient(to top,
      rgba(244, 143, 177, 0.9), rgba(214, 250, 215, 0.9));
  /* background: linear-gradient(to bottom,
      rgba(33, 172, 226, 0.9),
      rgba(105, 190, 40, 0.9)); */
  color: var(--color-black);
  overflow: hidden;
  padding: 60px 0 20px;
}

.footer-section .logo-Section {
  position: relative;
  top: -18px;
}

.footer-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.footer-waves {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 300px;
  z-index: 1;
}

.footer-content,
.footer-bottom {
  position: relative;
  z-index: 2;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 40px;
  margin-bottom: 20px;
}

.footer-section h4 {
  margin-bottom: 15px;
  color: #fff;
  font-size: 1.2em;
  letter-spacing: 0.03em;
}

.footer-section p {
  margin: 12px 0 12px 0;
  font-size: 1em;
  opacity: 0.9;
}

.footer-logo {
  display: block;
  margin-bottom: 12px;
}

.footer-logo-large {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.footer-brand-name {
  font-size: 1.9em;
  font-weight: bold;
  color: var(--krishnaagri-brand-color-dark);
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0.03em;
}

.footer-section h4 {
  color: var(--krishnaagri-brand-color-dark);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: var(--color-black);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}

.footer-section ul li a:hover {
  color: var(--color-wheat-gold);
}

.footer-contact {
  font-size: 0.97em;
}

.footer-contact a {
  color: #c4fdd9;
  text-decoration: underline dotted;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.social-links a {
  color: #c3f7b7;
  transition: color 0.2s;
  text-decoration: none;
}

.social-links a:hover {
  color: #89cc76;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #e0ffe3;
  padding-top: 16px;
  font-size: 0.96em;
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {

  /* Mobile: stack the footer sections vertically and hide non-expanded panels */
  .footer-content {
    display: block !important;
  }

  .footer-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 0;
  }

  .footer-section:not(.logo-section) h4 {
    cursor: pointer;
    padding: 15px 0;
    position: relative;
  }

  .footer-section:not(.logo-section) h4::after {
    content: "▼";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    transition: transform 0.3s ease;
  }

  .footer-section:not(.logo-section) h4[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(-180deg);
  }

  .footer-section:not(.logo-section) {
    position: relative;
  }

  /* Make heading sticky at top of footer section when expanded */
  .footer-section:not(.logo-section) h4 {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 15px 0;
    cursor: pointer;
  }

  /* Animate dropdown content below heading */
  .footer-section:not(.logo-section) ul,
  .footer-contact {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
    opacity: 0;
    transform: translateY(-10px);
    padding-left: 0;
    /* remove extra indent if any */
    margin-top: 0;
  }

  /* Expanded state: content visible below sticky heading */
  .footer-section:not(.logo-section) ul.expanded,
  .footer-contact.expanded {
    max-height: 1000px;
    /* large enough for content */
    opacity: 1;
    transform: translateY(0);
    margin-top: 1em;
    /* add some spacing below header */
  }

  /* Center logo-section content */
  .footer-section.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 25px;
  }

  .footer-section.logo-section img {
    display: block;
    margin: 0 auto 10px auto;
  }

  .footer-brand-name {
    margin: 0 auto;
  }

  .footer-section ul,
  .footer-contact {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .footer-section ul.expanded,
  .footer-contact.expanded {
    max-height: 1000px;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-bottom p {
    margin: 4px 0;
  }
}


/* Loading States */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  color: var(--color-text-secondary);
}

/* Success Message */
.success-message {
  background: var(--color-bg-3);
  color: var(--color-agricultural-green);
  padding: var(--space-16);
  border-radius: var(--radius-base);
  margin: var(--space-16) 0;
  text-align: center;
  font-weight: var(--font-weight-medium);
}

/* Error Message */
.error-message {
  background: var(--color-bg-4);
  color: var(--color-error);
  padding: var(--space-16);
  border-radius: var(--radius-base);
  margin: var(--space-16) 0;
  text-align: center;
  font-weight: var(--font-weight-medium);
}