/* Estilos específicos para os certificados */

.certificate-card {
  background: linear-gradient(145deg, #2d2d30, #1a1a1c) !important;
  border: 1px solid #404040 !important;
  border-radius: 12px !important;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.certificate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(77, 140, 236, 0.1), transparent);
  transition: left 0.6s ease;
}

.certificate-card:hover::before {
  left: 100%;
}

.certificate-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(77, 140, 236, 0.3);
  border-color: #4d8cec;
}

.certificate-card .bi-award {
  font-size: 1.2rem;
  filter: drop-shadow(0 0 5px rgba(255, 193, 7, 0.5));
}

.certificate-card .btn {
  background: linear-gradient(45deg, #4d8cec, #85b7ff);
  border: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.certificate-card .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.certificate-card .btn:hover::before {
  left: 100%;
}

.certificate-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(77, 140, 236, 0.4);
  background: linear-gradient(45deg, #85b7ff, #4d8cec);
}

.certificate-card .btn:active {
  transform: translateY(0);
}

/* Animação de entrada para os cards */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.certificate-card {
  animation: slideInUp 0.6s ease forwards;
}

.certificate-card:nth-child(1) { animation-delay: 0.1s; }
.certificate-card:nth-child(2) { animation-delay: 0.2s; }
.certificate-card:nth-child(3) { animation-delay: 0.3s; }
.certificate-card:nth-child(4) { animation-delay: 0.4s; }

/* Responsividade */
@media (max-width: 768px) {
  .certificate-card {
    margin-bottom: 1.5rem;
  }
  
  .certificate-card:hover {
    transform: translateY(-4px) scale(1.01);
  }
}