/* Estilos modernos para las secciones de Certificaciones y Políticas de Calidad */

/* Sección de Certificaciones */
.certifications-section {
  position: relative;
  padding: 80px 0;
  background-color: #f9f9f9;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%,
      transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%,
      transparent 75%, transparent);
  background-size: 80px 80px;
  overflow: hidden;
}

.certifications-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(5, 54, 121, 0.03) 0%, rgba(5, 54, 121, 0.07) 100%);
  z-index: 1;
}

.certifications-section .container {
  position: relative;
  z-index: 2;
}

.certifications-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1300px;
  margin: 0 auto;
}

.certification-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  z-index: 1;
  border-top: 4px solid var(--primary-color);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.certification-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.certification-header {
  padding: 25px 25px 15px;
}

.certification-header h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.certification-header p {
  font-size: 16px;
  color: var(--primary-color);
  font-weight: 500;
}

.certification-image {
  padding: 15px;
  text-align: center;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certification-image img {
  max-width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.certification-card:hover .certification-image img {
  transform: scale(1.05);
}

.certification-footer {
  padding: 0 25px 25px;
}

.certification-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

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

/* Sección de Políticas de Calidad */
.policies-section {
  position: relative;
  padding: 80px 0;
  background-color: white;
  overflow: hidden;
}

.policies-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/pattern.png');
  background-size: 200px 200px;
  opacity: 0.03;
  z-index: 1;
}

.policies-section .container {
  position: relative;
  z-index: 2;
}

.policies-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.policies-card {
  background-color: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  border-left: 5px solid var(--primary-color);
}

.policies-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background-color: rgba(5, 54, 121, 0.03);
  border-radius: 0 0 0 150px;
  z-index: 0;
}

.policy-intro {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}

.policy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}

.policy-list li {
  padding-left: 30px;
  margin-bottom: 15px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

.policy-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  background-color: rgba(5, 54, 121, 0.1);
  border-radius: 50%;
}

.policy-list li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 13px;
  width: 6px;
  height: 6px;
  background-color: var(--primary-color);
  border-radius: 50%;
}

/* Responsive */
@media (max-width: 1200px) {
  .certifications-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
  }
}

@media (max-width: 768px) {
  .certifications-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .policies-card {
    padding: 30px;
  }
}