body {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  background: radial-gradient(ellipse at top, #0f0f1b, #060612);
  color: #fff;
  transition: background 0.5s, color 0.5s;
  overflow-x: hidden;
  padding-top: 100px;
}

body.light-mode {
  background: #f5f5f5;
  color: #111;
}

h1.light-mode {
  color: #111;
}

canvas#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

header, section, footer {
  position: relative;
  z-index: 1;
}

header {
  padding: 2rem;
  border-bottom: 1px solid #333;
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

header h1 {
  font-size: 2rem;
  color: #0ff;
  text-shadow: 0 0 10px #0ff;
}

nav a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
  margin: 0 0.5rem;
}

nav a:hover {
  color: #0ff;
}

.toggles button {
  margin-left: 1rem;
  background: none;
  border: 1px solid #0ff;
  color: #0ff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.toggles button:hover {
  background-color: rgba(0, 255, 255, 0.1);
}

.hero-img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border: 3px solid #0ff;
  box-shadow: 0 0 15px #0ff;
  margin-bottom: 1rem;
  margin-top: -60px;
}

.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  animation: fadeIn 2s ease-out;
}

nav.lightmode {
color: #111;
}

.hero h2 {
  font-size: 3rem;
  color: #0ff;
  text-shadow: 0 0 10px #0ff;
}

.hero p {
  max-width: 600px;
  margin-top: 1rem;
  font-size: 1.2rem;
  color: #ccc;
}

section {
  padding: 5rem 2rem;
}

.card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid #333;
  padding: 2rem;
  margin: 1rem 0;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 255, 255, 0.2);
}

.timeline {
  position: relative;
  margin: 2rem auto;
  padding-left: 30px;
  border-left: 3px solid #0ff;
  max-width: 800px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  animation: fadeIn 1s ease-in-out both;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0ff;
  box-shadow: 0 0 10px #0ff;
}

.timeline-item h4 {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
  color: #0ff;
}

.timeline-item p {
  margin: 0;
  font-size: 0.95rem;
  color: #ccc;
}

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #666;
  z-index: 1;
  position: relative;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  margin: 0.5rem 0;
}

/* body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode p,
body.light-mode a,
body.light-mode li {
  color: #111 !important;
} */

form input,
form textarea {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid #0ff;
  color: #fff;
}

body.light-mode form input,
body.light-mode form textarea {
  background-color: #fff;
  color: #111;
  border: 1px solid #111;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}