/*============================================================
Credex Worldtrade Pvt. Ltd. - Quality & Certification Styles
Theme Color: #a8cf45 | Dark: #064E5A / #1a2b2c
==============================================================*/

/* Breadcrumb */
.site-breadcrumb.quality-breadcrumb {
  position: relative;
  background-size: cover !important;
  background-position: center center !important;
  padding: 100px 0 70px;
}
.site-breadcrumb.quality-breadcrumb::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 78, 90, 0.85); /* Credex dark brand overlay */
  z-index: 1;
}
.site-breadcrumb.quality-breadcrumb .container {
  position: relative;
  z-index: 2;
}

/* Key Metrics Counter Strip */
.qc-metrics-strip {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 25px 20px;
  margin-top: -45px;
  position: relative;
  z-index: 10;
  border-bottom: 3px solid var(--theme-color);
}
.qc-metric-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 8px 15px;
  border-right: 1px solid #edf2f7;
}
.qc-metrics-strip .col-lg-3:last-child .qc-metric-item {
  border-right: none;
}
.qc-metric-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 10px;
  background: rgba(168, 207, 69, 0.15);
  color: var(--theme-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.qc-metric-info h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--color-dark);
}
.qc-metric-info p {
  font-size: 13px;
  color: #718096;
  margin-bottom: 0;
  font-weight: 500;
}

/* Certification Cards (Logo Only Grid) */
.cert-card {
  background: #ffffff;
  border: 1.5px solid #edf2e7;
  border-radius: 14px;
  padding: 22px 20px;
  text-align: center;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.cert-card:hover {
  transform: translateY(-5px);
  border-color: var(--theme-color);
  box-shadow: 0 10px 25px rgba(168, 207, 69, 0.18);
}
.cert-logo-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  padding: 4px;
}
.cert-logo-wrap img {
  max-height: 82px;
  max-width: 88%;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.cert-card:hover .cert-logo-wrap img {
  transform: scale(1.08);
}
@media (max-width: 575px) {
  .cert-card {
    height: 110px;
    padding: 14px 10px;
  }
  .cert-logo-wrap img {
    max-height: 62px;
    max-width: 90%;
  }
}

/* Laboratory Showcase Cards */
.qc-card {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.35s ease;
}
.qc-card:hover {
  transform: translateY(-5px);
  border-color: var(--theme-color);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.qc-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.qc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.qc-card:hover .qc-card-img img {
  transform: scale(1.05);
}
.qc-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-dark);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 6px;
}
.qc-card-body {
  padding: 22px 20px;
}
.qc-card-body h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
}
.qc-card-body p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 15px;
}
.qc-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.qc-card-list li {
  font-size: 13px;
  color: #374151;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.qc-card-list li i {
  color: var(--theme-color);
  font-size: 14px;
}

/* 4-Step Quality Process */
.qc-step-box {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  position: relative;
  height: 100%;
  transition: all 0.3s ease;
}
.qc-step-box:hover {
  transform: translateY(-4px);
  border-color: var(--theme-color);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}
.qc-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--theme-color);
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.qc-step-box h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}
.qc-step-box p {
  font-size: 12.5px;
  color: #718096;
  line-height: 1.5;
  margin-bottom: 0;
}

/* CTA strip */
.qc-cta-wrap {
  background: var(--color-dark);
  border-radius: 14px;
  padding: 40px 30px;
  color: #ffffff;
}
.qc-cta-wrap h3 {
  color: #ffffff;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
}
.qc-cta-wrap p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14.5px;
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .qc-metric-item {
    border-right: none;
    border-bottom: 1px solid #edf2f7;
    margin-bottom: 10px;
    padding-bottom: 10px;
  }
  .qc-metrics-strip {
    margin-top: 15px;
  }
  .cert-logo-wrap {
    height: 80px;
  }
}

@media (max-width: 767px) {
  .qc-cta-wrap {
    padding: 30px 20px;
    text-align: center;
  }
  .qc-cta-wrap h3 {
    font-size: 22px;
  }
  .qc-card-img {
    height: 190px;
  }
  .qc-metric-item {
    padding: 6px 10px;
  }
  .qc-metric-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 18px;
  }
  .qc-metric-info h4 {
    font-size: 19px;
  }
  .qc-metric-info p {
    font-size: 12px;
  }
}
