

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    overflow: auto;
    color: #333;
}

    .overlay {
    position: fixed;
    top: 50;
    left: 50;
    right: 50;
    bottom: 50;
    z-index: 9999;
    }


    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 40px;
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        transition: background-color 0.3s ease, padding 0.3s ease;
        background-color: rgba(44, 20, 72, 0.856);
    }

    .header-container.scrolled {
        background-color: rgba(255, 255, 255, 0.95);
        padding: 15px 40px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .header-container.scrolled .myname {
        color: #333;
    }

    .header-container.scrolled .menu1 a {
        color: #333;
    }

    .header-container.scrolled .menu-toggle span {
        background-color: #333;
    }

    .myname {
        color: white;
        font-size: 1.8em;
        font-weight: 700;
        letter-spacing: 1px;
        position: relative;
        z-index: 1001;
    }

    .menu-toggle {
        display: none;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        cursor: pointer;
        z-index: 1001;
    }

    .menu-toggle span {
        width: 100%;
        height: 3px;
        background-color: white;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    .menu1 ul {
        list-style-type: none;
        display: flex;
        gap: 30px;
    }

    .menu1 a {
        color: white;
        text-decoration: none;
        font-weight: 500;
        font-size: 1.1rem;
        position: relative;
        padding: 5px 0;
        transition: color 0.3s ease;
    }

    .menu1 a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: white;
        transition: width 0.3s ease;
    }

    .menu1 a:hover::after {
        width: 100%;
    }

    .slides-container {
        display: flex;
        width: 300%;
        height: 100vh;
        transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
    }

    .slide {
        position: relative;
        width: 100vw;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        background-color: var(--bg-color);
    }

    .slide-content {
        text-align: center;
        z-index: 10;
        max-width: 800px;
        padding: 0 20px;
        animation: fadeInUp 0.8s ease-out;
    }

    .slide h1 {
        font-size: 3.5rem;
        font-weight: 800;
        margin-bottom: 20px;
        color: white;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .slide p {
        font-size: 1.5rem;
        margin-bottom: 40px;
        color: rgba(255, 255, 255, 0.9);
    }

    .btn-slides {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 18px 40px;
        background-color: white;
        color: #333;
        text-decoration: none;
        border-radius: 50px;
        font-weight: 600;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        position: relative;
    }

    .btn-slides:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    }

    .btn-slides:active {
        transform: translateY(0);
    }

    .btn-slides i {
        margin-left: 10px;
        transition: transform 0.3s ease;
    }

    .btn-slides:hover i {
        transform: translateX(5px);
    }

    /* arrère-plan*/
    .slide-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .shape {
        position: absolute;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
    }

    .shape-0 {
       width: 200px;
        height: 200px;
        right: -10px;
        top: 10px;
        border-radius: 50%;
    }
    .shape-1 {
        /* width: 300px;
        height: 300px;
        top: -100px;
        left: -100px; */

        top: 120px;
         height: 400px;
         width: 400px;
        border-radius: 50%;
    }

    .shape-2 {
        width: 200px;
        height: 200px;
        bottom: -50px;
        right: 100px;
    }

    .shape-3 {
        width: 150px;
        height: 150px;
        bottom: 100px;
        left: 200px;
    }

    /* Animations */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }



    /* Responsive */
    @media (max-width: 992px) {
        .slide h1 {
            font-size: 2.8rem;
        }
        
        .slide p {
            font-size: 1.3rem;
        }
        
        .menu1 ul {
            gap: 20px;
        }
    }

    @media (max-width: 768px) {
        .header-container {
            padding: 15px 20px;
        }
        
        .menu-toggle {
            display: flex;
        }
        
        .menu1 {
            position: fixed;
            top: 0;
            right: -100%;
            width: 70%;
            height: 100vh;
            background-color: white;
            padding: 80px 30px 30px;
            transition: right 0.4s ease;
            box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        }
        
        .menu1.active {
            right: 0;
        }
        
        .menu1 ul {
            flex-direction: column;
            gap: 25px;
        }
        
        .menu1 a {
            color: #333;
            font-size: 1.2rem;
        }
        
        .menu1 a::after {
            background-color: #333;
        }
        
        .slide h1 {
            font-size: 2.2rem;
        }
        
        .slide p {
            font-size: 1.1rem;
        }
        
        .btn-slides {
            padding: 15px 30px;
        }
        
        .myname {
            font-size: 1.5em;
        }
    }

    @media (max-width: 480px) {
        .slide h1 {
            font-size: 1.8rem;
        }
        
        .slide p {
            font-size: 1rem;
            margin-bottom: 30px;
        }
        
        .btn-slides {
            padding: 12px 25px;
            font-size: 1rem;
        }
        
    }

    /* Styles pour la page de compétence Développement C1.html */
    /* si temps https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_breadcrumbs
    */
    /* Fil d'Ariane */
    .breadcrumb {
        display: flex;
        align-items: center;
        padding: 20px 40px;
        background-color: #f8f9fa;
        margin-top: 0px;
        height: 70px;
    }

    .breadcrumb-link {
        display: flex;
        align-items: center;
        color:  rgba(44, 20, 72, 0.856);
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s ease;
    }

    .breadcrumb-link:hover {
        color: #9c0dbc;
    }

    .breadcrumb-link i {
        margin-right: 8px;
        font-size:x-large;
    }

    .breadcrumb-separator {
        margin: 0 10px;
        color: #6c757d;
    }

    .breadcrumb-current {
        color: #6c757d;
    }

    /* Header */
    .page-header {
        position: relative;
        height: 40vh;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        background-color: var(--bg-color);
        color: white;
    }

    .page-header-content {
        text-align: center;
        z-index: 10;
        max-width: 800px;
        padding: 0 20px;
    }

    .page-header h1 {
        font-size: 3rem;
        margin-bottom: 15px;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .page-header p {
        font-size: 1.3rem;
        opacity: 0.9;
    }

    .page-header-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    /* Conteneur des compétences */
    .competence-container {
        padding: 60px 40px;
        max-width: 1200px;
        margin: 0 auto;
    }

    /* Cartes de compétence */
    .competence-card {
        background: white;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        margin-bottom: 40px;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .competence-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    }

    .competence-content {
        display: flex;
        padding: 30px;
    }

    .competence-image {
        flex: 0 0 40%;
        position: relative;
        overflow: hidden;
        border-radius: 8px;
    }

    /* Images des compétences */
    .competence-image {
        flex: 0 0 40%;
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        height: 300px; 
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #f5f5f5; 
    }

    .competence-image img {
        width: 100%;
        height: 100%;
        object-fit: cover; 
        transition: transform 0.5s ease;
    }

    #zoomA {
        /* OPTIONAL DIMENSIONS */
        width: 355px;
        height: auto;
        
        /* ANIMATE ZOOM */
        /* ease | ease-in | ease-out | linear */
        transition: transform ease-in-out 0.3s;
    }
    
    #zoomA:hover { 
        transform: scale(1.2); 
    }


.competence-image.contain img {
    object-fit: contain;
}*/

/* Ajustements responsives */
@media (max-width: 992px) {
    .competence-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .competence-image {
        height: 200px;
    }
}

.competence-text {
    flex: 1;
    padding-left: 30px;
}

/* .competence-badge {
    display: inline-block;
    background-color: var(--bg-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
} */

.competence-card h2 {
    font-size: 1.8rem;
    color: #470458;
    margin-bottom: 10px;
}

.competence-card h3 {
    font-size: 1.3rem;
    color: rgba(44, 20, 72, 0.856);
    margin-bottom: 20px;
    font-weight: 500;
}

/* Détails de compétence */
.competence-details {
    margin-top: 20px;
}

.detail-item {
    display: flex;
    margin-bottom: 15px;
}

.detail-item i {
    color: var(--bg-color);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 3px;
    flex: 0 0 auto;
}

.detail-item p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

.page-footer {
    background-color: rgba(44, 20, 72, 0.856);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 992px) {
    .competence-content {
        flex-direction: column;
    }
    
    .competence-image {
        margin-bottom: 20px;
    }
    
    .competence-text {
        padding-left: 0;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .breadcrumb {
        padding: 15px 20px;
    }
    
    .competence-container {
        padding: 40px 20px;
    }
    
    .competence-content {
        padding: 20px;
    }
    
    .page-header {
        height: 30vh;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .competence-card h2 {
        font-size: 1.5rem;
    }
    
    .competence-card h3 {
        font-size: 1.1rem;
    }
    
    .detail-item {
        flex-direction: column;
    }
    
    .detail-item i {
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .competence-badge {
        font-size: 0.8rem;
    }
    
    .competence-card h2 {
        font-size: 1.3rem;
    }
}


