/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0a192f;
  color: #ccd6f6;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 0;
}

.navbar {
  background-color: #112240;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: #64ffda;
  font-size: 1.5rem;
  font-family: 'Fira Code', monospace;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  text-decoration: none;
  color: #ccd6f6;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #64ffda;
}

.hero-section {
  padding: 100px 0;
  text-align: center;
}

.hero-section h2 {
  color: #8892b0;
  font-size: 1.5rem;
}

.hero-section h1 {
  color: #64ffda;
  font-size: 3rem;
  margin: 10px 0;
}

.hero-section h3 {
  color: #a8b2d1;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero-section p {
  color: #a8b2d1;
  max-width: 600px;
  margin: 0 auto;
}

.hero-section .btn {
  margin-top: 25px;
  display: inline-block;
  padding: 12px 24px;
  background-color: #64ffda;
  color: #0a192f;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.hero-section .btn:hover {
  background-color: #52e0c4;
}

.about-section, .contact-section, .skills-section, .projects-section {
  text-align: center;
  padding: 80px 20px;
}

.about-section, .projects-section {
  background-color: #112240;
}

.about-section h2,
.skills-section h2,
.projects-section h2,
.contact-section h2 {
  font-size: 2.5rem;
  color: #64ffda;
  margin-bottom: 30px;
}

.about-section p, .contact-section p, .projects-section p {
  font-size: 1.1rem;
  color: #a8b2d1;
  max-width: 700px;
  margin: 0 auto 15px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.skill {
  background-color: #112240;
  padding: 15px 20px;
  border-radius: 8px;
  color: #64ffda;
  font-family: 'Fira Code', monospace;
  font-weight: bold;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.skill:hover {
  transform: scale(1.05);
  background-color: #233554;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.project-card {
  background-color: #0a192f;
  border-radius: 10px;
  padding: 20px;
  text-align: left;
  border: 1px solid #233554;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.project-card h3 {
  color: #64ffda;
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-family: 'Fira Code', monospace;
}

.project-link {
  color: #64ffda;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.3s ease;
}

.project-link:hover {
  border-bottom: 2px solid #64ffda;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

input, textarea {
  width: 100%;
  padding: 12px;
  background-color: #233554;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
}

button {
  padding: 12px;
  background-color: #64ffda;
  color: #0a192f;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  background-color: #52e0c4;
}

.form-status {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #64ffda;
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
