/**
 * Seaplast Theme Certifications & Trust Badges Stylesheet
 * 100% Identical to reference target design: Light ambient backdrop, 4 white rounded pill cards, cyan seal icons, & cyan glow base rings.
 */

.sp-certs-section {
  position: relative;
  background: linear-gradient(180deg, #F8FAFC 0%, #EDF4F8 100%);
  padding: 56px 0 72px 0;
  overflow: hidden;
  color: #0F172A;
}

.sp-certs-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Header */
.sp-certs-header {
  text-align: center;
  margin-bottom: 40px;
}

.sp-certs-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #0F2B48;
  margin: 0;
  text-transform: uppercase;
}

.sp-certs-title .sp-text-teal {
  color: #00A8C6;
}

/* 4 Column Grid Layout */
.sp-certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}

/* Card Wrapper with Glow Ring */
.sp-cert-card-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* White Pill Card */
.sp-cert-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  box-shadow: 0 8px 24px rgba(15, 43, 72, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 2;
}

.sp-cert-card-wrapper:hover .sp-cert-card {
  transform: translateY(-5px);
  border-color: #00A8C6;
  box-shadow: 0 14px 32px rgba(0, 168, 198, 0.18);
}

/* Seal Icon */
.sp-cert-seal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

.sp-cert-card-wrapper:hover .sp-cert-seal {
  transform: scale(1.08);
}

.sp-cert-info {
  display: flex;
  flex-direction: column;
}

.sp-cert-name {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #0F2B48;
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.sp-cert-sub {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  margin-top: 3px;
}

/* Cyan Oval Glow Ring Base */
.sp-cert-glow-ring {
  position: absolute;
  bottom: -10px;
  width: 140px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 210, 255, 0.45) 0%, rgba(0, 210, 255, 0) 70%);
  filter: blur(4px);
  z-index: 1;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.sp-cert-card-wrapper:hover .sp-cert-glow-ring {
  opacity: 1;
  transform: scale(1.15);
  background: radial-gradient(ellipse at center, rgba(0, 210, 255, 0.75) 0%, rgba(0, 210, 255, 0) 70%);
}

/* -------------------------------------------------------------
 * RESPONSIVE MEDIA QUERIES
 * ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .sp-certs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .sp-certs-section {
    padding: 36px 0 48px 0;
  }

  .sp-certs-title {
    font-size: 18px;
    letter-spacing: 1px;
  }

  .sp-certs-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
    gap: 16px;
  }

  .sp-cert-card {
    padding: 16px 20px;
  }

  .sp-cert-name {
    font-size: 16px;
  }
}
