/* Variables de couleurs */
:root {
    --color-dark: #121212;
    --color-darker: #0a0a0a;
    --color-darkest: #050505;
    --color-light: #f1f5f9;
    --color-primary: #4cc9f0;    /* Bleu ciel comme dans l'image */
    --color-secondary: #4361ee;  /* Bleu plus foncé pour complémentarité */
    --color-accent: #4cc9f0;     /* Même bleu ciel pour l'accent */
    --color-gradient-1: #9945FF; /* Nouveau violet pour le gradient */
    --color-gradient-2: #ff5e62; /* Nouveau rouge orangé pour le gradient */
    --color-text: #b4b4b4;       /* Blanc pur pour le texte */
    --color-text-light: #b4b4b4;
    --color-text-white: #ffffff;
    --color-background: #000000;
    --color-card: #101010;
    --color-card-hover: #1a1a1a;
    --color-border: #222222;
    --color-input-bg: #0a0a0a;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6);
    --glow-primary: 0 0 15px rgba(76, 201, 240, 0.5);
    --glow-secondary: 0 0 15px rgba(67, 97, 238, 0.5);
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --space-unit: 8px;
    --font-mono: 'Space Mono', monospace;
    --font-sans: 'Inter', 'Roboto', sans-serif;
    --animation-duration: 0.8s;
    --animation-delay-base: 0.1s;
    --transition-standard: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: rgba(10, 10, 10, 1);
    line-height: 1.6;
}

/* Scrollbar personnalisé */
::-webkit-scrollbar {
    width: 4px;
}

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

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

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

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-unit);
}

.section-title {
    margin-bottom: calc(var(--space-unit) * 5);
    position: relative;
    animation: fadeInUp var(--animation-duration) ease forwards;
}

.section-title .code-tag {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--color-accent);
    display: block;
    margin-bottom: var(--space-unit);
    letter-spacing: 1px;
}

.section-title h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 5);
    position: fixed;
    top: var(--space-unit);
    left: var(--space-unit);
    right: var(--space-unit);
    background-color: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    border-radius: 14px;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, transform 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: calc(var(--space-unit) * 3);
}

.navbar:hover {
    box-shadow: 0 5px 25px rgba(0, 183, 255, 0.08);
    transform: translateY(-1px);
}

/* Logo dans la navbar avec effet tech/dev */
.logo-container {
    position: relative;
    font-family: var(--font-mono);
    transition: transform 0.3s ease, filter 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(15, 15, 15, 0.4);
    border-left: 2px solid var(--color-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.logo-container:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px rgba(76, 201, 240, 0.3));
}

.logo-tech {
    display: flex;
    align-items: center;
    position: relative;
    font-size: 1.1rem;
    letter-spacing: -0.5px;
}

.logo-brackets {
    color: var(--color-primary);
    font-weight: 700;
    opacity: 0.9;
    font-size: 1.2rem;
    text-shadow: 0 0 15px rgba(76, 201, 240, 0.5);
    transition: text-shadow 0.3s ease;
}

.logo-container:hover .logo-brackets {
    text-shadow: 0 0 10px rgba(76, 201, 240, 0.8);
}

.logo-name-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    margin: 0 4px;
    line-height: 1;
}

.logo-firstname {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: var(--color-text-white);
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: transform 0.3s ease;
}

.logo-container:hover .logo-firstname {
    transform: translateY(-1px);
}

.logo-lastname {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    transition: transform 0.3s ease;
}

.logo-container:hover .logo-lastname {
    transform: translateY(1px);
}

.logo-cursor {
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 70%;
    background-color: var(--color-accent);
    animation: cursor-blink 1.2s infinite step-end;
    box-shadow: 0 0 8px rgba(76, 201, 240, 0.6);
}

/* Animation de frappe de code pour le logo */
@keyframes cursor-blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

/* Logo responsif */
@media (max-width: 768px) {
    .logo-tech {
        font-size: 0.95rem;
    }
    
    .logo-brackets {
        font-size: 1rem;
    }
    
    .logo-firstname {
        font-size: 0.8rem;
    }
    
    .logo-lastname {
        font-size: 0.85rem;
    }
}

.nav-links {
    display: flex;
    gap: calc(var(--space-unit) * 1);
    background-color: rgba(20, 20, 20, 0.5);
    padding: 6px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.nav-link {
    color: var(--color-text-light);
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    letter-spacing: 0.2px;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: width 0.3s ease;
    opacity: 0;
}

.nav-link:hover::before {
    width: 60%;
    opacity: 1;
}

.nav-link.active {
    background-color: rgba(25, 25, 25, 0.7);
    color: var(--color-light);
}

.nav-link.active::before {
    width: 60%;
    opacity: 1;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-light);
}

.language-switch {
    display: flex;
    gap: 0;
    font-size: 0.85rem;
    background-color: rgba(20, 20, 20, 0.5);
    padding: 6px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.language-switch span {
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    color: var(--color-text-light);
    padding: 4px 10px;
    border-radius: 6px;
}

.language-switch span.active {
    opacity: 1;
    font-weight: 600;
    color: var(--color-light);
    background-color: rgba(30, 30, 30, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.language-switch span:hover {
    color: var(--color-light);
    background-color: rgba(25, 25, 25, 0.7);
}

.nav-links .nav-link:last-child {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    font-weight: 500;
}

.nav-links .nav-link:last-child::before {
    display: none;
}

.nav-links .nav-link:last-child:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 183, 255, 0.2);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    background-color: rgba(20, 20, 20, 0.5);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    background-color: var(--color-text);
    border-radius: 1px;
    transition: all 0.3s ease;
}

/* Navbar scrolled state */
.navbar.scrolled {
    background-color: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Hero Section avec animation d'entrée */
.hero-section {
    position: relative;
    margin-top: 50px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 calc(var(--space-unit) * 4);
    overflow: hidden;
    background-color: rgba(10, 10, 10, 1);
}

/* Supprimer les effets de lumière sur la section hero */
.hero-section::before,
.hero-section::after {
    display: block;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    bottom: 10%;
    left: -150px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    opacity: 0.03;
    filter: blur(80px);
    animation: float 15s infinite alternate-reverse;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    top: 10%;
    right: -100px;
    background: var(--color-accent);
    border-radius: 50%;
    opacity: 0.02;
    filter: blur(80px);
    animation: float 18s infinite alternate;
}

.hero-content {
    flex: 1;
    position: relative;
    z-index: 2;
    padding-left: calc(var(--space-unit) * 6);
    opacity: 1;
    transform: none;
    animation: none;
}

.subtitle-container {
    margin-bottom: calc(var(--space-unit) * 3);
    position: relative;
    display: inline-block;
    opacity: 1;
    transform: none;
    animation: fadeInRight 0.8s ease forwards 0.2s;
}

.subtitle {
    font-family: var(--font-mono);
    color: var(--color-text-white);
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding: calc(var(--space-unit) * 1) calc(var(--space-unit) * 2.5);
    background: rgba(67, 97, 238, 0.1);
    border-radius: 20px;
    display: inline-block;
    backdrop-filter: blur(5px);
    border-left: 3px solid var(--color-primary);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.15);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.subtitle:hover {
    transform: translateY(-3px);
    background: rgba(67, 97, 238, 0.15);
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.25);
}

.subtitle::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
    left: calc(var(--space-unit) * 1);
    top: 50%;
    transform: translateY(-50%);
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: calc(var(--space-unit) * 3);
    text-shadow: var(--shadow-lg);
    opacity: 1;
    transform: none;
    animation: fadeInUp 0.6s ease forwards 0.4s;
    font-weight: 800;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.hero-title .firstname {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: var(--color-text-white);
    font-size: 4rem;
    letter-spacing: 2px;
    line-height: 1;
}

.hero-title .lastname {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 5rem;
    line-height: 1;
    letter-spacing: 4px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    position: relative;
}

.hero-title .lastname::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
}

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: calc(var(--space-unit) * 6);
    position: relative;
    display: inline-block;
    opacity: 1;
    transform: none;
    animation: fadeInUp 0.6s ease forwards 0.6s;
    border-left: 2px solid var(--color-accent);
    padding-left: calc(var(--space-unit) * 2);
}

.hero-contact-container {
    margin-bottom: calc(var(--space-unit) * 6);
    opacity: 1;
    transform: none;
    animation: fadeInUp 0.6s ease forwards 0.6s;
}

.hero-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: calc(var(--space-unit) * 2);
}

.hero-contact-item i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(20, 20, 20, 0.5);
    border-radius: 50%;
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-right: calc(var(--space-unit) * 2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-blob {
    position: absolute;
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, var(--color-primary) 10%, var(--color-secondary) 90%);
    border-radius: 60% 40% 50% 50% / 60% 40% 60% 40%;
    animation: blobAnimation 15s infinite alternate;
    opacity: 0.2;
    filter: blur(20px);
}

@keyframes blobAnimation {
    0% {
        border-radius: 60% 40% 50% 50% / 60% 40% 60% 40%;
        transform: rotate(0deg);
    }
    100% {
        border-radius: 40% 60% 40% 60% / 50% 60% 40% 50%;
        transform: rotate(10deg);
    }
}

.hero-avatar {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background-color: rgba(20, 20, 20, 0.5);
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(0.9);
    animation: fadeInScale 1s ease forwards 1s, pulseAvatar 5s infinite ease-in-out alternate 1s;
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-avatar::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

/* Typewriter Effect */
.typewriter-container {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: calc(var(--space-unit) * 6);
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    border-left: 2px solid var(--color-accent);
    padding-left: calc(var(--space-unit) * 2);
    height: 2rem;
    opacity: 1;
    transform: none;
    animation: fadeInUp 0.6s ease forwards 0.4s;
}

.typewriter-prefix {
    color: var(--color-text-light);
    font-weight: 400;
}

.typewriter {
    color: var(--color-primary);
    position: relative;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    letter-spacing: 0.1rem;
}

.typewriter::after {
    content: '|';
    position: absolute;
    right: -2px;
    color: var(--color-primary);
    animation: cursor-blink 1s infinite step-end;
}

@keyframes cursor-blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

/* Bouton CV modernisé */
.download-cv {
    display: inline-flex;
    align-items: center;
    gap: calc(var(--space-unit) * 1.5);
    background: rgba(20, 20, 20, 0.7);
    color: var(--color-light);
    padding: calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);
    border-radius: 12px;
    font-weight: 500;
    margin-bottom: calc(var(--space-unit) * 6);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    overflow: hidden;
    opacity: 1;
    transform: none;
    animation: fadeInUp 0.6s ease forwards 0.8s;
    border: 1px solid rgba(0, 183, 255, 0.2);
}

.download-cv i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.download-cv:hover {
    transform: translateY(-3px);
    background: rgba(25, 25, 25, 0.9);
    box-shadow: 0 5px 15px rgba(0, 183, 255, 0.25);
    border-color: var(--color-primary);
}

.download-cv:hover i {
    transform: translateY(-3px);
}

.download-cv::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.download-cv:hover::before {
    opacity: 0.15;
}

.button-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.button-border rect {
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 1;
    stroke-dasharray: 10 5;
    stroke-dashoffset: 0;
    rx: 10;
    ry: 10;
    opacity: 0.5;
    animation: border-animate 15s linear infinite;
}

@keyframes border-animate {
    to {
        stroke-dashoffset: 100;
    }
}

.social-links {
    display: flex;
    gap: calc(var(--space-unit) * 2);
    opacity: 1;
    transform: none;
    animation: fadeInUp 0.6s ease forwards 1s;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: rgba(20, 20, 20, 0.8);
    color: var(--color-text-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background-color: rgba(25, 25, 25, 0.9);
}

.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(0deg, transparent 24px, rgba(255, 255, 255, 0.02) 25px),
        linear-gradient(90deg, transparent 24px, rgba(255, 255, 255, 0.02) 25px);
    background-size: 25px 25px;
    z-index: 0;
}

/* About Section - Style unique */
.about-section {
    padding: calc(var(--space-unit) * 15) 0;
    position: relative;
    overflow: hidden;
    background-color: var(--color-dark);
}

.about-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    top: 10%;
    left: -150px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    opacity: 0.02;
    filter: blur(80px);
    animation: float 20s infinite alternate;
}

.about-section::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    bottom: 10%;
    right: -100px;
    background: var(--color-accent);
    border-radius: 50%;
    opacity: 0.02;
    filter: blur(80px);
    animation: float 15s infinite alternate-reverse;
}

.about-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(76, 201, 240, 0.03) 0%, transparent 50%),
        linear-gradient(0deg, transparent 24px, rgba(255, 255, 255, 0.03) 25px),
        linear-gradient(90deg, transparent 24px, rgba(255, 255, 255, 0.03) 25px);
    background-size: 100%, 25px 25px, 25px 25px;
    z-index: 0;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 calc(var(--space-unit) * 4);
    position: relative;
    z-index: 1;
}

.about-header {
    margin-bottom: calc(var(--space-unit) * 8);
    position: relative;
}

.about-header .subtitle-container {
    margin-bottom: calc(var(--space-unit) * 3);
    position: relative;
    display: inline-block;
    opacity: 1;
    transform: none;
    animation: fadeInRight 0.8s ease forwards 0.2s;
}

.about-header .subtitle {
    font-family: var(--font-mono);
    color: var(--color-text-white);
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding: calc(var(--space-unit) * 1) calc(var(--space-unit) * 2.5);
    background: rgba(67, 97, 238, 0.1);
    border-radius: 20px;
    display: inline-block;
    backdrop-filter: blur(5px);
    border-left: 3px solid var(--color-primary);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.15);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.about-header .subtitle:hover {
    transform: translateY(-3px);
    background: rgba(67, 97, 238, 0.15);
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.25);
}

.about-header .subtitle::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
    left: calc(var(--space-unit) * 1);
    top: 50%;
    transform: translateY(-50%);
}

.code-tag-container {
    display: inline-flex;
    align-items: center;
    margin-bottom: calc(var(--space-unit) * 2);
    position: relative;
}

.terminal-text {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--color-primary);
    letter-spacing: 1px;
    position: relative;
}

.terminal-cursor {
    display: inline-block;
    width: 10px;
    height: 20px;
    background-color: var(--color-primary);
    margin-left: 5px;
    animation: cursor-blink 1.2s infinite step-end;
}

.about-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-text-white);
    position: relative;
    display: inline-block;
    margin-bottom: calc(var(--space-unit) * 2);
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--color-primary);
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: calc(var(--space-unit) * 8);
    align-items: flex-start;
}

.about-left {
    display: flex;
    flex-direction: column;
    gap: calc(var(--space-unit) * 4);
}

.about-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
}

.about-image-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(76, 201, 240, 0.3);
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(45deg, rgba(12, 12, 12, 0.8), rgba(20, 20, 20, 0.8));
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    /* Image de profil à ajouter */
    background-image: url('../assets/profile.jpg');
    background-size: cover;
    background-position: center;
}

.frame-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--color-primary);
    z-index: 2;
}

.top-left {
    top: 0;
    left: 0;
    border-top: 2px solid;
    border-left: 2px solid;
}

.top-right {
    top: 0;
    right: 0;
    border-top: 2px solid;
    border-right: 2px solid;
}

.bottom-left {
    bottom: 0;
    left: 0;
    border-bottom: 2px solid;
    border-left: 2px solid;
}

.bottom-right {
    bottom: 0;
    right: 0;
    border-bottom: 2px solid;
    border-right: 2px solid;
}

.about-image-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(76, 201, 240, 0.1);
    opacity: 0;
    mix-blend-mode: overlay;
    animation: glitch 8s infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes glitch {
    0% {
        opacity: 0;
        transform: translateX(0);
    }
    2% {
        opacity: 0.5;
        transform: translateX(5px);
    }
    3% {
        opacity: 0;
        transform: translateX(0);
    }
    10% {
        opacity: 0;
    }
    12% {
        opacity: 0.5;
        transform: translateX(-3px);
    }
    13% {
        opacity: 0;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
    }
}

.about-data-container {
    display: flex;
    flex-direction: column;
    gap: calc(var(--space-unit) * 2);
    background: rgba(10, 10, 10, 0.7);
    border-radius: 10px;
    padding: calc(var(--space-unit) * 3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.data-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: calc(var(--space-unit) * 1.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.data-label {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.data-value {
    font-weight: 500;
    color: var(--color-text-white);
    font-size: 0.9rem;
}

.data-value.available {
    color: #4caf50;
    display: flex;
    align-items: center;
}

.data-value.available::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #4caf50;
    border-radius: 50%;
    margin-right: 6px;
    animation: pulse 2s infinite;
}

.download-cv {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(var(--space-unit) * 2);
    background: rgba(15, 15, 15, 0.8);
    color: var(--color-text-white);
    padding: calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);
    border-radius: 8px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(76, 201, 240, 0.2);
    transition: all 0.3s ease;
    z-index: 1;
}

.download-cv::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76, 201, 240, 0.2), transparent);
    transition: left 0.7s ease;
    z-index: -1;
}

.download-cv:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 201, 240, 0.15);
    border-color: var(--color-primary);
}

.download-cv:hover::before {
    left: 100%;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(76, 201, 240, 0.15);
    width: 32px;
    height: 32px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.download-cv:hover .btn-icon {
    background: rgba(76, 201, 240, 0.3);
}

.btn-text {
    flex: 1;
    text-align: center;
}

.btn-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(76, 201, 240, 0.1), transparent);
    opacity: 0;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.download-cv:hover .btn-glitch {
    animation: btnGlitch 0.6s forwards;
}

@keyframes btnGlitch {
    0% {
        opacity: 0;
    }
    30% {
        opacity: 0.5;
    }
    40% {
        opacity: 0;
    }
    60% {
        opacity: 0.5;
    }
    70% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: calc(var(--space-unit) * 3);
}

.about-text-container {
    background: rgba(14, 14, 16, 0.95);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.about-text-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent, rgba(76, 201, 240, 0.05));
    border-radius: 50%;
    opacity: 0;
    transform: translate(50%, 50%);
    transition: all 0.5s ease;
    z-index: 0;
}

.about-text-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(76, 201, 240, 0.3);
    background: rgba(12, 12, 12, 0.95);
}

.about-text-container:hover::after {
    opacity: 1;
    transform: translate(30%, 30%) scale(2);
}

.terminal-header {
    background: rgba(15, 15, 15, 0.9);
    padding: calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-circles {
    display: flex;
    gap: 6px;
}

.terminal-circles span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.terminal-circles span:nth-child(1) {
    background-color: #ff5f57;
}

.terminal-circles span:nth-child(2) {
    background-color: #febc2e;
}

.terminal-circles span:nth-child(3) {
    background-color: #28c840;
}

.terminal-title {
    margin-left: calc(var(--space-unit) * 2);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.terminal-body {
    padding: calc(var(--space-unit) * 3);
    font-family: var(--font-sans);
}

.about-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: calc(var(--space-unit) * 2);
}

.about-text:last-child {
    margin-bottom: 0;
}

.text-highlight {
    color: var(--color-primary);
    font-weight: 500;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--space-unit) * 3);
}

.skill-card {
    display: flex;
    align-items: center;
    gap: calc(var(--space-unit) * 2);
    background: rgba(14, 14, 16, 0.95);
    border-radius: 10px;
    padding: calc(var(--space-unit) * 2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.skill-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, transparent, rgba(76, 201, 240, 0.05));
    border-radius: 50%;
    opacity: 0;
    transform: translate(50%, 50%);
    transition: all 0.5s ease;
    z-index: 0;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(76, 201, 240, 0.3);
    background: rgba(12, 12, 12, 0.95);
}

.skill-card:hover::after {
    opacity: 1;
    transform: translate(30%, 30%) scale(2);
}

.skill-icon-container {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.skill-icon-container i {
    font-size: 1.5rem;
    color: var(--color-primary);
    position: relative;
    z-index: 2;
}

.skill-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(76, 201, 240, 0.1);
    border-radius: 10px;
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.skill-card:hover .skill-icon-bg {
    transform: rotate(0);
    background: rgba(76, 201, 240, 0.2);
}

.skill-content {
    flex: 1;
}

.skill-content h3 {
    font-size: 1rem;
    margin-bottom: calc(var(--space-unit) * 1);
    color: var(--color-text-white);
}

.skill-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
    position: relative;
    width: 0;
    animation: progressAnimation 1.5s ease forwards;
}

@keyframes progressAnimation {
    0% {
        width: 0;
    }
    100% {
        width: var(--width, 100%);
    }
}

/* Responsive About Section */
@media (max-width: 992px) {
    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: calc(var(--space-unit) * 6);
    }
    
    .about-left {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-image-container {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: perspective(1000px) translateX(30px) rotateY(-10deg);
    }
    to {
        opacity: 1;
        transform: perspective(1000px) translateX(0) rotateY(-5deg);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Classe d'animation pour les éléments au scroll */
.skill-card.animate,
.service-card.animate,
.blog-card.animate,
.contact-form.animate {
    animation: fadeIn 0.6s ease-out forwards;
}

.timeline-item.animate:nth-child(odd) {
    animation: slideInLeft 0.6s ease-out forwards;
}

.timeline-item.animate:nth-child(even) {
    animation: slideInRight 0.6s ease-out forwards;
}

.education-item.animate {
    animation: fadeIn 0.6s ease-out forwards;
}

/* État initial des éléments avant animation */
.skill-card,
.service-card,
.timeline-item,
.education-item,
.blog-card,
.contact-form {
    opacity: 0;
}

/* Mobile menu */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--color-card);
        box-shadow: var(--shadow-md);
        flex-direction: column;
        padding: 20px;
        text-align: center;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 99;
    }
    
    .nav-links.show {
        transform: translateY(0);
        opacity: 1;
    }
    
    .menu-toggle.active span:first-child {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:last-child {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
}

/* Particules flottantes */
.particle {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    filter: blur(1px);
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    33% {
        transform: translateY(10px) translateX(10px) rotate(5deg);
    }
    66% {
        transform: translateY(-10px) translateX(5px) rotate(-5deg);
    }
    100% {
        transform: translateY(5px) translateX(-10px) rotate(0deg);
    }
}

/* Transition de langue */
.language-transition {
    position: relative;
}

.language-transition::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    opacity: 0;
    z-index: 9999;
    pointer-events: none;
    animation: fadeLanguage 0.5s ease forwards;
}

@keyframes fadeLanguage {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 0.1;
    }
    80% {
        opacity: 0.1;
    }
    100% {
        opacity: 0;
    }
}

/* Validation de formulaire */
.form-group input.invalid,
.form-group textarea.invalid {
    border-color: #f43f5e;
    box-shadow: 0 0 0 2px rgba(244, 63, 94, 0.2);
}

.success-message {
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    background: linear-gradient(to right, var(--color-accent), #00BF8F);
    color: white;
    padding: calc(var(--space-unit) * 2);
    border-radius: var(--border-radius);
    text-align: center;
    opacity: 1;
    transition: opacity 0.5s ease;
    z-index: 5;
}

.success-message i {
    margin-right: calc(var(--space-unit) * 1);
}

/* Bouton de formulaire animation */
.btn-primary.success {
    background: linear-gradient(135deg, var(--color-accent), #00BF8F);
}

/* Effet de survol amélioré */
.hover-effect {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: var(--shadow-lg), var(--glow-primary) !important;
    z-index: 5;
}

/* Animation du héros plus fluide */
.hero-content .subtitle {
    animation: fadeInUp calc(var(--animation-duration) + 0.3s) ease forwards;
    opacity: 0;
    animation-delay: var(--animation-delay-base);
}

.hero-content .hero-title {
    animation: fadeInUp calc(var(--animation-duration) + 0.3s) ease forwards;
    opacity: 0;
    animation-delay: calc(var(--animation-delay-base) * 2);
}

.hero-content .typewriter {
    animation: fadeInUp calc(var(--animation-duration) + 0.3s) ease forwards;
    opacity: 0;
    animation-delay: calc(var(--animation-delay-base) * 3);
}

.hero-content .hero-contact {
    animation: fadeInUp calc(var(--animation-duration) + 0.3s) ease forwards;
    opacity: 0;
    animation-delay: calc(var(--animation-delay-base) * 4);
}

.hero-content .btn-primary {
    animation: fadeInUp calc(var(--animation-duration) + 0.3s) ease forwards;
    opacity: 0;
    animation-delay: calc(var(--animation-delay-base) * 5);
}

.hero-content .social-links {
    animation: fadeInUp calc(var(--animation-duration) + 0.3s) ease forwards;
    opacity: 0;
    animation-delay: calc(var(--animation-delay-base) * 6);
}

/* Animation progressive des éléments */
.skill-card, .service-card, .timeline-item, .education-item, .blog-card, .contact-form {
    transition: var(--transition-standard);
}

/* Animation de chargement */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.loading-overlay.loaded {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loading-logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.loading-text {
    font-family: var(--font-mono);
    color: var(--color-text-light);
    font-size: 1rem;
    letter-spacing: 2px;
}

.progress-bar {
    width: 200px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-inner {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 3px;
    transition: width 0.2s ease;
}

@keyframes pulse {
    0% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

/* Effet de glow dans la navbar */
@keyframes navGlow {
    0% {
        opacity: 0.3;
        transform: translateY(0px) scale(1);
    }
    100% {
        opacity: 0.5;
        transform: translateY(-15px) scale(1.2);
    }
}

.nav-link:hover, .nav-link.active {
    color: var(--color-light);
}

.language-switch span:hover {
    color: var(--color-light);
    background-color: rgba(25, 25, 25, 0.7);
}

.nav-links .nav-link:last-child {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: width 0.2s ease;
}

.loader-text {
    font-size: 0.9rem;
    color: var(--color-text-light);
    letter-spacing: 0.5px;
}

/* Animation d'entrée pour les éléments de la page */
.navbar, .hero-title, .hero-subtitle, .avatar-container, .hero-contact-container, .hero-grid-bg {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.avatar-orbit, .avatar-dot {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.avatar-dot {
    transform: scale(0.5);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Animation de scintillement pour certains éléments */
@keyframes twinkle {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.twinkle {
    animation: twinkle 3s infinite ease-in-out;
}

/* Animation pour le survol des liens */
.nav-link, .hero-contact-item, .social-icon {
    transition: transform 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.nav-link:hover, .hero-contact-item:hover {
    transform: translateY(-2px);
}

/* Styles pour les étoiles scintillantes */
.stars-container {
    display: none;
}

/* Animation pour le défilement des sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Correction pour que le parallaxe n'interfère pas avec les animations d'entrée */
.hero-title[style*="translate3d"], 
.avatar-container[style*="translate3d"], 
.hero-grid-bg[style*="translate3d"] {
    transition: transform 0.2s ease-out, opacity 0.6s ease !important;
}

/* Effet de hover-glow pour les éléments interactifs */
.hover-glow {
    position: fixed;
    z-index: -1;
    pointer-events: none;
}

/* Effet de grain subtil sur le fond */
body::before {
    display: none;
}

/* Effets spéciaux pour l'avatar */
.avatar-orbit {
    display: none;
}

.avatar-glow {
    display: none;
}

/* Restaurer l'effet de blob original */
.hero-blob {
    background: linear-gradient(135deg, var(--color-primary) 10%, var(--color-secondary) 90%);
    opacity: 0.2;
    filter: blur(20px);
}

/* Restaurer l'aspect d'origine de l'avatar */
.hero-avatar {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background-color: rgba(20, 20, 20, 0.5);
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(0.9);
    animation: fadeInScale 1s ease forwards 1s, pulseAvatar 5s infinite ease-in-out alternate 1s;
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Style de l'overlay de chargement */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-background);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.progress-container {
    width: 250px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: width 0.2s ease;
}

.loader-text {
    font-size: 0.9rem;
    color: var(--color-text-light);
    letter-spacing: 0.5px;
}

/* Skills cards horizontales */
.skills-horizontal-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 15px 0;
}

.skill-horizontal-card {
    background: rgba(14, 14, 16, 0.95);
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    width: auto;
    margin-bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.skill-horizontal-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, transparent, rgba(76, 201, 240, 0.05));
    border-radius: 50%;
    opacity: 0;
    transform: translate(50%, 50%);
    transition: all 0.5s ease;
    z-index: 0;
}

.skill-horizontal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(76, 201, 240, 0.3);
    background: rgba(12, 12, 12, 0.95);
}

.skill-horizontal-card:hover::after {
    opacity: 1;
    transform: translate(30%, 30%) scale(2);
}

.skill-horizontal-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    color: var(--color-primary);
    flex-shrink: 0;
    border: 1px solid rgba(76, 201, 240, 0.15);
}

.skill-horizontal-content {
    flex-grow: 1;
    width: 100%;
}

.skill-horizontal-name {
    color: var(--color-text-white);
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.skill-horizontal-bar {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.skill-horizontal-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 3px;
    animation: progressAnimation 1.5s ease-in-out;
}

@keyframes progressAnimation {
    from { width: 0; }
}

/* Media queries pour la responsivité */
@media screen and (max-width: 992px) {
    .skills-horizontal-container {
        grid-template-columns: 1fr;
    }
    
    .skill-horizontal-card {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .skill-horizontal-card {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .skill-horizontal-card {
        width: 100%;
    }
}

/* Section Expériences et Expertise */
.experiences-section {
    padding: calc(var(--space-unit) * 15) 0;
    position: relative;
    overflow: hidden;
    background-color: var(--color-dark);
}

.experiences-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    top: 10%;
    right: -150px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    opacity: 0.02;
    filter: blur(80px);
    animation: float 20s infinite alternate;
}

/* Timeline design */
.timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 calc(var(--space-unit) * 3);
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent,
        var(--color-primary),
        var(--color-secondary),
        var(--color-primary),
        transparent);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: calc(var(--space-unit) * 8);
    width: 100%;
    display: flex;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
    padding-right: 50%;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
    padding-left: 50%;
}

.timeline-dot {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 20px;
    height: 20px;
    background-color: var(--color-background);
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 15px rgba(76, 201, 240, 0.5);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    background-color: var(--color-primary);
    transform: translateX(-50%) scale(1.2);
}

.timeline-date {
    position: absolute;
    top: 5px;
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--color-primary);
    background-color: rgba(10, 10, 10, 0.8);
    padding: 8px 15px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--color-primary);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-date,
.timeline-item:nth-child(even) .timeline-date {
    left: 80px;
    right: auto;
    top: -40px;
}

.timeline-item:hover .timeline-date {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(76, 201, 240, 0.2);
}

.timeline-content {
    background: rgba(10, 10, 10, 0.8);
    border-radius: 10px;
    padding: calc(var(--space-unit) * 3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 90%;
    max-width: 500px;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 15px;
    width: 20px;
    height: 20px;
    background: rgba(10, 10, 10, 0.8);
    transform: rotate(45deg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: -1;
}

.timeline-item:nth-child(odd) .timeline-content::before,
.timeline-item:nth-child(even) .timeline-content::before {
    display: none;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(76, 201, 240, 0.3);
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: var(--color-text-white);
    margin-bottom: calc(var(--space-unit) * 1);
    position: relative;
    padding-bottom: 10px;
}

.timeline-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
}

.timeline-content h4 {
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: 400;
    margin-bottom: calc(var(--space-unit) * 2);
    font-family: var(--font-mono);
}

.timeline-content ul {
    margin-left: calc(var(--space-unit) * 2);
    margin-bottom: 0;
}

.timeline-content ul li {
    margin-bottom: calc(var(--space-unit) * 1);
    color: var(--color-text);
    position: relative;
}

.timeline-content ul li::before {
    content: '▹';
    position: absolute;
    left: -20px;
    color: var(--color-primary);
}

/* Section Formation */
.education-section {
    margin-top: calc(var(--space-unit) * 15);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--space-unit) * 4);
    margin-top: calc(var(--space-unit) * 6);
    padding: 0 calc(var(--space-unit) * 3);
}

.education-item {
    background: rgba(10, 10, 10, 0.8);
    border-radius: 10px;
    padding: calc(var(--space-unit) * 3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.education-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
    border-radius: 4px 0 0 4px;
}

.education-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(76, 201, 240, 0.3);
}

.education-item:hover::after {
    opacity: 0.05;
}

.education-year {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--color-primary);
    background-color: rgba(76, 201, 240, 0.1);
    padding: 5px 12px;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: calc(var(--space-unit) * 2);
    position: relative;
}

.education-item h3 {
    font-size: 1.2rem;
    color: var(--color-text-white);
    margin-bottom: calc(var(--space-unit) * 1);
}

.education-item h4 {
    font-size: 1rem;
    color: var(--color-text-light);
    font-weight: 400;
    margin-bottom: calc(var(--space-unit) * 2);
    font-style: italic;
}

.education-item p {
    color: var(--color-text);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Section Services & Expertise - Design Unique */
.services-section {
    background-color: rgba(10, 10, 10, 1);
    padding-top: calc(var(--space-unit) * 12);
    padding-bottom: calc(var(--space-unit) * 12);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    bottom: 10%;
    left: -150px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    opacity: 0.03;
    filter: blur(80px);
    animation: float 15s infinite alternate-reverse;
}

.services-section::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    top: 10%;
    right: -100px;
    background: var(--color-accent);
    border-radius: 50%;
    opacity: 0.02;
    filter: blur(80px);
    animation: float 18s infinite alternate;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 calc(var(--space-unit) * 4);
    position: relative;
    z-index: 1;
}

.services-header {
    margin-bottom: calc(var(--space-unit) * 8);
    position: relative;
}

.services-header .subtitle-container {
    margin-bottom: calc(var(--space-unit) * 3);
    position: relative;
    display: inline-block;
    opacity: 1;
    transform: none;
    animation: fadeInRight 0.8s ease forwards 0.2s;
}

.services-header .subtitle {
    font-family: var(--font-mono);
    color: var(--color-text-white);
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding: calc(var(--space-unit) * 1) calc(var(--space-unit) * 2.5);
    background: rgba(67, 97, 238, 0.1);
    border-radius: 20px;
    display: inline-block;
    backdrop-filter: blur(5px);
    border-left: 3px solid var(--color-primary);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.15);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.services-header .subtitle:hover {
    transform: translateY(-3px);
    background: rgba(67, 97, 238, 0.15);
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.25);
}

.services-header .subtitle::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
    left: calc(var(--space-unit) * 1);
    top: 50%;
    transform: translateY(-50%);
}

.services-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-text-white);
    position: relative;
    display: inline-block;
    margin-bottom: calc(var(--space-unit) * 2);
}

.services-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--color-primary);
}

/* Grille des services avec design hexagonal */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: calc(var(--space-unit) * 5);
    margin: 0 auto;
    max-width: 1200px;
}

.service-card {
    background: rgba(14, 14, 16, 0.95);
    border-radius: 12px;
    padding: calc(var(--space-unit) * 4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 1;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76, 201, 240, 0.05), transparent);
    transition: all 0.8s ease;
    z-index: -1;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent, rgba(76, 201, 240, 0.05));
    border-radius: 50%;
    opacity: 0;
    transform: translate(50%, 50%);
    transition: all 0.5s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(76, 201, 240, 0.3);
    background: rgba(12, 12, 12, 0.95);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover::after {
    opacity: 1;
    transform: translate(30%, 30%) scale(2);
}

.service-icon-container {
    position: relative;
    margin-bottom: calc(var(--space-unit) * 4);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.8rem;
    color: var(--color-primary);
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(76, 201, 240, 0.2);
    transform: rotate(0deg);
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 201, 240, 0.15), transparent);
    border-radius: 16px;
    opacity: 0;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: rotate(45deg) scale(1.1);
}

.service-card:hover .service-icon::before {
    opacity: 1;
}

.service-card:hover .service-icon i {
    transform: rotate(-45deg);
    color: var(--color-text-white);
}

.service-icon i {
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.service-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--color-text-white);
    margin-bottom: calc(var(--space-unit) * 3);
    position: relative;
    padding-bottom: calc(var(--space-unit) * 2);
    transition: all 0.3s ease;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    color: var(--color-primary);
}

.service-card:hover h3::after {
    width: 60px;
}

.service-details {
    padding-left: calc(var(--space-unit) * 2);
    margin-bottom: 0;
    flex-grow: 1;
}

.service-details li {
    margin-bottom: calc(var(--space-unit) * 2);
    color: var(--color-text);
    position: relative;
    transition: all 0.3s ease;
    transform: translateX(0);
}

.service-details li::before {
    content: '▹';
    position: absolute;
    left: -20px;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.service-card:hover .service-details li {
    transform: translateX(5px);
    color: var(--color-text-light);
}

.service-card:hover .service-details li::before {
    transform: scale(1.2);
}

/* Effet rayonnant autour de l'icône */
.service-icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(76, 201, 240, 0.2) 0%, transparent 70%);
    filter: blur(10px);
    opacity: 0;
    transition: all 0.5s ease;
}

.service-card:hover .service-icon-glow {
    opacity: 1;
    transform: scale(1.5);
}

/* Section des outils techniques */
.tools-section {
    margin-top: calc(var(--space-unit) * 12);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 calc(var(--space-unit) * 4);
    position: relative;
}

.tools-section .section-title {
    margin-bottom: calc(var(--space-unit) * 6);
}

.tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--space-unit) * 2);
    margin-top: calc(var(--space-unit) * 5);
    justify-content: center;
}

.tool-item {
    background: rgba(10, 10, 10, 0.8);
    color: var(--color-text-light);
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-family: var(--font-mono);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.tool-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary), transparent);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.tool-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(76, 201, 240, 0.3);
    color: var(--color-text-white);
}

.tool-item:hover::before {
    opacity: 0.15;
}

/* Media queries pour la responsivité */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .services-header .subtitle {
        font-size: 0.9rem;
    }
    
    .services-title {
        font-size: 2.2rem;
    }
    
    .service-card {
        padding: calc(var(--space-unit) * 3);
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .tool-item {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
}

/* Animation pour les services */
.service-card:nth-child(1) {
    animation-delay: 0.2s;
}
.service-card:nth-child(2) {
    animation-delay: 0.4s;
}
.service-card:nth-child(3) {
    animation-delay: 0.6s;
}
.service-card:nth-child(4) {
    animation-delay: 0.8s;
}
.service-card:nth-child(5) {
    animation-delay: 1s;
}
.service-card:nth-child(6) {
    animation-delay: 1.2s;
}

/* Animation pour les outils */
.tool-item:nth-child(odd) {
    animation-delay: 0.2s;
}
.tool-item:nth-child(even) {
    animation-delay: 0.4s;
}

/* Nouveau design pour les outils et technologies */
.tech-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: calc(var(--space-unit) * 3);
    margin-top: calc(var(--space-unit) * 5);
}

.tech-card {
    background: rgba(15, 15, 20, 0.6);
    border: 1px solid rgba(76, 201, 240, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tech-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
                               rgba(76, 201, 240, 0.05) 0%, 
                               transparent 50%, 
                               rgba(76, 201, 240, 0.05) 100%);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 0;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(76, 201, 240, 0.3);
}

.tech-card:hover::before {
    opacity: 1;
}

.tech-card-header {
    padding: calc(var(--space-unit) * 2.5);
    border-bottom: 1px solid rgba(76, 201, 240, 0.1);
    position: relative;
}

.tech-category {
    display: flex;
    align-items: center;
    gap: calc(var(--space-unit) * 1.5);
}

.tech-category i {
    color: var(--color-primary);
    font-size: 1.2rem;
    filter: drop-shadow(0 0 8px rgba(76, 201, 240, 0.6));
}

.tech-category span {
    font-family: var(--font-mono);
    color: var(--color-text-light);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.tech-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: calc(var(--space-unit) * 3);
    padding: calc(var(--space-unit) * 3);
}

.tech-icon-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    aspect-ratio: 1;
    background: rgba(20, 20, 25, 0.5);
    border-radius: 12px;
    padding: calc(var(--space-unit) * 2);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
}

.tech-icon-item::before {
    content: attr(title);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-text);
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    font-family: var(--font-mono);
    pointer-events: none;
}

.tech-icon-item:hover {
    background: rgba(30, 30, 35, 0.9);
    transform: translateY(-5px);
    border-color: rgba(76, 201, 240, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 
                0 0 15px rgba(76, 201, 240, 0.2);
}

.tech-icon-item:hover::before {
    opacity: 1;
    bottom: -25px;
}

.tech-icon-item img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    filter: grayscale(30%);
    transition: all 0.3s ease;
}

.tech-icon-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.tech-icon-item i {
    font-size: 2.5rem;
    color: var(--color-text-light);
    transition: all 0.3s ease;
}

.tech-icon-item:hover i {
    color: var(--color-primary);
    filter: drop-shadow(0 0 8px rgba(76, 201, 240, 0.6));
}

/* Animation pour les cartes tech */
.tech-card {
    opacity: 0;
    animation: fadeInScale 0.6s ease-out forwards;
}

.tech-card:nth-child(1) { animation-delay: 0.2s; }
.tech-card:nth-child(2) { animation-delay: 0.3s; }
.tech-card:nth-child(3) { animation-delay: 0.4s; }
.tech-card:nth-child(4) { animation-delay: 0.5s; }
.tech-card:nth-child(5) { animation-delay: 0.6s; }
.tech-card:nth-child(6) { animation-delay: 0.7s; }

/* Responsivité pour le nouveau design */
@media (max-width: 992px) {
    .tech-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tech-tools-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-icons {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .tech-category span {
        font-size: 1rem;
    }
    
    .tech-icons {
        gap: calc(var(--space-unit) * 2);
        padding: calc(var(--space-unit) * 2);
    }
}

/* Effet de retournement pour les icônes tech */
.tech-icon-item {
    perspective: 1000px;
    position: relative;
    height: 100%;
    width: 100%;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.tech-icon-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border-radius: 12px;
}

.tech-icon-item:hover .tech-icon-inner {
    transform: rotateY(180deg);
}

.tech-icon-front, 
.tech-icon-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.tech-icon-front {
    background: rgba(20, 20, 25, 0.5);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    padding: calc(var(--space-unit) * 2);
}

.tech-icon-back {
    background: rgba(30, 30, 40, 0.95);
    color: var(--color-text-light);
    transform: rotateY(180deg);
    padding: calc(var(--space-unit) * 1.5);
    border: 1px solid rgba(76, 201, 240, 0.3);
    box-shadow: 0 0 15px rgba(76, 201, 240, 0.2);
    text-align: center;
}

.tech-icon-back p {
    font-size: 0.75rem;
    line-height: 1.4;
    font-family: var(--font-mono);
    margin: 0;
    color: var(--color-text-light);
}

.tech-icon-item:hover .tech-icon-front {
    border-color: rgba(76, 201, 240, 0.3);
}

.tech-icon-front img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    filter: grayscale(30%);
    transition: all 0.3s ease;
}

.tech-icon-item:hover .tech-icon-front img {
    filter: grayscale(0%);
}

.tech-icon-front i {
    font-size: 2.5rem;
    color: var(--color-text-light);
    transition: all 0.3s ease;
}

.tech-icon-item:hover .tech-icon-front i {
    color: var(--color-primary);
    filter: drop-shadow(0 0 8px rgba(76, 201, 240, 0.6));
}

/* Suppression du contenu d'attribut title au survol pour éviter double affichage */
.tech-icon-item:hover::before {
    content: attr(title);
    opacity: 1;
    bottom: -25px;
    z-index: 10;
}

/* Mise à jour des media queries pour la responsivité */
@media (max-width: 768px) {
    .tech-icon-back p {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .tech-icon-back {
        padding: calc(var(--space-unit) * 1);
    }
    
    .tech-icon-back p {
        font-size: 0.65rem;
    }
}

/* Section Projets et Carousel */
.projects-section {
    padding: calc(var(--space-unit) * 15) 0;
    position: relative;
    overflow: hidden;
    background-color: var(--color-dark);
}

.projects-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    top: 10%;
    left: -150px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    opacity: 0.02;
    filter: blur(80px);
    animation: float 20s infinite alternate;
}

.projects-section::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    bottom: 10%;
    right: -100px;
    background: var(--color-accent);
    border-radius: 50%;
    opacity: 0.02;
    filter: blur(80px);
    animation: float 15s infinite alternate-reverse;
}

.projects-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(76, 201, 240, 0.03) 0%, transparent 50%),
        linear-gradient(0deg, transparent 24px, rgba(255, 255, 255, 0.03) 25px),
        linear-gradient(90deg, transparent 24px, rgba(255, 255, 255, 0.03) 25px);
    background-size: 100%, 25px 25px, 25px 25px;
    z-index: 0;
}

.projects-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 calc(var(--space-unit) * 3);
    position: relative;
    z-index: 1;
}

.projects-carousel {
    position: relative;
    width: 100%;
    margin-top: calc(var(--space-unit) * 6);
    overflow: visible;
    perspective: 1000px;
}

.carousel-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    width: 100%;
    transform-style: preserve-3d;
}

.project-card {
    min-width: 100%;
    padding: 0 calc(var(--space-unit) * 2);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0.7;
    transform: scale(0.95);
    filter: blur(2px);
}

.project-card.active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

.project-card-inner {
    display: flex;
    background: rgba(10, 10, 10, 0.8);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    height: 600px;
    position: relative;
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
}

.project-card-inner:hover {
    border-color: rgba(76, 201, 240, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 
                0 0 30px rgba(76, 201, 240, 0.15);
}

.project-image {
    flex: 1;
    overflow: hidden;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(76, 201, 240, 0.2), transparent);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-card-inner:hover .project-image::before {
    opacity: 1;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    filter: saturate(0.7);
}

.project-card-inner:hover .project-image img {
    filter: saturate(1.2);
    transform: scale(1.03) rotate(-1deg);
}

.project-info {
    flex: 1;
    padding: calc(var(--space-unit) * 4);
    display: flex;
    flex-direction: column;
    position: relative;
    transform: translateZ(10px);
}

.project-info::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    top: -20px;
    right: 40px;
    border-radius: 10px;
    transform: rotate(45deg);
    opacity: 0.7;
}

.project-category {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-primary);
    margin-bottom: calc(var(--space-unit) * 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding-left: 15px;
}

.project-category::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 2px;
    background: var(--color-primary);
    transform: translateY(-50%);
}

.project-title {
    font-size: 2rem;
    color: var(--color-text-white);
    margin-bottom: calc(var(--space-unit) * 2);
    line-height: 1.3;
    position: relative;
    padding-bottom: 15px;
}

.project-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
}

.project-status {
    display: flex;
    gap: calc(var(--space-unit) * 1);
    margin-bottom: calc(var(--space-unit) * 3);
}

.status-badge {
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.status-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: currentColor;
    opacity: 0.15;
    z-index: -1;
}

.status-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    z-index: 1;
    transition: all 1.5s ease;
}

.project-card-inner:hover .status-badge::after {
    left: 100%;
}

.status-badge.design {
    color: rgb(103, 232, 249);
}

.status-badge.dev {
    color: rgb(250, 204, 21);
}

.status-badge.complete {
    color: rgb(34, 197, 94);
}

.project-description {
    color: var(--color-text);
    margin-bottom: calc(var(--space-unit) * 3);
    line-height: 1.6;
    flex-grow: 1;
    position: relative;
    padding-left: 20px;
    border-left: 1px dashed rgba(76, 201, 240, 0.3);
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: calc(var(--space-unit) * 3);
}

.tech-tag {
    background-color: rgba(20, 20, 20, 0.7);
    color: var(--color-text-light);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: calc(var(--i, 0) * 0.1s);
    opacity: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tech-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
    z-index: 1;
}

.tech-tag:hover {
    transform: translateY(-3px);
    color: var(--color-text-white);
    background-color: rgba(30, 30, 35, 0.9);
}

.tech-tag:nth-child(1) { --i: 1; }
.tech-tag:nth-child(2) { --i: 2; }
.tech-tag:nth-child(3) { --i: 3; }
.tech-tag:nth-child(4) { --i: 4; }

.project-links {
    display: flex;
    gap: calc(var(--space-unit) * 2);
    position: relative;
    z-index: 5;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.project-link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: all 0.5s ease;
}

.project-link:hover::before {
    left: 100%;
}

.project-link.demo {
    background-color: var(--color-primary);
    color: var(--color-dark);
}

.project-link.code {
    background-color: transparent;
    color: var(--color-text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-link.demo:hover {
    background-color: var(--color-secondary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(76, 201, 240, 0.3);
}

.project-link.code:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-text-white);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--color-primary);
}

/* Carousel navigation */
.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: calc(var(--space-unit) * 6);
    gap: calc(var(--space-unit) * 4);
    position: relative;
}

.carousel-nav::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(76, 201, 240, 0.3), transparent);
    top: -20px;
}

.carousel-prev,
.carousel-next {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(15, 15, 20, 0.7);
    color: var(--color-text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
}

.carousel-prev::before,
.carousel-next::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.carousel-prev:hover::before,
.carousel-next:hover::before {
    opacity: 1;
}

.carousel-prev:hover,
.carousel-next:hover {
    color: var(--color-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(76, 201, 240, 0.3);
    border-color: rgba(76, 201, 240, 0.5);
}

.carousel-indicators {
    display: flex;
    gap: 12px;
}

.indicator {
    width: 30px;
    height: 5px;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.indicator.active {
    background-color: var(--color-primary);
}

.indicator.active::before {
    transform: translateX(0);
}

.carousel-progress {
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.05);
    margin-top: calc(var(--space-unit) * 5);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.carousel-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: progressShine 2s linear infinite;
    z-index: 1;
}

.carousel-progress .progress-bar {
    height: 100%;
    width: 25%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Responsive design for projects section */
@media screen and (max-width: 992px) {
    .project-card-inner {
        flex-direction: column;
        height: auto;
    }
    
    .project-image {
        height: 300px;
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    }
    
    .project-info {
        padding: calc(var(--space-unit) * 3);
    }
    
    .project-title {
        font-size: 1.75rem;
    }
}

@media screen and (max-width: 768px) {
    .project-image {
        height: 250px;
    }
    
    .project-info {
        padding: calc(var(--space-unit) * 2.5);
    }
    
    .project-title {
        font-size: 1.5rem;
    }
    
    .carousel-progress {
        margin-top: calc(var(--space-unit) * 3);
    }
    
    .indicator {
        width: 25px;
        height: 4px;
    }
}

@media screen and (max-width: 576px) {
    .project-image {
        height: 200px;
    }
    
    .project-info {
        padding: calc(var(--space-unit) * 2);
    }
    
    .project-links {
        flex-direction: column;
        gap: calc(var(--space-unit) * 1.5);
    }
    
    .project-link {
        width: 100%;
        justify-content: center;
    }
    
    .carousel-nav {
        margin-top: calc(var(--space-unit) * 4);
        gap: calc(var(--space-unit) * 2);
    }
    
    .carousel-prev, 
    .carousel-next {
        width: 40px;
        height: 40px;
    }
}



/* Compétences techniques et qualités */
.text-center {
    text-align: center;
}

.skills-qualities-container {
    margin-top: 4rem;
    background: rgba(14, 14, 16, 0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
}

.skills-qualities-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    border-radius: 15px 15px 0 0;
}

.skills-qualities-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent, rgba(76, 201, 240, 0.05));
    border-radius: 50%;
    opacity: 0;
    transform: translate(50%, 50%);
    transition: all 0.5s ease;
    z-index: -1;
}

.skills-qualities-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(76, 201, 240, 0.3);
    background: rgba(12, 12, 12, 0.95);
}

.skills-qualities-container:hover::after {
    opacity: 1;
    transform: translate(30%, 30%) scale(2);
}

.skills-section-columns {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skills-column h2 {
    color: var(--color-text-white);
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
    position: relative;
    text-align: center;
}

.skills-column h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
}

.skill-name {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text-light);
}

.skill-progress-container {
    height: 4px;
    background: rgba(15, 20, 30, 0.6);
    border-radius: 4px;
    position: relative;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.skill-progress-bar {
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 4px;
    animation: progressBarAnimation 1.8s ease-out forwards;
}

.skill-percentage {
    position: absolute;
    right: 0;
    top: -24px;
    font-size: 0.8rem;
    color: #5e88fc;
    font-weight: 600;
}

.characters-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.character-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 8px;
    padding: 1rem;
    background: rgba(19, 23, 34, 0.8);
    transition: all 0.3s ease;
    border: 1px solid rgba(94, 136, 252, 0.1);
}

.character-item:hover {
    transform: translateY(-5px);
    background: rgba(25, 30, 45, 0.9);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-color: rgba(94, 136, 252, 0.3);
}

.character-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border-radius: 6px;
    background: rgba(40, 50, 70, 0.5);
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.character-item:hover .character-icon {
    background: rgba(76, 201, 240, 0.2);
    transform: scale(1.1);
}

.character-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text-white);
}

@keyframes progressBarAnimation {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .skills-section-columns {
        flex-direction: column;
        gap: 3rem;
    }
    
    .characters-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .skills-qualities-container {
        padding: 1.5rem;
    }
    
    .characters-container {
        grid-template-columns: 1fr;
    }
    
    .skills-column h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
}

.skills-qualities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.skill-quality-card {
    background: rgba(15, 20, 30, 0.7);
    border: 1px solid rgba(126, 155, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: calc(var(--i, 0) * 0.1s);
}

.skill-quality-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(126, 155, 255, 0.2);
    border-color: rgba(126, 155, 255, 0.4);
    background: rgba(20, 25, 40, 0.8);
}

.skill-quality-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(126, 155, 255, 0.15), transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-quality-card:hover::before {
    opacity: 1;
}

.skill-quality-icon {
    font-size: 2.5rem;
    color: #7e9bff;
    margin-bottom: 1.5rem;
    background: rgba(126, 155, 255, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-quality-card:hover .skill-quality-icon {
    background: rgba(126, 155, 255, 0.2);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(126, 155, 255, 0.3);
}

.skill-quality-content h3 {
    font-size: 1.2rem;
    color: #eef;
    margin-bottom: 0.8rem;
    position: relative;
    padding-bottom: 0.8rem;
    font-weight: 600;
}

.skill-quality-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #7e9bff, transparent);
    transition: width 0.3s ease;
}

.skill-quality-card:hover .skill-quality-content h3::after {
    width: 60px;
}

.skill-quality-content p {
    font-size: 0.95rem;
    color: #bbc;
    line-height: 1.6;
}

/* Animation pour l'apparition des cartes */
.skill-quality-card:nth-child(1) { --i: 1; }
.skill-quality-card:nth-child(2) { --i: 2; }
.skill-quality-card:nth-child(3) { --i: 3; }
.skill-quality-card:nth-child(4) { --i: 4; }
.skill-quality-card:nth-child(5) { --i: 5; }
.skill-quality-card:nth-child(6) { --i: 6; }

@media (max-width: 992px) {
    .skills-section-columns {
        flex-direction: column;
        gap: 3rem;
    }
    
    .characters-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .skills-qualities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .characters-container {
        grid-template-columns: 1fr;
    }
    
    .skills-qualities-grid {
        grid-template-columns: 1fr;
    }
    
    .skill-quality-card {
        padding: 1.2rem;
    }
    
    .skill-quality-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

/* Suite des styles existants */

/* Nouveau design pour la section Expériences & Formation */
.experiences-section {
    padding: calc(var(--space-unit) * 15) 0;
    position: relative;
    overflow: hidden;
    background-color: var(--color-darker);
    min-height: 100vh;
}

.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.cyber-grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(to right, rgba(76, 201, 240, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(76, 201, 240, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    transform-origin: center;
    animation: grid-float 25s infinite linear;
}

.cyber-grid-glow {
    position: absolute;
    top: 30%;
    left: 20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(76, 201, 240, 0.05) 0%, rgba(76, 201, 240, 0) 70%);
    filter: blur(50px);
    z-index: -1;
    animation: glow-pulse 8s infinite alternate ease-in-out;
}

@keyframes grid-float {
    0% {
        transform: perspective(500px) rotateX(5deg) translateZ(0);
    }
    50% {
        transform: perspective(500px) rotateX(5deg) translateZ(10px);
    }
    100% {
        transform: perspective(500px) rotateX(5deg) translateZ(0);
    }
}

@keyframes glow-pulse {
    0% {
        opacity: 0.3;
        transform: scale(0.95);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.3;
        transform: scale(0.95);
    }
}

.section-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 calc(var(--space-unit) * 3);
    z-index: 1;
}

.section-title {
    margin-bottom: calc(var(--space-unit) * 6);
    position: relative;
    animation: fadeInUp var(--animation-duration) ease forwards;
}

.title-decoration {
    position: relative;
    margin-bottom: var(--space-unit);
    display: flex;
    align-items: center;
}

.title-line {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
}

.title-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    margin-left: -4px;
    box-shadow: 0 0 10px var(--color-primary);
    animation: pulse 2s infinite;
}

.text-gradient {
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-right: 8px;
}

/* Timeline design */
.experience-timeline {
    position: relative;
    margin: calc(var(--space-unit) * 5) 0 calc(var(--space-unit) * 8);
}

.timeline-track {
    position: absolute;
    left: 0;
    top: 15px;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.timeline-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform-origin: left center;
    transform: scaleX(0);
    animation: timeline-progress 1.5s ease forwards 0.5s;
}

@keyframes timeline-progress {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}

.experience-cards {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--space-unit) * 3);
    margin-top: calc(var(--space-unit) * 6);
}

.experience-card {
    position: relative;
    background: rgba(10, 10, 10, 0.7);
    border-radius: 10px;
    padding: calc(var(--space-unit) * 3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    opacity: 0;
    animation: card-appear 0.8s forwards;
    animation-delay: calc(var(--i, 0) * 0.1s);
}

.experience-card:nth-child(1) { --i: 1; }
.experience-card:nth-child(2) { --i: 2; }
.experience-card:nth-child(3) { --i: 3; }
.experience-card:nth-child(4) { --i: 4; }
.experience-card:nth-child(5) { --i: 5; }
.experience-card:nth-child(6) { --i: 6; }

@keyframes card-appear {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(76, 201, 240, 0.1), transparent);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: 0;
    transition: all 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(76, 201, 240, 0.2);
}

.experience-card:hover::before {
    opacity: 0.5;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: calc(var(--space-unit) * 2);
    position: relative;
    z-index: 1;
}

.card-year {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-primary);
    position: relative;
    padding-left: 15px;
}

.card-year::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 8px rgba(76, 201, 240, 0.5);
}

.card-badge {
    font-size: 0.8rem;
    background: rgba(76, 201, 240, 0.1);
    padding: 4px 8px;
    border-radius: 20px;
    color: var(--color-primary);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.card-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: badge-shine 3s infinite;
}

@keyframes badge-shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-content h3 {
    font-size: 1.3rem;
    color: var(--color-text-white);
    margin-bottom: calc(var(--space-unit) * 0.5);
}

.card-content h4 {
    font-size: 1rem;
    color: var(--color-primary);
    margin-bottom: calc(var(--space-unit) * 2);
    font-weight: 400;
}

.card-details {
    font-size: 0.9rem;
    color: var(--color-text);
}

.card-details p {
    margin-bottom: calc(var(--space-unit) * 1);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: calc(var(--space-unit) * 2);
    list-style: none;
}

.tech-tags li {
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--color-text-light);
    font-family: var(--font-mono);
    transition: all 0.3s ease;
}

.tech-tags li:hover {
    background: rgba(76, 201, 240, 0.1);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.card-decoration {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1;
}

.deco-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(76, 201, 240, 0.4);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.experience-card:hover .deco-icon {
    color: var(--color-primary);
    transform: rotate(10deg);
}

/* Divider */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: calc(var(--space-unit) * 10) 0;
    position: relative;
    overflow: hidden;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(76, 201, 240, 0.2), transparent);
}

.divider-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 calc(var(--space-unit) * 2);
    background: rgba(10, 10, 10, 0.8);
    border-radius: 50%;
    color: var(--color-primary);
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.divider-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px solid rgba(76, 201, 240, 0.3);
    animation: pulse 2s infinite;
}

/* Education section */
.education-container {
    position: relative;
    margin-top: calc(var(--space-unit) * 6);
}

.diplome-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--space-unit) * 4);
}

.diplome-card {
    background: rgba(10, 10, 10, 0.7);
    border-radius: 10px;
    padding: calc(var(--space-unit) * 3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    overflow: hidden;
    opacity: 0;
    animation: card-appear 0.8s forwards;
    animation-delay: calc(var(--i, 0) * 0.2s + 0.5s);
}

.diplome-card:nth-child(1) { --i: 1; }
.diplome-card:nth-child(2) { --i: 2; }
.diplome-card:nth-child(3) { --i: 3; }

.diplome-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(76, 201, 240, 0.1));
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    z-index: 0;
    transition: all 0.3s ease;
}

.diplome-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(76, 201, 240, 0.2);
}

.diplome-card:hover::before {
    opacity: 0.5;
}

.diplome-icon {
    width: 60px;
    height: 60px;
    background: rgba(10, 10, 10, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: calc(var(--space-unit) * 3);
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.pulse-circle {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(76, 201, 240, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.diplome-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.diplome-year {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-primary);
    margin-bottom: calc(var(--space-unit) * 1);
}

.diplome-content h3 {
    font-size: 1.2rem;
    color: var(--color-text-white);
    margin-bottom: calc(var(--space-unit) * 1);
}

.diplome-content h4 {
    font-size: 1rem;
    color: var(--color-accent);
    margin-bottom: calc(var(--space-unit) * 1);
    font-weight: 400;
}

.diplome-content p {
    font-size: 0.9rem;
    color: var(--color-text);
    font-family: var(--font-mono);
}

.diplome-level {
    position: absolute;
    top: calc(var(--space-unit) * 3);
    right: calc(var(--space-unit) * 3);
    font-size: 0.8rem;
    background: rgba(76, 201, 240, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--color-primary);
    font-weight: 500;
    z-index: 1;
}

/* Domaine de recherche */
.domain-research {
    margin-top: calc(var(--space-unit) * 8);
    background: rgba(10, 10, 10, 0.5);
    border-radius: 10px;
    padding: calc(var(--space-unit) * 4);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: card-appear 0.8s forwards 1.2s;
}

.domain-research::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%234cc9f0' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E"),
        linear-gradient(to right, rgba(76, 201, 240, 0.05), transparent);
    z-index: 0;
    opacity: 0.2;
}

.domain-title {
    display: flex;
    align-items: center;
    margin-bottom: calc(var(--space-unit) * 3);
    position: relative;
    z-index: 1;
}

.domain-title i {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-right: calc(var(--space-unit) * 2);
}

.domain-title h3 {
    font-size: 1.3rem;
    color: var(--color-text-white);
    position: relative;
}

.domain-title h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
}

.domain-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: calc(var(--space-unit) * 2);
    position: relative;
    z-index: 1;
}

.domain-tag {
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 20px;
    color: var(--color-text-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.domain-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-25deg);
    animation: tag-shine 5s infinite;
    animation-delay: calc(var(--i, 0) * 1s);
}

.domain-tag:nth-child(1) { --i: 0; }
.domain-tag:nth-child(2) { --i: 1; }
.domain-tag:nth-child(3) { --i: 2; }
.domain-tag:nth-child(4) { --i: 3; }

@keyframes tag-shine {
    0% {
        left: -100%;
    }
    20%, 100% {
        left: 200%;
    }
}

.domain-tag:hover {
    background: rgba(76, 201, 240, 0.1);
    color: var(--color-primary);
    transform: translateY(-3px);
}

/* Media Queries */
@media (max-width: 992px) {
    .experience-cards, .diplome-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .experience-cards, .diplome-cards {
        grid-template-columns: 1fr;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .domain-tag {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .card-badge {
        margin-top: 8px;
    }
    
    .domain-tags {
        gap: 8px;
    }
    
    .domain-tag {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

/* Nouveau design 3D pour la section Formation */
.education-3d-scene {
    position: relative;
    margin-top: calc(var(--space-unit) * 6);
    perspective: 1000px;
}

.education-carousel {
    position: relative;
    padding: calc(var(--space-unit) * 6) 0;
}

.carousel-3d-container {
    position: relative;
    height: 400px;
    margin: 0 auto;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.carousel-3d-card {
    position: absolute;
    width: 100%;
    max-width: 450px;
    height: 320px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotateY(0) translateZ(0);
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    visibility: hidden;
    opacity: 0;
    cursor: pointer;
}

.carousel-3d-card.active {
    visibility: visible;
    opacity: 1;
    z-index: 5;
}

.carousel-3d-card.prev {
    transform: translate(calc(-50% - 320px), -50%) rotateY(25deg) translateZ(-100px);
    opacity: 0.7;
    visibility: visible;
    z-index: 4;
}

.carousel-3d-card.next {
    transform: translate(calc(-50% + 320px), -50%) rotateY(-25deg) translateZ(-100px);
    opacity: 0.7;
    visibility: visible;
    z-index: 4;
}

.card-3d-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.card-3d-front {
    background: rgba(15, 15, 20, 0.85);
    border: 1px solid rgba(76, 201, 240, 0.15);
    display: flex;
    flex-direction: column;
    transform: rotateY(0deg);
}

.card-3d-back {
    background: rgba(10, 10, 15, 0.9);
    border: 1px solid rgba(76, 201, 240, 0.15);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: calc(var(--space-unit) * 3);
}

.carousel-3d-card.flipped .card-3d-front {
    transform: rotateY(180deg);
}

.carousel-3d-card.flipped .card-3d-back {
    transform: rotateY(0deg);
}

.diploma-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: calc(var(--space-unit) * 2);
    border-bottom: 1px solid rgba(76, 201, 240, 0.1);
    background: rgba(10, 10, 15, 0.5);
}

.diploma-level {
    position: relative;
    z-index: 2;
}

.level-badge {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--color-primary);
    background: rgba(76, 201, 240, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.level-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: badge-shine 3s infinite;
}

.diploma-icon {
    width: 40px;
    height: 40px;
    background: rgba(76, 201, 240, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-primary);
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(76, 201, 240, 0.2);
    position: relative;
}

.diploma-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px solid rgba(76, 201, 240, 0.3);
    animation: pulse 2s infinite;
}

.diploma-content {
    flex: 1;
    padding: calc(var(--space-unit) * 3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.diploma-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%234cc9f0' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: -1;
}

.diploma-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 8px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.diploma-subtitle {
    font-size: 1rem;
    color: var(--color-text-white);
    margin-bottom: 16px;
}

.diploma-date {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.diploma-school {
    font-size: 0.85rem;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.diploma-footer {
    padding: calc(var(--space-unit) * 2);
    border-top: 1px solid rgba(76, 201, 240, 0.1);
    background: rgba(10, 10, 15, 0.5);
    display: flex;
    justify-content: flex-end;
}

.more-details-btn {
    display: flex;
    align-items: center;
    color: var(--color-primary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.more-details-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.more-details-btn:hover {
    color: var(--color-text-white);
}

.more-details-btn:hover i {
    transform: translateX(5px);
}

.diploma-back-content {
    display: flex;
    flex-direction: column;
}

.diploma-back-content h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.diploma-back-content p {
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 24px;
    line-height: 1.5;
}

.diploma-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.skill-pill {
    font-size: 0.75rem;
    background: rgba(76, 201, 240, 0.1);
    color: var(--color-primary);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(76, 201, 240, 0.2);
    transition: all 0.3s ease;
}

.skill-pill:hover {
    background: rgba(76, 201, 240, 0.2);
    transform: translateY(-2px);
}

.back-to-front {
    align-self: flex-start;
    margin-top: auto;
    font-size: 0.85rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-to-front i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.back-to-front:hover {
    color: var(--color-text-white);
}

.back-to-front:hover i {
    transform: translateX(-5px);
}

.carousel-3d-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: calc(var(--space-unit) * 4);
}

.carousel-3d-prev,
.carousel-3d-next {
    background: rgba(10, 10, 15, 0.7);
    border: 1px solid rgba(76, 201, 240, 0.2);
    color: var(--color-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-3d-prev:hover,
.carousel-3d-next:hover {
    background: rgba(76, 201, 240, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.carousel-3d-indicators {
    display: flex;
    margin: 0 calc(var(--space-unit) * 2);
}

.carousel-3d-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(76, 201, 240, 0.2);
    margin: 0 8px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

.carousel-3d-dot.active {
    background: var(--color-primary);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(76, 201, 240, 0.5);
}

/* Domaines de recherche moderne */
.domain-research-container {
    margin-top: calc(var(--space-unit) * 10);
    position: relative;
}

.research-title {
    display: flex;
    align-items: center;
    margin-bottom: calc(var(--space-unit) * 4);
}

.research-icon {
    width: 50px;
    height: 50px;
    background: rgba(10, 10, 15, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-right: calc(var(--space-unit) * 2);
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.research-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(76, 201, 240, 0.3);
    animation: pulse 2s infinite;
}

.research-title h3 {
    font-size: 1.5rem;
    color: var(--color-text-white);
    position: relative;
}

.research-title h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
}

.research-tags-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: calc(var(--space-unit) * 3);
    margin-top: calc(var(--space-unit) * 4);
}

.research-tag {
    background: rgba(10, 10, 15, 0.7);
    border: 1px solid rgba(76, 201, 240, 0.1);
    border-radius: 10px;
    padding: calc(var(--space-unit) * 2);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.research-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(76, 201, 240, 0.05), transparent);
    z-index: 0;
}

.research-tag:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(76, 201, 240, 0.3);
}

.tag-icon {
    width: 40px;
    height: 40px;
    background: rgba(76, 201, 240, 0.1);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-right: calc(var(--space-unit) * 2);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.research-tag:hover .tag-icon {
    background: rgba(76, 201, 240, 0.2);
    color: var(--color-text-white);
    transform: scale(1.1);
}

.tag-content {
    font-size: 0.9rem;
    color: var(--color-text-white);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .research-tags-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .carousel-3d-card {
        max-width: 350px;
        height: 300px;
    }

    .carousel-3d-card.prev {
        transform: translate(calc(-50% - 200px), -50%) rotateY(25deg) translateZ(-100px);
    }
    
    .carousel-3d-card.next {
        transform: translate(calc(-50% + 200px), -50%) rotateY(-25deg) translateZ(-100px);
    }
    
    .research-tags-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .carousel-3d-card {
        max-width: 280px;
        height: 350px;
    }
    
    .carousel-3d-card.prev,
    .carousel-3d-card.next {
        display: none;
    }
    
    .diploma-content {
        padding: calc(var(--space-unit) * 2);
    }
    
    .diploma-title {
        font-size: 1.2rem;
    }
    
    .research-tag {
        flex-direction: column;
        text-align: center;
    }
    
    .tag-icon {
        margin-right: 0;
        margin-bottom: calc(var(--space-unit) * 1);
    }
}

/* Section Certifications */
.certifications-section {
    background-color: var(--color-dark);
    padding: calc(var(--space-unit) * 10) 0;
    position: relative;
    overflow: hidden;
}

.certifications-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    top: 10%;
    left: -150px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    opacity: 0.03;
    filter: blur(90px);
    animation: float 20s infinite alternate;
}

.certifications-container {
    display: flex;
    flex-direction: column;
    max-width: 1100px;
    margin: 0 auto;
}

/* Carrousel de certifications */
.cert-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 60px;
    overflow: hidden;
    padding: 20px 0;
}

.cert-carousel {
    display: flex;
    position: relative;
    transition: transform 0.5s ease;
    height: 380px;
}

.cert-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateX(100%);
}

.cert-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.cert-slide.prev {
    transform: translateX(-100%);
    z-index: 1;
}

.cert-slide.next {
    transform: translateX(100%);
    z-index: 1;
}

.cert-card {
    background: rgba(10, 12, 16, 0.7);
    border-radius: 12px;
    padding: calc(var(--space-unit) * 4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(10px);
    overflow: hidden;
    max-width: 500px;
    width: 100%;
    transition: all 0.3s ease;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(76, 201, 240, 0.02), transparent);
    z-index: -1;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(76, 201, 240, 0.2);
}

.cert-icon {
    position: relative;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: calc(var(--space-unit) * 2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cert-icon i {
    color: var(--color-text-white);
    font-size: 36px;
    z-index: 2;
}

.cert-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--color-primary), transparent 70%);
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(10px);
    transition: all 0.5s ease;
}

.cert-card:hover .cert-icon::before {
    opacity: 0.8;
    transform: scale(1.1);
}

.cert-card h3 {
    color: var(--color-text-white);
    font-size: 2rem;
    margin-bottom: calc(var(--space-unit) * 1);
    font-weight: 700;
}

.cert-card p {
    color: var(--color-text);
    font-size: 1rem;
    margin-bottom: calc(var(--space-unit) * 2);
    line-height: 1.5;
}

.cert-date {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: calc(var(--space-unit) * 2);
    font-family: var(--font-mono);
    background: rgba(76, 201, 240, 0.05);
    padding: 5px 15px;
    border-radius: 20px;
}

.cert-issuer {
    margin-bottom: calc(var(--space-unit) * 3);
    opacity: 0.7;
    transition: opacity 0.3s ease;
    max-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-issuer img {
    max-width: 120px;
    max-height: 50px;
    filter: brightness(0) invert(1);
}

.cert-card:hover .cert-issuer {
    opacity: 1;
}

.cert-verify {
    display: inline-flex;
    align-items: center;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(76, 201, 240, 0.05);
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid rgba(76, 201, 240, 0.1);
}

.cert-verify i {
    margin-right: 8px;
}

.cert-verify:hover {
    color: var(--color-text-white);
    background: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 201, 240, 0.2);
}

.cert-carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.cert-prev, .cert-next {
    background: rgba(10, 12, 16, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
}

.cert-prev:hover, .cert-next:hover {
    background: var(--color-primary);
    transform: scale(1.1);
}

.cert-dots {
    display: flex;
    justify-content: center;
    margin: 0 20px;
}

.cert-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.cert-dot::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--color-primary);
    transform: scale(0);
    transition: all 0.3s ease;
}

.cert-dot.active::before {
    transform: scale(1);
}

/* Styles du badge "Expert Certifié" */
.certifications-badge {
    display: flex;
    justify-content: center;
    margin-top: calc(var(--space-unit) * 5);
}

.badge-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.badge-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(30, 30, 30, 0.9);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.badge-inner::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 2px solid rgba(76, 201, 240, 0.3);
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}

.badge-logo {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.badge-title {
    font-size: 1.5rem;
    color: #fff;
    font-weight: bold;
    margin-bottom: 5px;
}

.badge-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.badge-shine {
    display: none;
}

/* Responsive design pour le carrousel de certifications */
@media screen and (max-width: 992px) {
    .cert-card {
        max-width: 450px;
    }
}

@media screen and (max-width: 768px) {
    .cert-card {
        max-width: 400px;
    }
}

@media screen and (max-width: 480px) {
    .cert-icon i {
        font-size: 28px;
    }
}

/* Blog Section */
.blog-section {
    padding: calc(var(--space-unit) * 15) 0;
    position: relative;
    overflow: hidden;
    background-color: rgba(10, 10, 10, 1);
}

.blog-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    top: 20%;
    right: -150px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    opacity: 0.03;
    filter: blur(90px);
    animation: float 20s infinite alternate;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 calc(var(--space-unit) * 3);
}

.blog-filters {
    display: flex;
    justify-content: center;
    gap: calc(var(--space-unit) * 3);
    margin-bottom: calc(var(--space-unit) * 5);
    flex-wrap: wrap;
}

.filter-item {
    padding: calc(var(--space-unit) * 1) calc(var(--space-unit) * 3);
    background: rgba(10, 12, 16, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    color: var(--color-text);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(76, 201, 240, 0.1), transparent);
    opacity: 0;
    transition: all 0.5s ease;
}

.filter-item:hover::before,
.filter-item.active::before {
    opacity: 1;
}

.filter-item.active {
    background: rgba(76, 201, 240, 0.1);
    border-color: rgba(76, 201, 240, 0.3);
    color: var(--color-text-white);
}

.filter-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: calc(var(--space-unit) * 4);
    margin-bottom: calc(var(--space-unit) * 6);
}

.blog-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: calc(var(--space-unit) * 4);
    width: 100%;
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .blog-grid,
    .blog-cards-container {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    border-radius: 12px;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-card-inner {
    background: rgba(10, 12, 16, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    height: 100%;
    backdrop-filter: blur(10px);
    position: relative;
}

.blog-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(76, 201, 240, 0.03), transparent);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 1;
}

.blog-card:hover .blog-card-inner::before {
    opacity: 1;
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(10, 12, 16, 1));
    z-index: 1;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: calc(var(--space-unit) * 2);
    left: calc(var(--space-unit) * 2);
    background: var(--color-primary);
    color: var(--color-dark);
    padding: calc(var(--space-unit) * 0.5) calc(var(--space-unit) * 1.5);
    font-size: 0.8rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    z-index: 2;
    border: 1px solid var(--color-primary);
    font-family: var(--font-mono);
}

.blog-content {
    padding: calc(var(--space-unit) * 3);
    position: relative;
}

.blog-date {
    position: absolute;
    top: -40px;
    right: calc(var(--space-unit) * 2);
    background: var(--color-primary);
    color: var(--color-dark);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    z-index: 2;
    box-shadow: 0 5px 15px rgba(76, 201, 240, 0.3);
    transition: all 0.3s ease;
}

.blog-card:hover .blog-date {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(76, 201, 240, 0.4);
}

.date-day {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: -2px;
}

.date-month {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
}

.date-year {
    font-size: 0.6rem;
    opacity: 0.8;
}

.blog-title {
    color: var(--color-text-white);
    font-size: 1.3rem;
    margin-bottom: calc(var(--space-unit) * 2);
    line-height: 1.4;
    position: relative;
    padding-bottom: calc(var(--space-unit) * 1.5);
}

.blog-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
}

.blog-excerpt {
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: calc(var(--space-unit) * 3);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: calc(var(--space-unit) * 3);
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.blog-author, .blog-views {
    display: flex;
    align-items: center;
}

.blog-author i, .blog-views i {
    margin-right: calc(var(--space-unit) * 1);
    color: var(--color-primary);
    font-size: 0.9rem;
}

.blog-read-more {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-color);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.read-more-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.3) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    transition: all 0.5s ease;
}

.blog-read-more:hover .read-more-shine {
    left: 200%;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-filters {
        flex-wrap: wrap;
    }
    
    .filter-item {
        margin: 5px;
    }
}

/* Contact Section */
.contact-section {
    padding: calc(var(--space-unit) * 15) 0;
    position: relative;
    overflow: hidden;
    background-color: var(--color-dark);
}

.contact-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    top: 30%;
    left: -150px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    opacity: 0.03;
    filter: blur(90px);
    animation: float 20s infinite alternate;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--space-unit) * 5);
    max-width: 1200px;
    margin: 0 auto calc(var(--space-unit) * 8);
    padding: 0 calc(var(--space-unit) * 3);
}

/* Terminal de contact */
.contact-terminal {
    background: rgba(10, 12, 16, 0.7);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
}

.contact-terminal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(76, 201, 240, 0.03), transparent);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 1;
}

.contact-terminal:hover::before {
    opacity: 1;
}

.terminal-header {
    background: rgba(20, 22, 26, 0.8);
    padding: calc(var(--space-unit) * 1.5);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-circles {
    display: flex;
    gap: 8px;
    margin-right: calc(var(--space-unit) * 2);
}

.terminal-circles span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

@keyframes data-pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.5);
        opacity: 0.7;
    }
}

.terminal-circles span:nth-child(2) {
    background: #ffbd2e;
}

.terminal-circles span:nth-child(3) {
    background: #27c93f;
}

.terminal-title {
    color: var(--color-text-light);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.terminal-body {
    padding: calc(var(--space-unit) * 3);
    font-family: var(--font-mono);
}

.terminal-line {
    margin-bottom: calc(var(--space-unit) * 1.5);
    display: flex;
    align-items: center;
}

.terminal-prompt {
    color: var(--color-primary);
    margin-right: calc(var(--space-unit) * 1);
    font-weight: bold;
}

.terminal-text {
    color: var(--color-text);
}

.text-highlight {
    color: var(--color-primary);
    font-weight: bold;
}

.terminal-contact-info {
    margin: calc(var(--space-unit) * 3) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: calc(var(--space-unit) * 3) 0;
}

.terminal-info-item {
    display: flex;
    align-items: center;
    margin-bottom: calc(var(--space-unit) * 2);
    position: relative;
}

.terminal-info-item:last-child {
    margin-bottom: 0;
}

.info-label {
    color: var(--color-primary);
    font-weight: bold;
    width: 100px;
}

.info-value {
    color: var(--color-text-white);
    flex: 1;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
    margin-left: calc(var(--space-unit) * 2);
    position: relative;
    overflow: hidden;
    font-size: 16px;
}

.info-icon i {
    z-index: 2;
    position: relative;
}

.info-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--color-primary), transparent 70%);
    opacity: 0.5;
    filter: blur(10px);
    transition: all 0.5s ease;
}

.terminal-info-item:hover .info-icon::before {
    opacity: 1;
    transform: scale(1.2);
}

.terminal-social {
    margin-top: calc(var(--space-unit) * 3);
}

.terminal-social .social-links {
    display: flex;
    gap: calc(var(--space-unit) * 2);
    margin-top: calc(var(--space-unit) * 2);
}

.terminal-social .social-icon {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background-color: rgba(20, 20, 20, 0.8);
    color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    overflow: hidden;
}

.terminal-social .social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--color-primary), transparent 70%);
    opacity: 0;
    filter: blur(8px);
    transition: all 0.5s ease;
    z-index: 0;
}

.terminal-social .social-icon i {
    position: relative;
    z-index: 1;
}

.terminal-social .social-icon:hover {
    background-color: var(--color-primary);
    color: var(--color-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(76, 201, 240, 0.3);
    border-color: var(--color-primary);
}

.terminal-social .social-icon:hover::before {
    opacity: 0.5;
    transform: scale(1.2);
}

/* Tooltip pour les icônes sociales */
.terminal-social .social-icon[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(76, 201, 240, 0.1);
    color: var(--color-text-light);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2;
}

.terminal-social .social-icon:hover[data-tooltip]::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Suppression des anciens styles */
.icon-wrapper {
    display: none;
}

.icon-glow {
    display: none;
}

/* Formulaire de contact */
.contact-form-container {
    background: rgba(10, 12, 16, 0.7);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(76, 201, 240, 0.03), transparent);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 1;
}

.contact-form-container:hover::before {
    opacity: 1;
}

.form-header {
    padding: calc(var(--space-unit) * 3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
}

.form-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
    margin-right: calc(var(--space-unit) * 2);
    position: relative;
    overflow: hidden;
    font-size: 18px;
}

.form-icon i {
    position: relative;
    z-index: 2;
}

.form-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--color-primary), transparent 70%);
    opacity: 0.5;
    filter: blur(10px);
}

.form-header h3 {
    color: var(--color-text-white);
    font-size: 1.3rem;
    margin: 0;
}

.cyber-form {
    padding: calc(var(--space-unit) * 3);
}

.form-field {
    display: flex;
    margin-bottom: calc(var(--space-unit) * 3);
    position: relative;
}

.field-icon {
    width: 40px;
    height: 40px;
    background: rgba(10, 12, 16, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-right: calc(var(--space-unit) * 2);
    transition: all 0.3s ease;
}

.field-input {
    flex: 1;
    position: relative;
}

.field-input input,
.field-input textarea {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--color-text-white);
    padding: calc(var(--space-unit) * 1.5) 0;
    font-size: 1rem;
    font-family: var(--font-sans);
    outline: none;
    position: relative;
    z-index: 2;
}

.field-input textarea {
    min-height: 120px;
    resize: vertical;
}

.field-input label {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: var(--color-text-light);
    transition: all 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.message-field .field-input label {
    top: calc(var(--space-unit) * 2);
    transform: none;
}

.field-input input:focus + label,
.field-input input:valid + label,
.field-input textarea:focus + label,
.field-input textarea:valid + label {
    top: -5px;
    font-size: 0.8rem;
    color: var(--color-primary);
}

.field-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.field-input input:focus ~ .field-line,
.field-input textarea:focus ~ .field-line {
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
}

.form-field:hover .field-icon {
    background: var(--color-primary);
    color: var(--color-dark);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(76, 201, 240, 0.2);
}

.form-submit {
    margin-top: calc(var(--space-unit) * 4);
}

.cyber-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: rgba(10, 12, 16, 0.8);
    border: none;
    padding: calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 3);
    color: var(--color-text-white);
    font-size: 1rem;
    font-family: var(--font-sans);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.button-text {
    margin-right: calc(var(--space-unit) * 1.5);
    position: relative;
    z-index: 2;
}

.cyber-button i {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.button-borders {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.border-top,
.border-right,
.border-bottom,
.border-left {
    position: absolute;
    background: linear-gradient(90deg, var(--color-primary), transparent);
    transition: all 0.5s ease;
}

.border-top {
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    transform: translateX(-100%);
}

.border-right {
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    transform: translateY(-100%);
}

.border-bottom {
    bottom: 0;
    right: 0;
    width: 100%;
    height: 1px;
    transform: translateX(100%);
}

.border-left {
    bottom: 0;
    left: 0;
    width: 1px;
    height: 100%;
    transform: translateY(100%);
}

.cyber-button:hover .border-top,
.cyber-button:hover .border-bottom {
    transform: translateX(0);
}

.cyber-button:hover .border-right,
.cyber-button:hover .border-left {
    transform: translateY(0);
}

.button-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    opacity: 0;
    z-index: 1;
    transition: all 0.5s ease;
    filter: blur(30px);
}

.cyber-button:hover {
    color: var(--color-dark);
    background: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(76, 201, 240, 0.3);
}

.cyber-button:hover .button-glow {
    opacity: 0.5;
}

.cyber-button:hover i {
    transform: translateX(5px);
}

.form-status {
    margin-top: calc(var(--space-unit) * 3);
}

.success-message,
.error-message {
    display: none;
    align-items: center;
    padding: calc(var(--space-unit) * 1.5);
    border-radius: 4px;
    margin-top: calc(var(--space-unit) * 2);
}

.success-message {
    background: rgba(39, 201, 63, 0.1);
    border: 1px solid rgba(39, 201, 63, 0.3);
    color: #27c93f;
}

.error-message {
    background: rgba(255, 95, 86, 0.1);
    border: 1px solid rgba(255, 95, 86, 0.3);
    color: #ff5f56;
}

.success-message i,
.error-message i {
    margin-right: calc(var(--space-unit) * 1);
    font-size: 1.2rem;
}

/* Section de carte */
.contact-map-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 calc(var(--space-unit) * 3);
}

.map-container {
    height: 300px;
    background: rgba(10, 12, 16, 0.7);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 12, 16, 0.9), rgba(10, 12, 16, 0.7));
    z-index: 1;
}

.map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    color: var(--color-primary);
    font-size: 2rem;
}

.pulse {
    position: relative;
}

.pulse::before,
.pulse::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    opacity: 0.3;
    z-index: -1;
}

.pulse::before {
    animation: pulse 2s infinite;
}

.pulse::after {
    animation: pulse 2s infinite 0.5s;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

.map-data {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.data-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.5;
    animation: data-pulse 3s infinite alternate;
}

.data-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0.2;
}

.map-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 12, 16, 0.8);
    color: var(--color-text-white);
    padding: calc(var(--space-unit) * 1) calc(var(--space-unit) * 2);
    border-radius: 20px;
    font-size: 0.9rem;
    z-index: 3;
    border: 1px solid rgba(76, 201, 240, 0.3);
    backdrop-filter: blur(5px);
}

/* Responsive design pour la section contact */
@media screen and (max-width: 1200px) {
    .contact-wrapper {
        gap: calc(var(--space-unit) * 3);
        padding: 0 calc(var(--space-unit) * 2);
    }
    
    .contact-map-section {
        padding: 0 calc(var(--space-unit) * 2);
    }
}

@media screen and (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    gap: calc(var(--space-unit) * 4);
    }
    
    .map-container {
        height: 250px;
    }
    
    .terminal-social .social-links {
        justify-content: center;
    }
    
    .contact-section::before {
        opacity: 0.02;
    }
}

@media screen and (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }
    
    .contact-wrapper {
        padding: 0 calc(var(--space-unit) * 2);
    }
    
    .form-field {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .field-icon {
        margin-bottom: calc(var(--space-unit) * 1);
        margin-right: 0;
    }
    
    .terminal-info-item {
        flex-wrap: wrap;
    }
    
    .info-label {
        width: auto;
        margin-right: calc(var(--space-unit) * 2);
    }
    
    .info-value {
    width: 100%;
        margin: calc(var(--space-unit) * 1) 0;
    }
    
    .terminal-body {
        padding: calc(var(--space-unit) * 2);
    }
    
    .terminal-line {
        flex-wrap: wrap;
    }
    
    .terminal-prompt {
        margin-right: calc(var(--space-unit) * 0.5);
    }
    
    .form-submit {
        display: flex;
        justify-content: center;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .contact-section {
        padding: calc(var(--space-unit) * 10) 0;
    }
}

@media screen and (max-width: 576px) {
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .code-tag {
        font-size: 0.8rem;
    }
    
    .cyber-form {
        padding: calc(var(--space-unit) * 2);
    }
    
    .form-header {
        padding: calc(var(--space-unit) * 2);
        flex-direction: column;
        text-align: center;
    }
    
    .form-icon {
        margin-right: 0;
        margin-bottom: calc(var(--space-unit) * 1.5);
    }
    
    .terminal-body {
        padding: calc(var(--space-unit) * 2);
    }
    
    .terminal-info-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .info-icon {
        margin-left: 0;
        margin-top: calc(var(--space-unit) * 1);
    }
    
    .map-container {
        height: 200px;
    }
    
    .terminal-social .social-links {
        gap: calc(var(--space-unit) * 1);
    }
    
    .terminal-social .social-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .hero-content .social-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .button-text {
        font-size: 0.9rem;
    }
    
    .cyber-button {
        padding: calc(var(--space-unit) * 1.2) calc(var(--space-unit) * 2.5);
    }
}

@media screen and (max-width: 420px) {
    .terminal-header {
        flex-wrap: wrap;
    }
    
    .terminal-circles {
        margin-bottom: calc(var(--space-unit) * 0.5);
    }
    
    .terminal-title {
        margin-left: 0;
        width: 100%;
        margin-top: calc(var(--space-unit) * 0.5);
    }
    
    .subtitle {
        font-size: 0.8rem;
        padding: calc(var(--space-unit) * 0.8) calc(var(--space-unit) * 2);
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
}

/* Styles pour les social icons dans la section hero */
.hero-content .social-links {
    display: flex;
    gap: calc(var(--space-unit) * 2);
    opacity: 1;
    transform: none;
    animation: fadeInUp 0.6s ease forwards 1s;
    margin-top: calc(var(--space-unit) * 3);
}

.hero-content .social-icon {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background-color: rgba(20, 20, 20, 0.8);
    color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    overflow: hidden;
}

.hero-content .social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--color-primary), transparent 70%);
    opacity: 0;
    filter: blur(8px);
    transition: all 0.5s ease;
    z-index: 0;
}

.hero-content .social-icon i {
    position: relative;
    z-index: 1;
}

.hero-content .social-icon:hover {
    background-color: var(--color-primary);
    color: var(--color-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(76, 201, 240, 0.3);
    border-color: var(--color-primary);
}

.hero-content .social-icon:hover::before {
    opacity: 0.5;
    transform: scale(1.2);
}

/* Tooltip pour les icônes sociales */
.hero-content .social-icon[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(76, 201, 240, 0.1);
    color: var(--color-text-light);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2;
}

.hero-content .social-icon:hover[data-tooltip]::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.terminal-line .available {
    color: #4caf50;
    font-weight: 500;
}

.terminal-contact-info {
    margin: calc(var(--space-unit) * 3) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: calc(var(--space-unit) * 3) 0;
}

/* Ajout de règles responsives pour la section hero */
@media screen and (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 6rem 2rem 3rem;
        gap: 3rem;
    }
    
    .hero-content {
        padding-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        flex-direction: column;
        gap: 5px;
        margin-bottom: 2rem;
    }
    
    .hero-title .firstname {
        font-size: 3rem;
    }
    
    .hero-title .lastname {
        font-size: 4rem;
    }
    
    .hero-title .lastname::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero-image-container {
        width: 100%;
    }
    
    .hero-blob {
        width: 350px;
        height: 350px;
    }
    
    .hero-avatar {
        width: 300px;
        height: 300px;
    }
}

@media screen and (max-width: 768px) {
    .hero-title .firstname {
        font-size: 2.5rem;
    }
    
    .hero-title .lastname {
        font-size: 3rem;
    }
    
    .hero-avatar {
        width: 250px;
        height: 250px;
    }
}

@media screen and (max-width: 480px) {
    .hero-title .firstname {
        font-size: 2rem;
    }
    
    .hero-title .lastname {
        font-size: 2.5rem;
    }
    
    .hero-avatar {
        width: 220px;
        height: 220px;
    }
    
    .hero-contact-item {
        justify-content: center;
    }
}

.services-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(0deg, transparent 24px, rgba(255, 255, 255, 0.02) 25px),
        linear-gradient(90deg, transparent 24px, rgba(255, 255, 255, 0.02) 25px);
    background-size: 25px 25px;
    z-index: 0;
}

.experiences-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(0deg, transparent 24px, rgba(255, 255, 255, 0.02) 25px),
        linear-gradient(90deg, transparent 24px, rgba(255, 255, 255, 0.02) 25px);
    background-size: 25px 25px;
    z-index: 0;
}

.contact-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(0deg, transparent 24px, rgba(255, 255, 255, 0.02) 25px),
        linear-gradient(90deg, transparent 24px, rgba(255, 255, 255, 0.02) 25px);
    background-size: 25px 25px;
    z-index: 0;
}

.blog-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(0deg, transparent 24px, rgba(255, 255, 255, 0.02) 25px),
        linear-gradient(90deg, transparent 24px, rgba(255, 255, 255, 0.02) 25px);
    background-size: 25px 25px;
    z-index: 0;
}

.certifications-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(0deg, transparent 24px, rgba(255, 255, 255, 0.02) 25px),
        linear-gradient(90deg, transparent 24px, rgba(255, 255, 255, 0.02) 25px);
    background-size: 25px 25px;
    z-index: 0;
}

/* Domaines de recherche - Nouveau style */
.domain-research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: calc(var(--space-unit) * 4);
    margin-bottom: calc(var(--space-unit) * 6);
}

.domain-research-card {
    border-radius: 12px;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.domain-research-card:hover {
    transform: translateY(-10px);
}

.domain-research-card-inner {
    background: rgba(10, 12, 16, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    height: 100%;
    backdrop-filter: blur(10px);
    position: relative;
}

.domain-research-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(76, 201, 240, 0.03), transparent);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 1;
}

.domain-research-card:hover .domain-research-card-inner::before {
    opacity: 1;
}

.domain-research-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.domain-research-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(10, 12, 16, 1));
    z-index: 1;
}

.domain-research-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.domain-research-card:hover .domain-research-image img {
    transform: scale(1.05);
}

.domain-research-category {
    position: absolute;
    top: calc(var(--space-unit) * 2);
    left: calc(var(--space-unit) * 2);
    background: rgba(10, 12, 16, 0.7);
    color: var(--color-primary);
    padding: calc(var(--space-unit) * 0.5) calc(var(--space-unit) * 1.5);
    font-size: 0.8rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    z-index: 2;
    border: 1px solid rgba(76, 201, 240, 0.3);
    font-family: var(--font-mono);
}

.domain-research-content {
    padding: calc(var(--space-unit) * 3);
    position: relative;
}

.domain-research-date {
    position: absolute;
    top: -30px;
    right: calc(var(--space-unit) * 2);
    background: var(--color-primary);
    color: var(--color-dark);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    z-index: 2;
    box-shadow: 0 5px 15px rgba(76, 201, 240, 0.3);
    transition: all 0.3s ease;
}

.domain-research-card:hover .domain-research-date {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(76, 201, 240, 0.4);
}

.domain-research-title {
    color: var(--color-text-white);
    font-size: 1.3rem;
    margin-bottom: calc(var(--space-unit) * 2);
    line-height: 1.4;
    position: relative;
    padding-bottom: calc(var(--space-unit) * 1.5);
}

.domain-research-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
}

.domain-research-excerpt {
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: calc(var(--space-unit) * 3);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.domain-research-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: calc(var(--space-unit) * 3);
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.domain-research-author, .domain-research-views {
    display: flex;
    align-items: center;
}

.domain-research-author i, .domain-research-views i {
    margin-right: calc(var(--space-unit) * 1);
    color: var(--color-primary);
    font-size: 0.9rem;
}

.domain-research-read-more {
    display: inline-flex;
    align-items: center;
    padding: calc(var(--space-unit) * 1) calc(var(--space-unit) * 2);
    background: rgba(76, 201, 240, 0.05);
    border: 1px solid rgba(76, 201, 240, 0.1);
    border-radius: 30px;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-buttons .download-cv {
    margin: 0;
    width: 100%;
}

/* Styles pour la section Veille Technologique */
.veille-introduction {
    background: rgba(10, 12, 16, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    color: var(--color-text);
    line-height: 1.6;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.veille-technical-section {
    margin: 4rem 0;
    padding: 2rem;
    background: rgba(10, 12, 16, 0.7);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.veille-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.veille-card {
    background: rgba(10, 12, 16, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.veille-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(76, 201, 240, 0.03), transparent);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 1;
}

.veille-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(76, 201, 240, 0.3);
}

.veille-card:hover::before {
    opacity: 1;
}

.veille-card .card-icon {
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.veille-card h3 {
    color: var(--color-text-white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

.veille-card ul {
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 2;
}

.veille-card ul li {
    color: var(--color-text);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.veille-card ul li i {
    color: var(--color-primary);
    margin-right: 0.8rem;
    font-size: 1.1rem;
}

.tech-detail-card {
    background: rgba(10, 12, 16, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.tech-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(76, 201, 240, 0.3);
}

/* Styles pour l'étude de cas IBM */
.case-study-ibm {
    background: rgba(10, 12, 16, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 3rem 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.case-study-ibm::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(76, 201, 240, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.case-study-ibm:hover::before {
    opacity: 1;
}

.case-study-ibm-title {
    color: var(--color-text-white);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.case-study-ibm-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
}

.case-study-ibm-image-container {
    position: relative;
    margin: -2.5rem -2.5rem 2.5rem;
    overflow: hidden;
}

.case-study-ibm-image {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.case-study-ibm-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-study-ibm-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(10, 12, 16, 0.8) 100%);
    pointer-events: none;
}

.case-study-ibm:hover .case-study-ibm-image img {
    transform: scale(1.05);
}

.case-study-ibm-content {
    color: var(--color-text);
    line-height: 1.8;
    margin: 2rem 0;
    font-size: 1.1rem;
}

.case-study-ibm-points {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    gap: 1rem;
}

.case-study-ibm-points li {
    color: var(--color-text);
    padding: 1rem 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.case-study-ibm-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--color-primary);
    border-radius: 0 4px 4px 0;
    transition: all 0.3s ease;
}

.case-study-ibm-points li:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.case-study-ibm-points li:hover::before {
    height: 90%;
    background: var(--color-accent);
}

@media (max-width: 768px) {
    .case-study-ibm {
        padding: 1.5rem;
    }

    .case-study-ibm-image-container {
        margin: -1.5rem -1.5rem 1.5rem;
    }

    .case-study-ibm-image {
        height: 300px;
    }

    .case-study-ibm-title {
        font-size: 1.5rem;
    }

    .case-study-ibm-points li {
        padding: 0.8rem 1.2rem;
    }
}

.veille-case-study {
    background: rgba(10, 12, 16, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    margin: 3rem 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.veille-case-study-header {
    position: relative;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.veille-case-study-title {
    color: var(--color-text-white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.veille-case-study-title i {
    color: var(--color-primary);
    font-size: 1.8rem;
}

.veille-case-study-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.veille-case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.veille-case-study-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(10, 12, 16, 0) 0%,
        rgba(10, 12, 16, 0.8) 100%
    );
}

.veille-case-study-content {
    padding: 2rem;
}

.veille-case-study-description {
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.veille-case-study-points {
    display: grid;
    gap: 1rem;
}

.veille-point {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.veille-point-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(76, 201, 240, 0.1);
    border-radius: 50%;
    color: var(--color-primary);
}

.veille-point-text {
    color: var(--color-text);
    flex: 1;
}

.veille-point:hover {
    transform: translateX(5px);
    background: rgba(76, 201, 240, 0.05);
    border-color: rgba(76, 201, 240, 0.2);
}

.veille-point:hover .veille-point-icon {
    background: rgba(76, 201, 240, 0.2);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .veille-case-study-image {
        height: 200px;
    }

    .veille-case-study-header,
    .veille-case-study-content {
        padding: 1.5rem;
    }

    .veille-point {
        padding: 0.8rem;
    }
}

.veille-case-study {
    background: rgba(10, 12, 16, 0.8);
    border-radius: 15px;
    padding: 3rem;
    margin: 3rem 0;
    border: 1px solid rgba(76, 201, 240, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.veille-case-study-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.veille-case-study-title {
    font-size: 2rem;
    color: #fff;
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.veille-case-study-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4CC9F0, transparent);
    border-radius: 3px;
}

.veille-case-study-title i {
    color: #4CC9F0;
    margin-right: 1rem;
    font-size: 2.2rem;
}

.veille-case-study-image {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(76, 201, 240, 0.2);
}

.veille-case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.veille-case-study-image:hover img {
    transform: scale(1.05);
}

.veille-case-study-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(10, 12, 16, 0.7), transparent);
}

.veille-case-study-content {
    padding: 2rem;
    background: rgba(76, 201, 240, 0.05);
    border-radius: 12px;
    margin-top: 2rem;
}

.veille-case-study-description {
    color: #e0e0e0;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.veille-case-study-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.veille-point {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(10, 12, 16, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(76, 201, 240, 0.1);
    transition: all 0.3s ease;
}

.veille-point:hover {
    transform: translateY(-5px);
    border-color: rgba(76, 201, 240, 0.3);
    box-shadow: 0 10px 25px rgba(76, 201, 240, 0.1);
}

.veille-point-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(76, 201, 240, 0.1);
    border-radius: 50%;
    color: #4CC9F0;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.veille-point:hover .veille-point-icon {
    background: rgba(76, 201, 240, 0.2);
    transform: rotate(360deg);
}

.veille-point-text {
    flex: 1;
    color: #e0e0e0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .veille-case-study {
        padding: 2rem;
    }

    .veille-case-study-image {
        height: 250px;
    }

    .veille-case-study-title {
        font-size: 1.75rem;
    }

    .veille-point {
        padding: 1.25rem;
    }

    .veille-case-study-points {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .veille-case-study {
        padding: 1.5rem;
    }

    .veille-case-study-image {
        height: 200px;
    }

    .veille-case-study-title {
        font-size: 1.5rem;
    }

    .veille-point {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .veille-point-icon {
        margin-bottom: 1rem;
    }
}

.case-study-container {
    background: rgba(10, 12, 16, 0.8);
    border-radius: 15px;
    padding: 3rem;
    margin: 3rem 0;
    border: 1px solid rgba(76, 201, 240, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.section-subtitle h3 {
    font-size: 2rem;
    color: #fff;
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2.5rem;
}

.section-subtitle h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4CC9F0, transparent);
    border-radius: 3px;
}

.case-study-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.case-study-image {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(76, 201, 240, 0.2);
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-study-image:hover img {
    transform: scale(1.05);
}

.case-study-text {
    padding: 2rem;
    background: rgba(76, 201, 240, 0.05);
    border-radius: 12px;
}

.case-study-text p {
    color: #e0e0e0;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.case-study-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(10, 12, 16, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(76, 201, 240, 0.1);
    transition: all 0.3s ease;
}

.highlight:hover {
    transform: translateY(-5px);
    border-color: rgba(76, 201, 240, 0.3);
    box-shadow: 0 10px 25px rgba(76, 201, 240, 0.1);
}

.highlight i {
    color: #4CC9F0;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .case-study-container {
        padding: 2rem;
    }

    .case-study-image {
        height: 250px;
    }

    .section-subtitle h3 {
        font-size: 1.75rem;
    }

    .highlight {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .case-study-container {
        padding: 1.5rem;
    }

    .case-study-image {
        height: 200px;
    }

    .section-subtitle h3 {
        font-size: 1.5rem;
    }

    .case-study-highlights {
        grid-template-columns: 1fr;
    }
}

.case-study-conclusion {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: rgba(76, 201, 240, 0.1);
    border-left: 4px solid #4CC9F0;
    border-radius: 0 10px 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
}

.case-study-conclusion:hover {
    background: rgba(76, 201, 240, 0.15);
    transform: translateX(5px);
}

.case-study-conclusion i {
    color: #4CC9F0;
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.case-study-conclusion p {
    color: #e0e0e0;
    line-height: 1.8;
    font-size: 1.1rem;
    font-style: italic;
    margin: 0;
}

@media (max-width: 768px) {
    .case-study-conclusion {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .case-study-conclusion {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem;
    }

    .case-study-conclusion i {
        margin-bottom: 0.5rem;
    }
}