
/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/

#skills {
    min-height: 100vh;
    padding: var(--section-padding-y) var(--section-padding-x);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

#skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(141, 53, 229, 0.1), transparent 60%),
                radial-gradient(circle at bottom left, rgba(144, 81, 227, 0.1), transparent 60%);
    z-index: -1;
}

#skills .skills-section + .skills-section {
    margin-top: calc(var(--section-content-gap) * 1.5);
}

#skills.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.skill-type {
    font-family: 'Dancing Script', var(--font-family);
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 2.5rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(141, 53, 229, 0.3);
}

/* Technical Skills */
.skill {
    display: flex;
    align-items: center;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03);
    padding: 25px 20px;
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(133, 13, 213, 0.1),
                0 2px 8px rgba(141, 53, 229, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.skill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(141, 53, 229, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 45px rgba(133, 13, 213, 0.2);
    border-color: rgba(141, 53, 229, 0.3);
}

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

.skill-image {
    width: 75px;
    height: 75px;
    padding: 10px;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 4px 8px rgba(141, 53, 229, 0.2));
}

.skill:hover .skill-image {
    transform: scale(1.15) rotate(5deg);
}

.skill-name {
    letter-spacing: 1px;
    font-size: 1rem;
    font-weight: 500;
    padding-top: 15px;
    margin: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    transition: color 0.3s ease;
}

.skill:hover .skill-name {
    color: var(--primary-color);
}

/* Soft Skills */
.soft-skill {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(133, 13, 213, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.soft-skill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(141, 53, 229, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.soft-skill:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(133, 13, 213, 0.2);
    border-color: rgba(141, 53, 229, 0.3);
}

.soft-skill:hover::before {
    opacity: 1;
}

.soft-skill .icon-container {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.soft-skill:hover .icon-container {
    transform: scale(1.15) rotate(10deg);
}

.soft-skill h4 {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.soft-skill:hover h4 {
    color: var(--primary-color);
}

.soft-skill .progress {
    height: 10px;
    background-color: rgba(144, 81, 227, 0.15);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.soft-skill .progress-bar {
    background: linear-gradient(90deg, var(--primary-color), #9d4edd);
    transition: width 1.5s cubic-bezier(0.37, 0, 0.63, 1);
    position: relative;
    overflow: hidden;
}

.soft-skill .progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    to {
        left: 100%;
    }
}

/* Skill Level Indicator */
.skill-level {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .skills-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
        gap: 20px !important;
    }
    
    .skill {
        padding: 20px 15px;
    }
    
    .skill-image {
        width: 60px;
        height: 60px;
    }
    
    .skill-name {
        font-size: 0.9rem;
    }

    .soft-skill {
        padding: 25px 20px;
    }
}

@media (max-width: 576px) {
    .skills-container {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
        gap: 15px !important;
    }
    
    .skill {
        padding: 15px 12px;
    }
    
    .skill-image {
        width: 50px;
        height: 50px;
    }
    
    .skill-name {
        font-size: 0.85rem;
    }

    .soft-skill {
        padding: 20px 15px;
    }

    .soft-skill .icon-container {
        font-size: 2em;
    }
}
