
  :root{
    --green-900:#0f3d24;
    --green-700:#1a7a3f;
    --green-600:#1e8a46;
    --green-50:#eaf6ec;
    --cream:#f6f9f4;
    --text:#16241a;
    --muted:#5b6b60;
    --border:#e1e8dd;
    --white:#ffffff;
  }
  *{box-sizing:border-box;margin:0;padding:0;}
  body{
    font-family:'Segoe UI',-apple-system,BlinkMacSystemFont,Helvetica,Arial,sans-serif;
    color:var(--text);
    background:var(--cream);
  }
  a{text-decoration:none;color:inherit;}

  /* ===================================================
     CONTAINER / ROW / COLUMN GRID SYSTEM
     Every section below is built as:
       .container (max-width wrapper)
         .row (flex row, wraps into columns)
           .col-* (flex-basis controlled columns)
  =================================================== */
/* =========================
   TOP HEADER
========================= */

.top-header {
    background: #198754;
    padding: 10px 0;
    color: #fff;
}

.top-contact {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-contact a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.top-contact a:hover {
    color: #e8f5e9;
}

.top-contact i {
    font-size: 13px;
}


/* =========================
   SOCIAL LINKS
========================= */

.top-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.top-social a {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 13px;
    transition: all 0.3s ease;
}

.top-social a:hover {
    background: #fff;
    color: #198754;
    border-color: #fff;
    transform: translateY(-2px);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {

    .top-header {
        padding: 8px 0;
    }

    .top-contact {
        justify-content: center;
        gap: 15px;
    }

    .top-contact a {
        font-size: 12px;
    }

    .top-social {
        justify-content: center;
        margin-top: 8px;
    }

    .top-social a {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

  .row{
    display:flex;
    flex-wrap:wrap;
    gap:24px;
  }
  .row.align-center{align-items:center;}
  .row.no-gap{gap:0;}

  .col{flex:1 1 0;min-width:0;}
  .col-2{flex:0 0 calc(50% - 12px); max-width:calc(50% - 12px);}
  .col-3{flex:0 0 calc(33.333% - 16px); max-width:calc(33.333% - 16px);}
  .col-4{flex:0 0 calc(25% - 18px); max-width:calc(25% - 18px);}
  .col-auto{flex:0 0 auto;}

  /* ============ HEADER (container/row/col) ============ */
  header{
    background:var(--white);
    border-bottom:1px solid var(--border);
    padding:14px 0;
  }
  header .row{align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:0;}

  .logo{display:flex;align-items:center;gap:10px;}
  .logo-icon{
    width:38px;height:38px;border-radius:10px;
    background:var(--green-700);
    display:flex;align-items:center;justify-content:center;
    color:#fff;font-size:18px;
    transition:transform .3s ease, box-shadow .3s ease;
  }
  .logo:hover .logo-icon{
    transform:rotate(-8deg) scale(1.08);
    box-shadow:0 6px 14px rgba(26,122,63,.35);
  }
  .logo-text .name{font-weight:700;font-size:18px;color:var(--green-900);line-height:1.1;}
  .logo-text .tagline{font-size:10px;letter-spacing:.06em;color:var(--muted);}

  nav.col-auto{display:flex;align-items:center;gap:28px;}
  .nav-links{display:flex;align-items:center;gap:6px;font-size:14.5px;color:#2b3a30;}
  .nav-links a{
    position:relative;
    padding:8px 14px;border-radius:8px;
    transition:background .25s ease, color .25s ease, transform .2s ease;
  }
  .nav-links a::after{
    content:"";
    position:absolute;left:14px;right:14px;bottom:3px;
    height:2px;background:var(--green-700);
    transform:scaleX(0);transform-origin:left;
    transition:transform .25s ease;
  }
  .nav-links a:hover{background:var(--green-50);color:var(--green-900);transform:translateY(-1px);}
  .nav-links a:hover::after{transform:scaleX(1);}
  .nav-links a.active{background:var(--green-50);color:var(--green-900);font-weight:600;}
  .lang{font-size:14.5px;color:#2b3a30;padding:8px 6px;transition:color .2s ease;}
  .lang:hover{color:var(--green-700);}
  .header-actions{display:flex;align-items:center;gap:10px;}
  .btn-login{
    padding:9px 18px;border:1px solid #d7ded2;border-radius:8px;font-size:14.5px;background:#fff;
    cursor:pointer;transition:all .25s ease;
  }
  .btn-login:hover{border-color:var(--green-700);color:var(--green-700);transform:translateY(-2px);box-shadow:0 6px 14px rgba(20,40,25,.08);}
  .btn-sell{
    padding:9px 18px;border-radius:8px;font-size:14.5px;background:var(--green-700);color:#fff;font-weight:600;border:none;
    cursor:pointer;transition:all .25s ease;
  }
  .btn-sell:hover{background:var(--green-900);transform:translateY(-2px);box-shadow:0 8px 18px rgba(15,61,36,.3);}

  .btn-register{
    display:inline-block;padding:9px 18px;border-radius:8px;font-size:14.5px;background:var(--green-700);color:#fff;font-weight:600;border:none;
    cursor:pointer;transition:all .25s ease;text-decoration:none;
  }
  .btn-register:hover{background:var(--green-900);color:#fff;transform:translateY(-2px);box-shadow:0 8px 18px rgba(15,61,36,.3);}
  .btn-register i{margin-right:6px;}
  .header-actions form{margin:0;}
  .sidebar-account{display:flex;flex-direction:column;gap:10px;padding:16px;border-top:1px solid #e6ece4;}
  .sidebar-account a,.sidebar-account button{display:block;width:100%;text-align:center;text-decoration:none;}
  .sidebar-account form{margin:0;}


    .logo-text a img {
        max-width: 240px;
    }


  /* ============ HERO (container/row/col) ============ */
  .hero{
    position:relative;overflow:hidden;
    background:#f7faf5;
    padding:56px 0 40px;
  }
  /* full-bleed field photo on the right, fading into the page on the left and bottom */
  .hero-bg{
    position:absolute;top:0;right:0;bottom:0;width:68%;overflow:hidden;
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 16%);
            mask-image:linear-gradient(90deg,transparent 0%,#000 16%);
  }
  /* mirrored so the farmer stands mid-hero facing the cards; starts below the cards so his head stays clear */
  .hero-bg img{
    position:absolute;left:7%;top:130px;bottom:0;height:calc(100% - 130px);width:auto;max-width:none;
    transform:scaleX(-1);display:block;
    -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 22%);
            mask-image:linear-gradient(180deg,transparent 0%,#000 22%);
  }
  .hero-bg::after{
    content:'';position:absolute;inset:0;
    background:
      linear-gradient(90deg,#f7faf5 0%,#f7faf5 7%,rgba(247,250,245,.6) 14%,rgba(247,250,245,0) 24%),
      linear-gradient(180deg,rgba(247,250,245,0) 70%,rgba(247,250,245,.85) 100%);
  }
  .hero .container{position:relative;z-index:1;}
  .hero-row{gap:32px;align-items:flex-start;}
  .hero-copy{
    flex:0 0 calc(40% - 16px);
    max-width:calc(40% - 16px);
    padding-top:4px;
    animation:fadeSlideUp .7s ease both;
  }
  .hero-visual{
    flex:0 0 calc(60% - 16px);
    max-width:calc(60% - 16px);
    position:relative;min-height:400px;
    animation:fadeSlideUp .7s ease .1s both;
  }

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

  h1{
    font-size:52px;line-height:1.08;font-weight:800;color:#16241a;letter-spacing:-.01em;
  }
  .hero h1{
    font-size:58px;line-height:1.1;font-weight:600;letter-spacing:-.02em;color:#141c16;
  }
  .hero h1 .accent{color:#1b6b34;}
  .hero-desc{
    margin-top:20px;font-size:16.5px;line-height:1.6;color:#3d4a41;max-width:360px;font-weight:400;
  }
  .hero-ctas{display:flex;align-items:center;gap:14px;margin-top:28px;flex-wrap:wrap;}
  .cta-primary{
    background:#1b6b34;color:#fff;padding:12px 26px;border-radius:7px;font-weight:500;font-size:15px;
    border:1px solid #1b6b34;cursor:pointer;transition:all .25s ease;
  }
  .cta-primary:hover{background:var(--green-900);border-color:var(--green-900);transform:translateY(-2px);box-shadow:0 10px 22px rgba(15,61,36,.22);}
  .cta-secondary{
    background:rgba(255,255,255,.9);border:1px solid #1b6b34;color:#1b6b34;padding:12px 22px;border-radius:7px;
    font-weight:500;font-size:15px;cursor:pointer;transition:all .25s ease;display:inline-flex;align-items:center;gap:8px;
  }
  .cta-secondary .cta-arrow{transition:transform .25s ease;}
  .cta-secondary:hover{background:var(--green-50);transform:translateY(-2px);box-shadow:0 10px 22px rgba(20,40,25,.08);}
  .cta-secondary:hover .cta-arrow{transform:translateX(4px);}

  .hero-community{display:flex;align-items:center;gap:14px;margin-top:28px;}
  .hero-community .avatars{display:flex;}
  .hero-community .avatars span{
    width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
    font-size:17px;background:#e6efe3;border:2px solid #fff;margin-left:-9px;
    box-shadow:0 2px 6px rgba(20,40,25,.1);
  }
  .hero-community .avatars span:first-child{margin-left:0;}
  .hero-community .avatars span:nth-child(2){background:#f6ecd9;}
  .hero-community .avatars span:nth-child(3){background:#e3ecf6;}
  .hero-community .avatars span:nth-child(4){background:#efe6f3;}
  .hero-community p{font-size:13px;line-height:1.45;color:#4b5a50;margin:0;}

  /* stat cards */
  .hero-cards{display:flex;gap:12px;max-width:560px;}
  .hero-card{
    flex:1 1 0;min-width:0;display:flex;gap:10px;align-items:flex-start;
    background:#fff;border-radius:10px;
    padding:13px 12px;box-shadow:0 8px 24px rgba(20,40,25,.10);
    transition:transform .3s ease, box-shadow .3s ease;
  }
  .hero-card:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(20,40,25,.14);}
  .hero-card.swap .stat-body{animation:statSwap .45s ease;}
  @keyframes statSwap{from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:translateY(0);}}
  .stat-body{min-width:0;}
  .stat-icon{
    flex:0 0 28px;width:28px;height:28px;border-radius:50%;
    display:inline-flex;align-items:center;justify-content:center;font-size:14px;
  }
  .stat-icon.green{background:#dcefe0;}
  .stat-icon.blue{background:#dfeafa;}
  .stat-icon.orange{background:#fde3cf;}
  .stat-label{font-size:10.5px;color:#56645a;margin-bottom:5px;display:flex;align-items:center;gap:5px;white-space:nowrap;}
  .live-dot{flex:0 0 6px;width:6px;height:6px;border-radius:50%;background:#22a35a;animation:livePulse 1.8s infinite;}
  @keyframes livePulse{0%{box-shadow:0 0 0 0 rgba(34,163,90,.5);}70%{box-shadow:0 0 0 6px rgba(34,163,90,0);}100%{box-shadow:0 0 0 0 rgba(34,163,90,0);}}
  .stat-title{font-size:12.5px;color:#16241a;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .stat-value{font-size:13.5px;color:#16241a;font-weight:600;margin-top:3px;white-space:nowrap;}
  .stat-value small{font-size:10.5px;color:var(--muted);font-weight:400;}
  #weatherCard .stat-value{font-size:15px;}
  .stat-sub{font-size:11px;color:var(--muted);font-weight:400;}
  #weatherCard .stat-sub{display:block;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .stat-change{font-size:11px;font-weight:500;margin-top:4px;min-height:14px;}
  .stat-change.up{color:#1b6b34;}
  .stat-change.down{color:#d14343;}

  /* phone mockup */
  .phone{
    position:absolute;right:-8px;top:110px;width:228px;z-index:3;
    background:#1b1f1c;border-radius:32px;padding:8px;
    box-shadow:0 30px 60px rgba(15,30,20,.3);
    transition:transform .4s ease;
  }
  .phone:hover{transform:translateY(-6px);}
  .phone-notch{
    position:absolute;top:8px;left:50%;transform:translateX(-50%);
    width:78px;height:18px;background:#1b1f1c;border-radius:0 0 12px 12px;z-index:2;
  }
  .phone-screen{background:#fff;border-radius:25px;padding:28px 12px 14px;overflow:hidden;}
  .phone-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;}
  .phone-brand{color:#1b6b34;font-weight:600;}
  .phone-tools{font-size:10px;letter-spacing:4px;}
  .phone-greet{
    margin-top:12px;background:#1b6b34;
    color:#fff;border-radius:10px;padding:12px;font-size:13px;font-weight:500;
  }
  .phone-greet small{display:block;font-size:10px;opacity:.85;font-weight:400;}
  .phone-menu{display:flex;justify-content:space-between;margin-top:12px;}
  .phone-menu div{
    display:flex;flex-direction:column;align-items:center;gap:4px;font-size:8.5px;color:var(--muted);
  }
  .phone-menu span{
    width:30px;height:30px;border-radius:9px;background:var(--green-50);
    display:inline-flex;align-items:center;justify-content:center;font-size:14px;
  }
  .phone-section{margin-top:14px;font-size:11.5px;font-weight:600;color:#16241a;}
  .phone-prices{list-style:none;margin:8px 0 0;padding:0;}
  .phone-prices li{
    display:flex;align-items:center;gap:6px;font-size:9.5px;padding:8px 0;border-bottom:1px solid #eef2ec;
  }
  .phone-prices .item{flex:1;min-width:0;color:#16241a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .phone-prices .p{color:#16241a;white-space:nowrap;}
  .phone-prices .c{width:36px;text-align:right;font-weight:500;white-space:nowrap;}
  .phone-prices .c.up{color:#1b6b34;}
  .phone-prices .c.down{color:#d14343;}
  .phone-prices li.empty{color:var(--muted);justify-content:center;border-bottom:none;padding:14px 0;}
  .phone-all{
    margin:10px auto 0;width:max-content;font-size:10px;color:#1b6b34;
    background:var(--green-50);padding:5px 14px;border-radius:12px;
  }

  /* ============ SEARCH (container/row/col) ============ */
  .search-wrap {
    margin-top: 8px;
    max-width: calc(100% - 250px);
    background: #ffffff;
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow:0 14px 40px rgba(20,40,25,.10);
    position:relative;z-index:2;
  }
  .search-bar{display:flex;align-items:stretch;gap:12px;}
  .search-field{
    flex:1;min-width:0;display:flex;align-items:center;gap:12px;
    background:#fff;border:1px solid var(--border);border-radius:8px;
    padding:0 0 0 16px;
    transition:box-shadow .3s ease, border-color .3s ease;
  }
  .search-field:focus-within{
    border-color:#1b6b34;
    box-shadow:0 6px 18px rgba(20,40,25,.08);
  }
  .search-icon{flex:0 0 auto;color:#4b5a50;}
  .search-field input{
    flex:1;min-width:0;border:none;outline:none;font-size:15px;padding:14px 0;background:transparent;
  }
  .search-cat{
    align-self:stretch;border:none;border-left:1px solid var(--border);background:transparent;
    padding:0 12px;width:160px;font-size:14px;color:#2b3a30;outline:none;cursor:pointer;
  }
  .search-loc{
    align-self:stretch;display:flex;align-items:center;gap:6px;margin:0;
    border-left:1px solid var(--border);padding-left:12px;color:#1b6b34;cursor:pointer;
  }
  .search-loc svg{flex:0 0 auto;}
  .search-loc select{
    border:none;background:transparent;outline:none;cursor:pointer;
    height:100%;width:170px;padding-right:10px;font-size:14px;color:#2b3a30;
  }
  .search-bar button{
    background:#1b6b34;color:#fff;border:none;padding:0 34px;border-radius:8px;font-weight:500;font-size:15px;
    cursor:pointer;transition:all .25s ease;
  }
  .search-bar button:hover{background:var(--green-900);transform:translateY(-2px);box-shadow:0 8px 16px rgba(15,61,36,.22);}

  .popular{
    display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px;font-size:13.5px;color:#3d4a41;
  }
  .popular .chip{
    background:#f2f4f1;border:1px solid transparent;padding:5px 16px;border-radius:6px;color:#2b3a30;font-size:13px;
    font-family:inherit;line-height:1.5;cursor:pointer;transition:all .25s ease;
  }
  .popular .chip:nth-of-type(-n+2){background:#e3f2e6;color:#1b6b34;}
  .popular .chip:hover{
    background:#1b6b34;
    color:#fff;
    transform:translateY(-2px);
    box-shadow:0 8px 16px rgba(20,40,25,.15);
  }

  /* ============ CATEGORIES (container/row/col) ============ */
  .categories{padding:64px 0 72px;}
  .categories .section-head{margin-bottom:28px;}
  .section-head h2{
    font-size:28px;font-weight:600;color:#16241a;letter-spacing:-.015em;
  }
  .section-head p{
    margin-top:6px;font-size:14.5px;color:var(--muted);
  }

  .cat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;}
  .cat-tile{
    display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;
    background:#fff;border:1px solid var(--border);border-radius:14px;padding:22px 14px 18px;color:inherit;
    transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  }
  .cat-tile:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(20,40,25,.09);border-color:#d3e6d8;color:inherit;}
  .cat-thumb{
    width:84px;height:84px;border-radius:50%;overflow:hidden;flex:0 0 auto;
    display:flex;align-items:center;justify-content:center;color:#7fae8c;
    background:linear-gradient(135deg,#eaf4ec 0%,#d9ebdd 100%);
    box-shadow:0 0 0 4px #f1f7f2;
  }
  .cat-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease;}
  .cat-tile:hover .cat-thumb img{transform:scale(1.08);}
  .cat-tile h3{font-size:15px;font-weight:500;color:#16241a;line-height:1.35;margin:0;}
  .cat-tile:hover h3{color:#1b6b34;}

  @media (max-width:900px){
    .cat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
    .cat-thumb{width:68px;height:68px;}
    .cat-tile{padding:16px 10px 14px;}
    .cat-tile h3{font-size:13.5px;}
  }
  @media (max-width:560px){
    .cat-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  }

  /* ============ FEATURED PRODUCTS (container/row/col) ============ */
  .featured{padding:0 0 70px;}
  .featured .section-head{
    display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:26px;
  }
  .view-all{
     font-size: 14px;
    font-weight: 600;
    color: #16241a;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: gap .25s ease, color .25s ease;
    background: #ceebd4;
    padding: 10px 20px;
    text-align: center;
    border-radius: 22px;
  }

 .section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
}
  .view-all:hover{gap:12px;color:var(--green-700);}

  .featured .row{row-gap:24px;}
  .featured .second-row{margin-top:24px;}

  .product-card{
    flex:0 0 calc(25% - 18px);
    max-width:calc(25% - 18px);
    background:#fff;
    border:1px solid var(--border);
    border-radius:16px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    cursor:pointer;
    transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  }
  .product-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 36px rgba(20,40,25,.16);
    border-color:#cfe4d4;
  }

  .product-thumb{
    background:linear-gradient(135deg,#d9efdd,#c8e9cf);
    height:150px;
    display:flex;align-items:center;justify-content:center;
    font-size:52px;
    position:relative;
    overflow:hidden;
  }
  .product-thumb span{
    display:inline-block;
    transition:transform .4s cubic-bezier(.34,1.56,.64,1);
  }
  .product-card:hover .product-thumb span{
    transform:scale(1.18) rotate(-8deg);
  }

  .product-body{padding:10px;flex:1;display:flex;flex-direction:column;}
  .product-top{
    display:flex;align-items:flex-start;justify-content:space-between;gap:8px;
  }
  .product-name h4{font-size:15.5px;font-weight:700;color:#16241a;}
  .product-name .bn{font-size:12px;color:var(--muted);margin-top:2px;}
  .product-rating{
    font-size:13px;color:#16241a;font-weight:600;white-space:nowrap;
    display:flex;align-items:center;gap:3px;
  }
  .product-rating .star{color:#f5a623;}

  .product-price{
    margin-top:12px;font-size:19px;font-weight:800;color:var(--green-700);
  }
  .product-price sub{font-size:12.5px;font-weight:500;color:var(--muted);}

  .product-meta{
    margin-top:10px;font-size:12.5px;color:var(--muted);line-height:1.6;
  }
  .product-meta .loc{display:flex;align-items:center;gap:5px;color:#3d4a41;}

  .product-tags{
    display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;
  }
  .tag{
    font-size:11.5px;padding:4px 10px;border-radius:20px;
    background:#f1f4ee;color:#4a564d;border:1px solid var(--border);
    transition:background .25s ease, color .25s ease;
  }
  .tag.verified{background:var(--green-50);color:var(--green-700);border-color:#cfe4d4;}
  .product-card:hover .tag{background:#e9f3ea;}
  .product-card:hover .tag.verified{background:#dbeedd;}

  .product-seller{
    margin-top:12px;font-size:12px;color:var(--muted);
  }

  .btn-contact{
    margin-top:14px;width:100%;
    background:var(--green-700);color:#fff;border:none;
    padding:12px 0;border-radius:9px;font-weight:600;font-size:14px;
    cursor:pointer;
    transition:background .3s ease, transform .25s ease, box-shadow .3s ease;
  }
  .btn-contact:hover{
    background:var(--green-900);
    transform:translateY(-2px);
    box-shadow:0 10px 20px rgba(15,61,36,.28);
  }

  /* ============ DIRECT FROM FARMERS (container/row/col) ============ */
  .farmers{padding:0 0 70px;}
  .farmers .row{row-gap:24px;}

  .farmer-card{
    flex:0 0 calc(33.333% - 16px);
    max-width:calc(33.333% - 16px);
    background:#fff;
    border:1px solid var(--border);
    border-radius:16px;
    padding:24px;
    cursor:pointer;
    transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  }
  .farmer-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 32px rgba(20,40,25,.14);
    border-color:#cfe4d4;
  }

  .farmer-head{display:flex;align-items:center;gap:14px;}
  
  .farmer-avatar{
    flex:0 0 auto;
    width:44px;height:44px;border-radius:50%;
    background:var(--green-50);
    display:flex;align-items:center;justify-content:center;
    font-size:20px;
    transition:transform .35s ease, background .35s ease;
  }
  
  .farmer-card:hover .farmer-avatar{
    transform:scale(1.1) rotate(-6deg);
    background:#dcf0e0;
  }
  .farmer-name h4{font-size:16px;font-weight:700;color:#16241a;}
  .farmer-name .loc{
    font-size:12.5px;color:var(--muted);margin-top:2px;
    display:flex;align-items:center;gap:4px;
  }

  .farmer-info{
    display:flex;justify-content:space-between;gap:16px;margin-top:20px;
  }
  .farmer-info .label{font-size:12.5px;font-weight:700;color:#16241a;}
  .farmer-info .value{font-size:13px;color:var(--muted);margin-top:4px;}

  .farmer-products{margin-top:16px;}
  
  .farmer-products .label{
      font-size:12.5px;
      font-weight:700;
      color:#16241a;
  }
  
  .farmer-products .value{
      font-size:13px;color:var(--green-700);margin-top:4px;
  }

  .farmer-footer{
    display:flex;align-items:center;justify-content:space-between;
    margin-top:22px;padding-top:16px;border-top:1px solid var(--border);
  }
  .verified-badge{
    font-size:13px;color:var(--green-700);font-weight:600;
    display:flex;align-items:center;gap:5px;
  }
  .btn-profile{
    background:#fdfaf3;border:1px solid #ecd9ab;color:#16241a;
    padding:9px 18px;border-radius:8px;font-size:13.5px;font-weight:600;
    cursor:pointer;
    transition:all .25s ease;
  }
  .btn-profile:hover{
    background:var(--green-700);
    color:#fff;
    border-color:var(--green-700);
    transform:translateY(-2px);
    box-shadow:0 10px 18px rgba(20,40,25,.2);
  }

  /* ============ BULK RFQ BANNER (container/row/col) ============ */
  .bulk-cta{padding:0 0 70px;}
  .bulk-cta-inner{
    background:linear-gradient(120deg, var(--green-900) 0%, var(--green-700) 55%, #4a9a5c 100%);
    border-radius:22px;
    padding:44px 48px;
    position:relative;
    overflow:hidden;
  }
  .bulk-cta-inner::after{
    content:"";
    position:absolute;
    top:-40%;right:-10%;
    width:60%;height:180%;
    background:radial-gradient(circle, rgba(255,255,255,.08), transparent 65%);
    pointer-events:none;
  }
  .bulk-cta-inner .row{align-items:center;gap:32px;position:relative;z-index:1;}

  .bulk-copy{flex:0 0 calc(50% - 16px); max-width:calc(50% - 16px);}
  .bulk-copy h2{
    font-size:28px;font-weight:800;color:#fff;letter-spacing:-.01em;
  }
  .bulk-copy p{
    margin-top:12px;font-size:14.5px;line-height:1.6;color:rgba(255,255,255,.85);max-width:460px;
  }
  .btn-post-req{
    margin-top:20px;
    background:#fdfaf3;color:var(--green-900);
    border:none;padding:13px 24px;border-radius:9px;
    font-weight:700;font-size:14.5px;cursor:pointer;
    transition:all .25s ease;
  }
  .btn-post-req:hover{
    background:#fff;
    transform:translateY(-3px);
    box-shadow:0 12px 24px rgba(0,0,0,.25);
  }

  .bulk-stats{
    flex:0 0 calc(50% - 16px); max-width:calc(50% - 16px);
    display:flex; flex-wrap:wrap; gap:14px;
  }
  .stat-card{
    flex:0 0 calc(50% - 7px); max-width:calc(50% - 7px);
    background:rgba(255,255,255,.14);
    border:1px solid rgba(255,255,255,.18);
    border-radius:14px;
    padding:16px 20px;
    cursor:pointer;
    transition:transform .3s ease, background .3s ease, box-shadow .3s ease;
  }
  .stat-card:hover{
    transform:translateY(-5px);
    background:rgba(255,255,255,.22);
    box-shadow:0 14px 26px rgba(0,0,0,.2);
  }
  .stat-card .num{
    font-size:22px;font-weight:800;color:#fff;
    transition:transform .3s ease;
  }
  .stat-card:hover .num{transform:scale(1.06);}
  .stat-card .label{
    font-size:12.5px;color:rgba(255,255,255,.85);margin-top:2px;
  }

  /* ============ OPEN BUYER REQUIREMENTS (container/row/col) ============ */
  .rfqs{padding:0 0 70px;}
  .rfqs .row{row-gap:24px;}

  .rfq-card{
    flex:0 0 calc(50% - 12px);
    max-width:calc(50% - 12px);
    background:#fff;
    border:1px solid var(--border);
    border-radius:16px;
    padding:24px;
    cursor:pointer;
    transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  }
  .rfq-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 32px rgba(20,40,25,.14);
    border-color:#cfe4d4;
  }

  .rfq-card h4{font-size:16.5px;font-weight:700;color:#16241a;}
  .rfq-meta{
    margin-top:6px;font-size:13px;color:var(--muted);
  }
  .rfq-meta .dim{color:var(--green-700);}

  .rfq-tags{
    display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;
  }
  .rfq-tag{
    font-size:12.5px;padding:6px 12px;border-radius:8px;
    background:#f1f4ee;color:#4a564d;border:1px solid var(--border);
    transition:transform .25s ease, background .25s ease;
  }
  .rfq-tag.qty{background:var(--green-50);color:var(--green-700);border-color:#cfe4d4;font-weight:600;}
  .rfq-card:hover .rfq-tag{transform:translateY(-2px);}
  .rfq-card:hover .rfq-tag.qty{background:#dbeedd;}

  .btn-submit-quote{
    margin-top:18px;
    background:#fff;border:1px solid #16241a;color:#16241a;
    padding:9px 20px;border-radius:8px;font-weight:600;font-size:13.5px;
    cursor:pointer;
    transition:all .25s ease;
  }
  .btn-submit-quote:hover{
    background:var(--green-700);
    color:#fff;
    border-color:var(--green-700);
    transform:translateY(-2px);
    box-shadow:0 10px 18px rgba(20,40,25,.2);
  }

  /* ============ AGRICULTURAL EXPERTS (container/row/col) ============ */
  .experts{padding:0 0 70px;}
  /* equal-height cards; the button always sits at the bottom */
  .expert-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;}

  .expert-card{
    display:flex;flex-direction:column;height:100%;
    background:#fff;
    border:1px solid var(--border);
    border-radius:14px;
    padding:18px;
    transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  }
  .expert-card:hover{
    transform:translateY(-4px);
    box-shadow:0 14px 28px rgba(20,40,25,.10);
    border-color:#cfe4d4;
  }

  .expert-head{display:flex;align-items:flex-start;gap:12px;min-width:0;}
  .expert-avatar{
    flex:0 0 46px;width:46px;height:46px;border-radius:50%;
    display:flex;align-items:center;justify-content:center;
    background:#e3f2e6;color:#1b6b34;font-size:15px;font-weight:600;letter-spacing:.02em;
  }
  .expert-id{min-width:0;}
  /* long text: at most 2 lines, cut with … (full text in the tooltip) */
  .expert-card h4,
  .expert-card .role,
  .expert-facts span{
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
    overflow:hidden;overflow-wrap:anywhere;word-break:break-word;
  }
  .expert-card h4{font-size:15px;font-weight:600;color:#16241a;margin:2px 0 0;line-height:1.3;}
  .expert-card .role{font-size:12.5px;color:#1b6b34;font-weight:500;margin-top:3px;line-height:1.35;}

  .expert-facts{list-style:none;margin:14px 0 0;padding:14px 0 0;border-top:1px solid #edf2ec;display:flex;flex-direction:column;gap:8px;}
  .expert-facts li{display:flex;align-items:flex-start;gap:8px;font-size:13px;color:#56645a;line-height:1.45;}
  .expert-facts svg{flex:0 0 auto;margin-top:2px;color:#8aa391;}
  .expert-facts span{min-width:0;}

  .expert-bottom{
    display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 10px;
    margin-top:auto;padding-top:16px;
  }
  .expert-price{font-size:16px;font-weight:600;color:#16241a;white-space:nowrap;}
  .expert-price span{font-size:12px;font-weight:400;color:var(--muted);}
  .expert-rating{
    display:inline-flex;align-items:center;gap:4px;
    font-size:12.5px;font-weight:500;color:#7a5a12;
    background:#fff6e2;border-radius:999px;padding:3px 9px;
  }
  .expert-rating svg{color:#f5a623;}

  .btn-book{
    display:block;text-align:center;text-decoration:none;
    margin-top:14px;width:100%;
    background:#fff;color:#1b6b34;border:1px solid #1b6b34;
    padding:9px 0;border-radius:8px;font-weight:500;font-size:13.5px;
    cursor:pointer;
    transition:background .25s ease, color .25s ease;
  }
  .btn-book:hover,
  .expert-card:hover .btn-book{
    background:#1b6b34;color:#fff;
  }
  .expert-grid > *{min-width:0;}

  @media (max-width:1100px){
    .expert-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  }
  @media (max-width:560px){
    .expert-grid{grid-template-columns:minmax(0,1fr);gap:14px;}
  }

  /* ============ POPULAR SERVICES (container/row/col) ============ */
  .services{padding:0 0 70px;}
  /* equal-height cards whatever the name length */
  .service-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px;}

  .service-card{
    height:100%;
    display:flex;flex-direction:column;align-items:center;
    background:#fff;
    border:1px solid var(--border);
    border-radius:14px;
    padding:24px 14px 20px;
    text-align:center;
    cursor:pointer;
    transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  }
  .service-card:hover{
    transform:translateY(-4px);
    box-shadow:0 14px 26px rgba(20,40,25,.10);
    border-color:#cfe4d4;
  }

  .service-icon{
    width:52px;height:52px;margin:0 auto;flex:0 0 auto;
    border-radius:14px;
    background:#eaf5ec;color:#1b6b34;
    display:flex;align-items:center;justify-content:center;
    transition:background .3s ease, color .3s ease;
  }
  .service-card:hover .service-icon{
    background:#1b6b34;color:#fff;
  }

  .service-card h4{
    margin-top:14px;font-size:14.5px;font-weight:500;color:#16241a;line-height:1.35;
  }
  .service-card .bn{
    margin-top:4px;font-size:12.5px;color:var(--muted);
  }
  @media (max-width:1100px){
    .service-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  }
  @media (max-width:560px){
    .service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
    .service-card{padding:18px 10px 16px;}
    .service-icon{width:46px;height:46px;}
  }

  @media (max-width:900px){
    .container{padding:0 18px;}
    .nav-links, .lang{display:none;}
    header{padding:14px 0;}
    .hero{padding:36px 0;}
    .hero-row{gap:28px;}
    .hero-copy, .hero-visual{flex:0 0 100%; max-width:100%;}
    .hero-bg{width:100%;opacity:.18;-webkit-mask-image:none;mask-image:none;}
    .hero-bg img{left:0;top:0;width:100%;height:100%;object-fit:cover;-webkit-mask-image:none;mask-image:none;}
    h1, .hero h1{font-size:36px;}
    .hero-visual{min-height:0;}
    .hero-cards{max-width:none;overflow-x:auto;padding-bottom:6px;}
    .hero-card{flex:0 0 170px;}
    .phone{display:none;}
    .search-wrap{margin-top:28px;padding:16px;max-width:100%;}
    .search-cat{display:none;}
    .search-bar{flex-wrap:wrap;}
    .search-field{flex:1 1 100%;flex-wrap:wrap;padding:0;}
    .search-field .search-icon{margin-left:14px;}
    .search-field input{flex:1 1 0;padding:13px 14px 13px 0;}
    .search-loc{flex:1 1 100%;border-left:none;border-top:1px solid var(--border);padding:0 0 0 14px;min-height:46px;}
    .search-loc select{flex:1;width:auto;}
    .search-bar button{flex:1 1 100%;padding:13px 18px;}
    .categories{padding:40px 0 50px;}
    .product-card{flex:0 0 calc(50% - 12px); max-width:calc(50% - 12px);}
    .featured .section-head{flex-direction:column;align-items:flex-start;gap:6px;}
    .farmer-card{flex:0 0 100%; max-width:100%;}
    .bulk-cta-inner{padding:32px 24px;}
    .bulk-copy, .bulk-stats{flex:0 0 100%; max-width:100%;}
    .bulk-stats{margin-top:8px;}
    .rfq-card{flex:0 0 100%; max-width:100%;}
  }
  @media (max-width:560px){

  }
  @media (max-width:560px){
    .product-card{flex:0 0 100%; max-width:100%;}
    .cta-secondary {
        padding: 14px 10px
    }
    .cta-primary {
        padding: 14px 10px;
    }
    .search-bar button {
        padding: 13px 14px;
    }
    
  }








/* ======================================== FOOTER ======================================== */
.agro-footer {
    background: #092c20;
    color: #fff;
    position: relative;
    overflow: hidden;
} /* ======================================== NEWSLETTER ======================================== */
.footer-newsletter {
    padding: 70px 0 0;
}
.newsletter-box {
    background: #124b35;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 38px 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}
.newsletter-box::after {
    content: "";
    width: 220px;
    height: 220px;
    border: 40px solid rgba(255, 255, 255, 0.025);
    border-radius: 50%;
    position: absolute;
    right: -80px;
    bottom: -100px;
}
.newsletter-content {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}
.newsletter-icon {
    width: 65px;
    height: 65px;
    min-width: 65px;
    border-radius: 50%;
    background: #d9f36a;
    color: #092c20;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}
.newsletter-small-title {
    color: #d9f36a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
}
.newsletter-content h3 {
    font-size: 25px;
    line-height: 1.3;
    margin: 5px 0 7px;
    font-weight: 600;
}
.newsletter-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
}
.newsletter-form {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}
.newsletter-input {
    width: 280px;
    height: 52px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 16px;
}
.newsletter-input i {
    color: #769083;
    margin-right: 10px;
}
.newsletter-input input {
    border: 0;
    outline: 0;
    width: 100%;
    font-size: 13px;
    color: #222;
}
.newsletter-input input::placeholder {
    color: #999;
}
.newsletter-form button {
    height: 52px;
    border: 0;
    border-radius: 8px;
    padding: 0 22px;
    background: #d9f36a;
    color: #092c20;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: 0.3s;
}
.newsletter-form button i {
    margin-left: 7px;
}
.newsletter-form button:hover {
    background: #fff;
} /* ======================================== MAIN FOOTER ======================================== */
.main-footer {
    padding: 70px 0 50px;
}
/* own grid: the global .row gap would push Bootstrap columns onto a second line */
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr);
    gap: 40px 32px;
}
.footer-col { min-width: 0; } /* Logo */
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    margin-bottom: 20px;
}
.logo-icon {
    width: 43px;
    height: 43px;
    background: #d9f36a;
    color: #092c20;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    transform: rotate(-5deg);
}
.logo-text {
    font-size: 27px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
}
.logo-text span {
    color: #d9f36a;
} /* About */
.footer-about-text {
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    line-height: 1.8;
    max-width: 330px;
    margin-bottom: 25px;
} /* Social */
.footer-social {
    display: flex;
    gap: 9px;
}
.footer-social a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
}
.footer-social a:hover {
    background: #d9f36a;
    color: #092c20;
    border-color: #d9f36a;
    transform: translateY(-3px);
} /* Footer Columns */
.footer-column h5 {
    font-size: 15px;
    font-weight: 600;
    margin: 4px 0 22px;
    color: #fff;
    position: relative;
    padding-bottom: 12px;
}
.footer-column h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: #d9f36a;
}
.footer-column ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.footer-column ul li {
    margin-bottom: 13px;
}
.footer-column ul li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.58);
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
}
.footer-column ul li a i {
    font-size: 9px;
    color: #d9f36a;
    opacity: 1;
    transform: translateX(-5px);
    transition: 0.3s;
}
.footer-column ul li a:hover {
    color: #d9f36a;
}
.footer-column ul li a:hover i {
    opacity: 1;
    transform: translateX(0);
} /* ======================================== CONTACT ======================================== */
.footer-contact-item {
    display: flex;
    gap: 11px;
    margin-bottom: 18px;
}
.contact-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 7px;
    background: rgba(217, 243, 106, 0.09);
    color: #d9f36a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.footer-contact-item span {
    display: block;
    color: rgba(255, 255, 255, 0.38);
    font-size: 10px;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}
.footer-contact-item a,
.footer-contact-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    font-size: 12.5px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.footer-contact-item a:hover {
    color: #d9f36a;
} /* ======================================== FOOTER BOTTOM ======================================== */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-bottom-inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}
.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 13px;
}
.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 11px;
    transition: 0.3s;
}
.footer-bottom-links a:hover {
    color: #d9f36a;
}
.footer-bottom-links span {
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
} 


.footer-logo img {
    max-width: 200px;
    width: 100%;
}







/* ======================================== RESPONSIVE ======================================== */
@media (max-width: 991px) {
    .newsletter-box {
        flex-direction: column;
        align-items: flex-start;
    }
    .newsletter-form {
        width: 100%;
    }
    .newsletter-input {
        flex: 1;
    }
}

@media (max-width: 1199px) {
    .footer-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .footer-col-about {
        grid-column: 1 / -1;
    }
    .footer-about-text {
        max-width: 520px;
    }
}

@media (max-width: 767px) {
    .footer-newsletter {
        padding-top: 40px;
    }
    .newsletter-box {
        padding: 28px 22px;
        gap: 25px;
    }
    .newsletter-content {
        align-items: flex-start;
    }
    .newsletter-icon {
        width: 52px;
        height: 52px;
        min-width: 52px;
        font-size: 20px;
    }
    .newsletter-content h3 {
        font-size: 21px;
    }
    .newsletter-content p {
        font-size: 12px;
        line-height: 1.6;
    }
    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }
    .newsletter-input {
        width: 100%;
        flex: none;
    }
    .newsletter-form button {
        width: 100%;
    }
    .main-footer {
        padding: 50px 0 35px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 20px;
    }
    .footer-col-contact {
        grid-column: 1 / -1;
    }
    .footer-column h5 {
        margin-bottom: 16px;
    }
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    .footer-bottom-inner {
        padding: 20px 0;
        flex-direction: column;
        text-align: center;
    }
}
