:root {
  --teal: #00A898;
  --gold: #FFC00E;
  --dark: #1A1A1A;
  --grey: #6B6B6B;
  --bg: #FFFFFF;
  --font: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}
 
* { margin: 0; padding: 0; box-sizing: border-box; }
 
body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--bg);
  line-height: 1.6;
}
 
a { text-decoration: none; color: inherit; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 6%;
  border-bottom: 1px solid #eee;
  flex-wrap: wrap;
  row-gap: 12px;
}
.logo { font-weight: 700; font-size: 1.3rem; }
.logo span { color: var(--teal); }

.site-header nav {
  display: flex;
  gap: 16px;              /* was 28px — tighter on smaller windows */
  flex-wrap: wrap;
}

.site-header nav a:hover { color: var(--teal); }
 
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}
.btn-primary { background: var(--teal); color: white; }
.btn-primary:hover { background: #00877A; }
.btn-secondary { background: var(--gold); color: var(--dark); }
.btn-secondary:hover { background: #E6AC00; }
 
.site-footer {
  text-align: center;
  padding: 30px 6%;
  color: var(--grey);
  font-size: 0.9rem;
  border-top: 1px solid #eee;
  margin-top: 60px;
}

.hero {
  background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
              url('images/farm.png.jpg ') center/cover  ;   
  color: white;
  padding: 160px 6%;
  text-align: center;
}
.hero h1 { font-size: 2.6rem; margin-bottom: 20px; }
.hero p { max-width: 560px; margin: 0 auto 30px; font-size: 1.1rem; }
.hero-buttons { display: flex;
   gap: 16px; 
   justify-content: center;
   margin-top: 20px;
  }

.section{
  padding: 80px 6%; max-width: 1100px; margin: 0 auto;
}
section-title { 
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
 }
.card-grid { display: grid; gap: 24px; }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 24px;
}
.card h3 { color: var(--teal); margin-bottom: 10px; font-size: 1.05rem; }
.card p { color: var(--grey); font-size: 0.95rem; }

@media (max-width: 900px) {
  .card-grid-4, .card-grid-3, .card-grid-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .card-grid-4, .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.9rem; }
}
.steps {
  list-style: none;
  max-width: 400px;
  margin: 0 auto;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  padding: 16px 0 16px 50px;
  position: relative;
  border-left: 2px solid var(--teal);
  margin-left: 20px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: -21px;
  top: 12px;
  width: 38px; height: 38px;
  background: var(--teal);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}



.cta-banner {
  background: var(--teal);
  color: white;
  text-align: center;
  padding: 70px 6%;
}
.cta-banner h2 { margin-bottom: 24px; }

.demo-box {
  max-width: 480px;
  margin: 0 auto;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 30px;
}
.demo-box label { display: block; margin: 16px 0 6px; font-weight: 600; }
.demo-box select {
  width: 100%; padding: 10px; border-radius: 6px; border: 1px solid #ccc;
}
.demo-box button { margin-top: 20px; width: 100%; }
.result-box {
  margin-top: 20px;
  padding: 16px;
  background: #E6F7F5;
  border-left: 4px solid var(--teal);
  border-radius: 6px;
  font-size: 0.95rem;
}

.contact-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.contact-form label { margin: 14px 0 6px; font-weight: 600; }
.contact-form input, .contact-form textarea {
  padding: 10px; border-radius: 6px; border: 1px solid #ccc; font-family: var(--font);
}
.contact-form button { margin-top: 20px; }

/* --- New sections added for the enhanced Home page --- */

.section-intro {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 30px;
  color: var(--grey);
}

.bridge-text {
  text-align: center;
  max-width: 600px;
  margin: 40px auto 0;
  font-weight: 600;
  color: var(--teal);
  font-size: 1.1rem;
}

.check-list {
  list-style: none;
  max-width: 480px;
  margin: 0 auto;
}
.check-list li {
  padding: 10px 0 10px 34px;
  position: relative;
  font-size: 1.05rem;
}
.check-list li::before {
  content: "✔️";
  position: absolute;
  left: 0;
}

.stat-card {
  text-align: center;
  padding: 30px 16px;
  background: #fafafa;
  border-radius: 10px;
  border: 1px solid #eee;
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 8px;
}

.footer-full {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  text-align: left;
}
.footer-col h4 { margin-bottom: 10px; color: var(--teal); }
.footer-col a, .footer-col p { display: block; margin-bottom: 6px; color: var(--grey); font-size: 0.9rem; }
.footer-copyright {
  width: 100%;
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.mission-vision-section {
  background: #fafafa;
  border-radius: 16px;
  padding: 60px 6%;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.mv-card {
  background: white;
  border-radius: 14px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.2s ease;
}
.mv-card:hover { transform: translateY(-4px); }

.mv-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
}
.mv-mission .mv-icon { background: #E6F7F5; }
.mv-vision .mv-icon { background: #FFF6DC; }

.mv-card h3 {
  color: var(--teal);
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.mv-card p {
  color: var(--grey);
  font-size: 0.98rem;
  line-height: 1.7;
}

@media (max-width: 700px) {
  .mv-grid { grid-template-columns: 1fr; }
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  max-width: 950px;
  margin: 0 auto;
  align-items: start;
}

.contact-form-card {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 36px;
  max-width: none;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: white;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.contact-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: #E6F7F5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.contact-info-card h4 { color: var(--teal); font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-card p { color: var(--grey); font-size: 0.9rem; }

.contact-social {
  background: white;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 18px 20px;
}
.contact-social h4 { color: var(--teal); font-size: 0.95rem; margin-bottom: 10px; }
.social-links { display: flex; flex-direction: column; gap: 8px; }
.social-links a { color: var(--grey); font-size: 0.9rem; }
.social-links a:hover { color: var(--teal); }

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.services-section { background: #fafafa; border-radius: 16px; padding: 60px 6%; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background: white;
  border-radius: 12px;
  padding: 26px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); }

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #E6F7F5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 14px;
}

.service-card h4 { color: var(--teal); font-size: 1rem; margin-bottom: 8px; }
.service-card p { color: var(--grey); font-size: 0.88rem; line-height: 1.5; }

@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
}
.logo-group { display: flex; align-items: center; gap: 10px; }
.logo-text .teal { color: var(--teal); }

.platform-hero {
  text-align: center;
  padding: 70px 6% 50px;
  background: linear-gradient(135deg, #00A898 0%, #00877A 100%);
  color: white;
}
.platform-hero-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
  animation: floatIcon 3s ease-in-out infinite;
}
.platform-hero h1 { font-size: 2rem; margin-bottom: 10px; }
.platform-hero p { max-width: 480px; margin: 0 auto 20px; opacity: 0.92; }
.preview-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.platform-section {
  display: flex;
  justify-content: center;
}

.glass-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 36px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.card-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #E6F7F5;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.card-header h3 { color: var(--dark); font-size: 1.15rem; }

.glass-card label { display: block; margin: 14px 0 6px; font-weight: 600; font-size: 0.92rem; }
.glass-card select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid #e2e2e2;
  font-family: var(--font);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.glass-card select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,168,152,0.15);
}

.full-width { width: 100%; margin-top: 22px; }

.btn { transition: transform 0.15s ease, box-shadow 0.15s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.12); }
.btn:active { transform: translateY(0); }

.result-box {
  margin-top: 22px;
  padding: 18px;
  background: #E6F7F5;
  border-left: 4px solid var(--teal);
  border-radius: 10px;
  font-size: 0.95rem;
  animation: fadeInUp 0.4s ease;
}

.fade-in-up { animation: fadeInUp 0.5s ease both; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 560px) {
  .glass-card { padding: 26px; }
}

/* --- Hamburger menu --- */
.header-actions { display: flex; align-items: center; gap: 16px; }
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: none; border: none; cursor: pointer;
}
.hamburger span {
  width: 100%; height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .site-header nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    border-bottom: 1px solid #eee;
  }
  .site-header nav.nav-open { max-height: 300px; }
  .site-header nav a { padding: 16px 6%; border-top: 1px solid #f2f2f2; }
}

/* --- Sticky header with scroll shadow --- */
.site-header { position: sticky; top: 0; z-index: 100; background: white; transition: box-shadow 0.3s ease; }
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }

/* --- Scroll-reveal --- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-visible { opacity: 1; transform: translateY(0); }

/* --- Hover effects, unified across all card types --- */
.card, .service-card, .mv-card, .stat-card, .contact-info-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover, .service-card:hover, .mv-card:hover, .stat-card:hover, .contact-info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.glass-card { transition: box-shadow 0.25s ease; }
.glass-card:hover { box-shadow: 0 14px 44px rgba(0,0,0,0.09); }

/* --- Back to top button --- */
#backToTopBtn {
  position: fixed; bottom: 24px; right: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--teal); color: white; border: none;
  font-size: 1.3rem; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 200;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
#backToTopBtn.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTopBtn:hover { background: #00877A; }

/* --- Platform page hero --- */
.platform-hero {
  text-align: center;
  padding: 70px 6% 50px;
  background: linear-gradient(135deg, #00A898 0%, #00877A 100%);
  color: white;
}
.platform-hero-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
  animation: floatIcon 3s ease-in-out infinite;
}
.platform-hero h1 { font-size: 2rem; margin-bottom: 10px; }
.platform-hero p { max-width: 480px; margin: 0 auto 20px; opacity: 0.92; }
.preview-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* --- Platform layout --- */
.platform-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* --- Glass-style cards --- */
.glass-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 36px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  transition: box-shadow 0.25s ease;
}
.glass-card:hover { box-shadow: 0 14px 44px rgba(0,0,0,0.09); }

.card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.card-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #E6F7F5;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.card-header h3 { color: var(--dark); font-size: 1.15rem; }

.glass-card label { display: block; margin: 14px 0 6px; font-weight: 600; font-size: 0.92rem; }
.glass-card input, .glass-card select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid #e2e2e2;
  font-family: var(--font);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.glass-card input:focus, .glass-card select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,168,152,0.15);
}

.btn-row { display: flex; gap: 12px; margin-top: 22px; }
.btn-row .btn { flex: 1; }
.full-width { width: 100%; margin-top: 20px; }

.auth-message { margin-top: 14px; font-size: 0.9rem; color: var(--teal); min-height: 20px; }

.sub-heading { margin: 28px 0 12px; color: var(--dark); font-size: 1.05rem; }
.divider-line { height: 1px; background: #eee; margin: 30px 0; }

.farms-list p {
  background: #fafafa;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 8px;
  font-size: 0.92rem;
  animation: fadeInUp 0.4s ease;
}

.result-box {
  margin-top: 22px;
  padding: 18px;
  background: #E6F7F5;
  border-left: 4px solid var(--teal);
  border-radius: 10px;
  font-size: 0.95rem;
  animation: fadeInUp 0.4s ease;
}

.fade-in-up { animation: fadeInUp 0.5s ease both; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 560px) {
  .btn-row { flex-direction: column; }
  .glass-card { padding: 26px; }
}