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

:root {
    --primary-color: #4a90e2;
    --text-color: #ffffff;
    --bg-color: #0a0a0a;
    --secondary-bg: #0d0d0d;
    --accent-color: #e24a4a;
    --transition: all 0.3s ease;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Grid Background */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(24, 1fr);
    grid-template-rows: repeat(24, 1fr);
    opacity: 0.1;
    pointer-events: none;
    z-index: -1;
}

.grid-cell {
    border: 1px solid #333;
}

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(74, 144, 226, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

nav.scrolled {
    padding: 1rem 0;
    background: rgba(10, 10, 10, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    padding: 0 2rem;
}

.nav-menu {
    display: flex;
    gap: 3rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.75rem 0;
    opacity: 0.8;
    transition: color, opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 1;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::before {
    transform: scaleX(1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: right;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-button span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.cta-button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

/* Effet néon subtil pour les boutons principaux */
.cta-button:not(.secondary) {
    position: relative;
    overflow: hidden;
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

.cta-button:not(.secondary):hover {
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.5);
    transform: translateY(-2px);
}

.cta-button:not(.secondary)::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transform: rotate(45deg);
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* About Section */
.about {
    background: var(--secondary-bg);
    padding: 6rem 0;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(74, 144, 226, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    pointer-events: none;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #357abd);
    border-radius: 2px;
}

.about-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin-bottom: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(74, 144, 226, 0.1);
    backdrop-filter: blur(5px);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(74, 144, 226, 0.1);
    border-color: rgba(74, 144, 226, 0.2);
}

.about-header {
    display: flex;
    align-items: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.2), rgba(53, 122, 189, 0.2));
    border-bottom: 1px solid rgba(74, 144, 226, 0.2);
}

.profile-image {
    margin-right: 25px;
}

.profile-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgba(74, 144, 226, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    border: 3px solid rgba(74, 144, 226, 0.3);
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.2);
}

.profile-intro {
    flex: 1;
}

.profile-intro h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: var(--text-color);
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
    margin: 0 0 15px 0;
    color: var(--text-color);
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-tags span {
    background-color: rgba(74, 144, 226, 0.15);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-color);
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: var(--transition);
}

.profile-tags span:hover {
    background-color: rgba(74, 144, 226, 0.25);
    transform: translateY(-2px);
}

.about-content {
    padding: 30px;
}

.about-bio {
    margin-bottom: 30px;
}

.bio-item {
    display: flex;
    margin-bottom: 15px;
}

.bio-icon {
    color: var(--primary-color);
    margin-right: 15px;
    flex-shrink: 0;
}

.bio-icon svg {
    width: 24px;
    height: 24px;
}

.bio-item p {
    margin: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.about-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.about-column {
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.1);
    transition: var(--transition);
}

.about-column:hover {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(74, 144, 226, 0.2);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.column-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.column-icon {
    width: 36px;
    height: 36px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

.column-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.column-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
}

.education-timeline {
    position: relative;
}

.education-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 7px;
    width: 2px;
    background-color: rgba(74, 144, 226, 0.3);
}

.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 25px;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background-color: var(--secondary-bg);
    box-shadow: 0 0 8px rgba(74, 144, 226, 0.3);
    z-index: 1;
    transition: var(--transition);
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(74, 144, 226, 0.5);
}

.timeline-marker.current {
    background-color: var(--primary-color);
}

.timeline-content h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.timeline-location,
.timeline-period {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 5px 0;
}

.timeline-description {
    margin: 0 0 5px 0;
    color: rgba(255, 255, 255, 0.8);
}

.timeline-highlight {
    color: var(--primary-color);
    font-weight: 500;
    margin: 5px 0 0 0;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    transition: var(--transition);
}

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

.contact-icon {
    width: 36px;
    height: 36px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.5);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 3px;
}

.contact-value {
    color: rgba(255, 255, 255, 0.8);
}

.contact-value.email {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-value.email:hover {
    color: #5da0e6;
    text-decoration: underline;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 25px 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 1px solid rgba(74, 144, 226, 0.1);
    backdrop-filter: blur(5px);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(74, 144, 226, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #357abd);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.3);
    transition: var(--transition);
}

.stat-item:hover .stat-icon {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.5);
}

.stat-icon svg {
    width: 25px;
    height: 25px;
    color: white;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    transition: var(--transition);
}

.stat-item:hover .stat-number {
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.4);
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Animations complémentaires */
@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
    }

    50% {
        box-shadow: 0 0 15px rgba(74, 144, 226, 0.5);
    }

    100% {
        box-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
    }
}

.column-icon,
.contact-icon,
.timeline-marker.current,
.stat-icon {
    animation: glow 3s infinite;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

/* Effet de bordure animée pour les cartes de compétences */
.skill-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.skill-card:hover::before {
    border-color: var(--primary-color);
    transform: scale(1.05);
    opacity: 0;
}

.skill-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.2);
}

.skill-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.skill-tags span {
    background: rgba(74, 144, 226, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.skills-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.category-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--text-color);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn.active {
    background: var(--primary-color);
    color: var(--text-color);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.progress-ring {
    position: relative;
    width: 80px;
    height: 80px;
}

.progress-ring__circle {
    transform: rotate(-90deg);
    transform-origin: center;
}

.progress-ring__circle-bg {
    fill: none;
    stroke: rgba(74, 144, 226, 0.1);
    stroke-width: 4;
}

.progress-ring__circle-fg {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 4;
    stroke-dasharray: 213.628;
    /* 2 * π * r */
    stroke-dashoffset: 213.628;
    transition: stroke-dashoffset 1s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.skill-content {
    margin-bottom: 1.5rem;
}

.skill-details {
    display: grid;
    gap: 0.5rem;
    margin-top: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.skill-hover-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    border-radius: 12px;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.skill-card:hover .skill-hover-info {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.skill-hover-info h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.skill-hover-info ul {
    list-style: none;
    padding: 0;
}

.skill-hover-info ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.skill-hover-info ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .skills-categories {
        flex-wrap: wrap;
    }

    .skill-card {
        padding: 1.5rem;
    }
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    margin-bottom: 4rem;
    position: relative;
    width: 50%;
    padding: 0 2rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    right: -8px;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
}

.timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -8px;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 6rem 0;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
            transparent 0%,
            rgba(74, 144, 226, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover::after {
    opacity: 1;
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.project-content {
    padding: 1.5rem;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.project-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 6rem 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

input,
textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-color);
    transition: var(--transition);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
}

.submit-button {
    width: 100%;
    padding: 1rem;
    position: relative;
    overflow: hidden;
    background: var(--primary-color);
    color: var(--text-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.submit-button:hover::after {
    transform: translateX(100%) rotate(45deg);
}

.submit-button:hover {
    background: #357abd;
}

/* Animations */
.fade-in {
    opacity: 0;
    pointer-events: none;
    /* Désactive les événements sur l'élément fade-in lui-même */
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Réactiver les événements pour tous les éléments à l'intérieur d'un fade-in */
.fade-in * {
    pointer-events: auto;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-columns {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        padding: 1rem;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .menu-button {
        display: block;
    }

    .about-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-image {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .profile-tags {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        width: 100%;
        padding-left: 2rem;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-dot {
        left: -8px;
        right: auto;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .about-stats {
        grid-template-columns: 1fr;
    }

    .bio-item {
        flex-direction: column;
    }

    .bio-icon {
        margin-bottom: 10px;
    }
}

/* Personnalisation de la scrollbar */
::-webkit-scrollbar {
    width: 8px;
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: #357abd;
}

/* Style du logo */
.logo {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    background: linear-gradient(45deg, #4a90e2, #357abd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0.5rem 0;
}

/* Ajout d'un fond subtil lors du scroll */
nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(74, 144, 226, 0.2);
}




.experience-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.experience-item {
    display: flex;
    align-items: flex-start;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid rgba(74, 144, 226, 0.05);
}

.experience-item:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(74, 144, 226, 0.15);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.experience-icon {
    width: 36px;
    height: 36px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
    transition: var(--transition);
}

.experience-item:hover .experience-icon {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.5);
}

.experience-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.experience-info {
    display: flex;
    flex-direction: column;
}

.experience-label {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3px;
}

.experience-value {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}


.education-compact {
    margin-top: 15px;
}

.education-item {
    display: flex;
    margin-bottom: 15px;
    position: relative;
    border-left: 2px solid rgba(74, 144, 226, 0.2);
    padding-left: 15px;
}

.education-badge {
    position: absolute;
    left: -6px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--secondary-bg);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
    z-index: 1;
}

.education-badge.current {
    background-color: var(--primary-color);
}

.education-content {
    flex: 1;
}

.education-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 3px 0;
    color: var(--text-color);
}

.edu-details {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 3px 0;
}

.edu-program {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 3px 0;
}

.edu-status {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
    margin: 0;
}

.edu-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin: 0;
}



/* Style pour le conteneur du bouton CV qui remplace la zone encadrée en rouge */
.cv-button-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.cv-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color), #357abd);
    color: var(--text-color);
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
    width: 100%;
    height: 100%;
}

.cv-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.5);
}

.cv-button i {
    font-size: 1.2rem;
}
