/* Section */
.certification-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #0f172a, #020617);
    text-align: center;
    position: relative;
}

/* Title */
.certification-title {
    color: #ffffff;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-top: 20px;
}

.certification-underline {
    width: 90px;
    height: 4px;
    background: #e11d48;
    margin: 15px auto 55px;
    border-radius: 10px;
    transition: width 0.3s ease;
}

/* Grid */
.certification-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    max-width: 1200px;
    margin: auto;
}

/* Card */
.cert-card {
    background: #020617;
    padding: 20px;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cert-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.5);
}

/* Image */
.cert-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #d6d5d5;
    padding: 12px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-card img:hover {
    transform: scale(1.08);
}

/* Card Title */
.cert-card h4 {
    color: #ffffff;
    margin-top: 18px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

/* Modal */
.cert-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

/* Modal viewer */
.cert-viewer {
    width: 85%;
    max-width: 1100px;
    height: 80vh;
    background: #111;
    border-radius: 16px;
    overflow: auto;   /* SCROLL ENABLED */
    padding: 20px;
    cursor: grab;
}

/* Webkit scrollbar (Chrome, Edge, Safari) */
.cert-viewer::-webkit-scrollbar {
    width: 12px;
}

.cert-viewer::-webkit-scrollbar-track {
    background: #111;
    border-radius: 10px;
}

.cert-viewer::-webkit-scrollbar-thumb {
    background-color: #e11d48;
    border-radius: 10px;
    border: 3px solid #111;
}


/* Image */
.cert-viewer img {
    width: 100%;
    height: auto;
    display: block;
    user-select: none;
}

/* Close */
.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    font-size: 32px;
    color: white;
    cursor: pointer;
}

/* Zoom Controls */
.zoom-controls {
    position: absolute;
    bottom: 30px;
    display: flex;
    gap: 12px;
}

.zoom-controls button {
    font-size: 24px;
    width: 44px;
    height: 44px;
    background: #e11d48;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}


/* Responsive */
@media (max-width: 992px) {
    .certification-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .certification-grid {
        grid-template-columns: 1fr;
    }

    .certification-section {
        padding: 60px 15px;
    }

    .certification-title {
        font-size: 28px;
    }
}

/* QUALITY SECTION */
.quality-section {
    margin-top: 30px;
    padding: 90px 20px;
    background: #0f172a;
    font-family: "Segoe UI", sans-serif;
  }
  
  .quality-container {
    background: #ffffff;
    max-width: 1200px;
    margin: auto;
    padding: 70px 60px;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  }
  
  /* Title */
  .quality-title {
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    color: #0f172a;
  }
  
  .quality-underline {
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, #0b7f83, #1e40af);
    margin: 12px auto 30px;
    border-radius: 10px;
  }
  
  /* Description */
  .quality-desc {
    max-width: 950px;
    margin: auto;
    text-align: center;
    font-size: 15px;
    line-height: 1.7;
    color: #0f172a;
  }
  
  /* Grid */
  .quality-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
  }
  
  /* Card */
  .quality-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 28px 22px;
    border-left: 4px solid #0f172a;
    border-right: 4px solid #0f172a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .quality-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  }
  
  .quality-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 10px;
  }
  
  .quality-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
  }
  
  /* Standards */
  .quality-standards {
    margin-top: 55px;
    background: #cedcfe;
    border-radius: 14px;
    padding: 30px 20px;
    text-align: center;
    color: #000000;
  }
  
  .quality-standards h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000000;

  }
  
  .quality-standards p {
    font-size: 14px;
    letter-spacing: 1px;
    opacity: 0.9;
  }
  
  /* Responsive */
  @media (max-width: 992px) {
    .quality-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .quality-container {
      padding: 50px 30px;
    }
  }
  
  @media (max-width: 576px) {
    .quality-grid {
      grid-template-columns: 1fr;
    }
  
    .quality-title {
      font-size: 26px;
    }
  }
  