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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #0a0a0a;
  color: #eee;
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
  padding-top: 70px; 
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #111;
}
::-webkit-scrollbar-thumb {
  background: #4da3ff;
  border-radius: 10px;
}

.nav-tech {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0a0a0a; 
  border-bottom: 2px solid #4da3ff;
  z-index: 9999;
}

.nav-logo {
  color: #4da3ff;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 1.5px;
  cursor: default;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #e0e0e0;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #4da3ff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: #4da3ff;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

section {
  scroll-margin-top: 90px; 
}

#hero {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 40px 20px 80px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: center;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 1000px;
}

.hero-text {
  max-width: 500px;
}

.hero-text h1 {
  font-size: 3rem;
  color: #4da3ff;
  margin-bottom: 15px;
  text-shadow: 0 0 5px #4da3ff;
}

.hero-text h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ccc;
}

.hero-text p {
  font-size: 1.1rem;
  color: #bbb;
  margin-bottom: 30px;
  line-height: 1.5;
}

.btn-primary {
  background: linear-gradient(135deg, #4da3ff, #7b54ff);
  padding: 12px 25px;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 40px;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 15px #7b54ffaa;
  transition: box-shadow 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  box-shadow: 0 0 30px #7b54ffcc;
}

.hero-img img {
  width: 180px; 
  border-radius: 50%;
  border: 4px solid #4da3ff;
  box-shadow: 0 0 20px #4da3ffaa;
  object-fit: cover;
}

#stats {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 20px;
  text-align: center;
}

#stats h2 {
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: #4da3ff;
  text-shadow: 0 0 8px #4da3ff55;
}

.stats-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-card {
  background: rgba(77, 163, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 30px 40px;
  border-radius: 15px;
  width: 220px;
  color: #4da3ff;
  box-shadow: 0 0 15px #4da3ff55;
  transition: transform 0.3s ease;
  cursor: default;
  user-select: none;
}

.stat-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px #4da3ffaa;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-text {
  font-size: 1.1rem;
  font-weight: 600;
}

#skills {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 20px;
  text-align: center;
}

#skills h2 {
  margin-bottom: 40px;
  color: #4da3ff;
  text-shadow: 0 0 8px #4da3ff55;
  font-size: 2rem;
}

.skills-container {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.skill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: default;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.skill img {
  width: 70px;
  filter: drop-shadow(0 0 3px #4da3ff);
  transition: filter 0.3s ease;
}

.skill span {
  font-weight: 600;
  color: #ccc;
  font-size: 1rem;
  text-shadow: 0 0 5px #4da3ffaa;
}

.skill:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px #7b54ff);
}

#projects {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 20px;
  text-align: center;
}

#projects h2 {
  margin-bottom: 40px;
  color: #4da3ff;
  text-shadow: 0 0 8px #4da3ff55;
  font-size: 2rem;
}

.projects-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.project-card {
  background: rgba(10, 10, 10, 0.8);
  padding: 25px 20px;
  border-radius: 15px;
  border: 2px solid #4da3ff;
  box-shadow: 0 0 15px #4da3ff55;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.project-card:hover {
  box-shadow: 0 0 30px #7b54ffcc;
  transform: translateY(-10px);
}

.project-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.project-card h3 {
  color: #7b54ff;
  margin-bottom: 10px;
  text-shadow: 0 0 8px #7b54ffaa;
  font-size: 1.5rem;
}

.project-card p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #bbb;
}

.project-tech {
  font-size: 0.95rem;
  color: #4da3ff;
  font-weight: 600;
  text-shadow: 0 0 6px #4da3ffaa;
  margin-bottom: 10px;
}

.project-repo {
  display: inline-block;
  font-size: 0.95rem;
  color: #8888ff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.project-repo:hover {
  color: #7b54ff;
}

#contact {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 0 20px;
  text-align: center;
  color: #bbb;
}

#contact h2 {
  margin-bottom: 25px;
  color: #4da3ff;
  text-shadow: 0 0 8px #4da3ff55;
  font-size: 2rem;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-links a {
  color: #4da3ff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-links a:hover {
  color: #7b54ff;
}

footer {
  text-align: center;
  padding: 25px 0;
  color: #444;
  border-top: 1px solid #222;
  font-size: 0.9rem;
  letter-spacing: 1.2px;
}

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

@media (max-width: 900px) {
  .projects-list {
    grid-template-columns: 1fr;
  }
}
