/* ============================================================
   BIOGAS PRO — Premium CSS Design System
   Biogas Plant Installation Company
   ============================================================ */

/* ---- 1. CSS VARIABLES & TOKENS ---- */
:root {
  --forest-green: #1F6B3A;
  --leaf-green: #4CAF50;
  --earth-brown: #7A5C3E;
  --light-beige: #F8F5EE;
  --warm-white: #FFFFFF;
  --text-dark: #1A2530;
  --text-muted: #5A6A78;
  --text-light: #8B9BA8;
  --border-light: rgba(31,107,58,0.12);
  --shadow-sm: 0 2px 10px rgba(31,107,58,0.08);
  --shadow-md: 0 8px 30px rgba(31,107,58,0.12);
  --shadow-lg: 0 20px 60px rgba(31,107,58,0.18);
  --glass-bg: rgba(255,255,255,0.7);
  --glass-border: rgba(255,255,255,0.6);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --nav-height: 72px;
  --section-pad: 100px;
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F5EE;
  --bg-card: #FFFFFF;
}

[data-theme="dark"] {
  --text-dark: #E8F5E9;
  --text-muted: #A5C8AE;
  --text-light: #6B8F72;
  --bg-primary: #0D1F12;
  --bg-secondary: #112818;
  --bg-card: #1A2F1E;
  --glass-bg: rgba(26,47,30,0.8);
  --glass-border: rgba(76,175,80,0.2);
  --border-light: rgba(76,175,80,0.15);
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
  --warm-white: #1A2F1E;
}

/* ---- 2. RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}
img { max-width: 100%; height: auto; display: block; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
input, select, textarea { font-family: var(--font-body); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-pad) 0; }

/* ---- 3. PRELOADER ---- */
#preloader {
  position: fixed; inset: 0;
  background: linear-gradient(135deg, #0D1F12 0%, #1F6B3A 100%);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-content { text-align: center; }
.leaf-loader { width: 80px; height: 80px; margin: 0 auto 16px; animation: flamePulse 1.5s ease-in-out infinite; }
.leaf-loader svg { width: 100%; height: 100%; }
.leaf-path { transform-origin: bottom center; animation: flameFlicker 1.2s ease-in-out infinite alternate; }
@keyframes flamePulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.12) translateY(-4px)} }
@keyframes flameFlicker { from{opacity:0.7; transform:scaleX(0.92)} to{opacity:1; transform:scaleX(1.08)} }
.preloader-text { color: #F8F5EE; font-size: 1.5rem; font-weight: 700; letter-spacing: 2px; animation: fadeInUp 1s ease forwards; }
@keyframes fadeInUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

/* ---- 4. BACK TO TOP ---- */
#back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 1000;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--forest-green), var(--leaf-green));
  color: white; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(31,107,58,0.4);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: var(--transition);
}
#back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(31,107,58,0.5); }
#back-to-top svg { width: 22px; height: 22px; }

/* ---- 5. NAVBAR ---- */
#navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1240px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(31, 107, 58, 0.05);
  transition: all var(--transition);
}

[data-theme="dark"] #navbar {
  background: rgba(26, 47, 30, 0.8);
  border-color: rgba(76, 175, 80, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.nav-container {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.nav-logo{
  display: flex;
  align-items: center;
  justify-items: center;
  flex-direction: row;
  user-select: none;
}

.logo-only {
  height: 75px;

}
.logo-name{
  height:50px;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

[data-theme="dark"] .logo-text {
  color: white;
}

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

.logo-subtitle {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 3px;
  letter-spacing: 0.2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}

[data-theme="dark"] .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.nav-link:hover {
  background: rgba(76, 175, 80, 0.1);
  color: var(--leaf-green);
}

.chevron-icon {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.nav-link:hover .chevron-icon {
  transform: translateY(2px);
}

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

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--forest-green), var(--leaf-green));
  color: white !important;
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.25);
  transition: var(--transition);
}

.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.35);
}

.btn-nav-cta svg {
  width: 16px;
  height: 16px;
}

.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}

[data-theme="dark"] .lang-btn {
  color: white;
  border-color: rgba(76, 175, 80, 0.2);
}

.lang-btn:hover {
  background: rgba(76, 175, 80, 0.08);
}

.lang-btn .chevron-icon {
  width: 12px;
  height: 12px;
}

.theme-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  background: rgba(31, 107, 58, 0.08);
  transition: var(--transition);
}

[data-theme="dark"] .theme-btn {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.theme-btn:hover {
  background: rgba(76, 175, 80, 0.15);
}

.theme-btn svg {
  width: 18px;
  height: 18px;
}

.moon-icon { display: none; }
[data-theme="dark"] .sun-icon { display: none; }
[data-theme="dark"] .moon-icon { display: block; }
.logo-icon { width: 38px; height: 38px; flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

[data-theme="dark"] .hamburger span {
  background: white;
}

/* ---- 6. HERO ---- */
.hero-split {
  min-height: 100vh;
  position: relative;
  background: url('images/biogas_plant_hero.png') no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-split::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.90) 40%, rgba(255,255,255,0.30) 75%, rgba(255,255,255,0.05) 100%);
  z-index: 1;
  pointer-events: none;
}

[data-theme="dark"] .hero-split::before {
  background: linear-gradient(105deg, rgba(13,31,18,0.97) 0%, rgba(13,31,18,0.90) 40%, rgba(13,31,18,0.30) 75%, rgba(13,31,18,0.05) 100%);
}

.hero-split-container {
  display: flex;
  max-width: 1240px;
  margin: auto;
  width: 100%;
  padding: 0 24px;
  z-index: 2;
  align-items: center;
  gap: 40px;
  flex: 1;
}

.hero-left {
  flex: 0 0 48%;
  max-width: 48%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-right {
  flex: 0 0 52%;
  max-width: 52%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  padding-left: 20px;
}

.hero-badge-agri {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(76, 175, 80, 0.08);
  border: 1.5px solid rgba(76, 175, 80, 0.35);
  border-radius: 100px;
  padding: 8px 18px;
  color: var(--forest-green);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.05);
}

[data-theme="dark"] .hero-badge-agri {
  background: rgba(76, 175, 80, 0.15);
  color: #90EE90;
  border-color: rgba(76, 175, 80, 0.4);
}

.hero-badge-agri svg {
  width: 18px;
  height: 18px;
  color: var(--leaf-green);
}

.hero-headline-agri {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

[data-theme="dark"] .hero-headline-agri {
  color: white;
}

.highlight-green {
  background: linear-gradient(135deg, #1F6B3A 0%, #4CAF50 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

[data-theme="dark"] .highlight-green {
  background: linear-gradient(135deg, #6EE06E 0%, #A3F0A3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub-agri {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.75;
  font-weight: 500;
}

.hero-ctas-agri {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary-agri {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--forest-green), var(--leaf-green));
  color: white;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.35);
  transition: var(--transition);
}

.btn-primary-agri:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(76, 175, 80, 0.45);
}

.arrow-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-primary-agri:hover .arrow-circle {
  transform: translateX(3px) scale(1.1);
  background: white;
  color: var(--forest-green);
}

.arrow-circle svg {
  width: 14px;
  height: 14px;
}

.btn-secondary-agri {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 2px solid var(--forest-green);
  color: var(--forest-green);
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: var(--transition);
}

[data-theme="dark"] .btn-secondary-agri {
  border-color: var(--leaf-green);
  color: var(--leaf-green);
}

.btn-secondary-agri:hover {
  background: rgba(31, 107, 58, 0.05);
  transform: translateY(-3px);
}

[data-theme="dark"] .btn-secondary-agri:hover {
  background: rgba(76, 175, 80, 0.08);
}

.btn-secondary-agri svg {
  width: 18px;
  height: 18px;
}

/* Agritech Right Side Animation & Visual */
.agritech-visual-container {
  position: relative;
  width: 100%;
  max-width: 580px;
  height: 420px;
  display: flex;
  align-items: center;
}

.visual-lines-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.dotted-line {
  stroke-dasharray: 6, 6;
  animation: flowDots 1.8s linear infinite;
}

@keyframes flowDots {
  to { stroke-dashoffset: -24; }
}

/* ---------- CENTER CARD ---------- */
.visual-center-card {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0;
  overflow: visible;
}

/* Concentric dashed rings behind the main circle */
.ring-deco {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px dashed rgba(76, 175, 80, 0.4);
  pointer-events: none;
  animation: rotateSlow 18s linear infinite;
}
.ring-deco.ring-1 {
  width: 170px;
  height: 170px;
  animation-direction: normal;
}
.ring-deco.ring-2 {
  width: 220px;
  height: 220px;
  border-color: rgba(76, 175, 80, 0.22);
  animation-direction: reverse;
  animation-duration: 26s;
}
@keyframes rotateSlow {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Main big white circle */
.center-main-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px rgba(76,175,80,0.15), 0 10px 35px rgba(31,107,58,0.2);
  border: 3px solid rgba(76, 175, 80, 0.5);
  position: relative;
  z-index: 3;
  overflow: visible;
}

.center-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-icon-wrap svg {
  width: 44px;
  height: 44px;
}

/* Dark green pill extending right from the circle */
.center-card-content {
  background: linear-gradient(130deg, #1B4D2C 0%, #0D2818 100%);
  border: 1px solid rgba(76, 175, 80, 0.3);
  padding: 18px 28px 18px 24px;
  border-radius: 0 28px 28px 0;
  color: white;
  min-width: 190px;
  margin-left: -2px;
  box-shadow: 0 12px 40px rgba(13, 40, 24, 0.4);
}

.center-card-content h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: 0.1px;
  line-height: 1.2;
  color: white;
}

.center-card-content p {
  font-size: 0.82rem;
  opacity: 0.75;
  margin: 0;
  font-weight: 500;
  line-height: 1.4;
  color: white;
}

/* ---------- BENEFIT PILLS ---------- */
.benefit-items-group {
  position: absolute;
  right: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
  padding: 30px 0;
}

.benefit-item-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  padding: 6px 22px 6px 6px;
  border-radius: 100px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(31,107,58,0.06);
  transition: var(--transition);
  width: 200px;
}

[data-theme="dark"] .benefit-item-card {
  background: rgba(26, 47, 30, 0.9);
  border-color: rgba(76, 175, 80, 0.3);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.benefit-item-card:hover {
  transform: translateX(-5px) scale(1.03);
  box-shadow: 0 14px 38px rgba(31, 107, 58, 0.18);
  border-color: rgba(76, 175, 80, 0.6);
}

.benefit-item-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid rgba(76, 175, 80, 0.4);
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  flex-shrink: 0;
}

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

.benefit-item-card span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.1px;
}

[data-theme="dark"] .benefit-item-card span {
  color: #E8F5E9;
}

/* ---- HERO STATS BAR ---- */
.hero-stats-bar {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 40px auto 0;
  width: calc(100% - 48px);
  background: linear-gradient(135deg, #0D2818 0%, #1F4A28 100%);
  border-radius: 20px;
  padding: 28px 40px;
  display: flex;
  align-items: center;
  gap: 0;
  box-shadow: 0 20px 50px rgba(13, 40, 24, 0.35);
}

[data-theme="dark"] .hero-stats-bar {
  background: linear-gradient(135deg, #071410 0%, #0F2A14 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.split-stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.stat-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(76, 175, 80, 0.18);
  border: 1.5px solid rgba(76, 175, 80, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #90EE90;
  flex-shrink: 0;
}

.stat-icon-circle svg {
  width: 22px;
  height: 22px;
}

.stat-meta {
  display: flex;
  flex-direction: column;
}

.stat-meta > div {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: #6EE06E;
  line-height: 1;
}

.stat-suffix {
  font-size: 1.3rem;
  font-weight: 700;
  color: #6EE06E;
}

.stat-name {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  margin-top: 4px;
}

.stat-detail {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
  margin-top: 2px;
}

.stat-divider-vertical {
  width: 1px;
  height: 54px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  margin: 0 24px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--forest-green), var(--leaf-green));
  color: white; padding: 16px 32px; border-radius: 100px;
  font-size: 1rem; font-weight: 600; letter-spacing: 0.3px;
  box-shadow: 0 6px 25px rgba(76,175,80,0.4);
  transition: var(--transition);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 35px rgba(76,175,80,0.5); }
.btn-primary svg { width: 20px; height: 20px; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(10px);
  color: white; padding: 16px 32px; border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.4);
  font-size: 1rem; font-weight: 600;
  transition: var(--transition);
}
.btn-secondary:hover { background: rgba(255,255,255,0.25); transform: translateY(-3px); }
.btn-secondary svg { width: 20px; height: 20px; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--forest-green); color: var(--forest-green);
  padding: 13px 30px; border-radius: 100px; font-weight: 600; font-size: 0.95rem;
  transition: var(--transition);
}
.btn-outline:hover { background: var(--forest-green); color: white; transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; }


/* ---- 7. SECTION HEADER ---- */
.section-header { text-align: center; max-width: 720px; margin: 0 auto 70px; }
.section-tag {
  display: inline-block; color: var(--forest-green); font-size: 0.85rem;
  font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  margin-bottom: 14px; padding: 6px 18px; border-radius: 100px;
  background: rgba(76,175,80,0.1); border: 1px solid rgba(76,175,80,0.25);
}
.section-header h2 {
  font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.25; margin-bottom: 18px; color: var(--text-dark);
}
.text-green { color: var(--forest-green); }
.section-header p { color: var(--text-muted); font-size: 1.08rem; line-height: 1.8; }

/* ---- 8. GLASS CARD ---- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ---- 9. ANIMATIONS ---- */
@keyframes particleFloat {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-100px) scale(1.2); opacity: 0; }
}
.animate-fade-up { opacity: 0; transform: translateY(40px); animation: fadeUp 0.9s ease forwards; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.animate-on-scroll { opacity: 0; transform: translateY(50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll.delay-1 { transition-delay: 0.15s; }
.animate-on-scroll.delay-2 { transition-delay: 0.3s; }
.animate-on-scroll.delay-3 { transition-delay: 0.45s; }
.animate-on-scroll.delay-4 { transition-delay: 0.6s; }

/* ---- SVG BACKGROUND DECORATIONS (About) ---- */
.about-svg-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.svg-branch {
  position: absolute;
  pointer-events: none;
  animation: svgFloat 9s ease-in-out infinite;
}

.svg-branch:nth-child(2)  { animation-duration: 11s; animation-delay: -2s; }
.svg-branch:nth-child(3)  { animation-duration:  8s; animation-delay: -4s; }
.svg-branch:nth-child(4)  { animation-duration: 13s; animation-delay: -1s; }
.svg-branch:nth-child(5)  { animation-duration: 10s; animation-delay: -6s; }
.svg-branch:nth-child(6)  { animation-duration: 12s; animation-delay: -3s; }
.svg-branch:nth-child(7)  { animation-duration:  7s; animation-delay: -5s; }
.svg-branch:nth-child(8)  { animation-duration: 14s; animation-delay: -7s; }
.svg-branch:nth-child(9)  { animation-duration:  9s; animation-delay: -2s; }
.svg-branch:nth-child(10) { animation-duration: 11s; animation-delay: -8s; }

@keyframes svgFloat {
  0%, 100% { transform: var(--base-transform, translateY(0px)); }
  50%       { transform: var(--base-transform, translateY(0px)) translateY(-12px); }
}

/* Ensure section content stays above SVGs */
.about-section .container {
  position: relative;
  z-index: 1;
}

/* ---- 10. ABOUT SECTION ---- */
.about-section { background: var(--bg-primary); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; margin-bottom: 80px; }
.about-image-stack { position: relative; }
.about-img-main { border-radius: var(--radius-xl); overflow: hidden; height: 480px; box-shadow: var(--shadow-lg); }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-floating-card {
  position: absolute; bottom: -24px; right: -24px;
  display: flex; align-items: center; gap: 12px;
  padding: 16px 22px; border-radius: var(--radius-md);
  max-width: 220px;
}
.floating-icon { font-size: 2rem; }
.about-floating-card strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--text-dark); }
.about-floating-card span { display: block; font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.about-floating-badge {
  position: absolute; top: 24px; left: -24px;
  display: flex; align-items: center; gap: 8px;
  background: var(--forest-green); color: white;
  padding: 10px 18px; border-radius: 100px; font-size: 0.85rem; font-weight: 600;
  box-shadow: var(--shadow-md);
}
.about-floating-badge svg { width: 20px; height: 20px; }
.about-content { display: flex; flex-direction: column; gap: 28px; }
.about-intro h3 {
  font-family: var(--font-heading); font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700; color: var(--text-dark); margin-bottom: 16px; line-height: 1.3;
}
.about-intro p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.85; }
.mission-vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mv-card { padding: 24px; text-align: center; }
.mv-icon { font-size: 2.2rem; margin-bottom: 12px; }
.mv-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.mv-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }
.sustainability-pledge {
  display: flex; align-items: flex-start; gap: 18px;
  background: linear-gradient(135deg, rgba(76,175,80,0.08), rgba(31,107,58,0.12));
  border: 1px solid rgba(76,175,80,0.2); border-radius: var(--radius-md); padding: 22px;
}
.pledge-icon { font-size: 2.5rem; flex-shrink: 0; }
.sustainability-pledge h4 { font-weight: 700; margin-bottom: 8px; color: var(--forest-green); }
.sustainability-pledge p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

/* Timeline */
.timeline-section { padding-top: 20px; }
.timeline-title { font-family: var(--font-heading); font-size: 1.8rem; text-align: center; margin-bottom: 50px; color: var(--text-dark); }
.timeline { position: relative; }
.timeline::before { content: ''; position: absolute; left: 50%; transform: translateX(-50%); top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--leaf-green), var(--forest-green)); }
.timeline-item { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; position: relative; }
.timeline-item.right .timeline-card { grid-column: 2; }
.timeline-item.left .timeline-card { grid-column: 1; text-align: right; }
.timeline-dot {
  position: absolute; left: 50%; transform: translate(-50%,-50%); top: 50%;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--leaf-green); border: 3px solid white;
  box-shadow: 0 0 0 4px rgba(76,175,80,0.25);
}
.timeline-card { padding: 22px 26px; }
.timeline-year { font-size: 0.82rem; font-weight: 700; color: var(--leaf-green); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; display: block; }
.timeline-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.timeline-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ---- 11. WHY SECTION ---- */
.why-section { background: var(--bg-secondary); position: relative; overflow: hidden; }
.why-bg-pattern {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: radial-gradient(var(--leaf-green) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
}
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--bg-card); border-radius: var(--radius-lg); padding: 36px 28px;
  border: 1px solid var(--border-light); box-shadow: var(--shadow-sm);
  transition: var(--transition); position: relative; overflow: hidden;
  animation-delay: var(--delay);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--leaf-green); }
.feature-hover-bar {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--forest-green), var(--leaf-green));
  transform: scaleX(0); transform-origin: left; transition: var(--transition);
}
.feature-card:hover .feature-hover-bar { transform: scaleX(1); }
.feature-icon-wrap {
  width: 72px; height: 72px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(76,175,80,0.1), rgba(31,107,58,0.15));
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  transition: var(--transition);
}
.feature-card:hover .feature-icon-wrap { background: linear-gradient(135deg, var(--forest-green), var(--leaf-green)); transform: rotate(-5deg) scale(1.1); }
.feature-icon { font-size: 2rem; }
.feature-card h4 { font-size: 1.08rem; font-weight: 700; margin-bottom: 12px; color: var(--text-dark); }
.feature-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.75; }

/* ---- 12. PRODUCTS ---- */
.products-section { background: var(--bg-primary); }
.product-filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.filter-btn {
  padding: 10px 24px; border-radius: 100px; font-size: 0.9rem; font-weight: 500;
  background: var(--bg-secondary); color: var(--text-muted); border: 1px solid var(--border-light);
  transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: linear-gradient(135deg, var(--forest-green), var(--leaf-green));
  color: white; border-color: transparent; box-shadow: 0 4px 15px rgba(76,175,80,0.3);
}
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  background: var(--bg-card); border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--border-light); box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.product-card.hidden { display: none; }
.product-img-wrap { position: relative; height: 220px; overflow: hidden; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.08); }
.product-badge {
  position: absolute; top: 14px; right: 14px; padding: 5px 14px;
  border-radius: 100px; font-size: 0.78rem; font-weight: 700;
  background: linear-gradient(135deg, #FF6B35, #F7931E); color: white;
}
.product-badge.new { background: linear-gradient(135deg, #2196F3, #42A5F5); }
.product-badge.premium { background: linear-gradient(135deg, #9C27B0, #CE93D8); }
.product-info { padding: 26px; }
.product-category { font-size: 0.78rem; font-weight: 600; color: var(--leaf-green); letter-spacing: 1.5px; text-transform: uppercase; }
.product-info h4 { font-size: 1.1rem; font-weight: 700; margin: 8px 0 12px; color: var(--text-dark); }
.product-info > p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.product-benefits { margin-bottom: 20px; }
.product-benefits li { font-size: 0.85rem; color: var(--text-muted); padding: 3px 0; }
.btn-product {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.9rem; font-weight: 600; color: var(--forest-green);
  padding: 10px 20px; border-radius: 100px;
  background: rgba(76,175,80,0.1); transition: var(--transition);
}
.btn-product:hover { background: var(--forest-green); color: white; }
.btn-product svg { width: 16px; height: 16px; }

/* ---- 13. BENEFITS / BEFORE-AFTER ---- */
.benefits-section { background: var(--bg-secondary); }
.before-after-wrapper { margin-bottom: 60px; }
.ba-container {
  display: flex; align-items: stretch; border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow-lg); min-height: 460px;
}
.ba-before, .ba-after { flex: 1; position: relative; overflow: hidden; }
.ba-before img, .ba-after img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.7); }
.ba-after img { filter: saturate(1.3) brightness(1.05); }
.ba-label {
  position: absolute; top: 20px;
  background: rgba(0,0,0,0.55); color: white; font-size: 0.78rem;
  font-weight: 700; letter-spacing: 2px; padding: 6px 14px; border-radius: 100px;
}
.before-label { left: 20px; }
.after-label { right: 20px; }
.ba-desc {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 30px 24px 24px; color: white;
}
.ba-desc h5 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.ba-desc li { font-size: 0.85rem; padding: 3px 0; opacity: 0.9; }
.ba-handle {
  display: flex; flex-direction: column; align-items: center;
  padding: 16px 0; background: white; z-index: 2; width: 50px;
  cursor: col-resize; flex-shrink: 0;
}
.ba-handle-line { flex: 1; width: 2px; background: linear-gradient(to bottom, var(--leaf-green), var(--forest-green)); }
.ba-handle-circle {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--forest-green), var(--leaf-green));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(76,175,80,0.4); flex-shrink: 0;
}
.ba-handle-circle svg { width: 16px; height: 16px; stroke: white; }
.sustainability-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.metric-card {
  background: var(--bg-card); border-radius: var(--radius-lg); padding: 32px 24px;
  text-align: center; border: 1px solid var(--border-light); box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.metric-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.metric-icon { font-size: 2.2rem; margin-bottom: 14px; }
.metric-number { font-size: 3rem; font-weight: 800; color: var(--forest-green); display: inline; }
.metric-unit { font-size: 2rem; font-weight: 700; color: var(--leaf-green); display: inline; }
.metric-label { font-size: 0.88rem; color: var(--text-muted); font-weight: 500; margin-top: 8px; }

/* ---- 14. PROCESS ---- */
.process-section { background: var(--bg-primary); position: relative; overflow: hidden; }
.process-bg-gradient {
  position: absolute; top: -30%; left: -20%; width: 80%; height: 160%;
  background: radial-gradient(ellipse at center, rgba(76,175,80,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.process-timeline { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.process-step {
  position: relative; text-align: center; padding: 36px 24px;
  background: var(--bg-card); border-radius: var(--radius-xl);
  border: 1px solid var(--border-light); box-shadow: var(--shadow-sm);
  transition: var(--transition); animation-delay: calc(var(--step) * 0.12s);
}
.process-step:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(76,175,80,0.4); }
.process-icon-wrap { position: relative; margin-bottom: 20px; display: inline-block; }
.process-icon { font-size: 3rem; display: block; }
.process-step-num {
  position: absolute; top: -8px; right: -12px;
  font-size: 0.75rem; font-weight: 800; color: white;
  background: linear-gradient(135deg, var(--forest-green), var(--leaf-green));
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(31,107,58,0.4);
}
.process-content h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.process-content p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; }
.process-arrow { position: absolute; right: -18px; top: 50%; transform: translateY(-50%); font-size: 1.8rem; color: var(--leaf-green); z-index: 2; display: none; }

/* ---- 15. IMPACT ---- */
.impact-section { background: var(--bg-secondary); }
.impact-counters { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 50px; }
.impact-counter-card {
  background: var(--bg-card); border-radius: var(--radius-xl); padding: 32px 28px;
  text-align: center; border: 1px solid var(--border-light); box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.impact-counter-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.counter-icon { font-size: 2.5rem; margin-bottom: 16px; }
.counter-value { font-size: 2.6rem; font-weight: 800; color: var(--forest-green); margin-bottom: 6px; }
.counter { display: inline; }
.counter-label { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; margin-bottom: 18px; }
.counter-progress { height: 6px; background: var(--border-light); border-radius: 10px; overflow: hidden; margin-top: 14px; }
.counter-bar {
  height: 100%; border-radius: 10px;
  background: linear-gradient(90deg, var(--forest-green), var(--leaf-green));
  width: 0; transition: width 1.5s ease 0.5s;
}
.counter-bar.animated { width: var(--width); }
.carbon-highlight {
  background: linear-gradient(135deg, var(--forest-green) 0%, #2E8B57 100%);
  border-radius: var(--radius-xl); padding: 40px 48px; color: white;
}
.carbon-content { display: flex; align-items: flex-start; gap: 24px; margin-bottom: 28px; }
.carbon-icon { font-size: 3.5rem; flex-shrink: 0; }
.carbon-content h3 { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; margin-bottom: 10px; }
.carbon-content p { opacity: 0.88; line-height: 1.75; font-size: 1rem; }
.carbon-progress-label { display: flex; justify-content: space-between; font-size: 0.88rem; opacity: 0.85; margin-bottom: 10px; font-weight: 600; }
.carbon-progress-bar { height: 10px; background: rgba(255,255,255,0.2); border-radius: 10px; overflow: hidden; }
.carbon-progress-fill {
  height: 100%; border-radius: 10px;
  background: linear-gradient(90deg, #90EE90, #A3F0A3);
  width: 0; transition: width 2s ease 0.8s;
}
.carbon-progress-fill.animated { width: 72%; }

/* ---- 16. TESTIMONIALS ---- */
.testimonials-section { background: var(--bg-primary); position: relative; overflow: hidden; }
.testimonials-bg-pattern {
  position: absolute; inset: 0; opacity: 0.03;
  background: radial-gradient(var(--leaf-green) 2px, transparent 2px);
  background-size: 40px 40px;
}
.testimonial-carousel { position: relative; overflow: hidden; padding: 8px; }
.testimonial-track {
  display: flex; gap: 28px;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.testimonial-card {
  flex: 0 0 calc(50% - 14px);
  background: var(--bg-card); border-radius: var(--radius-xl); padding: 40px;
  border: 1px solid var(--border-light); box-shadow: var(--shadow-sm);
}
.testimonial-rating { font-size: 1.1rem; margin-bottom: 20px; }
blockquote {
  font-size: 1.02rem; color: var(--text-dark); line-height: 1.85;
  font-style: italic; margin-bottom: 28px; position: relative; padding-left: 20px;
}
blockquote::before {
  content: '"'; position: absolute; left: 0; top: -8px;
  font-size: 3rem; color: var(--leaf-green); font-family: var(--font-heading); line-height: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 16px; }
.testimonial-author img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 3px solid var(--leaf-green); }
.testimonial-author strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--text-dark); }
.testimonial-author span { display: block; font-size: 0.82rem; color: var(--text-muted); }
.testimonial-crop { color: var(--forest-green) !important; font-weight: 600 !important; margin-top: 2px; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; }
.carousel-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--bg-card); border: 1.5px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.carousel-btn:hover { background: var(--forest-green); color: white; border-color: var(--forest-green); }
.carousel-btn svg { width: 22px; height: 22px; }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border-light); cursor: pointer; transition: var(--transition);
}
.carousel-dot.active { background: var(--forest-green); width: 28px; border-radius: 5px; }

/* ---- 17. GALLERY ---- */
.gallery-section { background: var(--bg-secondary); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 320px;
  gap: 16px;
}
.gallery-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; }
.gallery-item.large { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(31,107,58,0.85) 0%, transparent 60%);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 24px; opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay svg { width: 36px; height: 36px; margin-bottom: 10px; }
.gallery-overlay span { color: white; font-weight: 600; font-size: 0.9rem; text-align: center; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.94); display: flex; flex-direction: column;
  align-items: center; justify-content: center; opacity: 0; visibility: hidden;
  transition: var(--transition);
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-img { max-width: 90%; max-height: 80vh; border-radius: var(--radius-md); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,0.1); color: white;
  border: 1.5px solid rgba(255,255,255,0.2); border-radius: 50%;
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; cursor: pointer; transition: var(--transition); backdrop-filter: blur(8px);
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--forest-green); border-color: var(--forest-green); }
.lightbox-caption { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-top: 16px; }

/* ---- 18. CERTIFICATIONS ---- */
.certs-section { background: var(--bg-primary); }
.certs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 60px; }
.cert-card { padding: 32px 24px; text-align: center; transition: var(--transition); }
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cert-icon { font-size: 3rem; margin-bottom: 16px; }
.cert-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.cert-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.quality-process { text-align: center; }
.quality-process h3 { font-family: var(--font-heading); font-size: 1.6rem; margin-bottom: 32px; color: var(--text-dark); }
.qa-steps { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.qa-step {
  background: var(--bg-secondary); border-radius: var(--radius-md); padding: 16px 22px;
  text-align: center; border: 1px solid var(--border-light);
}
.qa-step span { display: block; font-size: 1.2rem; font-weight: 800; color: var(--forest-green); margin-bottom: 4px; }
.qa-step p { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.qa-arrow { font-size: 1.4rem; color: var(--leaf-green); }

/* ---- 19. FAQ ---- */
.faq-section { background: var(--bg-secondary); }
.faq-layout { display: grid; grid-template-columns: 380px 1fr; gap: 70px; align-items: start; }
.faq-header { position: sticky; top: 100px; }
.faq-header .section-tag { text-align: left; }
.faq-header h2 { text-align: left; font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 16px; }
.faq-header p { text-align: left; margin-bottom: 28px; font-size: 1rem; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 22px 0; text-align: left;
  font-size: 1rem; font-weight: 600; color: var(--text-dark); transition: var(--transition);
}
.faq-question:hover { color: var(--forest-green); }
.faq-icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--forest-green); transition: transform var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s ease, padding 0.3s ease; }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 22px; }
.faq-answer p { color: var(--text-muted); line-height: 1.8; font-size: 0.95rem; }

/* ---- 20. BLOG ---- */
.blog-section { background: var(--bg-primary); }
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; grid-template-rows: auto auto; }
.blog-card { background: var(--bg-card); border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); transition: var(--transition); }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.blog-card.featured { grid-row: span 2; display: flex; flex-direction: column; }
.blog-img-wrap { position: relative; height: 220px; overflow: hidden; flex-shrink: 0; }
.blog-card.featured .blog-img-wrap { height: 280px; }
.blog-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-img-wrap img { transform: scale(1.06); }
.blog-category-tag {
  position: absolute; top: 16px; left: 16px;
  background: linear-gradient(135deg, var(--forest-green), var(--leaf-green));
  color: white; font-size: 0.75rem; font-weight: 600; padding: 5px 14px; border-radius: 100px;
}
.blog-content { padding: 28px; flex: 1; }
.blog-meta { font-size: 0.8rem; color: var(--text-light); margin-bottom: 12px; }
.blog-content h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; color: var(--text-dark); line-height: 1.4; }
.blog-card.featured .blog-content h3 { font-size: 1.3rem; }
.blog-content p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 18px; }
.blog-read-more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--forest-green); font-weight: 600; font-size: 0.9rem; transition: var(--transition);
}
.blog-read-more:hover { gap: 10px; }
.blog-read-more svg { width: 16px; height: 16px; }
.blog-cta { text-align: center; margin-top: 48px; }

/* ---- 21. CONTACT ---- */
.contact-section { background: var(--bg-secondary); }
.contact-layout { display: grid; grid-template-columns: 1fr 420px; gap: 36px; }
.contact-form-wrap { padding: 44px; }
.contact-form-wrap h3 { font-family: var(--font-heading); font-size: 1.6rem; margin-bottom: 28px; color: var(--text-dark); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 18px; border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light); background: var(--bg-primary);
  color: var(--text-dark); font-size: 0.95rem; transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--leaf-green); box-shadow: 0 0 0 3px rgba(76,175,80,0.15);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-success {
  display: none; margin-top: 16px; padding: 14px 20px;
  background: rgba(76,175,80,0.1); border: 1px solid rgba(76,175,80,0.3);
  border-radius: var(--radius-md); color: var(--forest-green); font-weight: 600; font-size: 0.95rem;
}
.form-success.show { display: flex; align-items: center; gap: 8px; }
.contact-info-wrap { display: flex; flex-direction: column; gap: 20px; }
.contact-details { padding: 34px; }
.contact-details h3 { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 28px; color: var(--text-dark); }
.contact-detail-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.contact-detail-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 4px; }
.contact-detail-item strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.contact-detail-item p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.contact-detail-item a { color: var(--text-muted); transition: var(--transition); }
.contact-detail-item a:hover { color: var(--forest-green); }
.contact-social { display: flex; gap: 10px; margin-top: 6px; }
.social-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(76,175,80,0.1); color: var(--forest-green);
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(76,175,80,0.2); transition: var(--transition);
}
.social-btn:hover { background: var(--forest-green); color: white; border-color: var(--forest-green); transform: translateY(-3px); }
.social-btn svg { width: 18px; height: 18px; }
.map-embed { padding: 28px; }
.map-embed h3 { font-weight: 700; font-size: 1rem; margin-bottom: 16px; color: var(--text-dark); }
.map-container { border-radius: var(--radius-md); overflow: hidden; }

/* ---- 22. FOOTER ---- */
.footer { background: #0A1F10; color: rgba(255,255,255,0.7); }
.footer-top { padding: 80px 0 60px; }
.footer-grid { display: grid; grid-template-columns: 280px 1fr 1fr 1fr 240px; gap: 48px; }
.footer-brand .nav-logo { margin-bottom: 18px; }
.footer-tagline { font-size: 0.88rem; line-height: 1.8; color: rgba(255,255,255,0.55); margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem;
  border: 1px solid rgba(255,255,255,0.12); transition: var(--transition);
}
.footer-social-icon:hover { background: var(--forest-green); color: white; border-color: var(--forest-green); }
.footer-col h5 { font-size: 0.92rem; font-weight: 700; color: white; margin-bottom: 18px; letter-spacing: 0.5px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-col a:hover { color: var(--leaf-green); padding-left: 4px; }
.footer-newsletter h5 { font-size: 0.92rem; font-weight: 700; color: white; margin-bottom: 12px; }
.footer-newsletter p { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 18px; line-height: 1.7; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1; padding: 12px 16px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: white; font-size: 0.88rem; outline: none; transition: var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form input:focus { border-color: var(--leaf-green); background: rgba(76,175,80,0.1); }
.newsletter-form button {
  width: 46px; height: 46px; border-radius: var(--radius-md); flex-shrink: 0;
  background: linear-gradient(135deg, var(--forest-green), var(--leaf-green));
  color: white; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.newsletter-form button:hover { transform: scale(1.08); box-shadow: 0 4px 15px rgba(76,175,80,0.4); }
.newsletter-form button svg { width: 18px; height: 18px; }
.newsletter-success { font-size: 0.85rem; color: #90EE90; margin-top: 10px; display: none; }
.newsletter-success.show { display: block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; text-align: center; }
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-bottom a:hover { color: var(--leaf-green); }
.footer-credits { margin-top: 6px; }

/* ---- 23. RESPONSIVE ---- */
@media (max-width: 1100px) {
  #navbar { width: calc(100% - 24px); top: 12px; }
  .hero-split-container { gap: 24px; }
  .hero-visual-cards { max-width: 420px; }
  .about-grid { gap: 40px; }
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-newsletter { grid-column: 1 / -1; max-width: 400px; }
}
@media (max-width: 900px) {
  .logo-only { height: 55px; }
  .logo-name { height: 36px; }
  :root { --section-pad: 70px; }
  #navbar { border-radius: 12px; }
  .nav-links { display: none; position: fixed; inset: 100px 12px auto; background: white; flex-direction: column; align-items: stretch; gap: 0; z-index: 700; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.15); padding: 12px; }
  [data-theme="dark"] .nav-links { background: #1A2F1E; }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 1rem; padding: 14px 16px; border-radius: 10px; color: var(--text-dark); }
  [data-theme="dark"] .nav-link { color: white; }
  .hamburger { display: flex; }
  .btn-nav-cta { display: none; }
  .lang-switcher { display: none; }
  .hero-split-container { flex-direction: column; padding-top: 20px; }
  .hero-left { flex: none; max-width: 100%; align-items: flex-start; }
  .hero-right { flex: none; max-width: 100%; justify-content: center; width: 100%; padding-left: 0; }
  .hero-visual-cards { max-width: 100%; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image-stack { max-width: 500px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .impact-counters { grid-template-columns: repeat(2,1fr); }
  .sustainability-metrics { grid-template-columns: repeat(2,1fr); }
  .process-timeline { grid-template-columns: repeat(2,1fr); }
  .certs-grid { grid-template-columns: repeat(2,1fr); }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-header { position: static; margin-bottom: 40px; }
  .contact-layout { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card.featured { grid-row: auto; }
  .timeline::before { left: 24px; }
  .timeline-item { grid-template-columns: 1fr; padding-left: 60px; }
  .timeline-item .timeline-card { grid-column: 1; text-align: left; }
  .timeline-dot { left: 24px; top: 24px; }
  .gallery-grid { grid-template-rows: auto; grid-template-columns: repeat(2,1fr); }
  .gallery-item.large, .gallery-item.tall { grid-column: auto; grid-row: auto; }
  .nav-links { display: none; position: fixed; inset: var(--nav-height) 0 0 0; background: var(--bg-primary); flex-direction: column; align-items: center; justify-content: center; gap: 6px; z-index: 700; }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 1.1rem; padding: 12px 24px; color: var(--text-dark) !important; }
  .hamburger { display: flex; }
}
@media (max-width: 600px) {
  .logo-only { height: 40px; }
  .logo-name { height: 26px; }
  :root { --section-pad: 55px; }
  #navbar { top: 8px; width: calc(100% - 16px); }
  .hero-split { padding-top: 90px; padding-bottom: 24px; }
  .hero-headline-agri { font-size: 2.2rem; }
  .hero-ctas-agri { flex-direction: column; align-items: flex-start; }
  .agritech-visual-container { height: 240px; }
  .visual-center-card { width: 200px; padding: 12px 16px; left: 0; }
  .center-circle { width: 56px; height: 56px; }
  .center-circle-inner { width: 44px; height: 44px; }
  .benefit-item-card { width: 140px; }
  .hero-stats-bar { margin: 24px auto 0; padding: 20px 20px; width: calc(100% - 24px); }
  .split-stat-item { flex: 0 0 calc(50% - 10px); }
  .stat-num { font-size: 1.5rem; }
  .stat-suffix { font-size: 1rem; }
  .features-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .impact-counters { grid-template-columns: repeat(2,1fr); }
  .sustainability-metrics { grid-template-columns: repeat(2,1fr); }
  .process-timeline { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .ba-container { flex-direction: column; min-height: auto; }
  .ba-handle { flex-direction: row; width: 100%; height: 50px; padding: 0 16px; }
  .ba-handle-line { flex: none; width: auto; flex: 1; height: 2px; }
  .ba-handle-circle { width: 44px; height: 44px; }
  .testimonial-card { flex: 0 0 100%; }
  .form-row { grid-template-columns: 1fr; }
  .qa-steps { flex-direction: column; align-items: center; }
  .qa-arrow { transform: rotate(90deg); }
  .gallery-grid { grid-template-columns: 1fr; }
  .carbon-highlight { padding: 28px; }
  .carbon-content { flex-direction: column; }
  .about-floating-card { right: 0; }
  .about-floating-badge { left: 0; }
  .mission-vision-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---- HERO VISUAL CARDS (new design) ---- */
.hero-visual-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
}

.hvc-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 20px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10), 0 2px 8px rgba(31,107,58,0.06);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .hvc-card {
  background: rgba(26, 47, 30, 0.88);
  border-color: rgba(76, 175, 80, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.hvc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.14);
}

.hvc-card.hvc-wide {
  grid-column: span 2;
}

.hvc-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

.hvc-icon svg {
  width: 22px;
  height: 22px;
}

.hvc-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.hvc-num {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
  white-space: nowrap;
}

[data-theme="dark"] .hvc-num {
  color: #E8F5E9;
}

.hvc-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 3px;
  line-height: 1.3;
}

.hvc-badge {
  font-size: 1.4rem;
  opacity: 0.5;
  flex-shrink: 0;
  transition: var(--transition);
}

.hvc-card:hover .hvc-badge {
  opacity: 1;
  transform: scale(1.2);
}

@media (max-width: 900px) {
  .hero-visual-cards {
    max-width: 100%;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .hero-visual-cards {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .hvc-card { padding: 14px 12px; gap: 10px; }
  .hvc-icon { width: 38px; height: 38px; border-radius: 10px; }
  .hvc-icon svg { width: 18px; height: 18px; }
  .hvc-num { font-size: 1rem; }
  .hvc-badge { display: none; }
}
