:root{
  --green:#1F5E3B;
  --green-dark:#16462c;
  --gold:#E4A41E;
  --text:#222;
  --muted:#666;
  --bg:#ffffff;
  --bg2:#fbf7ef;
  --card:#ffffff;
  --border:#e9e3d8;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --radius:16px;
  --max:1100px;
}

*{box-sizing:border-box}

html,body{
  background:
    linear-gradient(rgba(255,255,255,0.82), rgba(255,255,255,0.82)),
    url("/assets/bg-fruits.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

a{text-decoration:none;color:inherit}
img,video{max-width:100%;display:block}

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 18px;
}

.small{font-size:.95rem;color:var(--muted)}

/* ================= HEADER ================= */

header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}

.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0;
  position:relative;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.brand video,
.brand img{
  width:44px;
  height:44px;
  border-radius:12px;
  object-fit:cover;
  border:1px solid var(--border);
  background:#fff;
}

.brand .title{font-weight:800}
.brand .subtitle{font-size:12px;color:var(--muted)}

nav{
  display:flex;
  gap:16px;
  align-items:center;
}

nav a{
  padding:8px 10px;
  border-radius:10px;
}

nav a:hover,
nav a.active{
  background:var(--bg2);
}

.menu-btn{
  display:none;
  border:1px solid var(--border);
  background:#fff;
  border-radius:12px;
  padding:10px 12px;
  cursor:pointer;
}

/* ================= HERO VIDEO (Home) ================= */

.hero--video{
  position:relative;
  min-height:90vh;
  display:flex;
  align-items:center;
  overflow:hidden;
}

.hero-bg-video{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}

.hero-bg-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.70) 0%,
      rgba(0,0,0,0.50) 40%,
      rgba(0,0,0,0.30) 100%
    );
}

.hero-grid{
  position:relative;
  z-index:2;
  width:100%;
  padding:100px 0;
}

.hero-logo{
  margin-bottom:20px;
}

.logo-video{
  width:110px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.25);
  background:rgba(255,255,255,0.10);
}

/* Hero Text */
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.3);
  background:rgba(255,255,255,0.15);
  color:#fff;
}

.badge-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--gold);
}

.h-title{
  font-size:44px;
  font-weight:900;
  margin:12px 0;
  color:#fff;
}

.h-sub{
  font-size:18px;
  max-width:550px;
  color:#fff;
  opacity:.95;
}

.cta-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:20px;
}

/* Buttons */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:12px;
  font-weight:700;
  border:1px solid var(--border);
  cursor:pointer;
  transition:all .2s ease;
}

.btn.primary{
  background:var(--green);
  border-color:var(--green);
  color:#fff;
}

.btn.primary:hover{
  background:var(--green-dark);
}

.btn.secondary{
  background:#fff;
}

.btn.gold{
  background:var(--gold);
  border-color:var(--gold);
  color:#111;
}

.btn:hover{
  transform:translateY(-2px);
}

/* Trust Bar */

.trustbar{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}

.trustbar span{
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.25);
  background:rgba(255,255,255,0.15);
  color:#fff;
  font-size:14px;
}

/* ================= SECTIONS ================= */

.section{
  padding:60px 0;
}

.section h2{
  font-size:30px;
  font-weight:900;
  margin-bottom:12px;
}

.lead{
  max-width:700px;
  color:var(--muted);
  margin-bottom:24px;
}

.grid3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.grid2{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:20px;
  box-shadow:var(--shadow);
}

.card h3{
  margin-top:0;
}

.card ul{
  margin:10px 0 0;
  padding-left:18px;
  color:var(--muted);
}

.pill{
  display:inline-block;
  margin-top:10px;
  padding:6px 10px;
  border-radius:999px;
  font-weight:700;
  font-size:12px;
  background:var(--bg2);
  border:1px solid var(--border);
  color:#333;
}

/* Tables */
.table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
  box-shadow:var(--shadow);
}

.table th, .table td{
  padding:12px 12px;
  border-bottom:1px solid var(--border);
  text-align:left;
  font-size:14px;
}

.table thead th{
  background:var(--bg2);
  font-weight:800;
}

.table tbody tr:last-child td{
  border-bottom:none;
}

/* ================= SECTION BACKGROUNDS (WORKING) ================= */

.section-bg{
  position: relative;
  overflow: hidden;
}

/* Background image */
.section-bg::before{
  content:"";
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  opacity:0.55;          /* visible */
  pointer-events:none;
}

/* Very light overlay (only 25%) */
.section-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(255,255,255,0.25);
  pointer-events:none;
}

.section-bg > .container{
  position:relative;
  z-index:1;
}

/* Image mapping */
.bg-fruits::before{ background-image:url("/assets/bg-fruits.png"); }
.bg-cashew::before{ background-image:url("/assets/bg-cashew.png"); }
.bg-nuts::before{   background-image:url("/assets/bg-nuts.png"); }

/* ✅ KEY FIX: show background through cards/tables inside bg sections */
/* ===== GLASS CARDS ON BACKGROUND SECTIONS ===== */

/* override the default solid white cards ONLY inside background sections */
.section-bg .card{
  background: rgba(255,255,255,0.68) !important;  /* more transparent */
  border: 1px solid rgba(233,227,216,0.95) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.10) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* make the small pill also slightly transparent (optional) */
.section-bg .pill{
  background: rgba(255,255,255,0.70);
}

/* ================= FOOTER ================= */

.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap:20px;
  padding:40px 0;
  border-top:1px solid var(--border);
}

.footer-links{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:10px;
}

.copy{
  color:var(--muted);
  font-size:14px;
}

/* Video footer (if used on other pages) */
.video-footer{
  position: relative;
  overflow: hidden;
  border-top: none;
  background: transparent;
  display: block;
}

.video-footer .footer-inner{
  position: relative;
  z-index: 2;
  padding: 80px 0;
  color: #fff;
}

.video-footer .footer-bg-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.video-footer .footer-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0,0,0,0.70);
}

/* ================= MOBILE ================= */

@media (max-width:900px){

  .hero--video{
    min-height:80vh;
  }

  .hero-grid{
    padding:70px 0;
  }

  .h-title{
    font-size:32px;
  }

  .grid3{
    grid-template-columns:1fr;
  }

  .grid2{
    grid-template-columns:1fr;
  }

  nav{
    display:none;
  }

  .menu-btn{
    display:inline-flex;
  }

  nav.open{
    display:flex;
    position:absolute;
    left:18px;
    right:18px;
    top:64px;
    flex-direction:column;
    gap:8px;
    padding:12px;
    background:#fff;
    border:1px solid var(--border);
    border-radius:16px;
    box-shadow:var(--shadow);
  }

  .footer-grid{
    grid-template-columns:1fr;
  }
}