:root {
    --primary-color: rgba(109, 97, 230, 1);
    --white-color: rgba(255, 255, 255, 1);
    --black-color: rgba(0, 0, 0, 1);
    --footer-color: rgba(37, 38, 42, 1);
    --skills-box: rgba(109, 97, 230, 0.20);
    --button-hover: rgba(109, 97, 230, 0.8);
    --white-nuance: rgba(250, 250, 250, 1);
    --dark-mode : rgba(60, 62, 64, 1);
    --grey-color: rgba(15, 15, 15, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.dark-mode {
    --white-color: rgba(0, 0, 0, 1);
    --black-color: rgba(255, 255, 255, 1);
    --grey-color: var(--black-color);
    --white-nuance: rgb(190, 190, 190);
    background-color: var(--dark-mode);
    color: var(--black-color);
}

body.dark-mode .navbar {
    background-color: var(--dark-mode);
}

body.dark-mode .navbar-text,
body.dark-mode .navbar-logo {
    color: #ffffff;
}

body.dark-mode .home,
body.dark-mode .about,
body.dark-mode .skills,
body.dark-mode .study,
body.dark-mode .project-section,
body.dark-mode .contact {
    background-color: var(--dark-mode);
    color: #ffffff;
}

body.dark-mode .footer,
body.dark-mode .footer-container,
body.dark-mode .footer-logo,
body.dark-mode .footer-links h3,
body.dark-mode .footer-socials h3,
body.dark-mode .footer h3,
body.dark-mode .footer-links ul li a,
body.dark-mode .footer-socials .social-icons a,
body.dark-mode .footer-copyright {
    color: rgba(255, 255, 255, 1);
    background-color: var(--footer-color);
}

body.dark-mode .project-box,
body.dark-mode .project-filters,
body.dark-mode .skills-card,
body.dark-mode .skills-card-2,
body.dark-mode .timeline-box,
body.dark-mode .project-card-2 {
    background-color: var(--dark-mode);
    color: #ffffff;
}

body.dark-mode .skills-card,
body.dark-mode .skills-card-2,
body.dark-mode .timeline-box,
body.dark-mode .project-card-2 {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    color: var(--black-color);
}

body.dark-mode .skills-card-title,
body.dark-mode .skills-card-subtitle,
body.dark-mode .timeline-box h3 {
    color: var(--black-color);
}

body.dark-mode .skills-item-2 {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--black-color);
}

body.dark-mode .skills-item-2:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

body.dark-mode .filter-year option,
body.dark-mode .filter-category option {
    color: #fff;
    background-color: rgb(44, 44, 44);
}

body.dark-mode .filter-category,
body.dark-mode .filter-year,
body.dark-mode .search-bar,
body.dark-mode .contact-input,
body.dark-mode .contact-textarea {
    color: var(--black-color);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-mode .search-bar::placeholder,
body.dark-mode .contact-input::placeholder,
body.dark-mode .contact-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

body.dark-mode .navbar-link {
    background-color: var(--dark-mode);
    color: var(--black-color);
}

body.dark-mode .navbar-link a {
    color: var(--black-color);
}

body.dark-mode .navbar-link a:hover {
    color: var(--primary-color);
}

body.dark-mode .close-icon {
    color: var(--black-color);
}

/*-------------------------------------------Navbar-------------------------------------------*/
.navbar {
    width: 100%;
    background-color: var(--white-color, #fff);
    display: flex;
    justify-content: center;
    padding: 18px 20px;
}

.navbar-content {
    width: 100%;
    max-width: 1015px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.navbar-text {
    font-family: "Inter", Helvetica, sans-serif;
    font-weight: 400;
    color: var(--black-color);
    font-size: 16px;
    white-space: nowrap;
}

.navbar-logo {
    text-decoration: none;
    color: var(--black-color);
    font-family: "Inter", Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.navbar-logo:hover {
    color: var(--primary-color);
}

.navbar-link {
    display: flex;
    align-items: center;
    gap: 50px;
}

.navbar-link a {
    display: flex;
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 10px;
    text-decoration: none;
    color: var(--black-color);
    font-family: "Inter", Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.navbar-link a i {
    font-size: 20px;
}

.navbar-link a:hover {
    color: var(--primary-color);
}

.navbar-link a:hover i {
    color: var(--primary-color);
}

.navbar-link .fa-moon {
    transform: rotate(-20deg);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

.close-icon {
    display: none;
    font-size: 24px;
    color: var(--black-color);
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
}

.navbar-link.open .close-icon {
    display: block;
    margin-left: 20px;
    margin-top: 20px;
}

.mobile-icon {
    display: none;
    font-size: 18px;
    color: var(--primary-color);
    margin-right: 10px;
}

.dark-mode-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Inter", Helvetica, sans-serif;
    font-size: 16px;
    color: var(--black-color);
    text-decoration: none;
    cursor: pointer;
}

.dark-mode-toggle i {
    font-size: 18px;
    display: inline-block;
    color: var(--black-color);
}

.dark-mode-toggle:hover {
    color: var(--primary-color);
}

.dark-mode-toggle:hover i {
    color: var(--black-color);
}

.dark-mode-text {
    display: none;
}

/* Responsive pour mobile */
@media screen and (max-width: 768px) {
    .navbar-content {
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    .hamburger {
        display: block;
        order: 1;
    }

    .navbar-logo {
        order: 2;
        margin-left: auto;
    }

    .dark-mode-text {
        display: inline;
    }

    .dark-mode-toggle {
        display: flex;
    }

    .mobile-icon {
        display: inline-block;
    }

    .navbar-link a {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .navbar-link {
        opacity: 0;
        transform: translateX(-100%);
        transition: opacity 0.3s ease, transform 0.3s ease;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 250px;
        background-color: #fff;
        padding: 20px;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 50px;
    }

    .navbar-link.open {
        opacity: 1;
        transform: translateX(0);
    }

    .navbar-link a {
        text-align: center;
        width: 100%;
    }

    .close-icon {
        position: absolute;
        top: 15px;
        left: 15px;
        cursor: pointer;
    }
}

/*-------------------------------------------Home-------------------------------------------*/
.home {
    width: 100%;
    background-color: var(--white-color);
    display: flex;
    justify-content: center;
    padding: 25px 20px;
    box-sizing: border-box;
    margin-bottom: 50px;
}

.home-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 1227px;
    width: 100%;
    gap: 50px;
    flex-wrap: wrap;
}

.home-content-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    flex: 1;
    min-width: 300px;
}

.home-text {
    font-family: "Inter-Bold", Helvetica;
    font-weight: 700;
    color: var(--black-color);
    font-size: 32px;
}

.home-paragraph {
    font-family: "Inter-Regular", Helvetica;
    font-weight: 400;
    color: var(--black-color);
    font-size: 20px;
}

.home-button {
    font-family: "Inter-Regular", Helvetica, sans-serif;
    font-size: 16px;
    color: #fff;
    background-color: var(--primary-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

.home-button:hover {
    background-color: var(--button-hover);
}

.server {
    flex: 1;
    min-width: 300px;
    height: auto;
    max-width: 100%;
    object-fit: cover;
}

.home-text .lastname,
.home-paragraph .lastword {
    display: block;
}

@media screen and (max-width: 768px) {
    .home-content {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }

    .home-content-text {
        align-items: center;
    }

    .server {
        max-width: 100%;
        height: auto;
    }
}

/*-------------------------------------------About-------------------------------------------*/
.about {
    width: 100%;
    background-color: var(--white-color);
    padding: 40px 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    margin-top: 150px;
}

.overlap-group {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-title {
    font-family: "Inter-Bold", Helvetica;
    font-weight: 700;
    color: var(--black-color);
    font-size: 32px;
}

.about-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
    width: 100%;
}

.server-modif {
    width: 100%;
    max-width: 456px;
    height: auto;
    object-fit: cover;
}

.about-content-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    flex: 1;
    min-width: 300px;
}

.about-text {
    font-family: "Inter-Regular", Helvetica;
    font-weight: 400;
    color: var(--black-color);
    font-size: 20px;
    text-align: left;
}

.about-contact-button {
    font-family: "Inter-Regular", Helvetica, sans-serif;
    font-size: 16px;
    color: #fff;
    background-color: var(--primary-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

.about-contact-button:hover {
    background-color: var(--button-hover);
}

@media screen and (max-width: 768px) {
    .about-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-content-text {
        align-items: center;
    }

    .server-modif {
        max-width: 100%;
        height: auto;
    }
}

/*-------------------------------------------Skills-------------------------------------------*/
.skills {
    width: 100%;
    padding: 40px 20px;
    background-color: var(--white-color);
    text-align: center;
    margin-top: 100px;
}

.skills-title {
    font-family: "Inter-Bold", Helvetica, sans-serif;
    font-size: 32px;
    color: var(--black-color);
    margin-bottom: 30px;
}

.skills-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.human-skills-container {
    display: flex;
    height: 296px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    flex-shrink: 0;
    align-self: stretch;
}

.skills-card {
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    width: 100%;
    max-width: 900px;
    padding: 30px;
    text-align: left;
}

.skills-card-2 {
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    width: 100%;
    text-align: left;
    max-width: 500px;
    padding: 30px;
    height: 351px;
}

.skills-card:first-child {
    grid-column: span 2;
    max-width: 642px;
    padding: 30px;
}

.skills-card-title {
    font-family: "Inter-Bold", Helvetica, sans-serif;
    font-size: 16px;
    margin-bottom: 8px;
}

.skills-card-subtitle {
    font-family: "Inter-Regular", Helvetica, sans-serif;
    font-size: 14px;
    color: var(--grey-color);
    margin: 0;
}

.skills-card-title,
.skills-card-subtitle {
    display: flex;
    align-items: center;
    gap: 8px;
}

.skills-card-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.skills-card-img-content {
    align-items: top;
    width: 35px;
    height: 56px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.skills-grid-2 {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
}

.skills-column {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 18px;
    flex: 1 0 0;
    flex-wrap: wrap;
}

.skills-items-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.skills-item {
    position: relative;
    text-align: center;
}

.skills-item .tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: normal;
    word-wrap: break-word;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10;
    font-family: "Inter-Regular", Helvetica, sans-serif;
    min-width: 180px;
    max-width: 220px;
}

.skills-item:hover .tooltip {
    visibility: visible;
    opacity: 1;
    bottom: -50px;
}

.skills-item-2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--skills-box);
    border-radius: 5px;
    padding: 10px 20px;
    text-align: left;
    width: auto;
    max-width: 100%;
    white-space: nowrap;
}

.skills-category {
    font-family: "Inter-Regular", Helvetica, sans-serif;
    font-size: 14px;
    color: var(--black-color);
    text-align: left;
    margin-bottom: 10px;
}

.skills-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.skills-item img {
    height: 50px;
    width: auto;
}

.human-skills-icon {
    flex-shrink: 0;
    color: var(--primary-color);
}

.skills-icon {
    color: var(--primary-color);
}

.skills-item p {
    font-family: "Inter-Light", Helvetica, sans-serif;
    font-size: 10px;
    color: var(--black-color);
    margin-top: 9px;
}

.skills-item-2 p {
    margin: 0;
    font-family: "Inter-Regular", Helvetica, sans-serif;
    font-size: 14px;
    color: var(--black-color);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .skills-container {
        flex-direction: column;
        align-items: center;
    }

    .human-skills-container {
        height: auto;
    }

    .skills-card {
        width: 100%;
        max-width: 100%;
    }

    .skills-card-2 {
        height: auto;
    }
}

/*-------------------------------------------Study-------------------------------------------*/
.study {
    width: 100%;
    padding: 40px 20px;
    background-color: var(--white-color);
    text-align: center;
    margin-bottom: 100px;
    margin-top: 150px;
}

.study-title {
    font-family: "Inter-Bold", Helvetica, sans-serif;
    font-size: 32px;
    color: var(--black-color);
    margin-bottom: 40px;
}

.timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 20px;
    height: 300px;
}

.timeline-box {
    background-color: var(--white-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
    width: 250px;
    text-align: left;
    position: absolute;
}

.timeline-box.left {
    top: calc(25% - 50px);
    right: calc(50% + 50px);
}

.timeline-box.right {
    top: calc(75% - 50px);
    left: calc(50% + 50px);
}

.timeline-box h3 {
    font-family: "Inter-Bold", Helvetica, sans-serif;
    font-size: 18px;
    color: var(--black-color);
    margin-bottom: 10px;
}

.timeline-box p {
    font-family: "Inter-Regular", Helvetica, sans-serif;
    font-size: 14px;
    color: var(--grey-color);
    margin-bottom: 15px;
}

.timeline-date {
    font-family: "Inter-Regular", Helvetica, sans-serif;
    font-size: 14px;
    color: var(--grey-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.timeline-bar {
    width: 8px;
    height: 100%;
    background-color: var(--skills-box);
    position: relative;
    border-radius: 80px;
}

.timeline-circle {
    width: 16px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-circle:first-child {
    top: 25%;
}

.timeline-circle:last-child {
    bottom: 25%;
}

@media screen and (max-width: 768px) {
    .timeline {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        position: relative;
        gap: 20px;
    }

    .timeline-bar {
        width: 8px;
        height: 300px;
        background-color: var(--skills-box);
        position: relative;
        border-radius: 80px;
        flex-shrink: 0;
    }

    .timeline-circle {
        width: 16px;
        height: 16px;
        background-color: var(--primary-color);
        border-radius: 50%;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-circle:first-child {
        top: 25%;
    }

    .timeline-circle:last-child {
        top: 75%;
    }

    .timeline-box {
        position: relative;
        width: 100%;
        max-width: 300px;
        text-align: left;
        margin-bottom: 40px;
        margin-left: 20px;
    }

    .timeline-box.left,
    .timeline-box.right {
        order: unset;
        margin: 0 0 60px 0;
        left: auto;
        right: auto;
        transform: none;
    }
}

/*-------------------------------------------Project-------------------------------------------*/
.project-section {
    width: 100%;
    background-color: var(--white-color);
    text-align: center;
    margin-top: 150px;
}

.project-title-1 {
    font-family: "Inter-Bold", Helvetica, sans-serif;
    font-size: 32px;
    color: var(--black-color);
    margin-bottom: 40px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

.project-card-2 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card-2:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.project-image-container {
    padding: 10px;
    border-radius: 10px;
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.project-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    padding: 20px;
    box-sizing: border-box;
}

.project-name {
    font-family: "Inter-Bold", Helvetica, sans-serif;
    font-size: 20px;
    color: var(--black-color);
    text-align: left;
    margin: 0;
    padding-left: 20px;
}

.project-category {
    font-family: "Inter-Regular", Helvetica, sans-serif;
    font-size: 14px;
    color: var(--grey-color);
    margin-bottom: 10px;
}

.project-description {
    font-family: "Inter-Regular", Helvetica, sans-serif;
    font-size: 14px;
    color: var(--grey-color);
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-button {
    font-family: "Inter-Regular", Helvetica, sans-serif;
    font-size: 16px;
    color: #fff;
    background-color: var(--primary-color);
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.project-button:hover {
    background-color: var(--button-hover);
}

.project-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project-link:hover .project-name {
    color: var(--primary-color);
}

.view-all-button {
    display: inline-block;
    margin-top: 20px;
    font-family: "Inter-Regular", Helvetica, sans-serif;
    font-size: 16px;
    color: var(--primary-color);
    text-decoration: none;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    padding: 10px 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.view-all-button:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/*-------------------------------------------Contact-------------------------------------------*/
.contact {
    width: 100%;
    padding: 40px 20px;
    background-color: var(--white-color);
    text-align: center;
    margin-top: 150px;
}

.contact-title {
    font-family: "Inter-Bold", Helvetica, sans-serif;
    font-size: 32px;
    color: var(--black-color);
    margin-bottom: 40px;
}

.contact-container {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 100px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: flex-start;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 25px;
    font-family: "Inter-Regular", Helvetica, sans-serif;
    font-size: 16px;
    color: var(--black-color);
    height: 50px;
}

.contact-icon {
    color: var(--primary-color);
}

.contact-form {

    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.contact-label {
    font-family: "Inter-Regular", Helvetica, sans-serif;
    font-size: 16px;
    color: var(--black-color);
}

.contact-row {
    display: flex;
    gap: 10px;
    width: 100%;
}

.contact-input {
    padding: 8px;
    height: 50px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    font-family: "Inter-Medium", Helvetica, sans-serif;
    font-size: 16px;
    background-color: rgba(109, 97, 230, 0.1);
    box-sizing: border-box;
}

.contact-row .contact-input {
    width: calc(50% - 5px);
}

.contact-input.full-width {
    width: 100%;
}

.contact-textarea {
    width: 100%;
    height: 200px;
    padding: 8px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    font-family: "Inter-Medium", Helvetica, sans-serif;
    font-size: 16px;
    background-color: rgba(109, 97, 230, 0.1);
}

.contact-button {
    padding: 10px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-family: "Inter-Regular", Helvetica, sans-serif;
    font-size: 16px;
    cursor: pointer;
    width: 135px;
    margin: 0;
    margin-left: 0;
}

.contact-button:hover {
    background-color: var(--button-hover);
}

.contact-label {
    display: none;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin: 0 auto;
        width: 100%;
        max-width: 500px;
        padding-left: 0;
    }

    .contact-info {
        display: none;
    }

    .contact-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .contact-label {
        display: flex;
        align-items: center;
        gap: 10px;
        font-family: "Inter-Regular", Helvetica, sans-serif;
        font-size: 16px;
        color: #000;
        margin-bottom: 5px;
    }

    .contact-row {
        flex-direction: row;
        gap: 10px;
        width: 100%;
    }

    .contact-row .contact-input {
        width: calc(50% - 5px);
    }

    .contact-input.full-width {
        width: 100%;
    }
}

/*-------------------------------------------Footer-------------------------------------------*/
.footer {
    background-color: var(--footer-color);
    color: var(--white-color);
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-logo {
    font-family: "Inter-Bold", Helvetica, sans-serif;
    font-size: 24px;
    color: var(--white-color);
    align-self: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.footer-links {
    text-align: left;
    flex: 1;
    margin-left: 100px;
}

.footer-socials {
    margin-right: 150px;
}

.footer-links h3,
.footer-socials h3 {
    font-family: "Inter-Bold", Helvetica, sans-serif;
    font-size: 16px;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid #fff;
    width: 60px;
    text-align: left;
    white-space: nowrap;
    color: var(--white-color);
}

.footer-links ul,
.footer-socials .social-icons {
    margin-left: 0;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 5px;
}

.footer-links ul li a {
    font-family: "Inter-Regular", Helvetica, sans-serif;
    font-size: 14px;
    color: var(--white-color);
    text-decoration: none;
}

.footer-links ul li a:hover {
    text-decoration: underline;
}

.footer-socials .social-icons {
    display: flex;
    gap: 15px;
}

.footer-socials .social-icons a {
    font-size: 20px;
    color: var(--white-color);
    text-decoration: none;
}

.footer-socials .social-icons a:hover {
    color: var(--primary-color);
}

.footer-copyright {
    margin-top: 20px;
    font-family: "Inter-Regular", Helvetica, sans-serif;
    font-size: 14px;
    color: var(--white-color);
}

.footer-copyright a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-copyright a:hover {
    text-decoration: underline;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-content {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 100px;
        width: 100%;
        max-width: 500px;
    }

    .footer-links,
    .footer-socials {
        flex: 1;
        text-align: left;
    }

    .footer-socials {
        text-align: right;
    }
}

/*-------------------------------------------Page Projects-------------------------------------------*/
.project-intro {
    text-align: center;
    margin: 100px auto;
    max-width: 800px;
    padding: 20px;
}

.project-title {
    font-family: "Inter-Bold", Helvetica, sans-serif;
    font-size: 32px;
    color: var(--black-color);
    margin-bottom: 20px;
}

.project-description {
    font-family: "Inter-Regular", Helvetica, sans-serif;
    font-size: 16px;
    color: var(--grey-color);
    line-height: 1.6;
}

/*-------------------------------------------Page Projects-list-------------------------------------------*/
.project-list {
    width: 100%;
    padding: 40px 20px;
    background-color: var(--white-nuance);
    text-align: center;
}

.filter-container {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.project-filters {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 75px;
    margin-bottom: 100px;
    border-radius: 50px;
    padding: 20px 30px;
    background-color: var(--white-color);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.25);
    max-width: 950px;
    width: 100%;
}

.search-container {
    position: relative;
    display: inline-block;
}

.search-bar {
    padding: 10px 35px 10px 10px; 
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: "Inter-Regular", Helvetica, sans-serif;
    font-size: 14px;
    width: 150px;
}

.search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--grey-color);
    font-size: 16px;
    pointer-events: none;
}

.filter-icon {
    position: absolute;
    left: 5px;
    color: var(--grey-color);
    font-size: 16px;
    pointer-events: none;
}

.filter-year,
.filter-category,
.filter-but {
    padding: 10px 10px 10px 30px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: "Inter-Regular", Helvetica, sans-serif;
    font-size: 14px;
    width: 150px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 325px);
    gap: 90px;
    justify-content: center;
    margin-bottom: 50px;
}

.project-box {
    width: 325px;
    background-color: #fff;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    gap: 10px;
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 10px 15px 10px;
    display: flex;
}

.project-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    align-self: stretch;
}

.project-card a {
    display: block;
    text-decoration: none;
}

.project-card-image {
    width: 100%;
    max-width: 325px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.project-card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0px 15px 0px 15px;
}

.project-card-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.project-card-title {
    font-family: "Inter-Bold", Helvetica, sans-serif;
    font-size: 18px;
    color: var(--black-color);
    margin-bottom: 5px;
    text-align: left;
}

.project-card-title-link {
    text-decoration: none;
    color: inherit;
}

.project-card-title:hover {
    color: var(--primary-color);
}

.project-card-category {
    font-family: "Inter-Regular", Helvetica, sans-serif;
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--black-color);
}

.project-card-footer {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: "Inter-Regular", Helvetica, sans-serif;
    font-size: 14px;
    color: var(--grey-color);
    margin-top: 15px;
}

@media screen and (max-width: 1024px) {
    .project-grid {
        grid-template-columns: repeat(2, 325px);
    }
}

@media screen and (max-width: 768px) {
    .project-grid {
        grid-template-columns: repeat(1, 325px);
    }

    .project-filters {
        flex-direction: column;
        gap: 20px;
        padding: 10px;
        max-width: 100%;
    }

    .filter-container,
    .search-container {
        width: 300px;
    }

    .search-bar,
    .filter-year,
    .filter-category,
    .filter-but {
        width: 300px;
    }
}

/*-------------------------------------------Page Projects-details-------------------------------------------*/
.project-size {
    height: 300px;
}

.project-intro-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin: 50px auto;
    max-width: 1200px;
    padding: 20px;
}

.project-intro-text {
    flex: 1;
    max-width: 600px;
}

.project-title {
    font-family: "Inter-Bold", Helvetica, sans-serif;
    font-size: 36px;
    color: var(--black-color);
    margin-bottom: 10px;
}

.project-meta {
    display: flex;
    gap: 20px;
    font-family: "Inter-Regular", Helvetica, sans-serif;
    font-size: 16px;
    color: var(--grey-color);
    margin-bottom: 20px;
}

.project-description {
    font-family: "Inter-Regular", Helvetica, sans-serif;
    font-size: 18px;
    color: var(--black-color);
    line-height: 1.6;
}

.project-description-competences {
    font-family: "Inter-Regular", Helvetica, sans-serif;
    font-size: 18px;
    color: var(--black-color);
}

.project-description .project-link {
    color: #0073e6;
    text-decoration: none;
    font-weight: bold;
}

.project-description .project-link:hover {
    text-decoration: underline;
}

.project-intro-image {
    flex: 1;
    max-width: 300px;
}

.project-intro-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.project-list-container {
    background-color: var(--white-nuance);
}

.project-list1 {
    width: 100%;
    max-width: 800px;
    margin: 50px auto;
    font-family: "Inter-Regular", Helvetica, sans-serif;
    line-height: 1.6;
    padding: 20px;
}

.project-list-title {
    font-family: "Inter-Bold", Helvetica, sans-serif;
    font-size: 32px;
    color: #000;
    margin-bottom: 20px;
}

.project-list-description {
    font-size: 16px;
    color: #333;
    margin-bottom: 30px;
}

.project-list-subtitle {
    font-family: "Inter-Bold", Helvetica, sans-serif;
    font-size: 32px;
    color: #000;
    margin-top: 30px;
    margin-bottom: 15px;
}

.project-list-items {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 30px;
}

.project-list-items li {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.project-roles h4 {
    font-family: "Inter-Bold", Helvetica, sans-serif;
    font-size: 18px;
    color: #000;
    margin-top: 20px;
    margin-bottom: 10px;
}

.project-roles p {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.project-roles ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.project-roles ul li {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.image-title {
    font-size: 16px;
    text-align: center;
}

.image-menu {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
}

.project-technologies {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.project-list-items {
    flex: 1;
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 0;
}

.project-images {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1;
}

.tech-image {
    width: 100%;
    max-width: 150px;
    height: auto;
}

@media screen and (max-width: 768px) {
    .project-technologies {
        flex-direction: column;
        align-items: center;
    }

    .project-images {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .tech-image {
        max-width: 180px;
        height: auto;
        margin: 0 auto;
    }

    video {
        width: 100%;
        max-width: 300px;
        height: auto;
        margin: 0 auto;
        display: block;
    }
}

/*-------------------------------------------Mail-------------------------------------------*/
.alert {
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
    font-weight: bold;
    font-family: sans-serif;
    text-align: center;
  }
  
  .alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
  }
  
  .alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
  }

/*-------------------------------------------Mentions légales-------------------------------------------*/
.mentions-legales {
    font-family: sans-serif;
    padding: 40px;
    max-width: 800px;
    background-color: var(--white-nuance);
    color: #333;
    margin: 60px auto;
}

.mentions-legales-h1 {
    font-size: 28px;
    margin-bottom: 20px;
}

.mentions-legales-h2 {
    margin-top: 30px;
    font-size: 20px;
}

.mentions-legales-p {
    line-height: 1.6;
}