/* Seeds Service Section Styles */
.seeds-service-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
  font-family: "Encode Sans", Helvetica, Arial, sans-serif;
  color: #333;
}

.seeds-container {
  background-color: #f9f9f9;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
}

/* Introduction section */
.seeds-intro {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.seeds-main-title {
  font-family: "Barlow", Helvetica, Arial, sans-serif;
  font-size: 2.5em;
  font-weight: 700;
  color: #00d084;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.seeds-main-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #00d084;
  border-radius: 2px;
}

.seeds-intro-text {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.1em;
}

.seeds-section-title {
  text-align: center;
  font-size: 1.8em;
  margin-bottom: 30px;
  color: #555;
}

/* Cards container */
.seeds-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 30px 0 50px;
}

/* Individual cards */
.seed-card {
  perspective: 1000px;
  width: 300px;
  height: 250px;
  cursor: pointer;
  margin-bottom: 20px;
}

.seed-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

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

.seed-card-front, .seed-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
}

.seed-card-front {
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  border: 1px solid #e0e0e0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.seed-card-back {
  background: linear-gradient(135deg, #00d084 0%, #00b876 100%);
  color: white;
  transform: rotateY(180deg);
}

.seed-icon {
  font-size: 3em;
  margin-bottom: 20px;
}

.seed-card h4 {
  margin-bottom: 10px;
  font-size: 1.2em;
  font-weight: 600;
}

.seed-card p {
  font-size: 0.95em;
  line-height: 1.6;
}

/* Quality assurance section */
.seed-quality-assurance {
  text-align: center;
  margin: 50px 0;
  padding: 30px;
  background: linear-gradient(135deg, rgba(0, 208, 132, 0.1) 0%, rgba(0, 184, 118, 0.2) 100%);
  border-radius: 15px;
}

.seed-quality-assurance h3 {
  margin-bottom: 30px;
  font-size: 1.8em;
  color: #444;
}

.seed-quality-metrics {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.quality-metric {
  padding: 20px;
  min-width: 150px;
}

.metric-value {
  font-size: 2.5em;
  font-weight: 700;
  color: #00d084;
  margin-bottom: 10px;
}

.metric-label {
  font-size: 1em;
  color: #555;
}

/* Contact form section */
.seed-contact-section {
  margin: 50px 0 20px;
  text-align: center;
}

.seed-contact-section h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #444;
}

.seed-contact-section p {
  margin-bottom: 30px;
}

.seed-form {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  margin-bottom: 20px;
}

.seed-form input,
.seed-form select,
.seed-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1em;
  transition: border-color 0.3s;
}

.seed-form input:focus,
.seed-form select:focus,
.seed-form textarea:focus {
  outline: none;
  border-color: #00d084;
}

.submit-btn {
  background-color: #00d084;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 12px 30px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.submit-btn:hover {
  background-color: #00b876;
  transform: translateY(-2px);
}

.form-success {
  display: none;
  background-color: rgba(0, 208, 132, 0.2);
  color: #00834d;
  padding: 15px;
  border-radius: 5px;
  margin-top: 20px;
  text-align: center;
}

/* Animation for cards */
@keyframes cardPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
}

/* Animation for metrics */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quality-metric.animate .metric-value {
  animation: countUp 1.5s ease-out forwards;
}

/* Responsive styles */
@media only screen and (max-width: 992px) {
  .seeds-cards-container {
    gap: 20px;
  }
  
  .seed-card {
    width: calc(50% - 20px);
    height: 230px;
  }
}

@media only screen and (max-width: 768px) {
  .seeds-main-title {
    font-size: 2em;
  }
  
  .seed-quality-metrics {
    flex-direction: column;
    align-items: center;
  }
  
  .quality-metric {
    width: 100%;
    max-width: 250px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

@media only screen and (max-width: 576px) {
  .seeds-container {
    padding: 30px 20px;
  }
  
  .seed-card {
    width: 100%;
    height: auto;
    min-height: 220px;
  }
  
  .seeds-section-title {
    font-size: 1.5em;
  }
  
  .seed-quality-assurance {
    padding: 20px 15px;
  }
  
  .metric-value {
    font-size: 2em;
  }
}
