/**
 * Social counter section — Contact page (WhatsApp, Facebook, Instagram, LinkedIn)
 * Scoped under .social-counter-section. Same design as snippet.
 */
.social-counter-section {
  --sc-bg-dark: #121212;
  --sc-primary-cyan: #00bcd4;
  --sc-text-heading: #e0e0e0;
  --sc-text-body: #b0bec5;
  --sc-social-whatsapp: #25d366;
  --sc-social-facebook: #3b5998;
  --sc-social-instagram: #c32aa3;
  --sc-social-linkedin: #0077b5;
}

.social-counter-section .social-counter-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1200px;
  width: 100%;
}

.social-counter-section .social-counter {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  width: calc(25% - 12px);
  min-width: 140px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}

.bg-gray-50 .social-counter-section .social-counter,
.social-counter-section .social-counter {
  background-color: rgba(0, 0, 0, 0.04);
}

.dark .social-counter-section .social-counter,
.bg-slate-950 .social-counter-section .social-counter {
  background-color: rgba(255, 255, 255, 0.05);
}

.social-counter-section .social-counter::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transition: width 0.5s ease;
}

.social-counter-section .social-counter:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.social-counter-section .social-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.social-counter-section .social-counter:hover .social-icon {
  transform: scale(1.1);
}

.social-counter-section .social-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--sc-text-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bg-gray-50 .social-counter-section .social-name,
.social-counter-section .social-name {
  color: #1f2937;
}

.dark .social-counter-section .social-name,
.bg-slate-950 .social-counter-section .social-name {
  color: #e2e8f0;
}

.social-counter-section .social-counter.whatsapp {
  --platform-color: var(--sc-social-whatsapp);
}
.social-counter-section .social-counter.facebook {
  --platform-color: var(--sc-social-facebook);
}
.social-counter-section .social-counter.instagram {
  --platform-color: var(--sc-social-instagram);
}
.social-counter-section .social-counter.linkedin {
  --platform-color: var(--sc-social-linkedin);
}

.social-counter-section .social-counter.whatsapp::before {
  background-color: var(--sc-social-whatsapp);
}
.social-counter-section .social-counter.facebook::before {
  background-color: var(--sc-social-facebook);
}
.social-counter-section .social-counter.instagram::before {
  background-color: var(--sc-social-instagram);
}
.social-counter-section .social-counter.linkedin::before {
  background-color: var(--sc-social-linkedin);
}

.social-counter-section .social-icon {
  color: var(--platform-color);
}

@media (max-width: 1200px) {
  .social-counter-section .social-counter {
    width: calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .social-counter-section .social-counter {
    width: calc(50% - 12px);
  }
}

@media (max-width: 480px) {
  .social-counter-section .social-counter {
    width: 100%;
  }
}

.social-counter-section .loading {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--sc-primary-cyan);
  animation: sc-spin 1s ease-in-out infinite;
}

@keyframes sc-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
