/* Introduction */
.introduction {
    text-align: center;
    margin: 20px auto auto auto;
    padding: 16px;
    max-width: 60%;
    background-color: #051422e0;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.introduction h2 {
    color: #00c2e5;
    margin-bottom: 10px;
}

.introduction p {
    line-height: 1.6;
    color: #dadbdc;
    padding: 20px;
}

.introduction a {
    text-decoration: none;
    color: orange;
    font-style: italic;
    font-weight: bold;
}

/* Conteneur des expériences */
.experiences-container {
    margin: 0 auto 20px auto;
    padding: 10px 60px;
    max-width: 60%;
    background-color: #071d31b3;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.experiences-container h1 {
    display: flex;
    justify-content: center;
    margin: 10px auto;
    color: #00c2e5;
}

/* Cartes certifications */
.experiences {
    margin: 30px auto;
    padding: 20px;
    background-color: #F9FAFB;
    border-radius: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.experiences:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background-color: #e3f2fd;
}

.experiences h2 {
    margin: 15px 10px 10px;
    color: #1a4d68;
}

.experiences h5 {
    margin: 10px;
    color: #4a5568;
    font-style: italic;
}

.experiences p a {
    color: #ff8800;
    font-weight: bold;
    text-decoration: none;
}

.experiences p a:hover {
    text-decoration: none;
    background: rgba(158, 128, 128, 0.08);
    transform: translateY(-2px);
    color:#00c2e5;
}

/* Affichage PDF */
.pdf-viewer {
    width: 100%;
    max-width: 700px;
    height: 500px;
    margin: 0 auto 15px auto;
    border: 2px solid #d1d9e0;
    border-radius: 16px;
    overflow: hidden;
    background-color: #ffffff;
}

.pdf-viewer embed {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

/* Responsive */
@media (max-width: 700px) {
    .introduction,
    .experiences-container {
        max-width: 92%;
        padding: 14px 16px;
    }

    .introduction h2,
    .experiences-container h1 {
        font-size: 1.25rem;
        text-align: center;
    }

    .introduction p,
    .experiences p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .experiences {
        padding: 16px;
        margin: 20px auto;
        border-radius: 24px;
    }

    .pdf-viewer {
        height: 320px;
    }
}