/* =========================================================
   AgroBiofuel Traders — Stylesheet
   Color system:
     --green-dark:  #1b4332
     --green-mid:   #2d6a4f
     --green-light: #52b788
     --amber:       #e07b22
     --amber-light: #f4a261
     --bg-light:    #f8faf7
     --text-dark:   #1a1a2e
     --text-mid:    #4a4a6a
   ========================================================= */

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

:root {
  --green-dark: #1b4332;
  --green-mid: #2d6a4f;
  --green-light: #52b788;
  --amber: #e07b22;
  --amber-light: #f4a261;
  --bg-light: #f8faf7;
  --bg-white: #ffffff;
  --text-dark: #1a1a2e;
  --text-mid: #4a4a6a;
  --text-light: #7a7a9a;
  --border: #e0e8e4;
  --shadow-sm: 0 2px 8px rgba(27,67,50,0.08);
  --shadow-md: 0 6px 24px rgba(27,67,50,0.12);
  --shadow-lg: 0 16px 48px rgba(27,67,50,0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-header p {
  color: var(--text-mid);
  font-size: 1.05rem;
  margin-top: 12px;
  line-height: 1.7;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(224,123,34,0.1);
  border: 1px solid rgba(224,123,34,0.25);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--amber);
  color: #fff;
  border-color: var(--amber);
}
.btn-primary:hover {
  background: #c96a15;
  border-color: #c96a15;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(224,123,34,0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(27, 67, 50, 0.97);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}
.logo-icon {
  font-size: 1.5rem;
  color: var(--amber-light);
}
.logo-accent { color: var(--amber-light); }

.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  /* White background logo needs slight drop-shadow on dark navbar */
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
  border-radius: 4px;
}
.logo-img-footer {
  filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover { color: #fff; }

.nav-cta {
  background: var(--amber) !important;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: #c96a15 !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0d2b1d 0%, #1b4332 40%, #2d6a4f 70%, #1a3a28 100%);
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(224,123,34,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(82,183,136,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-light);
  border: 1px solid rgba(244,162,97,0.4);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  background: rgba(244,162,97,0.1);
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
  max-width: 700px;
}

.hero h1 .highlight {
  color: var(--amber-light);
}

.hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 40px;
}

.hstat {
  display: flex;
  flex-direction: column;
}
.hstat strong {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hstat span {
  font-size: 1.5rem;
  color: var(--amber-light);
  font-weight: 800;
  line-height: 1;
}
.hstat p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-scroll-hint {
  position: absolute;
  bottom: -40px;
  right: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}

/* ---- ABOUT ---- */
.about { background: var(--bg-light); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text .section-tag { margin-bottom: 16px; }
.about-text h2 { margin-bottom: 20px; }
.about-text p {
  color: var(--text-mid);
  margin-bottom: 16px;
  line-height: 1.75;
  font-size: 1rem;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.acard {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.acard-icon {
  width: 4px;
  flex-shrink: 0;
  height: 40px;
  background: linear-gradient(to bottom, var(--amber), var(--green-light));
  border-radius: 4px;
  margin-top: 2px;
}
.acard h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-dark);
}
.acard p {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.6;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.visual-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: var(--transition);
}
.visual-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-light);
}

.vc-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.visual-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}
.visual-card p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.vc1 { border-left: 3px solid var(--amber); }
.vc2 { border-left: 3px solid var(--green-light); }
.vc3 { border-left: 3px solid var(--green-mid); }

/* ---- PRODUCTS ---- */
.products { background: var(--bg-white); }

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

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-img {
  height: 160px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.mustard-img   { background: linear-gradient(135deg, #4a3000, #8b6914, #c8971e); }
.groundnut-img { background: linear-gradient(135deg, #3d2200, #7a4a1a, #b5722e); }
.woodchips-img { background: linear-gradient(135deg, #1a3300, #2d5a1e, #4a8a32); }
.sawdustbri-img{ background: linear-gradient(135deg, #3a2800, #6b4e26, #9a7240); }
.sawdustpel-img{ background: linear-gradient(135deg, #2a1a00, #5a3c18, #8a6030); }
.paddypel-img  { background: linear-gradient(135deg, #2a3300, #4a5c1a, #6a8228); }

/* Decorative pattern overlay for product images */
.product-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.03) 0px,
    rgba(255,255,255,0.03) 1px,
    transparent 1px,
    transparent 12px
  );
}

.product-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.product-label {
  position: relative;
  z-index: 2;
  background: rgba(0,0,0,0.45);
  color: rgba(255,255,255,0.9);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

.product-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.product-body > p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 20px;
}

.product-specs {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}
.spec-label {
  color: var(--text-light);
  font-weight: 500;
}
.spec-val {
  color: var(--text-dark);
  font-weight: 600;
}

.product-cta {
  display: block;
  text-align: center;
  background: var(--green-dark);
  color: #fff;
  padding: 12px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
}
.product-cta:hover {
  background: var(--amber);
}

.product-note {
  text-align: center;
  margin-top: 40px;
  padding: 20px 32px;
  background: var(--bg-light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--text-mid);
  font-size: 0.9rem;
}
.product-note strong { color: var(--text-dark); }

/* ---- STATS ---- */
.stats-section {
  background: linear-gradient(135deg, var(--green-dark), #0d2416);
  padding: 72px 0;
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
}

.stat-item {
  text-align: center;
  color: #fff;
}

.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--amber-light);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ---- INDUSTRIES ---- */
.industries { background: var(--bg-light); }

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

.industry-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.industry-card:hover {
  border-color: var(--green-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.ind-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}
.industry-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.industry-card p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ---- PROCESS ---- */
.process { background: var(--bg-white); }

.process-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  position: relative;
}

.step {
  flex: 1;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
}
.step:hover {
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  border-color: var(--green-light);
}

.step-arrow {
  display: flex;
  align-items: center;
  padding: 0 8px;
  font-size: 1.5rem;
  color: var(--green-light);
  flex-shrink: 0;
}

.step-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
}
.step:hover .step-num {
  color: var(--amber-light);
}

.step-content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.step-content p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ---- WHY US ---- */
.whyus { background: var(--bg-light); }

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

.why-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
}
.why-card:hover {
  border-color: var(--green-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.why-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}
.why-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.why-card p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ---- CONTACT ---- */
.contact { background: var(--bg-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-light);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(82,183,136,0.15);
}
.form-group textarea { resize: vertical; }
.form-group select { cursor: pointer; }

.form-submit {
  border: none;
  font-family: 'Inter', sans-serif;
  width: 100%;
}

.form-success {
  display: none;
  text-align: center;
  padding: 48px 32px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.form-success.visible { display: block; }
.success-icon {
  width: 64px;
  height: 64px;
  background: var(--green-light);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
}
.form-success h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.form-success p {
  color: var(--text-mid);
  font-size: 0.95rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.info-block {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.info-block h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.info-item:last-child { margin-bottom: 0; }
.info-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 2px; }
.info-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  margin-bottom: 2px;
}
.info-item a {
  color: var(--green-mid);
  font-weight: 600;
  font-size: 0.95rem;
  display: block;
}
.info-item a:hover { color: var(--amber); }
.info-note {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 2px;
}
.info-item p:not(.info-label):not(.info-note) {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.region-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rtag {
  background: rgba(45,106,79,0.1);
  color: var(--green-mid);
  border: 1px solid rgba(45,106,79,0.2);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 600;
}

.quick-facts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quick-facts li {
  font-size: 0.875rem;
  color: var(--text-mid);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.quick-facts li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-size: 0.8rem;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 260px;
}
.footer-est {
  margin-top: 12px !important;
  font-size: 0.78rem !important;
  color: rgba(255,255,255,0.45) !important;
}

.footer-logo { color: #fff; }

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-col li a:hover { color: var(--amber-light); }

.footer-col p {
  font-size: 0.875rem;
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* ================================================================
   GALLERY SECTION
   ================================================================ */
.gallery { background: var(--bg-white); }

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

/* Tile sizing */
.gal-large  { grid-column: span 2; }
.gal-medium { grid-column: span 1; }

/* Layout: row 1 → large + medium + medium; row 2 → medium + medium + large */
.gallery-grid .gal-tile:nth-child(1) { grid-column: span 2; }
.gallery-grid .gal-tile:nth-child(2) { grid-column: span 1; }
.gallery-grid .gal-tile:nth-child(3) { grid-column: span 1; }
.gallery-grid .gal-tile:nth-child(4) { grid-column: span 2; }
.gallery-grid .gal-tile:nth-child(5) { grid-column: span 1; }
.gallery-grid .gal-tile:nth-child(6) { grid-column: span 1; }

.gal-tile {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  cursor: default;
  display: flex;
  flex-direction: column;
}

.gal-img {
  position: relative;
  height: 240px;
  overflow: hidden;
  flex-shrink: 0;
}
.gal-large .gal-img { height: 300px; }

/* Shimmer overlay for depth */
.gal-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 50%, rgba(0,0,0,0.12) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Biofuel briquettes — warm amber/brown, dense earthy */
.gal-briquettes .gal-img {
  background:
    radial-gradient(ellipse 60% 70% at 30% 60%, rgba(180,100,20,0.65), transparent),
    radial-gradient(ellipse 50% 50% at 75% 35%, rgba(120,60,5,0.75), transparent),
    radial-gradient(ellipse 80% 40% at 50% 90%, rgba(60,25,0,0.8), transparent),
    linear-gradient(135deg, #2a1200, #6b3a0a, #9a5820, #5a3010, #2a1200);
}
.gal-briquettes .gal-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(0,0,0,0.04) 0px, rgba(0,0,0,0.04) 2px,
    transparent 2px, transparent 18px
  );
  z-index: 1;
}

/* Wood pellets — lighter wood-grain tones */
.gal-pellets .gal-img {
  background:
    radial-gradient(ellipse 70% 50% at 40% 40%, rgba(160,95,35,0.6), transparent),
    radial-gradient(ellipse 50% 70% at 70% 70%, rgba(100,55,15,0.7), transparent),
    linear-gradient(160deg, #3a2208, #7a4818, #a06830, #6a4018);
}
.gal-pellets .gal-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 3px,
    transparent 3px, transparent 12px
  );
  z-index: 1;
}

/* Agricultural fields — golden mustard sky horizon */
.gal-fields .gal-img {
  background:
    linear-gradient(to bottom,
      #87ceeb 0%,    /* sky blue */
      #b8dff0 25%,   /* lighter sky */
      #d4c060 38%,   /* horizon */
      #e8c000 50%,   /* golden mustard */
      #c8a000 70%,   /* mid-field */
      #8a6a10 85%,   /* earth */
      #5a4008 100%   /* soil */
    );
}
.gal-fields .gal-img::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 28%; height: 72%;
  background: repeating-linear-gradient(
    90deg,
    rgba(160,120,0,0.2) 0px, rgba(160,120,0,0.2) 8px,
    transparent 8px, transparent 22px
  );
  z-index: 1;
}

/* Coal factory pollution — dark dramatic */
.gal-pollution .gal-img {
  background:
    radial-gradient(ellipse 60% 80% at 40% 10%, rgba(130,120,140,0.55), transparent),
    radial-gradient(ellipse 40% 60% at 70% 20%, rgba(100,95,115,0.5), transparent),
    radial-gradient(ellipse 80% 30% at 50% 80%, rgba(40,20,0,0.6), transparent),
    linear-gradient(to top, #0a0a0f, #1a1a28, #252535, #1a1a2a);
}
.gal-pollution .gal-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(40,40,55,0.5) 0px, rgba(40,40,55,0.5) 14px,
    rgba(20,20,30,0.5) 14px, rgba(20,20,30,0.5) 30px
  );
  z-index: 1;
}

/* Clean biofuel flame — warm orange glow in dark boiler */
.gal-flame .gal-img {
  background:
    radial-gradient(ellipse 40% 60% at 50% 85%, rgba(255,140,0,0.95), transparent 70%),
    radial-gradient(ellipse 30% 50% at 50% 70%, rgba(255,200,0,0.85), transparent 60%),
    radial-gradient(ellipse 20% 30% at 50% 55%, rgba(255,240,100,0.7), transparent),
    radial-gradient(ellipse 70% 50% at 50% 95%, rgba(180,60,0,0.6), transparent),
    linear-gradient(to top, #050200, #100800, #1a1000, #0a0500);
}
.gal-flame .gal-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 30%, rgba(20,20,30,0.8), transparent);
  z-index: 1;
}

/* Nature saved — lush forest, blue sky */
.gal-nature .gal-img {
  background:
    linear-gradient(to bottom,
      #4aa8d8 0%,    /* sky */
      #87ceeb 28%,   /* lighter sky */
      #c8e8c0 40%,   /* tree tops */
      #228822 52%,   /* forest */
      #166016 70%,   /* deep forest */
      #2d8a1a 85%,   /* ground */
      #1a5a0a 100%   /* earth */
    );
}
.gal-nature .gal-img::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 35%; height: 65%;
  background: repeating-linear-gradient(
    90deg,
    rgba(10,80,10,0.3) 0px, rgba(10,80,10,0.3) 20px,
    rgba(30,100,30,0.2) 20px, rgba(30,100,30,0.2) 50px,
    rgba(10,80,10,0.3) 50px, rgba(10,80,10,0.3) 70px
  );
  z-index: 1;
}

/* SVG icon wrapper */
.gal-icon-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.gal-icon-wrap svg {
  width: 45%;
  height: 45%;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
  opacity: 0.9;
}
.gal-large .gal-icon-wrap svg { width: 35%; height: 35%; }

/* Caption below image */
.gal-caption {
  background: var(--bg-white);
  padding: 20px 22px 24px;
  flex: 1;
  border: 1px solid var(--border);
  border-top: none;
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  transition: var(--transition);
}
.gal-tile:hover .gal-caption {
  background: var(--bg-light);
}
.gal-tile:hover .gal-img {
  transform: scale(1.02);
  transition: transform 0.4s ease;
}

.gal-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
  background: rgba(45,106,79,0.12);
  color: var(--green-mid);
  border: 1px solid rgba(45,106,79,0.2);
}
.gal-tag-danger { background: rgba(180,30,30,0.1); color: #b42020; border-color: rgba(180,30,30,0.2); }
.gal-tag-green  { background: rgba(30,120,30,0.12); color: #1a7a1a; border-color: rgba(30,120,30,0.25); }

.gal-caption h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.gal-caption p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0;
}

/* ================================================================
   IMPACT COMPARISON SECTION
   ================================================================ */
.impact { background: var(--bg-light); }

.impact-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 40px;
}

/* --- Coal side --- */
.coal-side {
  background: #0e0e1a;
  display: flex;
  flex-direction: column;
}

.coal-visual {
  height: 260px;
  position: relative;
  background:
    radial-gradient(ellipse 70% 90% at 40% 10%, rgba(110,110,130,0.6), transparent),
    radial-gradient(ellipse 50% 70% at 65% 15%, rgba(80,80,100,0.5), transparent),
    radial-gradient(ellipse 90% 30% at 50% 100%, rgba(60,30,0,0.7), transparent),
    linear-gradient(to top, #050508, #0f0f1a, #181828, #0f0f1a);
  overflow: hidden;
}

/* Animated smoke chimneys */
.smoke-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
}
.chimney {
  position: absolute;
  bottom: 0;
  background: #1e1e2a;
  border-radius: 2px 2px 0 0;
}
.ch1 { left: 20%; width: 16px; height: 55%; background: #18182a; }
.ch2 { left: 42%; width: 20px; height: 70%; background: #141420; }
.ch3 { left: 68%; width: 16px; height: 48%; background: #18182a; }

.smoke-puff {
  position: absolute;
  border-radius: 50%;
  animation: smokeDrift 4s ease-in-out infinite;
  opacity: 0;
}
.sp1 { width: 40px; height: 30px; left: 14%; top: 22%; background: rgba(100,100,120,0.55); animation-delay: 0s;   animation-duration: 3.5s; }
.sp2 { width: 55px; height: 40px; left: 30%; top: 10%; background: rgba(90,90,110,0.45);  animation-delay: 0.8s; animation-duration: 4.2s; }
.sp3 { width: 35px; height: 28px; left: 20%; top: 5%;  background: rgba(80,80,100,0.35);  animation-delay: 1.6s; animation-duration: 3.8s; }
.sp4 { width: 50px; height: 38px; left: 55%; top: 18%; background: rgba(100,100,120,0.5); animation-delay: 0.4s; animation-duration: 4s; }
.sp5 { width: 30px; height: 24px; left: 65%; top: 8%;  background: rgba(80,80,100,0.4);   animation-delay: 1.2s; animation-duration: 3.6s; }

@keyframes smokeDrift {
  0%   { opacity: 0;    transform: translateY(10px) scale(0.8); }
  20%  { opacity: 0.8; }
  80%  { opacity: 0.3; }
  100% { opacity: 0;    transform: translateY(-40px) translateX(15px) scale(1.5); }
}

.impact-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.impact-visual-label {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.bio-label { background: rgba(20,80,20,0.7); }

/* Coal content */
.coal-side .impact-content {
  padding: 28px 28px 32px;
  flex: 1;
}
.coal-side h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}

/* --- Bio side --- */
.bio-side {
  background: var(--bg-white);
  display: flex;
  flex-direction: column;
}

.bio-visual {
  height: 260px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(to bottom,
      #3a9ad4 0%, #87ceeb 28%,
      #c8e8b0 40%, #2d8a2a 55%,
      #1a6018 75%, #0e3a0a 100%
    );
}

/* CSS trees in bio visual */
.nature-sky {
  position: absolute;
  inset: 0 0 55% 0;
  background: linear-gradient(to bottom, #3a9ad4, #87ceeb);
}
.nature-sun {
  position: absolute;
  width: 36px; height: 36px;
  background: radial-gradient(circle, #ffd700, #ffb300);
  border-radius: 50%;
  top: 14px; right: 20px;
  box-shadow: 0 0 20px rgba(255,200,0,0.5);
}
.nature-ground {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 28%;
  background: linear-gradient(to bottom, #2d8a2a, #1a5a10);
}
.nature-tree {
  position: absolute;
  bottom: 26%;
}
.nature-tree::before {
  content: '';
  display: block;
  width: 0; height: 0;
  border-left: 28px solid transparent;
  border-right: 28px solid transparent;
  border-bottom: 55px solid #1e7a1e;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}
.nature-tree::after {
  content: '';
  display: block;
  width: 8px; height: 18px;
  background: #5a3010;
  margin: 0 auto;
  border-radius: 2px;
}
.nt1 { left: 10%; }
.nt1::before { border-bottom-color: #1a6a1a; }
.nt2 { left: 38%; }
.nt2::before { border-bottom-color: #228822; border-left-width: 34px; border-right-width: 34px; border-bottom-width: 64px; }
.nt3 { right: 12%; }
.nt3::before { border-bottom-color: #166016; }

.bio-side .impact-content { padding: 28px 28px 32px; flex: 1; }
.bio-side h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 20px;
}

/* Lists */
.impact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.impact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.5;
}
.impact-bad  li { color: rgba(255,255,255,0.8); }
.impact-good li { color: var(--text-mid); }

.impact-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}
.impact-dot.bad  { background: #e05555; box-shadow: 0 0 6px rgba(224,85,85,0.5); }
.impact-dot.good { background: var(--green-light); box-shadow: 0 0 6px rgba(82,183,136,0.4); }

/* VS divider */
.impact-vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, #0e0e1a, var(--green-dark));
  width: 56px;
  gap: 12px;
  padding: 20px 0;
  flex-shrink: 0;
}
.vs-badge {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--amber-light);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 6px 8px;
  letter-spacing: 0.05em;
}
.vs-arrow {
  font-size: 1.2rem;
  color: var(--green-light);
}

/* Impact stat row */
.impact-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.imp-stat {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  border-top: 3px solid var(--green-light);
  transition: var(--transition);
}
.imp-stat:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.imp-stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 6px;
}
.imp-stat-label {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.4;
}

/* ================================================================
   RESPONSIVE — GALLERY + IMPACT
   ================================================================ */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid .gal-tile:nth-child(1),
  .gallery-grid .gal-tile:nth-child(4) { grid-column: span 2; }
  .gallery-grid .gal-tile:nth-child(2),
  .gallery-grid .gal-tile:nth-child(3),
  .gallery-grid .gal-tile:nth-child(5),
  .gallery-grid .gal-tile:nth-child(6) { grid-column: span 1; }

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

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid .gal-tile { grid-column: span 1 !important; }
  .gal-img, .gal-large .gal-img { height: 200px; }

  .impact-split {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .impact-vs {
    flex-direction: row;
    width: 100%;
    height: 48px;
    padding: 0 20px;
    background: linear-gradient(to right, #0e0e1a, var(--green-dark));
    gap: 16px;
    justify-content: center;
  }
  .vs-arrow { transform: rotate(90deg); }
  .coal-visual, .bio-visual { height: 200px; }
  .impact-stat-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .impact-stat-row { grid-template-columns: 1fr 1fr; }
}

/* ---- FAQ ---- */
.faq { background: var(--bg-light); }

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item[open] {
  border-color: var(--green-light);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  gap: 16px;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }

.faq-question h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.4;
}
.faq-item[open] .faq-question h3 { color: var(--green-mid); }

.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--amber);
  flex-shrink: 0;
  transition: transform 0.3s ease;
  line-height: 1;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }

.faq-answer {
  padding: 0 24px 20px;
  border-top: 1px solid var(--border);
}
.faq-answer p {
  font-size: 0.925rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-top: 16px;
}
.faq-answer strong { color: var(--text-dark); }

/* ---- BACK TO TOP ---- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--amber);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(224,123,34,0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 500;
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: #c96a15;
  transform: translateY(-3px);
}

/* ---- ANIMATIONS ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13, 36, 22, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.25rem; }
  .hamburger { display: flex; z-index: 1000; position: relative; }

  .hero-stats { gap: 24px; }

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

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

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

  .process-steps {
    flex-direction: column;
  }
  .step-arrow {
    transform: rotate(90deg);
    justify-content: center;
    padding: 0;
    font-size: 1.2rem;
  }

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

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

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero-scroll-hint { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { text-align: center; }
  .stats-grid { justify-content: center; }
}
