@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
  /* Colors */
  --primary-green: #2e7d32;
  --dark-green: #1b5e20;
  --light-green: #e8f5e9;
  --white: #ffffff;
  --bg-gray: #f8f9fa;
  --heading-primary: var(--primary-green);
  --heading-secondary: var(--dark-green);
  --paragraph-color: #666666;
  --border-color: #e5e7eb;

  /* Typography */
  --font-heading: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing & Layout */
  --spacing-section: 100px;
  --container-width: 1320px;

  /* Border Radius */
  --radius-card: 20px;
  --radius-btn: 12px;
  --radius-img: 20px;

  /* Transitions */
  --transition: all 0.3s ease;
}

html,
body {
  max-width: 100vw;
  background-color: var(--white);
  color: var(--paragraph-color);
  font-family: var(--font-body);
  line-height: 1.6;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--heading-primary);
  line-height: 1.2;
}
h3,
h4 {
  color: var(--heading-secondary);
}
p {
  font-size: 18px;
  color: var(--paragraph-color);
}
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}
ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.section {
  padding: var(--spacing-section) 0;
}
.section-heading {
  font-size: 40px;
  font-weight: 700;
  color: var(--heading-primary);
}
.sub-heading {
  font-size: 32px;
  font-weight: 600;
  color: var(--heading-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: var(--primary-green);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  border-radius: var(--radius-btn);
  border: 2px solid var(--primary-green);
  cursor: pointer;
  transition: var(--transition);
}
.btn:hover {
  background-color: var(--dark-green);
  border-color: var(--dark-green);
}
.btn-outline {
  background-color: var(--white);
  color: var(--primary-green);
}
.btn-outline:hover {
  background-color: var(--primary-green);
  color: var(--white);
}
.btn-ghost {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-ghost:hover {
  background-color: var(--white);
  color: var(--primary-green);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.logo {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-green);
  display: flex;
  align-items: center;
  gap: 8px;
}
.navLinks {
  display: flex;
  gap: 32px;
  align-items: center;
}
.navLink {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  color: var(--heading-secondary);
  position: relative;
  transition: var(--transition);
}
.navLink:hover {
  color: var(--primary-green);
}
.mobileMenuBtn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-green);
  font-size: 28px;
}
.mobileMenu {
  display: none;
  background-color: var(--white);
  border-bottom: 1px solid #eee;
  padding: 1rem 2rem;
  flex-direction: column;
  gap: 1rem;
}
.mobileMenu.active {
  display: flex;
}

@media (max-width: 992px) {
  .navLinks {
    display: none;
  }
  .mobileMenuBtn {
    display: block;
  }
}

/* Animations */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.animate-fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}
.animate-scale-up {
  opacity: 0;
  transform: scale(0.8);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.animate-fade-up.visible,
.animate-fade-in.visible,
.animate-scale-up.visible {
  opacity: 1;
}

.animate-fade-up.visible {
  transform: translateY(0);
}

.animate-scale-up.visible {
  transform: scale(1);
}
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}

/* --- HOME PAGE STYLES --- */
.hero {
  /* height comes from the shared banner rule in assets/css/common.css */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  z-index: 1;
}
.heroBackground {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background:
    linear-gradient(rgba(21, 71, 52, 0.7), rgba(21, 71, 52, 0.8)),
    url("image/hero-bg.jpg") center/cover no-repeat;
}
.heroContent {
  max-width: 900px;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.heroBadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}
.heroTitle {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--white);
}
.heroSubtitle {
  font-size: 22px;
  margin-bottom: 40px;
  opacity: 0.9;
}
.heroButtons {
  display: flex;
  gap: 24px;
  justify-content: center;
}

/* Marquee */
.marqueeContainer {
  background: var(--dark-green);
  color: var(--white);
  padding: 24px 0;
  overflow: hidden;
  display: flex;
}
.marqueeTrack {
  display: flex;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
}
.marqueeItem {
  font-size: 18px;
  font-weight: 600;
  margin: 0 40px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
}
.marqueeDot {
  color: var(--primary-green);
  margin-left: 80px;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* About Section */
.aboutGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.aboutImagesWrapper {
  position: relative;
  height: 550px;
}
.aboutImg1 {
  width: 80%;
  height: 85%;
  object-fit: cover;
  border-radius: var(--radius-img);
  position: absolute;
  top: 0;
  left: 0;
}
.aboutImg2 {
  width: 55%;
  height: 55%;
  object-fit: cover;
  border-radius: var(--radius-img);
  position: absolute;
  bottom: 0;
  right: 0;
  border: 12px solid var(--white);
}
.experienceBadge {
  position: absolute;
  bottom: 20px;
  left: -20px;
  background-color: var(--primary-green);
  color: var(--white);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 8px solid var(--white);
  z-index: 3;
}

.checkList li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 500;
  color: var(--heading-secondary);
}

/* Bento Box */
.bentoSection {
  padding: 100px 0;
  background-color: var(--bg-gray);
}
.bentoGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.bentoCard {
  background: var(--white);
  border-radius: 32px;
  padding: 40px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.bentoLarge {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(135deg, var(--dark-green), #0a1f14);
  color: var(--white);
  position: relative;
}
.bentoWide {
  grid-column: span 2;
}
.bentoIcon {
  width: 56px;
  height: 56px;
  background: var(--light-green);
  color: var(--primary-green);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

/* Products */
.productsGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.productCard {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.productImage {
  height: 240px;
  position: relative;
}
.productImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.productInfo {
  padding: 32px 24px;
}

/* Zigzag */
.zigzagRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}
.zigzagRow:nth-child(even) .zigzagImage {
  order: 2;
}
.zigzagImage {
  border-radius: 32px;
  overflow: hidden;
  height: 450px;
}
.zigzagImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Parallax */
.parallaxSection {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("image/placeholder-factory.jpg") center/cover fixed;
}
.parallaxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 20, 15, 0.7);
}
.parallaxContent {
  position: relative;
  z-index: 2;
  color: var(--white);
  text-align: center;
}
.playBtn {
  width: 96px;
  height: 96px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  cursor: pointer;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Network */
.networkSection {
  position: relative;
  padding: 100px 0;
  background: url("image/world-map.png") center/cover fixed;
  text-align: center;
  color: var(--white);
}
.networkOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 42, 28, 0.95);
}
.statsGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 64px;
  position: relative;
  z-index: 2;
}
.statNumber {
  font-size: 64px;
  font-weight: 700;
  color: var(--light-green);
  line-height: 1;
}

/* Video Modal */
.videoModalOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.videoModalOverlay.active {
  opacity: 1;
  pointer-events: auto;
}
.videoModalContent {
  width: 100%;
  max-width: 1000px;
  position: relative;
}
.closeVideoBtn {
  position: absolute;
  top: -48px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
}
.videoWrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

@media (max-width: 992px) {
  .aboutGrid,
  .bentoGrid,
  .zigzagRow {
    grid-template-columns: 1fr;
  }
  .bentoLarge,
  .bentoWide {
    grid-column: span 1;
  }
  .productsGrid,
  .statsGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* --- PRODUCT PAGE STYLES --- */
.productsHero {
  position: relative;
  height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(rgba(10, 20, 15, 0.8), rgba(10, 20, 15, 0.9)),
    url("image/placeholder-spice.jpg") center/cover fixed;
  margin-bottom: 60px;
  overflow: hidden;
}
.heroTitle {
  font-size: 72px;
  font-weight: 800;
  margin-bottom: 24px;
  background: linear-gradient(to right, #ffffff, #a5d6a7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}
.heroSubtitle {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  line-height: 1.6;
}
.filterContainer {
  position: sticky;
  top: 80px;
  z-index: 50;
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 24px 0;
  background: rgba(248, 249, 250, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 60px;
}
.filterBtn {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-secondary);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}
.filterBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}
.filterBtn.active {
  background: var(--primary-green);
  color: var(--white);
  border-color: var(--primary-green);
  box-shadow: 0 10px 25px rgba(46, 125, 50, 0.3);
}
.product-warning {
  max-width: 1080px;
  margin: 0 auto 2rem;
  padding: 20px 24px;
  border-radius: 18px;
  background: rgba(255, 240, 215, 0.95);
  border: 1px solid rgba(255, 181, 0, 0.35);
  color: #8a4f00;
  font-weight: 700;
  text-align: center;
}
.productGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px;
  padding-bottom: var(--tatvant-section, 4rem);
}
.productCard {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.5s ease,
    opacity 0.5s ease;
  cursor: pointer;
}
.productCard:hover {
  transform: translateY(-12px) !important;
  box-shadow: 0 30px 60px rgba(46, 125, 50, 0.15);
  border-color: rgba(46, 125, 50, 0.2);
}
.productCard.hide {
  display: none;
}
.imageContainer {
  height: 280px;
  position: relative;
  overflow: hidden;
}
.imageContainer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.productCard:hover .imageContainer img {
  transform: scale(1.15);
}
.imageOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(10, 20, 15, 0.8) 0%,
    transparent 50%
  );
  opacity: 0.6;
  transition: opacity 0.5s ease;
}
.productCard:hover .imageOverlay {
  opacity: 0.9;
  background: linear-gradient(
    to top,
    rgba(46, 125, 50, 0.9) 0%,
    rgba(10, 20, 15, 0.2) 100%
  );
}
.hoverAction {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  color: var(--primary-green);
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.productCard:hover .hoverAction {
  bottom: 24px;
}
.info {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: var(--white);
  position: relative;
  z-index: 2;
}
.category {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--primary-green);
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 16px;
  box-shadow: 0 4px 10px rgba(46, 125, 50, 0.2);
}
.title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--heading-secondary);
  line-height: 1.2;
}
.desc {
  color: var(--paragraph-color);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* EXACT FOOTER CSS FROM NEXT.JS */
.footer {
  background-color: var(--dark-green);
  color: var(--white);
  padding: 80px 0 32px;
  margin-top: auto;
}

.footerGrid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 32px;
}

.brandInfo {
  flex: 0 0 350px;
}

.brandInfo p {
  color: var(--light-green);
  font-size: 16px !important;
  margin-top: 24px;
  line-height: 1.8;
  margin-bottom: 0 !important;
}

.footer .logo {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
}

.column h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--white);
}

.column ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.column ul li {
  margin: 0;
  padding: 0;
}

.column a {
  font-size: 16px;
  color: var(--light-green);
  transition: var(--transition);
  text-decoration: none;
}

.column a:hover {
  color: var(--white);
}

.contactItem {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 16px;
  color: var(--light-green);
  align-items: flex-start;
}

.bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--light-green);
  font-size: 16px;
}

.viewAllTextLink {
  color: #000000 !important;
  font-weight: bold !important;
  font-size: 16px;
  margin-top: 8px;
  display: inline-block;
  transition: var(--transition);
}

.viewAllTextLink:hover {
  color: var(--white) !important;
}

@media (max-width: 992px) {
  .footerGrid {
    gap: 32px;
  }
  .brandInfo {
    flex: 0 0 100%;
  }
}
@media (max-width: 576px) {
  .column {
    flex: 0 0 100%;
  }
}
