 /* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
}
body {
   background: #fff;
  color: #333;
  line-height: 1.6;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-weight: 600;
    letter-spacing: -0.02em;
}


body p{
     font-family: 'Poppins', sans-serif;
}


body p{
     font-family: 'Poppins', sans-serif;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* TOP APPBAR */
.top-appbar {
  background: #3374b8;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 5%;
  font-size: clamp(0.7rem, 1.2vw, 0.9rem);
}
.top-appbar i {
  margin-right: 0.3rem;
  transition: 0.3s;
}
.top-appbar i:hover {
  transform: translateY(-2px);
}
.top-appbar a { color: #fcc011; margin-left: 0.8rem; }

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 1500;
  background: linear-gradient(90deg,#327c3d,#2963a9);
  transition: box-shadow 0.3s ease;
}
header.scrolled {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* NAVBAR */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
}

/* LOGO */
nav .logo img {
  height: clamp(30px, 4vw, 50px);
  filter: brightness(0) invert(1);
}

nav ul li a.active {
  color: #fcc011;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #fff;
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
}

/* DESKTOP NAV */
nav ul {
  display: flex;
  gap: 2rem;
  align-items: center;
}
nav ul li a {
  color: #fff;
  padding: 0.5rem 0;
  font-weight: 500;
  position: relative;
}
nav ul li a::after {
  content: "";
  width: 0;
  height: 2px;
  background: #fcc011;
  position: absolute;
  bottom: 0;
  left: 0;
  transition: 0.3s;
}
nav ul li a:hover::after {
  width: 100%;
}

/* DROPDOWN */
nav ul li.dropdown { position: static; }

.dropdown-menu {
  position: absolute;
  left: 0;
  width: 100%;
  background: #2963a9;
  padding: 2rem 5%;
  display: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.dropdown-menu.show {
  display: block !important;
}

/* GRID */
.dropdown-menu ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.dropdown-menu ul li a {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  transition: 0.3s;
}
.dropdown-menu ul li a:hover {
  background: #327c3d;
  transform: translateY(-3px);
}

/* ICON */
.dropdown-menu .icon {
  width: 40px;
  height: 40px;
  background: #fff;
  color: #2963a9;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* =========================================
   MOBILE RESPONSIVE (ENHANCED)
========================================= */
@media (max-width: 992px) {

  /* SHOW HAMBURGER */
  .menu-toggle {
    display: block;
  }

  /* MAIN MENU */
  nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    display: none;
    flex-direction: column;

    background: linear-gradient(180deg, #327c3d, #2963a9);
    padding: 0.75rem 0;

    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  nav ul.active {
    display: flex;
  }

  /* MAIN LINKS CENTERED */
  nav ul li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }

  nav ul li:last-child {
    border-bottom: none;
  }

  nav ul li a {
    display: block;
    padding: 1rem;
    font-size: 1.05rem;
    letter-spacing: 0.4px;
  }

  /* DROPDOWN MOBILE */
  .dropdown-menu {
    position: static;
    display: none;
    background: rgba(0,0,0,0.08);
    box-shadow: none;
    padding: 0.5rem 0;

    max-height: 60vh;
    overflow-y: auto;
  }

  .dropdown-menu.show {
    display: block;
  }

  /* SUBMENU LIST CENTERED */
  .dropdown-menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  .dropdown-menu ul li {
    width: 100%;
  }

  .dropdown-menu ul li a {
    width: 90%;
    margin: 0.3rem auto;
    justify-content: center;
    font-size: 0.95rem;
  }

  /* ICON CENTER */
  .dropdown-menu .icon {
    margin-right: 0.5rem;
  }
}


/* =====================================================
   GREEN MOONG (MUNG BEANS) BANNER
===================================================== */
.chickpea-banner {
  position: relative;
  min-height: 380px;
  width: 100%;
  background-image: url('../../images/crops/chickpeas/chickpeas\ \(1\).jpg');
  background-size: cover;
  background-position: center;
  border-radius: 0 0 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  margin-bottom: 30px;
}

.chickpea-banner .banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.40);
}

.chickpea-banner .banner-content {
  position: relative;
  text-align: center;
  max-width: 1000px;
  color: #fff;
}

.chickpea-banner h1 {
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 700;
  margin-bottom: 15px;
}

.chickpea-banner p {
  font-size: clamp(15px, 2.5vw, 17px);
  margin-bottom: 25px;
  line-height: 1.6;
}

/* =====================================================
   ABOUT GREEN MOONG SECTION
===================================================== */
.chickpea_about {
  padding: 110px 20px;
  background: #fff;
  text-align: center;
  margin-top: -50px;
}

.chickpea_about h2,
.chickpea_about h3 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  color: #1f3f2a;
}

.chickpea_about p {
  font-size: clamp(16px, 2.5vw, 18.5px);
  line-height: 1.9;
  max-width: 1200px;
  margin: 0 auto 22px;
}


/* =====================================================
   FEATURE BLOCK CARDS
===================================================== */
.chickpea_block {
  padding: 20px 0;
}

.chickpea_feature_card {
  max-width: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.08);
  border-radius: 12px;
  background: #fff; /* default light background */
}

.chickpea_feature_card.reverse {
  direction: rtl;
}
.chickpea_feature_card.reverse > * {
  direction: ltr;
}

/* Dark background for buyer support cards */
.dark_bg .greenmoong_feature_card {
  background: #2963a9; /* same as CropLink Buyer Support */
  color: #fff;
}

.feature_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature_content {
  padding: 70px 60px;
}

.feature_content h3 {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  margin-bottom: 26px;
}

.note {
  margin-top: 20px;
  opacity: 0.9;
}

/* =====================================================
   ICON LIST
===================================================== */
.icon_list {
  list-style: none;
  padding-left: 0;
  margin: 20px auto 0;
  max-width: 900px;
}

.icon_list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 17px;
  margin-bottom: 16px;
  line-height: 1.7;
}

.icon_circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(50,124,61,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #327c3d;
  flex-shrink: 0;
  margin-top: 4px;
}

.dark_bg .icon_circle {
  background: rgba(255,255,255,.2);
  color: #fff;
}

/* =====================================================
   CTA
===================================================== */
.chickpea_cta {
  padding: 110px 20px;
  background: linear-gradient(135deg, #2f6b3a, #2963a9);
  color: #fff;
  margin-bottom: 20px;
  text-align: center;
}

.chickpea_cta h2 {
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 36px;
}

.chickpea_btn {
  padding: 16px 46px;
 border-radius: 50px;
  box-shadow: 0 10px 20px rgba(0,0,0,.15);
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}

.chickpea_btn.primary {
  background: linear-gradient(135deg, #327c3d, #2b6b34);
  color: #fff;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 992px) {
  .chickpea_feature_card,
  .chickpea_specifications {
    grid-template-columns: 1fr;
  }

  .feature_content,
  .chickpea_specifications .spec_list {
    padding: 50px 32px;
  }
}

@media (max-width: 576px) {
  .chickpea_about {
    margin-top: 0;
    padding: 80px 20px;
  }
  .chickpea-banner {
    min-height: 260px;
  }
  .feature_content,
  .chickpea_specifications .spec_list {
    padding: 36px 24px;
  }
  .chickpea_cta {
    padding: 80px 20px;
  }
}


/* ============================================================
   FOOTER SECTION
============================================================ */
.footer-section {
  background: linear-gradient(130deg, #244626, #0E1A29 60%);
  padding: 80px 35px 35px;
  color: #e7ecef;
  font-family: "Poppins", sans-serif;
}

/* ============================================================
   FLEX CONTAINER
============================================================ */
.footer-container {
  max-width: 1450px;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap; /* ensure all in one row */
  gap: 40px;
}

/* ============================================================
   BRAND
============================================================ */
.footer-brand {
  flex: 1 1 230px; /* flexible but not too small */
  min-width: 220px;
}

.footer-brand .logo {
  width: 180px;
  filter: brightness(0) invert(1);
  margin-bottom: 15px;
}

.brand-text {
  font-size: 15px;
  line-height: 1.7;
  color: #cdd7df;
  margin-bottom: 25px;
}

/* SOCIAL ICONS */
.footer-social a {
  font-size: 18px;
  margin-right: 15px;
  color: #fff;
  transition: 0.3s;
}

.footer-social a:hover {
  color: #00b4d8;
  transform: translateY(-3px);
}

/* ============================================================
   FOOTER COLUMNS (EXPLORE, SERVICES, CROPS, CONTACT)
============================================================ */
.footer-links {
  display: flex;
  flex: 3 1 auto;
  justify-content: space-between;
  flex-wrap: nowrap; /* stay in one row */
  gap: 30px;
}

.footer-column {
  flex: 1 1 140px; /* equally distribute columns */
  min-width: 140px;
}

.footer-column h4 {
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: #fff;
}

.footer-column a {
  display: block;
  font-size: 14px;
  color: #b9c4ce;
  text-decoration: none;
  margin-bottom: 8px;
  transition: 0.3s;
}

.footer-column a:hover {
  color: #32c2d9;
  transform: translateX(5px);
}

/* CROPS COLUMNS */
.crops-columns {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 6px 20px;
}

/* CONTACT COLUMN */
.contact-column p {
  font-size: 14px;
  color: #b9c4ce;
  padding: 4px 0;
}

.contact-column p i {
  margin-right: 8px;
  color: #fff;
}

/* ============================================================
   FOOTER BOTTOM
============================================================ */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.18);
  margin-top: 55px;
  padding-top: 22px;

  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 13px;
}

.footer-legal a {
  color: #b9c4ce;
  margin-left: 20px;
  text-decoration: none;
  transition: 0.3s;
}

.footer-legal a:hover {
  color: #32c2d9;
  transform: translateX(4px);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .footer-container {
    flex-wrap: nowrap; /* still one row */
    overflow-x: auto; /* allow horizontal scroll if needed */
  }
}

@media (max-width: 600px) {
  .footer-container {
    flex-direction: column; /* stack on small screens only */
    align-items: flex-start;
  }

  .footer-links {
    flex-direction: column;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-legal a {
    margin: 0 10px;
  }
}

@media (max-width: 400px) {
  .footer-brand .logo {
    width: 140px;
  }

  .footer-column h4,
  .footer-column a,
  .brand-text {
    font-size: 13px;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  right: 20px;       /* distance from left edge */
  bottom: 20px;     /* distance from bottom edge */
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1000;
  animation: floatBounce 2s infinite;
  transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/* Floating bounce animation */
@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}