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

body {
    background-color: #000000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Arial, sans-serif;
    position: relative;
    overflow-y: auto;
    padding-bottom: 100px;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.7);
}

/* Barre de chargement */
.loading-container {
    width: 250px; /* Même largeur que le champ de mot de passe */
    margin-top: 10px;
    display: none;
    position: absolute;
    bottom: -50px;
    right: 50%;
    transform: translateX(50%);
}

.loading-container.active {
    display: block;
}

.loading-bar-container {
    width: 100%;
    height: 12px; /* Barre plus grande */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    margin-bottom: 5px;
}

.loading-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 6px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

.loading-text {
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    text-shadow: 0 0 10px var(--shadow-color);
}

/* Animation de transition */
.transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: none;
    pointer-events: none;
    overflow: hidden;
}

.transition-overlay.active {
    display: block;
    animation: glitchEffect 2s ease-in-out forwards;
}

@keyframes glitchEffect {
    0% {
        transform: translateX(0);
        filter: hue-rotate(0deg);
    }
    10% {
        transform: translateX(-5px);
        filter: hue-rotate(90deg);
    }
    20% {
        transform: translateX(5px);
        filter: hue-rotate(180deg);
    }
    30% {
        transform: translateX(-5px);
        filter: hue-rotate(270deg);
    }
    40% {
        transform: translateX(5px);
        filter: hue-rotate(360deg);
    }
    50% {
        transform: translateX(0);
        filter: hue-rotate(0deg);
    }
    60% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    70% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    80% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    90% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 0;
    }
}

.transition-overlay::before,
.transition-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    animation: glitchLines 2s ease-in-out forwards;
}

.transition-overlay::before {
    animation-delay: 0.5s;
}

.transition-overlay::after {
    animation-delay: 1s;
}

@keyframes glitchLines {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    10% {
        transform: translateX(-10px);
        opacity: 0.8;
    }
    20% {
        transform: translateX(10px);
        opacity: 0.6;
    }
    30% {
        transform: translateX(-10px);
        opacity: 0.4;
    }
    40% {
        transform: translateX(10px);
        opacity: 0.2;
    }
    50% {
        transform: translateX(0);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 0;
    }
}

/* Variables de couleurs */
:root {
    --primary-color: #FF6B6B;
    --primary-dark: #FF5252;
    --primary-light: #FF8E8E;
    --accent-color: #4ECDC4;
    --accent-dark: #45B7AE;
    --accent-light: #6ED7CF;
    --text-color: #ffffff;
    --text-secondary: #e0e0e0;
    --background-dark: rgba(0, 0, 0, 0.85);
    --card-bg: rgba(255, 107, 107, 0.1);
    --card-border: rgba(255, 107, 107, 0.2);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    --gradient-dark: linear-gradient(135deg, var(--primary-dark), var(--accent-dark));
    --shadow-color: rgba(255, 107, 107, 0.3);
}

/* Homepage Styles */
.accueil-container {
    min-height: 100vh;
    background-color: var(--background-dark);
    backdrop-filter: blur(10px);
    color: var(--text-color);
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0;
    overflow: hidden;
}

.accueil-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeIn 1.5s ease-out;
    padding: 2rem;
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

.accueil-title {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px var(--shadow-color);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: float 3s ease-in-out infinite;
    font-weight: 800;
    letter-spacing: 3px;
    line-height: 1.2;
}

.accueil-subtitle {
    font-size: 2.2rem;
    color: var(--accent-light);
    text-shadow: 0 0 10px var(--shadow-color);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    width: 100%;
    padding: 0 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.category-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 3.5rem 2rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.category-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px var(--shadow-color);
    border-color: var(--primary-light);
}

.category-card:hover::before {
    opacity: 0.1;
}

.category-icon {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--shadow-color);
    transition: all 0.5s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.2) rotate(5deg);
    color: var(--accent-color);
}

.category-title {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-shadow: 0 0 10px var(--shadow-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.3rem;
    text-shadow: 0 0 5px var(--shadow-color);
    font-weight: 300;
    transition: all 0.3s ease;
}

/* Nouvelles animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

/* Media Queries */
@media (max-width: 768px) {
    .accueil-title {
        font-size: 3.5rem;
        margin-bottom: 1rem;
        letter-spacing: 2px;
    }

    .accueil-subtitle {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .category-card {
        padding: 2.5rem 1.5rem;
    }

    .category-icon {
        font-size: 3.5rem;
    }

    .category-title {
        font-size: 2rem;
    }

    .category-description {
        font-size: 1.1rem;
    }
}

.container {
    text-align: center;
    position: relative;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    transition: all 0.3s ease;
}

.container:hover {
    transform: translate(-50%, -50%) translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.main-text {
    color: #ffffff;
    font-size: 3.5rem;
    letter-spacing: 3px;
    animation: pulse 2s infinite;
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.password-container {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.password-input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 25px;
    width: 250px;
    outline: none;
    transition: all 0.3s ease;
}

.password-input:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.password-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.submit-btn {
    background: var(--gradient-primary);
    color: var(--text-color);
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.submit-btn:hover {
    background: var(--gradient-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

/* Styles pour le menu */
.menu-btn {
    position: fixed;
    right: 20px;
    top: 20px;
    background-color: #ffffff;
    color: #000000;
    border: none;
    padding: 10px 20px;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

.menu-btn:hover {
    background-color: #e0e0e0;
}

.dropdown-menu {
    position: fixed;
    right: 20px;
    top: 70px;
    background-color: #ffffff;
    border-radius: 5px;
    padding: 10px 0;
    display: none;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dropdown-menu.active {
    display: block;
}

.menu-item {
    padding: 10px 20px;
    color: #000000;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.menu-item:hover {
    background-color: #e0e0e0;
    color: #ff0000;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    }
    100% {
        transform: scale(1);
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }
}

/* Skills Page Styles */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    width: 100%;
    padding: 2rem;
    margin: 0 auto;
}

.skill-category {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.skill-category:hover::before {
    transform: translateX(100%);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
    border-color: var(--primary-light);
}

.skill-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 0 0 10px var(--shadow-color);
    position: relative;
    padding-bottom: 1rem;
}

.skill-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem;
    background: var(--background-dark);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
}

.skill-item:hover {
    background: var(--card-bg);
    transform: translateX(5px);
    border-color: var(--primary-light);
}

.skill-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    width: 40px;
    text-shadow: 0 0 10px var(--shadow-color);
    transition: all 0.3s ease;
}

.skill-item:hover i {
    transform: scale(1.1);
}

.skill-item span {
    color: #fff;
    flex: 1;
    font-size: 1.1rem;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.skill-bar {
    width: 150px;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #00ff00, #00cc00);
    border-radius: 5px;
    transition: width 1.5s ease-in-out;
    position: relative;
    overflow: hidden;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

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

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    margin-top: 2rem;
    padding: 0.8rem 1.5rem;
    background: var(--card-bg);
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
}

.back-btn:hover {
    background: rgba(74, 144, 226, 0.2);
    transform: translateX(-5px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.back-btn i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* Education Page Styles */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto;
    padding: 2rem;
    margin-left: 300px;
    width: 100%;
}

.timeline::before {
    content: '';
    position: absolute;
    left: -250px;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
    box-shadow: 0 0 20px var(--shadow-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
}

.timeline-content {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.timeline-content:hover::before {
    transform: translateX(100%);
}

.timeline-content:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px var(--shadow-color);
    border-color: var(--primary-light);
}

.timeline-date {
    position: absolute;
    left: -300px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient-primary);
    color: #000;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.3rem;
    text-shadow: none;
    box-shadow: 0 0 20px var(--shadow-color);
    white-space: nowrap;
    min-width: 200px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-date:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 0 30px var(--shadow-color);
}

.timeline-title {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 0 10px var(--shadow-color);
    position: relative;
    padding-bottom: 1rem;
}

.timeline-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.timeline-description {
    color: #fff;
    line-height: 1.8;
    text-align: center;
    font-size: 1.1rem;
    text-shadow: 0 0 5px var(--shadow-color);
}

.timeline-icon {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border: 2px solid var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    box-shadow: 0 0 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 25px var(--shadow-color);
}

.certifications {
    margin-top: 100px;
    padding: 40px;
    background: rgba(0, 255, 0, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 0, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.section-title {
    color: #fff;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 0 0 15px var(--shadow-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 3px;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.cert-item {
    background: rgba(0, 255, 0, 0.15);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(0, 255, 0, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.cert-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.cert-item:hover::before {
    transform: translateX(100%);
}

.cert-item:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(0, 255, 0, 0.25);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.3);
    border-color: rgba(0, 255, 0, 0.5);
}

.cert-item i {
    font-size: 3.5rem;
    color: #00ff00;
    margin-bottom: 25px;
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
    transition: all 0.3s ease;
}

.cert-item:hover i {
    transform: scale(1.1);
}

.cert-item h3 {
    color: #fff;
    margin: 20px 0;
    font-size: 1.6rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.cert-item p {
    color: #00ff00;
    font-size: 1.3rem;
    margin: 0;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

@media (max-width: 768px) {
    .timeline {
        margin-left: 0;
        padding: 1rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-date {
        left: 20px;
        transform: translateY(-100%);
        top: 0;
    }

    .timeline-content {
        margin-left: 60px;
    }

    .timeline-icon {
        right: -40px;
    }
}

/* Works Page Styles */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    width: 100%;
    padding: 2rem;
    margin: 0 auto;
}

.work-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.work-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.work-item:hover::before {
    transform: translateX(100%);
}

.work-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
    border-color: var(--primary-light);
}

.work-image {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
}

.work-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work-item:hover .work-image img {
    transform: scale(1.1);
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px);
}

.work-item:hover .work-overlay {
    transform: translateY(0);
}

.work-overlay h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--shadow-color);
}

.work-overlay p {
    color: var(--primary-light);
    font-size: 1.1rem;
    line-height: 1.8;
    text-shadow: 0 0 5px var(--shadow-color);
}

.work-details {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.work-details li {
    color: #fff;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.work-details li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .works-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
}

/* Projects Page Styles */
.projects-container {
    min-height: 100vh;
    width: 100%;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    width: 100%;
    padding: 2rem;
    margin: 0 auto;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

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

.project-card:hover::before {
    transform: translateX(100%);
}

.project-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px var(--shadow-color);
    border-color: var(--primary-light);
}

.project-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 0 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.project-card:hover .project-icon {
    transform: scale(1.1);
}

.project-title {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 0 0 10px var(--shadow-color);
    position: relative;
    padding-bottom: 1rem;
}

.project-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.project-category {
    color: var(--primary-light);
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px var(--shadow-color);
}

.project-description {
    color: #fff;
    line-height: 1.8;
    text-align: center;
    font-size: 1.1rem;
    text-shadow: 0 0 5px var(--shadow-color);
    margin-bottom: 2rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.project-tech li {
    background: var(--card-bg);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
}

.project-tech li:hover {
    background: rgba(74, 144, 226, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.project-tech li i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
}

/* Experience Page Styles */
.experience-container {
    min-height: 100vh;
    width: 100%;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.experience-timeline {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto;
    padding: 2rem;
    width: 100%;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
    box-shadow: 0 0 20px var(--shadow-color);
}

.experience-item {
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

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

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

.experience-date {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: #000;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.3rem;
    text-shadow: none;
    box-shadow: 0 0 20px var(--shadow-color);
    white-space: nowrap;
    z-index: 2;
    transition: all 0.3s ease;
}

.experience-date:hover {
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 0 30px var(--shadow-color);
}

.experience-content {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
}

.experience-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.experience-content:hover::before {
    transform: translateX(100%);
}

.experience-content:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px var(--shadow-color);
    border-color: var(--primary-light);
}

.experience-title {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 0 0 10px var(--shadow-color);
    position: relative;
    padding-bottom: 1rem;
}

.experience-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.experience-company {
    color: var(--primary-light);
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px var(--shadow-color);
}

.experience-description {
    color: #fff;
    line-height: 1.8;
    text-align: center;
    font-size: 1.1rem;
    text-shadow: 0 0 5px var(--shadow-color);
    margin-bottom: 2rem;
}

.experience-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.experience-skills li {
    background: var(--card-bg);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
}

.experience-skills li:hover {
    background: rgba(74, 144, 226, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.experience-skills li i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .experience-item {
        padding: 0 !important;
        justify-content: center !important;
    }

    .experience-timeline::before {
        left: 20px;
    }

    .experience-date {
        left: 20px;
        transform: translateX(0);
    }

    .experience-date:hover {
        transform: translateX(0) scale(1.05);
    }

    .experience-content {
        margin-left: 60px;
    }
}

/* Contact Page Styles */
.contact-container {
    min-height: 100vh;
    width: 100%;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

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

.contact-item {
    background: rgba(0, 255, 0, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(0, 255, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.contact-item:hover::before {
    transform: translateX(100%);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.2);
    border-color: rgba(0, 255, 0, 0.4);
}

.contact-item i {
    font-size: 2.5rem;
    color: #00ff00;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
    transition: all 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.1);
}

.contact-item h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.contact-item p {
    color: #00ff00;
    font-size: 1.2rem;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 3rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.contact-form:hover::before {
    transform: translateX(100%);
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
    border-color: var(--primary-light);
}

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

.form-group label {
    display: block;
    color: #fff;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    text-shadow: 0 0 5px var(--shadow-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--background-dark);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 15px var(--shadow-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--gradient-primary);
    color: #000;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: none;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.submit-btn i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }

    .contact-form {
        padding: 2rem;
    }
}

/* Copyright */
.copyright {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-color);
    font-size: 1rem;
    text-shadow: 0 0 10px var(--shadow-color);
    letter-spacing: 2px;
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.copyright:hover {
    background: var(--card-bg);
    transform: translateX(-50%) scale(1.05);
}

.copyright span {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
}

.gallery-item:hover {
    transform: translateY(-5px);
    background: var(--card-bg);
    box-shadow: 0 5px 20px var(--shadow-color);
}

.gallery-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px var(--shadow-color);
}

.gallery-content h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.gallery-content p {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.gallery-details {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.gallery-details li {
    color: #fff;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.gallery-details li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 0.9rem;
}

.oeuvres-container {
    min-height: 100vh;
    width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}

/* Animation de secousse */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Style du message d'erreur */
.error-message {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    animation: fadeIn 0.3s ease-in-out;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 100px);
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.2);
    z-index: 1000;
}

.error-message i {
    color: var(--primary-color);
    font-size: 1.2rem;
    text-shadow: 0 0 5px var(--shadow-color);
}

.error-message span {
    color: #fff;
    font-size: 1rem;
    text-shadow: 0 0 5px var(--shadow-color);
    font-weight: 500;
}

/* Style du champ de mot de passe en erreur */
.password-input.error {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--shadow-color);
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translate(-50%, 80px);
    }
    to { 
        opacity: 1; 
        transform: translate(-50%, 100px);
    }
}

/* Styles communs pour toutes les pages */
.page-container {
    min-height: 100vh;
    width: 100%;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.section-title {
    color: #fff;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 0 0 15px var(--shadow-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 3px;
}

/* Style des cartes communes */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, var(--card-bg), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.card:hover::before {
    transform: translateX(100%);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
    border-color: var(--primary-light);
}

/* Style des icônes communes */
.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 0 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.card:hover .card-icon {
    transform: scale(1.1);
}

/* Style des titres de cartes */
.card-title {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 0 0 10px var(--shadow-color);
    position: relative;
    padding-bottom: 1rem;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

/* Style des descriptions */
.card-description {
    color: #fff;
    line-height: 1.8;
    text-align: center;
    font-size: 1.1rem;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    margin-bottom: 2rem;
}

/* Style des listes de technologies */
.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.tech-item {
    background: var(--card-bg);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
}

.tech-item:hover {
    background: var(--card-bg);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.tech-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Style du bouton retour */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff;
    text-decoration: none;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: var(--card-bg);
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
}

.back-btn:hover {
    background: rgba(74, 144, 226, 0.2);
    transform: translateX(-5px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.back-btn i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-container {
        padding: 2rem 1rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .card {
        padding: 2rem;
    }

    .card-title {
        font-size: 1.8rem;
    }
} 