/* Main section container */
.who-we-are-section {
  max-width: 900px;
  margin: 4rem auto;
  padding: 3rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--accent-primary);
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

/* Title with a glitch effect */
.cyber-title {
  font-size: 2.5rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  color: var(--text-primary);
  position: relative;
}
.cyber-title::before,
.cyber-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* Subtle offset for glitch layers */
  opacity: 0.7;
}
.cyber-title::before {
  left: 2px;
  text-shadow: -1px 0 var(--neon-secondary);
  animation: glitch-1 2s infinite ease-in-out alternate-reverse;
}
.cyber-title::after {
  left: -2px;
  text-shadow: 1px 0 var(--neon-tertiary);
  animation: glitch-2 2.5s infinite ease-in-out alternate-reverse;
}

/* Body text styling */
.who-content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.who-content h2 {
  font-family: var(--font-display);
  color: var(--neon-primary);
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.who-content ul {
  padding-left: 1.75rem;
  margin-bottom: 1.5rem;
}

.who-content li {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.6rem;
}

.who-content a {
  color: var(--neon-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.who-content a:hover {
  border-bottom-color: var(--neon-primary);
  text-shadow: 0 0 5px var(--neon-primary);
}

/* Glitch keyframes */
@keyframes glitch-1 {
  0% { clip-path: inset(0 0 0 0); }
  20% { clip-path: inset(20% 0 0 0); }
  40% { clip-path: inset(0 25% 0 0); }
  60% { clip-path: inset(50% 0 0 0); }
  80% { clip-path: inset(0 0 30% 0); }
  100% { clip-path: inset(0 0 0 0); }
}
@keyframes glitch-2 {
  0% { clip-path: inset(0 0 0 0); }
  25% { clip-path: inset(0 0 40% 0); }
  50% { clip-path: inset(15% 0 0 0); }
  75% { clip-path: inset(0 25% 0 0); }
  100% { clip-path: inset(0 0 0 0); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .who-we-are-section {
    margin: 2rem 1rem;
    padding: 2rem;
  }
  .cyber-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  .who-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
}
