.background-header-about {
  background: url(/images/about/background-about.webp) no-repeat 50% 100%;
  background-size: cover;
  min-height: 720px;
}

#section-card-about {
  top: -120px;
  margin-bottom: -120px;
}

.card-about {
  box-shadow: -20px 4px 250px rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  border: none;
  max-width: 221px;
  min-height: 200px;
}

.card-about h3 {
  font-weight: 800;
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 118.8%;
}

.card-about h5 {
  font-weight: 800;
  font-size: clamp(11px, 2.5vw, 12.6px);
  line-height: 163%;
  letter-spacing: clamp(1px, .5vw, 5px);
  color: #163C70;
}

.iso {
  width: 80%;
}

.box {
  box-shadow: -20px 4px 250px 0px rgba(0, 0, 0, 0.25);
  background: #fff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center; 
  height: 150px; 
  padding: 10px; 
  margin-left: auto;
  margin-right: auto;
}

.certification-title {
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  font-style: 'Atkinson Hyperlegible';
  color: var(--secondary-color);
  padding-top: 10px;
  height: 20%;
}

a.certification-title:hover {
  text-decoration: underline;
  text-decoration-color: var(--primary-text-color);
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.certification-image {
  max-width: 70%; /* Adjusted for smaller boxes */
  max-height: 50%; /* Limited height to prevent stretching */
  object-fit: contain; /* Prevent stretching */
  margin-bottom: 5px;
}

.box {
  width: 150px; /* Fixed width for square shape */
}

.certification-image {
  max-width: 80%; /* Maintain aspect ratio */
  max-height: 70%; /* Maintain aspect ratio */
}

  @media only screen and (max-width: 400px) {
    .background-header-about {
      background: url(/img/about/background-about-mobile-min.webp) no-repeat 50% 50%;
      background-size: cover;
      min-height: 350px;
    }

    #section-card-about {
      top: 0;
      margin-bottom: 0;
    }

  }

  @media only screen and (max-width: 768px) {
    .card-about {
      max-width: 100%;
    }
  }
