:root {
  --bg-color: #000000;
  --accent: #2E8BC0; /* Deep Cyan Blue */
  --text-light: #eaeaea;
  --text-muted: #9ca3af;
  --font-heading: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-light);
  font-family: var(--font-body);
  line-height: 1.7;
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(62, 184, 165, 0.2);
  padding: 1rem 0;
  z-index: 1000;
}

.navbar .container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.5rem;
}

.logo span {
  color: var(--accent);
}

.navbar nav a {
  color: var(--text-muted);
  margin-left: 1.5rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar nav a:hover {
  color: var(--accent);
}

/* Base hidden */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #0cf; /* electric blue accent */
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animate when active (turn into "X") */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Show on mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav {
    display: none;
    flex-direction: column;
    background: #0a0a0a;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 200px;
    border: 1px solid #0cf;
    border-radius: 8px;
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  nav a:last-child {
    border-bottom: none;
  }
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle at 50% 50%, rgba(62, 184, 165, 0.1), transparent 70%);
  padding: 2rem;
}

.hero h1 {
  font-size: 3rem;
  font-family: var(--font-heading);
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: 1.2rem;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #000;
  padding: 0.8rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  margin-top: 2rem;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
}

/* Sections */
section {
  padding: 6rem 0;
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

h2 {
  font-family: var(--font-heading);
  color: var(--accent);
  margin-bottom: 1.5rem;
}

/* Expertise */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.skill-card {
  background: #111;
  border: 1px solid rgba(62, 184, 165, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.skill-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

/* Talks */
.talks-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.talk-item {
  border-left: 3px solid var(--accent);
  padding-left: 1.2rem;
}

/* Contact */
.contact {
  text-align: center;
  background: #0a0a0a;
}

.btn-secondary {
  display: inline-block;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.8rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  margin-top: 1.5rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
  background: var(--accent);
  color: #000;
}

.socials {
  margin-top: 2rem;
}

.socials a {
  margin: 0 1rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.socials a:hover {
  color: var(--accent);
}

/* Footer */
.footer {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem 0;
  font-size: 0.9rem;  
}

section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Particle Background Canvas */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: var(--bg-color);
}

.hero, .navbar, section, footer {
  position: relative;
  z-index: 1;
}

.skills-section {
  background: #000;
  color: #e0e0e0;
  padding: 3rem 1rem;
  /*text-align: center;*/
}

/*
.skills-section h2 {
  color: var(--teal);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}
*/

#skillsBarChart {
  width: 100%;
  max-width: 700px;
  max-height: 500px;
  display: block;
  margin: 0 auto;
}

