.elementor-520 .elementor-element.elementor-element-ea2b1a2{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:-21px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}@media(max-width:767px){.elementor-520 .elementor-element.elementor-element-bb3c363{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}}/* Start custom CSS for html, class: .elementor-element-bb3c363 *//* Section */
.certificates-section {
  background: #DEEEFF;
  color: #000;
  padding: 30px 20px;
  overflow: hidden;
  position: relative;
}

.certificates-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), transparent 70%);
  animation: floatBackground 15s linear infinite;
  z-index: 0;
}

@keyframes floatBackground {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Titles */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 50px;
  opacity: 0.8;
  position: relative;
  z-index: 1;
}

/* Certificates Grid */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

@media (max-width: 992px) {
  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .certificates-grid {
    grid-template-columns: 1fr;
  }
}

/* Certificate Cards */
.certificate-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: floatCard 6s ease-in-out infinite alternate;
}

.certificate-card:nth-child(odd) {
  animation-delay: 1s;
}

.certificate-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

@keyframes floatCard {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

.certificate-card img {
  width: 100%;
  height: auto;
  border-radius: 15px 15px 0 0;
  display: block;
  transition: transform 0.5s ease;
}

.certificate-card:hover img {
  transform: scale(1.05);
}

/* Caption under certificate */
.certificate-caption {
  font-size: 1rem;
  font-family: mulish;
  padding: 12px;
  background: #fff;
  color: #000;
  font-weight: 500;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(6px);
  z-index: 999;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.4s ease;
}

.lightbox:target {
  display: flex;
}

.lightbox-background {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.lightbox-content {
  position: relative;
  z-index: 1;
  text-align: center;
  animation: zoomIn 0.4s ease;
}

.lightbox-content img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lightbox-caption {
  color: #fff;
  font-size: 1.1rem;
  margin-top: 15px;
  font-weight: 500;
}

/* Animations */
@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive Typography */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .certificates-section {
    padding: 30px 12px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.6rem;
  }
  .section-subtitle {
    font-size: 1rem;
  }
  .lightbox-content img {
    max-width: 95%;
    max-height: 75vh;
  }
  .certificate-caption {
    font-size: 0.9rem;
  }
}/* End custom CSS */