/* ============================================================
   FreshGold Exporters -Public Website Stylesheet
   Built on top of Bootstrap 5.3
   Palette: green primary (#1f7a3d), gold accent (#e6a817)
   ============================================================ */

:root {
  --brand-green: #1f7a3d;
  --brand-green-dark: #155a2c;
  --brand-green-light: #e8f5ec;
  --brand-gold: #e6a817;
  --brand-gold-dark: #c08910;
  --brand-cream: #faf7f0;
  --brand-text: #1a2421;
  --brand-muted: #6b7a72;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--brand-text);
  background-color: #ffffff;
  line-height: 1.65;
  font-size: 16px;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-text);
  letter-spacing: -0.01em;
}

.text-success { color: var(--brand-green) !important; }
.bg-success { background-color: var(--brand-green) !important; }
.btn-success {
  background-color: var(--brand-green);
  border-color: var(--brand-green);
  font-weight: 600;
}
.btn-success:hover {
  background-color: var(--brand-green-dark);
  border-color: var(--brand-green-dark);
}
.btn-outline-success {
  color: var(--brand-green);
  border-color: var(--brand-green);
  font-weight: 600;
}
.btn-outline-success:hover {
  background-color: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
}
a { color: var(--brand-green); text-decoration: none; }
a:hover { color: var(--brand-green-dark); }

.text-muted-light { color: rgba(255, 255, 255, 0.75) !important; }

/* ------------------------------------------------------------
   Topbar
   ------------------------------------------------------------ */
.topbar {
  background-color: var(--brand-green-dark);
  font-size: 0.875rem;
}
.topbar a {
  color: #fff;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s;
}
.topbar a:hover { background: rgba(255, 255, 255, 0.25); }

/* ------------------------------------------------------------
   Navbar / Brand
   ------------------------------------------------------------ */
.navbar-brand { padding: 0; }
.brand-logo-circle {
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--brand-green-dark);
}
.brand-text small { font-size: 0.7rem; color: var(--brand-muted); text-transform: uppercase; letter-spacing: 0.1em; }

.navbar .nav-link {
  font-weight: 600;
  color: var(--brand-text);
  position: relative;
  transition: color 0.2s;
}
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--brand-green); }
.navbar .nav-link.active::after {
  content: '';
  position: absolute;
  height: 2px;
  background: var(--brand-green);
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.55);
}
/* --- Hero slider --- */
.hero-bg-slide {
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 0;
}
.hero-bg-slide.active {
  opacity: 1;
  animation: heroZoom 7.5s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero-texts {
  display: grid;
  margin-top: 0.5rem;
}
.hero-text {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease, visibility 0s linear 0.7s;
}
.hero-text.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.7s ease 0.15s, transform 0.7s ease 0.15s;
}
.hero-text h1, .hero-text .lead, .hero-text .d-flex {
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-text:not(.active) h1 { opacity: 0; transform: translateY(14px); }
.hero-text:not(.active) .lead { opacity: 0; transform: translateY(14px); }
.hero-text:not(.active) .d-flex { opacity: 0; transform: translateY(14px); }
.hero-text.active .lead { transition-delay: 0.3s; }
.hero-text.active .d-flex { transition-delay: 0.45s; }
.hero-stats-wrap { position: relative; z-index: 2; }

.hero-dots {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.75rem;
}
.hero-dot {
  width: 34px;
  height: 5px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.hero-dot:hover { background: rgba(255,255,255,0.65); }
.hero-dot.active {
  background: var(--brand-gold);
  transform: scaleX(1.15);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(21,90,44,0.35);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.3s ease, transform 0.2s ease;
}
.hero-arrow:hover { background: rgba(21,90,44,0.7); }
.hero-arrow-prev { left: .25rem; }
.hero-arrow-next { right: .25rem; }
@media (max-width: 767.98px) {
  .hero-arrow { display: none; }
  .hero-dot { width: 26px; }
}


.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(21,90,44,0.85) 0%, rgba(21,90,44,0.35) 60%, transparent 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero p.lead {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 640px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  backdrop-filter: blur(4px);
}
@media (max-width: 768px) {
  .hero-badge {
    font-size: 0.65rem; /* Scaled down text-xs */
  }
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.5rem;
}
.hero-stat strong {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--brand-gold);
  display: block;
  line-height: 1;
}
.hero-stat span { font-size: 0.85rem; opacity: 0.9; }

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.bg-cream { background-color: var(--brand-cream); }
.bg-green { background-color: var(--brand-green); color: #fff; }
.bg-green h2, .bg-green h3 { color: #fff; }

.section-eyebrow {
  display: inline-block;
  background: var(--brand-green-light);
  color: var(--brand-green);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}
.bg-green .section-eyebrow { background: rgba(255,255,255,0.18); color: #fff; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 1rem; }
.section-subtitle { color: var(--brand-muted); max-width: 720px; margin: 0 auto; }

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn { border-radius: 8px; padding: 0.6rem 1.4rem; font-weight: 600; }
.btn-lg { padding: 0.85rem 1.8rem; }

/* ------------------------------------------------------------
   Cards
   ------------------------------------------------------------ */
.product-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.product-card-img {
  height: 220px;
  width: 100%;
  object-fit: cover;
  display: block;
}
.product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card-cat {
  color: var(--brand-green);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}
.product-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.product-card p {
  color: var(--brand-muted);
  font-size: 0.9rem;
  flex: 1;
}
.product-card-cta {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* ------------------------------------------------------------
   Feature / value cards
   ------------------------------------------------------------ */
.feature-card {
  background: #fff;
  border: 1px solid #e8ede9;
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: var(--brand-green);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.07);
}
.feature-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--brand-green-light);
  color: var(--brand-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.feature-card h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--brand-muted); font-size: 0.92rem; margin: 0; }

/* ------------------------------------------------------------
   Why choose list
   ------------------------------------------------------------ */
.check-list { list-style: none; padding: 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 1rem;
}
.check-list li i {
  color: var(--brand-green);
  background: var(--brand-green-light);
  width: 24px; height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* ------------------------------------------------------------
   CTA band
   ------------------------------------------------------------ */
.cta-band {
  background: linear-gradient(135deg, var(--brand-green-dark), var(--brand-green));
  color: #fff;
  border-radius: 20px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(230,168,23,0.18), transparent 60%);
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.cta-band p { font-size: 1.1rem; opacity: 0.95; }

/* ------------------------------------------------------------
   Gallery
   ------------------------------------------------------------ */
.gallery-grid {
  column-count: 1;
  column-gap: 1rem;
}
@media (min-width: 576px) { .gallery-grid { column-count: 2; } }
@media (min-width: 992px) { .gallery-grid { column-count: 3; } }
@media (min-width: 1200px) { .gallery-grid { column-count: 4; } }
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: #fff;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h5 { color: #fff; margin: 0 0 0.25rem; font-size: 1rem; }
.gallery-overlay span { font-size: 0.8rem; opacity: 0.85; }

.gallery-filter .btn {
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
}

/* ------------------------------------------------------------
   Page header
   ------------------------------------------------------------ */
.page-header {
  background: linear-gradient(135deg, var(--brand-green-dark), var(--brand-green));
  color: #fff;
  padding: 4rem 0 3rem;
  text-align: center;
}
.page-header h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.5rem; }
.page-header .breadcrumb {
  justify-content: center;
  background: transparent;
  padding: 0;
  margin: 0;
}
.page-header .breadcrumb-item, .page-header .breadcrumb-item a { color: rgba(255,255,255,0.9); }
.page-header .breadcrumb-item.active { color: var(--brand-gold); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ------------------------------------------------------------
   Contact page
   ------------------------------------------------------------ */
.contact-info-card {
  background: #fff;
  border: 1px solid #e8ede9;
  border-radius: 14px;
  padding: 1.75rem;
  text-align: center;
  height: 100%;
  transition: box-shadow 0.2s;
}
.contact-info-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.contact-info-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--brand-green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}
.contact-info-card h5 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.contact-info-card p { color: var(--brand-muted); font-size: 0.9rem; margin: 0; }

/* Forms */
.form-control, .form-select {
  border-radius: 8px;
  padding: 0.7rem 1rem;
  border-color: #d8deda;
}
.form-control:focus, .form-select:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 0.2rem rgba(31, 122, 61, 0.15);
}
.form-label { font-weight: 600; font-size: 0.9rem; }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer {
  background-color: #0e2a18;
}
.footer-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #fff;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px;
  height: 2px;
  background: var(--brand-gold);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-links a:hover { color: #fff; padding-left: 4px; }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.footer-contact li i {
  color: var(--brand-gold);
  margin-top: 0.25rem;
  width: 16px;
}
.footer-contact a { color: rgba(255,255,255,0.8); }
.footer-contact a:hover { color: #fff; }

.footer-social {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}
.footer-social:hover { background: var(--brand-green); color: #fff; transform: translateY(-2px); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

/* ------------------------------------------------------------
   Floating chat & WhatsApp
   ------------------------------------------------------------ */
.chat-fab-group {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-fab {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  border: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  position: relative;
}
.chat-fab:hover { transform: translateY(-3px) scale(1.05); color: #fff; }
.chat-fab.whatsapp { background: #25d366; }
.chat-fab.livechat { background: var(--brand-green); }
.chat-fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--brand-green);
  opacity: 0.6;
  animation: chatPulse 2s infinite;
  z-index: -1;
}
@keyframes chatPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

.chat-panel {
  position: fixed;
  bottom: 92px;
  right: 24px;
  width: 340px;
  max-width: calc(100vw - 48px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  /* On short screens the stack (header + messages + quick replies + input)
     exceeds the capped height; scrolling the panel itself (instead of
     overflow:hidden clipping) keeps the bottom section reachable. */
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 1051;
  display: none;
  flex-direction: column;
  max-height: min(560px, 85vh);
}
.chat-panel.open { display: flex; }
.chat-panel-header {
  background: var(--brand-green);
  color: #fff;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 3;
}
.chat-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.chat-status-dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
}
.chat-panel-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1rem;
  background: #f7f9f7;
  min-height: 180px;
  max-height: min(430px, 52vh);
}
.chat-bubble:last-child { margin-bottom: 0.25rem; }
.chat-bubble {
  max-width: 80%;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  word-wrap: break-word;
  animation: bubbleIn 0.2s ease-out;
}
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-bubble.visitor {
  background: var(--brand-green);
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}
.chat-bubble.admin {
  background: #fff;
  color: var(--brand-text);
  border: 1px solid #e8ede9;
  border-bottom-left-radius: 4px;
}
.chat-bubble.bot {
  background: #f0f7ff;
  color: var(--brand-text);
  border: 1px solid #d7e6f7;
  border-bottom-left-radius: 4px;
}
.chat-bubble-label {
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0.65;
  margin-bottom: 2px;
}
.chat-bubble-time {
  font-size: 0.65rem;
  opacity: 0.55;
  margin-top: 3px;
}
.chat-bubble.visitor .chat-bubble-time { text-align: right; }

/* Typing indicator */
.chat-typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 0.7rem 0.9rem;
}
.chat-typing.d-none { display: none; }
.chat-typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9bb3a6;
  animation: typingBounce 1.2s infinite ease-in-out;
}
.chat-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.chat-typing-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Quick replies + input area */
.chat-panel-input-area {
  border-top: 1px solid #e8ede9;
  background: #fff;
  padding: 0.6rem 0.85rem 0.85rem;
}
.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}
.chat-quick-reply {
  border: 1px solid var(--brand-green, #155a2c);
  background: #f2f8f4;
  color: var(--brand-green, #155a2c);
  border-radius: 999px;
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.chat-quick-reply:hover {
  background: var(--brand-green, #155a2c);
  color: #fff;
}
.chat-panel-input-area .chat-panel-input {
  padding: 0;
  border-top: none;
  background: transparent;
  display: flex;
  gap: 0.5rem;
}
.chat-panel-input { display: flex; gap: 0.5rem; }

/* Unread badge on the floating button */
.chat-fab { position: relative; }
.chat-fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  border-radius: 999px;
  background: #e74c3c;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.chat-panel-form, .chat-panel-input {
  padding: 0.85rem;
  border-top: 1px solid #e8ede9;
  background: #fff;
}
.chat-panel-input { display: flex; gap: 0.5rem; }

/* ------------------------------------------------------------
   Product detail
   ------------------------------------------------------------ */
.product-detail-img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.product-info-box {
  background: var(--brand-cream);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.product-info-box h6 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-green);
  margin-bottom: 0.4rem;
  font-weight: 700;
  font-family: var(--font-body);
}

/* ------------------------------------------------------------
   Misc
   ------------------------------------------------------------ */
.text-gold { color: var(--brand-gold) !important; }
.bg-gold { background-color: var(--brand-gold) !important; }
.divider-leaf {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0;
  color: var(--brand-green);
}
.divider-leaf::before, .divider-leaf::after {
  content: '';
  height: 1px;
  width: 40px;
  background: var(--brand-green);
  opacity: 0.4;
}

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

/* Scrollbar styling */
.chat-panel-body::-webkit-scrollbar { width: 6px; }
.chat-panel-body::-webkit-scrollbar-thumb { background: #c8d2cc; border-radius: 3px; }

/* ============================================================
   Product card badges (season / shipping chips)
   ============================================================ */
.product-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 0.65rem;
}
.prod-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand-green, #2f7d4f);
  background: rgba(47, 125, 79, 0.09);
  border: 1px solid rgba(47, 125, 79, 0.18);
  border-radius: 999px;
  padding: 3px 10px;
}
.prod-chip .fas { font-size: 0.68rem; }

/* ============================================================
   From Farm to Destination process steps
   ============================================================ */
.process-step {
  position: relative;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1rem;
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow: 0 8px 24px rgba(20, 60, 40, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(20, 60, 40, 0.12);
}
.process-step::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--brand-green, #2f7d4f);
  opacity: 0.75;
}
.process-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}
.process-step-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: rgba(47, 125, 79, 0.22);
  line-height: 1;
}
.process-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(47, 125, 79, 0.1);
  color: var(--brand-green, #2f7d4f);
  font-size: 1.15rem;
}
.process-step h4 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.process-step p { font-size: 0.9rem; color: #6b7a72; margin-bottom: 0; }

/* ============================================================
   Grower partnership band
   ============================================================ */
.partner-band {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  background: linear-gradient(120deg, #1d5c39 0%, #2f7d4f 60%, #3d9163 100%);
  color: #fff;
  padding: 2.25rem 2.5rem;
  box-shadow: 0 16px 40px rgba(29, 92, 57, 0.25);
}
.partner-band::before {
  content: '';
  position: absolute;
  right: -70px;
  top: -70px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}
.partner-band::after {
  content: '';
  position: absolute;
  right: 60px;
  bottom: -110px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}
.partner-band .section-eyebrow { color: rgba(255, 255, 255, 0.85); }
.partner-band .section-eyebrow::after { background: rgba(255, 255, 255, 0.6); }
.partner-band h2 {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}
.partner-band p { color: rgba(255, 255, 255, 0.92); margin-bottom: 0; }
.partner-band .row { position: relative; z-index: 1; }

/* ============================================================
   Scroll-reveal animations (progressive enhancement -elements
   stay visible when JS is off or motion is reduced)
   ============================================================ */
.pre-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  will-change: opacity, transform;
}
.pre-reveal.revealed {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .pre-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   Compact buttons (public site)
   ============================================================ */
.btn {
  --bs-btn-padding-y: 0.42rem;
  --bs-btn-padding-x: 0.95rem;
  --bs-btn-font-size: 0.92rem;
}
.btn-sm {
  --bs-btn-padding-y: 0.28rem;
  --bs-btn-padding-x: 0.7rem;
  --bs-btn-font-size: 0.82rem;
}

/* ============================================================
   Product photo carousel (detail page)
   ============================================================ */
.product-carousel {
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  background: #eef2ee;
}
.product-carousel .product-detail-img {
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  height: 440px;
  object-fit: cover;
}
.product-carousel .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.65);
  border: 0;
}
.product-carousel .carousel-indicators .active { background-color: #fff; }
.product-carousel .carousel-control-prev-icon,
.product-carousel .carousel-control-next-icon {
  width: 1.6rem;
  height: 1.6rem;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}
@media (max-width: 575.98px) {
  .product-carousel .product-detail-img { height: 280px; }
}

/* ==========================================================================
   Legal pages (Terms of Service / Privacy Policy)
   ========================================================================== */
.legal-doc { max-width: 920px; margin: 0 auto; font-size: 0.95rem; }
.legal-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-green);
  margin-bottom: 0.5rem;
}
.legal-doc h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-text);
  margin: 2.4rem 0 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e3e9e4;
  scroll-margin-top: 110px;
}
.legal-doc h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-text);
  margin: 1.6rem 0 0.5rem;
}
.legal-doc p { color: #42504a; line-height: 1.75; margin-bottom: 0.9rem; }
.legal-doc a { color: var(--brand-green); }
.legal-note {
  background: var(--brand-green-light);
  border-left: 4px solid var(--brand-green);
  border-radius: 0 10px 10px 0;
  padding: 0.85rem 1.1rem;
  font-weight: 600;
}
.legal-address {
  background: #f6f8f6;
  border-left: 4px solid var(--brand-green);
  border-radius: 0 10px 10px 0;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  line-height: 1.8;
}
.legal-toc {
  background: #f6f8f6;
  border: 1px solid #e3e9e4;
  border-radius: 14px;
  padding: 1.25rem 1.5rem 1.4rem;
  margin: 2rem 0 0.5rem;
}
.legal-toc h6 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-muted);
  margin-bottom: 0.75rem;
}
.legal-toc ol {
  columns: 2;
  column-gap: 2.5rem;
  margin: 0;
  padding-left: 1.2rem;
}
.legal-toc li { margin-bottom: 0.3rem; break-inside: avoid; }
.legal-toc a { color: #42504a; text-decoration: none; font-size: 0.88rem; }
.legal-toc a:hover { color: var(--brand-green); text-decoration: underline; }
.legal-list {
  list-style: none;
  padding-left: 0.35rem;
  margin: 0.75rem 0 1rem;
  counter-reset: legalitem;
}
.legal-list > li {
  counter-increment: legalitem;
  position: relative;
  padding-left: 2.4rem;
  margin-bottom: 0.55rem;
  color: #42504a;
  line-height: 1.7;
}
.legal-list > li::before {
  content: "(" counter(legalitem, lower-alpha) ")";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 600;
  color: var(--brand-green-dark);
}
.legal-list.upper > li::before { content: "(" counter(legalitem, upper-alpha) ")"; }
.legal-list.roman > li::before { content: "(" counter(legalitem, upper-roman) ")"; }
@media (max-width: 767.98px) {
  .legal-toc ol { columns: 1; }
  .legal-doc h2 { scroll-margin-top: 80px; }
}

/* ==========================================================================
   UI fixes (2026-08-23)
   ========================================================================== */
/* Live chat panel: long company name fits the header */
.chat-panel-title { font-size: 0.85rem; line-height: 1.25; }



/* Footer company name -white on the dark footer (global heading rule
   painted it near-black) */
.site-footer h4 { color: #fff; }

/* Partner band "Grow With Us" eyebrow -gold accent on the green band */
.partner-band .section-eyebrow {
  background: rgba(255, 255, 255, 0.16);
  color: var(--brand-gold);
}
.partner-band .section-eyebrow::after { background: var(--brand-gold); }

/* ==========================================================================
   Footer logo lockup (2026-08-24)
   ========================================================================== */
/* Logo file is an opaque white-backed rectangle -sit it in a white circular
   chip so the round brand mark reads cleanly on the dark footer */
.footer-logo {
  width: 104px;
  height: 104px;
  flex: 0 0 auto;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
}
.footer-brand { text-decoration: none; }
.footer-brand h4 { font-size: 1.15rem; line-height: 1.3; }
@media (max-width: 575.98px) {
  .footer-logo { width: 66px; height: 66px; }
}


/* ==========================================================================
   UI round (2026-08-25)
   ========================================================================== */

/* --- Hero on phones: content flows from the top instead of being pushed
   down by vertical centering inside the old 88vh min-height --- */
@media (max-width: 767.98px) {
  .hero {
    min-height: 0;
    justify-content: flex-start;
    padding: 3.5rem 0 2.75rem;
  }
  .hero-stats { gap: 1.25rem 1.75rem; margin-top: 2rem; }
  .hero-stat strong { font-size: 1.9rem; }
}

/* --- Homepage About photo tiles: tight 2x2 grid, caption on hover/tap --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.about-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}
.about-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.about-tile:hover img,
.about-tile.show img { transform: scale(1.06); }
.about-tile figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.6rem 0.9rem 0.8rem;
  background: linear-gradient(to top, rgba(14, 42, 24, 0.92), rgba(14, 42, 24, 0));
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  pointer-events: none;
}
.about-tile:hover figcaption,
.about-tile:focus-within figcaption,
.about-tile.show figcaption { opacity: 1; }
.about-tile-title { font-weight: 700; font-size: 0.95rem; }
.about-tile-sub { font-size: 0.78rem; opacity: 0.88; }

/* --- Product card mini carousel (home featured + products grid) --- */
.product-card-carousel .product-card-img { height: 220px; }
.product-card-carousel .carousel-indicators {
  margin-bottom: 0.55rem;
  gap: 3px;
}
.product-card-carousel .carousel-indicators [data-bs-target] {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 0;
  background-color: rgba(255, 255, 255, 0.75);
  opacity: 1;
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.product-card-carousel .carousel-indicators .active {
  background-color: var(--brand-green);
  transform: scale(1.25);
}

/* --- Product detail info boxes: auto-fill grid so every row is filled
   (no half-empty rows beside Availability/Export cards) --- */
.product-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 0.9rem;
  align-items: stretch;
}
.product-info-grid .product-info-box { height: 100%; }

/* --- Footer: Get-in-Touch list sits tighter on phones --- */
@media (max-width: 575.98px) {
  .footer-contact li { gap: 0.5rem; font-size: 0.85rem; margin-bottom: 0.7rem; }
  .footer-contact li i { width: 14px; margin-top: 0.2rem; font-size: 0.8rem; }
}

/* --- Footer bottom Terms · Privacy links, slightly larger --- */
.footer-legal-links { font-size: 0.95rem; }
.footer-legal-links a { color: rgba(255, 255, 255, 0.85); }
.footer-legal-links a:hover { color: #fff; }

/* ==========================================================================
   Mobile full-screen menu (2026-08-25, reference design)
   ========================================================================== */
/* Below lg the hamburger opens a dark-green overlay (logo top-right, close
   top-left, big icon links with hairline dividers, gold quote CTA, contact
   + socials pinned at the bottom). The bootstrap inline collapse stays
   hidden below lg. */
@media (max-width: 991.98px) {
  #mainNav.navbar-collapse { display: none !important; }
}
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;           /* fully out of layout when closed -an off-canvas
                              transform on a fixed element otherwise adds
                              phantom page width (scrollable overflow) */
  overflow: hidden;        /* clips the sliding panel */
}
.mobile-menu.open,
.mobile-menu.closing { display: block; }
.mobile-menu-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--brand-green-dark, #0e2a18);
  color: #fff;
  padding: 1.1rem 1.35rem 1.6rem;
  transform: translateX(100%);
  overflow-y: auto;
}
.mobile-menu.open .mobile-menu-panel { animation: menuIn 0.35s ease both; }
.mobile-menu.closing .mobile-menu-panel { animation: menuOut 0.28s ease both; }
@keyframes menuIn  { from { transform: translateX(100%); } to { transform: none; } }
@keyframes menuOut { from { transform: none; } to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) {
  .mobile-menu.open .mobile-menu-panel,
  .mobile-menu.closing .mobile-menu-panel { animation: none; transform: none; }
}
body.menu-open { overflow: hidden; }

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0 1rem;
}
.mobile-menu-close {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:hover { background: rgba(255, 255, 255, 0.16); }
.mobile-menu-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}
.mobile-menu-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}
.mobile-menu-brand .fa-leaf { color: var(--brand-green-dark, #0e2a18); font-size: 1.4rem; }

.mobile-menu-nav { display: flex; flex-direction: column; }
.mobile-menu-nav a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.02rem 0.25rem;
  color: #fff;
  text-decoration: none;
  font-size: 1.06rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: padding-left 0.2s ease, color 0.2s ease;
}
.mobile-menu-nav a:first-child { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.mobile-menu-nav a:hover,
.mobile-menu-nav a:active { color: var(--brand-gold, #d4a017); padding-left: 0.7rem; }
.mobile-menu-nav a i {
  width: 1.65rem;
  text-align: center;
  color: var(--brand-gold, #d4a017);
  font-size: 1.05rem;
}

.mobile-menu-cta {
  margin-top: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--brand-gold, #d4a017);
  color: #20180a;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
}
.mobile-menu-cta:hover { background: #e6b32a; color: #20180a; }

.mobile-menu-foot {
  margin-top: auto;
  padding-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.mobile-menu-social { display: flex; gap: 0.6rem; margin-bottom: 0.5rem; }
.mobile-menu-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.mobile-menu-social a:hover { background: var(--brand-green, #155a2c); }
.mobile-menu-contact {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.mobile-menu-contact i { color: var(--brand-gold, #d4a017); width: 1.1rem; text-align: center; }
.mobile-menu-contact:hover { color: #fff; }




/* ------------------------------------------------------------
   Active navigation highlight (2026-08-25)
   ------------------------------------------------------------ */
.navbar .nav-link.active {
  color: var(--brand-green);
  background-color: var(--brand-green-light);
  border-radius: 6px;
}
.navbar .nav-link.active::after {
  left: 0;
  right: 0;
  width: 100%;
}

/* Mobile menu active link */
.mobile-menu-nav a.active {
  color: var(--brand-gold, #d4a017);
  padding-left: 0.7rem;
}
.mobile-menu-nav a.active i {
  color: var(--brand-gold, #d4a017);
}

/* ------------------------------------------------------------
   Square certification cards on About page (2026-08-25)
   ------------------------------------------------------------ */
.cert-card {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cert-card img {
  width: auto;
  max-width: 85%;
  object-fit: contain;
}

/* ==========================================================================
   Blog
   ========================================================================== */
.blog-card {
  border-radius: 16px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, .12) !important;
}
.blog-card-img-wrap { display: block; }
.blog-card-img {
  height: 210px;
  width: 100%;
  object-fit: cover;
}
.blog-card-placeholder {
  background: linear-gradient(135deg, #eaf5ec, #d8ecdf);
}
.blog-content { font-size: 1.02rem; line-height: 1.8; color: #444; }
.blog-content p { margin-bottom: 1.1rem; }

/* ==========================================================================
   Team
   ========================================================================== */
.team-card {
  border-radius: 16px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, .12) !important;
}
.team-photo-wrap { width: 130px; }
.team-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--bs-success, #1f7a3d);
}
.team-photo-placeholder {
  background: linear-gradient(135deg, #eaf5ec, #d8ecdf);
}
.team-links .btn { width: 34px; height: 34px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }

/* Hero slides 2+: same look as the h1 (Bootstrap .h1 utility) with the slide
   fade transitions that target the h1 on the first slide */
.hero-text h1, .hero-text .hero-slide-title, .hero-text .lead, .hero-text .d-flex {
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-text:not(.active) .hero-slide-title { opacity: 0; transform: translateY(14px); }
