/* ============================================
   Certifications & Compliance Marquee Section
   sgn-cert- prefix for all classes
   ============================================ */

/* Section container */
.sgn-cert-section {
  padding: 60px 0 50px;
  background: #fafbfc;
  border-top: 1px solid #e8ecf0;
  border-bottom: 1px solid #e8ecf0;
  overflow: hidden;
  position: relative;
}

/* Section header */
.sgn-cert-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 20px;
}

.sgn-cert-heading {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}

.sgn-cert-subheading {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  color: #6b7280;
  margin: 0;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Category labels */
.sgn-cert-category-label {
  text-align: center;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 18px;
  position: relative;
}

.sgn-cert-category-label::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #82b440, #4caf50);
  margin: 8px auto 0;
  border-radius: 2px;
}

/* Marquee container */
.sgn-cert-marquee-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

/* Fade edges */
.sgn-cert-marquee-wrap::before,
.sgn-cert-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.sgn-cert-marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, #fafbfc 0%, transparent 100%);
}

.sgn-cert-marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, #fafbfc 0%, transparent 100%);
}

/* Marquee track */
.sgn-cert-marquee-track {
  display: flex;
  align-items: center;
  gap: 80px;
  animation: sgn-cert-scroll 30s linear infinite;
  width: max-content;
}

/* Pause on hover */
.sgn-cert-marquee-wrap:hover .sgn-cert-marquee-track {
  animation-play-state: paused;
}

/* Individual logo item */
.sgn-cert-logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 12px;
  padding: 14px 22px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.sgn-cert-logo-item:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Logo image — bold, filled, high-resolution display */
.sgn-cert-logo-img {
  height: 100px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  filter: none;
  opacity: 1;
}

/* "and more..." text item */
.sgn-cert-more-text {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0fdf4, #e8f5e9);
  border-radius: 12px;
  padding: 14px 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #2e7d32;
  font-style: italic;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Trust line */
.sgn-cert-trust-line {
  text-align: center;
  padding: 0 20px;
  margin-top: 10px;
}

.sgn-cert-trust-text {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  font-size: 13px;
  color: #6b7280;
  font-style: italic;
  margin: 0;
  letter-spacing: 0.3px;
}

.sgn-cert-trust-text::before {
  content: '✦ ';
  color: #82b440;
}

.sgn-cert-trust-text::after {
  content: ' ✦';
  color: #82b440;
}

/* Section divider accent */
.sgn-cert-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 28px auto 22px;
  max-width: 400px;
}

.sgn-cert-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d1d5db, transparent);
}

.sgn-cert-divider-icon {
  font-size: 14px;
  color: #82b440;
}

/* Scrolling animation keyframes */
@keyframes sgn-cert-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ============================================
   Responsive Styles
   ============================================ */

@media (max-width: 992px) {
  .sgn-cert-section {
    padding: 45px 0 40px;
  }

  .sgn-cert-heading {
    font-size: 26px;
  }

  .sgn-cert-marquee-track {
    gap: 60px;
    animation-duration: 25s;
  }

  .sgn-cert-logo-img {
    height: 80px;
  }

  .sgn-cert-marquee-wrap::before,
  .sgn-cert-marquee-wrap::after {
    width: 50px;
  }
}

@media (max-width: 768px) {
  .sgn-cert-section {
    padding: 35px 0 30px;
  }

  .sgn-cert-heading {
    font-size: 22px;
  }

  .sgn-cert-subheading {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .sgn-cert-header {
    margin-bottom: 28px;
  }

  .sgn-cert-marquee-track {
    gap: 45px;
    animation-duration: 22s;
  }

  .sgn-cert-logo-item {
    padding: 10px 16px;
    border-radius: 10px;
  }

  .sgn-cert-logo-img {
    height: 65px;
    max-width: 170px;
  }

  .sgn-cert-category-label {
    font-size: 11px;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
  }

  .sgn-cert-marquee-wrap {
    margin-bottom: 22px;
  }

  .sgn-cert-marquee-wrap::before,
  .sgn-cert-marquee-wrap::after {
    width: 30px;
  }

  .sgn-cert-trust-text {
    font-size: 11px;
  }

  .sgn-cert-more-text {
    font-size: 13px;
    padding: 10px 22px;
  }
}

@media (max-width: 480px) {
  .sgn-cert-section {
    padding: 28px 0 24px;
  }

  .sgn-cert-heading {
    font-size: 19px;
  }

  .sgn-cert-subheading {
    font-size: 11px;
  }

  .sgn-cert-marquee-track {
    gap: 30px;
    animation-duration: 18s;
  }

  .sgn-cert-logo-item {
    padding: 8px 12px;
    border-radius: 8px;
  }

  .sgn-cert-logo-img {
    height: 50px;
    max-width: 140px;
  }

  .sgn-cert-marquee-wrap::before,
  .sgn-cert-marquee-wrap::after {
    width: 20px;
  }
}