/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif;
  background-color: #fffaf0;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

:root {
  --green: #2E8B57;
  --brown: #8B4513;
  --light-yellow: #FFF8DC;
  --dark-blue: #1E3A8A;
  --white: #ffffff;
  --light-gray: #f5f5f5;
}

/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Header */
.header {
  background-color: var(--green);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.nav a:hover {
  opacity: 0.9;
}

.btn {
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  border: none;
  font-family: inherit;
  transition: all 0.3s;
}

.primary {
  background-color: var(--brown);
  color: white;
}

.secondary {
  background-color: transparent;
  border: 2px solid var(--brown);
  color: var(--brown);
}

.login-btn {
  background: transparent;
  border: 1px solid white;
  color: white;
}

.small {
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
}

/* Mobile Menu */
.hamburger {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(rgba(46, 139, 87, 0.8), rgba(46, 139, 87, 0.8)), 
              url('https://images.unsplash.com/photo-1500382018210-8a9c4942a45c?auto=format&fit=crop&w=1920&h=600&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Products */
.products {
  padding: 4rem 0;
  background-color: white;
}

.products h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--green);
  font-size: 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card h3 {
  padding: 1rem;
  font-size: 1.2rem;
  color: var(--brown);
}

.product-card p {
  padding: 0 1rem 0.5rem;
  color: var(--green);
  font-weight: 600;
}

/* Sell Section */
.sell-section {
  background-color: var(--light-yellow);
  padding: 4rem 0;
}

.sell-content {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}

.sell-text h2 {
  color: var(--brown);
  margin-bottom: 1.5rem;
}

.sell-text ul {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.sell-text li {
  margin-bottom: 0.5rem;
  list-style-type: none;
  position: relative;
}

.sell-text li:before {
  content: "✓";
  color: var(--green);
  font-weight: bold;
  position: absolute;
  left: -1.5rem;
}

.sell-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Farmers */
.farmers {
  padding: 4rem 0;
  background-color: white;
  text-align: center;
}

.farmers h2 {
  color: var(--green);
  margin-bottom: 2.5rem;
}

.farmer-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.farmer-card {
  background: var(--light-yellow);
  padding: 1.5rem;
  border-radius: 12px;
  width: 220px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.farmer-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

/* Contact */
.contact {
  padding: 4rem 0;
  background-color: var(--light-yellow);
}

.contact h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--brown);
}

.contact-content {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 250px;
}

.contact-info p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.contact-info i {
  color: var(--green);
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.contact-form {
  flex: 1;
  min-width: 250px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
}

.contact-form button {
  width: 100%;
}

/* Footer */
.footer {
  background-color: var(--dark-blue);
  color: white;
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer-links {
  margin-top: 1rem;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  margin: 0 10px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--green);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }

  .nav.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .sell-content,
  .contact-content {
    flex-direction: column;
  }
}