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

.skills{

    position:relative;

    padding:160px 0;

    background:#070707;

    overflow:hidden;

}

/*======================================
        BACKGROUND EFFECTS
======================================*/

.skills::before{

    content:"";

    position:absolute;

    width:700px;

    height:700px;

    top:-300px;

    left:-250px;

    border-radius:50%;

    background:radial-gradient(circle,
        rgba(217,23,23,.12),
        transparent 70%);

    pointer-events:none;

}

.skills::after{

    content:"SKILLS";

    position:absolute;

    right:-40px;

    bottom:-40px;

    font-size:11rem;

    font-family:"Anton",sans-serif;

    color:rgba(255,255,255,.025);

    letter-spacing:10px;

    pointer-events:none;

    user-select:none;

}

/*======================================
            CONTAINER
======================================*/

.skills .container{

    position:relative;

    z-index:2;

}

/*======================================
            HEADER
======================================*/

.skills-header{

    text-align:center;

    margin-bottom:90px;

}

.skills-header .section-tag{

    display:inline-block;

    color:#d91717;

    font-size:.85rem;

    font-weight:700;

    letter-spacing:3px;

    margin-bottom:20px;

}

.skills-header h2{

    font-size:clamp(3rem,6vw,5rem);

    color:#fff;

    font-family:"Anton",sans-serif;

    margin-bottom:20px;

    letter-spacing:2px;

}

.skills-header p{

    max-width:720px;

    margin:auto;

    color:#bdbdbd;

    line-height:1.9;

    font-size:1.05rem;

}

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

.skills-grid{

    display:grid;

    grid-template-columns:1.2fr .8fr;

    gap:60px;

    align-items:start;

}

/*======================================
            LEFT SIDE
======================================*/

.skills-left{

    display:flex;

    flex-direction:column;

    gap:22px;

}

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

.skill-card{

    padding:26px 28px;

    border-radius:22px;

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

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

    backdrop-filter:blur(12px);

    transition:.35s ease;

}

.skill-card:hover{

    transform:translateY(-6px);

    border-color:#d91717;

    box-shadow:

        0 15px 35px rgba(217,23,23,.12);

}

/*======================================
            INFO
======================================*/

.skill-info{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:16px;

}

.skill-info h3{

    color:#fff;

    font-size:1.1rem;

    font-weight:600;

}

.skill-info span{

    color:#ff5959;

    font-weight:700;

}

/*======================================
            PROGRESS BAR
======================================*/

.progress-bar{

    width:100%;

    height:8px;

    border-radius:50px;

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

    overflow:hidden;

}

.progress{

    height:100%;

    border-radius:50px;

    background:linear-gradient(
        90deg,
        #d91717,
        #ff5555
    );

    width:0;

    transition:1.2s ease;

}

/* Individual widths */

.progress.html{width:98%;}
.progress.css{width:96%;}
.progress.js{width:94%;}
.progress.react{width:90%;}
.progress.node{width:88%;}
.progress.express{width:86%;}

/*======================================
            RIGHT SIDE
======================================*/

.skills-right{

    display:flex;

    flex-direction:column;

    gap:35px;

}

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

.skills-summary{

    padding:35px;

    border-radius:24px;

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

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

}

.skills-summary h3{

    color:#fff;

    font-size:2rem;

    margin-bottom:18px;

}

.skills-summary p{

    color:#c7c7c7;

    line-height:1.9;

}

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

.tech-grid{

    display:grid;

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

    gap:15px;

}

.tech-item{

    padding:16px;

    text-align:center;

    border-radius:16px;

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

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

    color:#fff;

    transition:.35s;

    cursor:default;

}

.tech-item:hover{

    background:#d91717;

    transform:translateY(-5px);

}

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

.experience-card{

    display:grid;

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

    gap:18px;

}

.experience-item{

    padding:28px;

    border-radius:20px;

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

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

    text-align:center;

    transition:.35s;

}

.experience-item:hover{

    transform:translateY(-6px);

    border-color:#d91717;

}

.experience-item h2{

    font-size:2.4rem;

    color:#d91717;

    margin-bottom:10px;

}

.experience-item span{

    color:#cfcfcf;

    font-size:.95rem;

}

/*==================================================
            SKILLS SECTION
            PART 2
==================================================*/

/*======================================
        FLOATING GLOW EFFECT
======================================*/

.skills-glow{

    position:absolute;

    width:500px;

    height:500px;

    right:-180px;

    top:25%;

    border-radius:50%;

    background:radial-gradient(circle,
        rgba(217,23,23,.08),
        transparent 70%);

    filter:blur(30px);

    pointer-events:none;

}

/*======================================
        HOVER EFFECTS
======================================*/

.skill-card:hover .progress{

    box-shadow:
        0 0 12px rgba(217,23,23,.45),
        0 0 30px rgba(217,23,23,.25);

}

.skill-card:hover .skill-info h3{

    color:#ff6666;

}

.tech-item{

    position:relative;

    overflow:hidden;

}

.tech-item::before{

    content:"";

    position:absolute;

    left:-100%;

    top:0;

    width:100%;

    height:100%;

    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.18),
        transparent
    );

    transition:.6s;

}

.tech-item:hover::before{

    left:100%;

}

.experience-item{

    position:relative;

    overflow:hidden;

}

.experience-item::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        135deg,
        rgba(217,23,23,.08),
        transparent
    );

    opacity:0;

    transition:.4s;

}

.experience-item:hover::before{

    opacity:1;

}

/*======================================
        ENTRANCE ANIMATION
======================================*/

.skill-card,
.skills-summary,
.tech-item,
.experience-item{

    opacity:0;

    transform:translateY(40px);

    animation:skillReveal .8s forwards;

}

.skill-card:nth-child(1){animation-delay:.1s;}
.skill-card:nth-child(2){animation-delay:.2s;}
.skill-card:nth-child(3){animation-delay:.3s;}
.skill-card:nth-child(4){animation-delay:.4s;}
.skill-card:nth-child(5){animation-delay:.5s;}
.skill-card:nth-child(6){animation-delay:.6s;}

.skills-summary{

    animation-delay:.2s;

}

.tech-item:nth-child(1){animation-delay:.3s;}
.tech-item:nth-child(2){animation-delay:.35s;}
.tech-item:nth-child(3){animation-delay:.4s;}
.tech-item:nth-child(4){animation-delay:.45s;}
.tech-item:nth-child(5){animation-delay:.5s;}
.tech-item:nth-child(6){animation-delay:.55s;}
.tech-item:nth-child(7){animation-delay:.6s;}
.tech-item:nth-child(8){animation-delay:.65s;}
.tech-item:nth-child(9){animation-delay:.7s;}
.tech-item:nth-child(10){animation-delay:.75s;}
.tech-item:nth-child(11){animation-delay:.8s;}
.tech-item:nth-child(12){animation-delay:.85s;}

.experience-item:nth-child(1){animation-delay:.5s;}
.experience-item:nth-child(2){animation-delay:.6s;}
.experience-item:nth-child(3){animation-delay:.7s;}
.experience-item:nth-child(4){animation-delay:.8s;}

@keyframes skillReveal{

    from{

        opacity:0;

        transform:translateY(50px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

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

@media(max-width:1200px){

    .skills-grid{

        gap:40px;

    }

}

@media(max-width:992px){

    .skills{

        padding:120px 0;

    }

    .skills-grid{

        grid-template-columns:1fr;

    }

    .skills-right{

        margin-top:20px;

    }

}

@media(max-width:768px){

    .skills{

        padding:90px 0;

    }

    .skills::after{

        display:none;

    }

    .skills-header{

        margin-bottom:60px;

    }

    .tech-grid{

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

    }

    .experience-card{

        grid-template-columns:1fr;

    }

    .skill-card{

        padding:22px;

    }

    .skills-summary{

        padding:28px;

    }

}

@media(max-width:576px){

    .skills{

        padding:70px 0;

    }

    .skills-header h2{

        font-size:2.5rem;

    }

    .skills-header p{

        font-size:.95rem;

    }

    .tech-grid{

        grid-template-columns:1fr;

    }

    .experience-item h2{

        font-size:2rem;

    }

    .skill-info h3{

        font-size:1rem;

    }

    .skill-info span{

        font-size:.9rem;

    }

}

/*======================================
        SCROLLBAR (OPTIONAL)
======================================*/

.skills *::-webkit-scrollbar{

    width:6px;

}

.skills *::-webkit-scrollbar-thumb{

    background:#d91717;

    border-radius:20px;

}