:root {
    --primary-color: #3498db;
    --secondary-color: #f39c12;
    --accent-color: #e74c3c;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #ffffff;
    --bg-secondary: #f8f9fa;
    --border-color: #e1e8ed;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.2);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #667eea 0%, #f093fb 100%);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 15px;
}

[data-theme="dark"] {
    --primary-color: #3498db;
    --secondary-color: #f39c12;
    --accent-color: #e74c3c;
    --text-color: #ffffff;
    --text-light: #b0b0b0;
    --bg-color: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --border-color: #2d2d2d;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-hover: rgba(0, 0, 0, 0.5);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #667eea 0%, #f093fb 100%);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    transition: var(--transition);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 15, 15, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-logo.scrolling {
    animation: logoScrollAnimation 0.6s ease;
}

.nav-logo i {
    animation: pulse 2s infinite;
}

@keyframes logoScrollAnimation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
        color: var(--secondary-color);
    }
    100% {
        transform: scale(1);
    }
}

.theme-toggle {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    margin-right: 20px;
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(180deg);
    background: var(--primary-color);
    color: white;
}

.lang-toggle {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    height: 45px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin-left: 20px;
    margin-right: 0;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}

.lang-toggle:hover {
    transform: scale(1.08) translateY(-2px);
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.lang-toggle.changing {
    animation: langChange 0.6s ease;
}

@keyframes langChange {
    0% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(0.8) rotate(-10deg);
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    75% {
        transform: scale(0.9) rotate(-5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.lang-flag {
    font-size: 1.3rem;
    line-height: 1;
}

.lang-code {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 8px 16px;
    border-radius: 25px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(52, 152, 219, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-greeting {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    animation: fadeInLeft 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInLeft 1s ease-out 0.3s both;
}

.typing-text {
    color: var(--secondary-color);
}

.cursor {
    color: var(--secondary-color);
    animation: blink 1s infinite;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: fadeInLeft 1s ease-out 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInLeft 1s ease-out 0.9s both;
}

.cta-button {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.cta-button.primary {
    background: var(--secondary-color);
    color: white;
}

.cta-button.primary:hover {
    background: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: white;
    color: var(--text-color);
    transform: translateY(-3px);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-element {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.float-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.float-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 1.5s;
}

.float-element:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 3s;
}

.float-element:nth-child(4) {
    top: 40%;
    right: 30%;
    animation-delay: 4.5s;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--bg-secondary);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.profile-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px var(--shadow);
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out;
}

.profile-image {
    text-align: center;
}

.avatar {
    width: 150px;
    height: 150px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    margin: 0 auto 1rem;
    animation: profilePulse 3s ease-in-out infinite;
    overflow: hidden;
    position: relative;
}

/* 📸 Style pour l'image de profil */
.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.profile-info h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.bio {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skills h3 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: var(--text-color);
    text-align: center;
}

.skill-tags {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.skill-tag {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-tag:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow-hover);
}

.skill-tag i {
    font-size: 2rem;
    color: var(--primary-color);
}

.skill-tag.html i { color: #e34f26; }
.skill-tag.css i { color: #1572b6; }
.skill-tag.js i { color: #f7df1e; }
.skill-tag.react i { color: #61dafb; }
.skill-tag.node i { color: #339933; }
.skill-tag.python i { color: #3776ab; }

.skill-bar {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    width: 0;
    border-radius: 3px;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Projects Section */
.projects {
    background: var(--bg-color);
}

/* Project Filters */
.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out;
}

.filter-btn {
    padding: 12px 25px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn i {
    font-size: 1.1rem;
}

.filter-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.project-card.hide {
    display: none;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.project-card {
    background: var(--bg-color);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    cursor: pointer;
    opacity: 0;
    transform: translateY(50px);
}

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

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    border-radius: 25px;
}

.project-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb, #667eea);
    background-size: 300% 300%;
    border-radius: 25px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradientShift 4s ease infinite;
}

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

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

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

.project-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.35);
    border-color: transparent;
}

.project-image {
    height: 240px;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-image::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    top: -25%;
    left: -25%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

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

.project-image i {
    font-size: 4.5rem;
    color: white;
    opacity: 0.95;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.project-card:hover .project-image i {
    transform: scale(1.25) rotateY(15deg);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95), rgba(118, 75, 162, 0.95));
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
}

.project-card:hover .project-overlay {
    opacity: 1;
    visibility: visible;
}

.preview-btn,
.code-btn {
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    border: 2px solid white;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.preview-btn::before,
.code-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: width 0.5s ease, height 0.5s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.preview-btn:hover::before,
.code-btn:hover::before {
    width: 200px;
    height: 200px;
}

.preview-btn:hover,
.code-btn:hover {
    color: white;
    transform: translateY(-8px) scale(1.15) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.preview-btn:active,
.code-btn:active {
    transform: translateY(-5px) scale(1.05) rotate(0deg);
}

.project-content {
    padding: 2.5rem;
    position: relative;
    z-index: 2;
}

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

.project-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    transition: all 0.4s ease;
    position: relative;
    display: inline-block;
    letter-spacing: 0.5px;
}

.project-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
}

.project-card:hover .project-title {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateX(5px);
}

.project-card:hover .project-title::after {
    width: 100%;
}

.project-status {
    font-size: 0.85rem;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    white-space: nowrap;
}

.project-status::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.project-card:hover .project-status {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
}

.project-card:hover .project-status::before {
    width: 250px;
    height: 250px;
}

.project-description {
    color: var(--text-light);
    margin-bottom: 1.8rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 2.2rem;
}

.tech-tag {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    color: var(--text-color);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid rgba(102, 126, 234, 0.2);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.tech-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.tech-tag:hover {
    border-color: #667eea;
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.tech-tag:hover::before {
    left: 0;
}

.tech-tag.react {
    background: linear-gradient(135deg, rgba(97, 218, 251, 0.15), rgba(97, 218, 251, 0.25));
    color: #01579b;
    border-color: rgba(97, 218, 251, 0.4);
}
.tech-tag.node {
    background: linear-gradient(135deg, rgba(51, 153, 51, 0.15), rgba(51, 153, 51, 0.25));
    color: #1b5e20;
    border-color: rgba(51, 153, 51, 0.4);
}
.tech-tag.html {
    background: linear-gradient(135deg, rgba(227, 79, 38, 0.15), rgba(227, 79, 38, 0.25));
    color: #880e4f;
    border-color: rgba(227, 79, 38, 0.4);
}
.tech-tag.css {
    background: linear-gradient(135deg, rgba(21, 114, 182, 0.15), rgba(21, 114, 182, 0.25));
    color: #0d47a1;
    border-color: rgba(21, 114, 182, 0.4);
}
.tech-tag.js {
    background: linear-gradient(135deg, rgba(247, 223, 30, 0.15), rgba(247, 223, 30, 0.25));
    color: #f57f17;
    border-color: rgba(247, 223, 30, 0.4);
}
.tech-tag.firebase {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.15), rgba(255, 165, 0, 0.25));
    color: #e65100;
    border-color: rgba(255, 165, 0, 0.4);
}

.project-links {
    display: flex;
    gap: 1.2rem;
}

.project-link {
    text-decoration: none;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 30px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.project-link i {
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-size: 1.1rem;
}

.project-link:hover i {
    transform: translateX(5px) rotate(10deg) scale(1.2);
}

.project-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.7s ease, height 0.7s ease;
}

.project-link:hover::after {
    width: 500px;
    height: 500px;
}

.project-link.primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.project-link.primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.5);
}

.project-link.secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid rgba(102, 126, 234, 0.3);
    position: relative;
}

.project-link.secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 30px;
    z-index: -1;
}

.project-link.secondary:hover {
    border-color: transparent;
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.project-link.secondary:hover::before {
    opacity: 1;
}

/* FAQ Section */
.faq {
    background: var(--bg-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 10px 25px var(--shadow-hover);
    transform: translateY(-3px);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-color);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
    font-size: 1rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-top: 1rem;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

/* Contact Section */
.contact {
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-card {
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px var(--shadow);
}

.contact-card h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.contact-intro {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border-color);
}

.contact-method:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-details h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-details p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.contact-form {
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px var(--shadow);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
    background: var(--bg-color);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.submit-button {
    background: var(--gradient-primary);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    color: var(--text-color);
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-left p {
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-right p {
    opacity: 0.8;
    text-align: right;
}

.footer-legal {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.footer-legal a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.8;
}

.footer-legal a:hover {
    color: var(--primary-color);
    opacity: 1;
    text-decoration: underline;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
}

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

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

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

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

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

@keyframes profilePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(52, 152, 219, 0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* Glitch effect for hero title */
.glitch {
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0%, 90%, 100% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
}

/* Tilt effect for project cards */
.project-card[data-tilt] {
    transform-style: preserve-3d;
    will-change: transform;
}

/* Download CV Button */
.cv-download {
    margin-top: 2rem;
    text-align: center;
}

.download-cv-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.download-cv-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

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

/* Timeline Section */
.timeline-section {
    background: var(--bg-color);
    position: relative;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

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

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: calc(50% - 40px);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.timeline-item:nth-child(odd) {
    margin-left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    margin-left: calc(50% + 40px);
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid var(--bg-color);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--primary-color);
    z-index: 10;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -50px;
    transform: translateX(50%);
}

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

.timeline-date {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.timeline-item:nth-child(odd) .timeline-tags {
    justify-content: flex-end;
}

.timeline-tag {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
    font-weight: 500;
}

/* Preloader / Loading Animation */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.loader-logo {
    width: 150px;
    height: 150px;
    animation: logoFloat 3s ease-in-out infinite;
}

.animated-logo {
    width: 100%;
    height: 100%;
    fill: white;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: logoPulse 2s ease-in-out infinite;
}

.loader-progress {
    width: 250px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, white, rgba(255, 255, 255, 0.8));
    border-radius: 10px;
    animation: loadProgress 2s ease-in-out infinite;
}

.loader-text {
    font-size: 1.2rem;
    color: white;
    font-weight: 600;
    letter-spacing: 2px;
    animation: textPulse 1.5s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes loadProgress {
    0% {
        width: 0%;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
    }
}

@keyframes textPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}


/* Responsive Design */
@media screen and (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        text-align: center;
    }

    .profile-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .theme-toggle {
        margin-right: 15px;
        margin-left: 15px;
    }

    .lang-toggle {
        margin-right: 0;
        margin-left: auto;
        padding: 0 12px;
        height: 40px;
        font-size: 0.85rem;
    }

    .lang-flag {
        font-size: 1.1rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

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

    .skill-tags {
        grid-template-columns: 1fr;
    }

    .stats {
        gap: 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-right p {
        text-align: center;
    }

    .footer-legal {
        text-align: center;
    }

    /* Timeline responsive */
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        margin-left: 60px !important;
        text-align: left !important;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: -35px;
        transform: translateX(0);
    }

    .timeline-tags {
        justify-content: flex-start !important;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

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

    .nav-container {
        padding: 0 15px;
    }

    .profile-card {
        padding: 1.5rem;
    }

    .contact-card,
    .contact-form {
        padding: 1.5rem;
    }

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

/* ========================================== */
/* 🎮 POPUP PROJET FIVEM - Styles Personnalisables */
/* ========================================== */

.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-modal.active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background: var(--bg-color);
    border-radius: 25px;
    max-width: 800px;
    max-height: 90vh;
    width: 90%;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    background-image:
        linear-gradient(var(--bg-color), var(--bg-color)),
        linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

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

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(231, 76, 60, 0.1);
    border: 2px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    z-index: 10;
}

.modal-close:hover {
    background: #e74c3c;
    color: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
}

.modal-header {
    text-align: center;
    padding: 3rem 3rem 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-bottom: 2px solid var(--border-color);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
    animation: pulse 2s infinite;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.modal-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

.modal-body {
    padding: 2.5rem 3rem;
}

.modal-section {
    margin-bottom: 2.5rem;
}

.modal-section:last-child {
    margin-bottom: 0;
}

.modal-section h3 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-section h3 i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.modal-section p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    color: var(--text-light);
    padding-left: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.feature-list li:hover {
    transform: translateX(10px);
    color: var(--primary-color);
}

.feature-list li i {
    color: #2ecc71;
    font-size: 1rem;
    min-width: 20px;
}

.modal-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.modal-tech-item {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.modal-tech-item:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.modal-tech-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    display: block;
    transition: transform 0.3s ease;
}

.modal-tech-item:hover i {
    transform: scale(1.2) rotate(5deg);
}

.modal-tech-item span {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

.modal-footer {
    padding: 2rem 3rem 3rem;
    display: flex;
    gap: 1rem;
    background: var(--bg-secondary);
    border-top: 2px solid var(--border-color);
}

.modal-btn {
    flex: 1;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.modal-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.modal-btn:hover::after {
    width: 400px;
    height: 400px;
}

.modal-btn.primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.modal-btn.primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.5);
}

.modal-btn.secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.modal-btn.secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
}

/* Responsive Modal */
@media screen and (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
        border-radius: 20px;
    }

    .modal-header {
        padding: 2rem 1.5rem 1.5rem;
    }

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

    .modal-body {
        padding: 2rem 1.5rem;
    }

    .modal-footer {
        padding: 1.5rem;
        flex-direction: column;
    }

    .modal-tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .modal-section h3 {
        font-size: 1.2rem;
    }
}

/* ========================================== */
/* FIN DES STYLES POPUP PROJET FIVEM */
/* ========================================== */