.competences-section {
    background-color: #1E1E3D;
    padding: 4rem 2rem;
    color: white;
    text-align: center;
}

.competences-section h3 {
    font-size: 32px;
    margin-bottom: 3rem;
    color: #A2B1FF;
}

.skills-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.skill {
    text-align: left;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    color: #D8D8F6;
    margin-bottom: 5px;
}

.skill-bar {
    height: 12px;
    background-color: rgba(255, 255, 255, 0.07);
    border-radius: 6px;
    position: relative;
    z-index: 1;
}

.bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, #A88BFF, #7F8CFF);
    border-radius: 6px;
    transition: none;
    position: relative;
    z-index: 2;
    box-shadow: none;
}


@keyframes fillBar {
    from { width: 0; }
    to { width: var(--target-width); }
}


.skill-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-weight: 500;
    color: #D8D8F6;
    margin-bottom: 5px;
}

.skill-icon img {
    width: 24px;
    height: 24px;
    filter: invert(78%) sepia(12%) saturate(500%) hue-rotate(190deg);
}

