/* Modern Agricultural Company Website CSS - Inspired by Intercom & Stripe */
:root {
  --primary: #2d7a2d;
  --primary-light: #4bb34b;
  --beige: #f8f5ee;
  --white: #fff;
  --shadow: 0 4px 24px rgba(44, 62, 80, 0.08);
  --shadow-hover: 0 8px 32px rgba(44, 62, 80, 0.16);
  --radius: 16px;
  --transition: all 0.3s ease-in-out;
  --font: 'Inter', 'Poppins', Arial, sans-serif;
}
body {
  font-family: var(--font);
  background: var(--beige);
  color: #222;
  margin: 0;
  padding: 0;
}
main {
  width: 100%;
  margin: 0 auto;
  background: var(--beige);
}
/* Hero Section */
.hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(120deg, #eaf7ea 0%, #f8f5ee 100%);
  position: relative;
  overflow: hidden;
}
.hero-bg-animate {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(120deg, #eaf7ea 0%, #f8f5ee 100%);
  animation: gradientWave 12s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes gradientWave {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 1rem 2rem 1rem;
}
.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  animation: fadeUp 1s cubic-bezier(.77,0,.175,1) 0.2s both;
}
.hero-desc {
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 2rem;
  animation: fadeUp 1s cubic-bezier(.77,0,.175,1) 0.4s both;
}
.btn-quote {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 0.75rem 2rem;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  animation: fadeUp 1s cubic-bezier(.77,0,.175,1) 0.6s both;
}
.btn-quote:hover {
  background: var(--primary-light);
  transform: scale(1.07);
  box-shadow: var(--shadow-hover);
}
/* About Section */
.about-section {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 1rem 2rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 2.5rem;
  animation: fadeUp 1s cubic-bezier(.77,0,.175,1) 0.2s both;
}
.about-text {
  flex: 1 1 350px;
  min-width: 260px;
}
.about-image {
  flex: 1 1 320px;
  min-width: 220px;
  max-width: 400px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  height: 260px;
}
.stats-row {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--primary);
  font-weight: 600;
  min-width: 140px;
  flex: 1 1 140px;
  transition: var(--transition);
  animation: zoomIn 0.7s cubic-bezier(.77,0,.175,1) both;
}
.stat-card:hover {
  box-shadow: var(--shadow-hover);
  transform: scale(1.06);
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}
/* Mission & Vision + Core Values */
.mission-section {
  background: linear-gradient(120deg, #eaf7ea 0%, #f8f5ee 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 3rem 1rem 2rem 1rem;
  margin-bottom: 2.5rem;
  text-align: center;
  animation: fadeUp 1s cubic-bezier(.77,0,.175,1) 0.2s both;
}
.core-values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1rem;
  text-align: center;
  transition: var(--transition);
  animation: fadeUp 0.8s cubic-bezier(.77,0,.175,1) both;
}
.value-card:hover {
  box-shadow: var(--shadow-hover);
  transform: scale(1.05);
}
/* What We Offer (Services) */
.services-section {
  margin-bottom: 2.5rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.2rem 1.2rem 1.2rem;
  text-align: center;
  transition: var(--transition);
  animation: fadeUp 0.8s cubic-bezier(.77,0,.175,1) both;
}
.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: scale(1.06);
}
.service-icon {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}
.service-title {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.service-desc {
  color: #444;
  font-size: 1rem;
}
/* Our Approach Timeline */
.approach-section {
  margin-bottom: 2.5rem;
}
.timeline {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  margin-top: 2rem;
}
.timeline-step {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1rem;
  text-align: center;
  min-width: 180px;
  position: relative;
  transition: var(--transition);
  animation: fadeUp 0.8s cubic-bezier(.77,0,.175,1) both;
}
.timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 50%;
  width: 2rem;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 60%, var(--primary-light) 100%);
  border-radius: 2px;
  transform: translateY(-50%) scaleX(0);
  animation: drawLine 1.2s cubic-bezier(.77,0,.175,1) forwards;
  animation-delay: 0.5s;
}
@keyframes drawLine {
  to { transform: translateY(-50%) scaleX(1); }
}
/* Meet Our Team */
.team-section {
  margin-bottom: 2.5rem;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.2rem 1.2rem 1.2rem;
  text-align: center;
  transition: var(--transition);
  animation: fadeUp 0.8s cubic-bezier(.77,0,.175,1) both;
}
.team-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-8px);
}
.team-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.75rem;
}
.team-name {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
  transition: var(--transition);
}
.team-card:hover .team-name {
  color: var(--primary-light);
}
.team-role {
  color: #444;
  font-size: 1rem;
}
/* Why Choose Us */
.why-section {
  margin-bottom: 2.5rem;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
  animation: fadeLeft 0.8s cubic-bezier(.77,0,.175,1) both;
}
.why-card.right {
  animation: fadeRight 0.8s cubic-bezier(.77,0,.175,1) both;
}
.why-icon {
  font-size: 2rem;
  color: var(--primary);
}
.why-text {
  font-size: 1.1rem;
  color: #333;
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
/* Looking Ahead */
.ahead-section {
  width: 100%;
  background: linear-gradient(120deg, #eaf7ea 0%, #f8f5ee 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 3rem 1rem 2rem 1rem;
  text-align: center;
  margin-bottom: 2.5rem;
  animation: fadeUp 1s cubic-bezier(.77,0,.175,1) 0.2s both;
}
.ahead-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}
.ahead-desc {
  font-size: 1.2rem;
  color: #333;
}
/* Footer */
footer {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 2rem 0 1rem 0;
  font-size: 1rem;
  letter-spacing: 0.5px;
  border-radius: var(--radius) var(--radius) 0 0;
  animation: fadeUp 1s cubic-bezier(.77,0,.175,1) 0.2s both;
}
/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Staggered animation delays */
.value-card:nth-child(1), .service-card:nth-child(1), .team-card:nth-child(1), .why-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2), .service-card:nth-child(2), .team-card:nth-child(2), .why-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3), .service-card:nth-child(3), .team-card:nth-child(3), .why-card:nth-child(3) { animation-delay: 0.3s; }
.value-card:nth-child(4), .service-card:nth-child(4), .team-card:nth-child(4), .why-card:nth-child(4) { animation-delay: 0.4s; }
.value-card:nth-child(5), .service-card:nth-child(5), .team-card:nth-child(5), .why-card:nth-child(5) { animation-delay: 0.5s; }
/* Responsive Design */
@media (max-width: 1100px) {
  .about-section { flex-direction: column; gap: 2rem; }
  .core-values-grid, .services-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .about-section, .mission-section, .ahead-section { padding: 2rem 0.5rem; }
  .core-values-grid, .services-grid, .team-grid, .why-grid { grid-template-columns: 1fr; gap: 1rem; }
  .timeline { flex-direction: column; gap: 1.5rem; }
  .timeline-step:not(:last-child)::after {
    width: 100%; height: 4px; left: 0; right: auto; top: auto; bottom: -1rem; transform: scaleX(0); animation: drawLine 1.2s cubic-bezier(.77,0,.175,1) forwards; animation-delay: 0.5s; }
}
