/* Products Page Styles - Matching Homepage UI/UX */

:root {
  --primary-color: #215f44;
  --primary-light: #2e7d5a;
  --secondary-color: #fff6ea;
  --text-dark: #333333;
  --text-light: #666666;
  --white: #FFFFFF;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --success-color: #28a745;
  --accent-color: #ffc107;
  --info-color: #17a2b8;
  --transition: all 0.3s ease;
  --shadow: 0 10px 30px rgba(33, 95, 68, 0.1);
  --shadow-hover: 0 20px 40px rgba(33, 95, 68, 0.15);
  --border-radius: 12px;
}

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

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

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

/* Products Hero Section */
.products-hero {
  background: linear-gradient(
    to bottom,
    rgba(33, 95, 68, 0.1) 0%,
    rgba(33, 95, 68, 0.08) 20%,
    rgba(33, 95, 68, 0.05) 40%,
    rgba(33, 95, 68, 0.02) 70%,
    rgba(255, 255, 255, 1) 100%
  );
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
}

/* Remove the ::before pseudo-element that was creating gradient boxes */
/* .products-hero::before - REMOVED FOR SMOOTH BACKGROUND */

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(-10px, -10px) rotate(0.5deg);
  }
  50% {
    transform: translate(10px, -20px) rotate(-0.5deg);
  }
  75% {
    transform: translate(-5px, 10px) rotate(0.25deg);
  }
}

.products-hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(33, 95, 68, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 2rem;
  border: 1px solid rgba(33, 95, 68, 0.2);
}

.badge-icon {
  font-size: 1rem;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.title-highlight {
  display: block;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.title-main {
  display: block;
  color: var(--text-dark);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  animation: fadeInUp 0.8s ease 0.6s both;
}

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

.metric-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.metric-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 0.5rem;
}

/* Product Categories Section */
.product-categories {
  padding: 6rem 0;
  background: var(--white);
}

.categories-header {
  text-align: center;
  margin-bottom: 5rem;
}

.categories-header h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.categories-header p {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.product-category {
  margin-bottom: 6rem;
  padding: 3rem 0;
}

.product-category:nth-child(even),
.product-category#fiber-nonwovens,
.product-category#sustainable-packaging {
  background: var(--gray-100);
  border-radius: var(--border-radius);
  padding: 4rem 2rem;
}

.category-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.product-category.reverse .category-content {
  grid-template-columns: 1fr 1fr;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-icon {
  font-size: 1rem;
}

.category-title {
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.category-description {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.category-features {
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--text-dark);
}

.feature-icon {
  width: 20px;
  height: 20px;
  background: var(--success-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.category-targets {
  margin-bottom: 2rem;
}

.category-targets h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.target-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.target-tag {
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--primary-color);
}

.category-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.price-label {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
}

.price-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.category-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 350px;
}

.visual-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--gray-300);
  transition: var(--transition);
}

.visual-placeholder:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.visual-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.visual-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
}

/* Carbon Credits Special Category */
.product-category#carbon-credits {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: var(--white);
  border-radius: var(--border-radius);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.product-category#carbon-credits::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255, 255, 255, 0.1)"/></svg>') repeat;
  background-size: 30px 30px;
}

.product-category#carbon-credits .category-content {
  position: relative;
  z-index: 2;
}

.product-category#carbon-credits .category-title,
.product-category#carbon-credits .category-description,
.product-category#carbon-credits .feature-item {
  color: var(--white);
}

.product-category#carbon-credits .category-badge {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.product-category#carbon-credits .target-tag {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.product-category#carbon-credits .price-value {
  color: var(--white);
}

.product-category#carbon-credits .price-label {
  color: rgba(255, 255, 255, 0.8);
}

.product-category#carbon-credits .visual-placeholder {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.product-category#carbon-credits .visual-icon {
  color: var(--white);
}

.product-category#carbon-credits .visual-text {
  color: var(--white);
}

/* Quality Assurance Section */
.quality-assurance {
  padding: 6rem 0;
  background: var(--gray-100);
}

.quality-header {
  text-align: center;
  margin-bottom: 4rem;
}

.quality-header h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.quality-header p {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.quality-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.quality-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.quality-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow);
}

.quality-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.quality-description {
  color: var(--text-light);
  line-height: 1.6;
}

/* Product Applications Section */
.product-applications {
  padding: 6rem 0;
  background: var(--white);
}

.applications-header {
  text-align: center;
  margin-bottom: 4rem;
}

.applications-header h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.applications-header p {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.application-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.application-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.application-header {
  background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
  color: var(--white);
  padding: 2rem;
  text-align: center;
}

.application-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.application-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.application-subtitle {
  font-size: 1rem;
  opacity: 0.9;
}

.application-content {
  padding: 2rem;
}

.application-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.application-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.application-list li::before {
  content: '•';
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

.application-note {
  background: var(--gray-100);
  border-left: 4px solid var(--primary-color);
  padding: 1rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
}

/* Product Benefits Section */
.product-benefits {
  padding: 6rem 0;
  background: var(--white);
  position: relative;
}

.product-benefits::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(33, 95, 68, 0.03)"/></svg>') repeat;
  background-size: 50px 50px;
  pointer-events: none;
}

.benefits-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.benefits-header h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.benefits-header p {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: fit-content;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), rgba(33, 95, 68, 0.7));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 40px rgba(33, 95, 68, 0.15),
    0 8px 25px rgba(33, 95, 68, 0.1);
  border-color: rgba(33, 95, 68, 0.15);
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.benefit-card h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.3;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.benefit-card p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1.05rem;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

/* Product Process Section */
.product-process {
  padding: 6rem 0;
  background: var(--white);
  position: relative;
}

.process-header {
  text-align: center;
  margin-bottom: 5rem;
}

.process-header h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.process-header p {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.process-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.process-step {
  flex: 1;
  min-width: 200px;
  max-width: 160px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  z-index: 2;
}

.process-step:hover .step-number {
  transform: scale(1.15);
  box-shadow: var(--shadow-hover);
}

.step-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

.process-arrow {
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: bold;
  margin: 0 0.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  transition: var(--transition);
}

.process-arrow:hover {
  transform: scale(1.2);
  color: var(--primary-light);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .products-hero {
    padding: 6rem 0 4rem;
  }
  
  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .category-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  
  .product-category.reverse .category-content {
    grid-template-columns: 1fr;
  }
  
  .target-tags {
    justify-content: center;
  }
  
  .quality-grid {
    grid-template-columns: 1fr;
  }
  
  .applications-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .process-flow {
    flex-direction: column;
    gap: 2rem;
  }
  
  .process-arrow {
    transform: rotate(90deg);
    font-size: 1.5rem;
    margin: 0;
  }
  
  .process-step {
    max-width: 100%;
  }
  
  .product-categories,
  .quality-assurance,
  .product-applications,
  .product-benefits,
  .product-process {
    padding: 4rem 0;
  }
  
  .product-category {
    margin-bottom: 4rem;
  }
  
  .product-category:nth-child(even) {
    padding: 3rem 1.5rem;
  }
  
  .product-category#carbon-credits {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .product-category:nth-child(even),
  .product-category#carbon-credits {
    padding: 2rem 1rem;
  }
  
  .quality-card,
  .application-content,
  .benefit-card {
    padding: 1.5rem;
  }
  
  .application-header {
    padding: 1.5rem;
  }
  
  .metric-number {
    font-size: 2rem;
  }
  
  .category-visual {
    height: 250px;
  }
  
  .visual-icon {
    font-size: 3rem;
  }
  
  .benefit-icon {
    font-size: 1.8rem;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .process-arrow {
    font-size: 1.2rem;
  }
}

/* Verification Standards Styling */
.category-certifications {
  margin: 2rem 0;
}

.category-certifications h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}

.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cert-badge {
  background: var(--white);
  color: var(--text-dark);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 2px 8px rgba(33, 95, 68, 0.1);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
}

.cert-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(33, 95, 68, 0.15);
  border-color: var(--primary-color);
}

/* Remove special styling for individual badges - keep them consistent */

@media (max-width: 768px) {
  .cert-badges {
    gap: 0.5rem;
  }
  
  .cert-badge {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
}