/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #222;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navbar */
/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #01733B;
  white-space: nowrap;
  /* prevent breaking on small screens */
}

/* Logo image size */
/* Logo image size */
.logo img {
  max-height: 40px;
  width: auto;
}


/* Hide mobile logo by default */
.logo-mobile {
  display: none;
}

/* Show desktop logo on larger screens */
.logo-desktop {
  display: block;
  max-height: 40px;
  width: auto;
}

/* On small screens (mobile), swap logos */
@media (max-width: 600px) {
  .logo-desktop {
    display: none;
  }

  .logo-mobile {
    display: block;
    max-height: 35px;
    width: auto;
  }
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .logo img {
    max-height: 40px;
  }
}

@media (max-width: 480px) {
  .logo img {
    max-height: 35px;
  }
}


.btn-outline {
  border: 1px solid #01733B;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  color: #01733B;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(4, 109, 13, 0.25);
}

/* Responsive for small screens */
@media (max-width: 480px) {
  .navbar {
    padding: 0.8rem 1rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .btn-outline {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
}


/* Hero */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: url("assets/Hero_bg.jpeg") no-repeat center center;
  background-size: cover;
  color: #fff;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  color: #fff;
  /* changed to white for contrast */
  margin-bottom: 2rem;
  font-size: 1rem;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border: 2px solid #01733B;
  border-radius: 12px;
  background: #fff;
  color: #01733B;
  text-decoration: none;
  transition: all 0.3s ease;
}

.store-btn img {
  height: 25px;
  width: 35px;
}

.store-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-size: 14px;
  font-weight: 600;
}

.store-btn span small {
  font-size: 10px;
  letter-spacing: 1px;
  color: #555;
  font-weight: 400;
}

.store-btn:hover {
  background: #01733B;
  color: #fff;
}

.store-btn:hover span small {
  color: #fff;
}

.hero-mockups {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-mockups img {
  width: 200px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Lower the middle mockup */
.hero-mockups img:nth-child(2) {
  transform: translateY(40px);
}

/* Hover */
.hero-mockups img:hover {
  transform: scale(1.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

/* ===== Responsive Styles ===== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .hero-mockups img {
    width: 160px;
  }

  .hero-mockups img:nth-child(2) {
    transform: translateY(30px);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 3rem 1.5rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .hero-mockups {
    gap: 1.5rem;
  }

  .hero-mockups img {
    width: 140px;
  }

  .hero-mockups img:nth-child(2) {
    transform: translateY(20px);
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2.5rem 1rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.85rem;
  }

  .store-btn {
    padding: 0.5rem 0.8rem;
    font-size: 12px;
  }

  .hero-mockups img {
    width: 120px;
  }

  .hero-mockups img:nth-child(2) {
    transform: translateY(10px);
  }
}


/* Features */
.features {
  padding: 80px 20px;
  background-color: #fdfdfd;
  font-family: 'Inter', sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.features-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 50px;
}

.features-title span {
  color: #298143;
  /* Figma accent color */
}

/* Grid for first row */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-items: center;
  margin-bottom: 30px;
}

/* Grid for second row (centered) */
.feature-grid-center {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.feature-card {
  background-color: #fff;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  width: 100%;
  max-width: 300px;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.feature-card p {
  font-size: 1rem;
  color: #333;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 992px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid-center {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 600px) {

  .feature-grid,
  .feature-grid-center {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .features-title {
    font-size: 1.75rem;
  }

  .feature-card {
    padding: 25px 15px;
  }
}


/* About */
.about-section {
  position: relative;
  padding: 100px 20px;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.about-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/FarmerBg.png') center/cover no-repeat;
  z-index: 0;
  opacity: 0.1;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  gap: 50px;
}

.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 30px;
}

.about-content h2 span {
  color: #298143;
}

.about-content p {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-roles p {
  margin-bottom: 15px;
}

.about-roles p strong {
  color: #298143;
}

.btn-primary {
  background-color: #298143;
  color: #fff;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.btn-primary:hover {
  background-color: #1f6237;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
}

/* Responsive */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .about-content h2 {
    font-size: 2rem;
  }

  .about-content p {
    font-size: 1rem;
  }

  .about-image {
    margin-bottom: 30px;
  }
}

@media (max-width: 600px) {
  .about-section {
    padding: 60px 15px;
  }
}

/* How It Works Section */
.how-it-works {
  padding: 60px 20px 120px;
  text-align: center;
  font-family: "Poppins", sans-serif;
}

.how-it-works h1 {
  margin-bottom: 10px;
  font-size: clamp(28px, 5vw, 42px);
  color: #0b8b3f;
  font-weight: 700;
}

.how-it-works .lead {
  font-size: clamp(16px, 2vw, 20px);
  color: #6c6c6c;
  margin-bottom: 40px;
}

.visual-wrap {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  min-height: 560px;
}

/* Ring */
.rings {
  --ring-size: 420px;
  width: var(--ring-size);
  height: var(--ring-size);
  margin: 0 auto;
  position: relative;
}

.rings .outer {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68%;
  height: 68%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #dbf8e8;
}

.rings .inner {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62%;
  height: 62%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #0b8b3f;
  z-index: 1;
}

/* Phone */
.phone {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -80%);
  width: 160px;
  z-index: 5;
  border-radius: 24px;
  transition: all 0.4s ease;
  cursor: pointer;
}

.phone:hover {
  transform: translate(-50%, -80%) scale(1.08);
}

/* Steps */
.step {
  position: absolute;
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: #444;
}

.step .num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #0ea04a;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
}

.step .num:hover {
  background: #0b8b3f;
  transform: scale(1.15);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.step p {
  margin: 0;
  max-width: 180px;
}

/* Absolute positions for desktop */
.step-1 {
  left: 0;
  top: 5%;
}

.step-2 {
  left: -5%;
  top: 30%;
}

.step-3 {
  left: 0;
  top: 58%;
}

.step-4 {
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.step-5 {
  right: 0;
  top: 58%;
}

.step-6 {
  right: -5%;
  top: 30%;
}

.step-7 {
  right: 0;
  top: 5%;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .visual-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* center everything horizontally */
    min-height: auto;
    padding-top: 20px;
  }

  /* Hide decorative rings */
  .rings {
    display: none !important;
    /* hide ring */
  }

  /* Keep phone image fixed — disable animation and movement */
  .phone {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 auto 30px;
    display: block;
    animation: none !important;
    transition: none !important;
  }

  /* Stack all steps vertically below phone */
  .step {
    position: relative !important;
    width: 90%;
    /* slightly narrower for padding */
    max-width: 400px;
    margin: 12px auto;
    flex-direction: row;
    align-items: center;
    text-align: left;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    animation: none !important;
    transition: none !important;
  }

  .step .num {
    margin-right: 12px;
    /* spacing between number and text */
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .step p {
    max-width: none;
  }
}








/* Download Section */
.download-section {
  position: relative;
  /* anchor point for absolute phone */
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(180deg, #14b85a 0%, #0e7235 100%);
  padding: 120px 50px;
  color: #fff;
  max-width: 1180px;
  margin: 40px auto;
}

.download-content {
  max-width: 45%;
  /* keep text/buttons on left side */
}


.download-content h2 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 15px;
}

.download-content p {
  font-size: 18px;
  margin-bottom: 25px;
  color: #f2f2f2;
}

/* Store Buttons */
.store-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #000;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
}

.store-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.store-icon {
  width: 28px;
  height: auto;
}

.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-text .small {
  font-size: 11px;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.store-text .big {
  font-size: 16px;
  font-weight: 700;
}

/* Phone Image */
.download-image {
  position: absolute;
  right: 0px;
  /* snug to right corner */
  bottom: 0;
  /* flush to bottom */
  width: 300px;
  /* adjust size */
  height: auto;
}

.download-image img {
  max-width: 320px;
  /* a bit bigger on desktop */
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
  object-fit: contain;
}

.download-image img:hover {
  transform: scale(1.05);
}

/* Responsive */
/* Responsive - Small Screens */
@media (max-width: 768px) {
  .download-section {
    text-align: center;
    /* center align text */
    padding: 60px 25px;
    /* adjust padding */
  }

  .download-content {
    max-width: 100%;
    /* take full width */
    margin: 0 auto;
    /* center horizontally */
  }

  .download-content h2 {
    font-size: 26px;
  }

  .download-content p {
    font-size: 15px;
  }

  .store-buttons {
    justify-content: center;
    /* center the buttons */
  }

  .download-image {
    display: none;
    /* hide phone mockup */
  }
}




/* Footer */
footer {
  background: #0C5E2E;
  color: #fff;
  padding: 3rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

footer a {
  display: block;
  margin-bottom: 0.5rem;
  color: #fff;
}

/* Terms & Privacy */
.page-header {
  padding: 1rem 2rem;
}

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #01733B;
}

.page-content {
  padding: 2rem;
  max-width: 800px;
  margin: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .about {
    flex-direction: column;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-mockups img {
    height: 250px;
  }
}

/* =======================
   Terms & Conditions Page
   ======================= */
.page-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 16px 40px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  /* logo left, link right */
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.logo a {
  font-size: 20px;
  font-weight: 700;
  color: #0d8f3f;
  text-decoration: none;
}

.back-home {
  font-size: 14px;
  font-weight: 500;
  color: #0d8f3f;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.back-home img {
  width: 18px;
  height: 18px;
}


.page-content {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: "Inter", sans-serif;
}

.page-content h2 {
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 700;
  color: #0c6319;
}

.page-content p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #040404;
}

.page-content h3 {
  margin-top: 30px;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 600;
  color: #166028;
}

.page-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
  color: #444;
}

.page-content ul li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.6;
}

footer {
  background: #0d8f3f;
  /* green full width */
  color: #fff;
  padding: 50px 20px;
}

/* === Newsletter / Get The Information Section === */
.get-info {
  margin-top: 20px;
}

.get-info h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #fff;
  /* white for footer contrast */
}

.get-info form {
  display: flex;
  max-width: 320px;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.get-info form input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border: none;
  outline: none;
  font-size: 14px;
  color: #333;
}

.get-info form input::placeholder {
  color: #888;
  font-size: 13px;
}

.get-info form button {
  background: #14b85a;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  padding: 0 18px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.get-info form button:hover {
  background: #0e7235;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 600px) {
  .get-info form {
    max-width: 100%;
  }
}


.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4 equal columns */
  gap: 30px;
  max-width: 1180px;
  /* keeps content centered */
  margin: 0 auto;
}

.footer-container h3,
.footer-container h4 {
  margin-bottom: 15px;
  font-weight: 700;
}

.footer-container p,
.footer-container li,
.footer-container a {
  font-size: 14px;
  line-height: 1.6;
  color: #fff;
  text-decoration: none;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.footer-socials img {
  width: 24px;
  height: 24px;
}

.footer-newsletter form {
  display: flex;
  margin-top: 10px;
}

.footer-newsletter input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
}

.footer-newsletter button {
  background: #14b85a;
  border: none;
  color: #fff;
  padding: 0 15px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-right {
    margin-top: 0.5rem;
  }

  .footer-right a {
    display: inline-block;
    margin: 0.3rem 0.6rem;
  }
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: flex-start;
  /* align items to left */
  align-items: center;
  gap: 20px;
  /* space between left and right */
  font-size: 14px;
  color: #fff;
  flex-wrap: nowrap;
  /* prevent wrapping */
  flex-shrink: 0;
}

.footer-bottom p {
  margin: 0;
  white-space: nowrap;
  /* keep text in one line */
}

.footer-bottom .footer-made {
  margin-left: auto;
  /* push it to the right */
}

.footer-link {
  color: #4ADE80;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s, border-bottom 0.3s;
}

.footer-link:hover {
  color: #22c55e;
  border-bottom: 1px solid #22c55e;
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .footer-bottom .footer-made {
    margin-left: 0;
    /* reset on mobile */
  }
}