/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #777;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
        url('https://images.unsplash.com/photo-1699891730676-037bed3c1bed?fm=jpg&q=60&w=3000&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8Zm9uZCUyMGRlJTIwc2l0ZSUyMHdlYnxlbnwwfHwwfHx8MA%3D%3D');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section:nth-child(even) {
    background: 
        linear-gradient(90deg, 
            rgba(255, 255, 255, 0.8) 0%, 
            rgba(255, 255, 255, 0.9) 10%, 
            rgba(255, 255, 255, 1) 20%, 
            rgba(255, 255, 255, 1) 80%, 
            rgba(255, 255, 255, 0.9) 90%, 
            rgba(255, 255, 255, 0.8) 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Section Accueil */
#accueil {
    height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/fondbleu.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 60px 0;
}

.accueil-content {
    max-width: 800px;
    margin: 0 auto;
}

.titre-principal {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.nom-prenom {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 300;
    opacity: 0.9;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    gap: 10px;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.social-link i {
    margin-right: 0;
    font-size: 1rem;
}

.cv-btn {
    gap: 12px;
}

/* Section À Propos */
#apropos {
    background-color: white;
}

.apropos-content {
    max-width: 800px;
    margin: 0 auto;
}

.apropos-text h3 {
    color: var(--primary-color);
    margin: 25px 0 15px;
    font-size: 1.5rem;
}

.apropos-text p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.apropos-text ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.apropos-text li {
    margin-bottom: 8px;
}

/* Section Formation avec expériences */
#formation {
    background-color: #f5f7fa;
}

.formation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.formation-column,
.experience-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.formation-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.formation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.formation-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.formation-duree {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 5px;
}

.formation-etablissement {
    color: var(--text-light);
    margin-bottom: 20px;
    font-style: italic;
}

.formation-description {
    margin-bottom: 25px;
}

.formation-modules h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.formation-modules ul {
    margin-left: 20px;
}

.formation-modules li {
    margin-bottom: 8px;
}

.experience-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
}

.experience-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--secondary-color);
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.experience-header h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0;
    flex: 1;
}

.experience-duree {
    background-color: var(--secondary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    margin-left: 15px;
}

.experience-entreprise {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 15px;
    font-weight: 500;
}

.experience-description {
    margin-bottom: 20px;
}

.experience-description p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.experience-description ul {
    margin-left: 20px;
    margin-top: 10px;
}

.experience-description li {
    margin-bottom: 5px;
    color: var(--text-light);
}

.experience-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.experience-tech span {
    background-color: var(--light-color);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Section Compétences */
#competences {
    background-color: white;
}

.competence-category {
    margin-bottom: 40px;
}

.competence-category h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.competence-item {
    margin-bottom: 20px;
}

.competence-name {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.competence-bar {
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.competence-level {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 5px;
    width: 0;
    transition: width 1.5s ease;
}

.competence-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.competence-tag {
    background-color: var(--light-color);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.competence-tag:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

/* Section Projets */
#projets {
    background-color: #f5f7fa;
}

.projets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.projet-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.projet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.projet-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.projet-image::before {
    content: '{ }';
    opacity: 0.3;
}

.projet-tech {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.projet-tech span {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.projet-content {
    padding: 25px;
}

.projet-content h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.3rem;
    line-height: 1.4;
}

.projet-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.projet-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.projet-features span {
    background-color: var(--light-color);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.projet-links {
    display: flex;
    gap: 15px;
}

.projet-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
    gap: 8px;
}

.projet-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.projet-link i {
    font-size: 1rem;
}

/* Section Veille Informatique */
#veille {
    background-color: white;
}

.veille-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.veille-articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.veille-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    transition: var(--transition);
    border: 1px solid #e9ecef;
}

.veille-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.veille-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.veille-category {
    background-color: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.veille-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.veille-card h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.2rem;
    line-height: 1.4;
}

.veille-card p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.veille-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.veille-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.veille-sources {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #e9ecef;
}

.veille-sources h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
}

.sources-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.source-link {
    background-color: var(--light-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.source-link:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

/* Section Contact */
#contact {
    background-color: #f5f7fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3, .contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    margin-right: 15px;
    color: var(--secondary-color);
    width: 20px;
    text-align: center;
}

/* Liens sociaux dans la section contact */
.contact-social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.contact-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.9rem;
    gap: 8px;
}

.contact-social:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    color: white;
}

.contact-social i {
    margin-right: 0;
    font-size: 1rem;
    color: white;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.btn-submit {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Pied de page */
footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Responsive */
@media (max-width: 968px) {
    .formation-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .experience-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .experience-duree {
        margin-left: 0;
        align-self: flex-start;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background-color: white;
        width: 80%;
        height: calc(100vh - 70px);
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding-top: 30px;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 0;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .titre-principal {
        font-size: 2.2rem;
    }
    
    .nom-prenom {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .projets-grid {
        grid-template-columns: 1fr;
    }
    
    .projet-links {
        flex-direction: column;
    }
    
    .projet-link {
        justify-content: center;
    }
    
    .veille-articles {
        grid-template-columns: 1fr;
    }
    
    .veille-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .sources-list {
        flex-direction: column;
        align-items: center;
    }
    
    .formation-column,
    .experience-column {
        gap: 20px;
    }
    
    .formation-card,
    .experience-card {
        padding: 20px;
    }
}
/* Ajouter des formes décoratives flottantes */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.05;
    background: var(--secondary-color); /* Bleu clair */
    border-radius: 50%;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    background: var(--primary-color); /* Bleu foncé */
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: 5%;
    background: var(--secondary-color); /* Bleu clair */
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 10%;
    background: var(--accent-color); /* Bleu medium */
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 8%;
    background: var(--secondary-color); /* Bleu clair */
}

.shape-5 {
    width: 180px;
    height: 180px;
    bottom: 30%;
    right: 15%;
    background: var(--primary-color); /* Bleu foncé */
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.titre-principal {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nom-prenom {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 300;
    opacity: 0.9;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.section-title::before {
    content: '';
    display: block;
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
}

#apropos .section-title::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232c3e50'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
}

#formation .section-title::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232c3e50'%3E%3Cpath d='M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3L1 9l11 6 9-4.91V17h2V9L12 3z'/%3E%3C/svg%3E");
}

#competences .section-title::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232c3e50'%3E%3Cpath d='M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z'/%3E%3C/svg%3E");
}

#projets .section-title::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232c3e50'%3E%3Cpath d='M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z'/%3E%3C/svg%3E");
}

#veille .section-title::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232c3e50'%3E%3Cpath d='M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h11c.55 0 1-.45 1-1z'/%3E%3C/svg%3E");
}

#contact .section-title::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232c3e50'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}
.formation-card, .experience-card, .projet-card, .veille-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.formation-card::before, .experience-card::before, .projet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.formation-card:hover::before, .experience-card:hover::before, .projet-card:hover::before {
    left: 100%;
}

.social-link, .contact-social, .projet-link {
    position: relative;
    overflow: hidden;
}

.social-link::before, .contact-social::before, .projet-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.social-link:hover::before, .contact-social:hover::before, .projet-link:hover::before {
    left: 100%;
}
/* Animation d'apparition */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Appliquer aux cartes */
.formation-card, .experience-card, .projet-card, .veille-card, .competence-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.formation-card.visible, .experience-card.visible, .projet-card.visible, .veille-card.visible, .competence-item.visible {
    opacity: 1;
    transform: translateY(0);
}
.nav-container {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.formation-card, .experience-card, .projet-card, .veille-card {
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

.formation-card:hover, .experience-card:hover, .projet-card:hover, .veille-card:hover {
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 10px 20px rgba(0, 0, 0, 0.05);
}
/* Boutons rapports de stage */
.experience-actions {
    margin-top: 20px;
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.rapport-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #e7723c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    gap: 8px;
    font-size: 0.9rem;
}

.rapport-btn:hover {
    background-color: #e7723c;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* Styles pour les compétences avec icônes */
.competence-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.competence-header i {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.competence-header .fa-html5 { color: #e34f26; }
.competence-header .fa-css3-alt { color: #1572b6; }
.competence-header .fa-js-square { color: #f7df1e; }
.competence-header .fa-java { color: #007396; }
.competence-header .fa-python { color: #3776ab; }
.competence-header .fa-php { color: #777bb4; }
.competence-header .fa-react { color: #61dafb; }
.competence-header .fa-node-js { color: #339933; }
.competence-header .fa-bootstrap { color: #7952b3; }
.competence-header .fa-database { color: #4479a1; }
.competence-header .fa-git-alt { color: #f05032; }
.competence-header .fa-linux { color: #fcc624; }
.competence-header .fa-windows { color: #0078d6; }
.competence-header .fa-code { color: #007acc; }
.competence-header .fa-cogs { color: #2c2255; }
.competence-header .fa-figma { color: #f24e1e; }

.competence-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.competence-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--light-color);
    color: var(--primary-color);
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.competence-tag:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

.competence-tag i {
    font-size: 1.1rem;
}
/* Timeline À Propos - Version élargie */
.apropos-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: start;
}

.apropos-timeline {
    position: relative;
    padding: 30px 0;
}

.apropos-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
    border-radius: 3px;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 15px 20px 15px 15px;
    border-radius: 12px;
    position: relative;
}

.timeline-item:hover {
    background-color: rgba(52, 152, 219, 0.1);
    transform: translateX(8px);
}

.timeline-item.active {
    background-color: rgba(52, 152, 219, 0.15);
    transform: translateX(12px);
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    margin-right: 15px !important;
    margin-left: 30px !important;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item.active .timeline-dot {
    background-color: var(--primary-color);
    transform: scale(1.4);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.3);
}

.timeline-item span {
    font-weight: 600;
    color: var(--text-color);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.timeline-item.active span {
    color: var(--primary-color);
    font-weight: 700;
}
.timeline-item:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 8px; /* Ajustez cette valeur */
    border-radius: 4px; /* Coins arrondis pour l'outline */
}

.timeline-item:active {
    outline: 2px solid var(--secondary-color);
    outline-offset: 8px;
}
/* Contenu */
.content-item {
    display: none;
    animation: fadeIn 0.5s ease;
    padding: 20px;
}

.content-item.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .apropos-content {
        grid-template-columns: 280px 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .apropos-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .apropos-timeline {
        display: flex;
        justify-content: space-around;
        padding: 0;
    }
    
    .apropos-timeline::before {
        display: none;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 0;
        padding: 12px 15px;
    }
    
    .timeline-dot {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .timeline-item span {
        font-size: 1rem;
    }
}
/* Dark/Light Mode Toggle */
.theme-swap {
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-swap:hover {
    transform: scale(1.1);
}

.swap-rotate .swap-on,
.swap-rotate .swap-off {
    transition: all 0.3s ease;
}

/* Couleurs des icônes */
.swap-off {
    color: #fbbf24; /* Jaune pour le soleil */
}

.swap-on {
    color: #e5e7eb; /* Gris clair pour la lune */
}
/* Variables pour le mode sombre */
[data-theme="dark"] {
    --primary-color: #1e293b;
    --secondary-color: #334155;
    --accent-color: #3b82f6;
    --text-color: #051b36;
    --text-light: #94a3b8;
    --light-color: #082f61;
    --dark-color: #0f172a;
}

[data-theme="dark"] body {
    background-color: #0f172a;
    color: #011022;
    background-image: none; /* Supprime l'image de fond */
}

[data-theme="dark"] .section {
    background-color: #082046;
}

[data-theme="dark"] .section:nth-child(even) {
    background-color: #0f172a;
}

[data-theme="dark"] #accueil {
    background: linear-gradient(135deg, #1e293b 0%, #162131 100%);
}

[data-theme="dark"] .formation-card,
[data-theme="dark"] .experience-card,
[data-theme="dark"] .projet-card,
[data-theme="dark"] .veille-card {
    background-color: #334155;
    color: #051224;
}

[data-theme="dark"] .competence-tag,
[data-theme="dark"] .projet-features span {
    background-color: #475569;
    color: #081629;
}