/* Quality Assurance Page Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Hero - blue rectangle */
.hero {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
  text-align: center;
  padding: 4rem 2rem;
}

.hero * {
  color: #fff;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.95;
}

section {
  padding: 4rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  font-size: 2.5rem;
  color: #2c5aa0;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.8rem;
  color: #2c5aa0;
  margin-bottom: 1rem;
}

.intro-section {
  background: #f8f9fa;
}

.intro-text {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* QA Steps */
.qa-section {
  background: #fff;
}

.qa-grid {
  display: grid;
  gap: 3rem;
  margin-top: 3rem;
}

.qa-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
}

.qa-step:nth-child(even) {
  direction: rtl;
}

.qa-step:nth-child(even) > * {
  direction: ltr;
}

.qa-image {
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  text-align: center;
}

.qa-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qa-content {
  padding: 2rem;
}

.qa-content ul {
  list-style: none;
  margin-top: 1rem;
}

.qa-content li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
}

.qa-content li:before {
  content: "•";
  color: #2c5aa0;
  font-weight: 700;
  position: absolute;
  left: 0;
}

/* Certification Box */
.certification-box {
  background: #e3f2fd;
  border-left: 4px solid #2c5aa0;
  padding: 2rem;
  margin: 3rem auto;
  border-radius: 5px;
  max-width: 900px;
}

.certification-box h3 {
  margin-bottom: 1rem;
}

.certification-box p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Standards Grid */
.standards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.standard-card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.standard-card h3 {
  color: #2c5aa0;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.standard-card p {
  color: #666;
}

/* Guarantee Box */
.guarantee-section {
  background: #fff;
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 3rem;
}

.guarantee-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 10px;
}

.guarantee-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.guarantee-content strong {
  color: #2c5aa0;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .qa-step {
    grid-template-columns: 1fr;
  }
  
  .qa-step:nth-child(even) {
    direction: ltr;
  }
  
  .qa-image {
    height: 260px;
  }
}
/* === Unified Blue Hero Rectangle === */
:root{ --hero-height-desktop:480px; --hero-height-mobile:340px; }
.hero,.hero-small,.product-hero{
  min-height:var(--hero-height-desktop);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.hero>*,.hero-small>*,.product-hero>*{margin:0 auto;}
@media(max-width:768px){
  .hero,.hero-small,.product-hero{
    min-height:var(--hero-height-mobile);
    padding:3rem 1.5rem;
  }
}
