/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #fff;
  background-color: #000;
  transition: background-color 0.3s, color 0.3s;
}

/* Particles Background */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Overlay for readability */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: -1;
}

/* Dark Mode Toggle */
#darkModeToggle {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 10px 15px;
  font-size: 18px;
  background: #001f3f;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1000;
}

/* Header */
header {
  background-color: #001f3f;
  color: white;
  padding: 20px;
  text-align: center;
}

header h1 {
  margin: 0;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

nav a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

nav a:hover {
  color: #0074D9;
}

/* Hero Section */
#hero {
  text-align: center;
  padding: 100px 20px 60px;
  animation: fadeIn 1s ease-in;
}

#hero h2 {
  font-size: 2.5rem;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: white;
  color: #001f3f;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}

.btn:hover {
  background: #f1f1f1;
}

/* Sections */
section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
  animation: fadeInUp 1s ease-in;
}

h2 {
  color: #0074D9;
  margin-bottom: 20px;
}

/* Skills, Certifications, Competencies */
#skills ul, #certifications ul, #competencies ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#skills li, #certifications li, #competencies li {
  background-color: #0074D9;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.95rem;
}

/* Projects */

}

#projects .project:hover {
  transform: translateY(-5px);
}

/* Footer */
footer {
  background-color: #001f3f;
  color: white;
  text-align: center;
  padding: 20px;
}

/* Dark Mode */
body.dark-mode {
  background-color: #121212;
  color: #f1f1f1;
}

body.dark-mode header,
body.dark-mode footer {
  background-color: #1f1f1f;
}

body.dark-mode #skills li,
body.dark-mode #certifications li,
body.dark-mode #competencies li {
  background-color: #1f1f1f;
  color: white;
  border: 1px solid #0074D9;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}