body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 10 Q 25 0, 50 10 T 100 10' stroke='%23d0d0d0' stroke-width='1' fill='none'/%3E%3C/svg%3E");
    background-size: 100px 20px;
    box-sizing: border-box;
}


.anim-nom {
    font-size: 2rem;
    margin-top: 1rem;
    transform: scale(0.6);
    animation: softZoom 1s ease-out forwards;
}

@keyframes softZoom {
    0% {
        transform: scale(0.6);
    }

    60% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}


header {
    position: sticky;
    top: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    color: white;

    box-shadow: 0 2px 5px rgb(0, 0, 0.2);
    background-color: #222;
}

/* liste des liens de navigatrion */
.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style-type: none;

}

.logo a {
    color: white;
    font-weight: bold;
    text-decoration: none;
    font-size: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;

}

.nav-links a:hover {
    color: #f39c12;
}

.accueil {
    text-align: center;
    padding: 60px 20px;
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

h1 {
    font-size: 28px;
    margin-top: 20px;
}

.accroche {
    font-size: 18px;
    margin: 15px 0;
    font-style: italic;
}

.btn {
    display: inline-block;
    margin: 10px;
    padding: 12px 20px;
    background: black;
    color: white;
    border-radius: 5px;

}

.btn a {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn:hover {
    background: #2b4eff;
    color: #fff;
    border: 1px solid #fff;
}

main.apropos {
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 20px;
}

main h1,
main h2 {
    text-align: center;
    color: #222;
}

main h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

main h2 {
    font-size: 24px;
    margin: 25px 0 15px;

}

section.bio p {
    text-align: center;
    font-size: 18px;
    margin-bottom: 30px;

}

section ul {
    padding-left: 40px;
    margin-bottom: 30px;
}

section ul li {
    margin-bottom: 10px;
}

/*partie projets*/

.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    /* max-width: 1400px;*/
    margin-top: 2rem;
}


.card {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    padding-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.card h3 {
    font-size: 1.2rem;
    margin: 15px;
    color: #f0b429;
}

.card p {
    font-size: 0.95rem;
    margin: 0 15px 15px 15px;
    color: #eee;

    line-height: 1.4em;
}


@media (max-width: 992px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr;
    }
     .contact-section {
        padding: 20px;
    }

    .contact-section h1 {
        font-size: 2rem;
    }
    header,.nav-links{
        flex-direction: column;
    }
}

@media (max-width: 567px) {
    body {
        font-size: 0.95rem;
        padding: 20px;
    }

    .cards-container {
        gap: 15px;
    }

    .card img {
        height: 180px;
    }
}

/*partie contact*/
.contact-section,
.contact-section * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}


.contact-section {
    color: black;
    padding: 40px;

    background: url('assets/img/waves.svg') no-repeat bottom center;
    background-size: cover;
    min-height: 100vh;
}


.contact-section h1,
.contact-section h2 {
    color: #f0b429;
    text-align: center;
    margin-bottom: 1rem;
}


.contact-section p {
    color: black;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.6;
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.contact-form label {
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    border-radius: 6px;
    border: none;
    outline: none;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: black;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #ccc;
}

.contact-form button {
    padding: 0.8rem;
    border: none;
    border-radius: 6px;
    background-color: #f0b429;
    color: #111;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #d19c1e;
}

.contact-links ul {
    list-style: none;
    padding-left: 0;
    text-align: center;
    margin-bottom: 2rem;
}

.contact-links ul li {
    margin-bottom: 0.5rem;
}

.contact-links a {
    color: #2b6cb0;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-links a:hover {
    color: #f0b429;
}


.thank-you {
    font-style: italic;
    color: black;
    text-align: center;
}


footer {
    text-align: center;
    padding: 2rem;
    color: black;
    margin-top: 3rem;
}




/*partie about*/
.apropos,
.apropos * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}


.apropos {
    color: black;
    padding: 40px;
    background: url('assets/img/waves.svg') no-repeat bottom center;
    background-size: cover;
    min-height: 100vh;
}

.apropos h1,
.apropos h2 {
    color: #f0b429;
    text-align: center;
    margin-bottom: 1rem;
}


.bio p {
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: black;
}


.parcours-scolaire ul,
.parcours-pro ul {
    list-style: none;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    padding-left: 0;
}

.parcours-scolaire ul li,
.parcours-pro ul li {
    margin-bottom: 0.5rem;
    color: black;
}


.competences table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    border-collapse: collapse;
    text-align: center;
}

.competences table th,
.competences table td {
    padding: 10px;
    border: 1px solid rgba(4, 4, 4, 0);
}

.competences table th {
    background-color: rgba(240, 180, 41, 0.8);
    color: #111;
}

.competences table td {
    background-color: rgba(0, 0, 0, 0.6);
}


.btn {
    display: inline-block;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    background-color: #f0b429;
    color: black;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-top: 1rem;
    text-align: center;
}

.btn:hover {
    background-color: #d19c1e;
}


footer {
    text-align: center;
    padding: 2rem;
    color: black;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .apropos {
        padding: 20px;
    }

    .apropos h1 {
        font-size: 2rem;
    }

    .competences table th,
    .competences table td {
        font-size: 0.9rem;
        padding: 8px;
    }
}

span {
    color: gray;
}

/*partie veille*/

.veille,
.veille * {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}


.veille {
    background: url('assets/img/waves.svg') no-repeat bottom center;
    background-size: cover;
    color: #111;
    padding: 40px 20px;
    min-height: 100vh;
}

/* Titres */
.veille h1,
.veille h2 {
    text-align: center;
    color: #f0b429;
    margin-bottom: 1rem;
}

/* Boîtes */
.veille section {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 20px 25px;
    max-width: 900px;
    margin: 20px auto;
}

/* Paragraphes et listes */
.veille p,
.veille ul {
    color: #111;
    line-height: 1.6;
    font-size: 1rem;
}

.veille ul {
    list-style-type: disc;
    padding-left: 20px;
}

.veille ul li {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    text-align: center;
    color: #aaa;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .veille section {
        padding: 15px 15px;
        margin: 15px 10px;
    }

    .veille h1 {
        font-size: 1.8rem;
    }

    .veille h2 {
        font-size: 1.3rem;
    }
}

/*partie apropos*/

.apropos,
.apropos * {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.apropos {
    background: url('assets/img/waves.svg') no-repeat bottom center;
    background-size: cover;
    color: #111;
    padding: 40px 20px;
    min-height: 100vh;
}


.apropos h1,
.apropos h2 {
    text-align: center;
    color: #f0b429;
    margin-bottom: 1rem;
}


.apropos section {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 20px 25px;
    max-width: 900px;
    margin: 20px auto;
}


.apropos p,
.apropos ul {
    color: #111;
    line-height: 1.6;
    font-size: 1rem;
}

.apropos ul {
    list-style-type: disc;
    padding-left: 20px;
}

.apropos ul li {
    margin-bottom: 0.5rem;
}


.apropos table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.apropos th,
.apropos td {
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    text-align: center;
}

.apropos th {
    background-color: rgba(240, 180, 41, 0.8);
    color: #111;
}

.apropos td {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Bouton CV */
.apropos .btn {
    display: inline-block;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    background-color: #f0b429;
    color: #111;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-top: 1rem;
    text-align: center;
}

.apropos .btn:hover {
    background-color: #d19c1e;
}


footer {
    text-align: center;
    color: #aaa;
    margin-top: 40px;
}


@media (max-width: 768px) {
    .apropos section {
        padding: 15px 15px;
        margin: 15px 10px;
    }
}

/*partie competances*/
.competences-container,
.competences-container * {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}


.competences-container {
    background: url('assets/img/waves.svg') no-repeat bottom center;
    background-size: cover;
    color: #111;
    padding: 40px 20px;
    min-height: 100vh;
}


.page-title {
    text-align: center;
    color: #f0b429;
    font-size: 2rem;
    margin-bottom: 35px;
}


.box {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 20px 25px;
    max-width: 900px;
    margin: 20px auto;
}


.subtitle {
    color: #f0b429;
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.4rem;
}


.intro-competences p {
    line-height: 1.6;
    font-size: 1rem;
    color: #111;
}

/* TABLEAU DES COMPÉTENCES */
.skills-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.skills-table th,
.skills-table td {
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    text-align: center;
}

.skills-table th {
    background-color: rgba(240, 180, 41, 0.8);
    color: #111;
}

.skills-table td {
    background-color: rgba(255, 255, 255, 0.8);
}

.skills-table tr:nth-child(even) {
    background-color: rgba(255, 246, 236, 0.8);
}


@media (max-width: 768px) {
    .box {
        padding: 15px;
        margin: 15px auto;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .skills-table th,
    .skills-table td {
        font-size: 0.9rem;
        padding: 8px;
    }
}

.skills-section {
    position: relative;
    padding: 80px 20px;
    background: linear-gradient(180deg, #fff 0%, #fff5eb 100%);
    overflow: hidden;
}


.skills-section::before,
.skills-section::after {
    content: "";
    position: absolute;
    left: 0;
    width: 200%;
    height: 120px;
    background-repeat: repeat-x;
    background-size: 50% 120px;
    opacity: 0.4;
}

.skills-section::before {
    top: 0;
    background-image: radial-gradient(circle at 50% 100%, #f0b429 40%, transparent 41%);
}

.skills-section::after {
    bottom: 0;
    background-image: radial-gradient(circle at 50% 0%, #f0b429 40%, transparent 41%);
}

/* Boîte principale */
.skills-box {
    position: relative;
    max-width: 1000px;
    margin: auto;
    padding: 20px 30px 40px;
    border-radius: 18px;
    background-color: #ffffff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);


}

/* Titre */
.skills-box h2 {
    text-align: center;
    color: #f0b429;
    margin-bottom: 10px;
    font-size: 28px;
}

/* Conteneur logos */
.logos-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top:2rem;
}

/* Boîte logo */
.logo-box {
    background-color: #fff5eb;
    border: 2px solid #f0b429;
    border-radius: 15px;
    padding: 25px 15px;

    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(255, 122, 0, 0.3);
}

/* Image logo */
.logo-box img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

/* Texte logo */
.logo-box p {
    margin-top: 15px;
    font-weight: bold;
    color: #f0b429;
    font-size: 16px;
}



@media screen and (max-width: 768px) {

    .skills-section {
        padding: 60px 15px;
    }

    .skills-box {
        padding: 30px 20px;
    }

    .skills-box h2 {
        font-size: 24px;
    }

    .logo-box {
        padding: 20px 10px;
    }

    .logo-box img {
        width: 55px;
        height: 55px;
    }
}