.weather-card {
  background: linear-gradient(135deg, #e0f7fa 0%, #f6fef7 100%);
  box-shadow: 0 6px 24px rgba(34, 197, 94, 0.09);
  border-radius: 24px;
  padding: 2rem 2.2rem;
  margin-bottom: 1.5rem;
}
.weather-main-row {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  margin-bottom: 1.1rem;
}
.weather-icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #e0e7ff;
  border-radius: 16px;
  padding: 1.1rem 1.5rem;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.09);
}
.weather-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.weather-temp {
  font-size: 1.2rem;
  color: #176a2b;
  font-weight: 700;
}
.weather-info-box {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.weather-location {
  font-size: 1.15rem;
  font-weight: 700;
  color: #176a2b;
}
.weather-status {
  font-size: 1rem;
  color: #222;
}
.weather-insight-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
  margin-top: 0.5rem;
}
.weather-insight {
  color: #14532d;
  font-size: 1rem;
  background: #ecfdf5;
  border-radius: 10px;
  padding: 0.5rem 1rem;
  box-shadow: 0 1px 4px rgba(34, 197, 94, 0.07);
}
.demand-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.demand-list li {
  background: #f6fef7;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.07);
  padding: 0.75rem 1.1rem;
  color: #222;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  transition: box-shadow 0.2s;
}
.demand-list li:hover {
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.13);
}
.demand-list .highlight {
  color: #176a2b;
  font-weight: 700;
  font-size: 1.08rem;
}
/* Demand list crop description color for visibility */
.demand-list li {
  color: #222;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
/* Scheme description color for visibility */
.scheme-list span {
  color: #176a2b;
  font-weight: 600;
}
.scheme-list li {
  color: #222;
}
.price-row,
.price-row.header {
  color: #111 !important;
}
/* Mobile login button styles */
.mobile-login-btn {
  display: none;
  margin-left: auto;
  background: linear-gradient(180deg,  #a2cc0b 0%, #429c45  100%);
  color: #fff;
  border-radius: 20px;
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.2s;
}
.mobile-login-btn:hover {
  background: linear-gradient(180deg, #d4ff4f 0%, #388e3c 100%);
}
@media (max-width: 768px) {
  .mobile-login-btn {
    display: inline-block;
    margin-left: auto;
    margin-right: 0;
    order: 99;
    vertical-align: middle;
    position: absolute;
    right: 1.2rem;
    top: 1.1rem;
    z-index: 1100;
  }
  .top-nav {
    position: relative;
  }
}
/* Hide side menu language button on desktop, show only on mobile */
.side-lang-btn {
  display: none !important;
}
@media (max-width: 768px) {
  .side-lang-btn {
    display: flex !important;
    width: 100%;
    justify-content: flex-start;
  }
  .lang-btn:not(.side-lang-btn) {
    display: none !important;
  }
}
/* Hide mobile shortcuts on desktop, show only on mobile */
.mobile-shortcuts {
  display: none;
}
@media (max-width: 768px) {
  .mobile-shortcuts {
    display: block;
  }
}
/* Chatbot Window Styles */
.chatbot-window {
  background: #f9fafb;
  border-radius: 16px;
  border: 2px solid #e5e7eb;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  max-width: 950px;
  margin: 2rem auto 0 auto;
  display: flex;
  flex-direction: column;
  height: 400px;
  overflow: hidden;
}

.chatbot-messages {
  flex: 1 1 auto;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.chatbot-message {
  padding: 0.7rem 1.1rem;
  border-radius: 14px;
  max-width: 80%;
  font-size: 1rem;
  line-height: 1.5;
  word-break: break-word;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.chatbot-message.bot {
  background: linear-gradient(135deg, #e0e7ff 0%, #f1f5f9 100%);
  color: #3730a3;
  align-self: flex-start;
}
.chatbot-message.user {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e40af;
  align-self: flex-end;
}

.chatbot-input-row {
  display: flex;
  border-top: 1.5px solid #e5e7eb;
  padding: 0.7rem 1rem;
  background: #f3f4f6;
}
.chatbot-input {
  flex: 1 1 auto;
  border: none;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  outline: none;
  margin-right: 0.7rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.chatbot-send {
  background: #9d4edd;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.chatbot-send:hover {
  background: #7b2cbf;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body {
  background-image: url("pexels-todd-trapani-488382-1382102.jpg");
  background-size: cover;
  background-attachment: fixed;
  color: #ffffff;
  min-height: 100vh;
  padding: 0;
  margin: 0;
}

.app {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* Top Navigation Bar */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1.5rem 3rem;
  background: transparent;
  position: relative;
  z-index: 1000;
  gap: 18px;
}

@media (max-width: 768px) {
  .top-nav {
    padding: 1rem 1.2rem;
    gap: 10px;
  }
  .main-nav {
    display: none !important;
  }
  .brand {
    font-size: 1.1rem;
    margin-right: auto;
  }
  .lang-btn {
    margin-left: auto;
  }
}

/* Flex spacer for nav bar */
.spacer {
  flex: 1 1 auto;
}

@media (max-width: 768px) {
  .top-nav {
    padding: 1rem 1.5rem;
  }
}

/* Hamburger Menu */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.3s ease;
}

.tagline {
  text-shadow: 2px 2px 4px #000000;
}

.hamburger:hover {
  transform: scale(1.1);
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #ffffff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Brand Name */
.brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  text-decoration: none;
  order: 0;
  margin-left: 0;
  margin-right: 18px;
}

@media (max-width: 768px) {
  .brand {
    font-size: 1.25rem;
  }
}

/* Main Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-right: 0;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .main-nav {
    gap: 1rem;
  }
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.main-nav a:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .main-nav a {
    font-size: 0.85rem;
  }
}

/* Language Button */
.lang-btn {
  background: linear-gradient(180deg, #bde52d 0%, #429c45 100%);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-btn:hover {
  background: linear-gradient(180deg, #d4ff4f 0%, #388e3c 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.25);
}

@media (max-width: 768px) {
  .lang-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
}

/* Side Menu */
.side-menu {
  position: fixed;
  top: 0;
  left: -350px;
  width: 350px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
  transition: left 0.4s ease;
  z-index: 999;
  overflow-y: auto;
  padding: 2rem 0;
}

.side-menu.active {
  left: 0;
}

.side-menu-header {
  padding: 1.5rem 2rem;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 1rem;
}

.side-menu-header h3 {
  color: #1f2937;
  font-size: 1.5rem;
  font-weight: 700;
}

.side-menu-item {
  display: block;
  padding: 1rem 2rem;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.side-menu-item:hover {
  background: #f3f4f6;
  border-left-color: #9d4edd;
  color: #9d4edd;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Section visibility */
.section {
  display: none;
  animation: fadeIn 0.4s ease;
  padding: 2rem 0;
  min-height: calc(100vh - 100px);
}

.section.active {
  display: block;
}

main {
  padding: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 8rem 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 4rem 1.5rem 3rem;
  }
}

.hero-section h1 {
  font-size: 4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2rem;
  line-height: 1.2;
  letter-spacing: -1px;
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
}

.hero-section p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .hero-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
}

.cta-button {
  background: linear-gradient(180deg, #95bc05 0%, #429c45 100%);
  color: #fff;
  border: none;
  padding: 1.25rem 3rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 2, 0.3, 1);
  box-shadow: 0 4px 20px rgba(76, 175, 80, 0.25);
}

.cta-button:hover {
  background: linear-gradient(180deg, #95bc05 0%, #429c45 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(76, 175, 80, 0.35);
}

@media (max-width: 768px) {
  .cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 850px) {
}

.card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin: 2rem auto;
  max-width: 1000px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 768px) {
  .card {
    margin: 1.5rem 1rem;
    padding: 1.5rem;
  }
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #1f2937;
  letter-spacing: -0.3px;
}

.muted {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 0.5rem;
  line-height: 1.5;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.pill {
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e40af;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

label {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: block;
  color: #374151;
  font-weight: 600;
}

input,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  outline: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  background: #ffffff;
}

input:hover,
select:hover {
  border-color: #cbd5e1;
}

input:focus,
select:focus {
  border-color: #14b8a6;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
  transform: translateY(-1px);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .field-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

button {
  border: none;
  border-radius: 12px;
  padding: 0.85rem 1.75rem;
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
  color: #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(15, 118, 110, 0.3);
  letter-spacing: 0.3px;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.4);
  background: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%);
}

button:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(15, 118, 110, 0.3);
}

button.secondary {
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
  color: #111827;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

button.secondary:hover {
  background: linear-gradient(135deg, #d1d5db 0%, #e5e7eb 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.price-list {
  margin-top: 1rem;
  border-radius: 16px;
  border: 2px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.price-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  font-size: 0.9rem;
  padding: 1rem 1.25rem;
  align-items: center;
  transition: background-color 0.2s ease;
}

.price-row:nth-child(odd) {
  background: #f9fafb;
}

.price-row:hover {
  background: #f3f4f6;
}

.price-row.header {
  font-weight: 700;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e40af;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-row.header:hover {
  background: linear-gradient(135deg, #bfdbfe 0%, #dbeafe 100%);
}

.highlight {
  font-weight: 700;
  color: #0f766e;
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.result-box {
  margin-top: 1rem;
  font-size: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 2px solid #86efac;
  color: #14532d;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.15);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.layout-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.badge {
  font-size: 0.8rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.scheme-list {
  list-style: none;
  padding: 0;
}

.scheme-list li {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  padding: 0.75rem;
  background: #f9fafb;
  border-radius: 10px;
  border-left: 4px solid #14b8a6;
  transition: all 0.2s ease;
}

.scheme-list li:hover {
  background: #f3f4f6;
  transform: translateX(4px);
}

.scheme-list span {
  font-weight: 700;
  color: #0f766e;
}

.voice-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  color: #3730a3;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.15);
}

.voice-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.25);
  background: linear-gradient(135deg, #e0e7ff 0%, #eef2ff 100%);
}

footer {
  margin-top: 4rem;
  text-align: center;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* Fix language select styling */
.lang-btn select {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  outline: none !important;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0 !important;
  margin: 0 !important;
}

.lang-btn select option {
  color: #1f2937 !important;
  background: #ffffff !important;
}
