.baixiu_qualifications {
  padding: var(--component-gap) 0;
  background: var(--bg-color);
}

.baixiu_qualifications .section-header {
  text-align: center;
  margin-bottom: var(--gap-80);
}

.baixiu_qualifications .section-title {
  text-align: center;
}

.baixiu_qualifications .section-desc {
  text-align: center;
  margin-top: var(--gap-10);
  max-width: 50%;
  margin-left: auto;
  margin-right: auto;
}

.baixiu_qualifications .certificate-box {
  position: relative;
}

.baixiu_qualifications .certificate-box .swiper {
  padding: .625rem;
}

.baixiu_qualifications .certificate-box .swiper-slide {
  height: 100%;
}

.baixiu_qualifications .certificate-box .swiper-slide img {
  width: 100%;
  aspect-ratio: 266 / 348;
  object-fit: cover;
  object-position: center;
  border-radius: 0.625rem;
  box-shadow: 0 0px .625rem 0 rgba(0, 0, 0, 0.1);
}

.baixiu_qualifications .certificate-img-clickable {
  cursor: pointer;
  transition: all 0.3s ease;
}

.baixiu_qualifications .certificate-img-clickable:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

/* ===== Image Modal ===== */
.baixiu_qualifications .certificate-image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.baixiu_qualifications .certificate-image-modal.active {
  display: flex;
  opacity: 1;
}

.baixiu_qualifications .certificate-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.baixiu_qualifications .certificate-modal-image {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  z-index: 10000;
  animation: baixiuZoomIn 0.3s ease;
}

@keyframes baixiuZoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.baixiu_qualifications .certificate-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
  color: #333;
  transition: all 0.3s ease;
  font-weight: 300;
  z-index: 10001;
}

.baixiu_qualifications .certificate-modal-close:hover {
  background: #fff;
  transform: rotate(90deg);
}

@media screen and (max-width: 768px) {
  .baixiu_qualifications .section-desc {
    max-width: 100%;
  }

  .baixiu_qualifications .certificate-modal-image {
    max-width: 95vw;
    max-height: 85vh;
  }
}