: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(--shubh-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(--shubh-brand-orange-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);

    /* Primary Brand Red (logo text, large S) */
    --shubh-brand-red: #c80813;
    --shubh-brand-red-dark: #91000e;
    --shubh-brand-red-light: #dc3d3d;

    /* Primary Brand Orange (arc shapes) */
    --shubh-brand-orange: #fd9702;
    --shubh-brand-orange-dark: #c65f00;
    --shubh-brand-orange-light: #ffb54b;

    /* Neutral and Text */
    --shubh-white: #ffffff;
    --shubh-gray: #eee8e4;
    --shubh-text: #a60a12;

    --shubh-background-color: #ffffff;
  }
}

/* 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(--shubh-brand-red-light);
  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);
}

/* Responsive adjustments for btn--primary */
@media (max-width: 768px) {
  .btn--primary {
    font-size: 0.85rem;
    padding: 0.5em 1.2em;
  }
}

@media (max-width: 480px) {
  .btn--primary {
    font-size: 0.75rem;
    padding: 0.4em 1em;
  }
}

@media (max-width: 360px) {
  .btn--primary {
    font-size: 0.7rem;
    padding: 0.4em 0.9em;
  }
}

.btn--secondary {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #dc3d3d;
  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--pop {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #dc3d3d;
  color: #fff;
  padding: 0.6em 1.4em;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  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);
  border: 2px solid #91000e;
}

.btn--pop span {
  position: relative;
  z-index: 2;
  transition: color 0.8s;
}

/* circular takeover background animation */
.btn--pop: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--pop:hover::after,
.btn--pop:focus::after {
  transform: translate(-50%, 0) scale(1);
}

.btn--pop:hover {
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

#crop-category-btn {
  margin: 0 10px 10px 0;
  background: #dc3d3d;
  color: #ffffff;
  font-weight: 700;
  border: 2px solid #91000e;
  border-radius: 24px;
  padding: 0.5rem 1.4rem;
  cursor: initial;
  transition: background 0.2s;
  font-size: 1rem;
  user-select: none;
}

.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--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: #ffffff;
  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: #ffffff !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(--shubh-text);
  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(--shubh-text);
  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(--shubh-background-color);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--shubh-brand-orange-dark);
}

.nav-link.active {
  color: var(--shubh-brand-orange-dark);
  background-color: var(--shubh-background-color);
  border-radius: 6px;
}

.nav-link.contact-btn-mobile.active {
  color: var(--shubh-brand-red-light);
  background-color: var(--shubh-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(--shubh-text);
  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: #dc3d3d;
  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: var(--shubh-brand-red-light);
  border-radius: 2px;
}

/* Mobile Styles */
/* Mobile Styles */
@media (max-width: 768px) {
  .nav-brand .brand-name {
    font-size: 1.1rem;
  }

  /* Style the contact button to look like a prominent menu item */
  .nav-link.contact-btn-mobile {
    display: block;
    color: var(--shubh-text);
    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: var(--shubh-brand-orange) !important;
  }

  /* Nav menu: make it fixed below navbar with padding */
  .nav-menu {
    position: fixed;
    left: -200%;
    top: 70px;
    flex-direction: column;
    background-color: var(--shubh-background-color);
    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;
  }

  .lang-btn {
    font-weight: 600;
    font-size: 0.7rem;
  }

  /* 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-menu {
    display: none;
  }

  .lang-dropdown.active .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;
  }
}

@media (max-width: 400px) {
  .nav-brand .brand-name {
    font-size: 1.1rem;
    display: none;
  }

  /* Style the contact button to look like a prominent menu item */
  .nav-link.contact-btn-mobile {
    display: block;
    color: var(--shubh-text);
    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: var(--shubh-brand-orange) !important;
  }

  /* Nav menu: make it fixed below navbar with padding */
  .nav-menu {
    position: fixed;
    left: -200%;
    top: 70px;
    flex-direction: column;
    background-color: var(--shubh-background-color);
    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;
  }

  .lang-btn {
    font-weight: 600;
    font-size: 0.7rem;
  }

  /* 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-menu {
    display: none;
  }

  .lang-dropdown.active .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;
  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(--shubh-brand-orange);
  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(--shubh-brand-red);
  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(--shubh-brand-red-light);
  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;
}

/* ===============================
   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-logo {
  width: 260px;
  height: auto;
  margin-bottom: 1rem;
}

.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;
  align-items: center;
  max-width: 1100px;
  width: min(92vw, 1100px);
  margin: 0 auto;
  padding: 0 1rem;
  color: #fff;
  text-align: center;
  justify-content: center;
}

.hero-text h1 {
  color: var(--shubh-white);
  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(--shubh-white);
  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(--shubh-gray);
  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-logo {
    width: 160px;
    /* smaller logo on mobile */
  }

  .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(--shubh-background-color);
}

.featured-products-section h2 {
  text-align: center;
  margin-bottom: var(--space-32);
  color: var(--shubh-text);
  font-size: var(--font-size-3xl);
}

/* Features Section */
.features-section {
  padding: var(--space-32) 0;
  background: var(--shubh-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(200, 8, 19, 0.9), rgba(253, 151, 2, 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.1);
}

/* --- 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(--shubh-brand-orange-dark);
  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: 1rem;
  }
}

/* motion safety */
@media (prefers-reduced-motion: reduce) {

  .product-card,
  .product-card-btn,
  .product-card-btn::after {
    transition: none;
  }
}

/* Popup Modal */
.pop-modal {
  display: none;
  position: fixed;
  z-index: 5000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.15);
  justify-content: center;
  align-items: center;
  font-size: 1rem;
}

.pop-modal:not(.hidden) {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}

/* Popup Modal Content */
.pop-modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 0;
  width: 98vw;
  max-width: 560px;
  max-height: 70vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.17);
  box-sizing: border-box;
}

/* Sticky Header */
.pop-modal-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--shubh-brand-orange-light);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  padding: 1.5rem 2.1rem 1.2rem 2.1rem;
  z-index: 10;
  margin: 0;
  box-sizing: border-box;
  /* Optional left border highlight */
  /* border-left: 6px solid #f15b80; */
}

/* Modal Title */
#pop-modal-title {
  margin: 0;
  font-weight: 800;
  font-size: 1.64rem;
  color: #353b32;
  flex-grow: 1;
  line-height: 1.15;
  letter-spacing: -0.5px;
  padding-left: 0.6rem;
}

#pop-modal-title h2 {
  border-left: 6px solid var(--shubh-text);
}

/* Close Button inside header, flex position */
.pop-modal-close {
  position: static;
  margin-left: 1rem;
  background: #49b44c;
  border-radius: 50%;
  color: #fff;
  width: 36px;
  height: 36px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 800;
  border: none;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.pop-modal-close:hover {
  background: #338b36;
  color: #ffebb2;
}

/* Modal Body */
#pop-modal-body {
  padding: 1rem 2.1rem 2rem 2.1rem;
  color: #000000;
}

/* Headings and list styles inside modal body */
#pop-modal-body h3 {
  margin: 1.35rem 0 0.7rem 0;
  color: var(--shubh-text);
  font-size: 1.18rem;
  text-transform: none;
  font-weight: 700;
  border-bottom: 1.5px solid var(--shubh-brand-orange-light);
  padding-bottom: 0.22rem;
}

#pop-modal-body ul {
  margin: 0.5rem 0 1.3rem 1.5rem;
  padding-left: 1.15rem;
}

#pop-modal-body ul li {
  margin-bottom: 0.43rem;
  font-size: 1.01rem;
  line-height: 1.54;
  color: #333;
}

#pop-modal-body h3:not(:first-child) {
  margin-top: 2.05rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Responsive for mobile */
@media (max-width: 600px) {
  .pop-modal-content {
    width: 95vw;
    max-height: 80vh;
    font-size: 0.9rem;
  }

  .pop-modal-header {
    padding: 1rem 1.5rem;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }

  #pop-modal-title {
    font-size: 1.3rem;
    padding-left: 0.8rem;
  }

  .pop-modal-close {
    width: 30px;
    height: 30px;
    font-size: 1.6rem;
    margin-left: 0.8rem;
  }

  #pop-modal-body {
    padding: 0.8rem 1.5rem 1.5rem 1.5rem;
  }
}

/* ===== HERO ===== */
/* Keep your wrapper, but make the hero go full-bleed while the body sits on #DDF5CF */
#product-detail-page {
  background: #eec7ba;
  /* covers full width */
  width: 100%;
}

.product-detail.container {
  /* page background under the hero */
  background: #eec7ba;
  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_2.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 0.75rem;
  padding-bottom: 0rem;
  border-bottom: 4px solid var(--shubh-text);
}

.pd-lead {
  color: #3b3426;
  margin: 0.75rem 0 1.5rem;
  line-height: 1.65;
}

.pd-block {
  margin: 2rem 0;
}

.pd-block__title {
  font-weight: 800;
  text-transform: uppercase;
  color: var(--shubh-text);
  margin: 0 0 0.75rem;
}

.pd-rows {
  display: grid;
  gap: 0.9rem;
}

.pd-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #b4e7a0;
}

.pd-row:last-child {
  border-bottom: 0;
}

.pd-row__label {
  color: var(--shubh-text);
  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, 0.3);
}

.pd-btn:hover {
  background: #d84f00;
}

/* Responsive */
@media (max-width: 786px) {
  .product-detail.container {
    background-color: #eec7ba;
  }

  .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.1);
  /* 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 Shyam Agri Biotech --- */

/* 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: use shyam-brand-blue-light */
.plyr__progress input[type="range"] {
  color: var(--shubh-brand-orange-light) !important;
  background: #404040 !important;
  /* dark background for buffer */
  height: 6px;
  border-radius: 0px;
}

/* Played bar: main shyam-brand-green */
.plyr__progress--played {
  background: var(--shubh-brand-red) !important;
}

/* Control icons: white by default, shyam-brand-green-dark on hover */
.plyr__control svg {
  fill: var(--shubh-white) !important;
}

.plyr__control:hover,
.plyr__control:focus {
  background-color: rgba(55, 129, 19, 0.15) !important;
  /* transparent shyam-brand-green-dark */
  border-radius: 0.25rem;
}

/* Play button: prominent shyam-brand-green, soft shadow */
.plyr__control--overlaid {
  background: var(--shubh-brand-red) !important;
  box-shadow: 0 2px 12px rgba(105, 190, 40, 0.18);
  /* shyam-brand-green lighter shadow */
  border-radius: 50%;
}

.plyr__control--overlaid svg {
  fill: var(--shubh-white) !important;
}

/* Volume slider */
.plyr__volume input[type="range"] {
  color: var(--shubh-brand-red) !important;
}

/* Time text, labels: use shyam-brand-green-dark */
.plyr__time {
  color: var(--shubh-brand-red-dark) !important;
  font-weight: bold;
}

/* Menu and tooltip backgrounds: soft shyam-brand-green-light, rounded */
.plyr__menu,
.plyr__tooltip {
  background: var(--shubh-brand-red-light) !important;
  color: var(--shubh-white) !important;
  border-radius: 0.75rem !important;
}

.plyr__menu__container {
  border-radius: 1rem !important;
}

/* Fullscreen button style */
.plyr__control--fullscreen svg {
  fill: var(--shubh-brand-red-dark) !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);
}

.about-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(200, 8, 19, 0.9), rgba(253, 151, 2, 0.9)),
    url("background/4.png");
  background-size: cover;
  background-position: center;
  padding: var(--space-32) 0;
  text-align: center;
  color: white;
}

.about-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about-header p {
  padding: 5px;
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.about-header .container {
  margin-top: 80px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/* 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(--shubh-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;
}

.contact-header {
  background: linear-gradient(rgba(200, 8, 19, 0.9), rgba(253, 151, 2, 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(200, 8, 19, 0.9), rgba(253, 151, 2, 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(200, 8, 19, 0.9), rgba(253, 151, 2, 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(--shubh-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(--shubh-brand-orange);
  /* 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 {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--shubh-brand-orange-dark);
  color: #fff;
  padding: 12px 36px;
  border: none;
  border-radius: 999px;
  /* pill shape */
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.5s, box-shadow 0.3s ease, transform 0.2s ease,
    background 0.2s;
  box-shadow: 0 2px 10px rgba(74, 124, 35, 0.07);
  outline: none;
}

/* Span for text inside button to control z-index */
.show-more-btn span {
  position: relative;
  z-index: 2;
  transition: color 0.8s;
}

/* Circular takeover background animation */
.show-more-btn::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 50%;
  width: 250%;
  aspect-ratio: 1;
  background: #222;
  /* dark takeover color */
  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;
}

/* On hover and focus: expand the circular background */
.show-more-btn:hover::after,
.show-more-btn:focus::after {
  transform: translate(-50%, 0) scale(1);
}

/* Hover and focus text and shadow effect */
.show-more-btn:hover,
.show-more-btn:focus {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
  background: var(--shubh-brand-orange-dark);
  /* keep original bg */
}

/* 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(--shubh-background-color, #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.2);
  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(--shubh-brand-orange-dark, #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(--shubh-brand-orange, #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(--shubh-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: 848px) {
  .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-item a {
  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 bottom,
      rgba(200, 8, 19, 0.9),
      rgba(253, 151, 2, 0.9));
  /* background: linear-gradient(to bottom,
      rgba(33, 172, 226, 0.9),
      rgba(105, 190, 40, 0.9)); */
  color: var(--shubh-white);
  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(--color-wheat-gold);
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0.03em;
}

.footer-section h4 {
  color: var(--color-wheat-gold);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: var(--shubh-white);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}

.footer-section ul li a:hover {
  color: var(--color-black);
}

.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: #ffffff;
  transition: color 0.2s;
  text-decoration: none;
}

.social-links a:hover {
  color: #000000;
}

.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;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
    justify-content: center;
  }

  .hero-content p {
    justify-content: center;
  }

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

  .filters-row {
    grid-template-columns: 1fr;
  }

  .product-detail-header {
    grid-template-columns: 1fr;
  }

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

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

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

  .qr-modal-content {
    width: 95%;
    margin: var(--space-16);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-12);
  }

  .hero-section {
    height: 70vh;
  }

  .product-detail,
  .guide-sections {
    margin: var(--space-16);
  }

  .video-iframe {
    height: 200px;
  }
}

.agri-page {
  font-family: Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}

.shubh-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.shubh-section-padding {
  padding: 4rem 0;
}

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

/* Hero Section */
.shubh-hero-section {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.shubh-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.shubh-hero-section .shubh-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.shubh-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 1rem;
}

.shubh-hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
}

.shubh-hero-content p {
  font-size: 1.25rem;
  font-weight: 300;
}

/* Company Intro */
.shubh-company-intro {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.shubh-company-intro .shubh-logo-container {
  flex: 1;
  text-align: center;
}

.shubh-company-intro .shubh-logo {
  width: 250px;
  height: auto;
  animation: fadeIn 2s ease-in-out;
}

.shubh-text-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  color: #388e3c;
}

.shubh-text-content h2::after {
  content: "";
  width: 80px;
  height: 4px;
  background-color: #689f38;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.shubh-text-content p {
  color: #000000;
}

.shubh-company-intro .shubh-text-content {
  flex: 2;
}

/* Founder Section */
.shubh-founder-section {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 4rem 0;
}

.shubh-founder-section .shubh-founder-image {
  flex: 1;
  text-align: center;
}

.shubh-founder-section .shubh-founder-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.shubh-founder-section .shubh-founder-image img:hover {
  transform: scale(1.03);
}

.shubh-founder-section .shubh-founder-info {
  flex: 2;
}

.shubh-founder-section .shubh-founder-info p {
  color: #000000;
}

.shubh-founder-section .shubh-founder-info h3 {
  color: #689f38;
  margin-bottom: 0.5rem;
}

/* Focus Cards & Mission/Vision */
.shubh-focus-cards,
.shubh-mission-vision {
  display: grid;
  gap: 2rem;
}

.shubh-focus-cards {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.shubh-mission-vision {
  grid-template-columns: 1fr 1fr;
}

.shubh-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.shubh-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.shubh-card img {
  width: 100px;
  height: auto;
  margin-bottom: 1rem;
}

.shubh-card h3 {
  color: #388e3c;
  font-size: 1.5rem;
}

.shubh-card p {
  color: #757575;
}

.shubh-mission-card,
.shubh-vision-card {
  background-color: #dcedc8;
  border-left: 5px solid #689f38;
  padding: 2rem;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.shubh-mission-card h3,
.shubh-vision-card h3 {
  color: #388e3c;
  margin-top: 0;
}

.shubh-mission-card p,
.shubh-vision-card p {
  color: #000;
}

/* Timeline */
.shubh-timeline {
  position: relative;
  padding: 2rem 0;
  margin: 0 2rem;
}

.shubh-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #689f38;
  transform: translateX(-50%);
}

.shubh-timeline-item {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 3rem;
}

.shubh-timeline-item.shubh-right {
  flex-direction: row-reverse;
}

.shubh-timeline-item .shubh-timeline-content {
  flex: 1;
  padding: 2rem;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 400px;
  position: relative;
}

.shubh-timeline-item.shubh-left .shubh-timeline-content {
  margin-right: 2rem;
}

.shubh-timeline-item.shubh-right .shubh-timeline-content {
  margin-left: 2rem;
}

.shubh-timeline-item .shubh-timeline-image {
  width: 150px;
  height: 150px;
  min-width: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #dcedc8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.shubh-timeline-item .shubh-timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 150px;
  max-height: 150px;
  border-radius: 50%;
}

.shubh-timeline-item .shubh-timeline-date {
  font-weight: 700;
  color: #388e3c;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.shubh-timeline-date-h3 {
  padding-bottom: 10px;
  color: #388e3c;
}

/* Stats */
.shubh-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.shubh-stat-item {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.shubh-stat-item .shubh-number {
  font-size: 3rem;
  font-weight: 700;
  color: #689f38;
  animation: countUp 2s ease-out;
}

.shubh-stat-item .shubh-label {
  font-size: 1.1rem;
  color: #757575;
}

/* Responsive Design */
@media (max-width: 992px) {

  .shubh-company-intro,
  .shubh-founder-section {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .shubh-company-intro .shubh-logo-container,
  .shubh-founder-section .shubh-founder-image {
    margin-bottom: 1rem;
  }

  .shubh-mission-vision {
    grid-template-columns: 1fr;
  }

  .shubh-timeline::before {
    left: 20px;
    transform: none;
  }

  .shubh-timeline-item {
    flex-direction: row !important;
    margin-bottom: 2rem;
  }

  .shubh-timeline-item .shubh-timeline-content {
    max-width: 100%;
    margin: 0 0 0 2rem;
  }

  .shubh-timeline-item .shubh-timeline-image {
    min-width: 100px;
    width: 100px;
    height: 100px;
  }

  .shubh-timeline-item .shubh-timeline-image img {
    max-width: 100px;
    max-height: 100px;
  }
}

/* Hide gradients/images when screen too small */
@media (max-width: 600px) {
  .section-header {
    padding: 28px 4px 18px 4px;
    background: #b71c1c;
    /* fallback solid */
    background-image: none;
    min-height: 100px;
  }

  .shubh-hero-section,
  .shubh-hero-section .shubh-hero-bg {
    height: 140px;
    min-height: 90px;
  }

  .shubh-hero-section {
    padding-bottom: 10px;
  }

  .shubh-focus-cards,
  .shubh-stats-grid {
    grid-template-columns: 1fr;
  }

  .shubh-stat-item {
    padding: 0.5rem 2px;
  }

  .shubh-timeline-item .shubh-timeline-image {
    min-width: 80px;
    width: 20vw;
    height: 20vw;
    max-width: 120px;
    max-height: 120px;
  }

  .shubh-timeline-item .shubh-timeline-image img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Further reduce sizes for extra small screens */
@media (max-width: 400px) {
  .shubh-company-intro .shubh-logo {
    width: 72px;
  }

  .shubh-founder-section .shubh-founder-image img {
    max-width: 110px;
  }

  .shubh-text-content h2,
  .shubh-text-content h3 {
    font-size: 1rem;
  }

  .shubh-stat-item .shubh-number {
    font-size: 1.1rem;
  }

  .shubh-timeline-item .shubh-timeline-image {
    min-width: 73px;
    width: 20vw;
    height: 20vw;
    max-width: 120px;
    max-height: 120px;
  }

  .shubh-timeline-item .shubh-timeline-image img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (hover: none) {
  .shubh-card:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }

  .shubh-founder-section .shubh-founder-image img:hover {
    transform: none;
  }
}

/* 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);
}
/* =========================================
   NEW HOME PAGE STYLES (Prefix: nh-)
   ========================================= */

/* --- 1. Video Hero Section --- */
.nh-hero {
  position: relative;
  height: 100vh; /* Full viewport height */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  margin-top: -90px; /* Pulls hero up behind transparent navbar */
}

/* Video Background */
.nh-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.nh-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures video fills screen perfectly */
}

/* Dark Overlay */
.nh-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(20, 50, 20, 0.9) 100%
  );
  z-index: 1;
}

/* Hero Content */
.nh-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  margin-top: 60px;
  animation: nhFadeUp 1s ease-out;
}

.nh-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.nh-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
  color: #fff;
}

.nh-text-highlight {
  color: var(--shubh-brand-orange, #fd9702); /* Using your brand orange */
}

.nh-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.nh-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.nh-btn-glow {
  box-shadow: 0 0 25px rgba(253, 151, 2, 0.6); /* Orange glow */
}

.nh-btn-white {
  border: 2px solid #fff;
  color: #fff;
}
.nh-btn-white:hover {
  background: #fff;
  color: var(--color-agricultural-green);
}

/* Scroll Indicator */
.nh-scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: nhBounce 2s infinite;
}

.nh-arrow {
  font-size: 1.5rem;
  margin-top: 5px;
}

/* --- 2. Stats Section --- */
.nh-stats-section {
  background: var(--color-agricultural-green, #2d5016);
  padding: 50px 0;
  color: #fff;
  position: relative;
  z-index: 2;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
}

.nh-stats-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  text-align: center;
}

.nh-stat-item {
  display: flex;
  flex-direction: column;
}

.nh-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--shubh-brand-orange, #fd9702);
}

.nh-stat-label {
  font-size: 0.95rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

/* --- 3. Features Section --- */
.nh-features-section {
  padding: 100px 0;
  background: linear-gradient(to bottom, #f0fdf4, #fff);
}

.nh-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.nh-section-header h2 {
  font-size: 2.5rem;
  color: var(--color-agricultural-green);
  margin-bottom: 15px;
}

.nh-section-header p {
  font-size: 1.2rem;
  color: #666;
}

.nh-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.nh-feature-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.nh-feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(37, 109, 27, 0.15);
  border-color: var(--color-agricultural-green);
}

.nh-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--shubh-brand-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nh-feature-card:hover::before {
  transform: scaleX(1);
}

.nh-icon-box {
  font-size: 3rem;
  margin-bottom: 20px;
  background: #e8f5e9;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
}

.nh-feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #2c3e50;
}

.nh-feature-card p {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* --- 4. Products Section Override --- */
.nh-products-section {
  padding: 80px 0;
  background-color: #fff;
}

.nh-section-header-left {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 40px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 20px;
}

.nh-section-header-left h2 {
  font-size: 2.2rem;
  color: #1a1a1a;
  margin: 0 0 5px 0;
}

.nh-section-header-left p {
  margin: 0;
  color: #666;
}

.nh-link-arrow {
  color: var(--color-agricultural-green);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  transition: transform 0.2s;
}

.nh-link-arrow:hover {
  transform: translateX(5px);
  color: var(--shubh-brand-orange);
}

/* --- 5. CTA Banner --- */
.nh-cta-banner {
  background: linear-gradient(rgba(35, 114, 57, 0.9), rgba(35, 114, 57, 0.9)), url('background/2.png');
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  text-align: center;
  color: #fff;
  margin-top: 40px;
}

.nh-cta-content h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 15px;
}

.nh-cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Animations */
@keyframes nhFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes nhBounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
  40% {transform: translateY(-10px) translateX(-50%);}
  60% {transform: translateY(-5px) translateX(-50%);}
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .nh-hero-content {
    margin-top: 80px;
  }
  
  .nh-actions {
    flex-direction: column;
    padding: 0 30px;
  }
  
  .nh-stats-grid {
    gap: 20px;
  }
  
  .nh-stat-item {
    flex: 1 1 45%; 
    padding-bottom: 10px;
  }
  
  .nh-section-header-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}
/* =========================================
   HERO IMAGE SLIDER STYLES (nh-)
   ========================================= */

.nh-hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  margin-top: -90px; /* Pulls hero up behind transparent navbar */
}

/* Background Container */
.nh-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Individual Slides */
/* --- SMOOTH SLIDER ANIMATION --- */

/* Individual Slides (Default State: Hidden & Zoomed In) */
.nh-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image fills the area */
  
  opacity: 0;        /* Hidden */
  transform: scale(1.15); /* Start slightly zoomed in */
  z-index: 0;
  
  /* The Secret to Smoothness:
     1. Longer Transform (12s) = Slower, subtler movement.
     2. Longer Opacity (2.5s) = Dreamy crossfade.
     3. linear transform = Constant speed, no speeding up/slowing down. */
  transition: opacity 2.5s ease-in-out, transform 12s linear;
  
  will-change: opacity, transform; /* performance booster for mobile */
}

/* The Active Slide (Visible & Normal Scale) */
.nh-bg-slide.active {
  opacity: 1;        /* Visible */
  transform: scale(1.0); /* Zoom to normal size */
  z-index: 1;
  
  /* Keep transition same as above for seamless direction */
  transition: opacity 2.5s ease-in-out, transform 12s linear;
}

/* Dark Overlay */
.nh-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(20, 50, 20, 0.9) 100%
  );
  z-index: 2; /* Sits above images */
}

/* Hero Content z-index fix */
.nh-hero-content {
  position: relative;
  z-index: 3; /* Sits above overlay */
}
.nh-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.nh-bg-slider,
.nh-bg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nh-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.35)
  );
}
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

body {
  padding-top: 80px; /* navbar height */
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }
}
.nh-title {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  line-height: 1.2;
}

.nh-subtitle {
  font-size: clamp(0.95rem, 2.8vw, 1.2rem);
  max-width: 90%;
  margin: 0 auto;
  text-align: center;
}
.nh-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .nh-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
/* ================================
   MOBILE SAFE HERO (NEW CLASSES)
   ================================ */

/* New Code */
.nh-hero-mobile-safe {
    display: flex;               /* Ensure flexbox is active */
    flex-direction: column;      /* Stacks image on top, text below */
    padding-top: 90px; 
    padding-bottom: 60px;
    min-height: auto;
    background: #000;
}

/* MOBILE ONLY */
@media (max-width: 768px) {
  .nh-hero-mobile-safe {
    min-height: auto;
    padding-top: 110px; /* navbar space */
    padding-bottom: 80px;
  }
}

/* -------------------------------
   BACKGROUND IMAGE FIX
-------------------------------- */

.nh-bg-mobile-safe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* desktop */
}

/* MOBILE IMAGE BEHAVIOR */
@media (max-width: 768px) {
  .nh-bg-mobile-safe {
    object-fit: contain;      /* 🔥 no crop */
    object-position: top center;
    background-color: #000;
  }
}

/* -------------------------------
   SLIDER BACKGROUND FILL
-------------------------------- */

@media (max-width: 768px) {
  .nh-bg-slider-mobile-safe {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.65),
      rgba(0, 0, 0, 0.85)
    );
  }
}

/* -------------------------------
   OVERLAY FIX
-------------------------------- */

.nh-overlay-mobile-safe {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.75)
  );
}

/* -------------------------------
   TEXT ALIGNMENT (MOBILE)
-------------------------------- */

@media (max-width: 768px) {
  .nh-hero-mobile-safe .nh-hero-content {
    text-align: center;
  }

  .nh-hero-mobile-safe .nh-title {
    font-size: 1.9rem;
    line-height: 1.25;
  }

  .nh-hero-mobile-safe .nh-subtitle {
    font-size: 0.95rem;
    max-width: 90%;
    margin: auto;
  }
}
.nh-bg-slide {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.nh-bg-slide.active {
  opacity: 1;
  z-index: 1;
}
/* ===============================
   MOBILE HERO LAYOUT FIX
================================ */

@media (max-width: 768px) {

  .nh-hero-mobile-safe {
    padding-top: 90px; /* navbar */
    padding-bottom: 60px;
    min-height: auto;
    background: #000;
  }

  /* Image area */
 /* Update around line 2389 in style.css */
.nh-hero-visual {
    width: 100%;
    max-height: 250px; /* Increased slightly for better visibility */
    overflow: hidden;
    margin-bottom: 24px;
    border-radius: 12px; /* Optional: Adds rounded corners to the mobile image */
}

  .nh-bg-slider-mobile-safe {
    position: relative;
    height: 220px;
    background: #000;
  }

  .nh-bg-mobile-safe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* ✅ safe now */
    object-position: center;
  }

  /* Text area */
  .nh-hero-content {
    text-align: center;
  }
}
