.Z001-self-certification {
  background-color: whitesmoke;
  padding: 30px;
  font-family: 'Times New Roman', Times, serif;
  border-radius: 12px;
  max-width: 1000px;
  margin: 0 auto;
  text-emphasis-color: white;
}

.Z001-self-certification p {
  font-size: 18px;
  line-height: 1.6;
  color: #100f0f;
  text-decoration: dashed;
  margin-bottom: 20px;
  text-align: left;
}

.Z001-certification-section {
  margin-bottom: 5px;
}

.Z001-laws-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.Z001-law-item {
  background-color: #0a0c0b;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #232222;
  text-align: center;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.Z001-labour-header,
.Z001-env-header {
  font-size: 24px;
  color: #131415;
  margin-bottom: 15px;
  animation: Z001-fadeIn 0.5s ease-out;
}

.Z001-portal-section {
  text-align: center;
  margin-top: 20px;
}

.Z001-portal-button {
  background-color: #0c0c0b;
  color: rgb(26, 25, 25);
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.Z001-portal-button:hover {
  background-color: #43494f;
  transform: scale(1.05);
}

@keyframes Z001-fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes Z001-fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Common container styles */
.Z001-certification-section {
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 30px;
  color: #333;
}

/* Grid for law items and images */
.Z001-laws-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
  gap: 15px;
}

.Z001-law-item {
  display: flex;
  align-items: center;
  background-color: rgba(203, 190, 190, 0.8); /* Slightly transparent white */
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Image for each law */
.Z001-law-logo {
  width: 40px; /* Set size of logo */
  height: 40px;
  margin-right: 15px; /* Space between logo and law text */
}

/* Portal section styling */
.Z001-portal-section {
  margin-top: 30px;
  text-align: center;
}

.Z001-portal-button {
  background-color: #0f0f10;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.Z001-portal-button:hover {
  background-color: #0056b3;
}
