/* Quality Page Specific Styles */

/* Quality Hero Section */
.quality-hero {
  background: linear-gradient(135deg, #2E7D32 0%, #4CAF50 50%, #66BB6A 100%);
  padding: 6rem 2rem 8rem 2rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.quality-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/quality-pattern.jpg') repeat;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

.quality-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  opacity: 0.95;
  font-weight: 400;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

/* Main Quality Content */
.quality-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Quality Promise Section */
.quality-promise {
  padding: 4rem 0;
  border-bottom: 1px solid var(--light-grey);
}

.promise-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--primary-green);
  margin-bottom: 1.5rem;
  text-align: center;
}

.promise-intro {
  font-size: 1.2rem;
  color: var(--text-grey);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

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

.highlight-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

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

.highlight-item i {
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

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

.highlight-item p {
  color: var(--text-grey);
  line-height: 1.6;
  margin: 0;
}

/* Certifications Section */
.certifications-section {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

.certifications-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--primary-green);
  text-align: center;
  margin-bottom: 1rem;
}

.section-intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-grey);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

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

.cert-card {
  background: white;
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 5px solid var(--primary-green);
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.cert-icon {
  text-align: center;
  margin-bottom: 1.5rem;
}

.cert-icon i {
  font-size: 3rem;
  color: var(--primary-green);
}

.cert-info h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.cert-code {
  font-size: 0.9rem;
  color: var(--primary-green);
  font-weight: 500;
  margin-bottom: 1rem;
}

.cert-info > p {
  color: var(--text-grey);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.cert-benefits {
  list-style: none;
  padding: 0;
}

.cert-benefits li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-grey);
  font-size: 0.9rem;
}

.cert-benefits li::before {
  content: '✓';
  color: var(--primary-green);
  font-weight: bold;
  font-size: 1rem;
}

/* Quality Process Section */
.quality-process {
  padding: 4rem 0;
}

.quality-process h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--primary-green);
  text-align: center;
  margin-bottom: 3rem;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.step-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
}

.step-item:nth-child(even) {
  grid-template-columns: 1fr 80px;
}

.step-item:nth-child(even) .step-content {
  order: -1;
  text-align: right;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--primary-green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.step-content {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-content h3 {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-weight: 600;
}

.step-content > p {
  color: var(--text-grey);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.step-details {
  list-style: none;
  padding: 0;
}

.step-details li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-grey);
  font-size: 0.95rem;
}

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

/* Testing Standards Section */
.testing-standards {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

.testing-standards h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--primary-green);
  text-align: center;
  margin-bottom: 3rem;
}

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

.testing-category {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.testing-category:hover {
  transform: translateY(-5px);
}

.testing-category h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dark);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary-green);
}

.testing-category i {
  color: var(--primary-green);
  font-size: 1.2rem;
}

.testing-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.test-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid var(--primary-green);
}

.test-name {
  color: var(--text-dark);
  font-weight: 500;
}

.test-standard {
  color: var(--primary-green);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Quality Facilities Section */
.quality-facilities {
  padding: 4rem 0;
}

.quality-facilities h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--primary-green);
  text-align: center;
  margin-bottom: 3rem;
}

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

.facility-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.facility-item:hover {
  transform: translateY(-10px) rotateY(5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.facility-item i {
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 1.5rem;
}

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

.facility-item p {
  color: var(--text-grey);
  line-height: 1.6;
  margin: 0;
}

/* Quality Team Section */
.quality-team {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

.quality-team h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--primary-green);
  text-align: center;
  margin-bottom: 3rem;
}

.team-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.team-info p {
  color: var(--text-grey);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.team-stats {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}

.stat {
  text-align: center;
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  flex: 1;
}

.stat h3 {
  font-size: 2rem;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.stat p {
  color: var(--text-grey);
  font-size: 0.9rem;
  margin: 0;
}

.team-expertise {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-expertise h3 {
  color: var(--text-dark);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.expertise-list {
  list-style: none;
  padding: 0;
}

.expertise-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: var(--text-grey);
  font-size: 0.95rem;
}

.expertise-list i {
  color: var(--primary-green);
  font-size: 0.9rem;
}

/* Documentation Section */
.documentation {
  padding: 4rem 0;
}

.documentation h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--primary-green);
  text-align: center;
  margin-bottom: 1rem;
}

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

.doc-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

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

.doc-item i {
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

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

.doc-item p {
  color: var(--text-grey);
  line-height: 1.6;
  margin: 0;
}

/* Quality CTA Section */
.quality-cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

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

.btn-primary:hover {
  background: var(--light-grey);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-green);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .quality-hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .certifications-grid {
    grid-template-columns: 1fr;
  }
  
  .step-item {
    grid-template-columns: 60px 1fr;
    gap: 1.5rem;
  }
  
  .step-item:nth-child(even) {
    grid-template-columns: 60px 1fr;
  }
  
  .step-item:nth-child(even) .step-content {
    order: 0;
    text-align: left;
  }
  
  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }
  
  .team-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .team-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .testing-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 200px;
  }
}

@media (max-width: 480px) {
  .quality-hero {
    padding: 3rem 1rem;
  }
  
  .quality-main {
    padding: 0 1rem;
  }
  
  .quality-promise,
  .quality-facilities,
  .documentation {
    padding: 3rem 0;
  }
  
  .promise-highlights,
  .facilities-grid,
  .doc-grid {
    grid-template-columns: 1fr;
  }
  
  .cert-card {
    padding: 2rem;
  }
  
  .step-content {
    padding: 1.5rem;
  }
}