/* Header Top Nav Bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1rem;
}

.logo h1 {
  font-size: 1.8rem;
  line-height: 1.2;
  font-weight: bold;
}

.brand-name {
  color: green;
  text-shadow: 1px 1px 2px #ccc;
}

.brand-sub {
  color: #b56b00; /* brown/orange shade */
  text-shadow: 1px 1px 2px #ccc;
}

.support-box {
  display: flex;
  align-items: center;
  background-color: #e6ffe6;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: bold;
  color: green;
  gap: 0.5rem;
}

.support-icon {
  width: 20px;
  height: 20px;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1rem;
  background-color: #ffffff;
  box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.1); /* bottom-only shadow */
  position: relative;
  z-index: 10;
}

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

body {
  font-family: Arial, sans-serif;
}

/*  Top Bar / Navbar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1rem;
  background-color: #ffffff;
  box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
}

.logo h1 {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: bold;
  margin-left: 100px;
}

.brand-name {
  color: green;
  text-shadow: 1px 1px 2px #ccc;
}

.brand-sub {
  color: #b56b00;
  text-shadow: 1px 1px 2px #ccc;
}

.support-box {
  display: flex;
  align-items: center;
  background-color: #e6ffe6;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: bold;
  color: green;
  gap: 0.5rem;
}

.support-icon {
  width: 20px;
  height: 20px;
}

/*  Responsive (Mobile) Styles  */
@media (max-width: 600px) {
  .top-bar {
    justify-content: center;
  }

  .logo h1 {
    text-align: center;
    margin-left: 0;
  }

  .support-box {
    display: none;
  }
}

/* Hero Section  */
.hero-section {
  padding: 3rem 1rem;
  text-align: center;
  background-color: #fff;
}

.hero-content h1 {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.3;
}

.green-gradient {
  background: linear-gradient(to right, #008000, #33cc33);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brown-gradient {
  background: linear-gradient(to right, #996633, #cc9900);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  color: #5b2e00;
  max-width: 800px;
  margin-left: auto;
  margin-top: 50px;
  margin-right: auto;
  line-height: 1.6;
}

.hero-image img {
  width: 100%;
  height: auto;
  margin-top: 2rem;
  border-top-left-radius: 100px;
  border-top-right-radius: 100px;
  transition: border-radius 0.3s ease;
}

/*mobile view css of hero section*/
@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.4;
  }

  .hero-content p {
    font-size: 1rem;
    line-height: 1.5;
    padding: 0 1rem;
  }

  .hero-image img {
    border-radius: 50%;
    width: 90%;
  }
}

/*  Hero Image Default Styles (Desktop) */
.hero-image img {
  width: 100%;
  height: 267px;
  object-fit: cover;
  display: block;
  margin: 2rem auto 0;
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  transition: border-radius 0.3s ease, height 0.3s ease;
}

/*  Responsive for Mobile  */
@media (max-width: 768px) {
  .hero-image img {
    height: auto;
    border-radius: 150px;
  }
}

/*Vision Mission Section   */
.vision-mission-section {
  text-align: center;
  padding: 80px 20px;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 16px;
}

.section-description {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: #6d3a00;
}

/* ✅ FLEX GRID */
.leaf-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

/* ✅ LEAF BOX */
.leaf {
  background-color: #dcffdc;
  width: 250px;
  height: 200px;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  transition: all 0.3s ease;
}

/* ✅ LEAF SHAPES (Desktop) */
.left-leaf {
  border-radius: 0 50% 0 50%;
}

.right-leaf {
  border-radius: 50% 0 50% 0;
}

/* ✅ ICONS */
.leaf-icon {
  margin-bottom: 12px;
}

.leaf-icon img {
  width: 32px;
  height: 32px;
}

.leaf p {
  color: green;
  font-size: 1rem;
  font-weight: 500;
}

.flipped{
  transform: scaleX(-1);
}


/* 📱 MOBILE VIEW FIXES */
@media (max-width: 768px) {
  .leaf-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .leaf {
    width: 100%;
    height: auto;
    text-align: center;
    padding: 20px;
  }

  .left-leaf {
    border-radius: 0 50% 0 50%;
  }

  .right-leaf {
    border-radius: 50% 0 50% 0;
  }

  .leaf-icon img {
    width: 28px;
    height: 28px;
  }

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

/*Analysis section*/
.analysis-section {
  padding: 60px 20px;
  text-align: center;
  position: relative;
}

.analysis-heading h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 120px;
  text-transform: uppercase;
}

.analysis-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  position: relative;
}

.farmer-image {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
}

.farmer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.analysis-box {
  background-color: #e6ffe6;
  padding: 16px 20px;
  border-radius: 60px 0 60px 0;
  max-width: 260px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  position: absolute;
  transition: all 0.3s ease;
  z-index: 2;
}

.analysis-box h3 {
  font-size: 28px;
  font-weight: bold;
  color: #2d9c3c;
  margin: 10px 0;
}

.analysis-box p {
  font-size: 14px;
  margin: 0;
  color: #333;
}


/* Box Positions */
.top-left {
  top: 70px;
  left: 320px;
}

.top-right {
  top: 10px;
  right: 320px;
}

.bottom-right {
    bottom: -100px;
    right: 450px;
}

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

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .analysis-wrapper {
    flex-wrap: wrap;
    gap: 20px;
  }

  .analysis-box {
    position: absolute;
    max-width: 140px;
    padding: 12px;
    font-size: 12px;
    border-radius: 40px 0 40px 0;
    z-index: 2;
  }

  .analysis-box h3 {
    font-size: 18px;
    margin-bottom: 4px;
  }

  .desktop-text {
    display: none;
  }

  .mobile-highlight {
    display: block;
  }

  .top-left {
    top: 120px;
    left: 2px;
  }

  .top-right {
    top: 15px;
    right: 45px;
  }

  .bottom-right {
    bottom: 5px;
    right: 15%;
  }

  .farmer-image {
    width: 240px;
    height: 240px;
    margin: 60px auto 40px;
  }

  .analysis-heading h2 {
    font-size: 26px;
    font-weight: 750;
    margin-bottom: 60px;
    text-transform: uppercase;
  }

  .mobile-highlight p{
    margin-left: 20px;
  }
}

/*Features Section*/
.features-section {
  padding: 100px 20px;
}

/* Image container and overlay */
.features-image-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
}

.full-width-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

/* Card overlay */
.features-card-overlay {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  background-color: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 420px;
  max-width: 90%;
}

.features-heading {
  font-size: 28px;
  margin-bottom: 15px;
  text-align: left;
}

.features-heading span.gradient-text {
  background: linear-gradient(to right, #107322, #7b5109);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

.features-paragraph {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: left;
}

.features-subheading {
  font-size: 16px;
  color: #007f5f;
  margin-bottom: 12px;
  text-align: left;
}

.features-list {
  list-style: none;
  padding-left: 0;
}

.features-list li {
  margin-bottom: 10px;
  font-size: 15px;
  display: flex;
  align-items: center;
  text-align: left;
  padding-left: 15px;
}

.tick-icon {
  color: #8b5e3c;
  margin-right: 10px;
}

/* Responsive Mobile View */
@media (max-width: 768px) {
  .features-image-wrapper {
    display: flex;
    flex-direction: column;
  }

  .features-card-overlay {
    position: static;
    transform: none;
    width: 100%;
    border-radius: 0;
    padding: 20px;
    margin-top: 20px;
    background: none;
    box-shadow: none;
  }

  .features-heading {
    font-size: 22px;
    text-align: center;
  }

  .features-paragraph {
    font-size: 15px;
    text-align: center;
    margin-bottom: 16px;
  }

  .features-subheading {
    font-size: 15px;
    text-align: left;
  }

  .features-list li {
    font-size: 14px;
    padding-left: 10px;
    color:#5b2e00;
  }

  .tick-icon {
    font-size: 14px;
  }

  .features-image-wrapper img{
    border-radius: 120px;
  }
}

/*Our products section*/
.our-products-section {
  padding: 4rem 1rem;
  text-align: center;
}

.our-products-heading {
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 1rem;
}

.our-products-description {
  max-width: 700px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
  font-size: 1rem;
  color: #333;
}

/* General */
.product-img {
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

/* Layout visibility */
.desktop-layout {
  display: none;
}
.mobile-layout {
  display: flex;
  gap: 1rem;
}

/* Mobile grid column layout */
.mobile-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}
.mobile-right {
  flex: 1;
}
.mobile-right .tall {
  height: 100%;
  max-height: calc(50vw * 2 + 1rem); /* same height as combined */
}

/* Responsive heights */
.mobile-left .product-img {
  height: 50vw;
}
.mobile-right .product-img {
  height: 100%;
}

/* Desktop */
@media (min-width: 1024px) {
  .mobile-layout {
    display: none;
  }

  .desktop-layout {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
  }

  .desktop-layout .small {
    width: 25%;
    height: 300px;
  }

  .desktop-layout .large {
    width: 40%;
    height: 350px;
  }

  .desktop-layout .product-img {
    object-fit: cover;
    border-radius: 16px;
  }
}

/*Testimonials*/
.testimonials-section {
  padding: 60px 20px;
}

.testimonial-heading {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
}

.green-gradient {
  background: linear-gradient(90deg, #0f7317, #694e0a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brown-gradient {
  background: linear-gradient(90deg, #0f7317, #694e0a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.testimonial-desc {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 16px;
  line-height: 1.6;
  color: #000000;
}

.testimonial-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  background-color: #EEFFCC;
  display: flex;
  width: 100%;
  max-width: 350px;
  overflow: hidden;
  flex-direction: row;
}

.testimonial-img {
  width: 120px;
  height: auto;
  object-fit: cover;
  margin-left: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.testimonial-text {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.name-box {
  background-color: #DCFFDC;
  padding: 8px;
  border-radius: 8px;
  margin-bottom: 10px;
  line-height: 1.4;
  margin-left: -15px;
  margin-top: -50px;
}

.village-name {
  display: block;
  font-style: italic;
  color: #666;
}

.quote-line {
  margin: 4px 0;
  font-size: 14px;
  color: #875f0a;
}

.quote-line.bold {
  font-weight: bold;
  font-size: 15px;
}

/* Responsive Layout */
@media (min-width: 768px) {
  .testimonial-cards {
    flex-direction: row;
  }

  .testimonial-card {
    max-width: 30%;
  }
}

@media (max-width: 767px) {
  .testimonial-cards {
    flex-direction: column;
    align-items: center;
  }

  .testimonial-card {
    flex-direction: row;
    width: 100%;
    max-width: 100%;
  }

  .testimonial-text {
    padding: 15px;
  }

  .testimonial-heading {
    font-size: 24px;
  }
}

/*Green Card Section*/
.green-leaf-section {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

.leaf-card {
  background-color: #1a781d; /* Green card */
  color: white;
  border-radius: 0px 150px 0px 150px; /* Leaf-like */
  padding: 30px 50px;
  width: 100%;
  max-width: 900px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(38, 150, 42, 0.1);
}

.leaf-icon {
  width: 60px;
  height: auto;
  margin: 0 auto 20px;
}

.leaf-heading {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.leaf-subtext {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.5px;
}

@media screen and (min-width: 768px) {
  .leaf-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 50px;
    text-align: left;
  }

  .leaf-icon-container {
    flex: 0 0 auto;
    margin-right: 30px;
  }

  .leaf-icon {
    margin: 0;
    width: 100px; /* Increased size for desktop */
    height: auto;
  }

  .leaf-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .leaf-heading,
  .leaf-subtext {
    text-align: left;
  }
}

/*Our Team Section*/
.our-team-section {
  padding: 60px 30px;
  background-color: #fff;
  text-align: center;
}

.team-heading {
  font-size: 36px;
  margin-bottom: 40px;
  font-weight: 700;
  color: #333;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 20px;
  row-gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

.team-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-card {
  width: 300px;
  height: 400px;
  border: 2px solid #883c06;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.team-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.team-name {
  color: rgb(29, 91, 12);
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 18px;
}

.team-role {
  color: green;
  font-weight: 600;
  margin-bottom: 10px;
}

.team-desc {
  font-size: 14px;
  color: #444;
  line-height: 1.4;
}

.below-item {
  margin-top: 20px;
  max-width: 100%;
  height: auto;
}

.vector {
  height: 100px;
  margin-top: 150px;
  object-fit: contain;
}


.team-card, .vector-box {
  border: 2px solid brown;
  border-radius: 10px;
  padding: 12px;
  box-sizing: border-box;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Mobile view */

/* Hide images like vector/logo on mobile */
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 20px;
  }

  .team-col{
    width: 100%;
  } 

  .team-col .below-item {
    display: none;
  }

  .team-card {
    background: #fff;
    padding: 1rem;
    border-radius: 0.75rem;
    overflow: hidden;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(167, 111, 6, 0.05);
    width: 100%;
  }

  .team-img {
    width: 100px;
    height: 100px;
    border-radius: 0.55rem;
    margin-bottom: 0.5rem;
  }

  .team-name {
    font-size: 0.77rem;
    font-weight: 600;
    margin: 0.25rem 0;
  }

  .team-role {
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #895f15;

  }

  .team-desc {
    font-size: 0.70rem;
    line-height: 1.3;
    color: #444;
  }

  #d{
    display: block;
  }
  #m{
    display: block;
  }

  #empty{
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}


/*Footer Section*/
.footer {
  padding: 40px 20px;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1);
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo{
  font-size: 14px;
  height: auto;
}

.footer-text {
  text-align: right;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.4;
}


.footer-text .highlight {
  background: linear-gradient(45deg, #4caf50, #8d6e63, #fdd835);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-socials {
  margin: 30px auto 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-socials a {
  width: 32px;
  height: 32px;
  border: 2px solid #4caf50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background-color: #a3c9a4;
}

.footer-socials a img {
  width: 16px;
  height: 16px;
  filter: invert(33%) sepia(57%) saturate(456%) hue-rotate(77deg) brightness(88%) contrast(93%);
}

.footer-bottom {
  text-align: center;
  font-size: 14px;
  color: #4caf50;
  margin-top: 10px;
}

@media (max-width: 768px)
{
  .footer-logo{
    font-size: 12px;
    height: auto;
  }

  .footer-text{
    font-size: 18px;
  }

}