:root{
  --forest:#1F3A2E;
  --forest-dark:#132720;
  --leaf:#5C8A4A;
  --gold:#D9A441;
  --gold-deep:#B9832A;
  --soil:#7A5230;
  --paper:#FAF6EC;
  --paper-2:#F3ECDA;
  --ink:#22301F;
  --line:rgba(31,58,46,0.14);
}

html{scroll-behavior:smooth;}

body{
  font-family:'Manrope',sans-serif;
  color:var(--ink);
  background:var(--paper);
  overflow-x:hidden;
}

h1,h2,h3,h4,.display-font{font-family:'Fraunces',serif;}

.eyebrow{
  letter-spacing:.18em;text-transform:uppercase;font-size:.75rem;font-weight:700;color:var(--gold-deep);
}

.grain-divider{width:64px;height:4px;background:var(--gold);border-radius:2px;position:relative;}
.grain-divider::after{
  content:"";position:absolute;left:74px;top:-6px;width:16px;height:16px;
  background:var(--leaf);border-radius:50% 50% 50% 0;transform:rotate(45deg);
}

/* ---------- PAGE HEADER BANNER (inner pages) ---------- */
.page-banner{
  background:linear-gradient(120deg,rgba(19,39,32,.92),rgba(31,58,46,.78)),
             url('https://loremflickr.com/1600/500/farmfield,agriculture') center/cover no-repeat;
  padding:170px 0 70px;color:#fff;position:relative;
}
.page-banner h1{color:#fff;font-weight:600;font-size:clamp(2rem,4vw,2.9rem);}
.page-banner .breadcrumb-custom a{color:rgba(255,255,255,.75);text-decoration:none;font-weight:600;}
.page-banner .breadcrumb-custom a:hover{color:var(--gold);}
.page-banner .breadcrumb-custom span{color:var(--gold);font-weight:700;}

/* ---------- NAVBAR ---------- */
body{padding-top:0;}
.navbar-custom{
  background:rgba(250,246,236,0.97);
  backdrop-filter:blur(6px);
  transition:box-shadow .3s ease, padding .3s ease;
  padding-top:14px;padding-bottom:14px;
  border-bottom:1px solid var(--line);
}
.navbar-custom.scrolled{box-shadow:0 6px 24px rgba(19,39,32,.08);padding-top:8px;padding-bottom:8px;}
.navbar-brand-custom{font-family:'Fraunces',serif;font-weight:700;color:var(--forest)!important;line-height:1.05;}
.navbar-brand-custom small{
  display:block;font-family:'Manrope',sans-serif;font-weight:600;
  font-size:.6rem;letter-spacing:.13em;color:var(--gold-deep);text-transform:uppercase;
}
.brand-logo{height:50px;width:auto;object-fit:contain;}
.brand-logo-footer{height:44px;}
.nav-link-custom{color:var(--forest)!important;font-weight:600;font-size:.92rem;margin:0 4px;position:relative;}
.nav-link-custom::after{content:"";position:absolute;left:0;bottom:-2px;width:0;height:2px;background:var(--gold);transition:width .25s ease;}
.nav-link-custom:hover::after,.nav-link-custom.active::after{width:100%;}
.nav-link-custom.active{color:var(--gold-deep)!important;}
.dropdown-menu-custom{
  border:none;border-radius:14px;box-shadow:0 20px 40px rgba(19,39,32,.15);padding:10px;margin-top:10px!important;
}
.dropdown-menu-custom .dropdown-item{
  border-radius:9px;padding:10px 14px;font-weight:600;font-size:.9rem;color:var(--ink);
}
.dropdown-menu-custom .dropdown-item:hover{background:var(--paper-2);color:var(--forest);}
.btn-whatsapp-nav{background:#25D366;color:#fff;font-weight:700;border-radius:50px;padding:8px 20px;font-size:.9rem;}
.btn-whatsapp-nav:hover{background:#1eb958;color:#fff;}

/* ---------- HERO (home page) ---------- */
.hero{position:relative;min-height:92vh;display:flex;align-items:center;overflow:hidden;background:var(--forest-dark);}
.hero-carousel, .hero-carousel .carousel-inner, .hero-carousel .carousel-item{height:92vh;min-height:600px;}
.hero-carousel{position:absolute;inset:0;z-index:1;}
.hero-carousel .carousel-item img{
  width:100%;height:100%;object-fit:cover;
  animation:kenburns 8s ease-in-out infinite alternate;
}
@keyframes kenburns{from{transform:scale(1);}to{transform:scale(1.12);}}
.hero-carousel .slide-overlay{
  position:absolute;inset:0;background:linear-gradient(120deg,rgba(19,39,32,.92),rgba(31,58,46,.55));
}
.hero-carousel .carousel-caption-custom{
  position:absolute;right:6%;bottom:12%;text-align:right;z-index:2;
}
.hero-carousel .carousel-caption-custom .pill{
  display:inline-block;background:rgba(255,255,255,.12);backdrop-filter:blur(4px);
  border:1px solid rgba(255,255,255,.35);color:#fff;padding:8px 20px;border-radius:50px;
  font-family:'Fraunces',serif;font-weight:600;font-size:1rem;
}
.hero-content{position:relative;z-index:2;color:#fff;pointer-events:none;}
.hero-content .hero-cta,.hero-content a{pointer-events:auto;}
.hero-content .eyebrow{color:var(--gold);}
.hero h1{font-size:clamp(2.2rem,5vw,3.7rem);font-weight:600;line-height:1.08;color:#fff;animation:fadeUp 1s ease both;}
.hero h1 em{font-style:normal;color:var(--gold);font-weight:700;}
.hero p.lead-custom{color:rgba(255,255,255,.85);max-width:560px;animation:fadeUp 1.1s ease .15s both;font-size:1.08rem;}
.hero-cta{animation:fadeUp 1.2s ease .3s both;}
@keyframes fadeUp{from{opacity:0;transform:translateY(24px);}to{opacity:1;transform:translateY(0);}}
.btn-gold{background:var(--gold);border:none;color:var(--forest-dark);font-weight:700;padding:13px 30px;border-radius:50px;transition:.25s ease;}
.btn-gold:hover{background:#fff;color:var(--forest-dark);transform:translateY(-2px);}
.btn-outline-cream{border:1.5px solid rgba(255,255,255,.6);color:#fff;font-weight:700;padding:13px 28px;border-radius:50px;transition:.25s ease;}
.btn-outline-cream:hover{background:#fff;color:var(--forest-dark);border-color:#fff;}
.hero-scroll-cue{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);color:rgba(255,255,255,.75);font-size:1.6rem;z-index:2;animation:bounce 2s infinite;}
@keyframes bounce{0%,100%{transform:translate(-50%,0);}50%{transform:translate(-50%,10px);}}

#particleWrap{position:absolute;inset:0;z-index:2;pointer-events:none;overflow:hidden;}
.seed-particle{position:absolute;border-radius:50%;background:var(--gold);opacity:.55;animation:floatUp linear infinite;}
@keyframes floatUp{
  0%{transform:translateY(0) translateX(0) rotate(0deg);opacity:0;}
  10%{opacity:.6;}
  90%{opacity:.5;}
  100%{transform:translateY(-88vh) translateX(30px) rotate(200deg);opacity:0;}
}

/* hero carousel indicator dots */
.hero-carousel .carousel-indicators{bottom:24px;left:6%;right:auto;margin:0;justify-content:flex-start;width:auto;}
.hero-carousel .carousel-indicators [data-bs-target]{
  width:34px;height:4px;border-radius:2px;background:rgba(255,255,255,.4);opacity:1;margin-right:6px;
}
.hero-carousel .carousel-indicators .active{background:var(--gold);}

/* stat strip */
.stat-strip{background:var(--forest);color:#fff;}
.stat-strip .num{font-family:'Fraunces',serif;font-weight:700;font-size:2.4rem;color:var(--gold);}
.stat-strip .lbl{font-size:.82rem;letter-spacing:.06em;color:rgba(255,255,255,.75);text-transform:uppercase;}

/* ---------- REVEAL ---------- */
.reveal{opacity:0;transform:translateY(36px);transition:opacity .7s ease, transform .7s ease;}
.reveal.visible{opacity:1;transform:translateY(0);}
.reveal.delay-1{transition-delay:.1s;}
.reveal.delay-2{transition-delay:.2s;}
.reveal.delay-3{transition-delay:.3s;}
.reveal.delay-4{transition-delay:.4s;}

/* ---------- ABOUT ---------- */
.about-img-wrap{position:relative;}
.about-img-wrap img{border-radius:18px;box-shadow:0 24px 50px rgba(19,39,32,.18);}
.about-badge{
  position:absolute;bottom:-24px;left:-24px;background:var(--gold);color:var(--forest-dark);
  padding:18px 22px;border-radius:14px;box-shadow:0 14px 30px rgba(185,131,42,.35);font-family:'Fraunces',serif;
}
.about-badge .num{font-size:1.9rem;font-weight:800;display:block;line-height:1;}
.about-badge .txt{font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;}

/* ---------- WHY US ---------- */
.why-card{background:#fff;border-radius:16px;padding:34px 26px;height:100%;border:1px solid var(--line);transition:.3s ease;}
.why-card:hover{transform:translateY(-8px);box-shadow:0 20px 40px rgba(19,39,32,.1);border-color:transparent;}
.why-icon{
  width:60px;height:60px;border-radius:14px;background:var(--paper-2);display:flex;align-items:center;
  justify-content:center;font-size:1.6rem;color:var(--forest);margin-bottom:18px;transition:.3s ease;
}
.why-card:hover .why-icon{background:var(--gold);color:#fff;transform:rotate(-8deg) scale(1.05);}

/* ---------- PRODUCTS ---------- */
.section-title-wrap{max-width:640px;}
.product-card{border:none;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 8px 30px rgba(19,39,32,.06);transition:.35s ease;height:100%;}
.product-card:hover{transform:translateY(-10px);box-shadow:0 26px 50px rgba(19,39,32,.16);}
.product-card .img-wrap{height:220px;overflow:hidden;position:relative;}
.product-card .img-wrap img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease;}
.product-card:hover .img-wrap img{transform:scale(1.1);}
.product-tag{
  position:absolute;top:14px;left:14px;background:rgba(31,58,46,.88);color:var(--gold);font-size:.68rem;
  font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:5px 12px;border-radius:50px;
}
.product-card .card-body{padding:22px;}
.product-card h5{font-weight:700;color:var(--forest);}
.product-card p{font-size:.92rem;color:#4a544a;}
.btn-order{background:#25D366;color:#fff;border:none;font-weight:700;border-radius:50px;padding:9px 0;font-size:.86rem;}
.btn-order:hover{background:#1eb958;color:#fff;}
.btn-details{border:1.5px solid var(--forest);color:var(--forest);font-weight:700;border-radius:50px;padding:9px 0;font-size:.86rem;background:transparent;}
.btn-details:hover{background:var(--forest);color:#fff;}

/* ---------- PRODUCT DETAIL PAGE ---------- */
.product-hero-img{border-radius:20px;box-shadow:0 24px 50px rgba(19,39,32,.16);width:100%;height:420px;object-fit:cover;}
.product-gallery{border-radius:20px;overflow:hidden;box-shadow:0 24px 50px rgba(19,39,32,.16);}
.product-gallery .carousel-control-prev,
.product-gallery .carousel-control-next{width:44px;}
.product-gallery .carousel-control-prev-icon,
.product-gallery .carousel-control-next-icon{
  background-color:rgba(19,39,32,.55);border-radius:50%;padding:16px;background-size:50% 50%;
}
.product-gallery-indicators{bottom:14px;}
.product-gallery-indicators [data-bs-target]{
  width:9px;height:9px;border-radius:50%;background:rgba(255,255,255,.6);opacity:1;
}
.product-gallery-indicators .active{background:var(--gold);}
.spec-table td{padding:12px 10px;font-size:.95rem;border-bottom:1px solid var(--line);}
.spec-table td:first-child{color:var(--soil);font-weight:700;width:44%;}
.qty-box{background:#fff;border:1.5px solid var(--line);border-radius:14px;padding:22px;}
.related-thumb{border-radius:14px;overflow:hidden;height:150px;}
.related-thumb img{width:100%;height:100%;object-fit:cover;transition:.4s;}
.related-thumb:hover img{transform:scale(1.08);}

/* ---------- TESTIMONIALS ---------- */
.testimonial-section{background:var(--forest);color:#fff;position:relative;}
.testimonial-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:18px;padding:38px;max-width:760px;margin:0 auto;text-align:center;}
.testimonial-card i.bi-quote{font-size:2.2rem;color:var(--gold);}
.testimonial-card p{font-size:1.12rem;color:rgba(255,255,255,.9);font-style:italic;}
.testimonial-avatar{
  width:54px;height:54px;border-radius:50%;background:var(--gold);color:var(--forest-dark);display:flex;
  align-items:center;justify-content:center;font-weight:800;margin:0 auto 10px;font-family:'Fraunces',serif;
}
.carousel-indicators [data-bs-target]{background:var(--gold);width:9px;height:9px;border-radius:50%;}

/* ---------- CONTACT ---------- */
.contact-form-card{background:#fff;border-radius:20px;padding:40px;box-shadow:0 20px 50px rgba(19,39,32,.1);}
.form-control,.form-select{border-radius:10px;border:1.5px solid var(--line);padding:11px 14px;font-size:.94rem;}
.form-control:focus,.form-select:focus{border-color:var(--leaf);box-shadow:0 0 0 .2rem rgba(92,138,74,.15);}
.contact-info-item{display:flex;gap:16px;align-items:flex-start;margin-bottom:26px;}
.contact-info-item .ic{
  width:46px;height:46px;flex:0 0 46px;border-radius:12px;background:var(--paper-2);display:flex;
  align-items:center;justify-content:center;color:var(--forest);font-size:1.2rem;
}
.map-wrap{border-radius:18px;overflow:hidden;box-shadow:0 20px 50px rgba(19,39,32,.1);}
.map-wrap iframe{width:100%;height:100%;min-height:340px;border:0;display:block;}

/* ---------- FOOTER ---------- */
footer{background:var(--forest-dark);color:rgba(255,255,255,.75);}
footer h6{color:#fff;font-weight:700;text-transform:uppercase;letter-spacing:.06em;font-size:.82rem;margin-bottom:18px;}
footer a{color:rgba(255,255,255,.68);text-decoration:none;transition:.2s;}
footer a:hover{color:var(--gold);}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);}
.social-ic{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;color:#fff;transition:.25s;}
.social-ic:hover{background:var(--gold);color:var(--forest-dark);}

/* ---------- FLOATING BUTTONS ---------- */
.float-whatsapp{
  position:fixed;bottom:26px;right:26px;z-index:1050;width:60px;height:60px;background:#25D366;border-radius:50%;
  display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.8rem;box-shadow:0 10px 26px rgba(37,211,102,.5);
}
.float-whatsapp::before{content:"";position:absolute;inset:0;border-radius:50%;background:#25D366;animation:pulseRing 2s infinite;z-index:-1;}
@keyframes pulseRing{0%{transform:scale(1);opacity:.6;}100%{transform:scale(1.9);opacity:0;}}
.btn-back-top{
  position:fixed;bottom:26px;left:26px;z-index:1050;width:46px;height:46px;border-radius:50%;background:var(--forest);
  color:#fff;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:.3s ease;border:none;
}
.btn-back-top.show{opacity:1;visibility:visible;}

/* =========================================================
   RESPONSIVE / MOBILE FIXES
   ========================================================= */

html{overflow-x:hidden;}
body{overflow-x:hidden;}
img{max-width:100%;}

/* ---- Tablet & below (navbar + dropdown) ---- */
@media(max-width:991.98px){
  .navbar-collapse{
    max-height:80vh;overflow-y:auto;padding-top:10px;
  }
  .navbar-nav{padding-bottom:8px;}
  .nav-link-custom{padding-top:10px!important;padding-bottom:10px!important;}
  /* Bootstrap dropdowns default to position:absolute, which breaks/overlaps
     inside a collapsed mobile navbar. Force them to expand inline instead. */
  .navbar-collapse .dropdown-menu{
    position:static!important;
    float:none;
    width:100%;
    box-shadow:none;
    border:1px solid var(--line);
    margin-top:6px;
    inset:auto!important;
    transform:none!important;
  }
  .btn-whatsapp-nav{display:inline-flex;align-items:center;justify-content:center;width:100%;}
}

/* ---- Small tablets / large phones ---- */
@media(max-width:767.98px){
  .about-badge{left:12px;bottom:-18px;padding:12px 16px;}
  .hero-carousel .carousel-caption-custom{right:5%;bottom:8%;}
  .page-banner{padding:150px 0 60px;}

  .stat-strip .num{font-size:1.9rem;}
  .stat-strip .lbl{font-size:.72rem;}

  .testimonial-card{padding:28px 22px;}
  .testimonial-card p{font-size:1rem;}

  .contact-form-card{padding:26px;}

  /* Product detail: gallery + info stack cleanly, shorter image height */
  .product-hero-img{height:300px;}
  .product-gallery{margin-bottom:8px;}
  .qty-box{padding:18px;}
}

/* ---- Phones ---- */
@media(max-width:575.98px){
  .navbar-brand-custom{font-size:.92rem;}
  .navbar-brand-custom small{font-size:.5rem;}
  .brand-logo{height:36px;}
  .brand-logo-footer{height:36px;}

  .hero,.hero-carousel,.hero-carousel .carousel-inner,.hero-carousel .carousel-item{
    min-height:560px;height:560px;
  }
  .hero-content{padding-top:30px;}
  .hero-carousel .carousel-caption-custom .pill{font-size:.78rem;padding:6px 14px;}
  .hero-scroll-cue{display:none;}

  .section-title-wrap h2, section h2{font-size:1.55rem;}

  /* Product cards: give action buttons full width so icon+text never
     gets squeezed or wraps oddly on narrow screens */
  .product-card .card-body{padding:18px;}
  .product-card .card-body .row.g-2>[class*="col-"]{
    flex:0 0 100%;max-width:100%;
  }
  .product-card .card-body .row.g-2>[class*="col-"]:first-child{margin-bottom:8px;}
  .btn-order,.btn-details{font-size:.85rem;padding:10px 0;}

  /* Product detail quantity + order button: stack instead of squeezing side by side */
  .qty-box .row.g-2>[class*="col-"]{flex:0 0 100%;max-width:100%;}
  .qty-box .row.g-2>[class*="col-"]:first-child{margin-bottom:10px;}
  .product-hero-img{height:240px;}
  .related-thumb{height:120px;}

  .float-whatsapp{width:52px;height:52px;font-size:1.5rem;bottom:16px;right:16px;}
  .btn-back-top{width:40px;height:40px;bottom:16px;left:16px;}

  .contact-info-item{margin-bottom:20px;}
  .map-wrap iframe{min-height:220px;}
}

/* ---- Very small phones ---- */
@media(max-width:360px){
  .hero h1{font-size:1.7rem;}
  .btn-gold,.btn-outline-cream{padding:11px 20px;font-size:.9rem;}
  .stat-strip .num{font-size:1.5rem;}
}