/* ===== CERTIFICATIONS =====*/
#certification {
  margin: auto;
  text-align: center;
  justify-content: center;
  margin: 0% 15%;
}

.certificates-box {
  width: 350px;
  padding: 0px 25px;
  margin: 20px;
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 50px;
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.certificates-box:hover {
  transform: scale(0.97);
}

.certificates-box img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  -webkit-box-shadow: 0 0 38px 0 rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 0 38px 0 rgba(0, 0, 0, 0.3);
  box-shadow: -4px 4px 25px rgba(225, 225, 255, 0.3);
}

.swiper-container {
  width: 100%;
  height: auto;
  margin: auto;
  position: relative;
  overflow: hidden;
  /* padding-bottom: 50px; */
}
.swiper-wrapper {
  display: flex;
  transition-timing-function: ease-in-out;
}

.swiper-slide {
  position: relative;
  width: 100%;
  max-width: 350px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: -4px 4px 25px rgba(225, 225, 255, 0.3);
}

/* Certificate details */
.cert-info {
  position: absolute;
  top: 75px;
  left: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 15px;
  border-radius: 10px;
  display: none;
  text-align: center;
}
.cert-info h3 {
  font-size: 12px;
  font-style: normal;
  color: #109fe7;
}
.cert-info p {
  font-size: 10px;
  font-weight: 600;
  font-style: italic;
}
/* Show details when hovering */
.swiper-slide:hover .cert-info {
  display: block;
}

.cert-link {
  font-size: 10px;
  color: #ffd700;
  text-decoration: none;
  display: block;
  margin-top: 10px;
}

.cert-link:hover {
  text-decoration: underline;
}
.navigation-btns {
  display: block;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  width: 30px;
  height: 30px;
  background-size: 20px 20px;
  font-size: 30px !important;
}

@media (max-width: 768px) {
  #certification {
    margin: 0 5px;
  }
  .navigation-btns {
    display: b;
  }
  .swiper-button-next,
  .swiper-button-prev {
    width: 20px !important;
    height: 20px !important;
    /* font-size: 16px !important; */
  }
}
