/* Certificates page specific styles */

/* Category Hero */
.category-hero {
  text-align: center;
  padding: 40px 0;
}

.breadcrumb {
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--accent-2);
}

.category-hero h1 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 16px;
  text-shadow: 0 8px 40px rgba(110, 255, 214, 0.1);
}

.category-hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Certificates Grid */
.certificates-grid {
  margin-top: 32px;
}

.certificate-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.certificate-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  overflow: hidden;
}

.certificate-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(110, 255, 214, 0.15);
}

.certificate-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #000;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.certificate-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.certificate-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
  line-height: 1.4;
}

.certificate-card p {
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.certificate-details {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  text-align: left;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-item .label {
  color: var(--muted);
  font-weight: 500;
}

.detail-item .value {
  color: var(--text);
  font-weight: 600;
}

.certificate-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(110, 255, 214, 0.2);
}

/* Enhanced button styling for certificates */
.certificate-card .btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(110, 255, 214, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
}

.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;
}

.certificate-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(110, 255, 214, 0.4);
  filter: brightness(1.1);
}

.certificate-card .btn:hover::before {
  left: 100%;
}

.certificate-card .btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(110, 255, 214, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .category-hero h1 {
    font-size: 2rem;
  }
  
  .certificate-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .certificate-card {
    padding: 24px 20px;
  }
  
  .certificate-icon {
    font-size: 2.5rem;
  }
  
  .certificate-price {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .category-hero h1 {
    font-size: 1.8rem;
  }
  
  .category-hero p {
    font-size: 1rem;
  }
  
  .certificate-card h3 {
    font-size: 1.2rem;
  }
  
  .certificate-price {
    font-size: 1.6rem;
  }
}
