﻿/* css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  /* Colors */
  --primary-green: #2ecc71;
  --dark-green: #27ae60;
  --secondary-green: #10b981;
  --darkest-green: #15803d; /* Lighter dark green */
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --bg-light: #f9fbfc;
  --white: #ffffff;
  
  /* Gradients */
  --gradient-fresh: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
  --gradient-overlay: linear-gradient(to bottom, rgba(6, 78, 59, 0.4), rgba(6, 78, 59, 0.8));

  /* Shadows */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; line-height: 1.2; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
  overflow: hidden; /* For animations */
}

.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-fresh);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
}

.btn-outline:hover {
  background: var(--primary-green);
  color: var(--white);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: background var(--transition-normal);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--darkest-green);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--primary-green);
}

.logo img.nav-logo-img {
  height: 60px;
  width: 60px;
  object-fit: cover;
  clip-path: circle(40%);
  transition: transform 0.3s ease;
}
.logo img.nav-logo-img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-green);
  transition: width var(--transition-normal);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-dark);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: var(--gradient-overlay), url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px; /* Offset for fixed navbar */
  }

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  animation: slideDown 1s ease-out;
}

.hero-logo {
    height: 220px;
    width: 220px;
    margin: 0 auto 20px;
    object-fit: cover;
    clip-path: circle(42%);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    display: block;
    transform: translateY(30px);
  }

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 30px;
  animation: slideUp 1s ease-out 0.3s backwards;
}

.hero .btn {
  animation: slideUp 1s ease-out 0.6s backwards;
}

/* Product Cards with Watermark */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.product-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  cursor: pointer;
  display: block;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.product-img-wrapper {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img {
  transform: scale(1.1);
}

/* Watermark CSS Overlay */
.watermark {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 60px;
  height: 60px;
  background-image: url('../images/logo.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.8;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  z-index: 2;
  pointer-events: none;
}

.product-info {
  padding: 20px;
}

.product-category {
  font-size: 0.875rem;
  color: var(--primary-green);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #064e3b 0%, var(--darkest-green) 100%);
  color: var(--white);
  padding: 80px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer .logo img {
  height: 90px; /* Increased from small size */
  margin-bottom: 10px;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.footer h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-green);
}

.footer a {
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer p, .footer a, .footer li {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.footer a:hover, .footer a:active {
  color: var(--primary-green);
  padding-left: 8px;
  transform: translateX(5px) scale(1.02);
  text-shadow: 0 0 10px rgba(46, 204, 113, 0.4);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact i {
  color: var(--primary-green);
  margin-top: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Scroll Animations Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers for cascading effect */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
  }
  
  .nav-links.active {
    max-height: 800px;
  }
  
  .nav-links a {
    padding: 15px 20px;
    display: block;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .mobile-menu-btn {
    display: block;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
}

/* Subpage Hero */
.page-hero {
  height: 300px;
  background-color: var(--primary-green);
  background-image: linear-gradient(135deg, rgba(46, 125, 50, 0.85), rgba(27, 94, 32, 0.9)), url('https://images.unsplash.com/photo-1595856722370-1c6fc89163eb?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  margin-top: 80px;
}

.page-hero h1 {
  color: var(--white);
}

/* Category Cards (For Main Products Page) */
.category-card {
  position: relative;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: flex-end;
  padding: 30px;
  color: white;
  text-decoration: none;
  background-size: cover;
  background-position: center;
}
.category-card::before {
  content: '';
  position: absolute;
  top:0;left:0;right:0;bottom:0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.8));
  transition: all var(--transition-normal);
  z-index: 1;
}
.category-card:hover::before {
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.9));
}
.category-card-content {
  position: relative;
  z-index: 2;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}
.category-card:hover .category-card-content {
  transform: translateY(0);
}
.category-card h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 5px;
}
.category-card p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 0;
  opacity: 0;
  transition: opacity var(--transition-normal);
}
.category-card:hover p {
  opacity: 1;
}

/* Product Detail Page Specifics */
.product-detail-hero {
  height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-top: 80px;
}
.product-detail-hero::before {
  content: '';
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.5);
}
.product-detail-hero h1 {
  position: relative;
  z-index: 1;
  color: white;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-radius: 10px;
  overflow: hidden;
}
.specs-table th, .specs-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.specs-table th {
  background: var(--bg-light);
  font-weight: 600;
  width: 30%;
  color: var(--darkest-green);
}
.specs-table tr:last-child td, .specs-table tr:last-child th {
  border-bottom: none;
}

.certifications-section {
  background: white;
  padding: 80px 0;
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}
.cert-card {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  background: var(--bg-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}
.cert-card:hover {
  transform: translateY(-5px);
}
.cert-card img {
  height: 80px;
  object-fit: contain;
  margin: 0 auto 20px;
}
.cert-card h3 {
  font-size: 1.25rem;
  color: var(--primary-green);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #FFF;
}

/* Global Reach Map Section */
.global-reach {
  position: relative;
  width: 100%;
  padding: 100px 0;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.9)), url('../images/world-map.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  text-align: center;
  overflow: hidden;
}

.global-reach h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.global-reach p {
  color: rgba(255,255,255,0.8);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 50px;
  position: relative;
  z-index: 2;
}

.map-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 500px; /* Adjust based on need or use aspect ratio */
  margin: 0 auto;
}

/* Base glowing dot */
.glowing-dot {
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: var(--primary-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-green), 0 0 20px var(--primary-green);
  transform: translate(-50%, -50%);
  z-index: 3;
}

.glowing-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background-color: var(--primary-green);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.glowing-dot span {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  pointer-events: none;
}

@keyframes pulse-ring {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

/* Approximate Coordinates (Percentage based on generic world map) */
.dot-usa { top: 35%; left: 18%; }
.dot-brazil { top: 75%; left: 32%; }
.dot-russia { top: 30%; left: 70%; }
.dot-poland { top: 35%; left: 53%; }
.dot-netherlands { top: 32%; left: 49%; }
.dot-norway { top: 25%; left: 49%; }
.dot-china { top: 45%; left: 75%; }
.dot-korea { top: 42%; left: 83%; }
.dot-australia { top: 75%; left: 85%; }

@media (max-width: 768px) {
  .map-container { height: 300px; }
  .glowing-dot span { font-size: 0.75rem; }
}

/* =========================================
   PREMIUM FEATURES CSS
   ========================================= */

/* 1. Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: #ffffff; /* pure white to blend with logo background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  margin: 0;
  padding: 0;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.loaded {
  opacity: 0;
  visibility: hidden;
}
.preloader img {
    height: 120px;
    width: 120px;
    margin: 0;
    padding: 0;
    display: block;
    border-radius: 50%;
    object-fit: cover;
    object-position: center center;
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.3);
    animation: pulse-logo 1.5s infinite;
  }
  
  @keyframes pulse-logo {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.8; }
  }

/* 2. Stats Section */
.stats-section {
  background: linear-gradient(135deg, var(--darkest-green) 0%, var(--primary-green) 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}
.stat-item h3 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 5px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.stat-item p {
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* 3. Farm to Fork Timeline */
.timeline-section {
  background: var(--white);
  padding: 80px 0;
  text-align: center;
}
.timeline-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin-top: 50px;
  flex-wrap: wrap;
  gap: 20px;
}
.timeline-step {
  flex: 1;
  min-width: 150px;
  position: relative;
  padding: 20px;
}
.timeline-img {
  width: 100px;
  height: 100px;
  background: var(--bg-light);
  border: 4px solid var(--primary-green);
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.timeline-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.timeline-step:hover .timeline-img {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(46, 204, 113, 0.4);
}
.timeline-step h4 {
  color: var(--darkest-green);
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.timeline-step p {
  font-size: 0.9rem;
}
/* Connecting Line */
@media (min-width: 769px) {
  .timeline-grid::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #e0e0e0;
    z-index: 1;
  }
}


/* =========================================
   BLOG & NEWS SECTION
   ========================================= */

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Blog Card */
.blog-card {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-date {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-title {
  font-family: var(--font-secondary);
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  line-height: 1.3;
}

.blog-desc {
  color: var(--text-light);
  margin-bottom: 20px;
  flex: 1;
}

.blog-read-more {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
  align-self: flex-start;
}

.blog-read-more:hover {
  gap: 10px;
  color: var(--accent-color);
}

/* Article Detail Page */
.article-hero {
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    margin-top: 70px;
    z-index: 1;
}

.article-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.8));
}

.article-section {
  padding: 60px 0;
  background-color: #ffffff;
  position: relative;
  z-index: 5;
}

.article-wrapper {
  max-width: 800px;
  margin: -150px auto 0;
  background: #ffffff;
  border-radius: var(--border-radius);
  padding: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
  z-index: 10;
}

.article-header {
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 30px;
}

.article-date {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.article-title {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  color: var(--text-dark);
  line-height: 1.2;
  margin-top: 15px;
  margin-bottom: 15px;
}

.article-body {
  font-size: 1.1rem;
  color: #333333;
  line-height: 1.8;
}

.article-body h2 {
  font-family: var(--font-secondary);
  color: var(--primary-color);
  margin: 40px 0 20px;
  font-size: 2rem;
}

.article-body h3 {
  font-family: var(--font-secondary);
  color: var(--text-dark);
  margin: 30px 0 15px;
  font-size: 1.5rem;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.article-body li {
  margin-bottom: 10px;
}

.article-footer {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eeeeee;
  text-align: center;
}

.blog-image-placeholder {
  margin: 20px 0;
  padding: 40px;
  background: #ecf0f1;
  text-align: center;
  border: 2px dashed #bdc3c7;
  border-radius: 8px;
  color: #7f8c8d;
  font-weight: bold;
}

@media (max-width: 768px) {
  .article-wrapper {
    margin-top: -80px;
    padding: 30px 20px;
  }
  .article-title {
    font-size: 2rem;
  }
  .article-body {
    font-size: 1rem;
  }
}/* 4. Certifications Marquee */
.cert-marquee-container {
  overflow: hidden;
  white-space: nowrap;
  background: white;
  padding: 40px 0;
  position: relative;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.02);
}
/* Gradient masks for smooth edges */
.cert-marquee-container::before,
.cert-marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
}
.cert-marquee-container::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}
.cert-marquee-container::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}
.cert-marquee {
  display: inline-block;
  animation: marquee 25s linear infinite;
}
.cert-marquee:hover {
  animation-play-state: paused;
}
.cert-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 40px;
  flex-direction: column;
}
.cert-item img {
  height: 90px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter var(--transition-normal), transform var(--transition-normal);
}
.cert-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.1);
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 5. FAQ Accordion */
.faq-section {
  padding: 80px 0;
  background: var(--bg-light);
}
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: white;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-question {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--darkest-green);
  transition: background var(--transition-fast);
}
.faq-question:hover {
  background: #f1fdf5;
}
.faq-question i {
  color: var(--primary-green);
  transition: transform var(--transition-fast);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: white;
}
.faq-answer-content {
  padding: 0 25px 20px;
  color: var(--text-light);
}
.faq-item.active .faq-answer {
  max-height: 300px; /* Adjust if content is larger */
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Logistics Page Images */
.logistics-feature {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition-fast);
}
.logistics-feature:hover {
  transform: translateY(-5px);
}
.logistics-img {
  width: 100%;
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.logistics-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.logistics-feature:hover .logistics-img img {
  transform: scale(1.05);
}


/* Custom Packaging Section */
.custom-pack-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  background-image: url('../images/custom-pack.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: flex-end; /* Align content to the bottom */
  justify-content: center;
  padding: 0 20px 40px 20px; /* Push it up a bit from the very edge */
  margin: 40px 0;
}

.custom-pack-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.9) 100%); /* Gradient so image is visible at the top */
  z-index: 1;
}

.custom-pack-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.custom-pack-btn {
  font-family: var(--font-main);
  padding: 5px 15px;
  font-size: 0.8rem;
  margin-top: 5px;
  width: auto;
  display: inline-block;
}

.neon-text {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 400; /* Thinner font */
  font-style: italic;
  color: #ffffff;
  margin-bottom: 20px;
  white-space: nowrap; /* Keep on one line */
  text-shadow: 
    0 0 5px #2ecc71,
    0 0 10px #2ecc71,
    0 0 20px #27ae60,
    0 0 40px #27ae60,
    0 0 80px #27ae60;
}

@media (max-width: 768px) {
  .custom-pack-section {
    min-height: 250px;
    padding: 20px 10px;
    background-attachment: scroll; /* Disable parallax on mobile for better performance */
  }
  .neon-text {
    font-size: 1.1rem;
    margin-bottom: 10px;
    white-space: normal; /* Allow wrapping on very small screens if necessary, though it's small now */
  }
}


/* ========================================= */
/* AESTHETIC TOUCHES & MICRO-ANIMATIONS      */
/* ========================================= */

/* Reveal on Scroll */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Hover Glow for Cards */
.product-card, .blog-card, .timeline-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover, .blog-card:hover, .timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(46, 204, 113, 0.2);
}

/* Parallax Hero (added to .hero in HTML) */
.parallax-hero {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 100px;
  right: 20px;
  background-color: var(--primary-color);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
}
.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}
.scroll-to-top:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

/* ========================================= */
/* SMART WHATSAPP WIDGET                     */
/* ========================================= */
.whatsapp-widget-container {
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 1000;
  font-family: 'Montserrat', sans-serif;
}

.whatsapp-widget-btn {
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: pulse-wa 2s infinite;
}

.whatsapp-widget-btn:hover {
  transform: scale(1.1);
}

@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-widget-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 280px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.whatsapp-widget-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wa-panel-header {
  background-color: #075E54;
  color: white;
  padding: 15px;
  text-align: center;
}
.wa-panel-header h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}
.wa-panel-header p {
  margin: 5px 0 0 0;
  font-size: 0.8rem;
  opacity: 0.9;
}

.wa-panel-body {
  padding: 10px;
  background: #ECE5DD;
}

.wa-option {
  display: flex;
  align-items: center;
  background: white;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  text-decoration: none;
  color: #333;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.wa-option:last-child {
  margin-bottom: 0;
}
.wa-option:hover {
  background: #f8f9fa;
  transform: translateX(-5px);
}
.wa-option-icon {
  font-size: 1.5rem;
  margin-right: 15px;
  color: #128C7E;
}
.wa-option-text h5 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}
.wa-option-text span {
  font-size: 0.75rem;
  color: #666;
}


/* =========================================
   FARM TO FORK PROCESS SECTION
   ========================================= */
.process-wrapper {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-green) #f1f1f1;
}
.process-wrapper::-webkit-scrollbar {
  height: 8px;
}
.process-wrapper::-webkit-scrollbar-thumb {
  background: var(--primary-green);
  border-radius: 4px;
}

.process-card {
  flex: 0 0 auto;
  width: 260px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.process-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.process-img-container {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.process-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.process-card:hover .process-img {
  transform: scale(1.15); /* Nice slow zoom on hover */
}

.process-text {
  padding: 20px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.process-text h4 {
  color: var(--darkest-green);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.process-text p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
}

.process-arrow {
  display: flex;
  align-items: center;
  color: var(--primary-green);
  font-size: 24px;
  animation: bounceRight 2s infinite;
}

@keyframes bounceRight {
  0%, 20%, 50%, 80%, 100% { transform: translateX(0); }
  40% { transform: translateX(10px); }
  60% { transform: translateX(5px); }
}

@media (max-width: 992px) {
  .process-card {
    width: 220px;
  }
  .process-img-container {
    height: 150px;
  }
}

@media (max-width: 768px) {
  .process-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .process-card {
    width: 100%;
    max-width: 350px;
  }
  .process-arrow {
    transform: rotate(90deg);
    margin: 10px 0;
    animation: bounceDown 2s infinite;
  }
  
  @keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(90deg); }
    40% { transform: translateY(10px) rotate(90deg); }
    60% { transform: translateY(5px) rotate(90deg); }
  }
}

/* Timeline specific old CSS to remove if it causes conflicts */
.timeline-grid { display: none; }

/* --- ADVANCED FOOTER CSS --- */
.footer {
    background-color: #0b2214;
    background-image: radial-gradient(circle at top right, rgba(39, 174, 96, 0.1) 0%, transparent 40%),
                      radial-gradient(circle at bottom left, rgba(46, 204, 113, 0.05) 0%, transparent 40%);
    color: #e0e0e0;
    padding: 80px 0 0 0; /* No bottom padding here, we'll handle it in footer-bottom */
    font-family: 'Inter', sans-serif;
    position: relative;
    border-top: 5px solid var(--primary-green);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer h3 {
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-green);
}

.footer-col-1 .logo {
    display: inline-block;
    font-size: 1.8rem;
    color: white;
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 15px;
}

.footer-col-1 p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #b0c4b1;
    margin-bottom: 20px;
}

.footer-locations li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #b0c4b1;
}

.footer-locations i {
    color: var(--primary-green);
    margin-top: 4px;
    margin-right: 12px;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: #b0c4b1;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-green);
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--primary-green);
    margin-right: 12px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.footer-contact a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary-green);
}

.footer-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.footer-gallery a {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1 / 1;
}

.footer-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.footer-gallery a:hover img {
    transform: scale(1.15);
}

/* Rolling Hills / Grass alternative bottom */
.footer-bottom-wrapper {
    background-color: var(--primary-green); /* Bright green bar at the bottom */
    position: relative;
    padding: 20px 0;
    margin-top: 40px;
}

.footer-hills {
    position: absolute;
    top: -29px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-hills svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 30px;
}

.footer-hills .shape-fill {
    fill: var(--primary-green);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: white;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

.footer-bottom .dev-credit {
    font-weight: 300;
}

.footer-bottom .dev-credit strong {
    font-weight: 600;
}
/* Grass specific CSS overrides */
.footer-bottom-wrapper {
    background-color: #27ae60;
    position: relative;
    padding: 20px 0;
    margin-top: 50px;
}
.footer-hills {
    position: absolute;
    top: -49px; /* adjust for taller grass */
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.footer-hills svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 50px; /* Taller for grass effect */
}

/* Realistic Grass Footer Overrides */
.footer {
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background-image: url('../images/footer-grass.jpg');
    background-size: cover;
    background-position: center bottom;
    z-index: 0;
    opacity: 0.9;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 60%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 60%);
}
.footer > .container {
    position: relative;
    z-index: 1;
}
.footer-bottom-wrapper {
    background-color: transparent !important;
    position: relative;
    z-index: 1;
    margin-top: 20px !important;
    padding: 10px 0 !important;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-hills {
    display: none !important; /* Hide the old vector grass */
}

.footer-grid h3, .footer-grid p, .footer-grid a, .footer-grid li, .footer-grid strong {
    text-shadow: 1px 2px 4px rgba(0,0,0,0.85);
}
.footer-col-1 .logo { display: flex; flex-direction: column; align-items: flex-start; }
/* Final Premium Text Effects for Footer */
.footer-col-1 p, .footer-locations li, .footer-links a, .footer-contact li, .footer-contact a {
    color: #f8f9fa !important; /* Brighter white for maximum contrast */
    text-shadow: 0 2px 12px rgba(0,0,0,0.95), 0 0 4px rgba(0,0,0,0.8) !important;
    font-weight: 700;
}
.footer h3 {
    color: #ffffff !important;
    text-shadow: 0 3px 15px rgba(0,0,0,0.9), 0 0 5px rgba(0,0,0,0.8) !important;
    letter-spacing: 1px;
}
.footer-links a:hover, .footer-contact a:hover {
    color: #2ecc71 !important; /* Neon green hover */
    text-shadow: 0 0 12px rgba(46, 204, 113, 0.9), 0 2px 5px rgba(0,0,0,0.9) !important;
    transform: translateX(8px) scale(1.05) !important;
}
.logo span {
    text-shadow: 0 3px 15px rgba(0,0,0,0.95), 0 0 6px rgba(0,0,0,0.8) !important;
    font-weight: 700;
}
.footer .logo img {
    box-shadow: 0 0 20px rgba(255,255,255,0.3), 0 5px 15px rgba(0,0,0,0.8) !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.footer .logo:hover img {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(46, 204, 113, 0.6), 0 5px 20px rgba(0,0,0,0.9) !important;
}
/* Sweeping Green Background Hover Effect */
.footer-links a, .footer-contact a {
    position: relative;
    padding: 4px 8px;
    margin-left: -8px; /* Compensate for padding so text aligns with the rest of the column */
    border-radius: 4px;
    background: linear-gradient(to right, #27ae60 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: background-position 0.3s ease, transform 0.3s ease, color 0.3s ease !important;
    color: #f8f9fa !important;
    display: inline-block;
    text-shadow: 0 2px 12px rgba(0,0,0,0.95), 0 0 4px rgba(0,0,0,0.8) !important;
}

.footer-links a:hover, .footer-contact a:hover {
    background-position: left bottom !important; /* Fills from left to right instantly */
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5) !important; /* Softer shadow since background is now bright green */
    transform: translateX(8px) !important;
}
/* Fix for inline-block wrapping */
.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


/* Premium Showcase Grid */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 350px 350px;
    gap: 20px;
}

.showcase-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.showcase-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(39, 174, 96, 0.3);
}

.showcase-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
    transition: background 0.4s ease;
    z-index: 1;
}

.showcase-item:hover .showcase-overlay {
    background: linear-gradient(to top, rgba(11, 34, 20, 0.95) 0%, rgba(39, 174, 96, 0.6) 50%, rgba(0,0,0,0.2) 100%);
}

.showcase-content {
    position: relative;
    z-index: 2;
    color: white;
}

.showcase-content .badge {
    background: var(--primary-green);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: inline-block;
}

.showcase-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.showcase-content p {
    font-size: 1rem;
    color: #e0e0e0;
    margin-bottom: 20px;
    opacity: 0.9;
    max-width: 90%;
    transition: opacity 0.3s ease;
}

.showcase-content .explore-btn {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease, color 0.3s ease;
}

.showcase-item:hover .explore-btn {
    gap: 15px;
    color: #fff;
}

/* Specific Grid Placements */
.showcase-item:nth-child(1) { grid-column: 1 / 8; grid-row: 1 / 3; } /* Large Strawberry on the left */
.showcase-item:nth-child(2) { grid-column: 8 / 13; grid-row: 1 / 2; } /* Top right Mango */
.showcase-item:nth-child(3) { grid-column: 8 / 13; grid-row: 2 / 3; } /* Bottom right Broccoli */
.showcase-item:nth-child(4) { display: none; } /* Hide the 4th item by default to keep the 3-item bento grid */

@media (max-width: 992px) {
    .showcase-grid {
        display: flex;
        flex-direction: column;
    }
    .showcase-item {
        height: 300px;
    }
    .showcase-item:nth-child(4) {
        display: flex; /* Show 4th item on mobile for balanced scroll */
    }
}

