@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --primary-color:#265283;
    --primary-rgb: 38, 82, 131;
    --secondary-color: #EFEFEF;
    --secondary-rgb: 239, 239, 239;
    --tertiary-color: white;
    --background: white;
    --background-image: url('assets/img/img_fond_2.jpg');
    --text-color: rgba(57, 57, 57, 0.78);
    --text-color-light: rgba(239, 239, 239, 0.78);
    --button-color-hover: #3873b3;
    --button-color-focus: #1b3c5f;
    --font-family: "Inter", sans-serif;
    /* --profile-image: url('https://avatars.githubusercontent.com/u/93088668?v=4'); */
    --profile-image: url('./assets/img/icons/logo_remove_bg.png');

    --section-height: 630px;
    --default-height: 130px;
    --default-width: 270px;

    --transition-duration: 0.5s;
    --transition-delay: 0.02s;
    --transition-delay-service1: 0.3s;
    --transition-delay-servive2: 0.8s;
    --transition-delay-service3: 1.3s;
    --transition-ease: linear;

    --border-radius: 48px;

    --padding-large: 100px;
    --padding-medium: 70px;
    --padding-small: 40px;
    --inversed-padding-large: -100px;
    --inversed-padding-medium: -70px;
    --inversed-padding-small: -40px;

    --margin-extra-small: 10px;

    --font-size-large: 90px;
    --font-size-medium: 30px;
    --font-size-small: 14px;
}

* {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    scroll-behavior: smooth;
    box-sizing: border-box;
}

body { 
    overflow-x: hidden;
    background: #FFFFFF;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

body::-webkit-scrollbar {
    width: 7px;
}

body::-webkit-scrollbar-track {
    background: var(--secondary-color);
}

body::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
}

/* style.css */
.language-switcher {
    position: fixed;
    top: 25px;
    right: 100px;
    z-index: 99999;
    background-color: transparent;
    border-radius: 6px;
    padding: 2px;
    transition: all 0.3s ease;
}

.current-language {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background-color: var(--primary-color);
    color: var(--tertiary-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    min-width: 100px;
    justify-content: center;
}

.current-language:hover {
    background-color: var(--button-color-hover) !important;
    color: var(--tertiary-color) !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) !important;    
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background-color: var(--tertiary-color);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: none;
    overflow: hidden;
    min-width: 140px;
    z-index: 999999;
    pointer-events: all;
}

.language-menu.show {
    display: block;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-color) !important;
    width: auto;
    white-space: nowrap;
}

.language-option:hover {
    background-color: var(--secondary-color) !important;
}

.flag {
    font-size: 18px;
}

.lang-text {
    font-size: 14px;
}

.extra-buttons {
    z-index: 4;
}

@media screen and (orientation: portrait), (max-width: 837px) {
    .language-switcher {
        top: 15px;
        right: 15px;
        transform: scale(0.85);
        z-index: 100000;
    }

    .Menu {
        padding-right: 15px;
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .language-menu {
        position: absolute;
        top: 100%;
        right: 0;
        width: 120px;
        background-color: var(--tertiary-color) !important;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        border: 1px solid var(--primary-color) ! important;
    }

    .language-option {
        padding: 10px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .language-option:last-child {
        border-bottom: none;
    }

    .current-language {
        padding: 6px 10px;
    }

    .Mobile_Bar {
        display: block;
        position: static;
        margin-right: 80px;
        z-index: 1000;
    }
}

/* Mode paysage - Ajustements généraux */
@media screen and (orientation: landscape) {
    /* Forcer la disposition horizontale pour Home */
    .Content {
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .Text {
        order: 1;
    }
    
    .Image {
        order: 2;
    }
    
    /* Forcer la disposition horizontale (pas de column) pour About */
    .Informations {
        flex-direction: row !important;
        align-items: center !important;
    }
    
    .Info_Image {
        order: 0 !important;
        margin-left: 60px !important;
        margin-bottom: 0 !important;
    }
    
    .Info_Text {
        order: 0 !important;
        margin-left: 40px !important;
        align-items: flex-start !important;
    }
    
    .About_Title {
        justify-content: flex-start !important;
        margin-top: 0 !important;
    }
    
    /* Réduction de l'image de profil et des rectangles About */
    .Info_Image img {
        width: 220px !important;
    }
    
    .Rectangle_Info1, .Rectangle_Info2, .Rectangle_Info3 {
        width: 55px !important;
        height: 350px !important;
    }
}

/* Mode paysage - Ajustements pour très petits écrans (ex: 800x360) */
@media screen and (orientation: landscape) and (max-height: 400px) {
    .Home {
        padding: 0 0 20px 0 !important;
    }

    .Social_Medias{
        bottom: 10px !important;
    }
    
    .Content {
        min-height: auto !important;
        height: auto !important;
        padding-top: 40px !important;
    }
    
    .Text {
        margin-right: 200px !important;
    }
    
    .Text h1 {
        font-size: 32px !important;
        line-height: 38px !important;
    }
    
    .Text p {
        font-size: 12px !important;
        margin-top: 10px !important;
    }
    
    .Photo, .Square1, .Square2 {
        width: 130px !important;
        height: 140px !important;
    }
    
    .Photo {
        margin-top: -30px !important;
    }
    
    #home{
        padding-top: 50px !important;
        height: fit-content !important;
        padding-bottom: 20px !important;
    }
    
    /* Réduction maximale pour About */
    .Info_Image img {
        width: 140px !important;
    }
    
    .Rectangle_Info1, .Rectangle_Info2, .Rectangle_Info3 {
        width: 35px !important;
        height: 220px !important;
    }
    
    .Info_Image {
        margin-left: 30px !important;
    }
    
    .Info_Text {
        margin-left: 20px !important;
    }
}

/* Mode paysage - Ajout de padding pour la section Home */
@media screen and (orientation: landscape) and (max-height: 700px) {
    .Home {
        padding: 0 0 40px 0 !important;
    }
    
    .Content {
        min-height: auto !important;
        height: auto !important;
    }
    
    .Text {
        margin-right: 300px;
    }
    
    .Text h1 {
        font-size: 42px !important;
        line-height: 50px !important;
    }
    
    .Text p {
        font-size: 14px !important;
    }
    
    .Photo, .Square1, .Square2 {
        width: 180px !important;
        height: 190px !important;
    }
    
    .Photo {
        margin-top: -40px !important;
    }
    
    #home{
        padding-top: 80px !important;
        height: fit-content !important;
        padding-bottom: 50px !important;
    }
    
    /* Réduction supplémentaire pour petits écrans paysage */
    .Info_Image img {
        width: 190px !important;
    }
    
    .Rectangle_Info1, .Rectangle_Info2, .Rectangle_Info3 {
        width: 45px !important;
        height: 300px !important;
    }
}

@media screen and (orientation: landscape) and (min-height: 701px) {
    .Home {
        padding: 0 0 50px 0 !important;
    }
    
    .Content {
        padding-top: 70px !important;
    }
}


.extra-buttons button {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: var(--tertiary-color) !important;
    background-color: var(--primary-color) !important;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.extra-buttons button:hover {
    background-color: var(--button-color-hover) !important;
    transform: scale(1.05); /* Slightly enlarge the button */
}

.extra-buttons button:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--button-color-focus) !important;
}

.cv-buttons {
    display: none;
    gap: 10px; /* Space between the buttons */
    margin-top: 10px;
    background-color: var(--secondary-color);
    padding: 5px;
    width: fit-content;
    border-radius: 5px;
}

.cv-buttons button {
    border: 2px solid var(--tertiary-color);
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes blurIn {
    from {
        backdrop-filter: blur(0px);
        opacity: 0;
    }
    to {
        backdrop-filter: blur(10px);
        opacity: 1;
    }
}

section {
    position: relative;
    overflow: hidden;
    padding: 100px var(--padding-medium);
    width: 100%;
    max-width: 100vw;
}

/* Home prend toute la hauteur de l'écran */
.Home {
    background: #FFFFFF;
    min-height: 100vh;
    height: auto;
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* Motifs abstraits décoratifs */
.Home::before {
    content: '';
    position: absolute;
    top: 22%;
    left: 15%;
    width: 110px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 20%, transparent);
    --rotation: -38deg;
    --opacity: 0.38;
    --move-x: -55px;
    --move-y: 40px;
    transform: translate(var(--move-x), var(--move-y)) rotate(var(--rotation)) scaleX(0);
    opacity: 0;
    z-index: 0;
}

.Home.animate::before {
    animation: slideInAxis 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards,
               pulseAxis 5s ease-in-out infinite 1.6s;
}

.Home::after {
    content: '';
    position: absolute;
    bottom: 28%;
    right: 8%;
    width: 145px;
    height: 2.5px;
    background: linear-gradient(90deg, transparent, var(--primary-color) 80%);
    --rotation: 28deg;
    --opacity: 0.42;
    --move-x: 75px;
    --move-y: -30px;
    transform: translate(var(--move-x), var(--move-y)) rotate(var(--rotation)) scaleX(0);
    opacity: 0;
    z-index: 0;
}

.Home.animate::after {
    animation: slideInAxis 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards,
               pulseAxis 6s ease-in-out infinite 1.8s;
}

/* Traits décoratifs supplémentaires via .Content */
.Content::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 18%;
    width: 95px;
    height: 2px;
    background: linear-gradient(90deg, transparent 20%, var(--primary-color));
    --rotation: -65deg;
    --opacity: 0.28;
    --move-x: 40px;
    --move-y: 45px;
    transform: translate(var(--move-x), var(--move-y)) rotate(var(--rotation)) scaleX(0);
    opacity: 0;
    z-index: 0;
}

.Content.animate::before {
    animation: slideInAxis 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards,
               pulseAxis 5.5s ease-in-out infinite 2.1s;
}

.Content::after {
    content: '';
    position: absolute;
    bottom: 12%;
    left: 16%;
    width: 105px;
    height: 2.5px;
    background: linear-gradient(90deg, var(--primary-color) 60%, transparent);
    --rotation: 50deg;
    --opacity: 0.33;
    --move-x: -60px;
    --move-y: -40px;
    transform: translate(var(--move-x), var(--move-y)) rotate(var(--rotation)) scaleX(0);
    opacity: 0;
    z-index: 0;
}

.Content.animate::after {
    animation: slideInAxis 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards,
               pulseAxis 6s ease-in-out infinite 2.4s;
}

/* Traits via .Text */
.Text::before {
    content: '';
    position: absolute;
    top: -55px;
    left: -40px;
    width: 75px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    --rotation: -42deg;
    --opacity: 0.26;
    --move-x: -40px;
    --move-y: 35px;
    transform: translate(var(--move-x), var(--move-y)) rotate(var(--rotation)) scaleX(0);
    opacity: 0;
    z-index: 0;
}

.Text.animate::before {
    animation: slideInAxis 1.4s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards,
               pulseAxis 5s ease-in-out infinite 2.4s;
}

.Text::after {
    content: '';
    position: absolute;
    bottom: -45px;
    right: 40px;
    width: 85px;
    height: 2.5px;
    background: linear-gradient(90deg, transparent 30%, var(--primary-color));
    --rotation: 35deg;
    --opacity: 0.31;
    --move-x: 50px;
    --move-y: -30px;
    transform: translate(var(--move-x), var(--move-y)) rotate(var(--rotation)) scaleX(0);
    opacity: 0;
    z-index: 0;
}

.Text.animate::after {
    animation: slideInAxis 1.5s cubic-bezier(0.4, 0, 0.2, 1) 1.2s forwards,
               pulseAxis 5.5s ease-in-out infinite 2.7s;
}

/* Traits via .Image */
.Image::before {
    content: '';
    position: absolute;
    top: -65px;
    right: -35px;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 50%, transparent);
    --rotation: 58deg;
    --opacity: 0.36;
    --move-x: 60px;
    --move-y: -50px;
    transform: translate(var(--move-x), var(--move-y)) rotate(var(--rotation)) scaleX(0);
    opacity: 0;
    z-index: 0;
}

.Image.animate::before {
    animation: slideInAxis 1.6s cubic-bezier(0.4, 0, 0.2, 1) 1.4s forwards,
               pulseAxis 6s ease-in-out infinite 3s;
}

.Image::after {
    content: '';
    position: absolute;
    bottom: -35px;
    left: -55px;
    width: 120px;
    height: 2.5px;
    background: linear-gradient(90deg, transparent, var(--primary-color) 70%);
    --rotation: -44deg;
    --opacity: 0.34;
    --move-x: -70px;
    --move-y: 45px;
    transform: translate(var(--move-x), var(--move-y)) rotate(var(--rotation)) scaleX(0);
    opacity: 0;
    z-index: 0;
}

.Image.animate::after {
    animation: slideInAxis 1.7s cubic-bezier(0.4, 0, 0.2, 1) 1.6s forwards,
               pulseAxis 6.5s ease-in-out infinite 3.3s;
}

/* Traits supplémentaires via .Square1 */
.Square1::before {
    content: '';
    position: absolute;
    top: -45px;
    left: -65px;
    width: 90px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 40%, transparent);
    --rotation: 25deg;
    --opacity: 0.29;
    --move-x: -55px;
    --move-y: -25px;
    transform: translate(var(--move-x), var(--move-y)) rotate(var(--rotation)) scaleX(0);
    opacity: 0;
    z-index: 0;
}

.Square1.animate::before {
    animation: slideInAxis 1.8s cubic-bezier(0.4, 0, 0.2, 1) 1.8s forwards,
               pulseAxis 5.5s ease-in-out infinite 3.6s;
}

/* Pas de ::after pour Square1 */

/* Pas de traits supplémentaires pour Square2 */

/* Pas de traits pour Social_Medias */

/* Animations pour les traits décoratifs - mouvement dans l'axe */
@keyframes slideInAxis {
    0% {
        transform: translate(var(--move-x), var(--move-y)) rotate(var(--rotation)) scaleX(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(0, 0) rotate(var(--rotation)) scaleX(1);
        opacity: 1;
    }
}

@keyframes pulseAxis {
    0%, 100% {
        transform: translate(0, 0) rotate(var(--rotation)) scaleX(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(calc(var(--move-x) * 0.15), calc(var(--move-y) * 0.15)) rotate(var(--rotation)) scaleX(1.1);
        opacity: 1;
    }
}

@keyframes fadeSlideAxis {
    0% {
        transform: translate(var(--move-x), var(--move-y)) rotate(var(--rotation));
        opacity: 0;
    }
    100% {
        transform: translate(0, 0) rotate(var(--rotation));
        opacity: 1;
    }
}

/* Traits décoratifs supplémentaires dans .Home */
.decorative-line {
    position: absolute;
    height: 2px;
    background: var(--primary-color);
    z-index: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translate(var(--move-x), var(--move-y)) rotate(var(--rotation)) scaleX(0);
}

.decorative-line.animate {
    animation: slideInAxis 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards,
               pulseAxis 4s ease-in-out infinite 1.2s;
}

.line-1 {
    top: 12%;
    left: 3%;
    width: 160px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color) 40%, var(--primary-color) 60%, transparent);
    --rotation: -20deg;
    --opacity: 0.3;
    --move-x: -80px;
    --move-y: 30px;
}

.line-2 {
    bottom: 18%;
    left: 8%;
    width: 130px;
    height: 2.5px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    --rotation: -48deg;
    --opacity: 0.35;
    --move-x: -65px;
    --move-y: 50px;
}

.line-3 {
    top: 60%;
    right: 5%;
    width: 140px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 30%, transparent);
    --rotation: 42deg;
    --opacity: 0.32;
    --move-x: 70px;
    --move-y: -55px;
}

/* Sections avec fond blanc (Experiences, Contact) */
.Experiences, .Contact {
    background: #FFFFFF;
}

/* Sections avec image de fond (About, Projects) */
.About, .Projects {
    min-height: 100vh;
    background-image: var(--background-image);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

/* Overlay sombre sur l'image avec meilleure transparence - couvre toute la section */
.About::before, .Projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 58, 82, 0.82) 0%,
        rgba(38, 82, 131, 0.70) 50%,
        rgba(26, 58, 82, 0.82) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Conteneur avec effet glass pour About (sans animation) */
.About .Informations {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    padding: 60px;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.3),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.25);
}

/* Conteneur avec effet glass pour Projects (sans animation) */
.Projects .Main_Content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    padding: 60px;
    margin: 0 auto;
    max-width: 1200px;
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.3),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.25);
}

/* Animations */
@keyframes gradientFlow {
    0%, 100% {
        opacity: 0.15;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.25;
        transform: scaleY(1.1);
    }
}

@keyframes waveFlow {
    0%, 100% {
        transform: translateX(0) scaleX(1);
        opacity: 0.3;
    }
    50% {
        transform: translateX(5%) scaleX(1.05);
        opacity: 0.5;
    }
}

.Logo {
    margin-right: var(--margin-extra-small);
}

.Logo img {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius);
    box-shadow: -2px 2px 2px rgba(0, 0, 0, 0.25);
}

/* Couleurs de texte pour sections avec fond blanc */
.Home, .Experiences, .Contact {
    color: var(--text-color);
}

.Experiences .Main_Title h1,
.Contact .Main_Title h1 {
    color: var(--primary-color);
}

.Experiences .Main_Text p,
.Contact .Main_Text p {
    color: var(--text-color);
}

/* Couleurs de texte pour sections avec popup glass */
.About, .Projects {
    color: #FFFFFF;
}

.About .Info_Text h1,
.About .Main_Title h1,
.Projects .Main_Title h1 {
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.About .Infos p,
.Projects .Main_Text p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    word-wrap: break-word;
}

/* Bordures des titres */
.Experiences .Main_Border_Title,
.Contact .Main_Border_Title {
    background-color: var(--primary-color);
}

.About .Border_Title,
.Projects .Main_Border_Title {
    background-color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

@keyframes shine {
    from {
        transform: rotate(30deg) translateY(0%);
    }
    to {
        transform: rotate(30deg) translateY(60%);
    }
}

.Experiences .Main_Text p b {
    color: var(--primary-color) !important;
} 

.Mobile_Bar {
    display: none;
}

.Menu {
    position: fixed;
    display: flex;
    justify-content: space-between;
    color: var(--primary-color);
    border-radius: 0 0 10px 10px;
    padding: 25px var(--padding-large);
    transition: var(--transition-duration) var(--transition-ease);
    width: -webkit-fill-available;
    z-index: 10;
}

.sticky {
    background-color: var(--secondary-color);
    padding: 15px var(--padding-small);
    box-shadow: 0 0 10px 1px #00000048;
}

.sticky h1 {
    font-size: 25px!important;
}

.sticky > .Navigation a {
    font-size: var(--font-size-small)!important;
    transition: var(--transition-duration) var(--transition-ease);
}

.Menu h1 {
    font-size: var(--font-size-medium);
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: var(--transition-duration) var(--transition-ease);
}

.Menu a {
    text-decoration: none;
    color: inherit;
}

.Navigation {
    margin-top: auto;
    margin-bottom: auto;
    list-style: none;
    align-items: center;
    font-weight: 550;
    letter-spacing: 0.5px;
}

.AllNavigation {
    display: flex;
}

.Navigation li:not(:last-child) {
    margin-right: 45px;
}

.Navigation a {
    text-decoration: none;
    color: inherit;
    font-size: 14.5px;
}

.Navigation li::after {
    content: " ";
    position: absolute;
    height: 1px;
    margin-top: 21px;
    background-color: var(--primary-color);
    transition: 0.5s var(--transition-ease); 
}

.Navigation li:nth-child(1)::after {
    width: 0;
    margin-left: -41.5px;
}

.Navigation li:nth-child(2)::after {
    width: 0;
    margin-left: -43px;
}

.Navigation li:nth-child(3)::after {
    width: 0;
    margin-left: -60px;
}

.Navigation li:nth-child(4)::after {
    width: 0;
    margin-left: -63.5px;
}

.Navigation li:nth-child(5)::after {
    width: 0;
    margin-left: -57px;
}

.Navigation li:hover:nth-child(1)::after {
    width: 41px;
}

.Navigation li:hover:nth-child(2)::after {
    width: 43px;
}

.Navigation li:hover:nth-child(3)::after {
    width: 59.5px;
}

.Navigation li:hover:nth-child(4)::after {
    width: 63px;
}

.Navigation li:hover:nth-child(5)::after {
    width: 57.5px;
}

.Content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 410px;
    padding-top: 80px;
    position: relative;
    z-index: 1;
}

.Text {
    margin-right: 400px;
    position: relative;
    z-index: 2;
}

.Text h1 {
    font-size: var(--font-size-large);
    color: var(--primary-color);
    line-height: 80px;
    letter-spacing: 2px;
}

.Text p {
    margin: 20px 0 0 5px;
    letter-spacing: 0.01em;
    color: var(--text-color);
}

@keyframes Square {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}


.Photo {
    position: absolute;
    margin-top: -52px;
    margin-left: var(--inversed-padding-medium);
    background: var(--profile-image);
    background-color: var(--secondary-color);
    object-fit: contain;
    background-size: cover;
    box-shadow: inset 0px 4px 4px rgba(0, 0, 0, 0.25);
    width: 239px;
    height: 249px;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    z-index: 2;
}

.Photo:hover {
    cursor: pointer;
    transform: scale(1.2) rotate(10deg) translate(10px, 10px);
    transition: var(--transition-duration);
} 

.Square1 {
    position: absolute;
    background-color: var(--primary-color);
    width: 239px;
    height: 249px;
    border-radius: var(--border-radius);
    margin-top: var(--inversed-padding-large);
    animation: Square 1s;
}

.Square2 {
    position: relative;
    background-color: var(--primary-color);
    width: 239px;
    height: 249px;
    border-radius: var(--border-radius);
    margin-bottom: var(--inversed-padding-large);
    right: 130px;
    animation: Square 1s;
}

.Social_Medias {
    position: absolute;
    z-index: 999;
    display: flex;
    margin-top: 120px;
    margin-left: -85px;
}

.GitHub, .LinkedIn {
    margin-right: 25px;
}

.GitHub, .LinkedIn, .Twitter {
    display: flex;
    align-items: center;
}

.Social_Medias i {
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    transition: 0.3s;
}

.Social_Medias i:hover {
    color: var(--secondary-color);
    background-color: var(--primary-color);
}

.GitHub i {
    padding: 5px;
    font-size: 21px;
}

.LinkedIn i {
    padding: 7px 8px 6px 8px;
    font-size: 18px;
}

.Twitter i {
    padding: 6px 7px;
    font-size: 19px;
}

.About_Circle {
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.CircleTop {
    position: relative;
    width: 100%;
    height: 150px;
    margin-top: -75px;
    overflow: hidden;
}

.CircleTop::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(15deg, 
        var(--primary-color) 45%,
        var(--secondary-color) 45.5%
    );
    z-index: 1;
}

.Informations {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.Info_Image {
    margin-left: 120px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.Info_Text {
    margin: var(--padding-small) 0 0 150px;
    flex: 1;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.Rectangle_Info1, .Rectangle_Info2, .Rectangle_Info3 {
    position: absolute;
    width: var(--padding-medium);
    height: 450px;
    background-color: var(--secondary-color);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 15px;
}

.Rectangle_Info1 {
    left: 50%;
    transform: translateX(-50%);
}

.Rectangle_Info2 {
    left: 50%;
    transform: translateX(-50%) rotate(40deg);
}

.Rectangle_Info3 {
    left: 50%;
    transform: translateX(-50%) rotate(-40deg);
}

.Info_Image img {
    position: relative;
    right: 0;
    bottom: 0;
    border-radius: 40%;
    width: 280px;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    z-index: 10;
}

.About_Title {
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.Border_Title {
    width: 5px;
    height: var(--font-size-medium);
    background-color: #FFFFFF;
    border-radius: 10px;
    flex-shrink: 0;
}

.Info_Text h1 {
    color: #FFFFFF;
    font-weight: 900;
    margin-left: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.Infos {
    width: 470px;
    max-width: 100%;
    overflow: hidden;
}

.Infos h1 {
    margin: 50px 0 0 0;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.01em;
}

.Infos p {
    margin-top: 5px;
    color: var(--text-color-light);
    font-weight: 300;
    letter-spacing: 0.01em;
    text-align: justify;
}

.Infos p b {
    color: var(--secondary-color);
}

/* CV Modal Styles */
.cv-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    animation: fadeIn 0.3s ease-out;
}

.cv-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cv-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
}

.cv-modal-content {
    position: relative;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    z-index: 2;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.cv-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid rgba(38, 82, 131, 0.1);
    background: linear-gradient(135deg, rgba(38, 82, 131, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

.cv-modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.cv-modal-close {
    background: transparent;
    border: none;
    font-size: 28px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.cv-modal-close:hover {
    background: rgba(38, 82, 131, 0.1);
    color: var(--primary-color);
    transform: rotate(90deg);
}

.cv-modal-body {
    padding: 28px;
}

.cv-option {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 2px solid rgba(38, 82, 131, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #FFFFFF;
}

.cv-option:not(:last-child) {
    margin-bottom: 16px;
}

.cv-option:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(38, 82, 131, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(38, 82, 131, 0.15);
}

.cv-flag {
    font-size: 48px;
    flex-shrink: 0;
    line-height: 1;
}

.cv-info {
    flex: 1;
}

.cv-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 4px 0;
}

.cv-info p {
    font-size: 14px;
    color: var(--text-color);
    margin: 0;
}

.cv-option i {
    font-size: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.cv-option:hover i {
    transform: translateX(4px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Modal */
@media (max-width: 600px) {
    .cv-modal-content {
        width: 95%;
        max-width: none;
    }
    
    .cv-modal-header {
        padding: 20px;
    }
    
    .cv-modal-header h2 {
        font-size: 20px;
    }
    
    .cv-modal-body {
        padding: 20px;
    }
    
    .cv-option {
        padding: 16px;
        gap: 16px;
    }
    
    .cv-flag {
        font-size: 40px;
    }
    
    .cv-info h3 {
        font-size: 16px;
    }
    
    .cv-info p {
        font-size: 13px;
    }
}

.cv-buttons{
    display: none;
}

.Info_Button {
    margin-top: var(--padding-small);
    padding: 10px 18px;
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    background-color: transparent;
    color: #FFFFFF;
    cursor: pointer;
    transition: 0.3s;
}

.Info_Button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    color: var(--tertiary-color);
}

.Info_Button i {
    color: var(--secondary-color);
    font-size: 16px;
    margin-right: 7px;
}

.Info_Button:hover > i {
    color: var(--tertiary-color);
}

.Align_Circle_Top {
    display: flex;
    justify-content: center;
}

.Align_Circle {
    width: 87vw;
    height: 120px;
    background-color: var(--primary-color);
    border-radius: 100%;
    margin: -75px 0 0 0;
}

.Serv {
    background-color: var(--secondary-color);
}

.Main_Content {
    margin: 120px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.Main_Title {
    display: flex;
    width: 1120px;
    max-width: 100%;
    overflow: hidden;
}

.Main_Border_Title {
    width: 5px;
    height: var(--font-size-medium);
    background-color: var(--primary-color);
    border-radius: 10px;
    flex-shrink: 0;
}

.Alternative_Border {
    background-color: #FFFFFF;
}

.Main_Title h1 {
    color: var(--primary-color);
    font-weight: 900;
    margin-left: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.Alternative_Title h1 {
    color: #FFFFFF;
}

.Main_Text {
    width: 1120px;
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
}

.Main_Text p {
    margin-top: 10px;
    color: var(--text-color);
    font-weight: 300;
    letter-spacing: 0.01em;
    text-align: justify;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.Important_Note
{
    color: var(--primary-color);
    background-color: var(--secondary-color);
    padding: 10px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.Main_Text p b {
    color: var(--tertiary-color);
}

.Contact .Main_Text p a {
    cursor: pointer;
    color: var(--primary-color);
}

.Alternative_Text p {
    color: var(--text-color-light);
}

.Timeline {
    padding: 50px 0;
    background: transparent;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.Timeline-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

.Timeline-line::before,
.Timeline-line::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
    z-index: 10;
}

.Timeline-line::before {
    top: 0px;
}

.Timeline-line::after {
    bottom: 0px;
}


.Timeline-line {
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--primary-color);
    z-index: 0;
}

.Timeline-item {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 20px 0;
    position: relative;
    margin-bottom: 40px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.Timeline-item:hover {
    transform: translateX(5px);
}

.Timeline-logo {
    cursor: pointer;
    background-color: var(--tertiary-color);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    min-width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.Timeline-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.Timeline-logo img {
    max-width: 80%;
    height: auto;
}

.Timeline-content {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    padding: 18px;
    border-radius: 10px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    word-wrap: break-word;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    width: calc(100% - 130px);
    margin-left: 20px;
    transition: box-shadow 0.3s ease;
}

.Timeline-content:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.Timeline-content h2 {
    margin: 0;
    font-size: 20px;
    color: var(--primary-color);
    word-wrap: break-word;
}

.Timeline-content p {
    margin: 10px 0 0;
    color: #333;
    word-wrap: break-word;
}

.Timeline-content span {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    color: #666;
}

.Timeline-location {
    display: flex;
    align-items: center;
    position: absolute;
    right: 0;
    top: 20px;
    transform: translateY(-50%);
    background-color: white;
    padding: 5px 10px;
    border-radius: 8px;
    color: #7d7d7d;
    font-size: 14px;
    z-index: 2;
}
.Timeline-location i {
    margin-right: 5px;
}

.List_Experiences {
    display: flex;
    margin: 75px 0;
}

.List_Experiences a:nth-child(1) {
    margin-right: var(--padding-large);
}

.List_Experiences a:nth-child(2) {
    margin-left: var(--padding-large);
}

.List_Experiences img {
    width: 360px;
    max-width: 100%;
    object-fit: contain;
    border: 1px solid var(--primary-color);
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.All_Projects {
    margin-top: var(--padding-medium);
    display: flex;
    justify-content: center;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    flex-wrap: wrap;
}

.Group_Service {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: var(--default-width);
    max-width: calc(100% - 40px);
    min-height: 280px;
    height: auto;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.15), inset 0px 2px 6px rgba(255, 255, 255, 0.15);
    padding: 35px;
    overflow: visible;
    word-wrap: break-word;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.Group_Service:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 24px rgba(0, 0, 0, 0.2), inset 0px 2px 6px rgba(255, 255, 255, 0.2);
}

.Group_Service:not(:last-child) {
    margin-right: var(--padding-small);
}

.Group_Service:nth-child(1) {
    margin-left: var(--padding-small);
}

.Group_Service:nth-child(3) {
    margin-right: var(--padding-small);
}

.Group_Service i {
    font-size: 22px;
    color: var(--primary-color);
}

.Group_Service h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
    margin-top: 10px;
    letter-spacing: -0.01em;
    word-wrap: break-word;
    text-align: center;
    width: 100%;
}

.Group_Service p {
    font-size: 13px;
    text-align: justify;
    color: var(--text-color);
    margin-top: 15px;
    letter-spacing: -0.01em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    line-height: 1.6;
}

.Adjust {
    width: 1150px;
}

.Contact_Content {
    display: flex;
    margin-top: 60px;
    gap: 40px;
}

.Contact_Form {
    margin-right: var(--padding-medium);
    text-align: center;
    width: 380px;
}

.Contact_Form input, .Contact_Form textarea {
    margin-top: var(--font-size-medium);
    border: 0;
    background-color: transparent;
    border-bottom: 1.5px solid var(--primary-color);
    border-radius: 5px;
    color: var(--primary-color);
    caret-color: var(--primary-color);
    padding: 0 5px 20px 5px;
    width: 370px;
    transition: all 0.3s var(--transition-ease);
}

.Contact_Form input:focus, .Contact_Form textarea:focus {
    padding: 10px 5px 10px 5px;
    outline: 0;
    border-bottom-width: 2px;
    transform: translateY(-2px);
}

.Contact_Form textarea {
    resize: none;
    height: 20px;
}

::-webkit-input-placeholder {
    color: var(--primary-color);
    font-size: var(--font-size-small);
    letter-spacing: 0.2px;
}

::-moz-placeholder {
    color: var(--primary-color);
    font-size: var(--font-size-small);
    letter-spacing: 0.2px;
}

:-ms-input-placeholder {
    color: var(--primary-color);
    font-size: var(--font-size-small);
    letter-spacing: 0.2px;
}

:-o-input-placeholder {
    color: var(--primary-color);
    font-size: var(--font-size-small);
    letter-spacing: 0.2px;
}

input:-webkit-autofill, textarea:-webkit-autofill {
    -webkit-text-fill-color: var(--primary-color)!important;
}

.Contact_Button {
    margin-top: 50px;
    font-size: 12.5px;
    background-color: var(--secondary-color);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    color: var(--primary-color);
    padding: 5px 0;
    width: 250px;
    cursor: pointer;
    transition: 0.3s;
}

.Contact_Button:hover {
    background-color: var(--primary-color);
    border-color: transparent;
    color: var(--tertiary-color);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.Contact_Button i {
    color: var(--primary-color);
    margin-right: 6px;
}

.Contact_Button:hover > i {
    color: var(--secondary-color);
}

.Adjustment {
    width: 700px;
}

.Footer {
    display: flex;
    position: relative;
    z-index: 99;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60px;
    background-color: var(--primary-color);
}

.Footer p {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.01em;
    color: var(--text-color-light);
}

.Footer strong {
    font-weight: 500;
}

/* Animation */

[data-anime] {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-anime="top"] {
    transform: translateY(30px);
}

[data-anime="down"] {
    transform: translateY(-30px);
}

[data-anime="left"] {
    transform: translateX(-30px);
}

[data-anime="right"] {
    transform: translateX(30px);
}

[data-anime="right-slowness"] {
    transform: translateX(30px);
    transition-delay: 0.1s;
}

[data-anime="Service1"] {
    transform: translateY(30px);
    transition-delay: 0.2s;
}

[data-anime="Service2"] {
    transform: translateY(30px);
    transition-delay: 0.4s;
}

[data-anime="Service3"] {
    transform: translateY(30px);
    transition-delay: 0.6s;
}

[data-anime].animate {
    opacity: 1;
    transform: translate(0, 0);
}

/* Responsive Mode */
@media (max-width: 1200px) {
    .CircleTop {
        height: 120px;
        margin-top: -60px;
    }

    .CircleTop::after {
        height: 150px;
    }

    .Align_Circle {
        height: 100px;
    }
}

@media (max-width: 1132px) {
    /* Réagencement de l'image et du texte About */
    .Informations {
        flex-direction: column;
        align-items: center;
        padding: 50px 40px !important;
    }

    .Info_Image {
        margin-left: 0 !important;
        margin-bottom: 50px;
        order: 1;
    }

    .Info_Image img {
        width: 200px;
    }

    .Rectangle_Info1, .Rectangle_Info2, .Rectangle_Info3 {
        width: 40px;
        height: 280px;
    }

    .Info_Text {
        margin-left: 0 !important;
        margin-top: 0 !important;
        order: 2;
        width: 100%;
        max-width: 800px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
    }

    .About_Title {
        justify-content: center;
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .Infos {
        width: 100%;
        max-width: 100%;
    }

    .Infos h1 {
        margin-top: 30px;
    }

    .Infos p {
        line-height: 1.8;
        margin-top: 15px;
    }

    .Info_Button {
        margin-top: 50px;
    }
}

@media (max-width: 1080px) {
    /*Laptop*/
    [data-anime="top"] {
        transform: translate3d(0, 50px, 0);
    }
    
    [data-anime="down"] {
        transform: translate3d(0, -50px, 0);
    }

    [data-anime="left"] {
        transform: translate3d(-20px, 0, 0);
    }

    [data-anime="right"] {
        transform: translate3d(20px, 0, 0);
    }

    [data-anime="Service1"] {
        transform: translate3d(0, 50px, 0);
    }
    
    [data-anime="Service2"] {
        transform: translate3d(0, 50px, 0);
    }
    
    [data-anime="Service3"] {
        transform: translate3d(0, 50px, 0);
    }

    .CircleTop {
        height: 100px;
    }

    .Align_Circle {
        height: 100px;
    }
}

@media (max-width: 1100px) and (min-width: 837px) {
    /* Déplacer le logo en bas à droite en diagonale */
    
    .Image {
        position: absolute;
        bottom: 50px;
        right: 80px;
    }
}

@media (max-width: 969px) {
    /* Petits écrans - ajustement de la position du lieu */
    
    .Timeline-location {
        top: -4px;
        right: 0;
        padding: 5px 10px;
        font-size: 10px;
        border-radius: 4px;
        z-index: 15;
        background-color: #ffffff;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    }
}

@media (max-width: 1288px) and (min-width: 838px) {
    /* Écrans moyens - tablettes larges et petits laptops */
    
    .Main_Content {
        padding: 0 var(--padding-small);
    }
    
    .Main_Title {
        width: auto;
        max-width: 100%;
    }
    
    .Main_Text {
        width: auto;
        max-width: 100%;
    }
    
    .Timeline-container {
        padding: 20px 0;
        max-width: 90%;
    }
    
    .Timeline-logo {
        margin-left: 0;
        position: relative;
    }
    
    .Timeline-content {
        padding: 15px;
    }
    
    .All_Projects {
        gap: 30px;
        padding: 0 20px;
    }
    
    .Group_Service {
        width: calc(33.333% - 40px);
        min-width: 240px;
    }
    
    .Informations {
        padding: 50px var(--padding-small);
        max-width: 90%;
    }
    
    .Info_Text {
        margin-left: 80px;
    }
}

@media (max-width: 1100px) {
    .Content {
        flex-direction: column;
        height: 80vh;
        padding-top: 30px;
    }
}

@media (min-width: 1100px){
    #home {
        padding-top: 300px !important;
    }
}
@media (max-width: 837px) {

    /* Réduire les effets de transition sur mobile */
    section:not(.Home)::before {
        height: 60px;
        top: -30px;
        opacity: 0.6;
    }
    
    section::after {
        height: 60px;
        bottom: -60px;
        opacity: 0.1;
    }
    
    @keyframes glassFloat {
        0%, 100% {
            transform: translateY(0) scale(1);
            opacity: 0.6;
        }
        50% {
            transform: translateY(-3px) scale(1.01);
            opacity: 0.8;
        }
    }

    .Home {
        min-height: 100vh;
        height: auto;
    }

    .About .Contact .Experiences .Projects{
        height: auto !important;
        min-height: 100vh;
    }

    /* Ajustement des sections pour mobile */
    section {
        padding: 50px var(--padding-small) !important;
    }

    /* Ajustement des sections pour tablette */
    section {
        padding: 80px var(--padding-medium) !important;
    }

    .Home {
        padding: 0 !important;
    }

    /* Paddings spécifiques pour About et Projects */
    .About, .Projects {
        padding: 80px var(--padding-medium) !important;
        min-height: 100vh;
    }

    /* Ajustement des conteneurs avec effet glass pour tablette */
    .About .Informations,
    .Projects .Main_Content {
        padding: 50px 35px !important;
        width: calc(100% - 40px) !important;
        max-width: 100% !important;
        margin: 0 20px;
        background: rgba(255, 255, 255, 0.15) !important;
        backdrop-filter: blur(15px) saturate(150%) !important;
        -webkit-backdrop-filter: blur(15px) saturate(150%) !important;
        border: 1px solid rgba(255, 255, 255, 0.35) !important;
        border-radius: 15px !important;
        box-shadow: 
            0 6px 24px 0 rgba(0, 0, 0, 0.25),
            inset 0 1px 0 0 rgba(255, 255, 255, 0.2) !important;
    }

    /* S'assurer que l'overlay bleu reste visible */
    .About::before, .Projects::before {
        display: block !important;
        opacity: 1 !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

    .Menu {
        padding: var(--font-size-medium);
        transition: 0.2s;
        justify-content: normal;
    }

    .act {
        padding: 20px;
    }

    .sticky {
        padding: 20px;
    }

    .Menu h1 {
        transition: 0s;
        margin-right: auto;
    }

    .sticky h1 {
        font-size: var(--font-size-medium) !important;
    }

    .Mobile_Bar {
        display: flex;
        align-items: center;
        font-size: 25px;
        cursor: pointer;
        margin-right: 80px;
        z-index: 1000;
    }

    .Navigation {
        display: none !important;
    }

    .Navigation a {
        font-size: 20px;
    }

    .sticky > .Navigation a {
        font-size: 20px !important;
        transition: 0s;
    }

    .AllNavigation {
        position: fixed;
        top: 76px;
        left: 0%;
        display: block;
        padding: 250px 0px;
        text-align: center;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(8px);
        z-index: 998;
        border-top: 1px solid rgba(0, 0, 0, 0.2);
    }

    .upward {
        z-index : 9999;
    }

    .upward button {
        color: var(--primary-color);
        background-color: var(--tertiary-color);
        transition: var(--transition-duration);
    }

    .upward button:hover {
        background-color: var(--button-color-hover);
        color: var(--tertiary-color);
        border-color: var(--tertiary-color);
    }

    .active {
        display: block !important;
        transition: var(--transition-duration);
    }

    .Navigation li:not(:last-child) {
        margin-right: 0px;
        margin-bottom: 10px;
    }

    .Navigation li::after {
        height: 0px;
        transition: 0s;
    }

    .Navigation li:hover {
        font-weight: 700;
    }

    .Text {
        margin: 0 0 150px 0;
    }

    .Image {
        margin-left: 1var(--padding-small);
    }

    .Circles {
        overflow: hidden;
    }

    .Circle_Left {
        margin-top: var(--font-size-large);
    }

    .Circle_Right {
        margin-top: 20px;
    }

    .About {
        padding: 0 !important;
    }

    .Informations {
        flex-direction: column;
        align-items: center;
        margin-top: 0 !important;
    }

    .Info_Text {
        margin: var(--padding-medium) 20px 0 20px !important;
        text-align: left;
        width: 100% !important;
    }

    .Info_Image {
        margin-left: 0 !important;
        margin-top: 20px;
    }

    .Info_Button {
        margin: 20px auto 0 auto;
        width: auto;
    }

    /* Titres About responsive */
    .About_Title {
        width: 100%;
        flex-wrap: wrap;
    }

    .About_Title h1 {
        font-size: 20px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        max-width: calc(100% - 30px) !important;
        overflow-wrap: break-word !important;
    }

    .Info_Text h1 {
        font-size: 22px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        line-height: 1.4 !important;
    }

    .Border_Title {
        width: 4px !important;
        height: 26px !important;
    }

    .Infos {
        width: 100% !important;
        max-width: 100% !important;
    }

    .Infos h1 {
        font-size: 20px !important;
        line-height: 1.4 !important;
    }

    .Infos p {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }

    .Main_Title {
        width: auto;
    }

    .Main_Text {
        width: auto;
    }

    .Main_Content {
        margin: 60px 0 0 0;
        align-items: flex-start;
        padding: 0 20px;
    }

    /* Amélioration Timeline pour tablette */
    .Timeline {
        padding: 40px 0;
    }

    .Timeline-container {
        padding: 20px 20px;
    }

    .Timeline-item {
        margin-bottom: 35px;
        padding: 15px 0 15px 0;
        position: relative;
    }

    .Timeline-logo {
        width: 80px;
        height: 80px;
        min-width: 80px;
        position: relative;
        margin-left: 0;
    }

    .Timeline-logo img {
        max-width: 75%;
    }

    .Timeline-content {
        padding: 15px;
        margin-left: 15px;
        width: calc(100% - 110px);
    }

    .Timeline-content h2 {
        font-size: 18px;
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .Timeline-content p {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 6px;
    }

    .Timeline-content span {
        font-size: 11px;
        line-height: 1.4;
    }

    .Timeline-line {
        left: 40px;
        width: 2px;
    }

    .List_Experiences {
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
    }

    .List_Experiences a:nth-child(1) {
        margin: 0 0 60px 0;
    }

    .List_Experiences a:nth-child(2) {
        margin-left: 0px;
    }

    .List_Experiences img {
        width: 400px;
    }

    .All_Projects {
        flex-direction: column;
    }

    .Group_Service:nth-child(1) {
        margin-left: 0px;
    }

    .Group_Service:nth-child(3) {
        margin-right: 0px;
    }

    .Group_Service:not(:last-child) {
        margin: 0 0 35px 0;
    }

    .Group_Service {
        width: auto;
        height: auto;
        padding: 30px 25px;
    }

    .Group_Service h2 {
        font-size: 18px;
        margin-top: 8px;
    }

    .Group_Service p {
        font-size: 13px;
        margin-top: 12px;
        line-height: 1.6;
    }

    .Contact_Content {
        margin-top: 20px;
        flex-direction: column-reverse;
        align-items: center;
        gap: 30px;
    }

    .Contact_Form {
        margin: 40px 0 0 0;
    }
    
}

@media (max-width: 600px) {
    /*Mobile*/
    .Content {
        padding-top: 10px;
        height: auto;
        min-height: 70vh;
    }

    .Home {
        height: auto;
        min-height: 100vh;
    }

    .Circle_Left, .Circle_Right, .CircleTop, .Align_Circle {
        display: none;
    }

    /* Ajustement des sections pour mobile */
    section {
        padding: 35px var(--padding-small) !important;
    }

    .Home {
        padding: 0 !important;
    }

    /* Ajustement des conteneurs avec effet glass pour mobile */
    .About .Informations,
    .Projects .Main_Content {
        padding: 25px 20px !important;
        margin: 0 12px;
        width: calc(100% - 24px) !important;
        max-width: 100% !important;
        background: rgba(255, 255, 255, 0.18) !important;
        backdrop-filter: blur(12px) saturate(140%) !important;
        -webkit-backdrop-filter: blur(12px) saturate(140%) !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        border-radius: 12px !important;
        box-shadow: 
            0 4px 20px 0 rgba(0, 0, 0, 0.2),
            inset 0 1px 0 0 rgba(255, 255, 255, 0.25) !important;
    }

    /* S'assurer que l'overlay bleu reste visible et couvre toute la section sur mobile */
    .About::before, .Projects::before {
        display: block !important;
        opacity: 1 !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 100vh !important;
        background: linear-gradient(
            135deg,
            rgba(26, 58, 82, 0.82) 0%,
            rgba(38, 82, 131, 0.70) 50%,
            rgba(26, 58, 82, 0.82) 100%
        ) !important;
        z-index: 1 !important;
        pointer-events: none !important;
    }

    /* Ajout des transitions entre sections */
    section::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        height: 60px;
        background: linear-gradient(to bottom right, 
            transparent 49.5%, 
            currentColor 49.9%, 
            currentColor 50.1%, 
            transparent 50.5%
        );
        bottom: -30px;
        z-index: 2;
        color: var(--primary-color);
    }

    .Experiences::before,
    .Contact::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        height: 40px;
        background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
        top: 0;
    }

    /* Ajustement des marges pour les transitions */
    .Experiences, .Contact {
        padding-top: 60px;
        margin-top: -30px;
    }



    .Navigation {
        display: none !important;
    }

    .active {
        display: block !important;
    }

    .Navigation a {
        font-size: 20px;
    }

    .sticky > .Navigation a {
        font-size: 20px !important;
        transition: 0s;
    }

    .AllNavigation {
        position: fixed;
        top: 76px;
        left: 0%;
        display: block;
        padding: 250px 0px;
        text-align: center;
        width: 100%;
        height: 100vh;
        background: #fff;
        z-index: 99999;
        border-top: 1px solid rgba(0, 0, 0, 0.2);
    }

    .active {
        display: block;
    }

    .Navigation li:not(:last-child) {
        margin-right: 0px;
        margin-bottom: 10px;
    }

    .Navigation li::after {
        height: 0px;
        transition: 0s;
    }

    .Navigation li:hover {
        font-weight: 700;
    }

    .Text h1 {
        font-size: 60px;
        line-height: 55px;
        letter-spacing: 0px;
    }

    .Text p {
        font-size: 12px;
        margin: 10px 0 0 5px;
    }

    .Image {
        margin-left: var(--padding-medium);
    }

    .Photo {
        margin-top: -75px;
        margin-left: -35px;
    }

    .Square2 {
        right: 67px;
        margin-top: -45px;
    }

    .Photo, .Square1, .Square2 {
        width: 169px;
        height: 179px;
        border-radius: var(--font-size-medium);
    }

    .GitHub, .LinkedIn {
        margin-right: 10px;
    }

    .GitHub i {
        padding: 3px 4px 4px 4px;
        font-size: 18px;
    }

    .LinkedIn i {
        padding: 5px 6px 5px 6px;
        font-size: 15px;
    }

    .Twitter i {
        padding: 5px 6px 5px 6px;
        font-size: 16px;
    }

    .Social_Medias {
        margin-left: -38px;
    }

    .About {
        padding: 35px var(--padding-small) 40px var(--padding-small) !important;
        min-height: auto !important;
    }

    .Informations {
        margin-top: 0 !important;
        width: 100%;
        display: flex;
        flex-direction: column;
        padding-bottom: 20px !important;
        align-items: center;
        padding-bottom: 30px !important;
    }

    .Info_Button {
        margin-top: 25px;
        padding: 12px 20px;
        border-radius: 6px;
        font-size: 13px;
        border-width: 1.5px;
        transition: all 0.3s ease;
        align-self: center;
    }

    .Info_Button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(38, 82, 131, 0.3);
    }

    .Info_Button i {
        font-size: 13px;
    }

    .Rectangle_Info1, .Rectangle_Info2, .Rectangle_Info3 {
        position: absolute;
        width: 30px;
        height: 180px;
    }

    .Rectangle_Info1 {
        bottom: -90px;
        left: 50%;
        transform: translateX(-50%);
    }

    .Rectangle_Info2 {
        bottom: -80px;
        left: 50%;
        transform: translateX(-50%) rotate(40deg);
    }

    .Rectangle_Info3 {
        bottom: -80px;
        left: 50%;
        transform: translateX(-50%) rotate(-40deg);
    }

    .Info_Image {
        margin-left: 0 !important;
        margin-top: 10px;
        margin-bottom: 70px;
        transform: scale(0.85);
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .Info_Image img {
        position: relative;
        right: 0;
        bottom: -60px;
        width: 140px;
    }

    /* Titres About responsive mobile */
    .About_Title {
        width: 100%;
        align-items: center;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 12px;
        margin-top: 0;
    }

    .About_Title h1 {
        font-size: 18px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        line-height: 1.4 !important;
        max-width: 100% !important;
        overflow-wrap: break-word !important;
        text-align: center;
    }

    .Border_Title {
        width: 3px !important;
        height: 22px !important;
        flex-shrink: 0;
        margin-right: 8px;
    }

    .Info_Text {
        margin: 15px 0 0 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .Info_Text h1 {
        font-size: 18px !important;
        margin-left: 0;
        white-space: normal !important;
        word-wrap: break-word !important;
        max-width: 100% !important;
        line-height: 1.4 !important;
        text-align: center;
    }

    .Infos {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center;
    }

    .Infos h1 {
        margin: 12px 0 0 0;
        font-size: 16px !important;
        line-height: 1.4 !important;
        text-align: center;
    }

    .Infos p {
        font-size: 13px !important;
        line-height: 1.7 !important;
        text-align: justify;
        padding: 0 10px;
    }

    /* Amélioration Timeline pour mobile */
    .Timeline {
        padding: 30px 0;
    }

    .Timeline-container {
        padding: 15px 10px;
    }

    .Timeline-item {
        margin-bottom: 25px;
        padding: 12px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .Timeline-logo {
        width: 70px;
        height: 70px;
        min-width: 70px;
        margin-bottom: 15px;
        align-self: center;
    }

    .Timeline-logo img {
        max-width: 70%;
    }

    .Timeline-line {
        display: none;
    }

    .Timeline-content {
        width: 100%;
        margin-left: 0;
        padding: 15px;
    }

    .Timeline-content h2 {
        font-size: 16px;
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .Timeline-content p {
        font-size: 12px;
        line-height: 1.6;
        margin-bottom: 6px;
    }

    .Timeline-content span {
        font-size: 10px;
        line-height: 1.4;
    }

    .Timeline-location {
        position: static;
        display: inline-block;
        margin-top: 8px;
        padding: 5px 10px;
        font-size: 9px;
        border-radius: 4px;
    }

    .Main_Content {
        padding: 0 15px;
    }

    .Main_Title h1 {
        font-size: 24px;
        text-align: center;
    }

    .Main_Text p {
        font-size: 13px;
        line-height: 1.7;
        text-align: justify;
    }

    .List_Experiences {
        margin-top: 50px;
    }

    .List_Experiences img {
        width: var(--default-width);
    }

    .List_Experiences a:nth-child(1) {
        margin: 0 0 var(--padding-small) 0;
    }

    .Experiences {
        padding-bottom: 60px !important;
    }

    .Projects {
        padding: 50px var(--padding-small) 60px var(--padding-small) !important;
        min-height: auto !important;
    }

    .Projects .Main_Content {
        padding-bottom: 40px !important;
    }

    .All_Projects {
        margin-top: 30px;
        gap: 20px;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .Group_Service {
        padding: 25px 20px;
        border-radius: 10px;
        width: calc(100% - 40px);
        max-width: 400px;
    }

    .Group_Service i {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .Group_Service h2 {
        font-size: 17px;
        margin-top: 10px;
        line-height: 1.4;
        text-align: center;
    }

    .Group_Service p {
        font-size: 12px;
        margin-top: 12px;
        line-height: 1.7;
        text-align: justify;
        padding: 0 5px;
    }

    .Group_Service:not(:last-child) {
        margin: 0;
    }

    .Contact {
        padding-bottom: 15vh;
    }

    .Contact_Form {
        margin: 30px 0 0 0;
        width: 100%;
        max-width: 320px;
    }

    .Contact_Form input, .Contact_Form textarea {
        width: 100%;
        max-width: 300px;
        border-width: 1.5px;
        padding: 12px 8px;
        font-size: 13px;
        margin-top: 20px;
    }

    .Contact_Content {
        padding: 0 10px;
        gap: 25px;
    }

    .Contact_Text {
        padding: 0 10px;
    }

    .Contact_Text p {
        font-size: 13px;
        line-height: 1.7;
        text-align: justify;
    }

    ::-webkit-input-placeholder {
        font-size: 12px;
    }
    
    ::-moz-placeholder {
        font-size: 12px;
    }
    
    :-ms-input-placeholder {
        font-size: 12px;
    }
    
    :-o-input-placeholder {
        font-size: 12px;
    }

    .Contact_Button {
        margin-top: var(--font-size-medium);
        font-size: 10px;
        border-radius: 3px;
        width: 170px;
    }

    .Footer {
        height: 80px;
    }
}