.zs-certification-hero {
  background: #ffffff;
}

.zs-certification-hero__inner {
  min-height: 560px;
  padding: 0 16%;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .2) 52%, rgba(0, 0, 0, .2) 100%),
    url("../img/BANNER.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.zs-certification-hero__content {
  max-width: 560px;
  color: #ffffff;
}

.zs-certification-hero__content h2 {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 54px;
  line-height: 1.08;
  font-weight: 700;
  color: #ffffff;
}

.zs-certification-hero__content p {
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.94);
}

.zs-certification-values {
  padding: 60px 0;
  background: #f3f3f3;
}

.zs-certification-values__inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.zs-certification-values__inner h2 {
  margin: 0;
  text-align: center;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: #1f2b37;
}

.zs-certification-values__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.zs-certification-values__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.zs-certification-values__item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.zs-certification-values__item h3 {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 400;
  color: #4a4a4a;
}

.zs-certification-gallery {
  padding: 0 0 72px;
  background: #f3f3f3;
}

.zs-certification-gallery__inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.zs-certification-gallery__inner h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: #1f2b37;
  text-align: center;
}

.zs-certification-gallery__inner h2::before,
.zs-certification-gallery__inner h2::after {
  content: "";
  width: 350px;
  border-top: 1px dashed #bdbdbd;
}

.zs-certification-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px;
  max-width: 860px;
  margin: 42px auto 0;
}

.zs-certification-gallery__grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 560px;
}

.zs-certification-gallery__grid--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 260px;
}

.zs-certification-card {
  position: relative;
  padding-bottom: 32px;
}

.zs-certification-card__frame {
  border: 10px solid #4f8f95;
  background: #ffffff;
  box-shadow: inset 0 0 0 2px rgba(35, 73, 79, 0.1);
}

.zs-certification-card__frame img {
  display: block;
  width: 100%;
  aspect-ratio: 600 / 815;
  object-fit: cover;
}

.zs-certification-card h3 {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 50px;
  margin: 0;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 24px;
  line-height: 1;
  font-weight: 500;
  color: #ffffff;
  border-radius: .4em;
  padding: calc(2 * .4em) .5em 0;
  inset-inline: calc(-1 * .4em);
  background: radial-gradient(100% 50% at right, #0005 98%, #0000 101%) 0 0 / .4em calc(2 * .4em) no-repeat, radial-gradient(100% 50% at left, #0005 98%, #0000 101%) 100% 0 / .4em calc(2 * .4em) no-repeat, conic-gradient(at .4em calc(2 * .4em), #0000 25%, #2EBB77 0) 0 0 / calc(100% - .4em) 100%;
}

@media (max-width: 1024px) {
  .zs-certification-hero__inner {
    min-height: 420px;
    padding: 0 10%;
  }

  .zs-certification-hero__content h2 {
    font-size: 42px;
  }

  .zs-certification-hero__content p {
    font-size: 16px;
  }

  .zs-certification-values {
    padding: 24px 0 46px;
  }

  .zs-certification-values__inner {
    width: min(100% - 40px, 960px);
  }

  .zs-certification-values__grid {
    gap: 18px;
  }

  .zs-certification-gallery {
    padding-bottom: 56px;
  }

  .zs-certification-gallery__inner {
    width: min(100% - 40px, 960px);
  }

  .zs-certification-gallery__inner h2 {
    font-size: 22px;
  }

  .zs-certification-gallery__inner h2::before,
  .zs-certification-gallery__inner h2::after {
    width: 110px;
  }

  .zs-certification-gallery__grid {
    gap: 24px;
    max-width: 760px;
    margin-top: 32px;
  }

  .zs-certification-gallery__grid--two {
    max-width: 520px;
  }

  .zs-certification-gallery__grid--single {
    max-width: 240px;
  }

  .zs-certification-card h3 {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .zs-certification-hero__inner {
    min-height: 280px;
    padding: 32px 24px;
    align-items: center;
  }

  .zs-certification-hero__content {
    max-width: 260px;
  }

  .zs-certification-hero__content h2 {
    font-size: 32px;
  }

  .zs-certification-hero__content p {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.6;
  }

  .zs-certification-values {
    padding: 20px 0 34px;
  }

  .zs-certification-values__inner {
    width: calc(100% - 24px);
  }

  .zs-certification-values__inner h2 {
    font-size: 16px;
    line-height: 1.5;
  }

  .zs-certification-values__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
    margin-top: 22px;
  }

  .zs-certification-values__item img {
    width: 84px;
    height: 84px;
  }

  .zs-certification-values__item h3 {
    margin-top: 12px;
    font-size: 14px;
  }

  .zs-certification-gallery {
    padding: 0 0 42px;
  }

  .zs-certification-gallery__inner {
    width: calc(100% - 24px);
  }

  .zs-certification-gallery__inner h2 {
    gap: 10px;
    font-size: 18px;
  }

  .zs-certification-gallery__inner h2::before,
  .zs-certification-gallery__inner h2::after {
    width: 42px;
  }

  .zs-certification-gallery__grid {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 280px;
    margin-top: 24px;
  }

  .zs-certification-gallery__grid--two,
  .zs-certification-gallery__grid--single {
    max-width: 280px;
  }

  .zs-certification-card {
    padding-bottom: 24px;
  }

  .zs-certification-card__frame {
    border-width: 8px;
  }

  .zs-certification-card h3 {
    left: 12px;
    right: 12px;
    min-height: 36px;
    font-size: 18px;
  }
}
