
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}
.history, .why-crops, .motivation, .vision, .faq {
  background: #f9f9f9;
  margin-top: 2rem;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.why-crops ul {
  text-align: left;
  margin-top: 1rem;
  line-height: 1.8;
}

section {
  padding: 2rem 1rem;       
  max-width: 1000px;        
  margin: auto;             
}

/* =======================
   Header & Navigation
======================= */
header {
  background: #2e7d32;
  color: white;
  padding: 1rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav a {
  color: white;
  text-decoration: none;
}

/* =======================
   Hero Section
======================= */
.hero {
  background-color: #2e7d32;
  color: white;
  text-align: center;
  padding: 5rem 1rem;
}

/* =======================
   Gallery
======================= */
.gallery .grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery img {
  width: 80px;
  height: 80px;
  border-radius: 6px;
}
.planting-tips {
  padding: 2rem 1rem;
  background: #f5f5f5;
  text-align: center;
}

.planting-tips h3 {
  margin-bottom: 1.5rem;
  color: #2e7d32;
}

.tips-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tip-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  width: 250px;
  transition: transform 0.3s ease;
}

.tip-card h4 {
  margin-bottom: 0.5rem;
  color: #2e7d32;
}

.tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* =======================
   Farmers Section
======================= */
.farmers {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;       /* allows wrapping instead of overlapping */
  justify-content: center;
  align-items: flex-start;
}

.farmer-card {
  text-align: center;
  max-width: 200px;

  }

.farmer-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* smooth hover */
}

.farmer-card img:hover {
  transform: scale(1.05);  /* zoom in slightly */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* add a soft shadow */
}

/* Animation */
@keyframes scaleDown {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* =======================
   Contact Form
======================= */
.contact form {
  max-width: 400px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.contact input,
.contact textarea {
  margin-bottom: 1rem;
  padding: 0.5rem;
}

/* =======================
   Buttons
======================= */
button {
  background: #2e7d32;
  color: white;
  border: none;
  padding: 0.7rem;
  cursor: pointer;
}

/* =======================
   Footer
======================= */
footer {
  text-align: center;
  padding: 1rem;
  background: #333;
  color: white;
  margin-top: 2rem;
}

footer .social-links {
  margin-top: 0.5rem;
}

footer .social-links a {
  margin: 0 10px;
  color: #2e7d32;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

footer .social-links a:hover {
  color: #66bb6a; /* lighter green on hover */
}

/* =======================
   Responsive Design
======================= */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
  }

  .farmers {
    flex-direction: column;
    align-items: center;
  }
}
