*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins' sans-serif;
    background-color: rgb(0, 8, 53);


}
body{

    color: #ededed;

}
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10px;
    background: transparent;
    display:  flex;
    justify-content:  space-between;
    align-items: center;
    z-index: 100;
}
.logo{
    position:relative;
    font-size: 25px;
    color: #0ef;
    text-decoration: none;
    font-weight: 600;
    cursor: default;
    opacity: 0;
    animation: slideRight 1s ease forwards;
}
.navbar a{
    display: inline-block;
    font-size: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: .3s;
    opacity: 0;
    animation: slideTop .5s ease forwards;
    animation-delay: calc(.2s * var(--i));
}
.navbar a:hover{
    color:#0ef;
}
.home {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: space-between;
    align-items: center; 
    padding: 70px 10%;
    gap: 20px; /* Ajoute un espace entre les textes et l'image */
}

.home .home-content {
    flex: 1; 
    color: #ededed;
}

.home .home-content h3 {
    font-size: 25px;
    margin-bottom: 10px;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: .7s;
}
.home-content h3:nth-last-of-type(2){
    margin-bottom: 30px;
    animation: slideTop 1s ease forwards;
    animation-delay: .7s;
}
.home-content h3 span{
    color: #0ef;
    bottom: 2px;
}
.home .home-content h1 {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 10px;
    animation-delay: 1s;
}

.home .home-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0;
    animation: slideRight 1s ease forwards;

}

.home .photo {
    flex: 1; 
    display: flex;
    justify-content: center;
    align-items: center;
}


.home-sci a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid#0ef;
    border-radius: 50%;
    font-size: 20px;
    color:#0ef;
    text-decoration: none;
    margin: 30px 15px 30px 0;
    animation-delay: calc(2s * var(--i))
}   
.home-sci a:hover{
    background: #0ef;
    color: #0ef;
    box-shadow: 0 0 20px #0ef;
}
.btn-box{
    display: inline-block;
    padding: 10px 20px;
    background: #0ef;
    border-radius: 40px;
    font-size: 16px;
    color:rgb(8, 22, 76);
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 0 5px #0ef,
    0 0 25px #0ef;
    margin-left: 220px;
}
.btn-box:hover{
    box-shadow: 0 0 50px cyan,
    0 0 25px cyan, 0 0 50px cyan,
    0 0 100px cyan, 0 0 200px
}
.about{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    flex-direction: column;
    gap: 1.5rem;
}
.about-img img{
    max-width: 600px;
    height: auto;
    width: 100%;
    border-radius: 8px;
}
.about-text h2{
    font-size: 60px;
}
.about-text h2 span{
    color: #0ef;
}
.about-text h4{
    font-size: 29px;
    font-weight:600;
    color:#fff;
    line-height: 1.7;
    margin: 15px 0 30px;
}
.about-text p{
    color: aliceblue;
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}


.home, .About {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
}



.home .photo img, .about-img img {
    max-width: 80%; 
    height: auto;
    border-radius: 100%; 
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border: 30px solid #0ef;
}
.titrecomp{
    text-align: center;
    margin-top: 100px;

}
.titrecomp span{
    color:#0ef
}


.container1 {
    width: 80%;
    max-width: 800px;
    height: auto;
    padding: 50px;
    margin: 0 auto 100px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.heading1 {
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 10px;
    text-decoration-thickness: 3px;
    margin-bottom: 30px;
    font-size: 26px;
    color: #0ef;
}

.bars-Techniques {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Ajustement des barres */
.bar {
    display: flex;
    align-items: center;
    font-size: 20px;
    gap: 15px;
}

.bar i {
    font-size: 28px;
    flex-shrink: 0;
}

.bar .info {
    flex: 1;
    font-size: 18px;
    font-weight: 500;
    color: white;
}
.progress-line {
    position: relative;
    width: 100%;
    height: 10px;
    background: #ddd;
    border-radius: 5px;
    overflow: hidden;
}

/* Barre animée */
.progress-line span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #007bff, #00d4ff);
    width: var(--progress-width); /* Applique la largeur finale immédiatement */
    animation: oscillate 1.5s infinite ease-in-out alternate;
    transform-origin: left;
}

/* Animation d'oscillation infinie dès le début */
@keyframes oscillate {
    0% {
        transform: scaleX(1);
    }
    100% {
        transform: scaleX(1.1);
    }
}

/* Définition des largeurs */
.progress-line.html span {
    --progress-width: 75%;
}

.progress-line.css span {
    --progress-width: 65%;
}

.progress-line.javascript span {
    --progress-width: 60%;
}

.progress-line.php span {
    --progress-width: 60%;
}

.progress-line.sql span {
    --progress-width: 50%;
}

/* Affichage du pourcentage */
.progress-line span::after {
    content: attr(data-content);
    position: absolute;
    right: 5px;
    top: -25px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

/* Ajout des valeurs dynamiques */
.progress-line.html span {
    --progress-width: 85%;
}

.progress-line.css span {
    --progress-width: 75%;
}

.progress-line.javascript span {
    --progress-width: 65%;
}

.progress-line.php span {
    --progress-width: 70%;
}

.progress-line.sql span {
    --progress-width: 60%;
}

/* Affichage du pourcentage */
.progress-line span::after {
    content: attr(data-content);
    position: absolute;
    right: 5px;
    top: -25px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    opacity: 0;
    animation: showText 1s forwards 1.5s;
}

@keyframes showText {
    100% {
        opacity: 1;
    }
}


/* Adaptation responsive */
@media (max-width: 768px) {
    .container1 {
        width: 95%;
        padding: 30px;
    }

    .bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .progress-line {
        width: 100%;
    }
}

.radial-bars {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.radial-bar {
    width: 160px;
    height: 160px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}    
.radial-bars .radial-bar svg{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    width: 120px;
    height: 160px;
}
.radial-bars .radial-bar .progress-bar{
    stroke-width: 10;
    stop-color:black;
    fill: transparent;
    stroke-dasharray: 502;
    stroke-dashoffset: 502;
    stroke-linecap: round;
    animation: animate-bar 1s linear forwards;
}
@keyframes animate-bar {
    100%{
        stroke-dashoffset: -1;
    }
}
.path {
    stroke-width: 10;
    stroke: #0ef;
    fill: transparent;
    stroke-dasharray: 502;
    stroke-dashoffset: 502;
    stroke-linecap: round;transition: stroke-dashoffset 1.5s ease-in-out;

}
svg {
    width: 150px;
    height: 150px;
    transform: rotate(-90deg); 
}
.pourcentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
    color: white;
}
.text {
    position: absolute;
    bottom: -20px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: white;
}
.main-text h2 {
    font-size: 60px;
    line-height: 1;
    text-align: center;
    color: #ffffff; 
    margin-bottom: 40px;
}

.main-text h2 span {
    background: linear-gradient(90deg, #0ef, #0ef); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
    position: relative;
    font-weight: bold;
}

/* Effet de soulignement animé */
.main-text h2 span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 3px;
    background-color: #0ef;
    transition: width 0.4s ease-in-out;
}

.main-text h2 span.shimmer {
    background: linear-gradient(90deg, #0ef, #0ef, #0ef);
    background-size: 200% auto;
    animation: shimmer 2s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.path-1{animation: animate-path-1 1s 1s linear forwards;}
.path-2{animation: animate-path-2 1s 1s linear forwards;}
.path-3{animation: animate-path-3 1s 1s linear forwards;}
.path-4{animation: animate-path-4 1s 1s linear forwards;}

@keyframes animate-path-1{
    100%{
        stroke-dashoffset: 50;
    }
}
@keyframes animate-path-2{
    100%{
        stroke-dashoffset: 175;
    }
}
@keyframes animate-path-3{
    100%{
        stroke-dashoffset: 125;
    }
}
@keyframes animate-path-4{
    100%{
        stroke-dashoffset: 75;
    }
}
@keyframes animate-circle {
    0% {
        stroke-dashoffset: 502;
    }
    100% {
        stroke-dashoffset: 125; /* Ajuste en fonction du pourcentage */
    }
}


.path-1 {
    animation: animate-circle 2s linear infinite alternate;
}

.path-2 {
    animation: animate-circle 2s linear infinite alternate;
    animation-delay: 0.5s;
}

.path-3 {
    animation: animate-circle 2s linear infinite alternate;
    animation-delay: 1s;
}



@keyframes animate {
    100% {
        transform: scaleX(1);
    }
}

@keyframes slideRight {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes slideTop {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

.portfolio-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Grille responsive */
    gap: 20px; /* Espacement entre les projets */
    padding: 20px;
}
.main-text h2 {
    font-size: 60px;
    line-height: 1;
    text-align: center;
    color: #ffffff; 
    margin-bottom: 40px;
}

.main-text h2 span {
    background: linear-gradient(90deg, #0ef, #0ef); /* Dégradé bleu à violet */
    -webkit-background-clip: text;  /* Applique le dégradé uniquement au texte */
    -webkit-text-fill-color: transparent; /* Rend la couleur de remplissage transparente */
    position: relative;
    font-weight: bold;
}


.row {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 10px ;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.row:hover {
    transform: translateY(-10px); 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


.row-img {
    width: 100%;
    height: 450px; 
    object-fit: cover; /* Coupe l'image pour qu'elle s'adapte sans déformation */
    display: block;
}


.layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 238, 255, 0.8) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    border-radius: 16px;
    transition: height 0.4s ease-in-out;
}


.row:hover .layer {
    height: 100%;
}


.layer h5 {
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}


.layer p {
    color: #0ef;
    font-size: 14px;
    line-height: 1.5;
}


.layer a i {
    font-size: 24px;
    margin-top: 10px;
    color: #ffffff;
    transition: transform 0.3s ease;
}


.layer a:hover i {
    transform: scale(1.2);
}

.project-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #0ef; 
    color: #ffffff; 
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 30px; 
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.project-button:hover {
    background-color: black; 
    transform: translateY(-3px); 
}


.project-button:active {
    transform: scale(0.95);
}

.contact {
    padding: 50px 20px;
    text-align: center;
    background: rgb(59, 78, 80);
    color: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
}
.veille-container {
    padding: 50px;

    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 800px;
    margin: auto;
}
.veille-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
}
.veille-title span {
    color: #0ef
}
.veille-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.veille-item {
    background: #0d0d0d;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
}
.veille-item-title {
    font-size: 1.5rem;
    color: #0ef;
    margin-bottom: 10px;
}
.veille-item-description {
    color: white;
    font-size: 1rem;
}
.veille-item p {
    color: aliceblue;
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    
}
.veille-link:hover {
    text-decoration: underline;

}

.rapport-section {
    padding: 50px 20px;
    background-color:  rgb(0, 8, 53);;
}

.rapport-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #0ef;
}

.rapport-container {
    background:rgb(0, 8, 53);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: auto;
    line-height: 1.6;
}

.rapport-container h3,
.rapport-container h4 {
    color: #0ef;
    margin-top: 20px;
}

.rapport-container ul {
    list-style-type: disc;
    padding-left: 20px;
}

.rapport-container p {
    margin-bottom: 15px;
}


.contact h2 {
    font-size: 60px;
    line-height: 1;
    margin-bottom: 10px;
}

.contact h2 span {
    color: #0ef;
}

/* Sous-titre */
.contact h4 {
    font-size: 25px;
    color: #ffffff;
    margin: 10px 0;
}

/* Description générale */
.contact p {
    color: #ededed;
    font-size: 20px;
    line-height: 30px;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* Disposition des éléments de contact (formulaire, info de contact, réseaux sociaux) */
.contact-list,
.contact-icons,
.contact-form {
    margin-bottom: 30px;
}

/* Liste des contacts */
.contact-list li {
    list-style-type: none;
    padding: 0;
}

.contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-list i {
    color: #0ef;
    font-size: 20px;
    font-weight: 600;
    margin-right: 10px;
    transition: all 0.4s ease;
}

.contact-list i:hover {
    transform: scale(1.2);
}

/* Icônes des réseaux sociaux */
.contact-icons a {
    display: inline-block;
    margin: 0 10px;
    font-size: 30px;
    color: #ffffff;
    transition: transform 0.3s ease, color 0.3s ease;
}

.contact-icons a:hover {
    color: #0ef;
    transform: scale(1.2);
}

/* Formulaire de contact */
.contact-form {
    background-color: black;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border-radius: 30px;
    background-color:black;
    color: #ffffff;
    border: 1px solid black;
    font-size: 16px;
    width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0ef;
    outline: none;
}

.contact-form .send {
    background-color: #0ef;
    color: black;
    cursor: pointer;
    font-weight: bold;
    border-radius: 30px;
    padding: 15px 30px;
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%;
}

.contact-form .send:hover {
    background-color: #8a2be2;
    transform: translateY(-3px);
}

.contact-form .send:active {
    transform: scale(0.95);
}

/* Responsive : Disposition mobile */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
        align-items: center;
    }

    .contact-form,
    .contact-list,
    .contact-icons {
        width: 100%;
        
    }
    
    .contact-icons a {
        font-size: 25px;
    }

    .contact-list li {
        font-size: 16px;
    }

    .contact h2 {
        font-size: 45px;
    }
}
body {

    margin: 0;
    padding: 0;
}


main {
    padding: 20px;
}

section {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

footer {
    text-align: center;
    padding: 10px 0;
    background-color: #333;
    color: #fff;
    position: fixed;
    width: 100%;
    bottom: 0;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
.cyb {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Crée des colonnes responsives */
    gap: 16px;
    padding: 16px; 
}

.cyb img {
    width: 100%; 
    height: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cyb img:hover {
    transform: scale(1.05); 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.cyb img p{
    color: aliceblue;
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}
.cyb {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.project {
    text-align: center;
    max-width: 300px;
}
.project img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}
.btn:hover {
    background-color: #0056b3;
}
.BTS{
    padding: 50px;

    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 800px;
    margin: auto;
}
.BTS p{
    color: aliceblue;
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    
}
.BTS h5 {
    font-size: 35px;
    color: #ffffff;
    margin: 10px 0;
}
.BTS h5 span{
    color:#0ef
}