/* Certifications Component Styles - ENHANCED */
.certifications-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--soft) 100%);
}

/* Canadian Badge - Enhanced */
.canada-badge {
  background: linear-gradient(135deg, #469e83 0%, #469e83 100%);
  /* box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2); */
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.canada-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  /* background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent); */
  transform: rotate(30deg);
  transition: transform 0.6s ease;
}

.canada-badge:hover::before {
  transform: rotate(30deg) translateX(100%);
}

.canada-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
}

/* Enhanced Trust Stats */
.trust-stat {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.trust-stat::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.trust-stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.trust-stat:hover::after {
  transform: translateX(0);
}

/* Badge Items Enhancement */
.badge-item {
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.badge-item:hover {
  transform: translateX(8px);
  border-left-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Security Badges Enhancement */
.security-badge {
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.security-badge:hover {
  transform: translateX(8px);
  border-left-color: var(--primary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* Integration Logos Enhancement */
.integration-logo {
  transition: all 0.3s ease;
}

.integration-logo > div:first-child {
  transition: all 0.3s ease;
}

.integration-logo:hover {
  transform: translateY(-5px);
}

.integration-logo:hover > div:first-child {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Rating Stars Enhancement */
.rating-stars {
  color: #FFD700;
  letter-spacing: 2px;
  font-size: 1.1rem;
}

/* Section Headers Enhancement */
.section-header {
  position: relative;
  display: inline-block;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

/* Responsive adjustments - Enhanced */
@media (max-width: 1024px) {
  .certifications-section .grid {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .certifications-section {
    padding: 3rem 0;
  }
  
  .trust-stat {
    padding: 1.5rem;
  }
  
  .badge-item, .security-badge {
    padding: 1rem;
  }
}

@media (max-width: 640px) {
  .section-header::after {
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
  }
}

/* Enhanced Loading animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.badge-item, .security-badge, .integration-logo {
  animation: fadeInUp 0.5s ease-out forwards;
}

/* Staggered animation delays */
.badge-item:nth-child(1) { animation-delay: 0.1s; }
.badge-item:nth-child(2) { animation-delay: 0.2s; }
.badge-item:nth-child(3) { animation-delay: 0.3s; }
.security-badge:nth-child(1) { animation-delay: 0.15s; }
.security-badge:nth-child(2) { animation-delay: 0.25s; }
.security-badge:nth-child(3) { animation-delay: 0.35s; }
.security-badge:nth-child(4) { animation-delay: 0.45s; }
.security-badge:nth-child(5) { animation-delay: 0.55s; }
.integration-logo:nth-child(1) { animation-delay: 0.2s; }
.integration-logo:nth-child(2) { animation-delay: 0.3s; }
.integration-logo:nth-child(3) { animation-delay: 0.4s; }
.integration-logo:nth-child(4) { animation-delay: 0.5s; }
.integration-logo:nth-child(5) { animation-delay: 0.6s; }
.integration-logo:nth-child(6) { animation-delay: 0.7s; }