.certification-cf-section {
  background: linear-gradient(93deg, #eaf6ef 68%, #f7fff9 100%);
  border-radius: 21px;
  margin-bottom: 36px;
  box-shadow: 0 3px 17px rgba(22,73,30,0.10);
  padding: 38px 0 26px 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.certification-cf-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 44px;
  justify-content: center;
  width: 100%;
}

.certification-cf-left {
  display: flex;
  flex-direction: column;
  gap: 19px;
  flex: 1 1 360px;
  min-width: 265px;
  max-width: 480px;
}

.cert-info-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 13px rgba(32,113,50,0.06);
  min-width: 0;
  max-width: 460px;
  width: 100%;
  padding: 18px 20px 15px 19px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 0;
}

.cert-info-card .icon {
  flex-shrink: 0;
  margin-right: 0;
  margin-top: 2px;
  width: 32px;
  height: 32px;
  color: #0eb97e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-info-card h3 {
  color: #11713d;
  font-size: 1.09rem;
  margin: 0 0 6px 0;
  font-weight: 800;
}

.cert-info-card p {
  color: #236036;
  font-size: 0.99rem;
  margin: 0;
  line-height: 1.42;
  font-weight: 500;
}

.certification-cf-right {
  flex: 0 1 360px;
  min-width: 260px;
  max-width: 390px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.cert-cta-card {
  background: linear-gradient(98deg, #f4fff9 60%, #eaf6ef 100%);
  border-radius: 17px;
  box-shadow: 0 4px 24px rgba(14,185,126,0.13), 0 2px 13px rgba(32,113,50,0.06);
  width: 100%;
  max-width: 370px;
  min-width: 230px;
  padding: 29px 20px 23px 20px;
  margin: 0 0 12px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.16s, transform 0.1s;
  border: 2px solid #eaf6ef;
  outline: none;
  user-select: none;
}

.cert-cta-card:active,
.cert-cta-card:focus,
.cert-cta-card:hover {
  box-shadow: 0 8px 26px rgba(32,113,50,0.14), 0 2px 13px rgba(32,113,50,0.08);
  border: 2px solid #0eb97e;
  transform: scale(1.012);
}

.cert-cta-card .icon {
  margin-bottom: 13px;
  color: #0eb97e;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
}

.cert-cta-card h3 {
  color: #0e9d6d;
  font-size: 1.18rem;
  margin: 0 0 8px 0;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.cert-cta-card p {
  color: #225838;
  font-size: 1.06rem;
  margin-bottom: 0;
  line-height: 1.48;
  font-weight: 500;
}

.cert-cta-btn {
  margin-top: 19px;
  background: #0eb97e;
  color: #fff;
  border: none;
  border-radius: 11px;
  padding: 11px 35px;
  font-size: 1.09rem;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(14,185,126,0.12);
  cursor: pointer;
  transition: background 0.12s;
  outline: none;
}
.cert-cta-btn:hover,
.cert-cta-btn:focus {
  background: #11713d;
}

.cert-modal-bg {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(30,54,37,0.19);
  z-index: 4111;
  align-items: center;
  justify-content: center;
}
.cert-modal-bg.active {
  display: flex;
}

.cert-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 38px rgba(20,70,32,0.15);
  padding: 34px 26px 28px 26px;
  min-width: 290px;
  max-width: 99vw;
  width: 410px;
  position: relative;
  text-align: center;
  animation: certmodalpop .23s cubic-bezier(0.62,0.01,0.41,1.02);
}
@keyframes certmodalpop {
  0% { transform: scale(0.9); opacity:0;}
  100% { transform: scale(1); opacity:1;}
}
.cert-modal .modal-close {
  position: absolute;
  top: 13px; right: 15px;
  background: #eaf6ef;
  color: #0eb97e;
  border: none;
  border-radius: 12px;
  width: 32px; height: 32px;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(32,113,50,0.08);
  transition: background 0.12s;
  display: flex; align-items: center; justify-content: center;
}
.cert-modal .modal-close:hover,
.cert-modal .modal-close:focus {
  background: #0eb97e;
  color: #fff;
}
.cert-modal h3 {
  margin: 11px 0 15px 0;
  color: #11713d;
  font-size: 1.15rem;
  font-weight: 800;
}
.cert-modal .modal-btn-group {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: center;
}
.cert-modal .modal-btn-group a,
.cert-modal .modal-btn-group button {
  background: #0eb97e;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 34px;
  font-size: 1.08rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.12s;
  cursor: pointer;
  margin: 0;
  outline: none;
  display: inline-block;
}
.cert-modal .modal-btn-group a:hover,
.cert-modal .modal-btn-group a:focus,
.cert-modal .modal-btn-group button:hover,
.cert-modal .modal-btn-group button:focus {
  background: #11713d;
  color: #fff;
}
.cert-modal .modal-btn-group a[style*="background:#fdbe39"] {
  background: #fdbe39 !important;
  color: #215c39 !important;
  border: 1.3px solid #f7eac7;
  font-weight: 900;
}
.cert-modal .modal-btn-group a[style*="background:#fdbe39"]:hover,
.cert-modal .modal-btn-group a[style*="background:#fdbe39"]:focus {
  background: #ffd971 !important;
  color: #215c39 !important;
  border-color: #ffeebb;
}

@media (max-width: 980px) {
  .certification-cf-container {
    flex-direction: column;
    gap: 23px;
    max-width: 98vw;
    padding: 0 5vw;
    align-items: stretch;
  }
  .certification-cf-left,
  .certification-cf-right {
    max-width: 99vw;
    width: 100%;
    min-width: 0;
    align-items: stretch;
  }
  .cert-cta-card {
    margin: 0 auto;
  }
}
@media (max-width: 600px) {
  .certification-cf-section {
    padding: 17px 0 13px 0;
    border-radius: 16px;
  }
  .cert-info-card {
    padding: 13px 8px 12px 8px;
    border-radius: 10px;
  }
  .cert-cta-card {
    padding: 19px 8px 16px 8px;
    border-radius: 10px;
  }
  .cert-modal {
    padding: 14px 4vw 14px 4vw;
    width: 96vw;
    min-width: 0;
    border-radius: 10px;
  }
}
