/* =========================
   Certificates Section
   ========================= */
#certificates-container {
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  border-radius: 20px;
  padding: 4rem 2rem;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
  color: #fff;
  overflow: hidden;
  position: relative;
}

/* Section Title */
#certificates-container h1 {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 3rem;
  text-align: center;
  animation: fadeInDown 1s ease-in-out;
}

/* Certificate Card */
.certificate-card {
  border: none;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  color: #fff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.certificate-card:nth-child(1) { animation-delay: 0.2s; }
.certificate-card:nth-child(2) { animation-delay: 0.4s; }
.certificate-card:nth-child(3) { animation-delay: 0.6s; }
/* add more delays for more cards */

/* Image Styling */
.certificate-card img {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  transition: transform 0.4s ease;
}

.certificate-card:hover img {
  transform: scale(1.05);
}

/* Hover Effect */
.certificate-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

/* Card Titles */
.certificate-card .card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffb703;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

/* Card Text */
.certificate-card .card-text {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.5;
}

/* =========================
   Animations
   ========================= */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
