/* =====================================================
   SANDALWOOD FARMING INDIA - Main Stylesheet
   Design: India.gov.in inspired + Earthy Sandalwood
   ===================================================== */

/* === 1. CSS CUSTOM PROPERTIES === */
:root {
  --primary: #C8640A;
  --primary-dark: #9E4D06;
  --primary-light: #F0942E;
  --primary-glow: rgba(200,100,10,0.15);

  --secondary: #1B5E20;
  --secondary-dark: #0D3B13;
  --secondary-light: #2E7D32;
  --secondary-glow: rgba(27,94,32,0.15);

  --sandal: #C8A16B;
  --sandal-light: #EDD9B5;
  --sandal-dark: #8B6914;
  --sandal-cream: #FBF4E8;

  --red-sandal: #8B1A1A;
  --red-sandal-light: #C94040;
  --red-sandal-glow: rgba(139,26,26,0.12);

  --gold: #C9A227;
  --gold-light: #F0CC66;

  --white: #FFFFFF;
  --cream: #FDF8F0;
  --off-white: #F9F4EC;
  --gray-50: #FAFAF8;
  --gray-100: #F4EFE6;
  --gray-200: #E6DDD0;
  --gray-300: #D0C4B4;
  --gray-400: #B0A494;
  --gray-500: #8A7D6E;
  --gray-600: #665E52;
  --gray-700: #4A4438;
  --gray-800: #302B24;
  --gray-900: #1A1610;
  --black: #0A0806;

  --font-serif: 'Playfair Display', 'Georgia', serif;
  --font-sans: 'Inter', 'Helvetica Neue', sans-serif;
  --font-regional: 'Noto Sans', 'Mangal', sans-serif;

  --shadow-xs: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.08);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1), 0 2px 6px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12), 0 4px 10px rgba(0,0,0,0.08);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.15), 0 6px 16px rgba(0,0,0,0.08);
  --shadow-2xl: 0 24px 64px rgba(0,0,0,0.18);
  --shadow-colored: 0 8px 30px rgba(200,100,10,0.25);
  --shadow-green: 0 8px 30px rgba(27,94,32,0.25);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-fast: 0.15s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.5s cubic-bezier(0.4,0,0.2,1);
  --transition-bounce: 0.4s cubic-bezier(0.34,1.56,0.64,1);

  --container: 1280px;
  --section-py: 96px;
  --section-py-sm: 64px;
  --header-h: 72px;
  --topbar-h: 40px;
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--gray-800);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.lang-hi, body.lang-te, body.lang-kn, body.lang-ta, body.lang-ml, body.lang-pa, body.lang-gu {
  font-family: var(--font-regional);
}

/* English only → Times New Roman (regional languages keep their Noto fonts). */
html[lang="en"] {
  --font-sans:  'Times New Roman', Times, serif;
  --font-serif: 'Times New Roman', Times, serif;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* === 3. TYPOGRAPHY === */
.heading-serif {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1, h2, h3 { font-family: var(--font-serif); line-height: 1.2; letter-spacing: -0.01em; }
h4, h5, h6 { font-family: var(--font-sans); font-weight: 600; }

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.5vw, 2rem); font-weight: 600; }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p { line-height: 1.75; }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }

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

.section { padding: var(--section-py) 0; }
.section-sm { padding: var(--section-py-sm) 0; }

.grid { display: grid; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* === 5. TOP GOVERNMENT BAR === */
.topbar {
  background: linear-gradient(135deg, #1B3A6B 0%, #0D2347 100%);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.9);
  position: relative;
  z-index: 1000;
}

.topbar .container { justify-content: space-between; display: flex; align-items: center; }

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-emblem {
  width: 24px;
  height: 24px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="45" fill="%23F4BC1C" stroke="%23B8860B" stroke-width="2"/><text x="50" y="65" font-size="50" text-anchor="middle" fill="%23B8860B">🕉</text></svg>') center/cover;
  filter: brightness(1.2);
}

.topbar-text { font-weight: 500; letter-spacing: 0.03em; }
.topbar-text span { color: var(--gold-light); font-weight: 600; }

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-link {
  color: rgba(255,255,255,0.8);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}
.topbar-link:hover { color: var(--gold-light); }

/* Live weather widget (topbar) */
.topbar-weather {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 3px 12px;
  white-space: nowrap;
  cursor: default;
}
.topbar-weather .tw-icon { font-size: 0.95rem; line-height: 1; }
.topbar-weather .tw-temp { color: var(--gold-light); }
.topbar-weather .tw-sep { opacity: 0.5; }
.topbar-weather .tw-place { max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.topbar-weather.tw-loading { opacity: 0.7; }
.topbar-weather.tw-error { opacity: 0.6; }

/* === 6. NAVIGATION === */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: var(--header-h);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.06);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-top: 6px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
}

.logo-text { line-height: 1.1; }
.logo-text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--secondary-dark);
  font-weight: 700;
}
.logo-text span {
  font-size: 0.65rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 6px 10px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
  position: relative;
}

.nav-link:hover {
  color: var(--secondary);
  background: var(--secondary-glow);
}

.nav-link.active {
  color: var(--secondary);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--secondary);
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: var(--cream);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  background: var(--secondary-glow);
}

.lang-btn svg { width: 14px; height: 14px; transition: transform var(--transition-fast); }
.lang-btn.open svg { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  min-width: 180px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.97);
  transition: all var(--transition);
  z-index: 200;
}

.lang-dropdown.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background var(--transition-fast);
  border-bottom: 1px solid var(--gray-100);
}

.lang-option:last-child { border-bottom: none; }
.lang-option:hover { background: var(--cream); }
.lang-option.active { background: var(--secondary-glow); color: var(--secondary); font-weight: 600; }

.lang-flag { font-size: 1.1rem; }
.lang-name { flex: 1; font-weight: 500; }
.lang-native { color: var(--gray-500); font-size: 0.78rem; }

.btn-nav-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(200,100,10,0.3);
}

.btn-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,100,10,0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

/* === 7. HERO SECTION === */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - var(--topbar-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(155deg, #0D3B13 0%, #1B5E20 35%, #2D6A4F 65%, #1B3A1B 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  opacity: 0.25;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,59,19,0.92) 0%,
    rgba(27,94,32,0.80) 40%,
    rgba(45,106,79,0.70) 70%,
    rgba(13,35,13,0.88) 100%
  );
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 32px 32px;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(200,162,107,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: 10%;
  right: -5%;
  width: 40%;
  height: 50%;
  background: radial-gradient(ellipse, rgba(27,94,32,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 80px 0 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(200,162,107,0.15);
  border: 1px solid rgba(200,162,107,0.35);
  border-radius: var(--radius-full);
  color: var(--sandal-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  animation: fadeInDown 0.8s ease forwards;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--sandal);
  border-radius: var(--radius-full);
  animation: pulse 2s infinite;
}

.hero-title {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  animation: fadeInUp 0.9s 0.1s ease both;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--sandal), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .highlight-red {
  background: linear-gradient(135deg, #FF6B6B, #FF4040);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.7;
  animation: fadeInUp 0.9s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeInUp 0.9s 0.3s ease both;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 24px rgba(200,100,10,0.5);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

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

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(200,100,10,0.6);
}

.btn-hero-primary:hover::before { opacity: 1; }

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s 0.4s ease both;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat-value {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--sandal-light);
  line-height: 1;
  font-family: var(--font-serif);
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.15);
  align-self: stretch;
}

.hero-image-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s 0.3s ease both;
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.hero-img-main {
  width: 100%;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  border: 2px solid rgba(255,255,255,0.1);
  object-fit: cover;
  height: 460px;
}

.hero-img-badge {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-img-badge-icon { font-size: 1.8rem; }

.hero-img-badge-text strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--secondary-dark);
}

.hero-img-badge-text span {
  font-size: 0.72rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  animation: bounce 2s infinite;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

/* === 8. STATS BAR === */
.stats-bar {
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
  padding: 0;
  overflow: hidden;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid rgba(255,255,255,0.1);
}

.stat-item {
  padding: 32px 24px;
  text-align: center;
  position: relative;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: background var(--transition);
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,0.05); }

.stat-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--sandal);
  transition: width var(--transition-slow);
}

.stat-item:hover::before { width: 60%; }

.stat-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  display: block;
}

.stat-number {
  display: block;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--sandal-light);
  line-height: 1;
  font-family: var(--font-serif);
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 4px;
  display: block;
}

/* === 9. SECTION HEADERS === */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--secondary-glow);
  border: 1px solid rgba(27,94,32,0.2);
  border-radius: var(--radius-full);
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-tag-dot {
  width: 5px;
  height: 5px;
  background: var(--secondary);
  border-radius: var(--radius-full);
}

.section-title {
  color: var(--gray-900);
  margin-bottom: 16px;
}

.section-title .accent {
  color: var(--secondary);
}

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

.section-divider {
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--sandal));
  border-radius: var(--radius-full);
  margin: 24px auto 0;
}

/* === 10. CARD COMPONENT === */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  border: 1px solid var(--gray-100);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.card-img-wrap { overflow: hidden; }

.card-body { padding: 24px; }
.card-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.card-tag.green { background: var(--secondary-glow); color: var(--secondary); }
.card-tag.orange { background: var(--primary-glow); color: var(--primary-dark); }
.card-tag.red { background: var(--red-sandal-glow); color: var(--red-sandal); }
.card-tag.gold { background: rgba(201,162,39,0.12); color: var(--sandal-dark); }

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  font-family: var(--font-serif);
}

.card-text { font-size: 0.9rem; color: var(--gray-600); line-height: 1.7; }

/* === 11. TYPES SECTION (White vs Red) === */
.types-section { background: var(--off-white); }

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

.type-card {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition);
}

.type-card:hover { transform: translateY(-8px); }

.type-card-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.type-card:hover .type-card-img { transform: scale(1.04); }
.type-card-img-wrap { overflow: hidden; position: relative; }

.type-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65%;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, transparent 100%);
  pointer-events: none;
}

.type-card-content {
  position: relative;
  padding: 28px;
  background: var(--white);
}

.type-card-badge {
  position: absolute;
  top: -20px;
  left: 28px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-md);
}

.type-card.white .type-card-badge {
  background: var(--sandal);
  color: var(--white);
}

.type-card.red .type-card-badge {
  background: var(--red-sandal);
  color: var(--white);
}

.type-card-name {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 16px 0 6px;
  font-family: var(--font-serif);
}

.type-card.white .type-card-name { color: var(--sandal-dark); }
.type-card.red .type-card-name { color: var(--red-sandal); }

.type-card-latin {
  font-style: italic;
  color: var(--gray-500);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.type-card-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 20px;
}

.type-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.type-spec {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 12px;
  border-left: 3px solid transparent;
}

.type-card.white .type-spec { border-left-color: var(--sandal); }
.type-card.red .type-spec { border-left-color: var(--red-sandal); }

.type-spec-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 3px;
}

.type-spec-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-800);
}

.type-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: gap var(--transition);
}

.type-card.white .type-card-link { color: var(--sandal-dark); }
.type-card.red .type-card-link { color: var(--red-sandal); }
.type-card-link:hover { gap: 10px; }

/* === 12. GROWING CONDITIONS SECTION === */
.conditions-section { background: var(--cream); }

.conditions-tabs {
  display: flex;
  gap: 8px;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 6px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
  border: 1px solid var(--gray-100);
}

.cond-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
}

.cond-tab-btn:hover { color: var(--secondary); background: var(--secondary-glow); }

.cond-tab-btn.active {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--white);
  box-shadow: var(--shadow-green);
}

.cond-tab-icon { font-size: 1.1rem; }

.conditions-panel { display: none; }
.conditions-panel.active { display: block; animation: fadeInUp 0.4s ease; }

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cond-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.cond-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
}

.cond-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.cond-icon {
  width: 52px;
  height: 52px;
  background: var(--secondary-glow);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.cond-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.cond-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--secondary);
  font-family: var(--font-serif);
  margin-bottom: 6px;
}

.cond-note { font-size: 0.82rem; color: var(--gray-500); }

/* === 13. CULTIVATION STEPS === */
.cultivation-section { background: var(--off-white); }

.steps-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--secondary), var(--sandal), var(--secondary));
  transform: translateX(-50%);
}

.step-item {
  display: flex;
  gap: 40px;
  margin-bottom: 48px;
  position: relative;
}

.step-item:nth-child(even) { flex-direction: row-reverse; }

.step-content {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  position: relative;
}

.step-item:nth-child(odd) .step-content::after {
  content: '';
  position: absolute;
  top: 24px;
  right: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid var(--white);
}

.step-item:nth-child(even) .step-content::after {
  content: '';
  position: absolute;
  top: 24px;
  left: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid var(--white);
}

.step-content:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }

.step-number-wrap {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.step-number {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  box-shadow: var(--shadow-green);
  border: 3px solid var(--white);
}

.step-space { flex: 1; }

.step-icon { font-size: 2rem; margin-bottom: 12px; }
.step-title { font-size: 1.1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.step-desc { font-size: 0.875rem; color: var(--gray-600); line-height: 1.75; }

.step-tips {
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--secondary-glow);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  color: var(--secondary-dark);
}

.step-tips strong { font-weight: 700; }

/* === 14. DISEASE SECTION === */
.disease-section { background: var(--cream); }

.disease-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.disease-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.disease-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.disease-header {
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--red-sandal), #6B0F0F);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 14px;
}

.disease-header.yellow { background: linear-gradient(135deg, #B8860B, #8B6914); }
.disease-header.brown { background: linear-gradient(135deg, #795548, #4E342E); }
.disease-header.purple { background: linear-gradient(135deg, #6A1B9A, #4A148C); }

.disease-icon { font-size: 2rem; }
.disease-name { font-size: 1.05rem; font-weight: 700; }
.disease-type { font-size: 0.72rem; opacity: 0.85; letter-spacing: 0.05em; }

.disease-body { padding: 20px 24px; }

.disease-section-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  font-weight: 700;
  margin-bottom: 6px;
  margin-top: 14px;
}

.disease-section-label:first-child { margin-top: 0; }

.disease-list {
  list-style: none;
}

.disease-list li {
  font-size: 0.85rem;
  color: var(--gray-700);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.disease-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
}

.cure-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 12px;
  background: rgba(27,94,32,0.1);
  border: 1px solid rgba(27,94,32,0.25);
  border-radius: var(--radius-full);
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 600;
}

/* === 15. HARVESTING SECTION === */
.harvest-section { background: var(--off-white); }

.harvest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.harvest-img-col { position: relative; }

.harvest-img-main {
  width: 100%;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  height: 500px;
  object-fit: cover;
}

.harvest-img-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 180px;
  height: 180px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  border: 4px solid var(--white);
}

.harvest-text-col {}

.harvest-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.harvest-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.harvest-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-light);
}

.harvest-item-icon {
  width: 44px;
  height: 44px;
  background: var(--secondary-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.harvest-item-title { font-weight: 700; color: var(--gray-900); font-size: 0.95rem; margin-bottom: 3px; }
.harvest-item-desc { font-size: 0.82rem; color: var(--gray-500); }

/* === 16. MARKET SECTION === */
.market-section { background: var(--cream); }

.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.price-card {
  background: linear-gradient(135deg, var(--white), var(--cream));
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.price-card.grade-a::before { background: linear-gradient(90deg, var(--gold), var(--sandal)); }
.price-card.grade-b::before { background: linear-gradient(90deg, var(--secondary), var(--secondary-light)); }
.price-card.grade-c::before { background: linear-gradient(90deg, var(--gray-400), var(--gray-500)); }

.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2xl); }

.price-grade {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.price-card.grade-a .price-grade { background: rgba(201,162,39,0.15); color: var(--sandal-dark); }
.price-card.grade-b .price-grade { background: var(--secondary-glow); color: var(--secondary); }
.price-card.grade-c .price-grade { background: var(--gray-100); color: var(--gray-600); }

.price-value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  font-family: var(--font-serif);
  color: var(--gray-900);
  margin-bottom: 4px;
}

.price-per { font-size: 0.78rem; color: var(--gray-500); margin-bottom: 16px; }
.price-desc { font-size: 0.82rem; color: var(--gray-600); line-height: 1.65; }

.market-buyers {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}

.buyers-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 24px;
  font-family: var(--font-serif);
}

.buyers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.buyer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.buyer-item:hover { background: var(--secondary-glow); border-color: var(--secondary-light); }

.buyer-icon { font-size: 1.5rem; }
.buyer-name { font-weight: 600; font-size: 0.875rem; color: var(--gray-800); }
.buyer-type { font-size: 0.72rem; color: var(--gray-500); }

/* === 17. GOVERNMENT SECTION === */
.govt-section { background: linear-gradient(135deg, #0D2347 0%, #1B3A6B 100%); }

.govt-section .section-tag { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: var(--sandal-light); }
.govt-section .section-title { color: var(--white); }
.govt-section .section-desc { color: rgba(255,255,255,0.7); }
.govt-section .section-divider { background: linear-gradient(90deg, var(--sandal), var(--gold)); }

.govt-tabs {
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 6px;
  margin-bottom: 40px;
  border: 1px solid rgba(255,255,255,0.1);
}

.govt-tab-btn {
  flex: 1;
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.govt-tab-btn:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.govt-tab-btn.active { background: var(--sandal); color: var(--gray-900); box-shadow: var(--shadow-colored); }

.govt-panel { display: none; }
.govt-panel.active { display: block; animation: fadeInUp 0.4s ease; }

.govt-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.govt-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 24px;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}

.govt-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(200,161,107,0.4);
  transform: translateY(-3px);
}

.govt-card-icon { font-size: 2rem; margin-bottom: 12px; }
.govt-card-title { font-size: 1rem; font-weight: 700; color: var(--sandal-light); margin-bottom: 8px; }
.govt-card-desc { font-size: 0.82rem; color: rgba(255,255,255,0.7); line-height: 1.7; }
.govt-card-year { display: inline-block; margin-top: 10px; padding: 3px 10px; background: rgba(200,161,107,0.2); border-radius: var(--radius-full); font-size: 0.72rem; color: var(--sandal); font-weight: 600; }

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

.state-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 24px;
  transition: all var(--transition);
}

.state-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }

.state-name { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.state-emoji { font-size: 1.4rem; }
.state-emblem {
  width: 40px; height: 40px; flex: 0 0 40px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.state-rule {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  gap: 8px;
}

.state-rule:last-child { border-bottom: none; }
.state-rule-bullet { color: var(--sandal); flex-shrink: 0; }

/* === 18. FAQ SECTION === */
.faq-section { background: var(--off-white); }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: box-shadow var(--transition);
}

.faq-item.open { box-shadow: var(--shadow-md); border-color: var(--secondary-light); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--gray-900);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  gap: 16px;
}

.faq-question:hover { color: var(--secondary); }
.faq-item.open .faq-question { color: var(--secondary); }

.faq-icon {
  width: 28px;
  height: 28px;
  background: var(--secondary-glow);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  transition: transform var(--transition), background var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--secondary);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-in;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  transition: max-height 0.5s ease-out;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.8;
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
}

/* === 19. FOOTER === */
.footer {
  background: linear-gradient(135deg, #1A1610 0%, #0A0806 100%);
  color: var(--white);
  padding: 80px 0 0;
}

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

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.footer-logo strong {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  display: block;
}

.footer-logo span { font-size: 0.65rem; color: rgba(255,255,255,0.5); }

.footer-desc { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.75; margin-bottom: 24px; }

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  transition: all var(--transition);
}
.social-btn svg { width: 18px; height: 18px; display: block; }
.social-btn:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,0.3); }

/* Brand colours appear on hover only */
.social-facebook:hover  { background: #1877F2; }
.social-x:hover         { background: #000000; }
.social-youtube:hover   { background: #FF0000; }
.social-instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-linkedin:hover  { background: #0A66C2; }
.social-whatsapp:hover  { background: #25D366; }
.social-telegram:hover  { background: #229ED9; }
.social-pinterest:hover { background: #BD081C; }

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sandal);
  margin-bottom: 20px;
}

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

.footer-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover { color: var(--white); }
.footer-link::before { content: '→'; opacity: 0; transition: opacity var(--transition-fast); font-size: 0.75rem; }
.footer-link:hover::before { opacity: 1; }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  gap: 16px;
  flex-wrap: wrap;
}

.footer-disclaimer {
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  margin-top: 0;
}

.footer-disclaimer p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
  line-height: 1.6;
}

/* === 20. INFO BANNER === */
.info-banner {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.info-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.info-banner h2 { color: var(--white); margin-bottom: 16px; }
.info-banner p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--sandal);
  color: var(--gray-900);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-colored);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(200,161,107,0.45); }

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.35);
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
}

.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }

/* === 21. MOBILE NAV === */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: var(--white);
  z-index: 1000;
  box-shadow: -8px 0 32px rgba(0,0,0,0.15);
  transition: right var(--transition-slow);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

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

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-nav-overlay.open { opacity: 1; pointer-events: all; }

.mobile-nav-header {
  padding: 24px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav-close {
  width: 36px;
  height: 36px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.mobile-nav-close:hover { background: var(--gray-200); }

.mobile-nav-links {
  padding: 16px;
  flex: 1;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--transition-fast);
  margin-bottom: 4px;
}

.mobile-nav-link:hover { background: var(--secondary-glow); color: var(--secondary); }
.mobile-nav-link .icon { font-size: 1.2rem; }

.mobile-lang-section {
  padding: 16px 24px 32px;
  border-top: 1px solid var(--gray-100);
}

.mobile-lang-title { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-500); margin-bottom: 12px; font-weight: 700; }

.mobile-lang-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

.mobile-lang-btn {
  padding: 8px 4px;
  background: var(--cream);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1.5px solid var(--gray-200);
}

.mobile-lang-btn:hover, .mobile-lang-btn.active { background: var(--secondary-glow); color: var(--secondary); border-color: var(--secondary-light); }

/* === 22. ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.4); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

@keyframes countUp { from { opacity: 0; } to { opacity: 1; } }

/* Scroll-reveal classes */
/* Reveal-on-scroll: only hidden when JS is active (progressive enhancement).
   Without JS the .js class is never added, so content is visible by default. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.js .reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-left.visible { opacity: 1; transform: translateX(0); }

.js .reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-right.visible { opacity: 1; transform: translateX(0); }

.js .reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* === 23. UTILITY CLASSES === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.font-serif { font-family: var(--font-serif); }
.text-white { color: var(--white); }
.text-cream { color: var(--cream); }
.text-secondary { color: var(--secondary); }
.text-primary { color: var(--primary); }
.text-sandal { color: var(--sandal); }
.text-gray { color: var(--gray-600); }
.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.d-none { display: none; }
.d-block { display: block; }
.w-full { width: 100%; }
.overflow-hidden { overflow: hidden; }

/* === 24. PRELOADER === */
.preloader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, var(--secondary-dark), #0A1A0A);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden { opacity: 0; visibility: hidden; }

.preloader-logo { font-size: 4rem; animation: float 2s ease infinite; }

.preloader-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--sandal-light);
  font-weight: 700;
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.preloader-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--sandal), var(--gold));
  border-radius: var(--radius-full);
  animation: loading 1.5s ease forwards;
}

@keyframes loading {
  from { width: 0; }
  to { width: 100%; }
}

/* === 25. RESPONSIVE === */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image-col { display: none; }
  .nav-menu { display: none; }
  .btn-nav-cta { display: none; }
  .hamburger { display: flex; }
  .types-grid { grid-template-columns: 1fr; }
  .harvest-grid { grid-template-columns: 1fr; }
  .harvest-img-col { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .conditions-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-py: 56px; --section-py-sm: 40px; }
  .container { padding: 0 16px; }
  .topbar { display: none; }
  .hero-stats { gap: 16px; }
  .market-grid { grid-template-columns: 1fr; }
  .steps-timeline::before { left: 24px; }
  .step-item { flex-direction: column !important; padding-left: 72px; }
  .step-item:nth-child(even) { flex-direction: column !important; }
  .step-content::after { display: none !important; }
  .step-number-wrap { left: 0; transform: none; }
  .step-space { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .conditions-grid { grid-template-columns: 1fr; }
  .govt-tabs { flex-wrap: wrap; }
  .govt-tab-btn { flex: unset; }
  /* Lang switcher lives in the mobile slide-out menu on phones — hide the navbar copy
     so the hamburger never overflows the viewport */
  .nav-actions .lang-switcher { display: none; }
  /* Wide data tables scroll inside their own box instead of stretching the page */
  table { display: block; width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-hero-primary, .btn-hero-secondary { justify-content: center; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 2.4rem; }
}

/* === 26. PRINT === */
@media print {
  .topbar, .navbar, .hamburger, .mobile-nav, .hero-scroll-indicator { display: none; }
  body { background: white; }
}

/* === 27. PUNJABI FONT SUPPORT === */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Gurmukhi:wght@400;500;600;700&family=Noto+Sans+Gujarati:wght@400;500;600;700&display=swap');
body.lang-pa { font-family: 'Noto Sans Gurmukhi', 'Noto Sans', sans-serif; }
body.lang-gu { font-family: 'Noto Sans Gujarati', 'Noto Sans', sans-serif; }

/* === 28. ANIMATION ENHANCEMENTS === */

/* Smoother step timeline arrows */
.step-item:nth-child(odd) .step-content::after {
  filter: drop-shadow(2px 0 3px rgba(0,0,0,0.04));
}
.step-item:nth-child(even) .step-content::after {
  filter: drop-shadow(-2px 0 3px rgba(0,0,0,0.04));
}

/* Hero badge pulse animation */
.hero-badge {
  animation: fadeInDown 0.7s ease both;
}

/* Counter shimmer on load */
@keyframes counterIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.stat-number { animation: counterIn 0.4s ease both; }

/* Card hover lift improvement */
.card:hover, .type-card:hover {
  transform: translateY(-8px) scale(1.005);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.28s ease;
}

/* Smooth tab panel appearance */
.conditions-panel.active,
.govt-panel.active {
  animation: panelIn 0.32s ease both;
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero stats divider glow */
.hero-stat-value {
  text-shadow: 0 0 20px rgba(200, 161, 107, 0.4);
}

/* Improved focus styles for accessibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Language dropdown improved scroll for 7 items */
.lang-dropdown {
  max-height: 320px;
  overflow-y: auto;
}
.lang-dropdown::-webkit-scrollbar { width: 4px; }
.lang-dropdown::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 4px; }

/* Step timeline improved centering */
.step-number-wrap {
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  z-index: 2;
}

.steps-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* Ensure step items don't overlap the center dot on mobile */
@media (max-width: 768px) {
  .step-number-wrap {
    position: absolute;
    left: -56px;
    top: 20px;
    transform: none;
  }
}

/* Government section card reveal animation */
.govt-card {
  transition: background var(--transition), border-color var(--transition),
              transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Buyer item hover improvement */
.buyer-item:hover {
  transform: translateX(4px);
  transition: all 0.2s ease;
}

/* Price card number shine */
.price-value {
  background: linear-gradient(135deg, var(--gray-900), var(--gray-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.price-card.grade-a .price-value {
  background: linear-gradient(135deg, #8B6914, #C8A951);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Mobile nav link animation */
.mobile-nav-link {
  transform: translateX(0);
  transition: all 0.2s ease;
}
.mobile-nav-link:hover {
  transform: translateX(6px);
}

/* Back-to-top button */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* Full-width dynamic page/post body (admin-pasted HTML controls its own layout) */
.dyn-fullwidth { width: 100%; }
.dyn-fullwidth img { max-width: 100%; height: auto; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(27,94,32,0.4); }

/* Back-to-top button ring animation (now scoped to the button, not the page) */
.back-to-top::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(27, 94, 32, 0.35);
  animation: ring 2.5s ease infinite;
  opacity: 0;
  pointer-events: none;
}
.back-to-top.visible::after { opacity: 1; }
@keyframes ring {
  0%   { transform: scale(1); opacity: 0.6; }
  70%  { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* Improve hero scroll indicator smoothness */
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50%       { transform: translateX(-50%) translateY(10px); opacity: 0.6; }
}
.hero-scroll-indicator { animation: scrollBounce 2.2s ease infinite; }

/* Stat item number locale formatting */
.stat-number.counter { font-variant-numeric: tabular-nums; }

/* Smooth scrollbar for long pages */
html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  /* Show reveal content immediately — no motion dependency */
  .js .reveal, .js .reveal-left, .js .reveal-right, .js .reveal-scale { opacity: 1 !important; transform: none !important; }
}

/* === 30. FOOTER VISITOR COUNTER (inline in footer-bottom) === */
.footer-visitors-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.footer-visitors-inline strong {
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}

/* === 29. GOOGLE TRANSLATE (sub-pages) — hide banner & branding === */
#google_translate_element { display: none !important; }
.goog-te-banner-frame, .goog-te-banner-frame.skiptranslate { display: none !important; }
.goog-te-gadget, .goog-te-gadget-icon, .goog-logo-link { display: none !important; }
.goog-te-gadget-simple { display: none !important; }
/* Google adds top:40px to body for its banner — neutralize it */
body { top: 0 !important; position: static !important; }
.skiptranslate iframe { display: none !important; visibility: hidden !important; }
/* tooltip popup that Google injects on hover */
#goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

