* {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-size: cover;
}

body {
    background: #2E2740;
    color: #F2EEF9;
}

a {
    text-decoration: none;
}

.navbar {
    background: #241D33;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid #453A5E;
    margin: 0;
}

.logo img {
    width: 170px;
    height: auto;
    display: block;
}

.navbar nav a {
    margin-left: 20px;
    color: #F2EEF9;
    font-weight: bold;
}

.navbar nav a.active {
    color: #F7C9AE;
}

.navbar nav a:hover {
    background: linear-gradient(45deg, #B7A6E8, #F7C9AE);
    padding: 10px 5px;
    border-radius: 20px;
    color: #2E2740;
    font-weight: bold;
    transition: all 0.7s ease;
}

.certifications {
    background:
        radial-gradient(circle at 88% 12%, rgba(183,166,232,0.18) 0%, transparent 35%),
        radial-gradient(circle at 5% 90%, rgba(247,201,174,0.15) 0%, transparent 35%),
        radial-gradient(circle at 5% 8%, rgba(168,224,201,0.12) 0%, transparent 25%),
        #2E2740;
    min-height: 100vh;
    padding: 50px 20px 100px;
}

.titre {
    text-align: center;
    margin-bottom: 80px;
}

.titre p {
    color: #B7A6E8;
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.titre h1 {
    color: #F2EEF9;
    font-size: 34px;
}

.ligne-titre {
    width: 50px;
    height: 3px;
    background: #F7C9AE;
    margin: 10px auto;
    border-radius: 10px;
}

.certification {
    max-width: 1000px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 70px;
    border-top: 1px solid #6C5E8A;
    border-bottom: 1px solid #6C5E8A;
    padding: 60px 20px;
}

.certification-image {
    width: 45%;
}

.certification-image img {
    width: 100%;
    border-radius: 15px;
    border: 1px solid #6C5E8A;
    transition: 0.4s;
}

.certification-image img:hover {
    transform: scale(1.03);
}

.certification-contenu {
    width: 55%;
    position: relative;
}

.annee-fond {
    position: absolute;
    top: -60px;
    right: 0;

    color: #B7A6E8;
    font-size: 80px;
    font-weight: bold;
    opacity: 0.10;
}

.petit-titre {
    color: #B7A6E8;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.certification-contenu h2 {
    color: #F2EEF9;
    font-size: 30px;
    margin-bottom: 10px;
}

.annee {
    color: #F7C9AE;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
}

.description {
    color: #C9BEDE;
    line-height: 1.7;
    margin-bottom: 25px;
}

.domaines {
    margin-bottom: 25px;
}

.domaines span {
    display: inline-block;
    border: 1px solid #6C5E8A;
    color: #B7A6E8;

    padding: 7px 13px;
    border-radius: 20px;

    font-size: 13px;

    margin-right: 5px;
    margin-bottom: 10px;
}

.voir {
    display: inline-block;
    color: #F7C9AE;
    font-weight: bold;

    padding-bottom: 5px;
    border-bottom: 1px solid #F7C9AE;

    transition: 0.4s;
}

.voir:hover {
    color: #B7A6E8;
    border-bottom: 1px solid #B7A6E8;
    transform: translateX(5px);
}

@media screen and (max-width: 768px) {

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .logo img {
        width: 150px;
    }

    .navbar nav {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }

    .navbar nav a {
        margin: 10px 0;
    }

    .certifications {
        padding: 35px 20px 60px;
    }

    .titre {
        margin-bottom: 50px;
    }

    .titre h1 {
        font-size: 28px;
    }

    .certification {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;

        padding: 40px 0;
    }

    .certification-image {
        width: 100%;
    }

    .certification-contenu {
        width: 100%;
    }

    .certification-contenu h2 {
        font-size: 24px;
    }

    .annee-fond {
        font-size: 55px;
        top: -20px;
        right: 5px;
    }

    .domaines span {
        font-size: 12px;
    }

}