:root {
  --green-dark: #1f3d1f;
  --green: #3a6b35;
  --green-mid: #4f8a3d;
  --green-light: #eef3e7;
  --green-pale: #f4f7ef;
  --cream: #faf9f5;
  --ink: #1c2417;
  --muted: #63705f;
  --border: #e3e6dd;
}

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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 38px;
  height: 38px;
}

.logo-text {
  line-height: 1.1;
}

.logo-text .name {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.5px;
  color: var(--ink);
}

.logo-text .sub {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--muted);
  font-weight: 600;
}

nav {
  display: flex;
  gap: 34px;
  font-size: 14.5px;
  font-weight: 500;
  color: #3a3a3a;
}

nav a.active {
  color: var(--green);
  font-weight: 700;
  border-bottom: 2px solid var(--green);
  padding-bottom: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid #dcdfd6;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--ink);
  cursor: pointer;
  border-radius: 8px;
}

.nav-toggle .bi-x-lg {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  padding: 0;
  align-items: stretch;
  background: linear-gradient(180deg, #fff 0%, var(--green-pale) 100%);
  overflow: hidden;
}

.hero-content {
  padding: 60px 40px 60px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-light);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  align-self: flex-start;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.08;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 18px;
}

.hero h1 span {
  color: var(--green);
}

.hero p {
  color: var(--muted);
  font-size: 15.5px;
  max-width: 680px;
  margin-bottom: 26px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
}

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

.photo-stack {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 340px;
  margin: 0 auto;
  perspective: 1000px;
}

.photo-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: 0 10px 30px rgba(31, 61, 31, 0.08);
  background: #fff;
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

/* Card positions inside the stack */
.photo-card.position-1 {
  z-index: 3;
  transform: rotate(-2deg) translate(-10px, 0);
  box-shadow: 0 15px 35px rgba(31, 61, 31, 0.12);
}

.photo-card.position-2 {
  z-index: 2;
  transform: rotate(5deg) translate(15px, -8px);
}

.photo-card.position-3 {
  z-index: 1;
  transform: rotate(-7deg) translate(5px, 15px);
}

/* Fan out effect on stack hover */
.photo-stack:hover .photo-card.position-1 {
  transform: rotate(-4deg) translate(-25px, -5px);
}

.photo-stack:hover .photo-card.position-2 {
  transform: rotate(9deg) translate(35px, -15px);
}

.photo-stack:hover .photo-card.position-3 {
  transform: rotate(-11deg) translate(5px, 28px);
}

.glass-badge {
  position: absolute;
  padding: 8px 14px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  z-index: 10;
  transition: transform 0.3s;
}

.glass-badge i {
  font-size: 14px;
}

.badge-top {
  top: 15px;
  left: 15px;
}

.badge-bottom {
  bottom: 15px;
  right: 15px;
}

.photo-stack:hover .glass-badge {
  transform: scale(1.03);
}

/* Stats bar */
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 36px 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  position: relative;
}

.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 10%;
  height: 80%;
  width: 1px;
  background-color: var(--border);
}

.stat-sub {
  font-size: 12px;
  color: var(--muted);
  display: block;
  line-height: 1.2;
}

.stat-sub-bold {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  display: block;
  line-height: 1.2;
}

.stat .icon {
  width: 32px;
  height: 32px;
  font-size: 26px;
  color: var(--green);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat .num {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}

.stat .label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.4;
}

/* Section heading */
.section {
  padding: 70px 40px;
}

.section-head {
  text-align: center;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
}

.section-head p {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 8px;
}

.section-head-left {
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
}

.section-head-left h2 {
  font-size: 26px;
  font-weight: 800;
}

.section-head-left p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}

.link-arrow {
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

/* Why choose */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.why-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s, box-shadow 0.3s;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.why-card .circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--green);
  font-size: 26px;
  transition: transform 0.3s;
}

.why-card:hover .circle {
  transform: scale(1.05);
}

.why-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}

.why-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* Products */
.products-section {
  background: var(--cream);
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.prod-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prod-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.prod-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  background: #f2f2f2;
  transition: transform 0.4s ease;
}

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

.prod-card .label {
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

/* Materials & finishing */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0 40px 70px;
}

.one-col-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 40px 60px;
}

.one-col-stack .mat-item img {
  height: 140px;
}

.one-col-stack .fin-item img {
  height: 160px;
}

@media (max-width: 768px) {
  .one-col-stack .mat-item img,
  .one-col-stack .fin-item img {
    height: 90px;
  }
}

.panel {
  background: var(--green-pale);
  border-radius: 16px;
  padding: 30px;
}

.panel h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.panel>p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.mat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.mat-item {
  transition: transform 0.3s ease;
}

.mat-item:hover {
  transform: translateY(-4px);
}

.mat-item img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.mat-item:hover img {
  transform: scale(1.04);
}

.mat-item .name {
  font-size: 11.5px;
  font-weight: 700;
}

.mat-item .sub {
  font-size: 10px;
  color: var(--muted);
}

.fin-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.fin-item {
  transition: transform 0.3s ease;
}

.fin-item:hover {
  transform: translateY(-4px);
}

.fin-item img {
  width: 100%;
  height: 74px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 6px;
  transition: transform 0.3s ease;
}

.fin-item:hover img {
  transform: scale(1.04);
}

.fin-item .name {
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

/* How it works */
.steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin-top: 10px;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 6px;
  width: 120px;
  flex-shrink: 0;
}

.step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  position: relative;
  box-shadow: 0 4px 10px rgba(58, 107, 53, 0.15);
  transition: transform 0.3s;
}

.step:hover .step-circle {
  transform: scale(1.08);
}

.step-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--green);
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.step-line-dot {
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--green) 0, var(--green) 4px, transparent 4px, transparent 8px);
  margin-top: 30px;
  position: relative;
  min-width: 20px;
}

.step-line-dot::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.step h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink);
}

.step p {
  font-size: 11.5px;
  color: var(--muted);
}

/* Flow Process Section */
.process-flow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
  margin: 40px auto 0;
  position: relative;
}

.process-step-row {
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
  transition: transform 0.4s ease;
}

.process-step-row.left-align {
  flex-direction: row;
}

.process-step-row.right-align {
  flex-direction: row-reverse;
}

.process-step-text {
  flex: 1.1;
  background-color: var(--green-pale);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
}

.process-step-row:hover .process-step-text {
  transform: translateY(-5px);
  border-color: var(--green);
  box-shadow: 0 15px 35px rgba(31, 61, 31, 0.08);
}

.step-num {
  position: absolute;
  top: -15px;
  right: -5px;
  font-size: 80px;
  font-weight: 900;
  color: var(--green-light);
  opacity: 0.5;
  z-index: 1;
  font-family: 'Outfit', sans-serif;
  user-select: none;
}

.step-label {
  display: inline-block;
  background-color: #304818; /* Dark Green box from user design */
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 6px;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.process-step-text p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  position: relative;
  z-index: 2;
}

.process-step-image {
  flex: 0.9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  background: #fff;
  border: 1px solid var(--border);
}

.process-step-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.process-step-row:hover .process-step-image {
  transform: scale(1.03);
  border-color: var(--green);
  box-shadow: 0 12px 30px rgba(31, 61, 31, 0.08);
}

.process-step-row:hover .process-step-image img {
  transform: scale(1.02);
}

/* Glowing Flowing Arrows */
.process-arrow-divider {
  width: 160px;
  height: 80px;
  margin: 15px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.75;
}

.process-arrow-divider.right-curve {
  align-self: flex-start;
  margin-left: 25%;
}

.process-arrow-divider.left-curve {
  align-self: flex-end;
  margin-right: 25%;
}

.process-arrow-divider svg {
  width: 100%;
  height: 100%;
}

/* Dash flow animation */
@keyframes arrowFlow {
  to {
    stroke-dashoffset: -20;
  }
}

.process-arrow-divider svg path {
  animation: arrowFlow 1.2s infinite linear;
}

/* Responsive Process Flow */
@media (max-width: 850px) {
  .process-step-row {
    flex-direction: column !important;
    gap: 20px;
    align-items: stretch;
  }

  .process-step-image {
    order: -1; /* image on top on mobile */
  }

  .process-arrow-divider {
    width: 2px;
    height: 50px;
    background: repeating-linear-gradient(to bottom, var(--green) 0, var(--green) 4px, transparent 4px, transparent 8px);
    align-self: center !important;
    margin: 15px auto !important;
  }

  .process-arrow-divider svg {
    display: none;
  }
}

/* Customers */
.customers-section {
  padding: 40px 40px 50px;
}

.customers-box {
  background: var(--green-pale);
  border-radius: 16px;
  padding: 44px;
  text-align: center;
}

.why-choose-section {
  background: var(--cream);
}

.why-choose-section .why-card {
  background: #fff;
}

.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 25px 0;
}

/* Faded edges gradients */
.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, var(--green-pale), transparent);
}
.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, var(--green-pale), transparent);
}

.marquee-track {
  display: flex;
  gap: 80px;
  width: max-content;
  animation: marquee 30s linear infinite;
  align-items: center;
}

.marquee-track span {
  font-size: 22px;
  font-weight: 800;
  color: #5a6557;
  letter-spacing: 0.5px;
  opacity: 0.55;
  white-space: nowrap;
  display: inline-block;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* CTA */
.cta {
  margin: 0 40px 60px;
  background: linear-gradient(120deg, var(--green-dark), var(--green));
  border-radius: 18px;
  padding: 38px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.cta-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-left img {
  width: 44px;
  height: 44px;
}

.cta-left .brand {
  font-weight: 800;
  font-size: 16px;
  line-height: 1.1;
}

.cta-left .brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  font-weight: 600;
  opacity: 0.8;
}

.cta-mid h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
}

.cta-mid p {
  font-size: 13px;
  opacity: 0.9;
}

.cta .btn-primary {
  background: #fff;
  color: var(--green-dark);
}

/* Footer */
footer {
  background: var(--green-dark);
  color: #dfe6da;
  padding: 50px 40px 24px;
  border-radius: 55px 55px 0 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 34px;
}

.footer-logo {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.footer-logo img {
  height: 150px;
  opacity: 0.8;
  transition: opacity 0.3s, transform 0.3s;
}

.footer-logo img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.footer-socials a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #dfe6da;
  margin-bottom: 0 !important;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-3px);
}

.footer-socials a i {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.footer-menu-grid .menu-col {
  display: flex;
  flex-direction: column;
}

.footer-menu-grid .menu-col a {
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-menu-grid .menu-col a:hover {
  color: #fff;
}

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

.footer-contact-item {
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: #b9c4b2;
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 0 !important;
  transition: color 0.2s;
}

.footer-contact-item:hover {
  color: #fff;
}

.footer-contact-item i {
  flex-shrink: 0;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.footer-grid h5 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 14px;
  font-weight: 700;
}

.footer-grid p,
.footer-grid a {
  font-size: 13px;
  color: #b9c4b2;
  display: block;
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  font-size: 12px;
  color: #93a08c;
}

@media (max-width: 1000px) {
  header {
    flex-wrap: wrap;
    padding: 14px 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .header-right .btn {
    display: none;
  }

  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    order: 4;
    padding-top: 12px;
  }

  #nav-toggle:checked ~ nav {
    display: flex;
  }

  #nav-toggle:checked ~ .header-right .nav-toggle .bi-list {
    display: none;
  }

  #nav-toggle:checked ~ .header-right .nav-toggle .bi-x-lg {
    display: inline;
  }

  nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  nav a.active {
    border-bottom-color: var(--green);
  }

  .hero {
    grid-template-columns: 1fr;
  }
  .hero-content {
    padding: 40px 20px;
  }

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

  .stat::after {
    display: none;
  }

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

  .prod-grid,
  .mat-grid,
  .fin-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .cust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .footer-logo {
    justify-content: center;
    margin-top: 10px;
  }

  .cta {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .steps {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .step-line-dot {
    display: none;
  }
}

/* --- Combined Background Decorative Animations (Option 1 & 2) --- */

/* Wave Lines (Option 2) */
.wave-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.wave-lines svg {
  width: 100%;
  height: 100%;
}

.wave-path {
  stroke-linecap: round;
}

.path-1 {
  stroke-dasharray: 8 12;
  animation: waveFlow 45s infinite linear;
}

.path-2 {
  stroke-dasharray: 6 10;
  animation: waveFlowReverse 55s infinite linear;
}

@keyframes waveFlow {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1000; }
}

@keyframes waveFlowReverse {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 1000; }
}

/* Floating Leaves (Option 1) */
.floating-leaves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.leaf-item {
  position: absolute;
  font-size: 24px;
  opacity: 0.7;
  user-select: none;
  filter: drop-shadow(0 5px 5px rgba(0,0,0,0.03));
}

.leaf-1 {
  top: 15%;
  left: 45%;
  font-size: 26px;
  animation: floatSway1 9s infinite ease-in-out;
  filter: blur(0.5px);
  opacity: 0.6;
}

.leaf-2 {
  top: 45%;
  left: 49%;
  font-size: 32px;
  animation: floatSway2 12s infinite ease-in-out;
  filter: blur(2px);
  opacity: 0.45;
}

.leaf-3 {
  top: 70%;
  left: 43%;
  font-size: 20px;
  animation: floatSway3 7.5s infinite ease-in-out;
  filter: blur(0px);
  opacity: 0.7;
}

.leaf-4 {
  top: 32%;
  left: 54%;
  font-size: 28px;
  animation: floatSway4 14s infinite ease-in-out;
  filter: blur(3px);
  opacity: 0.35;
}

@keyframes floatSway1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(25px, -30px) rotate(35deg); }
}

@keyframes floatSway2 {
  0%, 100% { transform: translate(0, 0) rotate(10deg); }
  50% { transform: translate(-30px, -45px) rotate(-40deg); }
}

@keyframes floatSway3 {
  0%, 100% { transform: translate(0, 0) rotate(-15deg); }
  50% { transform: translate(20px, 25px) rotate(15deg); }
}

@keyframes floatSway4 {
  0%, 100% { transform: translate(0, 0) rotate(5deg); }
  50% { transform: translate(-20px, 35px) rotate(-25deg); }
}

/* Dedicated Subpages Styling (produk.html & material.html) */
.section-hero-small {
  padding: 80px 40px;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-hero-small h1 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.section-hero-small p {
  font-size: 16px;
  max-width: 650px;
  margin: 0 auto;
  opacity: 0.9;
  line-height: 1.5;
}

.prod-grid-page,
.mat-grid-page {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 10px 0;
}

@media (max-width: 991px) {
  .prod-grid-page,
  .mat-grid-page {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .prod-grid-page,
  .mat-grid-page {
    grid-template-columns: 1fr;
  }
}

/* 3D Card Hover styles for products and materials subpages */
.prod-grid-page {
  perspective: 1000px;
}

.prod-card-3d {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.5s;
  transform-style: preserve-3d;
}

.prod-card-3d:hover {
  transform: rotateX(6deg) rotateY(-6deg) translateY(-8px);
  box-shadow: 0 15px 35px rgba(31, 61, 31, 0.15);
}

.prod-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.prod-card-3d img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.prod-info-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 46px); /* height excluding label */
  background: rgba(28, 36, 23, 0.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 22px;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.prod-card-3d:hover .prod-info-overlay {
  opacity: 1;
  transform: translateY(0);
}

.prod-info-overlay h4 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--green-light);
}

.prod-info-overlay p {
  font-size: 12.5px;
  line-height: 1.45;
  margin-bottom: 14px;
  opacity: 0.9;
}

/* Materials Page specific 3D Styling */
.mat-grid-page {
  perspective: 1000px;
}

.mat-item-3d {
  position: relative;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  padding: 12px;
  border: 1px solid var(--border);
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.5s;
  transform-style: preserve-3d;
}

.mat-item-3d:hover {
  transform: rotateX(8deg) rotateY(8deg) translateY(-5px);
  box-shadow: 0 10px 25px rgba(31, 61, 31, 0.12);
}

.mat-item-inner {
  position: relative;
}

.mat-item-3d img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

.mat-info-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 160px; /* matches mat-item-3d img height */
  background: rgba(28, 36, 23, 0.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 10px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px;
  text-align: center;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mat-item-3d:hover .mat-info-overlay {
  opacity: 1;
  transform: scale(1);
}

.mat-info-overlay h5 {
  font-size: 16px;
  font-weight: 800;
  color: var(--green-light);
  margin-bottom: 6px;
}

.mat-info-overlay p {
  font-size: 12px;
  line-height: 1.45;
}

.mat-item-3d .name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.mat-item-3d .sub {
  font-size: 11px;
  color: var(--muted);
}

/* About Us Page Layout & Timeline */
.about-main-section, .vision-mission-section {
  position: relative;
  overflow: hidden;
}
.about-top-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-bottom: 50px;
}

.about-main-heading {
  font-size: 40px;
  font-weight: 800;
  color: var(--green-dark);
  text-align: center;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.about-main-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 15%;
  width: 70%;
  height: 4px;
  background-color: var(--green-dark);
  border-radius: 2px;
}

.about-illustration-container {
  max-width: 600px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.about-illustration {
  width: 100%;
  height: auto;
  display: block;
}

/* Timeline Bubbles */
.about-timeline-container {
  position: relative;
  max-width: 800px;
  margin: 60px auto 100px;
  padding: 0 20px;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 120px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--green) 0, var(--green) 6px, transparent 6px, transparent 12px);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-row {
  display: flex;
  width: 100%;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.timeline-row.left-align {
  justify-content: flex-start;
}

.timeline-row.right-align {
  justify-content: flex-end;
}

.timeline-bubble {
  width: 45%;
  padding: 24px;
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.5;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.timeline-bubble:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(31, 61, 31, 0.15);
}

/* Colors from user design image */
.bubble-light {
  background-color: #8cd063; /* Light Green */
  border: 1px solid #7cb953;
}

.bubble-dark {
  background-color: #304818; /* Dark Green */
  border: 1px solid #253912;
}

/* Chat bubble tails */
.left-align .timeline-bubble .bubble-tail {
  position: absolute;
  top: 30px;
  left: 100%;
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent transparent #8cd063;
}

.right-align .timeline-bubble .bubble-tail {
  position: absolute;
  top: 30px;
  right: 100%;
  border-width: 10px;
  border-style: solid;
  border-color: transparent #304818 transparent transparent;
}

/* Decorative Wavy Connector Path (Simulated in pure CSS below bubbles) */
.timeline-row::after {
  content: "~~~";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: var(--green);
  font-family: cursive;
  font-size: 20px;
  opacity: 0.3;
  pointer-events: none;
}
.timeline-row.left-align::after {
  bottom: -30px;
}
.timeline-row.right-align::after {
  bottom: -30px;
}

/* Hanging Sign */
.timeline-hanging-sign-container {
  display: flex;
  justify-content: center;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

.hanging-sign {
  position: relative;
  width: 50%;
  padding-top: 30px; /* Space for ropes */
}

.sign-rope {
  position: absolute;
  top: 0;
  width: 1.5px;
  height: 30px;
  background-color: #333;
}

.rope-left {
  left: 15%;
}

.rope-right {
  right: 15%;
}

.sign-rope::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -2px;
  width: 5.5px;
  height: 5.5px;
  background-color: #333;
  border-radius: 50%;
}

.sign-body {
  background-color: #6a8c5f; /* Medium Olive Green */
  border: 1px solid #5a7b4f;
  color: #fff;
  border-radius: 8px;
  padding: 20px 24px;
  text-align: center;
  font-weight: 700;
  font-size: 15.5px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.sign-body:hover {
  transform: translateY(3px) rotate(1deg); /* hanging swinging effect */
}

/* Responsive Timeline */
@media (max-width: 768px) {
  .timeline-line {
    left: 20px;
  }
  
  .timeline-row {
    justify-content: flex-start !important;
    padding-left: 45px;
  }
  
  .timeline-bubble {
    width: 100%;
  }

  .left-align .timeline-bubble .bubble-tail,
  .right-align .timeline-bubble .bubble-tail {
    left: auto;
    right: 100%;
    top: 20px;
    border-color: transparent var(--green) transparent transparent;
  }
  
  .left-align .timeline-bubble .bubble-tail {
    border-color: transparent #8cd063 transparent transparent;
  }

  .right-align .timeline-bubble .bubble-tail {
    border-color: transparent #304818 transparent transparent;
  }
  
  .hanging-sign {
    width: 100%;
  }
  
  .rope-left {
    left: 10%;
  }
  .rope-right {
    right: 10%;
  }
}

/* Vision & Mission Styling */
.vision-mission-section {
  background: var(--cream);
  padding: 80px 40px;
}

.vision-mission-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 850px) {
  .vision-mission-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.vm-block {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vm-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(31, 61, 31, 0.08);
}

.vm-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.vm-icon {
  font-size: 28px;
  color: var(--green);
  display: flex;
  align-items: center;
}

.vm-header h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
}

.vm-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.mission-list {
  padding-left: 20px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.mission-list li {
  margin-bottom: 12px;
}

/* 2x2 Flow Process Grid Layout */
.process-page-section {
  padding: 60px 40px;
  background: #fff;
}

.process-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 80px;
  position: relative;
  max-width: 1000px;
  margin: 40px auto;
}

.process-card {
  background-color: var(--green-pale);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: var(--green);
  box-shadow: 0 15px 35px rgba(31, 61, 31, 0.1);
}

.process-card-content {
  position: relative;
  z-index: 2;
}

.process-card .step-num {
  position: absolute;
  top: -15px;
  right: -5px;
  font-size: 70px;
  font-weight: 900;
  color: var(--green-light);
  opacity: 0.5;
  z-index: 1;
  font-family: 'Outfit', sans-serif;
  user-select: none;
}

.process-card .step-label {
  display: inline-block;
  background-color: #304818;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.8px;
  padding: 5px 14px;
  border-radius: 6px;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.process-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 16px;
}

.process-card-image {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  height: 200px;
}

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

.process-card:hover .process-card-image img {
  transform: scale(1.03);
}

/* Connectors positioning */
.grid-connector {
  position: absolute;
  z-index: 10;
  pointer-events: none;
  opacity: 0.85;
}

/* Arrow 1 -> 2 (horizontal) */
.conn-1-2 {
  top: 18%;
  left: calc(50% - 40px);
  width: 80px;
  height: 20px;
}

/* Arrow 2 -> 3 (curved line down-left) */
.conn-2-3 {
  top: calc(50% - 60px);
  left: calc(50% - 100px);
  width: 200px;
  height: 120px;
}

/* Arrow 3 -> 4 (horizontal) */
.conn-3-4 {
  bottom: 18%;
  left: calc(50% - 40px);
  width: 80px;
  height: 20px;
}

/* Dash animation for connectors */
.grid-connector svg path {
  animation: arrowFlow 1.2s infinite linear;
  stroke-linecap: butt !important;
}

/* Responsive Grid Flow */
@media (max-width: 900px) {
  .process-grid-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .grid-connector {
    display: none; /* Hide complex connectors on mobile */
  }

  .process-card {
    align-items: stretch;
  }
}

/* 2x2 Flow Process Active & Decoration Enhancements */
.process-page-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.process-bg-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.proc-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  mix-blend-mode: multiply;
  animation: floatBlob 25s infinite alternate ease-in-out;
}

.blob-1 {
  width: 350px;
  height: 350px;
  background-color: var(--green-light);
  top: 10%;
  left: -5%;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background-color: var(--green);
  bottom: 10%;
  right: -5%;
  animation-delay: -5s;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background-color: #f59e0b; /* warm orange accent blob */
  top: 45%;
  left: 40%;
  animation-delay: -10s;
}

@keyframes floatBlob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -60px) scale(1.1); }
  100% { transform: translate(-30px, 40px) scale(0.9); }
}

/* Active Class Highlight Card */
.process-card.active {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--green);
  background-color: rgba(240, 247, 244, 0.95);
  box-shadow: 0 20px 40px rgba(46, 117, 89, 0.15);
}

.process-card.active .process-card-image img {
  transform: scale(1.04);
}

.process-card.active .step-label {
  background-color: var(--green);
  box-shadow: 0 4px 10px rgba(46, 117, 89, 0.2);
}

/* Active Flow Glowing Connector Path */
.grid-connector.active-flow svg path.arrow-line {
  stroke: #f59e0b; /* Neon glowing orange */
  stroke-width: 5px;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.8));
  animation: arrowFlow 0.8s infinite linear;
}

.grid-connector.active-flow svg polygon.arrow-head {
  fill: #f59e0b;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.8));
}

/* Side Wavy Lines for framing gutters */
.side-wave-lines {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 0;
  pointer-events: none;
}

.left-waves {
  left: 20px;
}

.right-waves {
  right: 20px;
}

.side-wave-lines svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 1200px) {
  .side-wave-lines {
    display: none; /* Hide on smaller viewports to prevent layout overlap */
  }
}

/* 3D Flip Card Styles for Finishing Page */
.finishing-page-section {
  position: relative;
  overflow: hidden;
  padding: 90px 20px 130px;
  background: var(--cream);
}

.fin-grid-page {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  padding: 10px 0;
  perspective: 1000px;
  position: relative;
  z-index: 2;
}

@media (max-width: 1100px) {
  .fin-grid-page {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 850px) {
  .fin-grid-page {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 550px) {
  .fin-grid-page {
    grid-template-columns: 1fr;
  }
}

.fin-card-flip {
  position: relative;
  height: 300px; /* stable height for 3D flip */
  perspective: 1000px;
  background: transparent;
  border: none;
}

.fin-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border-radius: 12px;
}

.fin-card-flip:hover .fin-card-inner {
  transform: rotateY(180deg);
}

.fin-card-front, .fin-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.fin-card-front {
  background-color: #fff;
}

.fin-card-front img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.fin-card-front .label {
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  margin-top: auto;
  color: var(--ink);
}

.fin-card-back {
  background-color: rgba(28, 36, 23, 0.98);
  backdrop-filter: blur(4px);
  color: white;
  transform: rotateY(180deg);
  padding: 20px;
  justify-content: center;
  align-items: center;
}

.fin-card-back h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--green-light);
  margin-bottom: 10px;
}

.fin-card-back p {
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.95;
  margin: 0;
  text-align: center;
}/* Material Explorer Styling stylesheet */

.mat-explorer-section {
  padding: 80px 20px;
  background: var(--cream);
  position: relative;
}

.explorer-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.section-title-explorer {
  font-size: 32px;
  font-weight: 800;
  color: var(--green-dark);
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.section-title-explorer.font-light {
  color: #fff;
}

.section-subtitle-explorer {
  font-size: 15px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle-explorer.font-light {
  color: rgba(255, 255, 255, 0.85);
}

.mat-grid-explorer {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.mat-card-explorer {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.02);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}

.mat-card-explorer:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(31, 61, 31, 0.08);
}

.mat-card-media {
  width: 100%;
  display: flex;
  justify-content: center;
}

.mat-image-wrapper {
  background: var(--green-pale);
  border-radius: 16px;
  padding: 0;
  width: 100%;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.02);
}

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

.mat-card-explorer:hover .mat-image-wrapper img {
  transform: scale(1.06) rotate(2deg);
}

.mat-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.mat-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mat-badge {
  font-size: 10px;
  background: var(--green-light);
  color: var(--green-dark);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.mat-badge.eco {
  background: #d1fae5;
  color: #065f46;
}

/* Spec sheet table */
.spec-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec-item {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
  font-size: 13px;
  align-items: flex-start;
}

.spec-label {
  flex: 0.7;
  font-weight: 700;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 6px;
}

.spec-value {
  flex: 1.3;
  color: var(--muted);
}

/* Corrugated Section with Light Background */
.corr-explorer-section {
  padding: 80px 20px;
  background: var(--cream);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.corr-explorer-section .section-title-explorer {
  color: var(--green-dark);
}

.corr-explorer-section .section-subtitle-explorer {
  color: var(--muted);
}

.corr-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.corr-tabs {
  background: rgba(46, 117, 89, 0.05);
  padding: 6px;
  border-radius: 30px;
  border: 1px solid var(--border);
  display: flex;
  gap: 4px;
}

.corr-tab-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 24px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.corr-tab-btn:hover {
  color: var(--green);
}

.corr-tab-btn.active {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 15px rgba(46, 117, 89, 0.2);
}

.corr-tab-content {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.5s ease;
}

.corr-tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Board Style Explorer */
.corr-board-explorer {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.02);
}

.board-selector-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.board-option {
  background: var(--green-pale);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--ink);
}

.board-option:hover {
  background: rgba(46, 117, 89, 0.08);
  transform: translateX(5px);
}

.board-option.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 4px 15px rgba(46, 117, 89, 0.15);
}

.board-title {
  font-weight: 800;
  font-size: 15.5px;
  margin-bottom: 4px;
}

.board-desc-preview {
  font-size: 12px;
  color: var(--muted);
}

.board-option.active .board-desc-preview {
  color: rgba(255, 255, 255, 0.85);
}

.board-detail-display {
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Cardboard ply structural builder graphic */
.ply-graphic {
  background: #faf7f2;
  border-radius: 12px;
  padding: 24px;
  border: 1.5px dashed #e4dfd5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.ply-layer {
  width: 100%;
}

.ply-layer.liner {
  height: 6px;
  background-color: #ba8c53;
  border-radius: 2px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.2);
}

.ply-layer.flute-waves {
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M0,20 Q5,0 10,20 Q15,0 20,20' stroke='%23d0a670' stroke-width='3.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  margin: 1px 0;
}

.board-specs-box h4 {
  font-size: 19px;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 14px;
}

.specs-grid-corr {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.specs-corr-row {
  display: flex;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.specs-corr-row strong {
  color: var(--ink);
  font-weight: 700;
  flex: 0 0 110px;
  margin-right: 10px;
}

/* Flute chart spec table */
.flute-comparison-layout {
  background: #fff;
  color: var(--ink);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border);
}

.flute-comparison-layout h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 24px;
  text-align: center;
}

.flute-spec-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.3fr 2.5fr;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.flute-spec-header {
  font-weight: 800;
  color: var(--ink);
  font-size: 14px;
  border-bottom: 2px solid var(--green);
  padding-bottom: 10px;
}

.flute-row-data {
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.flute-row-data strong {
  color: var(--green-dark);
  font-weight: 700;
}

/* Materials Color tab styling */
.corr-materials-color-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.color-card {
  background: #fff;
  color: var(--ink);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.color-card:hover {
  transform: translateY(-6px);
}

.color-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 2px solid var(--border);
  box-shadow: 0 5px 15px rgba(0,0,0,0.06);
}

.color-circle.brown-kraft {
  background-color: #ba8c53;
}

.color-circle.white-kraft {
  background-color: #f7f5f2;
}

.color-card h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.color-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .mat-grid-explorer {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 850px) {
  .mat-grid-explorer {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 550px) {
  .mat-grid-explorer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  
  .corr-board-explorer {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .flute-spec-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .flute-spec-header {
    display: none;
  }

  .flute-row-data {
    border-bottom: 1px dashed var(--border);
    padding: 6px 0;
  }

  .corr-materials-color-grid {
    grid-template-columns: 1fr;
  }
}
/* Products Page Stylesheet */

.products-page-section {
  padding: 60px 20px 80px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.products-container {
  max-width: 90%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Category Filter Tabs */
.filter-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  padding: 12px 24px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.filter-btn:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 5px 15px rgba(46, 117, 89, 0.2);
}

/* Product Grid Layout */
.prod-grid-page {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 50px;
}

@media (max-width: 1400px) {
  .prod-grid-page {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

@media (max-width: 991px) {
  .prod-grid-page {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .prod-grid-page {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .prod-grid-page {
    grid-template-columns: 1fr;
  }
}

/* Product Card styling */
.prod-card-3d {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  opacity: 1;
  transform: scale(1);
}

.prod-card-3d.hidden {
  display: none;
  opacity: 0;
  transform: scale(0.8);
}

.prod-card-3d:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(31, 61, 31, 0.08);
}

/* Image wrapper */
.prod-img-wrapper {
  width: 100%;
  height: 220px;
  background: var(--green-pale);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.prod-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.prod-card-3d:hover .prod-img-wrapper img {
  transform: scale(1.08);
}

/* Category Badge */
.prod-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(46, 117, 89, 0.1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Product Info */
.prod-info-block {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left;
}

.prod-info-block h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.prod-info-block p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.prod-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.prod-price-info {
  display: flex;
  flex-direction: column;
}

.prod-price-lbl {
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.prod-price-val {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--green-dark);
}

.btn-detail {
  background: var(--green-light);
  color: var(--green-dark);
  border: none;
  font-weight: 700;
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.prod-card-3d:hover .btn-detail {
  background: var(--green);
  color: #fff;
}

/* Product Detail Modal overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 25, 15, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #fff;
  border-radius: 24px;
  width: 100%;
  max-width: 800px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  position: relative;
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

/* Modal Close Button */
.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  color: var(--ink);
}

.modal-close-btn:hover {
  background: var(--green);
  color: #fff;
  transform: rotate(90deg);
}

/* Modal Image Side */
.modal-img-side {
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.modal-img-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Modal Info Side */
.modal-info-side {
  padding: 40px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  max-height: 85vh;
}

.modal-category {
  font-size: 10px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.modal-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  margin-top: -8px;
}

.modal-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* Specs sheet inside modal */
.modal-specs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--green-pale);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(46, 117, 89, 0.05);
}

.modal-spec-row {
  display: flex;
  font-size: 13px;
  border-bottom: 1px solid rgba(46, 117, 89, 0.08);
  padding-bottom: 8px;
}

.modal-spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.modal-spec-lbl {
  flex: 0.8;
  font-weight: 700;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-spec-val {
  flex: 1.2;
  color: var(--muted);
}

/* Action button in modal */
.modal-action-btn {
  background: var(--green);
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(46, 117, 89, 0.2);
}

.modal-action-btn:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 117, 89, 0.3);
}

/* Responsive modal */
@media (max-width: 768px) {
  .modal-card {
    grid-template-columns: 1fr;
  }

  .modal-img-side {
    height: 250px;
  }

  .modal-info-side {
    padding: 24px;
  }
}

/* Contact Page Styles */
.contact-page-section {
  padding: 85px 20px 120px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

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

.contact-info-side {
  text-align: left;
}

.contact-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.contact-subtitle {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 40px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.method-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.method-icon {
  background: var(--green-light);
  color: var(--green-dark);
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.method-details h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.method-details a, .method-details span {
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
  transition: color 0.3s ease;
}

.method-details a:hover {
  color: var(--green-dark);
}

.method-details p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.map-wrapper {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 8px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

/* Form Styling */
.contact-form-side {
  background: #fff;
  border-radius: 28px;
  padding: 45px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(31, 61, 31, 0.04);
}

.form-header {
  text-align: left;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}

.form-header h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.form-header p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.quotation-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.form-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.3px;
}

.form-group input, .form-group select, .form-group textarea {
  background: var(--green-pale);
  border: 1px solid transparent;
  padding: 12px 16px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--ink);
  transition: all 0.3s ease;
  width: 100%;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(58, 107, 53, 0.1);
}

.form-group textarea {
  resize: vertical;
}

.form-submit-btn {
  background: var(--green);
  color: #fff;
  border: none;
  font-size: 14.5px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(58, 107, 53, 0.2);
  margin-top: 10px;
}

.form-submit-btn:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 61, 31, 0.3);
}

/* Responsive Contact Page */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-form-side {
    padding: 30px;
  }
}

@media (max-width: 600px) {
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
