/* ================= SKILLS SECTION ================= */

.skills-page-wrapper{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  padding: 100px;
  text-align: center;
  margin-bottom: 100px;

  background: linear-gradient(to bottom, #000000, #050505);
  border-radius: 0 0 10px 10px;
  position: relative;
}

/* TITLE */
.title-4{
  grid-column: 1 / -1;
  font-size: 24px;
  font-weight: 600;
  color: white;
  margin-bottom: 40px;
}

/* ================= CARD ================= */

.skills{
  position: relative;
  padding: 25px 20px;
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.1);

  color: white;
  cursor: pointer;

  transition: all 0.35s ease;
  overflow: hidden;
}

/* glow effect */
.skills::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(57, 255, 20, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* hover */
.skills:hover{
  transform: translateY(-10px) scale(1.02);
  border: 1px solid rgba(57, 255, 20, 0.4);
}

.skills:hover::before{
  opacity: 1;
}

/* ICON */
.img-skills{
  height: 45px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 8px #39FF14);
}

/* TITLE */
.skills h3{
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
}

/* TEXT */
.skills p{
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 22px;
}

/* ARROW BUTTON */
.btn-rightarrow{
  margin-top: 15px;
  background: transparent;
  border: none;
}

.img-rightarrow{
  height: 24px;
  padding: 6px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.img-rightarrow:hover{
  background-color: #39FF14;
  border: none;
  transform: scale(1.2);
  opacity: 1;
}

/* REMOVE OLD BUTTON */
.btn-showmore{
  display: none;
}

/* ================= TOOLS SECTION ================= */

.div-tools{
  padding: 100px;
}

/* FLEX LAYOUT */
.tools-container{
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

/* LIST */
.tools-iknow li{
  width: 450px;
  padding: 10px 5px;
  font-weight: 550;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
}

/* PROGRESS BAR */
.percentage-box{
  width: 280px;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  height: 20px;
  overflow: hidden;
}

.percentage-box div{
  background: #39FF14;
  height: 100%;
  font-size: 10px;
  font-weight: bold;
  padding-left: 10px;
  display: flex;
  align-items: center;
}

.html{ color:#E34F26; }
.css{ color:#1572B6; }
.js{ color:#F7DF1E; }
.ts{ color:#3178C6; }

.react{ color:#61DAFB; }
.tailwind{ color:#06B6D4; }
.redux{ color:#764ABC; }

.next{ color:#FFFFFF; } /* white for dark bg */
.node{ color:#339933; }
.express{ color:#FFFFFF; }

.mongo{ color:#47A248; }
.postgres{ color:#336791; }
.redis{ color:#DC382D; }

.aws{ color:#FF9900; }
/* ================= ANIMATIONS ================= */

@keyframes grow{
  from{ width: 0%; }
}

.whtml{ width:95%; animation: grow 1.5s ease forwards; }
.wcss{ width:90%; animation: grow 1.5s ease forwards; }
.wjs{ width:85%; animation: grow 1.5s ease forwards; }
.wts{ width:65%; animation: grow 1.5s ease forwards; }
.wreact{ width:85%; animation: grow 1.5s ease forwards; }
.wtailwind{ width:70%; animation: grow 1.5s ease forwards; }
.wredux{ width:60%; animation: grow 1.5s ease forwards; }

.wnext{ width:50%; animation: grow 1.5s ease forwards; }
.wnode{ width:85%; animation: grow 1.5s ease forwards; }
.wexpress{ width:85%; animation: grow 1.5s ease forwards; }
.wmongo{ width:80%; animation: grow 1.5s ease forwards; }
.wpostgres{ width:50%; animation: grow 1.5s ease forwards; }
.wredis{ width:50%; animation: grow 1.5s ease forwards; }
.waws{ width:45%; animation: grow 1.5s ease forwards; }
/* ================= RESPONSIVE ================= */

@media screen and (max-width: 900px){

  .skills-page-wrapper{
    padding: 80px 40px;
  }

  .tools-container{
    flex-direction: column;
    align-items: center;
  }

  .tools-iknow li{
    width: 100%;
    max-width: 400px;
  }
}

@media screen and (max-width: 600px){

  .skills-page-wrapper{
    padding: 60px 20px;
    gap: 30px;
  }

  .skills{
    padding: 20px;
  }

  .skills h3{
    font-size: 16px;
  }

  .skills p{
    font-size: 13px;
  }

  .div-tools{
    padding: 40px 20px;
  }

  .percentage-box{
    width: 180px;
    height: 14px;
  }
}