* {
    padding: 0;
    margin: 0;
}

.competences {
    background: rgba(0, 0, 0, 0.961);
    padding-bottom: 130px;
}

.competencesTitre {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    margin: 0;
    color: white;
    padding: 80px 0px 30px 0px;
}

.competencesTitre1 {
    display: flex;
    justify-content: center;
    font-size: 2rem;
    align-items: center;
    margin: 0;
    color: white;
    padding: 30px 0px 50px 0px;
}

.competencesContentText {
    font-size: 10px;
    font-style: italic;
}

.competencesContent {
    color: white;
}

.competencesContentTitre,
.competencesContentText {
    margin: 0;
    padding: 0;
}

.competencesContainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 'competencesContentImage competencesContent1';
    gap: 20px;
    max-width: 80%;
    margin: 0 auto;
    margin-bottom: 150px;
}

.skillImage {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Gardez vos styles existants */
.animated-progress {
    border-radius: 50px;
    opacity: 0;
    width: 0%;
    transition: width 1s ease-in-out, opacity 0.5s ease-in-out;
    -webkit-appearance: none; /* Ajout pour Safari */
    appearance: none;
    height: 17px;
    position: relative;
    background-color: #f0f0f0; /* Fond gris */
}

/* Styles spécifiques pour Safari/Chrome */
.animated-progress::-webkit-progress-bar {
    background-color: transparent; /* Fond transparent */
    border-radius: 50px;
}

.animated-progress::-webkit-progress-value {
    background-color: #0f03f2; /* Bleu comme dans votre code */
    border-radius: 50px;
    transition: width 1s ease-in-out; /* Animation synchronisée */
}

/* Style pour Firefox */
.animated-progress::-moz-progress-bar {
    background-color: #0f03f2;
    border-radius: 50px;
}

/* Affichage du pourcentage - Solution compatible Safari */
.progress-wrapper {
    position: relative;
    width: 100%;
    margin-top: 6px;
}

.progress-percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    z-index: 2;
}

.retour {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    font-size: 1.5rem;
    color: red;
    cursor: pointer;
    text-decoration: none;
}

.devis {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    text-decoration: none;
}

@media (max-width: 768px) {
    .competencesContainer {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas: 'competencesContent1';
        gap: 20px;
        max-width: 80%;
        margin: 0 auto;
        margin-bottom: 150px;
    }
}