*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins';
    text-decoration: none;
    scroll-behavior: smooth;
    list-style: none;
}

/* Styles de la barre de navigation */
header{
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    color: white;
    padding: 0.8rem 2.5rem;
    border-radius: 3rem;
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
}
.logo{
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    text-wrap: nowrap;
    transition: 0.3s ease-in-out;
}
.logo:hover{
    transform: scale(1.1);
}
.nav-links{
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}
li a{
    position: relative;
    color: white;
    font-weight: 300;
}
li a::before{
    position: absolute;
    content: '';
    width: 0;
    left: 0;
    height: 5px;
    top: 25px;
    border-radius: 1rem;
    transition: 0.3s ease-in-out;
    background: linear-gradient(to right,rgb(0,157,255), rgb(255,0,255));

}
li a:hover::before{
    width: 100%;

}
.visit-btn{
    padding: 0.8rem 1.5rem;
    border-radius: 3rem;
    border: none;
    font-weight: 500;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    text-wrap: nowrap;
    transition: 0.3s ease-in-out;
    background: linear-gradient(to right, #FFB6C1, #FFC0CB);
}
.visit-btn:hover{
    background: linear-gradient(to right, #FFC0CB, #FFB6C1);
    transform: scale(1.03);
}
#menu-icon{
    font-size: 2rem;
    display: none;
    
}

section{
    min-height: 100vh;
    padding: 8rem 12%;
    width: 100%;
    position: relative;

}

.about{
    display: flex;
    align-items: center;
    justify-content: center;
}

.about .about-container{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10rem;
}

.about img{
    width: 30vw;
    border-radius: 40%;
}

.info-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 1.5rem;

}

.info-box h3{
    font-size: 1.8rem;
    font-weight: 500;
    opacity: 0.8;
}
.info-box h1{
    font-size: 4rem;
    font-weight: 600;
}
.info-box span{
    background: linear-gradient(to right, #CCCCCC, #333333);
    transform: scale(1.03);
    background-clip: text;
    color: transparent;
    font-size: 2rem;
}

.btn-group{
    display: flex;
    gap: 1rem;
}
.btn{
    border-radius: 3rem;
    padding: 0.5rem 1.5rem;
    border: 2px solid black;
    cursor: pointer;
    font-weight: 500;
    text-wrap: nowrap;
    transition: 0.2s ease-in-out;
}
.btn:hover {
    background-color: black;
    color: white;
}
.socials{
    display: flex;
    gap: 2rem;
}
.socials i{
    font-size: 2.5rem;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}
.socials i:hover{
    transform: scale(1.1);
}

.section-title{
    text-align: center;
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 3rem;
}
.experience-infos{
    display: flex;
    
    align-items: center;
    justify-content: center;
    gap: 5rem;
}
.experience img{
    width: 24vw;
    border-radius: 3rem;
}
.grid{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 2rem;
}
.grid-card{
    border: 2px solid black;
    border-radius: 3rem;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: left;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}
.grid-card:hover{
    transform: scale(1.02);
    background-color: black;
    color:white;
}
.grid-card i{
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.grid-card span{
    font-size:  1.5rem;
    font-weight: 500;
    background: linear-gradient(to right,rgb(255,0,255),rgb(0,157,255));
    background-clip: text;
    color: transparent;
}
::-webkit-scrollbar{
    width: 20px;
}
::-webkit-scrollbar-track{
    background-color: rgba(219, 219, 219);
}
::-webkit-scrollbar-thumb{
    background: linear-gradient(to bottom, #FFB6C1, #FFC0CB);
}

/* Styles de la section projets */
.projects {
    background: none;
    position: relative;
}

.projects::before {
    display: none;
}

.projects .section-title {
    position: relative;
    margin-bottom: 3rem;
    background: none;
    color: inherit;
}

.projects-grid{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.project-card {
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    border: 2px solid black;
    border-radius: 3rem;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

.project-card:hover {
    background-color: black;
    color: white;
    transform: translateY(-10px)scale(1.02);
}

.project-card img {
    width: 100%;
    height: auto;
    max-height: 280px;
    border-radius: 1rem;
    object-fit: cover;
    max-width: 100%;
}

.project-card:hover .btn {
    border: 2px solid white;
    color: white;
}

.project-card:hover .btn:hover {
    border:  2px solid white;
    background-color: white;
    color: black;
}

.project-card h3 {
    font-size: 2.2rem;
    font-weight: 500;
}

.maquette-container {
    display: flex;
    justify-content: flex-start;
    margin-top: 0.5rem;
    width: 100%;
}

.maquette-btn {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: #444;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 2rem;
    transition: all 0.3s ease;
}

.maquette-btn:hover {
    background: #666;
    transform: translateY(-2px);
}

.project-card p {
    max-width: 90%;
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 0;
}

.project-card .btn-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.project-card .btn {
    padding: 0.6rem 2rem;
    font-size: 1.1rem;
}

.project-btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.project-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    background: linear-gradient(to right, #333, #444);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(51, 51, 51, 0.3);
}

.project-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(51, 51, 51, 0.4);
    background: linear-gradient(to right, #444, #333);
}

.report-btn-container {
    display: flex;
    justify-content: flex-start;
    margin-top: 2rem;
    padding: 0 1rem;
}

.report-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.report-btn:hover {
    background-color: #555;
    transform: translateY(-2px);
}

/* Styles pour le diagramme de Gantt */
.gantt {
    padding: 2rem 1rem;
    background-color: #f8f9fa;
}

.gantt-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
}

.gantt-chart {
    display: grid;
    grid-template-columns: 150px repeat(10, 1fr);
    gap: 1px;
    background-color: #ddd;
    border: 1px solid #ddd;
    min-width: 800px;
}

.gantt-header {
    display: contents;
    background-color: #333;
    color: white;
    font-weight: bold;
}

.gantt-task {
    padding: 0.5rem;
    background-color: #333;
    color: white;
    font-weight: bold;
}

.gantt-timeline {
    display: contents;
}

.gantt-month {
    padding: 0.5rem;
    text-align: center;
    background-color: #333;
    color: white;
}

.gantt-body {
    display: contents;
}

.gantt-row {
    display: contents;
}

.gantt-bar {
    background-color: #4CAF50;
    height: 30px;
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.gantt-bar:hover {
    background-color: #45a049;
    transform: scale(1.02);
}

/* Styles pour les sous-tâches */
.gantt-row:nth-child(n+3) .gantt-bar {
    background-color: #8BC34A;
    height: 20px;
    margin: 2px 0;
}

.gantt-row:nth-child(n+3) .gantt-task {
    font-size: 0.9rem;
    padding-left: 1.5rem;
}

/* Responsive design pour le diagramme de Gantt */
@media (max-width: 768px) {
    .gantt-chart {
        grid-template-columns: 100px repeat(10, 1fr);
    }
    
    .gantt-month {
        font-size: 0.8rem;
    }
    
    .gantt-task {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        gap: 1rem;
    }
    
    .project-card {
        max-width: 330px;
    }
}

.input-box {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(19, 18, 18, 0.1);
}
.input-box input{
    border-radius: 3rem;
    border: 2px solid rgba(14, 201, 89, 0.896);
    padding: 10px 10px 10px 40px;
    font-size: 3rem;
    margin: 4px;
    
}
.input-box input::placeholder{
    font-size: 4px;
    
}
.input {
    position: relative;
    margin-bottom: 20px;
}

.input input,
.input textarea {
    width: 100%;
    padding: 12px 15px 12px 40;
    font-size: 1rem;
    border: 1px solid #0e0c0c;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s ease;
    font-family: inherit;
    resize: none;
}

.contact .input input::placeholder{
    font-size: 1rem;
}


.input input:focus,
.input textarea:focus {
    border-color: #3498db;
    box-shadow: 0 0 4px rgba(52, 152, 219, 0.3);
}
.input i {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 1.2rem;
    pointer-events: none;
}


footer{
    bottom: 0 ;
    left: 0;
    height: 10rem;
    width: 100;
    display: flex;
    flex-direction: column;
    gap:1rem;
    justify-content: center;
    align-items: center;
}
footer ul{
    display: flex;
    align-items: center;
    gap: 3rem;
}
footer ul li a{
    color: black;
    font-weight: 600;
}
.copyright{
    font-size: 300;
    margin-top: 2rem;
}

@media(max-width:1280px){
    header{
        padding: 1rem 2rem;
        gap: 2rem;
    }
    .about .about-container{
        gap: 3rem
    }
    .experience-infos{
        flex-direction: column;
    }
    .input-box{
        padding: 2rem 5rem;
        font-size: 2.5rem;
    }
    .input input::placeholder{
        font-size: 2.5rem;
    }
    .input-box i{
        font-size: 2.5rem;
    }
}

@media(max-width:768px){
    header{
        gap: 1rem;
        padding: 0.8rem 1.5rem;
        width: 95%;
    }
    header .logo{
        font-size: 1rem;
    }
    header .visit-btn{
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    .nav-links{
        gap: 1.5rem;
    }
    .about-container{
        flex-direction: column;
    }
    .input-box input{
        padding: 1rem 2rem;
        font-size: 1.8rem;
    }
    .input-box input::placeholder{
        font-size: 1.5rem;
    }
    .input-box i{
        display: none;
    }
    .grid{
        grid-template-columns: repeat(1,1fr);
    }
 
    .experience-infos img{
        width: 70vw;
    }
}

@media(max-width:600px){
    header #menu-icon{
        display: block;
    }
    .nav-links{
        position: absolute;
        top: 100%;
        margin-top: 1rem;
        width: 100%;
        padding: 1rem;
        color: white;
        display: flex;
        flex-direction: column;
        text-align: center;
        background: rgba(0, 0, 0, 0.745);
        border-radius: 3rem;
        display: none;
    }
    .nav-links li{
        margin-top: 1.5rem ;
        padding: 1rem;
    }
    .nav-links.active{
        display: block;
    }
    header{
        padding: 0.8rem 1.5rem;
        gap: 2rem;
        width: 90%;
    }
    header .logo{
        font-size: 1.5rem;
    }
    .about-container img{
        width: 80vw;
    }
    .input-box input{
        padding: 0.5rem 3rem;
        width: 280px;
        font-size: 1.5rem;
    }
    .input-box input::placeholder{
        font-size: 1.5rem;
    }
    footer ul{
        gap: 1rem;
    }
}



.contact .input textarea {
    height: 150px;
    resize: vertical;
    padding: 12px 15px;
    font-family: inherit;
    outline: none;
    width: 100%;
}

.contact .input i {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #857c7c;
    font-size: 1.2rem;
    pointer-events: none;
}

.contact .btn {
    display: inline-block;
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    color: #fff;
    background-color: #3498db;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: inherit;
    text-transform: uppercase;
    font-weight: bold;
}

.contact .btn:hover {
    background-color: #2874a6;
}

footer{
    bottom: 0 ;
    left: 0;
    height: 10rem;
    width: 100;
    display: flex;
    flex-direction: column;
    gap:1rem;
    justify-content: center;
    align-items: center;
}
footer ul{
    display: flex;
    align-items: center;
    gap: 3rem;
}
footer ul li a{
    color: black;
    font-weight: 600;
}
.copyright{
    font-size: 300;
    margin-top: 2rem;
}

@media(max-width:1280px){
    header{
        padding: 1rem 2rem;
        gap: 2rem;
    }
    .about .about-container{
        gap: 3rem
    }
    .experience-infos{
        flex-direction: column;
    }
    .input-box{
        padding: 2rem 5rem;
        font-size: 2.5rem;
    }
    .input input::placeholder{
        font-size: 2.5rem;
    }
    .input-box i{
        font-size: 2.5rem;
    }
}

@media(max-width:768px){
    header{
        gap: 1rem;
        padding: 0.8rem 1.5rem;
        width: 95%;
    }
    header .logo{
        font-size: 1rem;
    }
    header .visit-btn{
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    .nav-links{
        gap: 1.5rem;
    }
    .about-container{
        flex-direction: column;
    }
    .input-box input{
        padding: 1rem 2rem;
        font-size: 1.8rem;
    }
    .input-box input::placeholder{
        font-size: 1.5rem;
    }
    .input-box i{
        display: none;
    }
    .grid{
        grid-template-columns: repeat(1,1fr);
    }
 
    .experience-infos img{
        width: 70vw;
    }
}

@media(max-width:600px){
    header #menu-icon{
        display: block;
    }
    .nav-links{
        position: absolute;
        top: 100%;
        margin-top: 1rem;
        width: 100%;
        padding: 1rem;
        color: white;
        display: flex;
        flex-direction: column;
        text-align: center;
        background: rgba(0, 0, 0, 0.745);
        border-radius: 3rem;
        display: none;
    }
    .nav-links li{
        margin-top: 1.5rem ;
        padding: 1rem;
    }
    .nav-links.active{
        display: block;
    }
    header{
        padding: 0.8rem 1.5rem;
        gap: 2rem;
        width: 90%;
    }
    header .logo{
        font-size: 1.5rem;
    }
    .about-container img{
        width: 80vw;
    }
    .input-box input{
        padding: 0.5rem 3rem;
        width: 280px;
        font-size: 1.5rem;
    }
    .input-box input::placeholder{
        font-size: 1.5rem;
    }
    footer ul{
        gap: 1rem;
    }
}

/* Styles pour la section Compétences */
.skills {
    background-color: #f9f9f9;
}

.skills-intro {
    text-align: left;
    max-width: 100%;
    margin: 0 0 2rem 0;
    padding-left: 0;
    line-height: 1.6;
    font-size: 1.1rem;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.skill-category {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 2rem;
    border-radius: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.skill-category h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.skill-category h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #FFB6C1, #FFC0CB);
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-item span {
    font-weight: 500;
}

.skill-bar {
    background-color: #e0e0e0;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background: linear-gradient(to right, #FFB6C1, #FFC0CB);
    border-radius: 5px;
}

.skills-btn-container {
    display: flex;
    justify-content: flex-start;
    margin-top: 3rem;
    padding-left: 0;
}

.skills-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(to right, #333, #444);
    color: white;
    font-weight: 600;
    border-radius: 3rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.skills-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Styles pour la section Veille */
.veille {
    background-color: #f7f7f7;
    position: relative;
}

.veille-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.veille-description, .veille-tools {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.veille-description h3, .veille-tools h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
    position: relative;
}

.veille-description h3::after, .veille-tools h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #FFB6C1, #FFC0CB);
}

.veille-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #555;
}

.veille-tools-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.veille-tools-list li {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: #444;
}

.veille-tools-list li i {
    font-size: 1.3rem;
    margin-right: 1rem;
    color: #FFB6C1;
}

.veille-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.veille-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(to right, #333, #444);
    color: white;
    font-weight: 600;
    border-radius: 3rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.veille-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .veille-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .veille-description, .veille-tools {
        width: 100%;
    }
}

/* Styles pour la section Contact */
.contact {
    background-color: #f9f9f9;
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    padding: 2rem;
    background-color: white;
    border-radius: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-item i {
    font-size: 2rem;
    color: #FFB6C1;
    margin-top: 0.5rem;
}

.contact-details h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.contact-details p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: #555;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #FFB6C1;
}

@media (max-width: 768px) {
    .contact-container {
        padding: 0 1rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        text-align: center;
    }
    
    .contact-item i {
        margin-top: 0;
    }
}

/* Styles pour la section RSS */
.rss-section {
    margin-top: 2rem;
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.rss-section h4 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.rss-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.rss-category h5 {
    color: #555;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.5rem;
}

.rss-category ul {
    list-style: none;
    padding: 0;
}

.rss-category li {
    margin-bottom: 0.8rem;
}

.rss-category a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 0.3rem 0;
}

.rss-category a:hover {
    color: #004499;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .rss-list {
        grid-template-columns: 1fr;
    }
    
    .rss-section {
        padding: 1rem;
    }
}

.dark-btn {
    background-color: #333;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dark-btn:hover {
    background-color: #444;
    transform: translateY(-2px);
}
