/* Services Page Styles */
:root {
  --primary-color: #2e7d32;
  --primary-light: #4caf50;
  --primary-dark: #1b5e20;
  --accent-color: #ffc107;
  --text-dark: #212121;
  --text-light: #757575;
  --text-muted: #9e9e9e;
  --background-light: #ffffff;
  --background-alt: #f5f5f5;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --transition-speed: 0.3s;
  --border-radius: 8px;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --radius-md: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Page Header */
.page-header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: white;
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="white" fill-opacity="0.05" width="100" height="100"/></svg>')
    center/20px;
  opacity: 0.5;
}

.page-header h1 {
  position: relative;
  font-size: 3.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  animation: fadeInDown 0.6s ease-out;
}

/* Farming Section */
#farming.farming-modern {
  background: white;
  border-radius: 20px;
  padding: 4rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.farming-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(46, 125, 50, 0.03),
    rgba(76, 175, 80, 0.02)
  );
  z-index: -1;
}

.farming-title {
  color: var(--text-dark);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.farming-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.farming-description {
  /* color: var(--text-light); */
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 800px;
}
.farming-desc {
  /* color: var(--text-light); */
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: 800px;
}

.farming-subtitle {
  color: var(--text-dark);
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  font-weight: 600;
}

.farming-services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  padding: 0;
  list-style: none;
}

.farming-services-list li {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.farming-services-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(
    to bottom,
    var(--primary-color),
    var(--primary-light)
  );
  opacity: 0.7;
  transition: all 0.3s ease;
}

.farming-services-list li::after {
  content: "→";
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.4em;
  opacity: 0;
  position: absolute;
  right: 2rem;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.farming-services-list li:hover {
  transform: translateY(-2px);
  background: white;
  border-color: var(--primary-color);
  box-shadow: 0 10px 20px -10px rgba(46, 125, 50, 0.2);
}

.farming-services-list li:hover::before {
  width: 8px;
  opacity: 1;
}

.farming-services-list li:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.farming-terms {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
  font-style: italic;
}

/* Processing Section */
#processing {
  background: var(--background-alt);
}

#processing h2,
#starch-production h2,
#product-specs h2,
#quality-standards h2,
#terms-conditions h2 {
  color: var(--text-dark);
  font-size: 2.25rem;
  margin-bottom: 2.5rem;
  position: relative;
  text-align: center;
}

#processing h2::after,
#starch-production h2::after,
#product-specs h2::after,
#quality-standards h2::after,
#terms-conditions h2::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

#processing ul,
#product-specs ul {
  list-style: none;
  padding: 0;
  margin: 3rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

#processing li,
#product-specs li {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
  color: var(--text-dark);
}

#processing li:hover,
#product-specs li:hover {
  transform: translateY(-3px);
  background: white;
  border-color: var(--primary-color);
  box-shadow: 0 10px 20px -8px rgba(46, 125, 50, 0.15);
}

/* Starch Production Section */
.process-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 3rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.process-steps li {
  position: relative;
  padding: 2.5rem 2rem 2rem;
  background: white;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.process-steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 2rem;
  top: -1rem;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.15);
}

.process-steps li:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

/* Product Specifications & Quality Standards */
#product-specs,
#quality-standards {
  background: var(--background-light);
}

#quality-standards {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

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

.quality-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.quality-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.quality-item h3 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.quality-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* Terms & Conditions Section */
#terms-conditions {
  background: var(--background-alt);
}

.btn2 {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-speed);
}

.btn2-primary {
  background: var(--primary-color);
  color: white;
}

.btn2-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.2);
}

/* Video Placeholder */
.text-center {
  text-align: center;
}

.video-placeholder-small {
  background: var(--background-alt);
  padding: 2rem;
  border-radius: var(--border-radius);
  color: var(--text-light);
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2.5rem;
  }

  /* .section-padding {
    padding: 4rem 0;
  } */

  #farming.farming-modern {
    padding: 3rem 1rem;
  }

  .farming-title,
  #processing h2,
  #starch-production h2,
  #product-specs h2,
  #quality-standards h2,
  #terms-conditions h2 {
    font-size: 2rem;
  }

  .farming-subtitle {
    font-size: 1.5rem;
  }

  .farming-services-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .process-steps li {
    padding: 1.2rem 1.2rem 1.2rem 3.5rem;
  }

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

  .process-steps {
    grid-template-columns: 1fr;
  }

  #processing ul,
  #product-specs ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .farming-title,
  #processing h2,
  #starch-production h2,
  #product-specs h2,
  #quality-standards h2,
  #terms-conditions h2 {
    font-size: 1.8rem;
  }
}
