/* Networking Section */
#networking {
  padding: 60px 20px;
  text-align: center;
}

.networking-title {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.networking-subtext {
  font-size: 1rem;
  color: var(--muted-color);
  margin-bottom: 60px;
  max-width: 700px;
  margin-inline: auto;
}

/* Main Columns */
.platform-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* ✅ Centrează coloanele */
  gap: 60px;
  text-align: center;
}

.platform-column {
  flex: 1 1 480px;
  max-width: 550px;
  margin: 0 auto; /* ✅ Dacă rămâne spațiu, coloana e centrată */
}

/* Titlul coloanelor cu hover subtil */
.platform-column h3 {
  font-size: 1.4rem;
  color: white;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-bottom: 1px solid var(--accent-color);
  padding-bottom: 10px;
  /* Adăugăm tranziție pentru culoare și transform */
  transition: color 0.3s ease, transform 0.3s ease;
}

.platform-column h3:hover {
  color: var(--accent-color);
  transform: scale(1.02);
}

/* Grid Layout */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  justify-content: center; /* ✅ Centrează cărțile în grid */
}

/* Card Design */
.social-card {
  background-color: transparent;
  border: 1px solid var(--accent-color);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  text-decoration: none !important;
  transition: all 0.3s ease;
  color: white;

  /* Dimensiuni de bază */
  width: 180px;
  height: 170px;

  /* Centrează conținutul în interior */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  /* Centrează cardul în celula grid (dacă e loc) */
  margin: 0 auto;
}

.social-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 0 25px rgba(178, 154, 255, 0.25);
}

/* Profile pic styling */
.profile-pic {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 10px;
  border: 2px solid var(--accent-color);
  object-fit: cover;
}

/* Text Styling */
.social-card span {
  font-weight: 700;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
  color: white;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.social-card small {
  font-size: 0.75rem;
  color: var(--muted-color);
  white-space: nowrap;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.social-card:hover span,
.social-card:hover small {
  color: #b29aff;
  text-decoration: none !important;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .networking-title {
    font-size: 2rem;
  }
  .networking-subtext {
    font-size: 0.95rem;
    margin-bottom: 40px;
  }

  .platform-group {
    gap: 40px;
  }

  .platform-column h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 500px) {
  .networking-title {
    font-size: 1.8rem;
  }
  .networking-subtext {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .social-card {
    /* width: max-content; */
    height: auto;
    padding: 15px;
  }

  .social-card span {
    font-size: 0.82rem;
    max-width: 100%;
  }

  .social-card small {
    font-size: 0.72rem;
  }
}