:root {
  --cert-green: #305a32;
  --cert-green-dark: #14351c;
  --cert-ink: #142018;
  --cert-muted: #5f6961;
  --cert-line: rgba(48, 90, 50, .14);
  --cert-soft: #f6f8f4;
  --cert-gold: #e8df32;
}

.certifications-hero {
  background-position: center center;
}

.certifications-hero::before {
  background:
    linear-gradient(90deg, rgba(10, 27, 19, .94) 0%, rgba(10, 27, 19, .76) 43%, rgba(10, 27, 19, .16) 100%),
    linear-gradient(0deg, rgba(10, 27, 19, .24), rgba(10, 27, 19, .05));
}

.texture-hero.certifications-hero h1 {
  max-width: 940px;
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-weight: 600;
  white-space: normal;
}

.certifications-hero .texture-hero_badge {
  display: block;
  min-height: 0;
  margin-bottom: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: transparent;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.certifications-section {
  position: relative;
  padding: 96px 0 104px;
  background: var(--cert-soft);
}

.certifications-heading {
  max-width: 980px;
  margin-bottom: 42px;
}

.certifications-heading .sec-title_title {
  color: var(--cert-green);
}

.certifications-heading .sec-title_heading {
  color: var(--cert-ink);
  font-size: 36px;
  line-height: 1.2;
}

.certifications-heading .sec-title_text {
  max-width: 900px;
  color: var(--cert-muted);
  font-size: 17px;
  line-height: 1.75;
}

.certification-table-wrap {
  overflow: hidden;
  border: 1px solid var(--cert-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(20, 32, 24, .08);
}

.certification-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.certification-table th,
.certification-table td {
  padding: 20px 22px;
  border-bottom: 1px solid var(--cert-line);
  vertical-align: middle;
}

.certification-table th {
  color: #fff;
  background: var(--cert-green-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .5px;
  line-height: 1.35;
  text-transform: uppercase;
}

.certification-table td {
  color: var(--cert-muted);
  font-size: 14px;
  line-height: 1.62;
}

.certification-table td:first-child {
  width: 25%;
  color: var(--cert-ink);
  font-weight: 700;
}

.certification-table td:nth-child(2) {
  width: 21%;
  color: var(--cert-green-dark);
  font-weight: 700;
}

.certification-table td:last-child {
  width: 160px;
}

.certification-table tr:last-child td {
  border-bottom: 0;
}

.certification-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 138px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 4px;
  color: var(--cert-green-dark);
  background: var(--cert-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .4px;
  line-height: 1.2;
  text-transform: uppercase;
}

.certification-download:hover {
  color: #fff;
  background: var(--cert-green);
}

.green-credentials {
  padding: 94px 0 102px;
  background: #fff;
}

.green-credentials-intro {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 38px;
}

.green-credentials-intro .sec-title_title {
  color: var(--cert-green);
}

.green-credentials-intro h2 {
  margin: 0;
  color: var(--cert-ink);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.22;
}

.green-credentials-intro p {
  margin: 0;
  color: var(--cert-muted);
  font-size: 16px;
  line-height: 1.8;
}

.green-credentials-table-wrap {
  overflow: hidden;
  border: 1px solid var(--cert-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(20, 32, 24, .08);
}

.green-credentials-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.green-credentials-table th,
.green-credentials-table td {
  padding: 22px 24px;
  border-bottom: 1px solid var(--cert-line);
  vertical-align: top;
}

.green-credentials-table th {
  color: #fff;
  background: var(--cert-green-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .5px;
  line-height: 1.35;
  text-transform: uppercase;
}

.green-credentials-table td {
  color: var(--cert-muted);
  font-size: 14px;
  line-height: 1.72;
}

.green-credentials-table td:first-child {
  width: 24%;
  color: var(--cert-ink);
  font-weight: 700;
}

.green-credentials-table td:nth-child(2) {
  width: 42%;
}

.green-credentials-table td:last-child {
  color: var(--cert-green-dark);
  font-weight: 700;
}

.green-credentials-table tr:last-child td {
  border-bottom: 0;
}

@media only screen and (max-width: 1199px) {
  .certification-table-wrap {
    overflow-x: auto;
  }

  .certification-table {
    min-width: 980px;
  }
}

@media only screen and (max-width: 991px) {
  .green-credentials-intro {
    grid-template-columns: 1fr;
  }

  .green-credentials-intro {
    gap: 18px;
  }
}

@media only screen and (max-width: 767px) {
  .certifications-section,
  .green-credentials {
    padding: 72px 0 78px;
  }

  .certifications-heading .sec-title_heading,
  .green-credentials-intro h2 {
    font-size: 30px;
  }

  .certification-table {
    min-width: 0;
  }

  .certification-table thead {
    display: none;
  }

  .certification-table,
  .certification-table tbody,
  .certification-table tr,
  .certification-table td {
    display: block;
    width: 100%;
  }

  .certification-table tr {
    padding: 20px;
    border-bottom: 1px solid var(--cert-line);
  }

  .certification-table tr:last-child {
    border-bottom: 0;
  }

  .certification-table td,
  .certification-table td:first-child,
  .certification-table td:nth-child(2),
  .certification-table td:last-child {
    width: 100%;
    padding: 0;
    border-bottom: 0;
  }

  .certification-table td + td {
    margin-top: 14px;
  }

  .certification-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--cert-green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .6px;
    line-height: 1.3;
    text-transform: uppercase;
  }

  .certification-download {
    width: 100%;
  }

  .green-credentials-table thead {
    display: none;
  }

  .green-credentials-table,
  .green-credentials-table tbody,
  .green-credentials-table tr,
  .green-credentials-table td {
    display: block;
    width: 100%;
  }

  .green-credentials-table tr {
    padding: 20px;
    border-bottom: 1px solid var(--cert-line);
  }

  .green-credentials-table tr:last-child {
    border-bottom: 0;
  }

  .green-credentials-table td,
  .green-credentials-table td:first-child,
  .green-credentials-table td:nth-child(2),
  .green-credentials-table td:last-child {
    width: 100%;
    padding: 0;
    border-bottom: 0;
  }

  .green-credentials-table td + td {
    margin-top: 14px;
  }

  .green-credentials-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--cert-green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .6px;
    line-height: 1.3;
    text-transform: uppercase;
  }
}

@media only screen and (max-width: 575px) {
  .texture-hero.certifications-hero h1 {
    font-size: 28px;
  }
}
