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

/* ==========================================
   CSS VARIABLES & CORE DESIGN TOKENS
   ========================================== */
:root {
  /* Colors */
  --primary: #0f3d2a; /* Deep Forest Green (Trust, Biotech, Agriculture) */
  --primary-light: #165c3f; /* Medium Forest Green */
  --secondary: #2e7d32; /* Vibrant Crop Green (Growth, Action, Health) */
  --secondary-light: #4caf50; /* Bright Green for hovers and accents */
  --accent: #e6a100; /* Warm Harvest Gold (Yield, Value, Maximize Profit) */
  --accent-light: #ffb300; /* Light Gold */
  --accent-tint: #fff9e6; /* Soft gold tint for backgrounds */

  --bg-white: #ffffff;
  --bg-sage: #f3f6f4; /* Soft Organic Sage White */
  --bg-mint: #f0fdf4; /* Light Mint Tint */
  --bg-dark: #0a2217; /* Very Deep Green for Footer & Dark overlays */

  --text-dark: #1e293b; /* Slate Grey (High contrast body text) */
  --text-muted: #64748b; /* Medium Grey for secondary text */
  --text-light: #f8fafc; /* Off-white for dark backgrounds */
  --border-color: #e2e8f0; /* Standard border */
  --border-light: #d1fae5; /* Light green border */

  /* Fonts */
  --font-headings: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Layout & Spacing */
  --container-max: 1200px;
  --header-height: 90px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-round: 50%;

  /* Shadows & Effects */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(15, 61, 42, 0.06);
  --shadow-lg: 0 20px 40px rgba(15, 61, 42, 0.12);
  --shadow-hover: 0 22px 48px rgba(15, 61, 42, 0.18);
  --shadow-button: 0 4px 14px rgba(46, 125, 50, 0.3);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
}

/* ==========================================
   CSS RESET & BASE STYLES
   ========================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  user-select: none;
}

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

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headings);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 1.5rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.text-center h2::after {
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  /* text-align: justify; */
}

strong {
  color: var(--primary);
  font-weight: 600;
}

/* ==========================================
   LAYOUTS & COMMON UTILITIES
   ========================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section.bg-light {
  background-color: var(--bg-white);
}

.section.bg-mint {
  background-color: var(--bg-mint);
}

.section.bg-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section.bg-dark h2,
.section.bg-dark h3,
.section.bg-dark h4,
.section.bg-dark strong {
  color: var(--bg-white);
}

.section.bg-dark p {
  color: #a7f3d0; /* Soft green-white text */
}

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

.max-w-600 {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.mb-40 {
  margin-bottom: 40px;
}
.mb-20 {
  margin-bottom: 20px;
}
.mt-20 {
  margin-top: 20px;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Section Header styling */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-header .sub-title {
  font-family: var(--font-headings);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 10px;
  display: inline-block;
  background-color: var(--bg-mint);
  padding: 6px 16px;
  border-radius: 30px;
  border: 1px solid var(--border-light);
}

/* ==========================================
   BUTTONS & LINKS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  gap: 10px;
}

.btn-primary {
  background-color: var(--secondary);
  color: var(--bg-white);
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(15, 61, 42, 0.3);
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  transform: translateY(-3px);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(230, 161, 0, 0.3);
}

.btn-accent:hover {
  background-color: #f59e0b;
  color: var(--bg-white);
  transform: translateY(-3px);
}

.btn-text {
  color: var(--secondary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-text:hover {
  color: var(--primary);
}

.btn-text::after {
  content: "→";
  transition: transform 0.25s ease;
}

.btn-text:hover::after {
  transform: translateX(5px);
}

/* ==========================================
   NAVIGATION HEADER
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.02); /* Clean transparent default */
  backdrop-filter: blur(0px);
}

.header.scrolled {
  background-color: rgba(
    255,
    255,
    255,
    0.95
  ); /* Frosted white glass on scroll */
  backdrop-filter: blur(12px);
  height: 75px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(15, 61, 42, 0.04); /* Subtle drop shadow */
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 70px; /* 40% increase from original 50px for brand recognition */
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.header.scrolled .logo-img {
  height: 56px; /* Scaled down on scroll */
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px; /* Balanced spacing */
}

.nav-link {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary); /* Corporate dark green navigation text */
  position: relative;
  padding: 8px 0;
  transition: var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(
    --secondary
  ); /* Crop green underline active highlight */
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary); /* Active link highlight */
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header .btn {
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 30px; /* Premium modern pill style */
  box-shadow: none;
  border: 1px solid transparent;
  transition: var(--transition);
}

.header .btn-primary {
  background-color: var(--secondary); /* Solid crop green background */
  color: var(--bg-white); /* White text */
  box-shadow: var(--shadow-button);
}

.header .btn-primary:hover {
  background-color: var(--primary); /* Dark forest green hover */
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 61, 42, 0.25);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  font-size: 1.8rem;
  color: var(--primary);
  cursor: pointer;
  z-index: 1100;
  transition: var(--transition);
}

/* ==========================================
   HERO BANNER
   ========================================== */
.hero {
  padding-top: calc(var(--header-height) + 50px);
  padding-bottom: 100px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: radial-gradient(
    circle at top right,
    var(--bg-mint) 30%,
    var(--bg-white) 70%
  );
  position: relative;
  overflow: hidden;
}

/* Decorative elements */
.hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(76, 175, 80, 0.08) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.hero-content {
  max-width: 620px;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--secondary);
  background-color: var(--bg-mint);
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid var(--border-light);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--primary);
}

.hero-title span {
  color: var(--secondary);
  position: relative;
  display: inline-block;
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 35px;
  color: var(--text-muted);
  text-align: justify;
}

.hero-btns {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
}

.stat-item h4 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 2px;
  font-weight: 800;
}

.stat-item p {
  font-size: 0.85rem;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-bg {
  position: absolute;
  width: 90%;
  height: 90%;
  background-color: var(--bg-sage);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: 1;
  animation: morphing 15s ease-in-out infinite;
}

.hero-img {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.hero-img:hover {
  transform: translateY(-5px) scale(1.02);
}

/* Floating badge */
.hero-badge {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 15px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 3;
  border: 1px solid var(--border-light);
  animation: float 4s ease-in-out infinite;
}

.badge-icon {
  width: 45px;
  height: 45px;
  background-color: var(--bg-mint);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.3rem;
}

.badge-text h5 {
  margin-bottom: 0;
  font-size: 1rem;
  color: var(--primary);
}

.badge-text p {
  margin-bottom: 0;
  font-size: 0.8rem;
}

/* ==========================================
   COMPANY INTRODUCTION (ABOUT TEASER)
   ========================================== */
.about-intro-text h3 {
  color: var(--secondary);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.about-intro-text {
  text-align: justify;
}

.about-bullets {
  margin: 25px 0 35px 0;
}

.about-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

.about-bullet-icon {
  color: var(--secondary);
  font-size: 1.2rem;
  margin-top: 2px;
}

.about-bullet-text h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.about-bullet-text p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.about-experience-card {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 15px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 3;
  border: 1px solid var(--primary-light);
  animation: float 4s ease-in-out infinite;
}

.about-experience-card h4 {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 0;
  font-weight: 800;
}

.about-experience-card p {
  color: var(--secondary);
  font-size: 0.85rem;
  margin-bottom: 0;
  font-weight: 500;
  text-transform: uppercase;
}

/* ==========================================
   FEATURED PRODUCTS SHOWCASE
   ========================================== */
.products-filter-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}

.filter-btn {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  background-color: var(--bg-sage);
  border: 1px solid var(--border-color);
  padding: 10px 24px;
  border-radius: 30px;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--secondary);
  color: var(--bg-white);
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Product Card Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.product-card-img-wrapper {
  position: relative;
  padding: 30px;
  background-color: var(--bg-white);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

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

.product-card-img {
  max-height: 220px;
  border-radius: 20px;
  /* border: 2px solid var(--primary); */
  object-fit: contain;
  transition: var(--transition);
}

.product-card-category {
  position: absolute;
  top: 15px;
  left: 15px;
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  /* background-color: var(--primary); */
  color: var(--bg-dark);
  padding: 5px 12px;
  border-radius: 20px;
}

.product-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-title {
  font-size: 1.5rem;
  /* margin-bottom: 10px; */
  padding: 10px;
  display: flex;
  justify-content: center;
  color: var(--primary);
}

.product-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-crops {
  background-color: var(--bg-mint);
  border-radius: var(--radius-sm);
  padding: 10px 15px;
  /* margin-bottom: 20px; */
  border: 1px dashed var(--border-light);
  position: absolute;
  top: 45px;
  left: 70px;
}

.product-card-crops p {
  margin-bottom: 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary);
}

.product-card-crops span {
  font-weight: 600;
  color: var(--secondary);
}

.product-card-footer {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.product-card-footer .btn {
  padding: 10px 16px;
  font-size: 0.85rem;
  flex: 1;
}

/* ==========================================
   BENEFITS SECTION
   ========================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.benefit-card {
  background-color: var(--bg-white);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-light);
}

.benefit-icon-wrapper {
  width: 70px;
  height: 70px;
  background-color: var(--bg-mint);
  color: var(--secondary);
  border-radius: var(--radius-round);
  font-size: 2rem;
  margin: 0 auto 25px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.benefit-card:hover .benefit-icon-wrapper {
  background-color: var(--secondary);
  color: var(--bg-white);
  transform: rotateY(180deg);
}

.benefit-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.benefit-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ==========================================
   WHY CHOOSE NATURE BIOTIC
   ========================================== */
.why-choose-content h3 {
  color: var(--secondary);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.why-choose-content p {
  text-align: justify;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 35px;
}

.why-item {
  display: flex;
  gap: 20px;
  background-color: var(--bg-white);
  padding: 25px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.why-item:hover {
  border-color: var(--border-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.why-icon {
  font-size: 1.8rem;
  color: var(--secondary);
  line-height: 1;
}

.why-text h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.why-text p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

.why-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.why-image-overlay {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  background: rgba(15, 61, 42, 0.9);
  backdrop-filter: blur(8px);
  padding: 25px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
}

.why-image-overlay h4 {
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 5px;
}

.why-image-overlay p {
  color: #d1fae5;
  margin-bottom: 0;
  font-size: 0.88rem;
}

/* ==========================================
   MANUFACTURING & QUALITY
   ========================================== */
.mfg-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.mfg-image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.mfg-img-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.mfg-img-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition);
}

.mfg-img-card:hover img {
  transform: scale(1.06);
}

.mfg-img-label {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background-color: rgba(15, 61, 42, 0.85);
  color: var(--bg-white);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.mfg-bullets {
  margin: 25px 0 35px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.mfg-bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.95rem;
}

.mfg-bullet-item i {
  color: var(--secondary);
  font-size: 1.2rem;
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials-slider-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card {
  background-color: var(--bg-white);
  padding: 50px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  text-align: center;
  position: relative;
  display: none; /* Controlled by JS */
}

.testimonial-card.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

.quote-icon {
  font-size: 3rem;
  color: rgba(46, 125, 50, 0.15);
  position: absolute;
  top: 20px;
  left: 40px;
}

.testimonial-text {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.testimonial-farmer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.farmer-avatar {
  width: 75px;
  height: 75px;
  border-radius: var(--radius-round);
  object-fit: cover;
  border: 3px solid var(--secondary);
  margin-bottom: 15px;
  box-shadow: var(--shadow-md);
}

.farmer-name {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}

.farmer-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.farmer-meta span {
  color: var(--secondary);
  font-weight: 600;
}

/* Slider Controls */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-round);
  background-color: var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background-color: var(--secondary);
  width: 30px;
  border-radius: 10px;
}

/* ==========================================
   CERTIFICATIONS & TRUST INDICATORS
   ========================================== */
.certs-flex {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 180px;
}

.cert-icon-box {
  width: 80px;
  height: 80px;
  background-color: var(--bg-white);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 15px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-light);
  transition: var(--transition);
}

.cert-item:hover .cert-icon-box {
  transform: scale(1.1);
  border-color: var(--secondary);
  color: var(--secondary);
}

.cert-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.cert-item p {
  font-size: 0.75rem;
  margin-bottom: 0;
}

/* ==========================================
   BLOG / AGRICULTURAL INSIGHTS TEASER
   ========================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
  border-color: var(--border-light);
}

.blog-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 12;
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

/* .blog-card:hover .blog-img {
  transform: scale(1.1);
} */

.blog-card-category {
  position: absolute;
  top: 15px;
  left: 15px;
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: var(--secondary);
  color: var(--bg-white);
  padding: 5px 12px;
  border-radius: 20px;
  z-index: 2;
}

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

.blog-meta-flex {
  display: flex;
  gap: 15px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-meta-flex span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-card-title {
  font-size: 1.2rem;
  line-height: 1.4;
  margin-bottom: 12px;
}

.blog-card-title a:hover {
  color: var(--secondary);
}

.blog-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================
   CONTACT & ENQUIRY SECTION
   ========================================== */
.contact-section-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
}

.contact-info-panel {
  background-color: var(--bg-white);
  color: var(--bg-dark);
  padding: 45px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.contact-info-panel::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background-color: rgba(46, 125, 50, 0.15);
  border-radius: 50%;
  bottom: -60px;
  right: -60px;
  z-index: -1;
}

.contact-info-panel h3 {
  color: var(--bg-dark);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.contact-info-panel p {
  color: var(--primary);
  font-size: 0.95rem;
  margin-bottom: 35px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.contact-detail-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-detail-text h4 {
  font-size: 1rem;
  color: var(--bg-dark);
  margin-bottom: 5px;
}

.contact-detail-text p {
  color: var(--bg-dark);

  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-social-links {
  display: flex;
  gap: 15px;
}

.contact-social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-round);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.contact-social-btn:hover {
  background-color: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
}
.map-container {
  width: 95%;
  height: 240px;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact / Enquiry Forms */
.form-card {
  background-color: var(--bg-white);
  padding: 45px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.form-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 30px;
  gap: 20px;
}

.form-tab-btn {
  padding: 10px 5px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-muted);
  position: relative;
  transition: var(--transition);
}

.form-tab-btn:hover {
  color: var(--primary);
}

.form-tab-btn.active {
  color: var(--secondary);
}

.form-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--secondary);
}

.form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background-color: var(--bg-sage);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  background-color: var(--bg-white);
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 248px;
}

.form-error-msg {
  color: #dc2626;
  font-size: 0.75rem;
  margin-top: 5px;
  display: none;
}

.form-success-alert {
  background-color: var(--bg-mint);
  border: 1px solid var(--border-light);
  color: var(--primary);
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
  margin-bottom: 25px;
  display: none;
}

.form-success-alert i {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 10px;
  display: block;
}

/* =========================
   INSIGHTS IMAGE POPUP
========================= */

.image-popup {
  display: none;
  position: fixed;
  z-index: 99999;
  inset: 0;

  /* softer transparent background */
  background: rgba(20, 40, 30, 0.45);

  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);

  justify-content: center;
  align-items: center;

  padding: 30px;
}

.image-popup.active {
  display: flex;
}

.image-popup-content {
  max-width: 90vw;
  max-height: 90vh;

  width: auto;
  height: auto;

  object-fit: contain;
  border-radius: 14px;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);

  animation: popupZoom 0.25s ease;
}

.image-popup-close {
  position: absolute;
  top: 20px;
  right: 35px;

  color: #fff;
  font-size: 45px;
  cursor: pointer;
}

.blog-img {
  cursor: zoom-in;
}

@keyframes popupZoom {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ==========================================
   INNER PAGES BANNER (BREADCRUMB SECTION)
   ========================================== */
.inner-banner {
  /* background: radial-gradient(
    circle at center,
    var(--primary-light) 0%,
    var(--bg-dark) 100%
  ); */
  background-color: var(--bg-white);
  padding: 120px 0 60px 0;
  color: var(--bg-white);
  text-align: center;
  position: relative;
}

.inner-banner h1 {
  color: #165c3f;
  font-size: 3rem;
  margin-bottom: 15px;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 0.95rem;
}

.breadcrumbs a {
  color: var(--primary);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs span {
  color: var(--primary-light);
}

.breadcrumbs .current {
  color: var(--secondary);
}

/* ==========================================
   ABOUT US PAGE SPECIFIC
   ========================================== */
.about-stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  margin-top: 60px;
  text-align: center;
}

.about-stat-card {
  background-color: var(--bg-sage);
  border: 1px solid var(--border-color);
  padding: 35px 20px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.about-stat-card:hover {
  transform: translateY(-5px);
  background-color: var(--bg-mint);
  border-color: var(--border-light);
}

.about-stat-card h3 {
  font-size: 2.5rem;
  color: var(--secondary);
  font-weight: 800;
  margin-bottom: 5px;
}

.about-stat-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--primary);
}

/* ==========================================
   PRODUCTS CATALOG PAGE SPECIFIC
   ========================================== */
.products-search-bar {
  max-width: 500px;
  margin: -30px auto 40px auto;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-md);
  border-radius: 30px;
  background-color: var(--bg-white);
  padding: 6px;
  display: flex;
  border: 1px solid var(--border-color);
}

.products-search-bar input {
  flex-grow: 1;
  padding: 10px 20px;
  font-size: 0.95rem;
}

.products-search-bar button {
  width: 48px;
  height: 48px;
  background-color: var(--secondary);
  color: var(--bg-white);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.products-search-bar button:hover {
  background-color: var(--primary);
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 0;
  display: none;
}

.no-results i {
  font-size: 3.5rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  display: block;
}

/* ==========================================
   DYNAMIC PRODUCT DETAILS PAGE
   ========================================== */
/* .details-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.product-details-img-card {
  background-color: var(--bg-sage);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 40px;
  position: sticky;
  top: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1/1;
}

.product-details-img-card img {
  max-height: 400px;
  object-fit: contain;
}

.product-details-category {
  display: inline-block;
  font-family: var(--font-headings);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.product-details-title {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.product-details-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 30px;
} */

.details-grid {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  max-width: 1400px;
  margin: auto;
  padding: 70px 40px;
}

.product-details-img-card {
  width: 450px;
  height: 450px;
  background: #fff;
  /* border: 2px solid var(--primary); */
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.product-details-img-card img {
  width: 98%;
  height: 98%;
  /* border-radius: 14px; */
  object-fit: contain;
  /* border: 2px solid var(--primary); */
}

.product-details-category {
  flex: 1;
}

.product-details-title {
  font-size: 54px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

.product-details-desc {
  color: #666;
  font-size: 18px;
  margin-bottom: 30px;
}
.details-accordion-section {
  margin-bottom: 35px;
}

.details-tab-wrapper {
  border-bottom: 2px solid var(--border-color);
  display: flex;
  gap: 30px;
  margin-bottom: 25px;
}

.details-tab-header {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-muted);
  padding: 10px 0;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.details-tab-header.active {
  color: var(--primary);
}

.details-tab-header.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--secondary);
}

.details-tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.details-tab-content.active {
  display: block;
}

.details-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 15px;
}

.details-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
}

.details-list-item i {
  color: var(--secondary);
  margin-top: 3px;
}

.target-crops-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.crop-tag {
  background-color: var(--bg-mint);
  border: 1px solid var(--border-light);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.crop-tag i {
  color: var(--secondary);
}

.composition-box {
  background-color: var(--bg-sage);
  border-radius: var(--radius-md);
  padding: 20px;
  border-left: 4px solid var(--secondary);
  font-style: italic;
  font-size: 0.95rem;
}

.application-box {
  background-color: var(--accent-tint);
  border-radius: var(--radius-md);
  padding: 20px;
  border-left: 4px solid var(--accent);
  font-size: 0.95rem;
  color: var(--primary);
}

.product-details-action-box {
  display: flex;
  gap: 20px;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  margin-top: 45px;
}

.product-details-action-box .btn {
  flex: 1;
}

/* ==========================================
   GALLERY PAGE SPECIFIC
   ========================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(10, 34, 23, 0.9) 0%,
    rgba(10, 34, 23, 0.2) 60%,
    rgba(10, 34, 23, 0) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-card-category {
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
}

.gallery-card-title {
  color: var(--bg-white);
  font-size: 1.15rem;
  margin-bottom: 0;
}

/* Simple Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 34, 23, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-content-wrapper {
  position: relative;
  max-width: 900px;
  max-height: 80vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  color: var(--bg-white);
  font-size: 2.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--accent);
}

.lightbox-caption {
  color: var(--bg-white);
  text-align: center;
  margin-top: 15px;
  font-family: var(--font-headings);
  font-size: 1.1rem;
}

/* ==========================================
   BLOG DETAILS PAGE SPECIFIC
   ========================================== */
.blog-details-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 50px;
}

.blog-post-article {
  background-color: var(--bg-white);
  padding: 20px;
  border-radius: var(--radius-lg);
}

.blog-post-img-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
}

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

.blog-post-meta-row {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.blog-post-meta-row span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-post-meta-row span i {
  color: var(--secondary);
}

.blog-post-body h3 {
  font-size: 1.6rem;
  margin-top: 35px;
  margin-bottom: 15px;
}

.blog-post-body p {
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.blog-post-body ul,
.blog-post-body ol {
  margin-bottom: 25px;
  padding-left: 20px;
}

.blog-post-body li {
  margin-bottom: 10px;
  font-size: 1rem;
  position: relative;
}

.blog-post-body ul li::before {
  content: "•";
  color: var(--secondary);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* Blog Sidebar */
.sidebar-box {
  background-color: var(--bg-sage);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
}

.sidebar-title {
  font-size: 1.25rem;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 10px;
}

.sidebar-post-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-post-item {
  display: flex;
  gap: 15px;
}

.sidebar-post-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.sidebar-post-info h5 {
  font-size: 0.92rem;
  line-height: 1.4;
  margin-bottom: 5px;
}

.sidebar-post-info h5 a:hover {
  color: var(--secondary);
}

.sidebar-post-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================
   PROFESSIONAL FOOTER
   ========================================== */
.footer {
  background-color: var(--bg-white);
  color: var(--bg-dark);
  padding: 80px 0 30px 0;
  border-top: 5px solid var(--secondary);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .logo-img {
  height: 110px;
  margin-bottom: 20px;
}

.footer-brand span img {
  display: inline-flex;
  width: 36px;
  height: 36px;
  background-color: var(--bg-sage);
  /* border: 2px solid var(--secondary-light); */
  /* border-radius: 8px; */
  align-items: center;
  justify-content: center;
}

.footer-brand p {
  color: #0a2217;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-round);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social-btn:hover {
  background-color: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-col h3 {
  color: var(--bg-dark);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background-color: var(--accent);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--primary);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer-links a::before {
  content: "›";
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.footer-links a:hover::before {
  transform: translateX(2px);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-contact-item i {
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-contact-item p {
  margin-bottom: 0;
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--bg-dark);
  line-height: 1.5;
}

.footer-contact-item a {
  color: #0a2217;
}

.footer-contact-item a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #81c784;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: #81c784;
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ==========================================
   WHATSAPP & FLOATING BUTTONS
   ========================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: var(--bg-white);
  border-radius: var(--radius-round);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  z-index: 999;
  transition: var(--transition);
  animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  background-color: #20ba5a;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 35px;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: var(--bg-white);
  border-radius: var(--radius-round);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  background-color: var(--secondary);
  transform: translateY(-5px);
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.reveal-left {
  transform: translateX(-50px);
}

.reveal.reveal-right {
  transform: translateX(50px);
}

.reveal.reveal-scale {
  transform: scale(0.9);
}

.reveal.active {
  opacity: 1;
  transform: translate(0) scale(1);
}
.txt-jtpy {
  text-align: justify;
}

/* ==========================================
   KEYFRAMES
   ========================================== */
@keyframes morphing {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  25% {
    border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
  }
  50% {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
  }
  75% {
    border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
  }
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

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

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

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 1200px) {
  h1 {
    font-size: 2.2rem;
  }
  .hero-title {
    font-size: 3rem;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  :root {
    --header-height: 70px;
  }

  .section {
    padding: 70px 0;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mfg-grid {
    grid-template-columns: 1fr;
  }

  .contact-section-grid {
    grid-template-columns: 1fr;
  }

  .details-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-details-img-card {
    position: static;
    max-width: 500px;
    margin: 0 auto;
  }

  .blog-details-layout {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.02);
  }

  .logo-img {
    height: 52px; /* Responsive logo size for mobile header */
  }

  /* Mobile navigation */
  .mobile-toggle {
    display: block;
    color: var(--primary); /* Hamburger toggle icon: Dark green */
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(80vh - var(--header-height));
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 30px;
    gap: 25px;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-right: 1px solid var(--border-color);
  }

  .nav-menu .nav-link {
    color: var(--primary); /* Dark green text on white drawer background */
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active {
    color: var(--secondary);
  }

  .nav-menu .nav-link::after {
    display: none; /* Hide highlight underline on mobile drawer */
  }

  .nav-menu.active {
    right: 0;
  }

  .header.scrolled .nav-menu {
    top: 75px;
    height: calc(80vh - 75px);
  }

  .nav-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 15px;
  }

  .header .btn {
    padding: 8px 15px;
    font-size: 0.8rem;
  }

  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 60px;
  }

  .hero-content {
    max-width: 100%;
    margin-top: 40px;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    gap: 30px;
  }

  .hero-badge {
    left: 20px;
    bottom: 20px;
  }

  .about-experience-card {
    right: 20px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1200px) {
  .benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.6rem;
  }
  .hero-title {
    font-size: 2.4rem;
  }

  .product-grid,
  .gallery-grid,
  .blog-grid,
  .benefits-grid,
  .why-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }

  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-card {
    padding: 30px 20px;
  }

  .quote-icon {
    top: 10px;
    left: 20px;
    font-size: 2.2rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 1.8rem;
  }

  .scroll-top {
    bottom: 80px;
    right: 25px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
    gap: 10px;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .about-stats-row {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 25px 20px;
  }
}
@media (max-width: 1024px) {
  .details-grid {
    gap: 35px;
  }

  .product-details-img-card {
    width: 380px;
    height: 380px;
  }

  .product-details-title {
    font-size: 42px;
  }
}
@media (max-width: 768px) {
  .details-grid {
    flex-direction: column;
    gap: 30px;
  }

  .product-details-img-card {
    width: 100%;
    max-width: 450px;
    height: 450px;
    margin: auto;
  }

  .product-details-category {
    width: 100%;
  }

  .product-details-title {
    font-size: 38px;
  }

  .benefits {
    grid-template-columns: 1fr;
  }

  .tabs {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }
}
@media (max-width: 576px) {
  .details-grid {
    padding: 20px;
  }

  .product-details-img-card {
    width: 100%;
    height: 320px;
  }

  .product-details-img-card img {
    width: 90%;
    height: 90%;
    object-fit: contain;
  }

  .product-details-title {
    font-size: 30px;
  }

  .product-details-desc {
    font-size: 15px;
  }

  .details-tab-wrapper button {
    font-size: 14px;
    padding: 10px 16px;
  }

  .benefits {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .crop-tag {
    font-size: 13px;
    padding: 8px 14px;
  }
}
@media (max-width: 375px) {
  .product-details-img-card {
    height: 280px;
  }

  .product-details-title {
    font-size: 26px;
  }

  .details-tab-wrapper button {
    padding: 8px 12px;
    font-size: 13px;
  }
}
html,
body {
  overflow-x: hidden;
  width: 100%;
}

/* ==========================================
   CROP KNOWLEDGE BASE STYLES
   ========================================== */
.crops-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.crop-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.crop-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-light);
}

.crop-card-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.crop-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.crop-card:hover .crop-card-img {
  transform: scale(1.08);
}

.crop-card-category {
  position: absolute;
  top: 15px;
  left: 15px;
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 5px 12px;
  border-radius: 20px;
  z-index: 2;
}

.crop-card-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.crop-card-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.crop-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.5;
}

.crop-card-footer {
  margin-top: auto;
}

.crop-card-footer .btn {
  width: 100%;
  padding: 10px 16px;
  font-size: 0.88rem;
}

/* Crop Details styles */
.crop-header-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 50px;
}

.crop-header-img-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
}

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

.crop-meta-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 25px;
}

.crop-meta-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 15px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.crop-meta-item i {
  color: var(--secondary);
  font-size: 1.3rem;
}

.crop-meta-item span {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.crop-meta-item p {
  margin-bottom: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
}

/* Tabs */
.crop-details-tabs {
  display: flex;
  border-bottom: 2px solid var(--border-color);
  gap: 40px;
  margin-bottom: 40px;
  justify-content: center;
}

.crop-tab-btn {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-muted);
  padding: 15px 10px;
  position: relative;
  transition: var(--transition);
  background: none;
  border: none;
  cursor: pointer;
}

.crop-tab-btn:hover {
  color: var(--primary);
}

.crop-tab-btn.active {
  color: var(--secondary);
}

.crop-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.crop-tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}

.crop-tab-pane.active {
  display: block;
}

/* diagnosis card style (pests & diseases) */
.diagnosis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.diagnosis-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.diagnosis-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-light);
}

.diagnosis-card-img-wrapper {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

.diagnosis-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.diagnosis-card-title {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.diagnosis-detail {
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.diagnosis-detail strong {
  color: var(--primary);
  display: block;
  margin-bottom: 2px;
}

.diagnosis-detail p {
  margin-bottom: 0;
  color: var(--text-dark);
}

.diagnosis-recommendation-box {
  background-color: var(--bg-mint);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-md);
  padding: 15px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.rec-text {
  font-size: 0.85rem;
  color: var(--primary);
  text-align: left;
}

.rec-text span {
  font-weight: 700;
  color: var(--secondary);
  display: block;
}

/* Deficiency grid (3 columns) */
.deficiency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* Solutions grid (3 columns) */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .crops-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .crop-header-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .diagnosis-grid {
    grid-template-columns: 1fr;
  }
  .deficiency-grid,
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .crop-details-tabs {
    gap: 20px;
    flex-wrap: wrap;
  }
  .crop-tab-btn {
    font-size: 0.95rem;
    padding: 10px 5px;
  }
}

@media (max-width: 576px) {
  .crops-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }
  .deficiency-grid,
  .solutions-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .crop-meta-list {
    grid-template-columns: 1fr;
  }
}

img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

/* ==========================================
   MANUFACTURING & QUALITY
   ========================================== */
.mfg-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.mfg-image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.mfg-img-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.mfg-img-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition);
}
.mfg-img-card:hover img {
  transform: scale(1.06);
}
.mfg-img-label {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background-color: rgba(15, 61, 42, 0.85);
}

/* ==========================================
   MANUFACTURING SHOWCASE STYLES
   ========================================== */
.machinery-container {
  display: flex;
  flex-direction: column;
  gap: 80px; /* Clean spacing between machinery sections */
  margin-top: 50px;
}
.machinery-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
/* Alternating layout for desktop */
.machinery-row:nth-child(even) .machinery-img-card {
  order: 2;
}
.machinery-row:nth-child(even) .machinery-content {
  order: 1;
}
.machinery-img-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.machinery-img-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.machinery-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.machinery-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
}
.machinery-title {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 5px;
}
.machinery-desc {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
  text-align: justify;
}
/* Application Badge styling */
.machinery-app-box {
  align-self: flex-start;
  background-color: var(--bg-mint);
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: 5px;
}

.machinery-app-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.machinery-app-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 600;
}
/* Responsive adjustments for manufacturing */
@media (max-width: 992px) {
  .machinery-row {
    gap: 40px;
  }
  .machinery-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .machinery-row {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .about-experience-card {
    padding: 15px 20px;
    margin-left: 10px;
    gap: 15px;
    max-width: 80%;
  }

  .about-experience-card h4 {
    font-size: 1.25rem;

    margin-bottom: 0;
    font-weight: 800;
  }

  .about-experience-card p {
    font-size: 0.85rem;
    margin-bottom: 0;
    font-weight: 500;
  }

  /* On mobile, force image on top, content below */
  .machinery-row:nth-child(even) .machinery-img-card,
  .machinery-row:nth-child(odd) .machinery-img-card {
    order: 1 !important;
  }
  .machinery-row:nth-child(even) .machinery-content,
  .machinery-row:nth-child(odd) .machinery-content {
    order: 2 !important;
  }
  .machinery-container {
    gap: 50px;
  }
  .machinery-img-card {
    aspect-ratio: 16 / 11;
  }
}
/* Navigation layout compression to prevent overflow */
@media (max-width: 1200px) and (min-width: 992px) {
  .nav-menu {
    gap: 20px !important; /* Compress gaps to prevent link wrapping */
  }
}
