#preloader {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.loader {
  border: 5px solid #333;
  border-top: 5px solid #1abc9c; /* teal loader highlight */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

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

canvas#bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: -1;
}

.overlay {
  position: fixed;
  top: 30%;
  width: 100%;
  text-align: center;
  pointer-events: none;
  z-index: 5; 
}

.name-title {
  font-size: clamp(2.5rem, 10vw, 5rem);
  color: #00ff99; /* Keep glow accent */
  font-weight: bold;
  text-shadow: 0 0 3px #00ff99, 0 0 6px #00ff99;
  margin-bottom: 0.5rem;
  animation: glowPulse 5s infinite ease-in-out;
  position: relative;
}

.name-title::before {
  content: '';
  position: absolute;
  top: -0.5rem;
  left: 0;
  right: 0;
  bottom: -0.5rem;
  background: rgba(0, 0, 0, 0);
  border-radius: 5px;
  z-index: -1;
}

@keyframes glowPulse {
  0% { text-shadow: 0 0 1px #00ff99, 0 0 3px #00ff99; }
  50% { text-shadow: 0 0 3px #00ff99, 0 0 6px #00ff99; }
  100% { text-shadow: 0 0 1px #00ff99, 0 0 3px #00ff99; }
}

.subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: #ccc;
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(135deg, #0a0a0a 0%, #111 100%);
  color: #f0f0f0; /* Clear bright text */
  font-family: 'Helvetica Neue', sans-serif;
  margin: 0;
}

.content {
  padding-top: 75vh;
}

section {
  background: rgba(100, 100, 100, 0);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 4px 30px rgba(0, 191, 255, 0.1); /* sky blue shadow */
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  padding: 2rem;
  margin: 2rem auto;
  max-width: 1000px;
}

h2 {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(90deg, #00bfff, #1abc9c); /* sky blue to teal */
  color: #0a0a0a;
  border-radius: 50px;
  font-weight: bold;
  font-size: 2rem;
  box-shadow: 0 0 10px #1abc9c, 0 0 10px #00bfff;
  margin-bottom: 1.5rem;
}

section p,
section li {
  color: #f0f0f0;
  text-shadow: 0 0 3px rgba(0,0,0,0.7);
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

section ul {
  list-style: none;
  padding-left: 0;
}

section li::before {
  content: "⚡";
  color: #1abc9c; /* teal bullet */
  margin-right: 0.5rem;
}

a {
  color: #00bfff;
}

a:hover {
  text-decoration: underline;
}

/* Reuse your existing styles + add enhancements for the new sections */
/* About section styling */
#about p {
  margin-bottom: 1rem;
}

#about ul {
  padding-left: 1rem;
  list-style: disc;
}

#about li {
  margin-bottom: 0.5rem;
  color: #f0f0f0;
}

/* Skills as tags */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.tag-list li {
  background: rgba(0, 191, 255, 0.2);
  border: 1px solid rgba(0, 191, 255, 0.4);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 1rem;
  color: #f0f0f0;
  box-shadow: 0 0 5px rgba(0, 191, 255, 0.2);
}

/* Competencies and initiatives lists */
#competencies ul,
#initiatives ul,
#contact ul {
  list-style: none;
  padding-left: 0;
}

#competencies li::before {
  content: "✅";
  margin-right: 0.5rem;
  color: #1abc9c;
}

#initiatives li::before {
  content: "🌟";
  margin-right: 0.5rem;
}

#contact li::before {
  content: "🔗";
  margin-right: 0.5rem;
}

#initiatives p {
  margin-bottom: 1rem;
}

a {
  color: #00bfff;
}

a:hover {
  text-decoration: underline;
}

.overlay.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

footer {
  position: relative;
  z-index: 2; /* above canvas, safe below overlay if you want */
  padding: 1rem;
  text-align: center;
  color: #ccc;
  background: rgba(0, 0, 0, 0.3); /* optional for visibility */
}
footer a {
  color: #00bfff;
}
