.cert-section {
  padding: 50px 0; }
  @media (max-width: 992px) {
    .cert-section {
      padding: 25px 0; } }
  .cert-section h2 {
    font-size: var(--typo-title);
    line-height: var(--lh-title);
    font-weight: var(--fw-title);
    letter-spacing: var(--ls-title);
    /* Mobile styles (under 992px) */
    color: var(--white); }
    @media (max-width: 992px) {
      .cert-section h2 {
        font-size: var(--typo-title-m); } }
  .cert-section p {
    font-size: var(--typo-text);
    line-height: var(--lh-text);
    font-weight: var(--fw-text);
    letter-spacing: var(--ls-text);
    /* Mobile styles (under 992px) */
    color: var(--white); }
    @media (max-width: 992px) {
      .cert-section p {
        font-size: var(--typo-text-m); } }
  .cert-section .tphd {
    margin-bottom: 50px; }
    .cert-section .tphd p {
      /*text-align: $right;*/ }
  .cert-section .strt {
    margin-bottom: 15px; }
  @media (max-width: 992px) {
    .cert-section .tphd {
      margin-bottom: 0px; }
    .cert-section .strt {
      margin-bottom: 15px; } }
  .cert-section .cert-card {
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    transform: translateY(0px);
    height: 100%; }
    @media (max-width: 992px) {
      .cert-section .cert-card {
        margin-bottom: 15px; } }
    .cert-section .cert-card .cert-img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      border-radius: 13px;
      margin-bottom: -40px;
      position: relative;
      z-index: 100; }
    .cert-section .cert-card .cert-body {
      padding: 15px;
      padding-top: 60px;
      flex: 1;
      border-top: 0;
      border-top-right-radius: 0;
      border-top-left-radius: 0; }
      .cert-section .cert-card .cert-body small {
        font-size: var(--typo-small-text);
        line-height: var(--lh-small-text);
        font-weight: var(--fw-small-text);
        letter-spacing: var(--ls-small-text);
        /* Mobile styles (under 992px) */
        color: var(--gray-100); }
        @media (max-width: 992px) {
          .cert-section .cert-card .cert-body small {
            font-size: var(--typo-small-text-m); } }
      .cert-section .cert-card .cert-body h5 {
        margin: 0.5rem 0;
        font-size: var(--typo-subtitle);
        line-height: var(--lh-subtitle);
        font-weight: var(--fw-subtitle);
        letter-spacing: var(--ls-subtitle);
        /* Mobile styles (under 992px) */
        color: var(--primary); }
        @media (max-width: 992px) {
          .cert-section .cert-card .cert-body h5 {
            font-size: var(--typo-subtitle-m); } }
      .cert-section .cert-card .cert-body p {
        font-size: var(--typo-text);
        line-height: var(--lh-text);
        font-weight: var(--fw-text);
        letter-spacing: var(--ls-text);
        /* Mobile styles (under 992px) */
        color: var(--gray-100);
        margin-top: auto; }
        @media (max-width: 992px) {
          .cert-section .cert-card .cert-body p {
            font-size: var(--typo-text-m); } }
    .cert-section .cert-card:hover {
      transform: translateY(-8px); }
      .cert-section .cert-card:hover .cert-body {
        background: var(--primary); }
      .cert-section .cert-card:hover small, .cert-section .cert-card:hover h5, .cert-section .cert-card:hover p {
        color: var(--base-black); }
  .cert-section .cert-button {
    margin-top: 35px; }
    @media (max-width: 992px) {
      .cert-section .cert-button {
        margin-top: 20px; } }
  .cert-section .btn-warning {
    background-color: var(--primary);
    border: none;
    padding: 0.6rem 1.5rem;
    font-weight: 400;
    font-size: 16px;
    border-radius: 24px;
    color: var(--base-black); }

.cert-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000000; }
  .cert-popup-overlay .cert-popup {
    background: #fff;
    padding: 20px;
    max-width: 800px;
    width: 90%;
    border-radius: 10px;
    position: relative; }
    .cert-popup-overlay .cert-popup .cert-popup-close {
      position: absolute;
      top: 0px;
      right: 6px;
      font-size: 20px;
      background: none;
      border: none;
      cursor: pointer; }
    .cert-popup-overlay .cert-popup .cert-popup-content iframe {
      width: 100%;
      height: 450px;
      border: none; }
