/* ==========================================================================
   POLLEN SEEDS PRIVATE LIMITED — PREMIUM MASTER STYLESHEET
   ISO 9001:2015 Certified | Hybrid Seed Production & Marketing Experts
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. GOOGLE FONTS IMPORT
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette — Sophisticated Professional Greens */
  --primary-green: #1b4332;
  --dark-forest-green: #102a1e;
  --darker-green: #081610;
  --accent-green: #2d6a4f;
  --golden-yellow: #7cb342;
  --golden-hover: #558b2f;
  --golden-light: #f1f8e9;
  --premium-white: #FFFFFF;
  --light-cream: #ffffff;
  --earth-brown: #5d4037;
  --light-green: #eaf5ea;
  --sage-green: #cde7be;
  --grey: #64748B;
  --light-grey: #F8FAFC;
  --border-grey: #E2E8F0;
  --dark-text: #0F172A;
  --body-text: #475569;
  --muted-text: #94A3B8;

  /* Shadows & Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(255, 255, 255, 0.2);
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.05);
  --card-shadow-hover: 0 20px 40px rgba(27, 67, 50, 0.06), 0 8px 16px rgba(0, 0, 0, 0.04);
  --hover-shadow: 0 20px 50px rgba(27, 67, 50, 0.08);
  --glow-green: 0 0 30px rgba(27, 67, 50, 0.03);
  --glow-gold: 0 0 20px rgba(124, 179, 66, 0.04);

  /* Typography Stack */
  --font-heading: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Border Radii */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & ACCESSIBILITY
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--light-cream);
  color: var(--body-text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark-text);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p {
  color: var(--body-text);
  line-height: 1.75;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--golden-yellow);
  color: var(--dark-forest-green);
  padding: 12px 24px;
  font-weight: 700;
  border-radius: var(--radius-xs);
  z-index: 9999;
  transition: top 0.3s ease;
  text-decoration: none;
  font-family: var(--font-body);
}
.skip-link:focus {
  top: 20px;
}

:focus-visible {
  outline: 3px solid var(--golden-yellow);
  outline-offset: 3px;
}

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

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

/* --------------------------------------------------------------------------
   3. LAYOUT & CONTAINERS
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.grid {
  display: grid;
  gap: 32px;
}

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

/* --------------------------------------------------------------------------
   4. TOP BAR
   -------------------------------------------------------------------------- */
.top-bar {
  background: var(--dark-forest-green);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.825rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 100;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-info {
  display: flex;
  gap: 24px;
  align-items: center;
}

.top-info-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.top-info-item svg {
  width: 16px;
  height: 16px;
  fill: var(--golden-yellow);
  flex-shrink: 0;
}

.top-badge {
  background: var(--golden-yellow);
  color: var(--premium-white);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   5. SITE HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition-normal);
}

.site-header:hover {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  gap: 40px;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  transition: transform var(--transition-normal);
}

.brand-logo-img:hover {
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 550;
  font-size: 0.875rem;
  color: var(--dark-text);
  padding: 10px 18px;
  border-radius: var(--radius-xs);
  transition: all var(--transition-normal);
  position: relative;
  letter-spacing: 0.01em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 24px;
  height: 2.5px;
  background: var(--golden-yellow);
  border-radius: var(--radius-full);
  transition: transform var(--transition-normal);
}

.nav-link:hover {
  color: var(--primary-green);
  background: var(--light-green);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
  color: var(--primary-green);
  font-weight: 650;
}

/* Mobile toggle (hidden by default on desktop) */
.nav-toggle-input { display: none; }
.nav-toggle-label { display: none; }

/* --------------------------------------------------------------------------
   6. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 0.9rem;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--primary-green);
  color: var(--premium-white);
  box-shadow: 0 4px 12px rgba(27, 67, 50, 0.12);
}

.btn-primary:hover {
  color: var(--premium-white);
  background: var(--accent-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 67, 50, 0.18);
}

.btn-secondary {
  background: var(--golden-yellow);
  color: var(--premium-white);
  box-shadow: 0 4px 12px rgba(124, 179, 66, 0.1);
}

.btn-secondary:hover {
  color: var(--premium-white);
  background: var(--golden-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 179, 66, 0.15);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: var(--premium-white);
  border: 2px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  color: var(--premium-white);
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   7. HERO SECTION (Home Page)
   -------------------------------------------------------------------------- */
.hero {
  background: var(--dark-forest-green);
  color: var(--premium-white);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

/* Decorative organic shapes */
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-slow 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 179, 66, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-slow 25s ease-in-out infinite reverse;
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--premium-white);
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-title span {
  color: var(--golden-yellow);
}

.hero-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
}

.hero-description strong {
  color: var(--premium-white);
}

.hero-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition-normal);
}

.hero-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.hero-card h3 {
  color: var(--premium-white) !important;
}

.hero-card p, .hero-card span {
  color: rgba(255, 255, 255, 0.85);
}

.hero-card li {
  color: rgba(255, 255, 255, 0.85);
}

.hero-card svg {
  fill: var(--golden-yellow);
}

/* --------------------------------------------------------------------------
   8. SECTION COMPONENTS
   -------------------------------------------------------------------------- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--light-green);
  color: var(--primary-green);
  padding: 6px 20px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid var(--border-grey);
}

.section-tag--yellow {
  background: var(--golden-light);
  color: var(--earth-brown);
  border-color: var(--border-grey);
}

.section-title {
  margin-bottom: 16px;
  position: relative;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--grey);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.75;
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-grey), transparent);
  margin: 0;
}

/* --------------------------------------------------------------------------
   9. FEATURE CARDS
   -------------------------------------------------------------------------- */
.feature-card {
  background: var(--premium-white);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-green);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.feature-card:hover::before {
  opacity: 1;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--dark-text);
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--grey);
  flex-grow: 1;
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  background: var(--light-green) !important;
  border-radius: var(--radius-sm) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-green);
  transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--primary-green) !important;
  color: var(--premium-white) !important;
  transform: scale(1.08);
}

.feature-card:hover .feature-icon-wrapper svg {
  fill: var(--premium-white);
}

/* --------------------------------------------------------------------------
   10. PAGE HERO (Sub-pages)
   -------------------------------------------------------------------------- */
.page-hero {
  background: var(--dark-forest-green);
  padding: 56px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero h1 {
  color: var(--premium-white);
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: var(--golden-yellow);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--premium-white);
}

/* --------------------------------------------------------------------------
   11. TEAM CARDS
   -------------------------------------------------------------------------- */
.team-card {
  background: var(--premium-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-grey);
  transition: all var(--transition-normal);
  box-shadow: var(--card-shadow);
}

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

.team-photo-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--light-grey);
}

.team-photo-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 67, 50, 0.4) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.team-card:hover .team-photo-wrapper::after {
  opacity: 1;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-normal);
}

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

.team-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark-text);
}

.team-degree {
  font-size: 0.825rem;
  color: var(--grey);
  margin-bottom: 10px;
  font-weight: 500;
}

.team-role {
  display: inline-block;
  background: var(--primary-green);
  color: var(--premium-white);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   12. PRODUCT CATALOG (Marketing)
   -------------------------------------------------------------------------- */
.catalog-section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary-green);
  padding: 14px 28px;
  background: var(--light-green);
  border-radius: var(--radius-sm);
  margin-bottom: 28px;
  letter-spacing: 0.06em;
  border: 1px solid var(--border-grey);
}

.catalog-section-title svg {
  fill: var(--golden-yellow);
  flex-shrink: 0;
}

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

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

.product-image-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--light-cream);
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image-container img {
  transform: scale(1.08);
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: var(--dark-forest-green);
  color: var(--premium-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
}

.product-body {
  padding: 20px;
  flex-grow: 1;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.spec-table tr {
  border-bottom: 1px solid var(--border-grey);
  transition: background var(--transition-fast);
}

.spec-table tr:last-child {
  border-bottom: none;
}

.spec-table tr:hover {
  background: var(--light-green);
}

.spec-table td {
  padding: 9px 10px;
  vertical-align: top;
  line-height: 1.5;
}

.spec-table td:first-child {
  font-weight: 600;
  color: var(--dark-text);
  white-space: nowrap;
  width: 42%;
}

.spec-table td:last-child {
  color: var(--grey);
}

/* --------------------------------------------------------------------------
   13. CTA / DARK SECTION
   -------------------------------------------------------------------------- */
.bg-dark-forest {
  background: var(--dark-forest-green);
  color: var(--premium-white);
  position: relative;
  overflow: hidden;
}

.bg-dark-forest::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   14. BADGES
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-green {
  background: var(--light-green);
  color: var(--primary-green);
  border: 1px solid rgba(15, 107, 58, 0.12);
}

.badge-yellow {
  background: var(--golden-light);
  color: var(--earth-brown);
  border: 1px solid rgba(212, 160, 18, 0.15);
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark-text);
  background: var(--light-cream);
  border: 2px solid var(--border-grey);
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary-green);
  background: var(--premium-white);
  box-shadow: 0 0 0 4px rgba(15, 107, 58, 0.08);
}

.form-control::placeholder {
  color: var(--muted-text);
}

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

/* --------------------------------------------------------------------------
   16. CROP CALENDAR / GANTT CHART
   -------------------------------------------------------------------------- */
.crop-filter-form {
  position: relative;
}

.crop-chk-crop {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.crop-filter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}

.crop-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  color: var(--dark-text);
  background: var(--premium-white);
  border: 2px solid var(--border-grey);
  cursor: pointer;
  transition: all var(--transition-normal);
  user-select: none;
}

.crop-filter-btn:hover {
  border-color: var(--primary-green);
  color: var(--primary-green);
  background: var(--light-green);
}

.crop-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  color: var(--premium-white);
  background: #dc2626;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.crop-reset-btn:hover {
  transform: translateY(-2px);
  background: #b91c1c;
}

/* Pure CSS Multi-Select Active States */
#crop-chk-tomato:checked ~ .crop-filter-nav label[for="crop-chk-tomato"],
#crop-chk-cucumber:checked ~ .crop-filter-nav label[for="crop-chk-cucumber"],
#crop-chk-sweetpepper:checked ~ .crop-filter-nav label[for="crop-chk-sweetpepper"],
#crop-chk-hotpepper:checked ~ .crop-filter-nav label[for="crop-chk-hotpepper"],
#crop-chk-okra:checked ~ .crop-filter-nav label[for="crop-chk-okra"],
#crop-chk-eggplant:checked ~ .crop-filter-nav label[for="crop-chk-eggplant"],
#crop-chk-watermelon:checked ~ .crop-filter-nav label[for="crop-chk-watermelon"],
#crop-chk-muskmelon:checked ~ .crop-filter-nav label[for="crop-chk-muskmelon"],
#crop-chk-spongegourd:checked ~ .crop-filter-nav label[for="crop-chk-spongegourd"],
#crop-chk-ridgegourd:checked ~ .crop-filter-nav label[for="crop-chk-ridgegourd"],
#crop-chk-bottlegourd:checked ~ .crop-filter-nav label[for="crop-chk-bottlegourd"],
#crop-chk-bittergourd:checked ~ .crop-filter-nav label[for="crop-chk-bittergourd"] {
  background: var(--primary-green);
  color: #fff;
  border-color: transparent;
}

/* Crop Row Visibility Logic */
.crop-chk-crop:checked ~ .crop-gantt-container .gantt-crop-row {
  display: none;
}

#crop-chk-tomato:checked ~ .crop-gantt-container tr[data-crop="tomato"],
#crop-chk-cucumber:checked ~ .crop-gantt-container tr[data-crop="cucumber"],
#crop-chk-sweetpepper:checked ~ .crop-gantt-container tr[data-crop="sweetpepper"],
#crop-chk-hotpepper:checked ~ .crop-gantt-container tr[data-crop="hotpepper"],
#crop-chk-okra:checked ~ .crop-gantt-container tr[data-crop="okra"],
#crop-chk-eggplant:checked ~ .crop-gantt-container tr[data-crop="eggplant"],
#crop-chk-watermelon:checked ~ .crop-gantt-container tr[data-crop="watermelon"],
#crop-chk-muskmelon:checked ~ .crop-gantt-container tr[data-crop="muskmelon"],
#crop-chk-spongegourd:checked ~ .crop-gantt-container tr[data-crop="spongegourd"],
#crop-chk-ridgegourd:checked ~ .crop-gantt-container tr[data-crop="ridgegourd"],
#crop-chk-bottlegourd:checked ~ .crop-gantt-container tr[data-crop="bottlegourd"],
#crop-chk-bittergourd:checked ~ .crop-gantt-container tr[data-crop="bittergourd"] {
  display: table-row;
}

/* Gantt Table */
.crop-gantt-container {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-grey);
  background: var(--premium-white);
  box-shadow: var(--card-shadow);
}

.gantt-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  table-layout: fixed;
}

.gantt-header-row {
  background: var(--dark-forest-green);
}

.gantt-header-row th {
  color: var(--premium-white);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 14px 8px;
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.gantt-header-row th:last-child {
  border-right: none;
}

.crop-col-header {
  width: 140px;
  text-align: left !important;
  padding-left: 20px !important;
}

.gantt-crop-row {
  border-bottom: 1px solid var(--border-grey);
  transition: background var(--transition-fast);
}

.gantt-crop-row:hover {
  background: var(--light-green);
}

.gantt-crop-row:last-child {
  border-bottom: none;
}

.gantt-crop-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--dark-text);
  padding: 16px 20px;
  white-space: nowrap;
  vertical-align: middle;
  font-family: var(--font-heading);
}

.gantt-months-cell {
  padding: 10px 0;
  position: relative;
}

/* Grid Background */
.gantt-grid-bg {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  position: absolute;
  inset: 0;
}

.gantt-grid-col {
  border-right: 1px solid rgba(0, 0, 0, 0.04);
}

.gantt-grid-col:last-child {
  border-right: none;
}

/* Bars Container */
.gantt-bars-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 1;
  padding: 4px 0;
}

.gantt-track {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  min-height: 14px;
}

/* Gantt Bars */
.gantt-bar {
  height: 14px;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  cursor: default;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.gantt-bar:hover {
  transform: scaleY(1.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.gantt-bar--sowing {
  background: var(--golden-yellow);
}

.gantt-bar--pollination {
  background: var(--primary-green);
}

.gantt-bar--harvest {
  background: var(--dark-forest-green);
}

/* Gantt Legend */
.gantt-legend {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.gantt-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-text);
}

.gantt-legend-box {
  width: 28px;
  height: 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.gantt-legend-box--sowing {
  background: var(--golden-yellow);
}

.gantt-legend-box--pollination {
  background: var(--primary-green);
}

.gantt-legend-box--harvest {
  background: var(--dark-forest-green);
}

/* --------------------------------------------------------------------------
   17. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--darker-green);
  color: #ffffff;
  padding: 64px 0 0;
  margin-top: 0;
}

.site-footer p {
  color: #ffffff;
}

.site-footer a:not(.btn) {
  color: rgba(255, 255, 255, 0.85);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-title {
  font-family: var(--font-heading);
  color: var(--premium-white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--golden-yellow);
  border-radius: var(--radius-full);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '';
  width: 0;
  height: 2px;
  background: var(--golden-yellow);
  transition: width var(--transition-normal);
  border-radius: var(--radius-full);
}

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

.footer-links a:hover::before {
  width: 12px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* --------------------------------------------------------------------------
   18. STATS SECTION (Home page)
   -------------------------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 60px 0;
}

.stat-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--premium-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-grey);
  transition: all var(--transition-normal);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary-green);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--grey);
  letter-spacing: 0.01em;
}

/* --------------------------------------------------------------------------
   19. SCROLL REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-50px);
}

.reveal-right {
  transform: translateX(50px);
}

.reveal-scale {
  transform: scale(0.92);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Stagger Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.25s; }
.delay-3 { transition-delay: 0.4s; }
.delay-4 { transition-delay: 0.55s; }

/* --------------------------------------------------------------------------
   20. 404 PAGE
   -------------------------------------------------------------------------- */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}

.error-code {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 800;
  color: var(--primary-green);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.error-title {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--dark-text);
}

.error-description {
  font-size: 1.1rem;
  color: var(--grey);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   21. UTILITY CLASSES
   -------------------------------------------------------------------------- */
.bg-cream {
  background-color: var(--light-cream);
}

.bg-white {
  background-color: var(--premium-white);
}

.img-rounded {
  border-radius: var(--radius-lg);
}

/* --------------------------------------------------------------------------
   22. SCROLLBAR STYLING
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 10px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-cream);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-green);
  border-radius: var(--radius-full);
  border: 2px solid var(--light-cream);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dark-forest-green);
}

/* --------------------------------------------------------------------------
   23. SELECTION STYLING
   -------------------------------------------------------------------------- */
::selection {
  background: rgba(27, 67, 50, 0.12);
  color: var(--dark-forest-green);
}

/* --------------------------------------------------------------------------
   24. SMOOTH PAGE TRANSITIONS
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main {
  animation: fadeInUp 0.6s ease-out;
}
