/**
 * Farmer ID Card Download Platform
 * Modern Indian Agriculture Technology Design System
 * Domain: https://farmeridcarddownload.com
 */

:root {
  /* Agriculture Color Palette */
  --primary-green: #1b5e20;
  --primary-dark: #0d3811;
  --forest-green: #2e7d32;
  --leaf-green: #388e3c;
  --fresh-green: #4caf50;
  --light-green-bg: #f2f8f2;
  --emerald-subtle: #e8f5e9;

  /* Golden Accents */
  --gold-primary: #d97706;
  --gold-light: #f59e0b;
  --gold-soft: #fef3c7;
  --gold-border: #fcd34d;

  /* Neutrals & Surfaces */
  --bg-main: #f9fbf9;
  --surface-card: #ffffff;
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --border-subtle: #e5e7eb;
  --border-card: #dcfce7;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
  --gradient-dark: linear-gradient(135deg, #0d3811 0%, #1b5e20 100%);
  --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gradient-hero: linear-gradient(135deg, rgba(13, 56, 17, 0.92) 0%, rgba(27, 94, 32, 0.84) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 251, 245, 0.9) 100%);

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 18px rgba(27, 94, 32, 0.08);
  --shadow-lg: 0 14px 34px rgba(27, 94, 32, 0.12);
  --shadow-hover: 0 20px 40px rgba(27, 94, 32, 0.18);
  --shadow-gold: 0 8px 24px rgba(217, 119, 6, 0.28);

  /* Layout & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base & Typography */
body {
  font-family: 'Noto Sans', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Sans', 'Noto Sans Devanagari', sans-serif;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.015em;
}

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

/* Language font helper */
[lang="mr"], .lang-mr, [lang="hi"], .lang-hi {
  font-family: 'Noto Sans Devanagari', 'Noto Sans', sans-serif;
}

/* Utility Badges & Tags */
.badge-gold {
  background: var(--gold-soft);
  color: #92400e;
  border: 1px solid var(--gold-border);
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.825rem;
  letter-spacing: 0.02em;
}

.badge-green {
  background: var(--emerald-subtle);
  color: var(--primary-green);
  border: 1px solid #bbf7d0;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.825rem;
}

.badge-demo {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px dashed #f87171;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Header & Top Bar */
.top-notice-bar {
  background: var(--primary-dark);
  color: #d1fae5;
  font-size: 0.82rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.top-notice-bar a {
  color: #fde68a;
  text-decoration: underline;
}
.top-notice-bar .separator {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 0.5rem;
}

/* Sticky Navigation */
.navbar-custom {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27, 94, 32, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth);
  padding: 0.75rem 0;
}
.navbar-custom.scrolled {
  padding: 0.45rem 0;
  box-shadow: 0 6px 25px rgba(27, 94, 32, 0.12);
}

.navbar-brand-custom {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.navbar-brand-logo {
  height: 52px;
  max-height: 54px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  transition: var(--transition-smooth);
}
.navbar-brand-logo:hover {
  transform: scale(1.02);
}
.footer-brand-logo {
  height: 46px;
  max-height: 48px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  display: block;
}

.nav-link-custom {
  font-weight: 600;
  color: var(--text-primary) !important;
  padding: 0.5rem 0.9rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  font-size: 0.93rem;
}
.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--primary-green) !important;
  background: var(--emerald-subtle);
}

/* Action Buttons in Navbar */
.btn-nav-portal {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
}
.btn-farmer-portal {
  background: var(--emerald-subtle);
  color: var(--primary-green);
  border: 1px solid #a7f3d0;
}
.btn-farmer-portal:hover {
  background: var(--primary-green);
  color: #ffffff;
}

.btn-center-portal {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}
.btn-center-portal:hover {
  background: var(--gold-light);
  color: #ffffff;
}

/* Language Switcher */
.lang-dropdown {
  position: relative;
  display: inline-block;
}
.lang-toggle-btn {
  background: #ffffff;
  border: 1.5px solid #d1fae5;
  color: var(--primary-green);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition-smooth);
}
.lang-toggle-btn:hover,
.lang-toggle-btn[aria-expanded="true"] {
  background: var(--primary-green);
  color: #ffffff !important;
  border-color: var(--primary-green);
}
.lang-toggle-btn:hover i,
.lang-toggle-btn[aria-expanded="true"] i {
  color: #ffffff !important;
}
.lang-toggle-btn::after {
  margin-left: 0.35rem;
  vertical-align: 0.15em;
}

.lang-dropdown-menu {
  min-width: 170px;
  border-radius: 12px;
  border: 1px solid rgba(22, 163, 74, 0.2);
  padding: 0.4rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  margin-top: 0.35rem !important;
}
.lang-select-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  color: var(--text-dark);
  transition: all 0.15s ease;
}
.lang-select-item:hover {
  background-color: #f0fdf4;
  color: var(--primary-green);
}
.lang-select-item.active {
  background-color: #ecfdf5;
  color: var(--primary-green);
  font-weight: 700;
}
.lang-code-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  background: #e2e8f0;
  color: #475569;
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  letter-spacing: 0.5px;
}
.lang-select-item.active .lang-code-pill {
  background: #dcfce7;
  color: var(--primary-green);
}
.lang-btn.active {
  background-color: #ffffff !important;
  color: var(--primary-green) !important;
  font-weight: 700;
  border-color: #ffffff !important;
}

/* Standard Buttons */
.btn-primary-custom {
  background: var(--gradient-primary);
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  border: none;
  box-shadow: 0 4px 15px rgba(27, 94, 32, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}
.btn-primary-custom:hover {
  background: var(--gradient-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 94, 32, 0.35);
}

.btn-gold-custom {
  background: var(--gradient-gold);
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  border: none;
  box-shadow: var(--shadow-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}
.btn-gold-custom:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(217, 119, 6, 0.4);
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary-green) !important;
  font-weight: 700;
  padding: 0.72rem 1.5rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--forest-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}
.btn-outline-custom:hover {
  background: var(--primary-green);
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Hero Section */
.hero-slider-section {
  position: relative;
  background: var(--primary-dark);
  color: #ffffff;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
}

.hero-slider-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  filter: brightness(0.42);
  transform: scale(1.04);
  transition: transform 6s ease;
}
.hero-slide.active .hero-bg-overlay {
  transform: scale(1);
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(13, 56, 17, 0.95) 0%, rgba(27, 94, 32, 0.85) 55%, rgba(13, 56, 17, 0.65) 100%);
  z-index: 1;
}

.hero-foreground-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 3.5rem 0 4rem;
}

.hero-badge-pill {
  background: rgba(245, 158, 11, 0.2);
  border: 1.5px solid var(--gold-light);
  color: #fde68a;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.3);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.18;
  color: #ffffff;
  margin-bottom: 0.75rem;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: #d1fae5;
  margin-bottom: 0.85rem;
  max-width: 620px;
}
.hero-offer-box {
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--gold-light);
  backdrop-filter: blur(8px);
  padding: 0.65rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.25rem;
  max-width: 620px;
}
.hero-offer-text {
  font-size: 0.92rem;
  color: #fef3c7;
  margin: 0;
  font-weight: 500;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* Hero Floating Authentication & Registration Card (Matched to Website Brand) */
.hero-auth-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.35rem 1.6rem;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25), 0 2px 10px rgba(0, 0, 0, 0.06);
  border: 1.5px solid rgba(22, 163, 74, 0.22);
  border-top: 4px solid #16a34a;
  position: relative;
  z-index: 5;
  text-align: left;
  color: var(--text-primary);
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* Attractive Portal Trust Badge */
.auth-portal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 0.32rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.12);
}

/* Mode Switcher Tabs (Login vs Register) */
.hero-auth-mode-tabs {
  display: flex;
  background: #f1f5f9;
  border-radius: 11px;
  padding: 3.5px;
  gap: 4px;
  margin-bottom: 0.95rem;
}
.hero-auth-mode-tab {
  flex: 1;
  text-align: center;
  padding: 0.48rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  outline: none;
}
.hero-auth-mode-tab:hover {
  color: #15803d;
  background: rgba(255, 255, 255, 0.65);
}
.hero-auth-mode-tab.active {
  background: linear-gradient(135deg, #15803d 0%, #16a34a 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(22, 163, 74, 0.28);
  font-weight: 800;
}

/* Field Group & Labels */
.auth-field-group {
  margin-bottom: 0.65rem;
}
.auth-field-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.22rem;
  display: block;
}

/* Bulletproof Flex Input Box */
.auth-input-box {
  display: flex !important;
  align-items: center !important;
  background: #f8fafc;
  border: 1.5px solid #dcfce7;
  border-radius: 10px;
  padding: 0.12rem 0.75rem;
  transition: all 0.2s ease;
  width: 100%;
}
.auth-input-box:focus-within {
  background: #ffffff;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}
.hero-auth-card.center-active .auth-input-box {
  border-color: #fde68a;
}
.hero-auth-card.center-active .auth-input-box:focus-within {
  border-color: #d97706;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.auth-input-icon {
  color: #16a34a;
  font-size: 1.05rem;
  margin-right: 0.55rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-auth-card.center-active .auth-input-icon {
  color: #d97706;
}

.auth-input-field {
  flex: 1;
  width: 100%;
  border: none;
  background: transparent;
  padding: 0.5rem 0.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1e293b;
  outline: none;
}
.auth-input-field::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.btn-toggle-password {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0 0 0 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  outline: none;
  transition: color 0.15s ease;
}
.btn-toggle-password:hover {
  color: #16a34a;
}

/* Options Row (Stay logged in / Reset Password) */
.auth-options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.4rem 0 0.75rem;
  font-size: 0.82rem;
}
.auth-stay-logged {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #475569;
  cursor: pointer;
  margin: 0;
  font-weight: 500;
  user-select: none;
}
.auth-stay-logged input[type="checkbox"] {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  border: 1.5px solid #cbd5e1;
  accent-color: #16a34a;
  cursor: pointer;
}
.hero-auth-card.center-active .auth-stay-logged input[type="checkbox"] {
  accent-color: #d97706;
}
.auth-reset-link {
  color: #15803d;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.15s ease;
}
.auth-reset-link:hover {
  color: #166534;
  text-decoration: underline;
}
.hero-auth-card.center-active .auth-reset-link {
  color: #b45309;
}
.hero-auth-card.center-active .auth-reset-link:hover {
  color: #78350f;
}

/* Primary Submit Button */
.btn-hero-auth-submit {
  width: 100%;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: none;
  box-shadow: 0 8px 22px rgba(22, 163, 74, 0.35);
  transition: all 0.2s ease;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.btn-hero-auth-submit:hover {
  background: linear-gradient(135deg, #15803d 0%, #166534 100%);
  box-shadow: 0 10px 28px rgba(22, 163, 74, 0.45);
  transform: translateY(-1px);
}

/* OR Divider */
.auth-or-divider {
  position: relative;
  text-align: center;
  margin: 0.65rem 0;
}
.auth-or-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e2e8f0;
}
.auth-or-badge {
  position: relative;
  display: inline-block;
  background: #ffffff;
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0 0.65rem;
  letter-spacing: 0.05em;
}

/* Bottom Switch Text */
.auth-bottom-switch {
  text-align: center;
  font-size: 0.84rem;
  color: #475569;
  margin: 0;
}
.auth-switch-link {
  color: #15803d;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.15s ease;
}
.auth-switch-link:hover {
  color: #166534;
}

.auth-center-link {
  color: #b45309;
  text-decoration: underline;
  font-size: 0.82rem;
  transition: color 0.15s ease;
}
.auth-center-link:hover {
  color: #78350f;
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.slider-arrow:hover {
  background: var(--gold-light);
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

.slider-indicators {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.slider-dot.active {
  width: 32px;
  background: var(--gold-light);
}

/* Promotional Price Section */
.pricing-banner-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--light-green-bg) 100%);
  padding: 4.5rem 0;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-card-highlight {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 2px solid #bbf7d0;
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}
.pricing-card-highlight:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--forest-green);
}

.pricing-ribbon {
  position: absolute;
  top: 24px;
  right: -36px;
  background: var(--gradient-gold);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  padding: 0.35rem 3.5rem;
  transform: rotate(45deg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.price-display-wrapper {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 1.2rem 0;
}
.price-symbol {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-green);
}
.price-huge {
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--primary-green);
  line-height: 1;
}
.price-cycle {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 500;
}

.price-features-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.price-features-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--text-primary);
}
.price-features-list li i {
  color: var(--forest-green);
  font-size: 1.1rem;
}

.price-validity-pill {
  background: var(--gold-soft);
  color: #92400e;
  border: 1px solid var(--gold-border);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Service Cards */
.services-section {
  padding: 5rem 0;
  background: var(--bg-main);
}

.service-card {
  background: #ffffff;
  border: 1px solid rgba(27, 94, 32, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: #86efac;
}

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--light-green-bg);
  border: 1.5px solid #dcfce7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest-green);
  font-size: 1.75rem;
  margin-bottom: 1.4rem;
  transition: var(--transition-smooth);
}
.service-card:hover .service-icon-box {
  background: var(--gradient-primary);
  color: #ffffff;
  transform: rotate(6deg) scale(1.05);
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}
.service-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Two Separate Registration Options */
.registration-options-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--light-green-bg) 0%, #ffffff 100%);
  position: relative;
}

.registration-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.8rem;
  height: 100%;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* Farmer Card Styling */
.registration-card.farmer-card {
  border: 2px solid #a7f3d0;
}
.registration-card.farmer-card:hover {
  border-color: var(--forest-green);
  box-shadow: 0 20px 45px rgba(27, 94, 32, 0.16);
  transform: translateY(-6px);
}
.registration-card.farmer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-primary);
}

/* Center Card Styling */
.registration-card.center-card {
  border: 2px solid #fde68a;
  background: #ffffff;
}
.registration-card.center-card:hover {
  border-color: var(--gold-light);
  box-shadow: 0 20px 45px rgba(217, 119, 6, 0.16);
  transform: translateY(-6px);
}
.registration-card.center-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-gold);
}

.reg-card-icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin-bottom: 1.5rem;
}
.farmer-card .reg-card-icon {
  background: var(--emerald-subtle);
  color: var(--primary-green);
}
.center-card .reg-card-icon {
  background: var(--gold-soft);
  color: #b45309;
}

/* How It Works Section */
.how-it-works-section {
  padding: 5rem 0;
  background: #ffffff;
  position: relative;
}

.hiw-step-box {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.6rem;
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
  height: 100%;
}
.hiw-step-box:hover {
  background: #ffffff;
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #86efac;
}

.hiw-number-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  background: var(--gradient-primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(27, 94, 32, 0.3);
}

.hiw-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px dashed #86efac;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.8rem auto 1.2rem;
  font-size: 1.6rem;
  color: var(--forest-green);
}

/* Farmer ID Card Showcase (Realistic Mockup) */
.card-showcase-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--light-green-bg) 50%, #ffffff 100%);
  position: relative;
}

.id-card-stage {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  padding: 1.5rem 0;
}

.id-card-wrapper {
  transition: transform 0.25s ease-out;
  transform-style: preserve-3d;
  width: 100%;
  max-width: 440px;
}

.farmer-id-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(13, 56, 17, 0.16), 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1.5px solid #a7f3d0;
  position: relative;
}

/* Hologram Header */
.id-card-header {
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 60%, #15803d 100%);
  color: #ffffff;
  padding: 0.85rem 1.1rem;
  position: relative;
  overflow: hidden;
}
.id-card-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
}

.id-card-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.id-card-dept-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #d1fae5;
  margin: 0;
}
.id-card-main-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.id-card-body {
  padding: 1.15rem;
  position: relative;
  background: #ffffff;
}

.id-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-25deg);
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(220, 38, 38, 0.08);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.15em;
  z-index: 1;
}

.id-card-grid {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.id-photo-box {
  width: 110px;
  height: 130px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #86efac;
  background: #f3f4f6;
  position: relative;
}
.id-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.id-chip-icon {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(245, 158, 11, 0.95);
  color: #ffffff;
  width: 24px;
  height: 20px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

.id-details-list {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.id-field-row {
  display: flex;
  flex-direction: column;
}
.id-field-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  line-height: 1;
  margin-bottom: 2px;
}
.id-field-value {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.25;
}
.id-field-value.highlight-id {
  color: var(--primary-green);
  font-size: 0.88rem;
  font-family: monospace;
  letter-spacing: 0.03em;
}

/* Card Footer with QR */
.id-card-footer {
  border-top: 1px dashed #d1fae5;
  padding: 0.65rem 1.15rem;
  background: #f8faf8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.id-qr-box {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border: 1px solid #d1fae5;
  border-radius: 4px;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.id-qr-svg {
  width: 100%;
  height: 100%;
}

.id-barcode-mock {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 140px;
}
.id-barcode-line {
  height: 16px;
  background: repeating-linear-gradient(90deg, #1f2937 0px, #1f2937 2px, transparent 2px, transparent 4px, #1f2937 4px, #1f2937 5px, transparent 5px, transparent 7px);
  width: 100%;
}
.id-barcode-text {
  font-size: 0.62rem;
  font-family: monospace;
  color: var(--text-muted);
  text-align: center;
}

/* Phone Mockup Frame */
.phone-mockup-frame {
  width: 100%;
  max-width: 320px;
  background: #111827;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  border: 4px solid #374151;
  margin: 0 auto;
}
.phone-screen {
  background: #ffffff;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  min-height: 480px;
}
.phone-notch {
  width: 110px;
  height: 16px;
  background: #111827;
  border-radius: 0 0 12px 12px;
  margin: 0 auto 10px;
}

/* Dedicated Promotional Banners Section */
.promo-banners-section {
  padding: 4rem 0;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.promo-banner-card {
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
  border-radius: var(--radius-lg);
  color: #ffffff;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 0;
  height: 100%;
}
.promo-banner-card.accent-gold {
  background: linear-gradient(135deg, #0d3811 0%, #1b5e20 60%, #b45309 100%);
}

/* Testimonials Carousel */
.testimonials-section {
  padding: 5rem 0;
  background: var(--bg-main);
}
.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(27, 94, 32, 0.08);
  padding: 2.2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #86efac;
}

.testi-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.testi-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--emerald-subtle);
  border: 2px solid var(--forest-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary-green);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.testi-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

/* FAQ Accordion */
.faq-section {
  padding: 5rem 0;
  background: #ffffff;
}

.accordion-custom .accordion-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md) !important;
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: var(--transition-smooth);
}
.accordion-custom .accordion-item:hover {
  border-color: #86efac;
}

.accordion-custom .accordion-button {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1.02rem;
  padding: 1.2rem 1.4rem;
  background: #ffffff;
  box-shadow: none;
}
.accordion-custom .accordion-button:not(.collapsed) {
  color: var(--primary-green);
  background: var(--light-green-bg);
  box-shadow: none;
}
.accordion-custom .accordion-button::after {
  background-size: 1.1rem;
}
.accordion-custom .accordion-body {
  padding: 1.2rem 1.4rem;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background: var(--bg-main);
}
.contact-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.8rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
}

.contact-info-panel {
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  color: #ffffff;
  padding: 2.5rem;
  height: 100%;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Form Styles */
.form-label-custom {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.form-control-custom,
.form-select-custom {
  border: 1.5px solid #d1d5db;
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.95rem;
  font-size: 0.93rem;
  transition: var(--transition-smooth);
  width: 100%;
}
.form-control-custom:focus,
.form-select-custom:focus {
  border-color: var(--forest-green);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
  outline: none;
}

.input-password-group {
  position: relative;
}
.btn-toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  font-size: 1rem;
}
.btn-toggle-password:hover {
  color: var(--primary-green);
}

/* Footer */
.footer-main {
  background: var(--primary-dark);
  color: #d1fae5;
  padding-top: 4.5rem;
  border-top: 3px solid var(--gold-light);
  font-size: 0.92rem;
}

.footer-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.4rem;
  position: relative;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 36px;
  height: 2.5px;
  background: var(--gold-light);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.65rem;
}
.footer-links a {
  color: #d1fae5;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.footer-links a:hover {
  color: #fde68a;
  transform: translateX(4px);
}

.footer-disclaimer-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--gold-light);
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  margin: 2.5rem 0 1.5rem;
  font-size: 0.825rem;
  color: #e5e7eb;
  line-height: 1.6;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  margin-top: 1.5rem;
  font-size: 0.85rem;
}

/* WhatsApp Floating Button */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
}
.whatsapp-floating-btn:hover {
  transform: scale(1.1) translateY(-3px);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

/* Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 96px;
  right: 28px;
  z-index: 998;
  width: 44px;
  height: 44px;
  background: #ffffff;
  color: var(--primary-green);
  border: 1.5px solid #a7f3d0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
}
.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top-btn:hover {
  background: var(--primary-green);
  color: #ffffff;
  transform: translateY(-3px);
}
