@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  font-family: 'Poppins', sans-serif;
}

html {
  font-size: 62.5%;
}

body {
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  background-color: black;
  color: white;
}

header {
  margin-top: 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 9%;
  background-color: transparent;
  filter: drop-shadow(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  font-size: 3rem;
  color: blue;
  font-weight: 800;
  cursor: pointer;
  transition: 0.5s ease;
  text-shadow: 0 0 5px blue;
}

.logo:hover {
  transform: scale(1.1);
}

nav a {
  font-size: 1.8rem;
  color: white;
  margin-left: 4rem;
  font-weight: 500;
  transition: 0.3s ease;
  border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active {
  color: blue;
  border-bottom: 3px solid blue;
}

@media(max-width:995px) {
  nav {
    position: absolute;
    display: none;
    top: 0;
    right: 0;
    width: 40%;
    border-left: 3px solid blue;
    border-bottom: 3px solid blue;
    border-bottom-left-radius: 2rem;
    padding: 1rem solid;
    background-color: #161616;
    border-top: 0.1rem solid rgba(0, 0, 0, 0.1);
  }

  nav.active {
    display: block;
  }

  nav a {
    display: block;
    font-size: 2rem;
    margin: 3rem 0;
  }

  nav a:hover,
  nav a.active {
    padding: 1rem;
    border-radius: 0.5rem;
    border-bottom: 0.5rem solid blue;
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1000;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: black;
    padding: 15px;
    border-radius: 5px;
    z-index: 999;
  }

  .nav-menu.show {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

.skills-section {
  margin-top: 100px;
  padding: 40px 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.skills-section h1 {
  font-size: 3.5rem;
  color: cyan;
  text-align: center;
  margin-bottom: 40px;
}

.skills-box {
  border: 1px solid blue;
  background: #000;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  max-width: 700px;
  margin: 0 auto;
}

.skills-box:hover {
  box-shadow: 0 0 20px rgba(0, 0, 255, 0.5), 0 0 30px rgba(0, 0, 255, 0.5);
}

.skill {
  margin-bottom: 25px;
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.skill-header i {
  font-size: 2.2rem;
  color: cyan;
  text-shadow: 0 0 10px cyan;
  transition: all 0.3s ease;
  min-width: 30px;
  text-align: center;
}

.skill-header:hover i {
  transform: scale(1.2);
  text-shadow: 0 0 20px cyan;
}

.skill span {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  color: white;
  transition: 0.3s ease;
}

.skill span:hover {
  color: cyan;
  text-shadow: 0 0 5px cyan;
}

.bar {
  background: #222;
  border-radius: 5px;
  overflow: hidden;
  height: 25px;
  box-shadow: inset 0 0 10px #000, 0 0 5px #0000ff88;
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, #0000ff, #1e90ff);
  width: 0;
  transition: width 2s ease-in-out;
  box-shadow: 0 0 10px #0000ff;
}

.bar:hover .progress {
  box-shadow: 0 0 20px #00f, 0 0 30px #00f;
}
