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

.skills {
    position: relative;
    overflow: hidden;
}

/* Background Glow */

.skills::before {
    content: "";
    position: absolute;
    left: -220px;
    bottom: -220px;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background: radial-gradient(circle,
            rgba(255, 45, 85, .12),
            transparent 70%);

    filter: blur(60px);

    z-index: -1;
}

/* ======================================================
   GRID
====================================================== */

.skills-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 35px;

}

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

.skill-card {

    position: relative;

    padding: 35px;

    border-radius: 22px;

    overflow: hidden;

    transition: .35s ease;

}

.skill-card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: linear-gradient(90deg,
            var(--clr-primary),
            transparent);

}

.skill-card:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-red-lg);

}

/* ======================================================
   TITLE
====================================================== */

.card-title {

    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 28px;

}

.card-title i {

    color: var(--clr-primary);

    font-size: 1.5rem;

}

.card-title h3 {

    font-size: 1.4rem;

}

/* ======================================================
   TAGS
====================================================== */

.skill-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 15px;

}

/* ======================================================
   PILL
====================================================== */

.skill-pill {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 12px 18px;

    border-radius: 50px;

    font-size: .95rem;

    font-weight: 500;

    color: var(--clr-white);

    background: rgba(255,255,255,.04);

    border: 1px solid rgba(255,255,255,.08);

    transition: .35s ease;

    cursor: default;

}

.skill-pill:hover {

    transform: translateY(-5px) scale(1.05);

    box-shadow: 0 0 20px rgba(255,45,85,.30);

}

/* ======================================================
   TECH COLORS
====================================================== */

.skill-pill:nth-child(1){

    border-color:#f16529;

    color:#f16529;

}

.skill-pill:nth-child(2){

    border-color:#2965f1;

    color:#2965f1;

}

.skill-pill:nth-child(3){

    border-color:#f7df1e;

    color:#f7df1e;

}

.skill-pill:nth-child(4){

    border-color:#61dafb;

    color:#61dafb;

}

.skill-pill:nth-child(5){

    border-color:#38bdf8;

    color:#38bdf8;

}

.skill-pill:hover{

    color:#fff;

    background:var(--clr-primary);

    border-color:var(--clr-primary);

}

/* ======================================================
   RESPONSIVE
====================================================== */

@media(max-width:992px){

    .skills-grid{

        grid-template-columns:1fr;

    }

}

@media(max-width:576px){

    .skill-card{

        padding:25px;

    }

    .card-title h3{

        font-size:1.2rem;

    }

    .skill-pill{

        padding:10px 16px;

        font-size:.85rem;

    }

}